Commit Graph

14013 Commits

Author SHA1 Message Date
Adi Oanca 70a4b5ce1e We don't need those message codes anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:20:51 +00:00
Adi Oanca 182db85c0c Introduced Layer::MouseWheelChanged(). Cleaned up RootLayer::MouseEventHandler::case B_MOUSE_WHEEL_CHANGED.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:11:50 +00:00
Adi Oanca da4a68b7f5 RootLayer thread only handles input messages now. All other actions (move/resize/scroll/invalidate/etc) are performed by locking the RootLayer object and taking the respective action from the calling thread(usulay a ServerWindow one).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:02:23 +00:00
Axel Dörfler bf0f315cc3 Added Waldemar to the developer list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 15:30:48 +00:00
Adi Oanca eead807371 removed Layer::fClassID
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 14:44:26 +00:00
Jérôme Duval 32a4f869b9 updated types to match the one in src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp
I suppose these types should be moved in a common place one day


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 13:15:46 +00:00
Axel Dörfler 411b881b0d enable_keyboard() should now work a little better.
Disabled keyboard tests for now - we will just assume there is a keyboard.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 10:23:30 +00:00
Axel Dörfler 75fc86b667 Added Jonas to the list of contributors - sorry that we missed you earlier!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 10:21:24 +00:00
Michael Lotz d9c69ef133 Corrected the format constant (its 0010b) and set the msf bit to 1. MMC Specs say it shall not have an effect on the result, but it also states that the time bit shall be set to 1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 23:24:10 +00:00
Marcus Overhagen 106d748c45 Prevent input_server from hogging the CPU when input devices fail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 00:28:14 +00:00
Marcus Overhagen a21a8b1324 Changed the way how the mouse interrupt handler works.
It will now first assemble a complete packet, and then write 
it into the ring buffer. This way, the last packet can easily
be dropped when the ring buffer is full, and we no longer 
need to flush an old packet from the queue (which could lead
to strange effects when handling the remaining packets in the
queue). Also fixed the bug that the semaphore was released 
despite nothing was written to the ring buffer when it was full.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 23:51:43 +00:00
Marcus Overhagen aeb5fb20a0 On buffer read error, return B_ERROR (instead of B_OK-result from previous acquire_sem)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 22:48:32 +00:00
Marcus Overhagen 31b6023a85 Fixed an off-by-one error in the read_from_buffer function,
testcase: size=7, in=7, first=0, read length=7

