DarkWyrm
70acf9f9fb
Added ServerWindow skeleton
...
Uncommented most ServerWindow dependencies in other files
Implemented and documented almost all of Layer class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 12:53:57 +00:00
shadow303
79e622060c
More drawing fuctions, and start adding bounds checking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 01:03:39 +00:00
Ingo Weinhold
26dd5fd531
* RVolumeList:
...
- Added locking, listener support.
- Changed message handling from BHandler to MessageHandler interface.
- Fixed bugs.
* RDiskDeviceList:
- Locking uses an external lock now (the same one as the volume list)
- Prepared for message handling (MessageHandler).
* DiskDeviceManager:
- Added priority message queue and message handler thread -- should be
more or less complete now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:39:54 +00:00
Ingo Weinhold
e81c38c154
Added new classes, MessageHandler and PriorityMessageQueue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:32:44 +00:00
Ingo Weinhold
fadf867232
A priority message queue. We will use it to handle system notifications faster than client requests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:31:45 +00:00
Ingo Weinhold
9f7559815d
An interface for classes being able to handle messages. More lightweight than BHandler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:30:14 +00:00
DarkWyrm
e5a496eadd
Removed dependency on local PortLink and ColorUtils sources - links against libopenbeos now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 22:14:29 +00:00
Marc Flerackers
4045c22939
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 16:46:10 +00:00
DarkWyrm
43fd19a147
Minor cruft removal
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 01:05:18 +00:00
DarkWyrm
1568958e09
Added class for easily adding pattern support to DisplayDriver subclasses.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 01:04:14 +00:00
Michael Pfeiffer
3c79f2fe4f
Fixed bug decoding spool file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-05 17:43:15 +00:00
Marc Flerackers
657004ba9b
Updated the specs after writing BShape
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-05 14:44:53 +00:00
Ingo Weinhold
3e377cc75a
Added RVolumeList, which maintains an up-to-date list of mounted volumes. Will be used as helper for RDiskDeviceList. Not complete yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:56:38 +00:00
Ingo Weinhold
8cd6a1c0f8
Added a work-around for the problem, that we can't use libbe's node monitoring functions, when linked against libopenbeos. An application NodeMonitor acts as a mediator. Not an optimal solution, but the only one I have for now -- if someone told me which parameters _k{start,stop}_watching_vnode_() have, things looked much nicer. The work-around is currently only used for the registrar; for other places the code that get the path of NodeMonitor needs to be adjusted.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:54:03 +00:00
shadow303
e42e3be9c8
Autodetect graphics card, mode stuff, and more drawing stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:52:34 +00:00
Ingo Weinhold
83969b9581
B_PATH_NAME_LENGTH + 1 -> B_PATH_NAME_LENGTH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:47:30 +00:00
shadow303
48f49cdf5c
Implement more drawing code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 00:31:15 +00:00
DarkWyrm
d55509c6be
Implemented AppServer::HandleKeyEvent and FindApp
...
Minor tweaks to ServerApp::PostMessage to allow for regular message posting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 00:20:15 +00:00
shadow303
3ffc009720
Implement more drawing code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-03 00:53:16 +00:00
Ingo Weinhold
f5b05b5ac5
Oops, committed .../registrar/DiskDeviceManager.cpp instead of DiskScannerTest.cpp: Moved the implementation of the disk_scanner API out of the test code to the libroot sources, where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 23:02:54 +00:00
Ingo Weinhold
de40feed71
kernelland_emu is now a shared rather than a static library. The userland versions of the kernel modules are now linked against it and not longer against DiskScannerTest.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:56:16 +00:00
Ingo Weinhold
f1c73c8c64
Added missing <KernelExport.h> include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:53:07 +00:00
Ingo Weinhold
12c3ae8de3
<fs_device.h> -> <disk_scanner.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:52:30 +00:00
Ingo Weinhold
3dbb9fba87
The beginning of the structures for the registrar side implementation of the DiskDevice API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:50:48 +00:00
Ingo Weinhold
6342ffb32b
Moved the implementation of the disk_scanner API out of the test code to the libroot sources, where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:47:24 +00:00
Ingo Weinhold
e3b2e49b00
Renamed fs_device.h to disk_scanner.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:44:44 +00:00
Ingo Weinhold
3f82d4f1d2
Added a DiskDeviceManager to the registrar. Does nothing for now, but will soon be the one responsible for the disk device functionality in the registrar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 21:39:22 +00:00
Ingo Weinhold
3e103b0660
Added protocols for the Disk Device API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 21:07:25 +00:00
Ingo Weinhold
44e2062426
Added constants for the Disk Device API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 21:06:56 +00:00
shadow303
d87d0228f4
Fix initialization and implement FillRect
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 20:42:02 +00:00
Ingo Weinhold
7c2e411db9
Small changes to the interface. Some fixes. And documentation added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 18:13:13 +00:00
Ingo Weinhold
d8c074b218
Small changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 18:12:03 +00:00
Ingo Weinhold
3e19fccb08
Added DiskDevice API source files with empty implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 22:06:20 +00:00
Ingo Weinhold
42b7adc3a4
Added file header. Minor changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 22:05:09 +00:00
Ingo Weinhold
a074951297
Indention. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:23:01 +00:00
Ingo Weinhold
245fa6ad7b
Turned off debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:22:21 +00:00
Ingo Weinhold
b39b76027e
Now the partition type string is set to `Unrecognized Type 0xXY', if the type is unknown. If the PTS for an extended partition could not be read, it is ignored.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:21:57 +00:00
Ingo Weinhold
d713d1d973
The beginning of the DiskDevice API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:17:20 +00:00
ejakowatz
f971378f16
Reworked color_which declaration to match Dano's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 00:17:18 +00:00
Axel Dörfler
81afd95226
Cleanups (mainly variable types).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:25:53 +00:00
Axel Dörfler
f9d7cb3acc
Now uses the arch/x86/smp_apic.h header; changed apic_read/write() to accept
...
offsets as parameter to specify the APIC register.
Added an obviously missing apic_write() call.
Code cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:24:50 +00:00
Axel Dörfler
7870c58c18
Now uses the new smp_apic.h header file.
...
Changed apic_read()/apic_write() to accept offsets not addresses as register
parameter.
Cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:22:03 +00:00
Axel Dörfler
9175b5a5e0
Cleanup of the header mess: removed the redundant APIC/mp structure definitions
...
from smp_priv.h and stage2_priv.h. Created a new file smp_apic.h which now
contains those definitions.
Made the APIC_xxx register offsets only base offsets (without referencing a
particular variable).
Other small cleanups (i.e. "unsigned int" to uint32).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:20:33 +00:00
Axel Dörfler
2dc97fdf08
The dprintf() function scrolled one line too late.
...
Also fixed a comment and the processor warning text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 19:52:49 +00:00
Axel Dörfler
7a6bb51e08
Just some cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 19:49:24 +00:00
Axel Dörfler
9e63d45563
Moved the fd.c source file into the fs directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 19:37:44 +00:00
jerl1
97579cd0c2
The first version of this files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 12:05:27 +00:00
Philippe Houdoin
f3eabb6abd
Backport time tracking fix from NewOS:
...
thread code now properly traces time spent in user vs kernel mode. The code was
just plain broken before
http://www.newos.org/cgi-bin/perfbrowse.perl?@describe+1704
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 21:59:37 +00:00
Axel Dörfler
1241a21542
Only queries non-indexed attributes if the B_QUERY_NON_INDEXED flag was
...
passed during construction of the Query.
Only live queries are now registered with the BVolume (for now - since Be's kernel
doesn't free queries when an app has crashed, we might want to have a work-around
for that one day [or just a new kernel :)]).
Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 15:11:44 +00:00
Axel Dörfler
2fee336b52
Removed the load_driver_symbols() call, since it doesn't seem to have any
...
effect anyway.
Now passes the flags parameter on to the Query.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 15:09:18 +00:00