Commit Graph

8776 Commits

Author SHA1 Message Date
Ingo Weinhold
044be4e258 Introduced a new build flag and macro RUN_WITHOUT_APP_SERVER, to allow
several things to work without a running app server (the Storage Kit to
begin with).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:18:31 +00:00
Ingo Weinhold
db10640de9 Got rid of the Storage Kit's kernel abstraction layer, which was
unfortunately quite slow and made some things more complicated than they
needed to be.
Implemented a few missing things (e.g. BSymLink and node locking).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:14:46 +00:00
Ingo Weinhold
233e6dadef The whole Storage Kit now uses syscalls directly. No further need of this abstraction layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:08:05 +00:00
Ingo Weinhold
5090f23182 Got rid of one of BMessengers friends. Poor BMessenger. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:06:15 +00:00
Ingo Weinhold
eb98f8c339 Squashed several TODO items by changing the Storage Kit <-> Kernel interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:04:41 +00:00
Ingo Weinhold
121af366ad Renamed FObjectsDir to FCurrentObjectsDir and introduced a new FObjectsDir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:03:01 +00:00
Rudolf Cornelissen
76eddc4fc1 small cosmetic fix. Cool! PLL readouts are actually OK, which probably means we can now ascertain if those older cards with noise (bandwidth) trouble are indeed running on too low speeds...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 19:41:45 +00:00
Rudolf Cornelissen
e21f481ff3 added exec of another scriptcmd (indirect PLL)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 19:22:10 +00:00
Rudolf Cornelissen
12d8196092 added execution of two more coldstart script commands, one doing CORE, RAM and DAC PLL programming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 17:04:53 +00:00
Rudolf Cornelissen
9fb20c7b6d added recognition of 3 new introduced coldstart script cmds for coldstarting on NV11: my NV11 now actually starts to do weird things :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 15:13:30 +00:00
Axel Dörfler
a48a5ab889 devfs now supports the I/O scheduler mechanism and automatically uses it
for all raw disk devices.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:33:31 +00:00
Axel Dörfler
6e3462b57e Added I/O scheduler to the build.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:31:42 +00:00
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