Commit Graph

2564 Commits

Author SHA1 Message Date
Axel Dörfler
130798445f Followed Ingo's suggestions and removed the "nothrow" stuff completely - since
we are explicitely compiling with -fno-exceptions, there shouldn't be any problems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 15:05:32 +00:00
Axel Dörfler
ceeb00d41a Fixed a possibly crashing bug (missing strerror() with %s format).
Fixed many warnings (due to -Wall). Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:03:30 +00:00
Axel Dörfler
4c94430a7e Added a virtual desctructor for the Term base class, and added the virtual
keyword to the ones of its subclasses as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:01:39 +00:00
Axel Dörfler
eabe73689f Fixed wrong storage classifier (was LL instead of UL).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:00:17 +00:00
Axel Dörfler
cdeaad9578 Fixed some warnings (due to -Wall).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:59:27 +00:00
Axel Dörfler
adf71bf608 Fixed many warnings because of -Wall (thanks to David for pointing this out).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:55:08 +00:00
Axel Dörfler
cc2a95b2e3 Fixed two warnings (due to -Wall).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:53:43 +00:00
Axel Dörfler
bc8d3bda19 Fixed many warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:53:01 +00:00
Axel Dörfler
b4d14910f5 Fixed some warnings, and some minor style issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:50:28 +00:00
Axel Dörfler
5d60085846 Now compiles with -Wall (why aren't we using that as default anyway?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:49:18 +00:00
DarkWyrm
193776bde4 Removed extra file - the file used is in headers/private/app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:52:04 +00:00
DarkWyrm
e8cde26567 Finished up ServerApp
Implemented most of and documented all of ServerWindow
Miscellaneous necessary tweaks to other classes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:47:06 +00:00
DarkWyrm
364bb57e76 Updated sources to reflect changes in <ServerProtocol.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:44:37 +00:00
Axel Dörfler
d99c61a52c Now includes fs_volume.h rather than unistd.h for B_MOUNT_READ_ONLY.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 13:20:43 +00:00
Axel Dörfler
1211df5f90 Removed the "_dontthrow" stuff - "nothrow" is already defined anyway, and
now used instead.
Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 13:20:15 +00:00
Phil Greenway
faf47df33f I don't know what I've done but I've stuffed something up and it doesnt compile with the subclass of ListItem, so I removed it and took it back to the plain boring ListItem.
Might have to leave it like this as I've spent way too much time on this as it is.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 12:14:26 +00:00
shadow303
de34217176 Bug fixes for FillTriangle and FillPolygon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:59:24 +00:00
shadow303
163b5adda5 Add tests for Fill/Stroke Triangle and Polygon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:58:56 +00:00
Ingo Weinhold
2d350d3dba The hack needed to be able to communicate with our registrar though not linking against libopenbeos has been moved to BDiskDeviceRoster. Link against libdiskdevice now, instead of compiling the sources in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:47:25 +00:00
Ingo Weinhold
5ef822af8a Aestetical change. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:45:47 +00:00
Ingo Weinhold
0f04e70bd8 Added the GUI part of the dialog. Now it is fully functional (maybe not nice, but functional ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:44:38 +00:00
Ingo Weinhold
d4ebd51785 We build a separate libdiskdevice.so now, which will be integrated into libopenbeos, when the GUI stuff there is working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:43:03 +00:00
Ingo Weinhold
9ca9a5bb49 Moved the hack making it possible to communicate with our registrar even, if not linking against libopenbeos from DiskDeviceTest to here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:41:21 +00:00
Ingo Weinhold
707fa51022 Fixed return type of read_partition_map (status_t -> bool). Fixed PartitionMapParser::Parse(): It wrongly error checked for a NULL block, which is allowed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:39:27 +00:00
Ingo Weinhold
646658b30b Added the intel GUI partition add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:34:30 +00:00
Ingo Weinhold
989d607833 The beginning of the GUI add-on for Intel style partitioning. Well, the very beginning. It does only show a blue box right now. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:33:49 +00:00
DarkWyrm
c26d77e634 Implemented Screen::SetMode
Added Workspace::SetSpace
Removal of old, commented-out server emu code in ScreenDriver
Tweaks to ServerProtocol and ServerConfig to have all BApplication messages, main server port name
AppServer now works fully at prototype #3 level - really cool with ScreenDriver!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:40:44 +00:00
DarkWyrm
16d1f45f81 Implemented IsCursorHidden
Removed PortLink usage where unnecessary


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:31:58 +00:00
Michael Pfeiffer
2394890a66 Added PCL6 disassembler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 20:59:57 +00:00
Phil Greenway
2847689550 Added Images and New Sub Class of ListItem called MediaListItem
Still not working properly :(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 13:48:28 +00:00
Phil Greenway
d633aff072 Added 3D Look Bar and Title Heading.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 06:01:39 +00:00
DarkWyrm
69e09bebe2 Cursor is initially displayed at the proper position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 01:42:11 +00:00
DarkWyrm
ce2891d251 Properly implemented StrokeRoundRect
FillRoundRect still not implemented, but draws a roundrect now
Removed a crash when cursor is partly off right or bottom edge of screen
New mouse input emulation code works *great*
BlitBitmap needs some tweaking in the clipping code - redraw bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 01:35:29 +00:00
Phil Greenway
f13a07f594 Added Audio Mixer View with Controls - how easy was that ;)
Still have troubles with OutlineView :( Might have to override it and sub-class my own. In two minds about this atm.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 00:09:53 +00:00
Ingo Weinhold
fdb95f3aeb Added the new classes needed for the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:56:52 +00:00
Ingo Weinhold
24f179d905 Commented out the DiskScannerAddOn class. It will be of no use until the whole DiskDevice API goes into libopenbeos.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:56:00 +00:00
Ingo Weinhold
fd57a94634 Changed the parameters of the CreateEditor() methods and added a EditingDone() method to the editor class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:54:31 +00:00
Ingo Weinhold
366ab0c1a5 Added TODO item.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:52 +00:00
Ingo Weinhold
c3815c8e89 Started with the implementation of partitioning support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:15 +00:00
Ingo Weinhold
1a10cbe033 Removed the method for getting a FS add-on list. Changed the dialogCenter parameter for the partition methods from BPoint to BRect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:51:33 +00:00
Ingo Weinhold
6ba9af5a46 Added public and private methods for dealing with partition and FS add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:50:14 +00:00
Ingo Weinhold
8b56dae30c The beginning of the partitioning dialog. Well, the very beginning. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:48:06 +00:00
Ingo Weinhold
32de23c976 Helper class: Represents a loaded add-on image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:46:59 +00:00
Philippe Houdoin
dee42ee0e9 Very little visual fixes: make these prefs apps's windows panel looking
as belevel as original ones (hint: BBox with B_PLAIN_BORDER flag).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:42:41 +00:00
DarkWyrm
eee27b42ec Debugged cursor handling code. AFAICT it works properly
Retooled ScreenDriver mouse emu code - polls the mouse now.
Added mouse wheel support to ScreenDriver and ViewDriver emu code
AppServer handles mouse wheel messages now
Partially documented ScreenDriver code with DisplayDriver docs
Added ViewDriver::FillPolygon
Server has reached same functionality as prototype #3


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 20:23:22 +00:00
Phil Greenway
a43d640a6c Just more updates ... working on getting Pictures on the OutlineView.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 15:23:33 +00:00
Phil Greenway
f12fd5c399 Just starting to add basic widgets to the GUI.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 15:08:26 +00:00
Phil Greenway
202852b69f Updated with Resource file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 10:19:12 +00:00
Phil Greenway
6ea309f4e4 Updated the Jam file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 09:45:08 +00:00
Phil Greenway
e0c1abb912 Old Media Stuff - will still be used - the slider looks nice ;)
Just putting this code aside for the meantime.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 05:04:59 +00:00
Phil Greenway
4fcc31827d New Media (Mixer) application by Sikosis (beos@gravity24hr.com)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 05:03:15 +00:00
Ingo Weinhold
e13a428ed3 Added macro definition for use of a BeOS compatible BSlider header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-21 23:24:38 +00:00
Axel Dörfler
43604406d8 Added a new call vfs_new_vnode() which can be used when a new vnode is created
but doesn't have to be read from disk for efficiency reasons.
Fixed a bug in get_vnode() in case of fs->get_vnode() returns an error of some
kind.
fs_mount() no longer hides the return code from the fs->mount() function anymore (for now).
Added some comments and ToDo items.
Changed some return error values to the B_xxx style (will probably need to define
some new error codes for OpenBeOS).
Changed some return types to status_t/void where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-21 13:49:26 +00:00
DarkWyrm
a8224b9257 Added CursorManager and BitmapManager to startup procedures
Work on cursor support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 20:14:57 +00:00
DarkWyrm
e9318266f9 Finished Desktop functions and associated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 18:05:35 +00:00
DarkWyrm
0258e5900f Implemented more desktop functions
ServerWindow API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 13:13:01 +00:00
Ingo Weinhold
4128579144 Added CodyCam to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:42:49 +00:00
Ingo Weinhold
f8f06ba5cc Fixed Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:42:25 +00:00
Ingo Weinhold
0ebea41272 No need for this file here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:41:57 +00:00
Phil Greenway
7a37831054 Sorry Incorrectly CVSed here. Has now been placed in apps
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 05:05:44 +00:00
Phil Greenway
34e813394b Sorry
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 04:49:11 +00:00
Phil Greenway
dba5824b7c CodyCam from the BeOS Sample Code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 04:44:21 +00:00
Phil Greenway
81a3f1195a Adding the Jamfile. I hope it's correct. This is my first ever jam file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 03:40:51 +00:00
Phil Greenway
be9a82893a CodyCam from the BeOS Sample Code License
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 03:05:31 +00:00
Matthew Wilber
8c714454f0 JasPer library base headers, for JPEG2000 Translator contributed by Shard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 02:58:14 +00:00
Matthew Wilber
824f2204d0 JasPer JPEG2000 library files, initial check in, JPEG2000Translator contributed by Shard,
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 02:56:45 +00:00
Matthew Wilber
a3ecdde295 initial check in, JPEG2000Translator contributed by Shard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 02:54:47 +00:00
Matthew Wilber
48063caa16 added the jpeg2000translator directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 02:50:59 +00:00
DarkWyrm
028f9f9235 Minor tweak to hide/show tracking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:59:41 +00:00
Ingo Weinhold
73574809d0 Added BDiskDeviceList and test it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:26:00 +00:00
Ingo Weinhold
de9b715306 Remove debugging output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:25:25 +00:00
Ingo Weinhold
7a5ee334ba Removed debugging output and comment changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:24:36 +00:00
Ingo Weinhold
15b1caa428 Added missing B_DATA_SESSION flag for virtual sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:23:05 +00:00
Ingo Weinhold
4a841e49e7 Added class BDiskDeviceList.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:20:36 +00:00
Michael Pfeiffer
a0d17a8c82 Forgot @ infront of PJL ENTER LANGUAGE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 18:44:16 +00:00
Michael Pfeiffer
8c07bb39f8 For PCL5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 18:09:39 +00:00
Michael Pfeiffer
26ca4c1f79 Wrong directory!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 18:06:49 +00:00
Michael Pfeiffer
2dec20508d Implemented dumb PostScript printer driver (monochrome and color).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 18:00:31 +00:00
Michael Pfeiffer
3bfe34e2b1 Implemented PCL6 printer driver (untested, monochrome only).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 17:59:06 +00:00
Michael Pfeiffer
7f226d991c Added ColorCap monochrome only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 17:52:58 +00:00
Michael Pfeiffer
924b4f90f0 Removed SurfaceCap, added ColorCap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 17:52:12 +00:00
Michael Pfeiffer
d68992bc82 Added class SpoolMetaData to retrieve info from spool file attributes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 17:51:53 +00:00
Michael Pfeiffer
704abf5667 Added pcl6 and postscript
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 17:51:19 +00:00
Phil Greenway
6bab0735ae Little fixes. Added Alerts instead of nothing. Working on Connection area.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-19 12:18:15 +00:00
Michael Phipps
ccbd79a87e Update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 23:56:53 +00:00
Ingo Weinhold
295fcc8865 Removed some debug info. Changes due to the removal of the extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:33:23 +00:00
Ingo Weinhold
0f008a1f78 The B_DATA_SESSION flag needs to be set for data sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:31:40 +00:00
Ingo Weinhold
0e9c99c704 Does now properly deal with audio sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:50 +00:00
Ingo Weinhold
e878875e0b Changes due to the removal of the extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:07 +00:00
Phil Greenway
6c5152082b Network Prefs tidied up by Elliot Rosenberger (elliotro@myrealbox.com)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 01:24:55 +00:00
shadow303
9c2c646bdb Add optional driver test.
Fix FillRoundRect.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 22:36:05 +00:00
shadow303
b7772bd6d4 Fix handling of DISPLAYDRIVER
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 22:23:52 +00:00
Ingo Weinhold
6ef929c392 Merged in changes from vanilla fixes branch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:29:44 +00:00
Ingo Weinhold
885189c0b3 Removed the kernel module from the built for now. It can't be used with the R5 kernel anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:10:27 +00:00
Ingo Weinhold
cf838755a9 Added rc to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:01:09 +00:00
DarkWyrm
7d4ea3a3a3 Documented some more files
ScreenDriver's Get methods return proper values
Server with ViewDriver now operates as well as prototype 3


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 16:24:27 +00:00
DarkWyrm
bfc47a9d3b Tweaked API to fix a related crash
ViewDriver's Get methods return proper values


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 15:02:38 +00:00
Tyler Dauwalder
121b19e599 Updated cdrom.c => cdrom.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:59:05 +00:00
Tyler Dauwalder
81c9875a20 - Renamed from cdrom.c
- Almost completely new, more robust cdrom session module.
  Should handle data and audio sessions correctly in almost
  every case, now (certain things like Video CDs are still not
  handled in a 100% desirable fashion).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:58:33 +00:00
Tyler Dauwalder
4f5527b356 Renamed to cdrom.cpp; hooray for C++! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:55:38 +00:00
Ingo Weinhold
be9c961f2b Added definition of macro for R5 backwards compatibility (needed for our BSlider header).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:53:03 +00:00
Ingo Weinhold
b816dc1ec6 BDirectWindow defined new reserved virtual slots and left out virtuals defined by the R5 counterpart, which made it binary incompatible. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:46:02 +00:00
Ingo Weinhold
c2257230d6 Our <RosterPrivate.h> must not be included when compiling for R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:00:37 +00:00
Ingo Weinhold
e5b24fc152 Mmh, the file didn't compile. I wonder, when I introduced this problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 22:59:13 +00:00
Ingo Weinhold
45a89df921 BDiskDevice::Eject() and GetName() are used now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:09:26 +00:00
Ingo Weinhold
f679e95b10 Some fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:08:44 +00:00
Ingo Weinhold
aa905a66a1 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:07:51 +00:00
Ingo Weinhold
686968fb35 * Added support for updating.
* Implemented BDiskDevice::Eject() and GetName().
* Added a private support function for getting a messenger targeting the
  DiskDeviceManager in the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:07:23 +00:00
mahlzeit
285c7c7335 Import of rc and librdef 1.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 15:18:36 +00:00
Ingo Weinhold
5c905a2f6a Added missing newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:11:18 +00:00
Ingo Weinhold
7319572398 Re-added BString to the built.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:10:14 +00:00
DarkWyrm
2939a1dcc8 Added license to a number of files
More work on Desktop and DesktopClasses
minor API tweak to DisplayDriver
Added conditional compilation stuff to AppServer.cpp for debugging purposes
TokenHandler now uses BLockers instead of semaphores for locking
Can now run the server and see something


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 15:28:22 +00:00
Matthew Wilber
ade5705f88 ILG JPEG library, modified by Shard for the JPEGTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 15:09:33 +00:00
Matthew Wilber
1d97f2e234 JPEGTranslator - written by Shard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 15:06:44 +00:00
Matthew Wilber
1ed64d8a1f added jpegtranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 15:03:22 +00:00
Ingo Weinhold
875f291891 Recognizes all notification messages now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:16:34 +00:00
Ingo Weinhold
483bea6e79 Completed support for updates and notifications.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:15:20 +00:00
Ingo Weinhold
bd68efa667 Removed BString from the build. It is broken.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:14:08 +00:00
Ingo Weinhold
de1a825ec8 Added missing file AppServerLink.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:13:31 +00:00
DarkWyrm
3469d49d54 Implemented new_decorator()
Documented most Desktop functions and implemented some of them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 11:04:01 +00:00
DarkWyrm
2a4228b556 Stubbed out WinBorder class
Uncommented code in other files dependent on WinBorder


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 01:53:53 +00:00
Matthew Wilber
c8e261ddfa Added some comments, corrected existing comments and changed the output capability of the TGATranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 01:36:09 +00:00
DarkWyrm
ae01fc9b49 Added default (fallback) decorator. Currently based on the OBOS decorator, but this will change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-13 02:13:55 +00:00
DarkWyrm
fde0b388cc Imported BitmapManager code. Not documented yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-13 00:03:31 +00:00
shadow303
88bc465e5c Add documentation. Implement some of the Screen class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 23:24:48 +00:00
shadow303
9512339a6f Implement FillPolygon. Remove some old junk.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 23:21:12 +00:00
DarkWyrm
d529723048 Added skeleton for desktop management classes
Implemented parts of desktop management functions in Desktop.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 11:24:26 +00:00
DarkWyrm
6e4bef603f More code written on ServerWindow
Added skeleton of new_decorator()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 01:11:55 +00:00
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
Axel Dörfler
26dade365a Added the _single_threaded global variable as it is needed by the std I/O
implementation in BeOS.
(spawn_thread() will change the value later, but that will come with the whole
stdio implemenation (as it would now print out a warning))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:51:49 +00:00
Axel Dörfler
bdd1c86cbb Added a newline and made the B_ error codes more prominent (removing the POSIX
and NewOS error codes, kept the former as comments).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:49:58 +00:00
Axel Dörfler
7acdf0be55 Made the load_driver_symbols() prototype equivalent to the KernelExport.h
header (where Philippe added it again temporarily).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:34:12 +00:00
Axel Dörfler
6f7be67a0f Removed references to the load_driver_symbols() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:32:08 +00:00
Stefano Ceccherini
1783edd55c Added a big patch from Oliver Tappe. BString now is much faster when it has to deal with very long strings. Thanks Oliver. Fixed the (in)famous LockBuffer(0)->UnlockBuffer(-1) R5 bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:16:18 +00:00
Stefano Ceccherini
4db3797f17 Some more tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:14: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
Ingo Weinhold
7c44680a36 Renamed the private virtual slots back to their original (R5) names. We would break binary compatibility otherwise, or at least had to do some additional work to maintain nevertheless.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 18:17:25 +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
77d6501f22 Added notification tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:24:51 +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
c947b11347 Implemented {Start,Stop}Watching().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:21:42 +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
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
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
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
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
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
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
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
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
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
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
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
Ingo Weinhold
42941d8728 Source files for intel partition add-on added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:23:43 +00:00
Ingo Weinhold
066d69dad4 The beginning of partitioning support:
* Added functionality to convert a PartitionMap to a string and vice versa.
* get_partitioning_parameters() implemented, but not tested.
* The code also needed by the GUI add-on now lives in separate files.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:22:54 +00:00
Michael Pfeiffer
59ec2bb9e7 Added pcl5 compatible printer driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 22:07:32 +00:00
Michael Pfeiffer
987f2a6d7c Implemented PCL5 printer driver using Y. Takagis excellent libprint.
Color printing not supported yet!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 22:07:23 +00:00
Michael Pfeiffer
68eea8f694 Moved PackBits.* from directory ../lips4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 22:05:49 +00:00
Michael Pfeiffer
92c43cf25c Moved PackBits.* to directory ../libprint
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 22:05:10 +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
Axel Dörfler
74eff974c5 Fixed a variable misnamer I introduced earlier (team -> threadID).
Added a SIGNAL_TO_MASK() macro.
Removed the useless disable_interrupts() call in set_alarm().
More cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:55:57 +00:00
Axel Dörfler
868dc95975 Makes use of the new daemon_hook typedef.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:53:10 +00:00
Axel Dörfler
ec7567030b load_driver_symbols() is no longer part of the public API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:51:46 +00:00
Axel Dörfler
2760fd9495 Renamed resched() to scheduler_reschedule().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 04:01:28 +00:00
Axel Dörfler
4b2d22c03e Fixed userland snooze() implementation, snooze_etc() is now also exported (as
required by the Be API).
Removed all posix signal functionality from the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:19:18 +00:00
Axel Dörfler
88b64a6feb Big cleanup.
Now directly exports (as is, most of) the kernel thread API.
Now has user_*() functions where needed.
Moved thread_set_priority() from scheduler.c to set_thread_priority().
Renamed thread_wait_on_thread() to wait_for_thread().
user_get_thread_info() now uses user_strlcpy() instead of user_strncpy().
Fixed the snooze() implementation - it now returns B_OK where appropriate. Now all snooze()
calls will call snooze_etc().
New private call spawn_kernel_thread_etc() to replace thread_create_kernel_thread_etc().
Moved some functions around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:17:36 +00:00
Axel Dörfler
b848af2071 Greatly cleaned up the source.
Fixed a bug in sigaction(): it would have crashed with act/oact == NULL (which
is perfectly legal).
Now directly exports the kernel API.
Now has user_*() calls where needed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:11:45 +00:00
Axel Dörfler
6d8aafc66e Added comments to sys_(get|put)env() - please remove them from the kernel.
Renamed team_wait_on_team() to wait_for_team() (more BeOS-alike).
Adapted to other changes (new thread functions).
Cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:09:33 +00:00
Axel Dörfler
dba0db7fbe Fixed all the broken signal stuff. Now correctly calls the user_*() function,
and don't have any functionality at this place.
Added new syscall for set_thread_priority().
Some other changes due to cleanup.
Fixed userland snooze() call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:07:30 +00:00
Axel Dörfler
2e7d51f89b Updated due to the changes in scheduler.c (resched() -> scheduler_reschedule(),
thread_enqueue_run_q() -> scheduler_enqueue_in_run_queue()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:05:09 +00:00
Axel Dörfler
c333b5aa8e Replaced the standard thread functions with a BeOS compatible set.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:02:24 +00:00
Axel Dörfler
51cc35a759 Cleaned up the source, rearranged some functions. Now exported functions
have the scheduler_ prefix instead of thread_.
Moved thread_set_priority() back to thread.c where it belongs to.
Added new function to remove a thread from the run queue.
Renamed run_q to gRunQueue.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 03:01:35 +00:00
Axel Dörfler
8ccc1ad67d mutex_lock() now prints out the semaphore ID if it panics.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:58:17 +00:00
Axel Dörfler
fe8ffea9f4 Removed the kernel_posix_signal.o file - it's not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:55:34 +00:00
Axel Dörfler
dc7fb22c07 Forgot to resume the kernel_daemon thread.
Actually never unlocked the daemon's lock (always called mutex_lock() instead
of mutex_unlock()...).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:02:20 +00:00
Axel Dörfler
429578fb0b Team/image stuff now uses lists instead of kqueues.
The kernel_daemon now utilizes the updated list API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:31:38 +00:00
Axel Dörfler
878c4156af Added two convenience functions: list_add_item(), list_remove_item().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:30:53 +00:00
Ingo Weinhold
f451c48d3b Rewrote large parts. It's now in nice C++ and should be easier to be extended (partitioning support). Added a lot more checking. Now the module refuse everything that has incorrect partition tables. The BeOS R5 CD is handled correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 22:21:55 +00:00
DarkWyrm
16b0d71f0b Added FTSmooth patch by David Chester
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 21:36:27 +00:00
Axel Dörfler
28bf3daa5d Implemented the kernel daemon service. It's not yet tested, but should be
equally inaccurate as the BeOS R5 version :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 17:31:33 +00:00
Ingo Weinhold
8bb94d272f Renamed intel.c to intel.cpp. Real C++ coming soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:23:25 +00:00
Ingo Weinhold
3f449331f4 Commented out the rules for generating a R5 kernel module. We can't use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:21:58 +00:00
Ingo Weinhold
9d192d5917 Added partitionMapName parameter to get_nth_partition_info(). Added the new fields to the output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:14:59 +00:00
Ingo Weinhold
cd34fb229b Fill in the file_system_flags field recently added to extended_partition_info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:12:07 +00:00
Ingo Weinhold
f8ab0724d6 * The partition modules have a short_name field now instead of the
identify_module() hook.
* get_nth_session_module() returns the name of the partition module.
* There is no special handling for CDs anymore. The session modules are
  tried on any device now.
* Fixed a bug in get_buffer() causing a crash when reading from disk
  failed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:10:45 +00:00
Ingo Weinhold
0b1ab795f4 Got rid of the module_identify() hook. Instead the module info features a short_name field now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:06:23 +00:00
Ingo Weinhold
38f832c7eb Removed Identifier() and FileSystem() methods. ShortName() shall return the respective identifier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:03:48 +00:00
Tyler Dauwalder
6d936c5f11 Quick fix to ignore incorrect audio track labels in toc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-25 19:32:25 +00:00
Tyler Dauwalder
ee072b68f7 Now handles "sessions" with multiple "tracks" correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-25 09:16:32 +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
Michael Phipps
556632b760 bug fixes found as a resule of testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 05:41:40 +00:00
Michael Phipps
cd5053c617 More tests to round out (for now) createArea
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 05:41:10 +00:00
Marc Flerackers
f81711e0de Added the virtual function BSlider::SetLimits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 15:35:12 +00:00
Marc Flerackers
8ce46bc32b Lots of fixes, geometry calculations updated, added buffered BSlider support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 15:11:19 +00:00
Marc Flerackers
ac6f7aa850 Lots of fixes, geometry calculations updated, added buffered BSlider support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 14:55:18 +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
Stefano Ceccherini
2d4125b748 this should be the definitive (excluded bugfixes) implementation of BBufferIO. Buffered write should work fine, as buffered read did.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:40:56 +00:00
Michael Pfeiffer
4092c70e5f Added copyright text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 06:58:58 +00:00
Michael Pfeiffer
7af3c68cbf Return success if print to file dialog has been canceled (so that print_server will delete spool file).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 06:50:50 +00:00
Axel Dörfler
822ea83244 list_add_link_to_tail() didn't work correctly.
Applied fixes by notion: removed two redundant if-statements, replaced
(link *)list with &list->link.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-21 23:43:13 +00:00
Stefano Ceccherini
d376996084 Added doxygen style comments. Fixed a bug in open() return value. The class still doesn't work as it should.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-21 19:34:45 +00:00
Michael Phipps
f5b024fb5d Slight changes/bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-21 02:45:14 +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
Axel Dörfler
6fa8ddedd0 Added a gcc compilable MBR code - borrowed from FreeBSD. For later use with
the writembr utility (I was just too lazy to make it build right now).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 15:17:19 +00:00
Axel Dörfler
d499baecf3 Added a comment about from where to start that application.
If get_nth_partition/session_info() returns with anything else than a
B_ENTRY_NOT_FOUND, an error message is printed out.
The device name can now be specified on the command line, added shortcuts
to identify a particular device, i.e. "cd-1-slave" or "slave1-cd" or
"1-atapi-slave" would be expanded to /dev/disk/ide/atapi/1/slave/0/raw.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 08:59:04 +00:00
beveloper
7fd432700b Updated time source code to allow automatic starting and stopping of time sources.
Sending run mode changes and broadcasting of time changes is also implemented.
For one reason or another, all this doesn't work right now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 01:11:15 +00:00
Ingo Weinhold
f0272f00b0 Added functions for partitioning and FS initialization. The latter ones have empty implementation though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:06:30 +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
Ingo Weinhold
8672a4b33c Added DiskScannerAddOn.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:55 +00:00
Ingo Weinhold
0f302e0df8 Added hooks relevant for partitioning. Empty implementation though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:26 +00:00
Ingo Weinhold
97f9cd98b8 get_buffer() has been changed to use partition-relative offsets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:03:44 +00:00
Ingo Weinhold
54641967ec Added partitioning support. Changed get_buffer() to use partition-relative offsets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:02:45 +00:00
Ingo Weinhold
dc36805868 Added disk_scanner subdir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:30 +00:00
Ingo Weinhold
19aa105f7b Added the place for userland GUI settings disk_scanner add-ons. The empty Jamfiles basically.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:52:52 +00:00
Ingo Weinhold
89b1309d57 This is the (first draft of the) API for userland GUI settings disk_scanner add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:50:20 +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
Michael Phipps
d89abe1f52 Added more mmap tests, and a file indicating what tests are yet to be done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 03:00:31 +00:00
Ingo Weinhold
a0e033784d Adjusted according to the disk_scanner module hook signature changes. Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:22:12 +00:00
Ingo Weinhold
6e2c8a42b5 Adjusted to retrieve disk blocks via the new callback.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:20:54 +00:00
Ingo Weinhold
dafa158b38 Added parameter to the get_nth_*_info() hooks and implemented simple caching used for the FS modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:19:52 +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
0799220cc3 Color Utilities for app_server and general use added to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 19:47:59 +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
Axel Dörfler
5369f0dd55 Now returns descriptive error messages if something went wrong.
Also fixed an almost bug that only catched B_BAD_TEAM_ID error codes from
get_team_info() (bad style).
Made it a bit more style guide compliant.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:34:09 +00:00
Axel Dörfler
481ce84e6c A very basic node monitoring test - directly uses the kernel calls (since
there is no libbe.so yet).
Doesn't even query the port; just causes send_notification() in the kernel
to be called which will print out some info.
Added to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:20:05 +00:00
Axel Dörfler
32a301820f Added node monitor syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:18:04 +00:00
Axel Dörfler
8177f89fd1 Added list.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:16:44 +00:00
Axel Dörfler
8cd0fe6e99 Added new doubly-linked list implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:15:20 +00:00
Axel Dörfler
5afbd29256 Added new files to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:14:07 +00:00
Axel Dörfler
457f7be6f9 Now uses the new list primitive instead of its own implementation (for linking
the vnodes of a mount structure).
Removed stubs for send_notification() and notify_listener() (they are now located
in message.c and node_monitor.c).
Added support for the node monitoring service.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:13:44 +00:00
Axel Dörfler
a7d654ad0a Added almost complete node monitor implementation - support for watching mounts/
unmounts is not yet implemented.
Added an empty implementation for send_notification() - the function that is
(or will be) able to send out BMessages from within the kernel; currently
just prints out what should be done.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:11:02 +00:00
Daniel Reinhold
d73534e172 added scanf() to stdio
(very curious that this was not already in there!)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 09:29:44 +00:00
Michael Pfeiffer
d3a6f099e2 Changed licence to MIT license with permission given by Ithamar R. Adema.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 18:40:51 +00:00
Stefano Ceccherini
51ee67dc8f Fixed an obvious bug, simplified a bit the code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:32:09 +00:00
Stefano Ceccherini
089f7debba Implemented buffered read in BBufferIO class, and added it to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:17:41 +00:00
Tyler Dauwalder
3ce31492e5 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"
+ Added some more comments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:23:39 +00:00
Tyler Dauwalder
f9c2a2a243 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:22:35 +00:00
Michael Phipps
6c18c9fa14 Small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 01:40:36 +00:00
Michael Phipps
fa0e80da02 Small fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 00:54:52 +00:00
Michael Pfeiffer
290886ec7c Test to see if cvs works for "larger" files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 14:32:04 +00:00
Michael Pfeiffer
ecf43bd407 CVS works now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 13:31:19 +00:00
Michael Pfeiffer
0644a69750 Test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 13:30:42 +00:00
Philippe Houdoin
51a153f559 Remove including print transport add-ons shared code depency from "Print To File"
and "Parallel Port" build, as they both don't need it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 10:56:55 +00:00
Philippe Houdoin
0c9d8c33dc Add Michael Pfeiffer's "Parallel Port" print transport add-on code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 10:45:47 +00:00
Philippe Houdoin
670fe10319 Fix, on behalf of Michael Pfeiffer, Preview broken Jamfile rule which was still
referencing PictureIterator.cpp & co, now build in libprint.a


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:52:32 +00:00
Tyler Dauwalder
e3e6d2db88 + Finished up cdrom session module
+ Fixed volume name bug in iso9660 module
+ Added licenses


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:26:22 +00:00
beveloper
319b1b3085 removed compile errors and functionality!
do not use this app.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-15 22:17:43 +00:00
Philippe Houdoin
75218d4299 Now follow SymLinked add-ons too.
Fix a bug when a module didn't init successfully.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 21:42:35 +00:00
Philippe Houdoin
a205eafe00 Let's add an icon to our net_server...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 21:41:03 +00:00
Axel Dörfler
4530a79f4f Forgot a return value in remove_images().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 16:37:47 +00:00
Axel Dörfler
81ff593b02 Added .fini section to the ld scripts.
Fixed a bug that asked ld to discard the .dtors section.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 11:28:36 +00:00
Axel Dörfler
4f8cebc925 Fixes the build of rld.so, removed unneeded entries in librld.a.
libglue(2).so are now using the new startup code.
libroot.so now statically links against libgcc.a for now (to be able to load
BeOS executables).
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 11:25:52 +00:00
Axel Dörfler
b8000952ca Implemented BeOS compatible startup code.
This has almost the same layout as in BeOS - the only difference is crt0.o which
is what is usually provided by crti.o/crtbegin.o/crtend.o/crtn.o. When we want to
move to GCC's crtbegin/end code, we have to introduce crti.o and crtn.o. This is
required because the crtbegin/end stuff assumes to be inserted between a function
start (crti.o) and a function end (crtn.o) - which can only be achieved with assembly,
and is therefore platform dependent.
start_dyn.c is used for executables and calls main() (among other).
init_term_dyn.c functions are called from the .init/.fini sections and search
for B_INIT/TERM_BEFORE/AFTER_FUNCTION_NAME, and execute them if they are present.
Both use BeOS compatible call scheme but add parameters to the end.
lib0.c is no longer needed, because init_term.c/crt0.c replace its functionality.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 11:18:01 +00:00
Axel Dörfler
f4c8b1eb40 Added support for BeOS executables, and the .init/.fini sections.
Note, the _start() function is now called with 4 parameters, because BeOS
requires the first three (the fourth isn't used in BeOS executables).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 11:08:18 +00:00
Axel Dörfler
dd6f547c66 Moved "__progname" from startup code to libroot_init.c (because BeOS start_dyn.o
doesn't export it), initialization has also moved to initialize_before().
Added BeOS compatibility stubs to allow execution of BeOS native apps - added
comments to every function; some of them might be removed later on again.
Also moved "environ" to posix/stdlib/env.c for the same reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 10:50:14 +00:00
Michael Pfeiffer
79607811ca Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 07:11:27 +00:00
Michael Pfeiffer
30cd0762c8 Simplified user interface for selection of link border, bookmarks and cross references definition file.
Added ability to close status window automatically after PDF generation.
Added button to advanced settings window to open the settings folder in Tracker.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 07:03:35 +00:00
Michael Pfeiffer
f174b73224 Use filled pathes for patterns instead of images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 07:03:22 +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
Axel Dörfler
75b2a820de Updated to be a bit more BeOS compatible (now calls B_INIT_BEFORE/AFTER_FUNCTION_NAME
instead of "INIT_BEFORE/AFTER_CTORS".
Uses the new runtime linker exports.
Note, this is not yet BeOS compatible (will need to have init/fini sections)!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 17:22:45 +00:00
Axel Dörfler
e6e5ebbc10 Added a comment about the "non-thread-safety" of gStatus (dlerror()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 17:16:20 +00:00
Axel Dörfler
7dce97278f Implemented the unix dlfcn API; note, the RTLD_xxx modes are not yet supported
by the loader. dlerror() is not thread-safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 17:15:17 +00:00
Axel Dörfler
eadb1c453a Now calls the __init__image() initializer function.
INIT_BEFORE_CTORS() is now called initialize_before() to be compatible
with BeOS start_dyn.o.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 17:13:32 +00:00
Axel Dörfler
f9f3e26e3c Implemented the complete BeOS image API, added kernel image API syscalls,
added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 17:11:53 +00:00
Axel Dörfler
0c79589d60 First set of changes to have a BeOS compatible runtime loader.
Added a simple locking strategy to the loader (didn't do any locking before),
it now uses a global recursive lock for the exported API.
Implemented all needed functionality for the BeOS image API.
Now registers images with the kernel.
Added several ToDo items.
Cleanups, and possibly more I've forgotten about.
(hope this works since the local diff does not?!)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:59:18 +00:00
Axel Dörfler
077020137d Just cleanups, commented out unused code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:54:38 +00:00
Axel Dörfler
2a2cf1b8f5 Just some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:53:36 +00:00
Axel Dörfler
9bbbc67386 Removed the export prototypes - this is now completely done in rldexport.c.
Now more dynmodule_id; it now uses the image_id directly.
Updated for the other changes to the functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:51:15 +00:00
Axel Dörfler
24154245f1 Fixed a comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:48:48 +00:00
Axel Dörfler
f351df0829 Moved export stuff to rldexport.c, rldexport_init() is now also called.
Cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:48:09 +00:00
Axel Dörfler
0119ceeb8e Implemented the runtime linker export API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:37:40 +00:00
Axel Dörfler
2700a953b9 Removed rldunix.c and rldbeos.c as they are no longer needed.
The runtime linker now exports the API in rldexport.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:32:30 +00:00
Axel Dörfler
1da55179ee thread_exit() now removes the registered images when the team goes down.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:30:09 +00:00
Axel Dörfler
c8019cad42 Added support for the image queue in the team structure.
Adapted because of changing structure names (struct uspace_program_args).
Added comments, fill_team_info() now sets the team_info.image_count correctly.
Some cleanups and style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:29:28 +00:00
Axel Dörfler
75dccdb63c Added the image API syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:27:03 +00:00
Axel Dörfler
598e865517 Added image.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:26:39 +00:00
Axel Dörfler
515a4a6590 Implementation of the kernel part of the image API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 15:58:08 +00:00
Ingo Weinhold
4a05764e4b Some smaller changes concerning the scanning of the settings file to make it behave more like BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 14:42:09 +00:00
Matthew Wilber
bb87c791cb Cleaned up a few little things
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 15:56:02 +00:00
Matthew Wilber
755ac1744b Changes made due to renaming of R4xTranslator to FuncTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 13:56:45 +00:00
Matthew Wilber
27aa9660b3 renamed R4xTranslator.cpp to FuncTranslator.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 13:55:35 +00:00