Commit Graph

3415 Commits

Author SHA1 Message Date
Matthew Wilber
8ec8ccef8e added constructor test where bitmap is passed, changed to use typedef when added tests to the suite to clean things up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:30:11 +00:00
Axel Dörfler
a476bfc5b1 Now waits for a whole second on the inode to become unbusy - just in case
there is a slow drive. Note, if the system is heavily used and the thread
waiting for the inode to become unbusy is a real time thread, that time
might be not enough - don't have a better solution at hand though (other
than waiting even longer).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:40:14 +00:00
Axel Dörfler
3cfd8472f9 Fixed the ominous "new_vnode() already exists with different cookie" bug,
thanks to Bruno for pointing me in the right direction (that has probably cost
him several hours of his life ;-))!
Yes, it was that complicated to fix it...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:36:23 +00:00
Matthew Wilber
96a13ed121 added checking for memory allocation failure in MakeConfigurationView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 18:07:29 +00:00
Matthew Wilber
d7be1587b7 initial check in for stxtinfo, a command line program to display information about Be styled text data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:55:27 +00:00
Matthew Wilber
8ceceb19ed added stxtinfo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:53:26 +00:00
beveloper
8394328625 lots of boring comparisons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:44:28 +00:00
Matthew Wilber
fd6e40cd0e added GetConfigurationMessage test and removed an entry for a test file that doesn't exist
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:38:27 +00:00
beveloper
21871f384e various bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:58:06 +00:00
beveloper
a4289a95c0 fixed initialization, added debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:52 +00:00
beveloper
5b4256ce42 removed debugging code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:05 +00:00
Matthew Wilber
bedcc99335 added GetConfigurationMessage test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 03:26:49 +00:00
Axel Dörfler
b807dfb5b1 Updated the help text for "startquery" & "stopquery" to match reality better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:19:06 +00:00
Axel Dörfler
6e14268838 The kernel now has support for setting port&token of a query.
The fs_shell is now able to start up to 10 concurrent live queries. Use
"stopquery" to stop them all or just one of them, "startquery" to initiate
one, and "lsquery" to display them all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:16:54 +00:00
Axel Dörfler
b0ff9520c0 The Jamfile now compiles with -fcheck-memory if MALLOC_DEBUG is set. Of course,
jam itself will also be checked then, which cries out loud for a better way to
do this. But hey, it works :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:14:03 +00:00
Axel Dörfler
470a60786e Updated the ToDo list; thanks to Ingo I know now a little bit more about
float/double queries :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:51:19 +00:00
Axel Dörfler
6ac535c5c5 Fixed another bad bug in the block allocator: the size of the last block
of the block bitmap could be computed wrong - this could cause all sorts
of errors like: overwriting data, creating the "new_vnode with different
cookie" problem, etc.
Should really be the last bug in that piece of code ;-P


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:50:34 +00:00
Axel Dörfler
e1d37632bb Now takes changed function of Index::Update() into account - queries on
non-indexed attributes now finally work as they should.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:47:06 +00:00
Axel Dörfler
ab47860c37 Index::SetTo() now sets fName even if the index initialization failed (for
whatever reason).
Index::Update() is now allowed to be called for those indices - in this case
it will just update all live queries.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:45:09 +00:00
Axel Dörfler
09ed3db89a Some minor style changes/clean ups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:43:14 +00:00
ejakowatz
18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +00:00
Philippe Houdoin
1a3b3db436 Fix some typo in BUILD note.
Update headers to reflect the net_data* -> net_buffer* move


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:34:13 +00:00
Philippe Houdoin
82238517b4 net_data -> net_buffer update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:29:28 +00:00
Philippe Houdoin
5a52a89c28 net_data* -> net_buffer*
Remove some debug traces


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:27:18 +00:00
Philippe Houdoin
0a936c017d net_data* -> net_buffer*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:23:37 +00:00
Philippe Houdoin
d5b2863194 Rename net_data into net_buffer, which make more sense.
Add read_buffer() and write_buffer() to access/modify net_buffer data chunks.
Add a split_buffer() function, that will split at a specified offset. To be implemented.
Remove append_buffer(), prepend_buffer() and insert_buffer(), replace by all-purpose
add_to_buffer().
Rename remove_buffer() into remove_from_buffer(), to opposite add_to_buffer()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:22:39 +00:00
beveloper
4f09fa2ff1 various small bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 23:59:16 +00:00
beveloper
359ac30644 Added automatic loading of physical input and output nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 21:16:53 +00:00
Axel Dörfler
917d37106e The startquery command now stops an eventually running query (which now
makes several live queries at once impossible :-).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:59:47 +00:00
Axel Dörfler
a1fe805b79 new_vnode() now complains if the vnode already exists (and panics with when
it has a different data set).
Improved the kernel's PANIC() function (now accepts varargs).
sys_open_query() now has a flags field (that can be set to B_LIVE_QUERY).
The fs_shell now supports one live query; might be enhanced later to support
more than just one (concurrently).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:56:03 +00:00
Matthew Wilber
8e2f0a9a0a added checking and printing of magic number, printing of bounding rectangle, changed member names to be more descriptive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:44:28 +00:00
Matthew Wilber
3650ecf0a6 added more Translate testing, added tests with RLE compression on and off using a BMessage to specify which option, added tests translating from "bits" to TGA
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:28 +00:00
beveloper
b74540ee0d The video demo node is not a physical input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:11 +00:00
beveloper
e02a6254fc Removed connecting to soundcard, since the node is not registered
with the media_server inside the AutoStart() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:31:47 +00:00
Matthew Wilber
c30acb53ce fix for the segment violation that is caused when the system color map is unavailable and set deleted pointers to NULL just to be safe
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:18:38 +00:00
Matthew Wilber
4409942491 added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber
610eca212f initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber
069801512a initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber
a5c45f9618 initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber
4e2b1a4594 added translation subdirectory for tools used in developing translators
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
beveloper
c9c07d8183 The audio mixer is now started automatically by the media kit.
It will connect itself to the default audio output.
Memory leaks removed.
Code cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:52:34 +00:00
Matthew Wilber
c9088353af removed old tests (many of which didn't work) and replaced many of them with better, cleaner tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:09:06 +00:00
Matthew Wilber
f3aa49b1b1 improved performance of CompareFiles function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:03:40 +00:00
Matthew Wilber
9edca8f79e added more checking for corrupt headers, reduced code redundancy, made a number of small tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:02:19 +00:00
beveloper
c12232ddb5 added detection and loading of default inputs and outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 20:33:52 +00:00
beveloper
d8d1ef215b Fixed crash, a pointer was deleted twice. Small cleanup, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 00:16:23 +00:00
ejakowatz
2a5153718e Minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:55:32 +00:00
beveloper
97bd102167 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:36:09 +00:00
beveloper
18eed37337 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:33:32 +00:00
ejakowatz
e5b24a582e Many tweaks, mostly to support the freakiness of doing Add/FindData() with
entry_refs and BMessages.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:14:41 +00:00
beveloper
f6ae82103c Fixed deadlock, the cookie is incremented by the node, not by the media kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:55 +00:00
ejakowatz
80e966963f Little tweaks and fixes too numerous to count, but mostly involved with
adding entry_refs and BMessages.  Lots of stuff for specifiers and also for
sending replies (with thanks to Mike Nordell).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:02 +00:00
ejakowatz
9abc4d2dcd Added params for specifying whether to copy the buffer on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:07:30 +00:00
beveloper
1e6f362d07 this is a demo node
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:54:02 +00:00
beveloper
11bb5731c8 Added the tone producer add-on for testing and demo purposes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:51:47 +00:00
beveloper
1b14f4182f Allow 5 concurrent instances for testing,
changed name to indicate that this is a demo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:50:57 +00:00
beveloper
acd429ac89 Fixed clock rate calculation (multiple bugs).
Fixed sound stutter after start.
Added generic macros to deal with SIS7012 and Intel differences.
Fixed SIS7012 init (PICB register was written, instead of SR).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 20:44:12 +00:00
Matthew Wilber
f4949fca43 moved common translator tests into TranslatorTestAddOn.cpp to reduce duplicate code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-22 03:58:56 +00:00
Ingo Weinhold
ed1aa75a5d Fixed the build (missing sources in Jamfile and typo in SettingsView.h) and warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 20:20:56 +00:00
Ingo Weinhold
1eed0e99e9 Added missing inclusion of <unistd.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:32:56 +00:00
beveloper
d6f3c208b1 Adding the Video Producer Demo Media-Add-On, from BeOS sample code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:21:56 +00:00
Philippe Houdoin
01172d7460 Include "unistd.h" to get rmdir() definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:55:12 +00:00
Philippe Houdoin
96ad33048f Fix missing close() and read() definitions: #include unistd.h added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:43:57 +00:00
Tyler Dauwalder
6b3fa44dd0 Forgot to keep #ifndef DEBUG macros up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 08:29:36 +00:00
Tyler Dauwalder
28f8fb21ea Added NULL class name argument to DEBUG_INIT() calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:10:25 +00:00
Tyler Dauwalder
565457fd43 Added code to search out anchor volume pointers and dump out any
volume descriptor sequences found.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:09:50 +00:00
Tyler Dauwalder
6cbf5bf379 - Added option to include class name with DEBUG_INIT() to so it's clearer which
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:08:31 +00:00
Tyler Dauwalder
fbdfed8191 - Fixed union/struct bitfield tricks so they should actually work as desired now
- Started the mind numbing task of making all the disk structs endian-neutral
- Started the addition of dump() functions
- Updated descriptor_tag::init_check() to treat the location() field as a disk
  block instead of an absolute address.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:03:18 +00:00
Axel Dörfler
121a2e82c0 Really fixed build (while keeping the app in the build).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:35:56 +00:00
Bruno G. Albuquerque
7be092433c Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:00:38 +00:00
Matthew Wilber
bb0ced7d76 fixed output capability check, corrected some test image file names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:06:23 +00:00
Matthew Wilber
955d1422bc fixed TGA to TGA translation so that it no longer fails to write the entire file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:03:59 +00:00
Matthew Wilber
59cd2ee4ef added new line at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:02:10 +00:00
Philippe Houdoin
885d94cdfd Move device registration out of lookup_devices(), now living in register_device().
set_mtu() hook implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:41:42 +00:00
Philippe Houdoin
cf86e4612e Make loopback interface less... useless!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:25:22 +00:00
Philippe Houdoin
266a39bd55 Fix a output bug in dump_memory() where 0x7f was displayed as-is.
Add a better interface(s) reader thread handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:51:23 +00:00
Philippe Houdoin
8f16d01827 Fixed an undersized memory allocation, causing heap corruption :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:47:04 +00:00
Philippe Houdoin
6aad418382 Add send_signal_etc() to kernel functions userland support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:44:37 +00:00
Matthew Wilber
5fdd39d609 changed name of CheckBits function to CheckBits_Tiff to avoid problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:39:43 +00:00
Matthew Wilber
8322820bd7 initial check in for TGATranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:38:15 +00:00
Matthew Wilber
777439b112 added TGATranslator test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:37:03 +00:00
Philippe Houdoin
c6199df94e Fix unwanted C++ symbols mangling in the kernel module API userland emulation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 16:00:06 +00:00
Phil Greenway
c74b73a4ec Fixed the BMenu to work properly now. :D
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 10:56:01 +00:00
Matthew Wilber
72b7d6df5d fixed Identify test so that it is more convenient to modify the list of test images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 01:48:01 +00:00
Philippe Houdoin
0d42ecaf89 Add a short note on how to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:07:36 +00:00
Philippe Houdoin
301e81d7a5 Better checking these than lost them one day...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:03:46 +00:00
Phil Greenway
cf0ad7c0c5 Added the ability to load/save settings via flattened bmessages - saves current position
next is to save outlineview settings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 13:51:21 +00:00
Phil Greenway
94e5d19c14 Coded by Scott Dellinger (dellinsd@myrealbox.com)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 10:59:29 +00:00
Axel Dörfler
cb7bb042d1 Fixed a typo in the Jamfile that prevented "cpuinfo" to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:35:55 +00:00
beveloper
3b3c3547a5 Updated jamfiles to match recent cvs changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-16 23:31:38 +00:00
beveloper
6fc1b5bacd Fix sample rate calculation based on the AC-link clock rate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-15 19:20:14 +00:00
haydentech
30fd51473f Minor header-related changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 17:21:46 +00:00
haydentech
e1d7ae79b2 Conform to new scoping rules for variables defined in a for loop
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:24:36 +00:00
haydentech
cf8525ee3c Default args allowed only in header (not implementation) with gcc 3.X
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:23:06 +00:00
haydentech
5b75be9487 Default args allowed only in header (not implementation) with gcc 3.X
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:14:29 +00:00
Tyler Dauwalder
04579c0307 Removed automatic DEBUG definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:43:48 +00:00
Tyler Dauwalder
f896590804 Added DEBUG_INIT() categories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:42:29 +00:00
Tyler Dauwalder
778d70ca00 - Added category support
- Moved doxs from header to cpp file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:18:41 +00:00
Tyler Dauwalder
fd67013594 Apparently I'm not allowed to link kernel modules to libroot.so... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:17:35 +00:00
Axel Dörfler
553f11cc8b The cpuinfo command is now locally built and added to the tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:26:28 +00:00
Axel Dörfler
897285de73 Removed x86 dependent "cpuinfo" command from the main build (it's now added
locally in the app/cpuinfo directory).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:25:04 +00:00
Axel Dörfler
8f048d2b40 Added missing arch_*() functions, removed the (empty) atomic_*() definitions,
since they are implemented in the libroot's os/arch directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:20:47 +00:00
Axel Dörfler
9cf09b95ed Now located in src/kernel/ldscripts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 02:22:10 +00:00
Axel Dörfler
7058303f99 Added add-on.ld and moved kernel.ld to the correct location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 02:21:16 +00:00
Axel Dörfler
b263fa5a63 Added Jamfile and fixed all warnings that popped up when compiling with -Wall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:45:57 +00:00
Axel Dörfler
c0f1a43053 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:11:21 +00:00
Tyler Dauwalder
be45fb85b6 Revamped debugging macros:
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:45:41 +00:00
Tyler Dauwalder
a44384b038 Hadn't intended to lose a step of revision history along
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:43:11 +00:00
Tyler Dauwalder
13d4aa9ef9 Debug.cpp => UdfDebug.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:34:25 +00:00
Tyler Dauwalder
ccbc83414f - Started udf_mount() implementation.
- Updated to use revamped debug macros


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:53 +00:00
Tyler Dauwalder
4ac730182d - Started on volume recognition; volume recognition sequence walking implemented.
- Updated to use revamped debugging macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:03 +00:00
Tyler Dauwalder
9feb1a7258 - Renamed vsd_header to volume_structure_descriptor_header
- Extern'ed previously un-extern'ed char* constants
- Added volume_structure_descriptor_header::id_matches()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:30:38 +00:00
Tyler Dauwalder
0a100e1176 Made Block a template class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:28:21 +00:00
Tyler Dauwalder
fe89a5bae9 Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
the proliferation of files named Debug.*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:27:28 +00:00
Axel Dörfler
f48e0d551d Updated ld-script location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 01:00:20 +00:00
Axel Dörfler
e02284d547 Are now located in src/kernel/ldscripts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:51:11 +00:00
Axel Dörfler
87ea713dec This file isn't used anymore (the config will be created by the build process).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:46:39 +00:00
Axel Dörfler
a457ef3c93 Moved the ld-scripts all in one place, instead of spread all over the
repository.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:45:08 +00:00
Jérôme Duval
95531d1e1b Working SoundPlayer and SoundPlayerNode, it lacks volume methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:41:38 +00:00
Ingo Weinhold
7f879cccff Rename SystemMain to BuildPlatformMain.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:29:06 +00:00
beveloper
b42b9990d6 Added C-Media codec detection.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 12:59:55 +00:00
Axel Dörfler
d94f33a308 Accidently broke Jamfile in the last revision (missing comment).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 07:38:33 +00:00
Axel Dörfler
db44cc624c Fixed a typo: don't use copy&paste...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:52:41 +00:00
Axel Dörfler
23d0f041d6 Added ldscripts for other kernel stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:46:05 +00:00
Axel Dörfler
ed6b39346e Added dumb implementations for system_time() and TLS: system_time() currently
just returns the contents of the time base register, and the TLS implementation
is only working correctly for single threaded applications. Enough for testing,
at least.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:44:12 +00:00
Axel Dörfler
f45e90df37 Now accepts more PowerPC "standard" defines, which allows it to build here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:15:41 +00:00
Axel Dörfler
14fcd1e5aa The cpuinfo app is only added to the x86 build for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:13:19 +00:00
Axel Dörfler
f9959bb699 CFLAGS for the driver were dependent on the x86 architecture.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:05:46 +00:00
Axel Dörfler
1f78a92b12 Implemented the atomic functions to get in touch with PPC assembly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 02:17:54 +00:00
beveloper
9b91bd404b minor changes, improve clock detection
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 01:12:00 +00:00
beveloper
07ce4687df Added some Analog Devices codec initialization, should work for single
codec setups, master - slave setups are not implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 00:47:14 +00:00
beveloper
309774ea11 Added variable sample rate support for prorpietary AD1819A and AD1819B codecs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 23:27:02 +00:00
beveloper
741054220d remove the junk
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:26:56 +00:00
beveloper
13f96b477c Verified some codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:23:26 +00:00
beveloper
847993cd89 Even more init functions, but Analog Devices is still missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 20:12:24 +00:00
beveloper
151291b640 Added special SigmaTel initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 17:55:25 +00:00
beveloper
fd65314748 removed comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:23:44 +00:00
beveloper
18e76fb3b1 Changed Sigmatel Codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:19:35 +00:00
beveloper
e3530e2c3c support for multiple frame rates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 23:52:39 +00:00
beveloper
e301acb039 Simplified initialization.
More support for proplematic codecs, special inits (patches) still need to
be written after checking datasheets.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 22:16:34 +00:00
beveloper
5bf06a9e02 ac97 capabilities detection,
special Realtek ALC650 support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 22:27:59 +00:00
beveloper
dd04a5c6eb rewritten AC97 handling
trying to detect real codec rate
support for 44100 Hz is now default


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 00:22:14 +00:00
beveloper
bffd89a7fd added experimental media kit kernel add-ons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:54:58 +00:00
beveloper
1ed6c90897 quick & dirty workaround
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:53:36 +00:00
beveloper
b43f227373 experimental, do not use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:50:13 +00:00
Tyler Dauwalder
edd2334c85 Finished off the majority of the ECMA-167 Part 4 structures
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 07:26:48 +00:00
Matthew Wilber
4b9f28b545 Added testing for 1-D Group 3 Fax compressed image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 21:50:23 +00:00
Matthew Wilber
83b8537ccb fixed issue with PHOTO_WHITEISZERO inverted grayscale images, added support for 1-D Group 3 Fax compressed images, added support for fill order 2 for monochrome images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 21:47:42 +00:00
Daniel Reinhold
cb25a0921b implemented tcsetattr()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 09:11:25 +00:00
Daniel Reinhold
15474ec36c added stubs for the termios speed control functions
they are stubs because the BeOS does not support them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 08:06:33 +00:00
Daniel Reinhold
f291226628 initial implementation of ttyname()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 07:13:44 +00:00
Daniel Reinhold
789a8d2791 add termios to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 03:29:59 +00:00
Daniel Reinhold
d122daf52a initial support for termios in libroot
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 03:25:10 +00:00
Daniel Reinhold
953aa0fc95 fleshed out some tty stuff...
isatty() is fixed - altho this is basically academic since we don't have any
drivers for terminal devices written yet (but at least the code is ready when we do)

also, ctermid() is implemented - which is of no big consequence


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 00:53:22 +00:00
Axel Dörfler
060ea25f57 Fixed makeflop on PPC (applied NewOS change 1778).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 17:24:23 +00:00
Axel Dörfler
7cbca7f74c boot headers have been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:33:09 +00:00
Axel Dörfler
b977a6087c The stage2 boot loader now links against the new arch dependent boot_arch_stage2.o.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:32:35 +00:00
Axel Dörfler
75d416a23e Fixed Jamfile - it doesn't try to build all architectures anymore, but only
the one it can.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:29:04 +00:00
Axel Dörfler
d0c59e6faf boot headers have been moved.
Now builds a boot_arch_stage2.o object file that can be used by the architecture
independent Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:28:05 +00:00
Axel Dörfler
b2704e693c boot headers have been moved, some cleanups, dbg_save_registers() renamed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:20:38 +00:00
Axel Dörfler
c182223b6e Updated core/arch/ppc section to be up-to-date again. Note, this only let
it build again; it doesn't work yet at all (pretty similar to NewOS change 1772).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:15:41 +00:00
Axel Dörfler
eda9fea884 Fixed Jamfile to not use OBOS_TARGET_DIR any longer (but OBOS_ARCH instead).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:12:46 +00:00
Axel Dörfler
99b8586b91 boot headers have been moved.
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:11:59 +00:00
Axel Dörfler
16b357f26a Renamed dbg_save_registers() to arch_dbg_save_registers() since it is implemented
in the arch dependent section.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:10:54 +00:00
Axel Dörfler
53a2f3f583 boot headers have been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:09:41 +00:00
Axel Dörfler
4802643275 stage.2 header has been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:09:01 +00:00
Axel Dörfler
64aebcff0e Added glibc's proprietary strchrnul() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:50:10 +00:00
Axel Dörfler
6e5e43433e atexit() is now thread-safe.
Now calls _IO_cleanup() instead of __cleanup() to be able to be compiled
against glibc stdio as well.
Renamed variables to be much nicer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:47:56 +00:00
Axel Dörfler
f57208999e Renamed __cleanup() to _IO_cleanup() to be able to compile the glibc version
as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:40:53 +00:00
Axel Dörfler
2b64308b14 Removed an unused header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:39:26 +00:00
Axel Dörfler
80403b993b Fixed arch Jamfile to not use OBOS_TARGET_DIR any longer.
Added math-arch PPC files - general status: working but not optimized.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:38:58 +00:00
Axel Dörfler
a0c16735c9 Added a temporary isatty() implementation (just checks for the fd number for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:36:24 +00:00
Axel Dörfler
be3d86f793 Added empty Jamfile for the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:31:22 +00:00
Axel Dörfler
4faf27e08b Moved the arch-dependent driver generation to the correct Jamfile (it's
now built locally in the arch driver itself).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:26:19 +00:00
Axel Dörfler
3c2a0bd1f3 Added empty Jamfile for the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:20:19 +00:00
Axel Dörfler
019bc8a760 Removed an unused header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:19:46 +00:00
Axel Dörfler
ec639282c8 Added files to build the PPC version. rldreloc.inc doesn't do anything
useful yet, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 13:47:03 +00:00
Axel Dörfler
8b75b64e81 Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 13:44:56 +00:00
Axel Dörfler
05928f80cd Cleanup of the null/zero drivers - removed unused includes, ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 03:02:48 +00:00
Jérôme Duval
c8093d3c8d ParameterWeb state is now saved and restored for each node.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-02 16:26:53 +00:00
shadow303
79441319f9 Fix FillArc and FillBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:36:09 +00:00
shadow303
7be0e66c42 Tweak the hack test of drawing routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:35:18 +00:00
shadow303
c7b36220bb Fix ROUND macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:34:40 +00:00
Marc Flerackers
47bc8348ea *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 07:26:55 +00:00
Matthew Wilber
e12c41efa4 added Translate tests to translate TIFF images to Be Bitmap (bits) images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:23:27 +00:00
Matthew Wilber
d1363d0da5 moved CompareStreams function to TranslatorTestAddOn.cpp so that multiple translator tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:43 +00:00
Matthew Wilber
1f52e8a2df moved CompareStreams function from STXTTranslatorTest to this file so that multiple translators tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:09 +00:00
Tyler Dauwalder
25b288e0dd Initial checkin (and this time I better not be writing over somebody else's
files, damn it! :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:26:13 +00:00
Tyler Dauwalder
3807c90cf1 Added udf tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:11:29 +00:00
Tyler Dauwalder
a8850e00d1 Augmented 'quit' command for those of us who type 'exit' by habit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 23:32:55 +00:00
Tyler Dauwalder
4a547c1282 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:34 +00:00
Tyler Dauwalder
cba5c5b207 Added udf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:12 +00:00
Tyler Dauwalder
b93d2a8132 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:53:46 +00:00
Tyler Dauwalder
388e593dfa Initial checkin. Other than a few bogus implementations to allow the
udf_shell to mount, everything is just skeleton functions currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:52:59 +00:00
Tyler Dauwalder
ad43fbba82 Borrowed straight up from bfs. These will disappear when I get off my
butt and move them to /headers/os/drivers and /src/kernel/core or
wherever we agreed to consolidate them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:51:12 +00:00
Tyler Dauwalder
29008bcfd8 Initial checkin. Currently does nothing particularly useful.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:47:29 +00:00
Tyler Dauwalder
70eaa1f5b5 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:54 +00:00
Tyler Dauwalder
1a2f87c146 Initial checkin. Structures through ECMA-167 Part 3 (i.e. volume recognition)
mostly completed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:14 +00:00
Tyler Dauwalder
e75bed9707 Initial checkin. Inherited from bfs, then stripped bfs specific stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:45:11 +00:00
Axel Dörfler
a8130cded6 exit() now calls _thread_do_exit_notification().
Note, this is incompatible with the BeOS behaviour, which didn't call
the hooks when you exit()ed a program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 11:11:26 +00:00
Axel Dörfler
c1615a93f0 No longer calls _thread_do_exit_notification() as exit() now does it.
Note, this is incompatible with the BeOS behaviour, which didn't call
the hooks when you exit()ed a program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 11:10:09 +00:00
Matthew Wilber
a11d841c28 eliminated the debugging printf statements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 02:44:44 +00:00
Matthew Wilber
294675df12 added more images to the Identify() testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 02:38:57 +00:00
Matthew Wilber
58100bab8b changed the Identify string to report information about the type of the TIFF image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 23:41:36 +00:00
Philippe Houdoin
2a93d8472f Fix unrecognized Pentium III models, and add newer AMD Athlon and Duron recognition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 21:28:47 +00:00
beveloper
c123bb9936 better in CVS than lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 16:09:01 +00:00
shatty
c5788c0416 slightly less awful scrollbars
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-24 08:09:50 +00:00
shatty
0873b6e545 move towards smarter scrollers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-24 07:55:28 +00:00
Matthew Wilber
39749b49af added support for reading uncompressed, packbits encoded, 4, 8-bit palette based TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-23 03:11:05 +00:00
Matthew Wilber
0a9c358574 removed unnecessary including of TIFFTranslator header to fix compliation of this test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-23 02:39:54 +00:00
shatty
442abe27a7 remove bemail
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 22:42:29 +00:00
shatty
4bf790524f basic application model stolen from styled edit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 09:21:48 +00:00
shatty
e648cd8a9d cosmetic cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 06:32:09 +00:00
shatty
5abaecfeb2 MuTerminal is coming to OBOS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 05:37:15 +00:00
Matthew Wilber
08c96d28c5 added support for reading 8, 4-bit uncompressed, packbits encoded grayscale TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 01:51:33 +00:00
Axel Dörfler
d9e72f220a Reenabled the broken assert in free() and applied Travis' NewOS patch 1764
(which fixes that assert).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 08:25:26 +00:00
Tyler Dauwalder
67d102db0b Added a (somewhat cryptic) usage note when run with '--help' argument
for slow learners like me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 07:56:17 +00:00
Matthew Wilber
91ae8a2423 changed TiffDetails to a class so that clean up would be easier and added logic to handle palette images (though they will not open yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 03:41:33 +00:00
Matthew Wilber
5cd3d8f8e3 change TiffDetails to a class so that cleanup would be easier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 03:40:23 +00:00
Jérôme Duval
056e08e286 Cleanups
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:16:26 +00:00
Jérôme Duval
4395e32018 Bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:10:24 +00:00
Jérôme Duval
6d6c8c465a Added rev 10 for VT8233, debug traces
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:02:23 +00:00
Axel Dörfler
c1705065da Doh, forget to add the license and author information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:51:55 +00:00
Axel Dörfler
74b016ecad Added a basic pthread_mutex and pthread_mutexattr implementation which
will come in handy for the glibc stuff - and is great for our libroot.so,
too.
Everything should work except for: pthread_mutexattr_(set|get)prioceiling/
protocol(). That might be added at a later time, though, I don't consider
it a high priority.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:48:54 +00:00
Michael Pfeiffer
0008ea004e Link against static libpdf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 14:15:34 +00:00
Matthew Wilber
ac914e611c Fixed Huffman decoding issue. The loop was exiting without waiting for a terminating code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:22:27 +00:00
Ingo Weinhold
3906f59e6a Removed the iso9660 module from the build. For the time being we can't use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 14:40:33 +00:00
DarkWyrm
511004cc7a Removed a couple problems caused by Adrian's recent changes in ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 19:58:43 +00:00
Axel Dörfler
8120de4558 Implemented on_exit_thread() notification, making use of the new second
thread argument.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:41:10 +00:00
Axel Dörfler
08b73e5905 Added another argument parameter for the thread creation code. Helps
implementing a more efficient on_exit_thread().
Note, this extra parameter is currently only used for user space code,
not yet in the kernel; thus on_exit_thread() is not available in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:38:28 +00:00
Axel Dörfler
8b5c1ef5f6 Does now call _thread_on_exit_notification().
Note, this probably should be called in exit() not here (for now, I copied
the BeOS behaviour).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:34:49 +00:00
Axel Dörfler
f68d61b912 Added a test for the on_exit_thread() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:17:29 +00:00
Matthew Wilber
c61687ba31 Added support for Huffman compression, though, it doesn't work fully yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 03:19:36 +00:00
shadow303
28adeff1cb Add some of the hardware acceleration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 00:40:26 +00:00
DarkWyrm
1b7390044f Checkin for Adrian Oanca
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-17 20:41:54 +00:00
beveloper
255a01c76a Added a new license to this file, as I'm the author.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 23:31:32 +00:00
shatty
293c3378f3 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 03:54:47 +00:00
shatty
fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
Ingo Weinhold
150bfa3714 Added implementation of the node monitoring functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-13 15:02:24 +00:00
Matthew Wilber
2cb55578bd initial check in for structure used to decode Huffman encoded TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-13 04:10:36 +00:00
Jérôme Duval
822fd93938 Auvia driver for Via audio chipsets VT82C686 and VT8233/35
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:27:14 +00:00
Jérôme Duval
8959b6dde2 Added auvia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:16:02 +00:00
Matthew Wilber
da10aec84a Added support for reading uncompressed / packbits compressed monochrome TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-08 03:10:01 +00:00
Matthew Wilber
08a14aa7fc removed StreamBuffer files from this directory so that they would only exist in one place: the TGATranslator directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:43:16 +00:00
Matthew Wilber
ac626b9112 updated so that StreamBuffer code only exists in TGATranslator directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:41:47 +00:00
Matthew Wilber
f44805d148 updated StreamBuffer with features used by TIFFTranslator, updated TGATranslator to use new version of this class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:40:41 +00:00
mahlzeit
41d848e7c0 simplified the app_version resource
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 12:26:49 +00:00
mahlzeit
e664742f9d - added import statement
- resources can now have fixed sizes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 12:10:42 +00:00
Matthew Wilber
028368527a Added code for converting uncompressed / packbits compressed RGB and CMYK TIFF images to the Be Bitmap format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 05:12:26 +00:00
Ingo Weinhold
1847fb9c71 Always save before checking in. UpdateActiveApp() comment has been changed slightly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:16:30 +00:00
Ingo Weinhold
c99847b4cd Unimplemented ActivateApp(); it has to ask the app server instead. Moved its code to UpdateActiveApp(), which has exactly the matching semantics. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:15:13 +00:00
DarkWyrm
47b0fc0ee3 Lots of minor tweaks here and there
Added debug code to a number of files
Enabled ServerWindow and WinBorder mouse-handling code
ScreenDriver is now double-buffered (exceedingly useful for testing)
I'm trying to think, but nothing happens! :D


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 01:51:35 +00:00
DarkWyrm
0fe548713a Major internal revision of GUI colors code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-04 02:22:23 +00:00
Matthew Wilber
711386ad0e Changed TiffIfd to use exceptions which makes it much more convenient to work with
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-01 05:58:22 +00:00
Matthew Wilber
1116d6c72b Still doesn't quite do anything yet, but now I have code to identify TIFF images and read TIFF fields
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-31 03:23:34 +00:00
DarkWyrm
812870fc43 Added a couple hooks to DisplayDriver
app_server will now display a window. Can't do anything with it, at least not yet.
GUI colors are also used now


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 21:09:39 +00:00
DarkWyrm
f8931e9215 Removed a linker error caused by the restructuring of the BMessage sources
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 19:13:41 +00:00
DarkWyrm
0f434a0aad The mother of all commits. :P
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^)
Added screenshot support to app_server
Added full keyboard message support to app_server
Added UseLibraryHeaders and LibraryHeaders rules to jamrules
Updated ColorUtils to convert uint32 colors to rgb_colors
BAppServerLink now autolocks client-server communications on the client side (as it should)
app_server now also juliennes and makes french fries. Yum.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 00:17:50 +00:00
DarkWyrm
b6827c5b93 Removed zlib in agreement with MPhipps' decision on using libtranslation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-27 01:05:06 +00:00
Michael Phipps
d50d9a6a18 More code cleanup. Removing unused variables. Simplifying and shrinking
vpage to be nearly a TLB entry. Final stripping will occur with kernel
integration. More comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-26 04:00:38 +00:00
DarkWyrm
fbbad518e2 initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-26 01:32:13 +00:00
DarkWyrm
9682e7a45b Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-26 01:31:20 +00:00
Matthew Wilber
6d98b4b3de added more Identify() tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 04:33:04 +00:00
DarkWyrm
fec61feeb8 Initial checkin of PortQueue class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 01:16:34 +00:00
beveloper
3d362ac433 added debugging information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 01:17:57 +00:00
beveloper
84f893513c fixed one bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:33:22 +00:00
Axel Dörfler
95fed0d3e1 Added the includes needed to build GNU's libio package. Tries to be glibc
compatible while cleaning them up and reflecting our standard header
locations a bit more.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:15:24 +00:00
Axel Dörfler
c387fbc54b Added Jamfile to build the libio part of glibc (for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:10:20 +00:00
Axel Dörfler
1d94abd7ae Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:07:36 +00:00
Axel Dörfler
38c6b242e6 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:03:53 +00:00
Axel Dörfler
523bdc7eca Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 23:59:15 +00:00
beveloper
28ad138ac9 Implemented BMediaRoster::GetParameterWebFor().
Unfortunately, BParameterWeb flattening seems to be broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 23:58:17 +00:00
Axel Dörfler
d1c90ca8b2 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 23:57:50 +00:00
Axel Dörfler
000d24f681 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 23:49:22 +00:00
DarkWyrm
8374297262 Added print debug code to a number of classes
SendMessage allows for target specification
Included BMessage friend classes to allow building whilst they are absent from BMessage.cpp
More window-related code added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 20:52:37 +00:00
DarkWyrm
dc4e96ca20 Removed bug which caused goofy app signature names in app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 19:36:04 +00:00
DarkWyrm
df8d45f7f3 A few bugfixes to allow for simple app_server testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 19:32:02 +00:00
DarkWyrm
610785086b Filled in AppServerLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 18:51:49 +00:00
beveloper
9d0fb244c1 removed usage of config manager, added more debug info for BeBits 1.5 release
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 15:39:01 +00:00
beveloper
6910325a5a added experimental preloading of default nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:09:38 +00:00
beveloper
60f15390cd a couple of fixes regarding latency calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:08:27 +00:00
beveloper
5c080a95ca system time source is always running.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:07:55 +00:00
beveloper
373a2a570c Fix crashing bug on BBufferGroup deletion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:06:22 +00:00
beveloper
8239aad969 Avoid crashing by returning a valid BView pointer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:05:15 +00:00
Michael Pfeiffer
e3057c0adb New version number.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 08:47:55 +00:00
Michael Pfeiffer
ceffc48db9 - updated to use PDFlib 5.0.0b2
- added basic support for stroke/fill opacity (transparency)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 08:47:20 +00:00
beveloper
626824eaaf Added reference counting of media add-on instances.
You can't create more node instances than "possible_count".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 01:11:07 +00:00
beveloper
b498f2e40c Changed names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 22:37:29 +00:00
beveloper
797534f423 This adds support for the Nvidia nForce2 and Nvidia nForce3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 22:01:10 +00:00
beveloper
6971240d8d added to the build system
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:27:06 +00:00
beveloper
8187c2a594 Updated to 2001-12-11 BeBits release.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:21:17 +00:00
beveloper
5433f96db2 The source code in this directory is licensend under the terms of this file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:19:51 +00:00
beveloper
72b94394b8 Updated to 2001-04-20 BeBits release
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:11:36 +00:00
beveloper
ba5d0baeee Updated as of April 2, 2001.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:03:51 +00:00
beveloper
9168ef4ba7 Sample settings file for the dosfs plugin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:02:52 +00:00
beveloper
0817da63db The dos filesystem, published by Be Inc, March 2001.
To be used under the terms of the Be Sample Code License.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 20:42:16 +00:00
beveloper
3b4e93beaf Adding the dosfs (FAT 12/16/32) to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 20:39:20 +00:00
DarkWyrm
bff387f17a Set up sources to begin work on added BPicture support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:49:28 +00:00
DarkWyrm
f9439a60dc Initial checkin of AreaLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:19:37 +00:00
DarkWyrm
d15ef5ede9 Added app_server communications via BAppServerLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 13:10:19 +00:00
DarkWyrm
c328988230 Effectively made Attach(*,size) a const function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 13:09:22 +00:00
DarkWyrm
fab7424ce5 Checkin for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 11:12:54 +00:00
DarkWyrm
234928a23f Added UsePrivateHeaders for app kit - Application.cpp wasn't getting ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 23:37:41 +00:00
Axel Dörfler
d4681bf67c Cleaned up. Added the TRACE() macro to kernel_interface.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 20:49:46 +00:00
Axel Dörfler
5f16032b01 Added the fs-shell testing suite for the iso9660 file system (iso9660_shell).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 18:36:25 +00:00
Axel Dörfler
db94ee0595 Added a userland dprintf() export; the output is simply directed to stdout.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 18:35:23 +00:00
ejakowatz
74d9216544 New tests for Add/Find/Replace/HasRef, and tweak in MessageTest.cpp to use
it.  Also, minor fix in entry_ref handling in BMessage::AddData().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 06:02:27 +00:00
ejakowatz
e60c601e2d Tweaks to make the tests work correctly and properly scope a BMessage
function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 05:37:07 +00:00
ejakowatz
7da12d98a8 More tests, for float and double this time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 03:11:57 +00:00
Axel Dörfler
199002915e Added the bfs_shell to the build.
To use it, type "bfs_shell <device-name-or-image>" - for example test.image,
or /dev/disk/ide/0/master/0/0_1; use with care, it has the power to destroy
everything :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:16:00 +00:00
Axel Dörfler
6e1c01fbd7 Beginnings of a buildable bfs userland shell (Jamfile is missing).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:03:50 +00:00
Axel Dörfler
138a8c079e Lazy mode possibility to add additional, fs dependent commands to the shell;
removed BFS specific command(s).
Cleaned up the file a bit.
Removed Debug.h - it was a leftover from the BFS shell.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:01:40 +00:00
Axel Dörfler
9767c7befd Added my updated version of Dominic's fsh.
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:50:50 +00:00
Axel Dörfler
faa9239d5b Added the multisession capable ISO-9660 file system based on Be's sample code.
Cleaned up the sources to match our coding style better. Partially removed
fs API documentation (since it really doesn't belong here).
Added to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:38:42 +00:00
Axel Dörfler
bfa7190f02 Added a point.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:37:18 +00:00
ejakowatz
9895f0ea8a Some clean up and tweaks to the specifier handling code, plus the
beginnings of SendReply() functionality.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 08:01:59 +00:00
ejakowatz
2be975a1ee _get_object_token_ has found its permanent home in AppMisc.h, which the
other files were modified to include.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 08:00:50 +00:00
ejakowatz
b1055b4c2d This is all the code for the backing store for BMessage (BMessageBody &
BMessageField) for the "template madness" version.  Also included is
BDataBuffer which is a little reference counting raw data container.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:58:17 +00:00
ejakowatz
9abaf1dfa7 Resolved conflict. DarkWyrm tweaked the old version (which I had #if 0'd
out all over the place).  There is now a giant
#ifdef USING_TEMPLATE_MADNESS
separating the two versions.  At some point, the common code should be
reconciled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 05:02:31 +00:00
ejakowatz
241dab6520 Modifications to bring BMessage tests into effect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 04:26:00 +00:00
ejakowatz
be45e9989d The new, super-templatized tests for all those handy (and yet annoying to
write tests for) BMessage convenience functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 04:24:18 +00:00
DarkWyrm
1fd593cdd7 *Doh* Always check the build _before_ checking in, not after. *sigh*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:20:20 +00:00
DarkWyrm
7b919e9ac2 Added BHandler token members to ServerApps and ServerWindows
Modified ServerApp and ServerWindow constructors to include BHandler tokens


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:12:53 +00:00
DarkWyrm
c503a7bc9c Added BHandler tokens to app_server communications setup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:11:24 +00:00
DarkWyrm
e26cbbcf17 Implemented _get_object_token_ to allow app_server to receive BHandler tokens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 00:59:20 +00:00
DarkWyrm
eae2f2f089 Implemented app_server-related global functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 00:49:48 +00:00
DarkWyrm
402922f400 Added BPicture to IK for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 22:00:38 +00:00
DarkWyrm
a0ffbf9588 Tweaks for adding Picture.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 21:57:34 +00:00
Axel Dörfler
3075346683 Applied patch from Maurizio: fixed setting data part in smp_send_broadcast_ici() msg.
Added TRACE_SMP and a TRACE() macro that is used instead of dprintf() directly.
Also fixed all warnings with TRACE_SMP set to 1.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 02:08:51 +00:00
beveloper
7379471718 OBEY possible_count
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 00:11:52 +00:00
beveloper
42ab56efde add drivers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:46:56 +00:00
mahlzeit
94d1c0ea39 added (experimental) driver support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:33:38 +00:00
beveloper
30ace1d7c5 Emuxki BeOS Driver for Creative Labs SBLive!/Audigy series.
Written by Jerome Duval.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:32:45 +00:00
mahlzeit
49fa1748f5 cleaned up midi1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:30:19 +00:00
mahlzeit
a06c9b684a implemented Tempo Change event
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:28:13 +00:00
beveloper
c95f5fce40 An experimental driver to test a new module based audio driver API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:20:12 +00:00
beveloper
be4e010170 The multi_audio media addon, written by Jerome Duval.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 21:58:35 +00:00
DarkWyrm
53ea435d7b Multiple fixes and added to build. Not yet complete, but close
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 21:43:28 +00:00
beveloper
54187cc6e8 Global nodes can mow be released by the teams which created them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 03:52:52 +00:00
beveloper
2937222250 removed \n
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 23:56:43 +00:00
beveloper
29625f7611 Removed instantiation restrictions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 15:40:43 +00:00
beveloper
86bce45b0c Removed time sourced from reference counting.
Releasing nodes works now, except if they have been instanciated globally.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 01:59:10 +00:00
Phil Greenway
395ea9a9b7 Added a BBox, BButton and several BStringViews.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 01:19:52 +00:00
DarkWyrm
6c69f6e9c3 Check-in for Adrian Oanca - some serious code coming in!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 00:05:36 +00:00
beveloper
cf4e227786 fixing BMediaRoster::ReleaseNode()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 23:12:11 +00:00
beveloper
d2ecd5a91c code style cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:29:52 +00:00
beveloper
c6b1270d0a updated to reflect BMediaRoster changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:10:56 +00:00
beveloper
8b04ffc12d Reorganized BMediaRoster support functions.
Improved dormant node support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:09:27 +00:00
beveloper
742580b40f Improved error handling and timeouts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:06:23 +00:00
Matthew Wilber
2dc6f398bd added basic testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-13 03:13:02 +00:00
DarkWyrm
f098890e88 More bugfixes for BWindow construction
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 19:34:47 +00:00
DarkWyrm
2d51f602e9 More tweaks to talk to server betted in the constructor
Fleshed out a couple message-handling routines to better be able to debug server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 19:32:16 +00:00
DarkWyrm
c0a08539ac Implemented *very* basic server-side window creation code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:32:27 +00:00
DarkWyrm
ea4ea97733 Window now talks nice-nice to app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:02:37 +00:00
DarkWyrm
71c040584c FlushWithReply(ReplyData *) checks for non-NULL buffers - eliminates a memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:01:55 +00:00
DarkWyrm
ca34e8a04c Added startup code to talk to app_server
We can now run simple applications with app_server!!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 17:17:17 +00:00
DarkWyrm
ad41204bbc Filled in a few functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:56:20 +00:00
DarkWyrm
59a15bb433 Added ServerApp code for BBitmap handling
Added some support functions to ServerBitmap
BitmapManager now adds ID tokens to ServerBitmaps


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:29:59 +00:00
DarkWyrm
e30edc5826 Doh! Forgot the Create_Bitmap attachments. I need my coffee...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:00:19 +00:00
DarkWyrm
f4ccda5e46 Added bitmap allocation code which talks to the app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 13:45:25 +00:00
beveloper
40f36b03c6 some cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 02:34:56 +00:00
DarkWyrm
0d97724c61 Modified to utilize member PortLink instead of creating new ones
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 01:21:54 +00:00
Matthew Wilber
3d4100d5c3 initial check-in for TIFFTranslator Tests (they don't actually test anything yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:56:39 +00:00
Matthew Wilber
0ef3968843 added TIFFTranslator Tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:55:01 +00:00
Matthew Wilber
129a87e630 initial check-in for TIFFTranslator (doesn't do anything yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:54:11 +00:00
Matthew Wilber
e6cc97f061 added tifftranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:52:29 +00:00
Matthew Wilber
c5943e23d7 fixed copy/paste issue
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:51:41 +00:00
DarkWyrm
d00757dea3 Added BitmapDriver for drawing on BBitmaps with BViews
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 23:17:56 +00:00
mahlzeit
263f2c6006 Added MIT license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 20:38:00 +00:00
mahlzeit
d5e73c1f23 just a reminder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 20:30:15 +00:00
mahlzeit
92185c23c0 End marker for sysex messages is now optional.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-10 14:55:22 +00:00
Phil Greenway
6b793d4c78 New Code by Mattias Sundblad.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-10 03:01:37 +00:00
Phil Greenway
c5a50d6a06 Added Devices and Commented out translations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-10 02:59:37 +00:00
mahlzeit
e4fa49727a Milestone 2 is complete. You can now send and receive MIDI events.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-09 16:10:30 +00:00
DarkWyrm
7a618fe9a9 Added PicturePlayer class based on Marc Flerackers' TPicture class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-08 21:07:10 +00:00
DarkWyrm
a159d2c761 Added a BView stub
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-08 20:04:17 +00:00
Michael Phipps
69d79fa9f8 More changes and bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-07 00:11:10 +00:00
DarkWyrm
c51942ea6e Removed fixed attachment limit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-06 22:24:45 +00:00
Tyler Dauwalder
5743b0d24a iso9660.c => iso9660.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:44:40 +00:00
Tyler Dauwalder
ad6ea1be0f A mi me gusta C++; renamed from iso9660.c plus:
+ Now supports Joliet volume names
+ Root directory record information is dumped out
  along with each primary and supplementary volume
  descriptor when TRACE is turned on.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:44:17 +00:00
Tyler Dauwalder
b0338f97e2 A mi no me gusta C; renamed to iso9660.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:42:19 +00:00
Phil Greenway
333dca6673 Initial Checkin - Basic GUI with Menu 10% - Coded by Sikosis
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-04 12:21:20 +00:00
mahlzeit
cb82985296 added resources
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 12:31:32 +00:00
mahlzeit
44f46e0ce9 The thread, semaphore, and BLocker now have a name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 12:23:20 +00:00
mahlzeit
abe999d807 changed comment style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:48:26 +00:00
mahlzeit
76bb80302f changed comment style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:38:34 +00:00
mahlzeit
8377310bbd Resources are now automatically generated using rc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:11:25 +00:00
mahlzeit
f6afc7c611 When compiling multiple input files, the line number counter
was not reset correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 10:24:04 +00:00
Ingo Weinhold
4d95f6c63c Worked around a problem with mwcc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 00:15:44 +00:00
DarkWyrm
b0decc9424 Finished out Desktop functions and tweaked some documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 20:25:08 +00:00
Daniel Reinhold
c2a1fc3f66 removed a macro accidentally re-introduced on the last commit
changed the field order in a couple of structs back to their previous ordering


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 07:22:13 +00:00
DarkWyrm
4b6ed79e34 Finally got around to removing the memory leak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 01:13:15 +00:00
Daniel Reinhold
70dee992a3 style changes -- purely cosmetic
normally, I wouldn't checkin a file with cosmetic changes only
however, Marcus just made a change on this file earlier today,
so the file would have to be rebuilt anyway -- might as well
make it pretty too!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-28 21:21:46 +00:00
beveloper
fb6067c507 removed experimental special case
fixed bug in get_nth_pci_info


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-28 14:52:05 +00:00
Michael Phipps
a48062f5fa Many bug fixes and changes.
Also added "locked list" - a semaphore protected list derived from list.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-27 04:41:44 +00:00
Michael Phipps
7c9135c008 Updated and added some tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-27 04:40:34 +00:00
Michael Pfeiffer
8fb205f2b6 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-26 06:45:42 +00:00
Michael Pfeiffer
ae586a5a46 Updated version information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-26 06:45:07 +00:00
Axel Dörfler
1104b1b0f6 Added my "open" command to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 18:00:40 +00:00
Ingo Weinhold
d62fee5142 The global OPTIM variable is now reset at the end of the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 17:10:55 +00:00
Axel Dörfler
98b972c906 Fixed all warnings that appeared with DEBUG=1 set.
Also fixed missing return codes in BufferPool::ReleaseBuffer() and Journal::WriteLogEntry().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 15:07:26 +00:00
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
Matthew Wilber
9f9e1f50fb A beta tester reported that PackageBuilder failed to load when the OBOS libtranslation.so was used. This was because the OBOS BBitmapStream was missing a protected function. I implemented the protected function (SwapHeader) and changed the class to use it instead of the previous functions that I wrote to provide similar behavior.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 03:19:28 +00:00
Stefano Ceccherini
5235e06864 When you pass a negative number as Truncate() argument, the string is truncated to a length of 0 (before Truncate() just did nothing), because it makes more sense (there isn't any problem with R5 compatibility, because here R5's BString just crashed).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 16:10:00 +00:00
Axel Dörfler
1ff1332c77 The bootmaker now defaults to the endian of the host platform.
Fixed style issues.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 11:48:38 +00:00
Axel Dörfler
d9f08d808d The empty string ("", length 0) will now be replaced with ("", length 1) in
queries, to let the BPlusTree::Find() method search for it (there can't be
any keys in the tree with length 0).
That means that the query 'META:url=""' will now return all files where the
attribute "META:url" is present but empty.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 11:14:07 +00:00
Axel Dörfler
3b7911f105 We now check in bfs_rename() if the new name is the same as the old name
in the same directory - in this case, we will return B_OK (as nothing has
to be done to fulfill the request), instead of B_BAD_VALUE which would
be thrown later in the process.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 11:08:51 +00:00
Stefano Ceccherini
a8dee23ea0 A fix for a Replace function, some checks which makes the code
more robust, some style changes, some more comments.
Started to document the class with Doxygen comments.
(I made too many changes to keep the file local :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 10:19:56 +00:00
Michael Phipps
8bd24c033e Moved Tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 01:20:51 +00:00
Michael Phipps
f767d0eeab Changes due to better testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 01:19:16 +00:00
Michael Phipps
cf7199ba56 Many changes due to enhanced testing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 01:09:45 +00:00
beveloper
d6379053ba Made time sources mode BeOS R5 conforming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 17:54:20 +00:00
Stefano Ceccherini
cfe8d4a743 one more test for ReplaceSet(char, char)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 14:00:47 +00:00
Axel Dörfler
4fff689f48 Some minor updates:
arch_cpu: could have used the TLS_SIZE macro in one place, removed
a now unused variable, assignments to tss_loaded are now booleans.
thread.c: added the new fields to _dump_thread_info().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-08 09:27:55 +00:00
Axel Dörfler
dd8e42a8b4 Also changed the (void *) to (void **) variable in tls_address() here
(the same change has already been done in support/TLS.h).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-08 09:14:16 +00:00
shatty
e65350ba68 replaced by private header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 23:33:38 +00:00
shatty
63dee12c9a use private headers to allow removal of ObjectList.h
request: by jerome.duval@free.fr <jerome.duval@free.fr> 2003-01-07 01:06 am


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 23:33:11 +00:00
Michael Pfeiffer
69160efbcd Added comments and changed and fixed mistake in reg. expr. of table of contents cross reference definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:47:20 +00:00
Michael Pfeiffer
a5b12f1b3e Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:36:18 +00:00
Michael Pfeiffer
0f36fca33f Enabled pattern support.
Fixed bug in detection of destination of local link!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:36:00 +00:00
Michael Pfeiffer
cdef53218c Enabled pattern support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:35:09 +00:00
Michael Pfeiffer
d5962f0991 Removed out commented debug information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:34:46 +00:00
Michael Pfeiffer
1a0af2e086 Added "Title" to default keys.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:34:15 +00:00
Axel Dörfler
f9afe354bf Added some calls to find_thread(NULL) which does now work as expected
(as it uses TLS, have a look at OS.h).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:56:33 +00:00
Axel Dörfler
20726b7fb1 _create_thread() now correctly allocates the stack with REGION_ADDR_EXACT_ADDRESS
from the USER_STACK_REGION (until B_BASE_ADDRESS is available), made it much better
readable. It now grows from the lower USER_STACK_REGION up to the start of the main
thread's stack location.
Calls arch_thread_tls_init() and accounts for the TLS area in the stack region.
Added some comments, some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:48:01 +00:00
Axel Dörfler
59cbb92fdf team_create_team2() now also allocates a region for TLS in the primary stack
area. It now also calls arch_thread_init_tls(). Cleaned it up to make it more
readable, added some comments.
Some other cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:40:59 +00:00
Axel Dörfler
2a6fbb7f88 Removed some hard-coded values with definitions (mostly USER_x_SEG in arch_x86.S,
and TSS_BASE_SEGMENT in i386_set_tss_and_kstack() (thanks Daniel for pointing this
out)).
Added a arch_thread_init_tls() function which fills the reserved slots - the find_thread()
inline asm in OS.h is finally working.
Added some more comments, resolved the ToDo items from last time :-)
arch_thread_context_switch() now calls set_tls_context() at the correct location.
arch_thread_enter_uspace() now calls set_tls_context() as there is no context
switch in this case for the current thread after TLS has been set up, and it
now gets a pointer to the thread structure directly, and calculates the user
stack top itself, rather than the callee.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:33:30 +00:00
Axel Dörfler
ccfdaba3e9 Moved the errnop() function to the new TLS stuff.
We now have a separate errnop() for the kernel, which just references
a field in the thread structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:08:44 +00:00
Axel Dörfler
2d6ab447f9 Moved arch-dependent stuff to the correct location, no more #if __INTEL__
anymore.
Adapted tls.c to honour the reserved slots.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:05:27 +00:00
Axel Dörfler
0464331f06 The main thread didn't wait for the other threads.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:01:51 +00:00
beveloper
0e21b167c9 time sources now publish and retrieve timing information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 23:11:18 +00:00
beveloper
aac800c2d1 added SetTimeSourceFor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 14:24:08 +00:00
beveloper
a99e278308 added cleanup of dead nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 14:23:20 +00:00
Axel Dörfler
f143877df9 _start() now uses set_segment_descriptor() to initialize the GDT instead of
the direct values.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:33:59 +00:00
Axel Dörfler
39c5004d20 Replaced the select_test application with tls_test in the boot image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:31:26 +00:00
Axel Dörfler
19321ae5a8 Temporarily removed arch_selector.c from the build - it's currently not used
at all, and assumes a fixed and wrong number of preallocated GDT entries.

Implemented TLS: there is one GDT entry per CPU. If a context switch happens,
the FS register of the new thread is set to the matching GDT, and the GDT is
changed so that it points to the current thread's TLS storage area.
This area currently resides unsafely at the bottom of the user stack - for
some reason I could not figure out, it doesn't even work correctly most of
the time (it segfaults when accessing a slot via FS). I've added a ToDo item
explaining the situation - hopefully I have more ideas when I slept a bit more...

The GDT is now no longer static in arch_cpu.c and has been renamed from gdt to
gGDT. It's now also referenced in arch_thread.c, and it would make sense for
arch_selector.c to use it as well (instead of another local copy).
arch_cpu_init2() now uses the set_tss_descriptor() inline function and the
TSS_BASE_SEGMENT macro to set up the TSS section. It now also sets up the
TLS segment descriptors (as TSS, one entry per CPU).

Since I removed desc_table from the headers (the GDT is now a (segment_descriptor *)),
I added it locally to arch_int.c.
i386_enter_uspace() now don't set the FS register to 0x23 anymore, since it's
now already set correctly at the end of arch_thread_context_switch().

Some clean-ups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:25:01 +00:00
Axel Dörfler
722bf47f67 Added some ToDo items.
Smaller cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:10:54 +00:00
Axel Dörfler
1d661e3285 Just slightly changed a comment; there was more, but I removed that, and
I was too lazy to revert that little change back, so that I would be able
to write this short paragraph explaining what I've done.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:10:03 +00:00
Axel Dörfler
d703e5451d Removed an XXX comment question, and replaced it with an explanation of the
issue.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:08:13 +00:00
Axel Dörfler
831e32af8c Userland part of the TLS implementation for x86.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:05:09 +00:00
Axel Dörfler
1f149d94c4 Added a simple TLS test app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:04:21 +00:00
Michael Phipps
954674ddf8 Changes to mmap to make COPY and SHARED work correctly (I hope)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 04:49:58 +00:00
beveloper
de613a80e7 changes submitted by Christopher ML Zumwalt May
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 02:19:29 +00:00
beveloper
835140c89a better time source support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 23:35:07 +00:00
Matthew Wilber
1ab4cb426e Changed to use simple assignment in places where I used memcpy() to copy only 1 byte of data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 18:41:46 +00:00
beveloper
a30d6966c0 use another number
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:57:42 +00:00
beveloper
287f7492c3 more time source function...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:51:22 +00:00
Axel Dörfler
50808915da Removed unused file int.c.
Minor style changes in arch_vm*.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:56:53 +00:00
Axel Dörfler
e8bfc82801 Removed config_manager from the old location (now in src/add-ons/kernel/bus_managers)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:23:06 +00:00
Axel Dörfler
538ee6189c Moved the config_manager to the correct location and added it to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:21:19 +00:00
Stefano Ceccherini
7cf3b2f4b1 Documented the class, some small changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:01:45 +00:00