Commit Graph

1639 Commits

Author SHA1 Message Date
Ingo Weinhold
2d2601d03c Implemented rescanning the device list. A few things, e.g. notifications and change counter updates, are still missing. Added a periodical rescan event.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:37:48 +00:00
Ingo Weinhold
9c0367dcec Tiny inline class representing a change counter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:33:05 +00:00
Ingo Weinhold
4b883396bd Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 18:18:29 +00:00
DarkWyrm
0d831b179f Changed locking scheme to allow for multiple acquisitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 12:56:10 +00:00
Ingo Weinhold
30bb74bbd2 Added notification support for the mounting and mount point moving events. Several fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:23:46 +00:00
Ingo Weinhold
7a452094ee Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:20:40 +00:00
Philippe Houdoin
f05267cf0f Let's add our input_server an icon. Okay, it's stolen from BeOS one currently...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:08:18 +00:00
Philippe Houdoin
e803870545 Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Ingo Weinhold
57f5eb1c81 Minor changes: Small fixes and some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:37:00 +00:00
Ingo Weinhold
2ed834e3f6 Cleaned up BRoster's friends mess. All access to private BRoster functionality is now done through the newly added BRoster::Private class, which is BRoster's only friend (poor BRoster ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:29:21 +00:00
Ingo Weinhold
3d2f3f00f1 The basic functionality is complete now (though untested). The user API requests (save the one concerning watching) are handled. Notification stuff is still missing and proper handling of changes to devices, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:48:15 +00:00
shadow303
9eebe3f574 Added bounds checking and patterns to drawing functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 22:12:00 +00:00
DarkWyrm
7efc1255ed Modified ColorSet to match new color_which defs in InterfaceDefs.h
Added ending newlines to a number of files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 17:30:17 +00:00
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
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
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
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
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
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
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
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
DarkWyrm
fb994d6964 Removed some warnings and added documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 00:11:21 +00:00
DarkWyrm
8ccf453d5e Ported and added prototype #7's ScreenDriver and ViewDriver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:58:06 +00:00
DarkWyrm
643c5cd11e Documented AppServer class.
Implemented most of the AppServer class - can actually *run* the server.:P
Minor tweaks to ServerApp to accomodate AppServer::Broadcast()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 19:43:15 +00:00
DarkWyrm
34a81c2f00 Added skeleton Desktop functions and skeleton Layer class
Tweaked files dependent files to include Desktop.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 15:19:27 +00:00
DarkWyrm
0934499c5d Added ServerApp, fully documented and 99% implemented
Made FontServer::FontsUpdated public


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:36:15 +00:00
DarkWyrm
0933894bf7 SetCursor(int32 token) now sets system cursor_which to B_CURSOR_OTHER
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:20:44 +00:00
DarkWyrm
134b30df97 Added global cursormanager object
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:00:48 +00:00
DarkWyrm
2dc718a7e8 Implemented and documented the cursor manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 14:25:16 +00:00
DarkWyrm
a534bc89a5 Forgot to add the ID token. Doh!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 01:20:28 +00:00
DarkWyrm
579d027203 Added TokenHandler class and associated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 01:06:45 +00:00
DarkWyrm
abc4a76816 Added app signature identifier for CursorManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 00:37:53 +00:00
DarkWyrm
a3d04b0ebc Tweaked AccelerantDriver to utilize recent DisplayDriver changes
Added a number of new files to server
app_server now included in the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 20:38:49 +00:00
DarkWyrm
be21660d1c Finished FontServer documentation, added Angle class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 17:31:44 +00:00
DarkWyrm
c37002b4ea More documentation tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:58 +00:00
shadow303
76e470159f Just enough to cause headaches for the real app_server ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 20:14:22 +00:00
DarkWyrm
7e3d17ed77 Initial checkin with minimal documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:43:30 +00:00
DarkWyrm
61207aa15f Added the pretty-much-final-but-probably-needs-tweaked system color set support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:03:27 +00:00
DarkWyrm
94cd5349e1 Documented ServerCursor
Other documentation tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:32:45 +00:00
DarkWyrm
e3bb08007b Added color lookups when assigning colors and reworked documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:12:03 +00:00
DarkWyrm
f4a6475edf Finished API documentation and a couple API fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 18:44:01 +00:00
DarkWyrm
cd5337c0a2 Lots of new stuff and tweaks to old specs.
DisplayDriver documentation incomplete.
ServerCursor docs nonexistent.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 22:51:01 +00:00
beveloper
d6379053ba Made time sources mode BeOS R5 conforming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 17:54:20 +00:00
beveloper
0e21b167c9 time sources now publish and retrieve timing information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 23:11:18 +00:00
beveloper
a99e278308 added cleanup of dead nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 14:23:20 +00:00
beveloper
835140c89a better time source support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 23:35:07 +00:00
DarkWyrm
8927dfb846 Updates to RGBColor and adding Doxygen documentation
Added foundation for font classes.
Still not in build (on purpose)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 22:19:48 +00:00
DarkWyrm
7af0fd5b2e The server has begun...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 18:21:14 +00:00
mahlzeit
53284a9fdb Checkin of the source code for midi2 kit milestone 1.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 14:34:17 +00:00
beveloper
2df68a7bf6 Checkpoint.
Started adding support for persistent default nodes.
System time source and BTimeSource are broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-26 02:25:25 +00:00
beveloper
5aab162dcc removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 20:15:29 +00:00
beveloper
ced4130fee added more debug information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 18:18:50 +00:00
Michael Pfeiffer
4dc43683c9 File moved to servers/print/shared
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:32:49 +00:00
Michael Pfeiffer
1c1ba0eb0e File moved to headers/private/print
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:32:28 +00:00
beveloper
a93cd287ee when a media add-on file is removed, the flavour update message is send.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 01:01:58 +00:00
beveloper
76669a292a changed use of port communication, debugging functions, map, list and stack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:53:51 +00:00
beveloper
2bb039ccf5 changed use of debugging functions, map, list and stack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:53:06 +00:00
beveloper
ba666c4c12 removed some unused functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:52:21 +00:00
beveloper
075570786d changed BufferManager communication to use ports.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:49:40 +00:00
DarkWyrm
8cca67e9c1 Removed the problem with losing grip on the window while resizing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 15:16:25 +00:00
DarkWyrm
09aa48996d Finished input server emulation code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 14:49:10 +00:00
DarkWyrm
a5dbd67b81 Added optional locking timeouts to help stave off deadlocks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 12:32:34 +00:00
DarkWyrm
457c142fdf increased port capacity. Should make deadlocks with the ViewDriver not so much a problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 12:13:22 +00:00
DarkWyrm
e11a052e91 Fixed some font-related deadlocks
Added B_OP_OVERLAY support to BlitBitmap
Fixed a cursor display bug
Rudimentary mouse click support for input server emulation code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-07 01:34:45 +00:00
shadow303
63683bae80 Initialize & Cursor bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 00:50:16 +00:00
shadow303
7348e71fc3 Fix initialization and memory issues
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 01:16:15 +00:00
DarkWyrm
325a5f6bb6 Fixed MoveToBack/MoveToFront crasher
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 22:54:16 +00:00
beveloper
353b9f6bce changed map and list templates to be more useable, however, they will
be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:59:42 +00:00
DarkWyrm
68bb610bbc More redraw fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:23:04 +00:00
DarkWyrm
63034805fd Removed a bug in Layer::Invalidate()
Fixed a bunch of redraw problems


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:21:19 +00:00
DarkWyrm
57dd5feac4 Redraw tweaks for sliding tabs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 23:00:45 +00:00
DarkWyrm
a68816fa27 Fixed GetFootprint to return proper window layout
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 22:56:17 +00:00
beveloper
00ae25d974 removed duplicate
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 22:27:31 +00:00
shadow303
f7052c0ec3 Fix StrokeArc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 23:16:03 +00:00
Michael Pfeiffer
87f0c75967 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:32:04 +00:00
shadow303
8081366ed4 Fix up cursor stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 22:02:37 +00:00
beveloper
08d612b66b media_server.h was missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:50:15 +00:00
beveloper
41ba915d42 various small changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:09 +00:00
DarkWyrm
f0577aea09 Complete server update.
Fix for garbage text in window titles
Updates to decorator and API


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 01:23:43 +00:00
beveloper
6396865dcd added automatic media_addon_server launching and termination.
added detection of and cleanup after application crashes.
if the media_addon_server crashes, it will be restarted.
removed preleminary volume control functions.
removed unneeded media_server functions.
changed application registration to use port based messaging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 01:28:23 +00:00
DarkWyrm
eb8218b543 Added StringWidth() and StringHeight() calls
Removed redundant DrawChar() implementation from ScreenDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 00:52:40 +00:00
DarkWyrm
9177ec787d Removed a cast warning from StrokeArc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 23:26:43 +00:00
shadow303
8f3cf68703 Added extra pixel setting routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:12:33 +00:00
shadow303
a27f9ebd60 Fix value of ANGLE_PI
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:11:32 +00:00
Ingo Weinhold
50a2831740 Use a known target (the symlink in ~/config/lib) for LinkSharedOSLibs instead of the anonymous `freetype'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 23:12:55 +00:00
Philippe Houdoin
d70d5d9869 Remove src/servers/net from build, as it was moved to
src/tests/servers/net/net_server instead, as it belong.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:53:16 +00:00
shadow303
7eae9afc01 Remove include ServerCursor.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:49:28 +00:00
shadow303
eede6bce57 Add StrokeArc and StrokeBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:48:33 +00:00
DarkWyrm
0daf473e42 ViewDriver::DrawString now utilizes FreeType2 code
More bugfixes leftover from ServerCursor elimination


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 01:09:26 +00:00
DarkWyrm
08463035d2 Forgot to add Angle class to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:28:02 +00:00
DarkWyrm
ab225173d8 (Theoretically) fixed the build
Replaced ServerCursor class with ServerBitmap use
DisplayDriver updated
ScreenDriver now does DrawString and DrawChar (!) and looks good
Fixed stupid jamfile mistakes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:26:34 +00:00
shadow303
6cdadea727 Added missing instances of "case"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:19:49 +00:00
Tyler Dauwalder
8528ca2e2a Added default app flags to Add() so I could be lazy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:21 +00:00
Tyler Dauwalder
b2589492d0 Added code to Get() to filter out all but the most recent of any duplicate
matching entries with differing "opened with" app sigs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:37:56 +00:00
Tyler Dauwalder
1bde02ae7b Fleshed out any missing pieces of BRoster::
- ClearRecent{Docs,Folders,Apps}
- AddToRecentApps()
- {Load,Save}RecentLists()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:36:08 +00:00
Tyler Dauwalder
4f03f5d268 Implemented loading and saving of recent docs, folders, and apps lists
from and to disk in the ~/config/settings/Roster/RosterSettings format.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:43:58 +00:00
DarkWyrm
fc8dfd798a Added prototype #7 and test application to tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:52:04 +00:00
DarkWyrm
54b288ebda Added prototyp #7 and test application to tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:50:38 +00:00
mahlzeit
65829454fb Removed the .rsrc file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:43:15 +00:00
mahlzeit
27d7456273 Got rid of the .rsrc file for now, because it
is rather unconvenient to update from the CVS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:39:20 +00:00
Philippe Houdoin
073b7c62a6 Silly me. How to build something without a Jamfile these days!?!...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:30:55 +00:00
jerl1
96462df1ad I add function that I have wrote
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:17:50 +00:00
Philippe Houdoin
df1cbf3cc4 Make the debug/tests net_server to build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 02:32:32 +00:00
Michael Pfeiffer
1d7af7aad4 Changed GUI of configuration window a little (bitmaps will be designed by CDT).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 23:58:32 +00:00
beveloper
dfb2ad6148 code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 16:03:23 +00:00
DarkWyrm
e4840f5bd2 Checkin for Gabe Yoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-02 23:33:33 +00:00
mahlzeit
7c27cd32b5 Added Doxygen file headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 16:13:08 +00:00
Tyler Dauwalder
fde0f1b873 Implemented HandleGetRecent{Documents,Folders}()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:10:02 +00:00
Tyler Dauwalder
85c4b39407 Added RecentEntries.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:08:56 +00:00
Tyler Dauwalder
15a66e61ce RecentEntries class; handles recent documents and folders.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:08:25 +00:00
mahlzeit
37192de9c0 Added the beginnings of the midi_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 15:37:29 +00:00
Tyler Dauwalder
230719b573 - Added Handle{Get,AddTo,Clear}Recent{Apps,Documents,Folders}() skeleton functions.
- Implemented HandleGetRecentApps()
- Added fRecentApps member to TRoster


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:52:28 +00:00
Tyler Dauwalder
7c82774099 Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} cases to main message loop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:50:27 +00:00
Tyler Dauwalder
24a2d24f46 Added RecentApps.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:49:40 +00:00
Tyler Dauwalder
4c2f542522 RecentApps class that manages the system list of recently
launched applications.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:44:11 +00:00
Michael Pfeiffer
5def119705 Refinement of ConfigWindow.
Some bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:51:40 +00:00
Michael Pfeiffer
6ec7a3e7be Made ConfigWindow position and whether it should be used persistent.
Small bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 15:14:32 +00:00
beveloper
9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
Michael Pfeiffer
7b362730d7 Removed unnecessary code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:21:33 +00:00
Ingo Weinhold
5f20a509b4 Added documentation. Some smaller fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 01:06:13 +00:00
Michael Pfeiffer
7977efcf98 Added ability to select printer inside of application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:03:31 +00:00
Michael Pfeiffer
5108df6e12 Added scripting support to enable/disable configuration window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:59:19 +00:00
Michael Pfeiffer
aba0d179c7 Handle moving of job file correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:55 +00:00
Michael Pfeiffer
4e776836cd Added new source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:12 +00:00
Michael Pfeiffer
dda672d898 Added class AutoReply.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:56:40 +00:00
DarkWyrm
b010ca6720 Checkin for Gabe Yoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
Ingo Weinhold
7a0335c8a3 Added support for roster watching.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:05:25 +00:00
Ingo Weinhold
6d8943122a Generic watching support classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:01:09 +00:00
beveloper
f19a36df3e better or worse?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 22:41:34 +00:00
Ingo Weinhold
56d4d6378e Added handling for broadcast request (BRoster::Broadcast()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:31:55 +00:00
Michael Pfeiffer
dfb355568e Added GetDefaultSettings().
Fixed start print_server from terminal only if it is not already running.
Fixed use pointers to BBitmap in application class. To prevent destruction of BBitmap without valid BApplication object, if BApplication constructor has failed.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 16:06:43 +00:00
Michael Pfeiffer
f2ee553c1b Added GetDefaultSettings().
Fixed return correct error code in ConfigurePage().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:57:45 +00:00
Michael Pfeiffer
a744b32df3 Fixed race condition in Release(), supplied by Marcus Overhangen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:53:49 +00:00
Ingo Weinhold
b48b6fb598 Added method CheckSanity() which checks whether the (pre-)registered apps are still alive and removes obsolete entries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:21:06 +00:00
Ingo Weinhold
463322c288 Added methods GetEventQueue() and App() (static). Added a sanity event for checking the roster for killed apps.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:19:43 +00:00
Ingo Weinhold
40a1dc4c7f Documented the class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:14:24 +00:00
Ingo Weinhold
1607957935 * Documented the class.
* Added helper methods and rewrote Remove() to take advantage of the fact
  that the event list is ordered.
* Introduced a termination flag to shutdown the thread as early as
  possible.
* Event::Do() get a pointer to the queue as parameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:13:24 +00:00
Ingo Weinhold
c2b2c7d9f7 Documented the class. Do() now gets a pointer to the event queue as parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:08:53 +00:00
Ingo Weinhold
15a2383ff8 Added MakeEmpty() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:06:39 +00:00
Ingo Weinhold
5293aa41b4 Added the class MessageEvent, which is an Event sending a message when executed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:01:47 +00:00
Ingo Weinhold
44c3726b9d Added EventQueue and Event and MessageRunnerManager classes used for the
registrar side message runner support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:37:07 +00:00
beveloper
570f7d0456 updated to include the same features/bugs as the screenshot in today's news.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-10 18:55:47 +00:00
beveloper
1299bfb29f added real media_server node management, removed bugs, added debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 23:59:43 +00:00
beveloper
d9b7ae2154 moved node management functions into the NodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:27:32 +00:00
Ingo Weinhold
af8eec4080 Added support for the B_REG_SET_SIGNATURE request (BRoster::SetSignature()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:03:11 +00:00
Ingo Weinhold
4000397895 More debugging output. Yeah!!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:57:09 +00:00
beveloper
85dfab2ba8 even more BMediaRoster functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
beveloper
9e9417d205 more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 13:02:26 +00:00
beveloper
3620737cb7 added more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:45:20 +00:00
beveloper
5edd2016f8 removed some warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 12:17:47 +00:00
beveloper
8c6a6096e7 rewrote BMediaRoster::Connect() and a few related functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
beveloper
e66fda405a finished notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00
beveloper
1d616657b9 changed the notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:01:37 +00:00
beveloper
fd2581121b changed media kit internal messaging and notification support
these files will be replaced soon


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:08:54 +00:00
beveloper
f492510482 changed media kit internal messaging and notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:04:48 +00:00
Tyler Dauwalder
6fe0c83d38 Updated to use RegistrarThreadManager instead of ThreadManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:36:08 +00:00
Tyler Dauwalder
a95d0e50a1 Removed ThreadManager from the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:35:28 +00:00
Tyler Dauwalder
c76034e178 + Renamed to RegistrarThreadManager to avoid conflicts with tools/cppunit/ThreadManager
+ Moved into app kit directories for inclusion in libopenbeos.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:20:38 +00:00
Michael Phipps
5894646a95 Per Jason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 17:52:57 +00:00
beveloper
682db4a4c5 add some framework to broadcast and manage notification messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 00:12:11 +00:00
beveloper
7dd8568e6a adding a simple queue needed for the media server's handling of notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:07:10 +00:00
Tyler Dauwalder
4a94b7bbb3 + Added ThreadManager object to MIMEManager
+ Reimplemented mime update calls to now handle both synchronous
  and asynchronous calls, as well as work with RegistrarThreads and
  the ThreadManager.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:17:29 +00:00
Tyler Dauwalder
5720cd9c75 Added ThreadManager to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:56 +00:00
Tyler Dauwalder
e177c2c89a ThreadManager class, which is responsible for managing all the
RegistrarThread objects created by the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:20 +00:00
shatty
455ac6375c fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:43:52 +00:00
shatty
dece452ee7 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 01:48:03 +00:00
Michael Pfeiffer
c615771892 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:46:13 +00:00
Michael Pfeiffer
57e88ee89b Bug fix for memory leak. BMessage returned by take_job was not deleted.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:45:24 +00:00
Michael Pfeiffer
d16c075486 Bug fix to avoid null pointer access.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:40:46 +00:00
Michael Pfeiffer
a039d985c9 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:27:54 +00:00
Michael Pfeiffer
f0ac1e5a7e Bug fix for HP PCL3 printer add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:26:46 +00:00
Tyler Dauwalder
1bd963b6c2 + Added file-extension based mime type guessing
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
  non-recursive; forcing, non-forcing; you name it we got it :-)
  update_mime_info() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Ingo Weinhold
afac6ebecb Initialize the global be_roster for the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 19:46:15 +00:00
Michael Phipps
8f13f87bf7 For Michael Pfeiffer, ready for beta...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-21 18:57:19 +00:00
Tyler Dauwalder
e3a2f2069e + Added SetSupportedTypes() test
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 08:12:03 +00:00
Ingo Weinhold
77bb876f71 libstorage.so is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:14:11 +00:00
beveloper
a294926ce0 more notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:05:43 +00:00
Tyler Dauwalder
d7526269d7 Added B_REG_MIME_GET_SUPPORTING_APPS functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:59:57 +00:00
Philippe Houdoin
a225fd0942 Let's move the userland version (net_server-like) of the net stack here, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 07:53:49 +00:00
Ingo Weinhold
cf07767393 Added B_REG_MIME_UNSUPPORT_TYPES case in MessageReceived(). No implementation for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:51:50 +00:00
Tyler Dauwalder
e20a514ae9 After implementing the BMimeType::GetInstalled[Super]Types()
functionality, it became apparent that some restructuring was
needed if I wanted to keep things clean and managble.
storage/MimeDatabase.{h,cpp} have been broken into:

storage/mime/database_support.{h,cpp}
+ MIME database constants
+ high-level database access functions like open_type(),
  read_mime_attr(), etc.

storage/mime/database_access.{h,cpp}
+ atomic read functions
+ is_installed()
+ get_icon_data()

storage/mime/Database.{h,cpp}
+ Mime::Database class, which is responsible for all write,
  non-atomic read, and mime monitor functionality.

storage/mime/InstalledTypes.{h,cpp}
+ Helper class for Mime::Database::GetInstalled[Super]Types()

storage/mime/Supertype.{h,cpp}
+ Helper class for Mime::InstalledTypes

I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types
implementation into the new setup yet. That comes next, and it ought
to be a more graceful implementation now.

I also implemented BMimeType::Get/SetSupportingTypes(), though
they haven't been tested yet (sorry).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:04:02 +00:00
Tyler Dauwalder
3155eae222 + Added code/updated tests for
- AttrInfo
  - FileExtensions
+ Updated Delete() code to send monitor updates
+ Tenatively added "be:action" field to monitor messages
+ Added data type constants


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:55:20 +00:00
Tyler Dauwalder
1ed04c7ce3 Added code for:
+ {Get,Set}IconForType()
+ Delete*() functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:37:04 +00:00
Tyler Dauwalder
7cf4e78a5d + Updated doxygen
+ Added code for:
  - B_REG_MIME_SET_PARAM::B_REG_MIME_PREFERRED_APP
  - B_REG_MIME_SET_PARAM::B_REG_MIME_APP_HINT
  - B_REG_MIME_SET_PARAM::B_REG_MIME_ICON


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:42:14 +00:00
Tyler Dauwalder
f978bce0b0 + Added fMimeDatabase member
+ Updated MessageReceived to handle:
  - B_REG_MIME_SET_PARAM.B_REG_MIME_DESCRIPTION
  - B_REG_MIME_{START,STOP}_WATCHING
  - B_REG_MIME_{INSTALL,DELETE}


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:08:49 +00:00
Tyler Dauwalder
533a64a210 Registrar now links to libstorage for MimeDatabase class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:02:55 +00:00
beveloper
16b7eea41a Add some experimental media add-on instantiating support, more debugging and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:21:32 +00:00
beveloper
d6b71edf06 Updated to make media_addon_server work with the DormantNodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 00:38:09 +00:00
Michael Phipps
f85924fecf This fleshes out the HandleSetMousePosition() and the input_server now tracks the current position of the mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 23:32:30 +00:00
beveloper
e2c48499a6 Changed to use the DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:05:18 +00:00
Michael Pfeiffer
ed7c14bac2 Use rule AddResources instead of XRes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:41:06 +00:00
Michael Phipps
5b87d86af3 Added some necessary files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:51:06 +00:00
Michael Phipps
f8faba8667 Doesn't build without PortLink in the Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:40:57 +00:00
Ingo Weinhold
5ca9f21f13 More debugging output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:20:42 +00:00
Ingo Weinhold
5e949b7dfc Added method Init(), which adds the registrar to the roster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:37:24 +00:00
Ingo Weinhold
60aa4feab5 * Lock() the looper in application destructor. Otherwise RemoveHandler()
complains.
* Call the TRoster::Init() to add the registrar itself to the roster.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:05 +00:00
Michael Pfeiffer
2c0d45d7c1 Async. start Page/Printer Config Dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:05:03 +00:00
Ingo Weinhold
d744dd13ab * Changed the return value in HandleCompleteRegistration() in case of
not found or already completely registered applications from
  B_REG_APP_NOT_REGISTERED to B_REG_APP_NOT_PRE_REGISTERED.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:42:03 +00:00
Ingo Weinhold
2ad75c74f9 Added doxygen comments and moved the initialization of child objects from
the constructor into ReadyToRun().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:39:26 +00:00
Ingo Weinhold
c09fb4b971 Added doxygen comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:37:26 +00:00
Ingo Weinhold
e56ea20210 * Added doxygen comments.
* Moved the index returning/expecting methods into a private section and
  implemented a Iterator class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:36:28 +00:00
Ingo Weinhold
a12aef2bee * Added handling of running app querying requests.
* Added methods Add/Remove/ActivateApp().
* Added hook methods _AppAdded/Removed/Activated/Deactivated().
* Turned fActivateApp into a RosterAppInfo* which is more useful.
* Added doxygen comments for the class and all methods.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:33:36 +00:00
Ingo Weinhold
bf41b2a2ef Replace APP_STATE_INVALID by APP_STATE_UNREGISTERED which makes more sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:28:14 +00:00
Ingo Weinhold
2e042baa93 Added dispatching of the running app querying requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:26:39 +00:00
Ingo Weinhold
ab2e0d7d3f Removed the optional index parameter from AddInfo(). It wasn't used and would avoid to replace the list implementation by one that e.g. maintains a sorted list or a hash table or whatever. Think about changing the other methods operating on indices to use iterators.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:25:33 +00:00
Ingo Weinhold
1d32138d6f Implemented processing of the app registration requests and Get{Running,Active}AppInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:04:52 +00:00
Ingo Weinhold
3a5e755532 Added token and registration_time fields and Init() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:03:14 +00:00
Ingo Weinhold
c39e453222 Added dispatching of some now implemented roster requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:02:10 +00:00
Ingo Weinhold
71ba5e917b We use STL now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:01:21 +00:00
Ingo Weinhold
96fd394e57 Added SET_ERROR macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:40 +00:00
Ingo Weinhold
679ac7ab0d Added a couple of methods for app_info finding.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:15 +00:00
Ingo Weinhold
51d6b22ec1 Added TRoster instance to the registrar application and dispatching of the application registration messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:40:12 +00:00
Ingo Weinhold
f9fd58cc75 Added classes TRoster, RosterAppInfo and AppInfoList. TRoster will be the *The Roster*, but has currently only unimplemented hooks for the app registration functionality. More to come.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:38:57 +00:00
Michael Phipps
e9a5e3f5cc Change per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 23:39:03 +00:00
Ingo Weinhold
f58f2774db Added the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:41:42 +00:00
Ingo Weinhold
4b8a71155a Added a registrar skeleton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:40:07 +00:00
Michael Phipps
2296a4d62e Here is the modified InputServer.cpp file which includes the casting
change for the DispatchEvent() function.  This will allow the input_server
to work with the current proto6 code in the cvs tree.  It may even work
with the existing proto5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:18:32 +00:00
Michael Phipps
7c8b733d03 Checkin, per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:12:24 +00:00
Ingo Weinhold
25f901aec9 Link against the OBOS version on libmedia.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@87 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:55:52 +00:00
ejakowatz
c07b7f382d A couple of minor tweaks to get things building again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@65 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:17:00 +00:00
Ingo Weinhold
5147813236 Added print server and screen saver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@54 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:14:22 +00:00
Ingo Weinhold
77763004e0 Fixed include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@53 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:59:20 +00:00
Ingo Weinhold
a63dade9fe Added the media addon server to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@52 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:58:30 +00:00
Ingo Weinhold
ac01d3440b The media server rolls in. Well, it doesn't compile, but it doesn't in the old tree either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@51 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:48:09 +00:00
Ingo Weinhold
b8c8c78099 Here goes the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@50 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:33:56 +00:00
Ingo Weinhold
b01bedd574 This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00