Commit Graph

22541 Commits

Author SHA1 Message Date
Michael Lotz
84c69b0078 Remove unnecessary remove_vnode() in devfs_unpublish_device() done already in unpublish_node()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 17:38:56 +00:00
Axel Dörfler
a52c1759ac Fixed two bugs in the vnode disconnecting code found by bonefish+mmlr:
* vfs_disconnect_vnode() did not put away its vnode reference.
* disconnect_mount_or_vnode_fds() did always throw the current working
  directory of all apps on the same mount away, even if only a specific
  vnode should have been disconnected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 17:36:10 +00:00
Jérôme Duval
751232fbe0 update from Jerome Leveque
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 17:05:13 +00:00
Niels Sascha Reedijk
a7f59ef8eb Fix the description for StartWatching() after a hint from Axel. There are two different behaviours for both overloaded variants. (which is bad, IMO)
*waves at Axel*

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 16:57:50 +00:00
Michael Lotz
215772237b * Fixed removing from device list with only one device info present
* Removed now unnecessary devfs calls again
* Add an explanation in device_removed()

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 16:13:01 +00:00
Michael Lotz
1d99d469a0 * Properly implement rescan in devfs (rescan when closed and republish when open)
* Cache the looked up image symbols as well as the API version in the driver entry

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 16:05:17 +00:00
François Revol
7f27c6c3c8 * x86 mmu init code, to be changed.
* remove some unneeded stuff in start.
* we just quit the boot prg instead of rebooting (should try Puntaes also)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 16:04:44 +00:00
Jérôme Duval
15ee8ca67b system() should continue to wait when wait_for_thread returns B_INTERRUPTED
fixes bug #1707


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 15:51:02 +00:00
Axel Dörfler
748988ae1f mkdir() is supposed to respect the umask when creating the directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 13:17:59 +00:00
Axel Dörfler
f81851cbe3 * Made the colors of our Terminal a bit easier to look at, especially in
the ls output.
* Made the array the size it actually is.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 12:41:55 +00:00
Axel Dörfler
5e3a8a4a57 * Applied patch by absabs to enable signal tracing. This closes ticket
#1436. Thanks!
* Changed syscall color to blue (signals are red).
* Added thread number to the signal output.
* -g turns off signal tracing now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 11:29:57 +00:00
Marcus Overhagen
38d1ee9587 Removed debug output in the read/write path, and added it to other functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 10:32:10 +00:00
Marcus Overhagen
afb50bcdc0 fixed timeout and crash
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:58:30 +00:00
Marcus Overhagen
c85a921b70 fixed multi block data transfer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:56:33 +00:00
François Revol
6bd984106b This should probably work better when multiuser is not enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:36:28 +00:00
François Revol
18189a7d36 Now builds for Haiku. Missing Haiku specific code though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:22:47 +00:00
François Revol
578f3ba69f * Linking fixes
* Will put Haiku code there...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:11:45 +00:00
François Revol
abafff63f4 It compiles for Haiku now, but doesn't link yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:05:37 +00:00
Marcus Overhagen
9c67580a9f removed/disabled some debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 00:52:57 +00:00
Stephan Aßmus
32b9f1f7fc patch by Andrea Anzani:
* fix a rounding problem when layouting the image
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 00:27:08 +00:00
François Revol
fa8d1c38f2 First pass at building for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 23:49:42 +00:00
Marcus Overhagen
f03e236672 Implemented PIO transfers again. Haiku starts in vmware now with this stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 23:13:27 +00:00
Michael Lotz
5d196712c9 Add a temporary backwards compatibility fix for applications that accidently
mix up the resizingMode and flags field in the BView constructor. This does
not cause problems under BeOS but was causing wrong follow modes when those
applications were run under Haiku. In case such an application is detetected
a corresponding warning is printed out. Also added a comment explaining the
rational behind the change and a ToDo for the later cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 23:12:41 +00:00
Michael Lotz
f82c11c079 bonefish+mmlr:
* Move most of MIME database support out of libbe and into registrar
* Use the (async) MessageDeliverer instead of a synchronous SendMessage in _SendMonitorUpdate