Fixed an off-by-(buffer->size) error in the write_to_buffer function,
testcase: size=7, in=2, first=3, write length=3



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 21:43:54 +00:00
Axel Dörfler 3d5ecf962c Minor cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 16:53:49 +00:00
Rudolf Cornelissen 5890efa463 small logging text update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 11:14:34 +00:00
Rudolf Cornelissen 2a70a7fc9b updated shared info for two new nv.settings items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:58:16 +00:00
Rudolf Cornelissen c0013f4f82 added support for those two new nv.settings options. Updated doc (partly)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:57:43 +00:00
Rudolf Cornelissen 0c73ffe8e7 added 'force TV output signal type' option to nv.settings. Works OK (so implemented). Also added option to keep VGA on for a head outputting TV signals, but that's not implemented yet (always on currently). Bumped version to 0.58.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:56:41 +00:00
Stefano Ceccherini 718af224dd fFlags was not initialized in the =operator and in the copy constructors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-21 21:56:06 +00:00
Axel Dörfler 9386f2e6a1 Missed a warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-21 14:04:17 +00:00
Axel Dörfler 8210eff8e8 Didn't compile with debug output turned on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-21 14:02:17 +00:00
Axel Dörfler a4c373515e When a team died, only the time of its children were added to its parent
dead children time counters - not its own time.
Moved time calculation to team_remove_team().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-21 00:15:17 +00:00
Rudolf Cornelissen 22876ee340 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 20:05:14 +00:00
Rudolf Cornelissen 8ca55b56f0 FIXED a STUPID BUG I stumbled on for a lot of GeForce 6200 cardsjam If you have such a card and had trouble using the driver it's time to upgrade now :). Fixed are PLL refreshrate calculations and dualhead detection: rewrote the detection code to be much less breakable now when new cards are added to the driver-supported list. Bumped version to 0.57. Sorry about this to the people who reported trouble with those 6200's to me...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 20:04:51 +00:00
Adi Oanca a5cd1aeed0 small checkin to make the new clipping code work if one desires
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 18:49:36 +00:00
Axel Dörfler f3bb653937 Simplified sigsuspend() a bit.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 18:38:30 +00:00
Axel Dörfler 7d9e0897ed Implemented sigsuspend() - not tested, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 18:09:50 +00:00
Axel Dörfler e4d36dd1f4 Implemented sigpending().
Forgot to atomically get some thread_debug_info values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 17:19:46 +00:00
Axel Dörfler 50374cbdca Changed the signal handling code so that handle_signals() can be called without
having the thread lock held and interrupts disabled.
Cleaned up the signal handling code, and fixed some minor bugs with blockable
vs. non-blockable signals.
thread_debug_info was using uint64 for signals sets instead of sigset_t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 16:56:04 +00:00
Axel Dörfler 7121425eb5 Turns out we could remove a mount point...
Under BeOS remove_vnode() is failing in this case, which looks like a good idea to imitate.
Also, pipefs/rootfs didn't handle that case - they even removed the entry before calling
remove_vnode() - they now behave correctly. And also BFS now returns the actual error code
received from remove_vnode() instead of B_ERROR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 16:34:18 +00:00
Rudolf Cornelissen 195828c401 checked CX25871 on wstv: all modes OK. So only a 'comments update' here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 15:37:28 +00:00
Rudolf Cornelissen 5cadaa5f63 verified CX25871 on NV11 working OK. Tweaked it's horizontal TVpicture position for PAL VCD and NTSC DVD to be indeed overscanning on all sides on a 4:3 TV. Enabled TVout upto/including NV15, still assuming TVout is on primary head for dualhead cards (will fix that asap I hope). Newer cards with BT/CX still only display the testimage if TVout is enabled. Fixed 'random horizontal position of TVout picture' on NV11.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 15:06:29 +00:00
Axel Dörfler 4daad1792e You shall compile before you commit - I must have forgotten to save the file
on the previous try (I definitely built mountvolume & mount after the changes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 13:21:10 +00:00
Stephan Aßmus 09b3f55cb1 replaced the NOTES files in each subfolder with a single NOTES file in the parent folder, and updates the NOTES to the current information
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 13:17:18 +00:00
Stephan Aßmus dd79576b10 * fixed scrolling for the current clipping code, it brings
up a new problem, maybe Adi has an idea for the fix, see
  comment in the code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 13:06:38 +00:00
Axel Dörfler da6d1a7022 fs_mount_volume() now returns a dev_t as well - changed mount/mountvolume to take
that into account as well (they were reporting an error even though everything
went fine).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 13:03:50 +00:00
Stephan Aßmus 9949213a25 removed the redundant "translator" from the folder names, fixed some warnings in the JPEG2000Translator
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 12:15:56 +00:00
Stephan Aßmus a405a49e82 * cleaned up and applied coding style to FontStyle
* got rid of bogus member variables in FontStyle (which were
  already flags in the underlying FT_Face structure)
* disabled using the FreeType font cache -> I think from
  my earlier tests, I can conclude that the cache was not
  actually working. At least not giving any speed improvements.
  The AGG engine contains a caching system, for now, it works ok.
  I have no idea if this has anything to do with crashes in the
  freetype code, but at least I have not seen any since this
  change. But I have not tested much...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 10:01:49 +00:00
Stephan Aßmus 2b8347c0d8 don't use potentially stall freetype font face handles. The code is
more correct now, but it doesn't actually fix anything, since FT_Face
handles are nowhere freed in the app_server code.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:51:56 +00:00
Stephan Aßmus 00e0821ffd Use a ServerFont instance which is assigned to the currently
used font, so that the FontStyle reference count reflects the
fact that the AGG engine might still use the font
-> I think this "fix" is valid, but I have still seen crashes
in the freetype code.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:44:46 +00:00
Stephan Aßmus ccdfe4055f Jerome is encoded in UTF8
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:39:12 +00:00
Stephan Aßmus c0a539ccec Jerome is encoded in UTF8
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:37:40 +00:00
Stephan Aßmus c8292991d2 applied coding style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:37:04 +00:00
Axel Dörfler 9ebc6e3c2d Added a comment on what kind of functionality we need from the caching layer one day.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:29:40 +00:00
Rudolf Cornelissen 10aea461cc oops. Now only uninstalling INT handler if it was previously installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:10:32 +00:00
Rudolf Cornelissen e68584fa18 added shared_info flag for 'no-INT-assigned' stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:02:37 +00:00
Rudolf Cornelissen 52c8d6219d added no-INT-assigned capability to kerneldriver. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:01:54 +00:00
Rudolf Cornelissen ce3fc95ee4 added capability to driver to run without an INT assigned. Driver now autodisables 'Sync_to_Retrace' functionality if it finds no INT assigned, instead of not loading/running the driver at all. This should enable some users outthere to finally run the nVidia driver on their systems. Bumped version to 0.56. Note: While driver has been tested with INT assigned, it has not yet been tested without it. (got to find a system which has the option or fixed disabled BIOS setting).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:00:38 +00:00
Axel Dörfler 1c88c851ad Turned off debug output again - also temporarily removed the file cache warning
about our block_io module not honouring the total length in read_pages().
Removed drops into the debugger when there is a block without an "original"
data buffer - that's completely normal and happens when someone asks for
a cleared block that is not yet in the cache.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-19 23:01:57 +00:00
Axel Dörfler d7f0a6f215 If register_preloaded_module_image() fails, a warning is printed.
get_next_loaded_module_name() no longer prints anything if tracing is enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-19 22:45:13 +00:00