Commit Graph

8664 Commits

Author SHA1 Message Date
Axel Dörfler d3efd9a6ef Implemented the basic I/O scheduler architecture - doesn't schedule anything
yet, though (instead, it directly performs all requests, so there is no
functional difference to the previous mechanism).
devfs and the file cache will directly access the I/O scheduler. There is
one scheduler per raw disk device; devfs detects that automatically, and
all I/O will go through the scheduler, then.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:28:29 +00:00
Axel Dörfler a0c7b77db3 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 20:58:30 +00:00
Axel Dörfler c96488c21d Now compiles fine as C++ file (fixed min() usage).
Added our license.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:57:43 +00:00
Axel Dörfler ba74984309 Renamed devfs.c to devfs.cpp - it's now compiled as C++ file to allow usage
of kernel internal C++ API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:46:48 +00:00
Axel Dörfler ded78bc1ef Made changes to let this file be compiled as C++ file as well without warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:44:08 +00:00
haydentech 2b7da86751 Resolved some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:23:39 +00:00
Jérôme Duval e7b9acd7b1 Added test preferences apps MouseTest KeyboardTest KeymapTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:06:21 +00:00
Jérôme Duval d5f2a1f371 added our input server signature in comment
added #ifndef COMPILE_FOR_R5 to avoid BPortLink linkage when needed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 14:32:13 +00:00
Philippe Houdoin 7ada78200d NetworkingKit package's libs where misplaced, installed into
Desktop/openbeos-networkingkit-cvs, when bin tools where, them, installed into Desktop/haiku-networkingkit-cvs !
This should not have help earlier tester(s) ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 13:45:46 +00:00
Jérôme Duval 97c19e92aa Complete DeviceManager, need testing though.
Fix crash with TeamMonitor when quitting.
Moved app signature to a common place


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 13:14:17 +00:00
Stefano Ceccherini 6276c26824 - Some more error checking in some functions
- Fixed SetMaxBytes(), and made it delete the text if it's longer than the indicated bytes
- Fixed Delete(int32, int32) as it was doing bad things if you deleted the final part of the text
- Fixed PageDown handling (at least, it looks like so)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 08:35:15 +00:00
Stefano Ceccherini 758fe00be9 Started adding input methods "clauses" support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:50:41 +00:00
Jérôme Duval b69a5532ae reworked device manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:46:21 +00:00
Philippe Houdoin 4158964bd7 Mistaken duplicated code removed.
Use UTF-8 constants is better.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 23:22:24 +00:00
haydentech 54b32ef066 Fixed crashing bug related to incorrect bounds checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 20:29:03 +00:00
Rudolf Cornelissen 40cce32835 more coldstart script executing cmds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 18:56:09 +00:00
haydentech 22b5b23866 Initial implementation of CopyBitmap - more work is needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 18:42:48 +00:00
Jérôme Duval 6e6fa57fb5 Added a device manager for devices monitoring
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 16:11:24 +00:00
Rudolf Cornelissen daef2e88ec added 3rd coldstart script cmd exec (untested yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 16:02:27 +00:00
Jérôme Duval cba20309fd minor debug info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:04:22 +00:00
Jérôme Duval dcda1706fa Unprotected MultiAudioDevice destructor.
Now deletes MultiAudioDevices which don't init correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:01:39 +00:00
Rudolf Cornelissen 42a266345e added actual cmd execution for first coldstart script commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 11:57:35 +00:00
Rudolf Cornelissen 9235afe31f added coldstart script processing (cmd's not yet executed)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 10:44:57 +00:00
Jérôme Duval 347637bebc fix for metacharacters in keymap filenames
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 10:13:25 +00:00
Jérôme Duval 02b4f3e3e6 added another set of keymaps. source is International Keymap Pack from http://www.bebits.com/app/698 licensed as public domain.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 09:26:40 +00:00
Rudolf Cornelissen 03fb171873 coldstart updates, the driver now looks at the 'usebios' setting. still no actual execution though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 09:11:29 +00:00
Stefano Ceccherini 7fd612e59f And here's the blue highlight when an input method addon like the Japanese one is used (the red one isn't yet there)
Some minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 06:30:43 +00:00
Ingo Weinhold 187bee4d77 Small change for correctness and to avoid name clashes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 19:44:53 +00:00
Axel Dörfler 7fdfbc9850 No longer disables the floppy motor if it was booted from a floppy - that
somehow doesn't seem to work right with Bochs; after a reboot, the floppy
is not accessible (we might just need to turn the motor on again).
Not checked if this also happens on a real machine.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:40:51 +00:00
Axel Dörfler d3a947b004 Now uses a macro to export global symbols.
Added the reboot() function from our kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:38:26 +00:00
Axel Dörfler 30f0f48a33 Added platform_exit() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:29:10 +00:00
Axel Dörfler 90b9284ea3 Fixed a warning when compiled with GCC 3.
Added currently non-working version of platform_exit().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:27:40 +00:00
Axel Dörfler 31f29a6f7e Added support for disabled menu items.
The target function of an item is now called upon every action, not only
if that item had a sub menu...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:26:40 +00:00
Axel Dörfler f191528003 Added an InitCheck() method; if something goes wrong, the device won't be
added to the boot device list anymore. This is currently used to remove
devices that don't support the LBA access mechanism (since CHS support has
still not been implemented).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:25:08 +00:00
Axel Dörfler b430068a23 Implemented the enabling/disabling of menu items.
"Continue boot" will now be disabled if there are no boot volumes.
Also, there will be an additional menu item "Reboot" in that case.
The boot device menu will now show a disabled "No boot devices found" label
then, and will be selected upon entry. Added a help text to "Rescan volumes"
which will also be selected upon entry if there is no boot device.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:23:28 +00:00
Axel Dörfler a084c3cd69 No longer panics when it could find any boot volumes, but enters the
user menu in that case, too (to give the user the opportunity to rescan
the available devices).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:20:09 +00:00
Axel Dörfler 364b28a12a Added a call that should exit the boot loader in some way; usually that
would be by rebooting the computer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:18:33 +00:00
Axel Dörfler a1b7427b0a A menu item can now be enabled and disabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:17:38 +00:00
Jérôme Duval 6df8e49083 Added Albanian American Belgian Japanese keymaps taken from BeOSMax3.1b1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:03:13 +00:00
Jérôme Duval e3d5c9065f Added Italian, Swedish, Spanish keymaps taken from BeOSMax3b1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 14:51:03 +00:00
Jérôme Duval 9039fc987d Added keymap source compilation
Added French, German, Dutch, Greek keymaps taken from BeosMax3.1b1


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 14:44:21 +00:00
Jérôme Duval 1eb6e72fdc bugfix for extended chars
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 13:49:12 +00:00
Jérôme Duval dd48c6dc23 Source parsing is now complete.
Added options -c for "compiling" the source keymap to a binary keymap
and -o to name the output file. -o has to be before -c because i'm looping through cmd args.
Time to add keymap source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 13:30:59 +00:00
Stefano Ceccherini 939b1a9c4c PageDown and PageUp now behave a bit better. Still not completely ok, plus the code is a mess.
Needs to cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 07:50:35 +00:00
Stefano Ceccherini e13bd0e1a8 Reverted to the original comment, as I had worked on an older version of this file.
Took the chance to add the license header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 07:36:57 +00:00
Stefano Ceccherini 2a346d67a6 - Fixed a nasty regression which made the control unusable
- Fixed the "caret looks like a point" bug
- More work on the Styling code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 06:49:43 +00:00
ejakowatz b9c2cb3cd1 BMessage now sends B_NO_REPLY on destruction if no reply has been sent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 04:14:30 +00:00
ejakowatz 68247322bf Squished another possible memory leak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:59:33 +00:00
ejakowatz 72a804515c Fixed a couple of memory leaks and an incorrect index bounds check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:54:02 +00:00
Jérôme Duval 968aa8c895 source keymap loading through LoadSource
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:22:39 +00:00