Commit Graph

2841 Commits

Author SHA1 Message Date
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
Ingo Weinhold 2af6058585 Added two open() versions to our kernel_interface, that re-try opening read-only, if desired. They are now used in BDirectory and BNode, which formerly failed on read-only devices.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:19:53 +00:00
Philippe Houdoin 471e3978a1 Fix the in_cksum declaration conflict between the stack one in psoix/netinet/in.h
(should not be here but in private/net, in fact...) and
the internal one in traceroute.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 22:42:12 +00:00
Philippe Houdoin 8ef9e5a016 Fix a conflict between a private in_cksum() reimplementation and the stack one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 22:39:07 +00:00
Philippe Houdoin 1e9364f3ab Remove userland network modules from build, as it's not ready.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:26:32 +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
Philippe Houdoin d11f020628 Remove the useless userland_modules test app from CVS, now moved
into the test net_server app.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 20:53:09 +00:00
Matthew Wilber f1ce28c0a7 Changed the copyright notice and added an include so that it would compile properly with makeppc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 20:39:27 +00:00
Axel Dörfler 76f5cb0d86 Fixed broken compilation of BFS; forgot to update the Query.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 15:49:36 +00:00
Ingo Weinhold 851a7b6fe7 Added small test program for the Disk Device API. Doesn't do much for now -- only dumps the current list of disk devices. The iteration code seems to work. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:40:11 +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 03fa4a4f9c Implemented high-level iteration code. Various fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:34:47 +00:00
Ingo Weinhold f0bc031212 Added DiskDevicePrivate.{h,cpp}, which contains the internally used iteration support classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:32:51 +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 1c18696ba4 Added pseudo-target for building the userland versions of all disk_scanner modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:49:51 +00:00
Ingo Weinhold 78e7610fdd extended_partition_info::mounted_at is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:48:56 +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
Ingo Weinhold 11b6269482 Added a C++ version of get_device_icon() and make use of it in BVolume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:42:59 +00:00
Ingo Weinhold b11d9a08b1 The beginning of the implementation of the DiskDevice API. Basic iteration functionality is implemented, though not tested yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:42:14 +00:00
Ingo Weinhold 0598bd378f extended_partition_info::mounted_at is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:40:48 +00:00
Ingo Weinhold bdc2eaf5d8 Started implementing the API. Necessary changes to the headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:39:38 +00:00
Ingo Weinhold ae17e5046d Added a C++ version of get_device_icon() using a BBitmap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:38:15 +00:00
Ingo Weinhold 456d74c6d2 Uncommented extended_partition_info::mounted_at. It looks like we can't get hold of this data, so the field will probably disappear.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:37:30 +00:00
Ingo Weinhold 79cf70b37a Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:35:13 +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 d7355e8d6b More updates and fixed the jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 19:03:19 +00:00
DarkWyrm e0519ecad2 Updated from proto7 API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 18:56:09 +00:00
DarkWyrm f6c67f7d6c Updated WinDecorator from proto7 API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 18:37:12 +00:00
DarkWyrm bbceccae40 Updated BeDecorator from proto7 API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 18:32:18 +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 c8563e149f Added newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 17:27:15 +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
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