This fixes a deadlock when the message port of a MIME database watching
application gets full as documented in bug #1311.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:45:06 +00:00
Stephan Aßmus
8d2dd6d32f * small style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:25:41 +00:00
Stephan Aßmus
45f11ce801 * at least with the BeOS input_server it is important that the last
B_MOUSE_MOVED message does not already contain the same buttons as a
  following B_MOUSE_DOWN message... fixes mouse clicks being ignored
  when you are moving the mouse at the same time when clicking
  (using Haiku's mouse input_server device on BeOS or ZETA)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:25:08 +00:00
Ithamar R. Adema
fac155d491 Fix problem of accept() not accepting a bigger buffer for the sockaddr then required (cupsd exposed this bug)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:12:50 +00:00
François Revol
57a393d2f9 It now builds as a standalone app for Zeta. Even still works :))
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:11:18 +00:00
François Revol
e8fc4975ad Move online demo php to vendor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 20:57:24 +00:00
François Revol
48d5931610 Move Themes to vendor folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 20:42:27 +00:00
François Revol
3079b27eb1 Unhook themes when moving it to vendor folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 19:10:09 +00:00
Axel Dörfler
1214ef1b21 A test app that does constant workspace switching.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 19:10:01 +00:00
François Revol
1518693434 I'm a vendor now! :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 19:05:14 +00:00
François Revol
2767dcd1cf A stub replacement for that popup text input class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 19:04:19 +00:00
Michael Lotz
b8859c2a29 * Add handling for B_INTERRUPTED so USB keyboards can work again
* Beginnings of devfs interaction to properly publish/unpublish under Haiku

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:53:39 +00:00
Marcus Overhagen
795beb75d2 Converted check_output() into ata_finish_request().
Moved timeout from device_info int ata_request-.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:49:12 +00:00
François Revol
f1b9c086ca Add --enable-multiuser configure option for adventurous people.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:15:55 +00:00
Stephan Aßmus
fc404a9f7e * renamed remove_device() to delete_device()
* handle one more allocation failure in device_added
* improved style consistency in a few places


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:14:51 +00:00
François Revol
a7ec9c1d59 Hook in 3rdparty/ to the main build.
Currently it's optional, you must define HAIKU_INCLUDE_3RDPARTY in [User]BuildConfig.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:14:51 +00:00
François Revol
83f81b2f7b A root jamfile for 3rdparty.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:12:39 +00:00
François Revol
a323457e9d The current version of the Theme Manager I wrote for zeta (yes I own that code, I wasn't asked for it in the first place, it only got some small changes).
Missing ThemesPopupText stuff I used from zeta, will write a better, BAlert based one anyway.
Still needs a container app an Haiku support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:06:15 +00:00
Michael Lotz
b004f6291c Reset the control count so the hmulti_audio does not try to read them. Fixes crash when using hda with hmulti_audio under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 17:06:27 +00:00
Ithamar R. Adema
e7d7efa1c7 Some minor fixes; lots of debugging output still in there; not perfect yet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 16:50:53 +00:00
Stephan Aßmus
c2a6cd96bc * init the repeat timer values, if the timeout happend to be low enough
and you never pressed any key on the usb keyboard, you could suddenly
  be flooded with a random key...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 16:13:01 +00:00
François Revol
220adf9a93 Fix Haiku build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 16:07:30 +00:00
François Revol
ae1c9ba207 Add Login to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 14:34:23 +00:00
François Revol
648110193d A simple login app for testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 14:33:31 +00:00
Jérôme Duval
5e53d38a62 style cleanup
should fix detection of Audigy2 Value (it was trying to check the revision id instead of the device id)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 14:17:17 +00:00
Axel Dörfler
45d0ea5605 Fixed two dirty region problems of the workspace switching code:
* If two intersecting windows didn't change their position but their 
  order, the dirty region wouldn't contain the region that would need
  to be updated because of that order change. This fixes bug #827.
* When a hidden window was on the new workspace (but not on the old one),
  its region would be included in the dirty region, but shouldn't have
  been. This caused the app_server to update a larger region than 
  necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 14:04:53 +00:00
François Revol
f293c7cb52 Hi Ingo, I'm not the only one to break the build today :))
gcc4 fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 14:01:19 +00:00