Jérôme Duval
79a3f78fb5
fixes build for beos
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15958 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15958
2006-01-15 22:02:46 +00:00
Jérôme Duval
7f781bfbf2
Sounds and Media prefs are beos compatible
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15957 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15957
2006-01-15 22:01:43 +00:00
Jérôme Duval
843a7d9da4
make libmedia.so beos compatible (including several public headers)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15956 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15956
2006-01-15 21:59:21 +00:00
Jérôme Duval
7316ee50f0
media and media addon servers are beos compatible
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15955 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15955
2006-01-15 21:57:40 +00:00
Jérôme Duval
3df0e46f12
fix include
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15954 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15954
2006-01-15 21:28:11 +00:00
Stefano Ceccherini
3532dd20d5
Now the kDesktopWindowFeel means also that the window doesn't want focus.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15953 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15953
2006-01-15 19:36:16 +00:00
Axel Dörfler
ddb7d0b6a6
Implemented force unmounting - by passing the "-f" option to "unmount" you
...
can now safely unmount volumes that are still in use by some applications.
Minor fixes to the FD disconnection implementation:
* put_fd() checked the condition for being able to disconnect a descriptor
incorrectly (causing the FD to never be disconnected).
* remove_fd() would hand out disconnected descriptors (but should have
returned NULL for them).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15952 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15952
2006-01-15 19:26:42 +00:00
Axel Dörfler
60e5ea42e0
Quick fix for a crashing bug I just introduced.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15951 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15951
2006-01-15 18:30:07 +00:00
Marcus Overhagen
9c23fc9631
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15950 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15950
2006-01-15 17:16:50 +00:00
Axel Dörfler
128165101a
Implemented disconnecting file descriptors: this will be used by the
...
force unmounting code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15949 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15949
2006-01-15 17:11:48 +00:00
Marcus Overhagen
e0ad7cc913
started mouse and keyboard device abstraction as ps2_dev
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15948 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15948
2006-01-15 17:08:34 +00:00
Marcus Overhagen
ecc5f8d78c
added ps2 service thread, and some small changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15947 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15947
2006-01-15 14:07:33 +00:00
Marcus Overhagen
7c446ef048
In wait_for_thread allow userReturnCode to be NULL regardless whether NULL is a valid IS_USER_ADDRESS
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15946 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15946
2006-01-15 13:26:18 +00:00
Stefano Ceccherini
ade091f23e
Don't activate a window (in FFM mode) if it has the B_AVOID_FOCUS flag
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15945 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15945
2006-01-14 22:51:10 +00:00
Stefano Ceccherini
5364573ebd
Partially reverted to 15464 to have less code duplication, now that the special case is handled in BMenu::CalcFrame()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15944 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15944
2006-01-14 21:50:35 +00:00
Marcus Overhagen
80d2048e81
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15943 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15943
2006-01-14 13:21:10 +00:00
Stefano Ceccherini
b5cd88a5c7
Small changes, nothing important
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15942 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15942
2006-01-13 20:49:41 +00:00
Stefano Ceccherini
fc3a8a1c73
Fixed popup menus opened at the wrong position (mostly noticed in Installer) with a horrible hack which I can't see how to avoid
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15941 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15941
2006-01-13 20:48:48 +00:00
Marcus Overhagen
89fb2ae90c
cleanup of keyboard and mouse handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15940 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15940
2006-01-13 19:18:53 +00:00
Stefano Ceccherini
201381d6ab
Menus make a better use of windows: when a child menu is opened, it asks the parent for a window, which is then cached for every other child for that parent menu. This avoids multiple creation/deletion of BWindows in a row. This also makes menus much nicer to use in qemu (together with the slight change in locking in BMenuBar (Lock() instead of LockWithTimeout))
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15939 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15939
2006-01-13 17:47:35 +00:00
Marcus Overhagen
cf97e60972
Added tests, I don't think this will work as intended...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15938 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15938
2006-01-13 17:17:14 +00:00
Marcus Overhagen
124a7ec381
made typesave
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15937 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15937
2006-01-13 13:45:40 +00:00
Marcus Overhagen
8f0970fa79
experimental keybaord controller command execution
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15936 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15936
2006-01-13 13:42:43 +00:00
Marcus Overhagen
6c718e9525
removed some functions
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15935 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15935
2006-01-13 11:45:52 +00:00
Marcus Overhagen
fb8a44691f
reimplemented waiting for read/write, added flush function
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15934 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15934
2006-01-13 11:17:12 +00:00
Ingo Weinhold
7afc16f059
* Fixed a bug regarding storing/restoring FPSCR in the interrupt
...
code. The stack pointer was not adjusted, hence we were
overwriting the previous register value. But it looks like I
missed to check in the arch_cpu.h with the iframe structure
including the floating point registers anyway.
* Backported the ELF PPC relocation code from the boot loader to
the kernel.
* Fixed the PPC version of arch_thread_switch_kstack_and_call().
Apparently the signature had changed, but the assembly
implementation was not adjusted accordingly.
* sc prints more registers now (LR, CR, CTR, XER,...).
* Fixed several occurences of not-working fault handlers.
Apparently the compiler realized, that the "error" label was
never jumped to (by the code it knew), and optimized the
respective code away. Now we use a trick to make it think the
error label might actually be jumped to. I wonder whether the
x86 version has the same problem when being compiled with GCC4.
* Adopted the x86 page fault handling interrupt code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15933 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15933
2006-01-13 00:49:13 +00:00
Ingo Weinhold
76cd432c36
Relaxed the timeout constraint a bit. Sometimes, when the server
...
was busy, booting failed because of that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15932 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15932
2006-01-13 00:29:33 +00:00
Marcus Overhagen
582d6d64ae
combined mouse and keyboard interrupt handler, work in progress...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15931 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15931
2006-01-12 23:01:17 +00:00
Marcus Overhagen
741e5c2d81
preparing experimental driver...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15930 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15930
2006-01-12 22:58:47 +00:00
Jérôme Duval
bd85acf394
added more bin tools
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15929 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15929
2006-01-12 19:45:53 +00:00
Jérôme Duval
17a014aaf7
added rmindex to the build
...
improve style following our guidelines
removed dependency on libbe.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15928 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15928
2006-01-12 19:44:44 +00:00
Stephan Aßmus
55f6067fcd
* I thought it was a good idea to Flush() the server link
...
in all drawing methods in case the parent window was
not in a "transaction" (fInTransaction). For ordinary
updates, nothing has changed, but if you call drawing
methods outside of an update, they will happen "immediately"
rather than when the link is sporadically full and auto
flushes. The effect is that the cursor in Terminal blinks
reliably, the selection in BTextViews follows the mouse
right on the spot (and so on). BWindow::BeginViewTransaction()
and EndViewTransaction() now have a meaning in Haiku too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15927 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15927
2006-01-12 12:22:34 +00:00
Stephan Aßmus
df19082398
* cleaned up ServerApp header a bit
...
* added support for nested cursor showing/hiding
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15926 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15926
2006-01-12 11:59:24 +00:00
Stephan Aßmus
cf6fe303d6
* I decided having the cursor obscuring feature in the HWInterface class
...
was not such a bad idea after all.
* Reenabled obscuring the cursor in ServerApp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15925 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15925
2006-01-12 11:46:49 +00:00
Rudolf Cornelissen
96cc308448
added timeouts for all retrace-sync waiting loops in accelerant to prevent software from hanging if trying to use a card that isnt' coldstarted.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15924 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15924
2006-01-12 11:18:32 +00:00
Axel Dörfler
118828e772
shutdown now defaults to returning to the caller (ie. runs asynchronously), as it
...
does in BeOS.
If you want it to wait until the shutdown process fails (or the system is actually
shut down), use the new "-s" option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15923 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15923
2006-01-11 23:17:40 +00:00
Axel Dörfler
0248f7e099
Fixed typo: asynchronous shutdown is now working (ie. Deskbar doesn't block
...
the shutdown process any longer).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15922 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15922
2006-01-11 23:15:49 +00:00
Axel Dörfler
238ba7d321
The last change accidently put messages to invalid targets back into the game.
...
_DetermineTarget() is no longer called for these messages, "handler" will stay
NULL and the message will be dropped.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15921 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15921
2006-01-11 22:38:43 +00:00
Axel Dörfler
54354618d5
BWindow::_DetermineTarget() now defaults to the window, instead of no target at
...
all in case the window doesn't have a current focus view.
That allows shortcuts like Command+q/w to work again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15920 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15920
2006-01-11 22:30:41 +00:00
Stephan Aßmus
74ae324849
* when the parent ServerApp of the focus window changes,
...
it's Activate() method is called, if there is no
new focus app, the cursor is unhidden for safety. The
most notable difference: After having run a screen
saver, the cursor will be visible again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15919 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15919
2006-01-11 22:30:12 +00:00
Stephan Aßmus
bd5f895aa6
* made hiding and unhiding the cursor actually work
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15918 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15918
2006-01-11 22:28:19 +00:00
Stephan Aßmus
b073091ab3
* small cleanups
...
* reworded Activate and commented out all code
that actually tries to change the cusor shape
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15917 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15917
2006-01-11 22:27:51 +00:00
Jérôme Duval
d72cb8f8d7
added pcmcia-cs to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15916 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15916
2006-01-11 20:28:18 +00:00
Axel Dörfler
81202ff522
Imported DialogPane.cpp 1.3 from the OT repository: shouldn't crash anymore
...
under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15915 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15915
2006-01-11 20:16:28 +00:00
Axel Dörfler
67c3d9ebe5
Fixed building of the UHCI and OHCI modules [reported by AndyBe].
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15914 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15914
2006-01-11 20:04:40 +00:00
Stephan Aßmus
5a2b3bac82
Axel wants to check up on something, and I had added the testbed for that already
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15913 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15913
2006-01-11 19:34:57 +00:00
Stefano Ceccherini
3d453d2da3
Fixed redrawing when alignment is center or right. Extended a comment to a bug which I can't reproduce anymore
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15912 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15912
2006-01-11 17:44:22 +00:00
Ingo Weinhold
fc1e671b53
Made C++ safe.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15911 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15911
2006-01-11 14:36:43 +00:00
Ingo Weinhold
71848dd62f
arch_elf.c -> arch_elf.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15910 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15910
2006-01-11 14:26:15 +00:00
Ingo Weinhold
b33f1804ea
Faster/shorter way of aligning something.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15909 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15909
2006-01-11 14:14:50 +00:00