Commit Graph

22274 Commits

Author SHA1 Message Date
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
François Revol
c6b3f26049 cuserid also goes there...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:52:48 +00:00
François Revol
38196dea30 Move getlogin*() to its own file and fix the build.
This way it doesn't get linked to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:47:45 +00:00
Stephan Aßmus
374b5544a9 * expose the XOR function for BRegions (for now called "ExclusiveInclude")
which already existed in the region backend ported from XOrg


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:42:21 +00:00
François Revol
dc935a5aa9 * warning
* save the fd so we can use it :)
* open the pty read-write else it won't work...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:34:06 +00:00
Marcus Overhagen
3d424d5c73 Replaced most true and false with named flags.
Made all timeouts use bigtime_t.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:25:38 +00:00
François Revol
cf9e598dd0 Fix the build for you mortal monousers.
Actually getlogin didn't belong to usergroup.c in the first place anyway.
And definitely not to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 13:05:06 +00:00
François Revol
586cf6aeba cleaner and safer getpty() I wrote long ago.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 12:12:58 +00:00
Stefano Ceccherini
6e11b3f991 Close the whole menu hierarchy when invoking an item via keyboard. Added
a TODO comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 12:08:21 +00:00
Michael Lotz
cc2bf27596 * Deactivate the device when both the transfers and the clear feature fail
* Some restructuring and cleanup

This keeps the input_server from polling a removed device continuously.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 11:37:18 +00:00
Stefano Ceccherini
cb6cd9af6f BMenu::_SelectNextItem() also opens the menu if we're inside a menubar.
That way menubars are navigable via keyboard. There are still glitches, 
but menu keyboard navigation works now.
Minor optimization: cache the value of CountItems() instead of calling 
it multiple times.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 11:34:53 +00:00
François Revol
9d666b8707 Fix build under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 11:22:47 +00:00
François Revol
ffb64301bf Old code I wrote that implements multiuser the same way R5 did as a hidden feature...
Worked quite well in latest zeta, so it's already tested :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 11:14:02 +00:00
Axel Dörfler
46c6a221a8 Files that were created in the future (time zone issues, or whatever)
shouldn't be regarded recent either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 10:46:37 +00:00
Michael Lotz
f1b05aa545 Fix syntax error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 02:21:47 +00:00
Michael Lotz
20c43b026d * Add support for low/full speed interrupt transfers over USB 2.0 hubs
* Actually enable the periodic schedule so that any interrupts work over EHCI

For those who wait for OHCI: You can now attach your USB 1.1 mouse or keyboard
to a USB 2.0 hub and it should work.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 01:58:01 +00:00
François Revol
0ade5bd84b Start code I'll work on tomorrow^Wtoday.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 01:48:19 +00:00
François Revol
15297f84d8 Needed header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 01:46:05 +00:00