Commit Graph

3685 Commits

Author SHA1 Message Date
Axel Dörfler
154aaaf273 Removed B_NOT_SUPPORTED again - EOPNOTSUPP is a socket specific error code
and it should have read B_NOT_SUPPORTED_ON_SOCKET.
We could reintroduce it later (along with other missing network errors).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:38:45 +00:00
Matthew Wilber
60afeeca54 initial check in for PPMTranslator from BeOS R5 sample-code folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:17:30 +00:00
Matthew Wilber
fae8d042d5 added PPMTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:15:26 +00:00
Axel Dörfler
9de96ae6c6 Changed new codes after suggestions from Ingo and Marcus.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:08:33 +00:00
Axel Dörfler
dcec969499 get_driver_settings_string() now returns the new B_BUFFER_OVERFLOW code
if the buffer is too small for the settings string.
Added/changed some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 22:17:09 +00:00
Axel Dörfler
68145d0df8 Added some new B_* names for existing POSIX error codes - please review.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 20:37:43 +00:00
Axel Dörfler
5133bded7f Fixed some warnings that occured with -Wall - the tests should be compiled
with this by default, like the whole project, too.
Removed the B_FILE_NAME_LENGTH definition, since our headers are now correct.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 19:56:33 +00:00
Axel Dörfler
4a893da100 Added a license to the top of the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 19:33:05 +00:00
Axel Dörfler
6ab6d0fda4 Changed one of the built-in settings strings to test the new '=' behaviour.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 17:13:56 +00:00
Axel Dörfler
b1b0cf9114 The '=' symbol can now be used without surrounding white space: it will
be accepted between the parameter name and its first value - but it will
be added to any other values for compatibility reasons.
put_string() now correctly quotes strings if needed - the new put_chars()
function puts out a string unchanged (both only used internally anyway).
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 17:13:10 +00:00
Marc Flerackers
7ea7a8928a BMenuField
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:32:55 +00:00
Marc Flerackers
53056ca585 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:17:19 +00:00
Marc Flerackers
b7fdea42f4 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:05:30 +00:00
Marc Flerackers
67105bd61c Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:58:45 +00:00
Marc Flerackers
007ed8c58b Compilation fixes and BOutlineListView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:55:04 +00:00
Marc Flerackers
43802569fe Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:43:42 +00:00
Marc Flerackers
9cb2dbe29d Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:27:24 +00:00
Marc Flerackers
0e06ebe5d7 Lots of changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:49:36 +00:00
Marc Flerackers
8053a364e1 Assynchronous mouse hooks and correct handling of BRadioButtons in BBox-en :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:37:33 +00:00
Marc Flerackers
64603764f9 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:33:32 +00:00
Niels Sascha Reedijk
1e90e22397 Updated build instructions. This may attract more testers of the network kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 04:44:15 +00:00
Axel Dörfler
2c67210865 Added two more ToDo items so that I do not forget about them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 21:14:27 +00:00
Axel Dörfler
33aa726c5a Added extra new driver_settings API calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:46:13 +00:00
Axel Dörfler
659b432cab Now also uses CHECK_MALLOC to enable memory checking instead of MALLOC_DEBUG
directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:27:53 +00:00
Axel Dörfler
e5c72c1505 Added the memory checking support in the Jamfile; use "CHECK_MALLOC=1 jam"
to activate it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:26:20 +00:00
Niels Sascha Reedijk
a068a53e10 Update TODO accordingly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:43 +00:00
Niels Sascha Reedijk
99e393eacc I have changed the way packet reception is handled. Instead of managing it at
the interrupt handler, now it is done in the read_hook itself. This means that
less memory is used because the packet reception isn't double-buffered anymore.
It also wasn't the performance it I'd expect it to be (probably thanks to BeOS
scheduling!). The problem with the strange loss of around 50% of the packets
remains.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:09 +00:00
beveloper
7ee2c8049c Internal API rewritten, BMediaNode and derived classes functionality implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 18:17:56 +00:00
Matthew Wilber
8636b80151 changed identify string from "TIFF Image*" to "TIFF image*" so that it is more like Be's
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:45:34 +00:00
Matthew Wilber
8397ee2c8b added support for Fax Group 3 TIFF images that use the EOL ends on a byte boundary option and changed identify string from "TIFF Image*" to "TIFF image*" (more like Be's)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:43:54 +00:00
Axel Dörfler
4a5e9fec88 Updated some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:23:38 +00:00
Axel Dörfler
7862de2e87 Removed the old driver_settings.c file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:22:50 +00:00
Axel Dörfler
5d25f8fb7b Added the new kernel_os_main.o to the kernel build.
Replaced the "hostname" app with the "tls_test" in the standard build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:17:01 +00:00
Axel Dörfler
1907b4d0ca Added libroot/os/driver_settings.c to the build - this is now also part
of the new kernel_os_main.o object file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:14:36 +00:00
Axel Dörfler
3e758cd63f Removed the core/driver_settings.c from the kernel build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:13:24 +00:00
Axel Dörfler
25ce6eff93 Added a driver_settings test application. It parses all settings in
~/config/settings/kernel/drivers first, and then (re)parses some built-in
settings strings.
Use "-v" to enable verbose output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:08:14 +00:00
Axel Dörfler
7fc8f0544e Fixed addition of empty parameters in certain situations.
Improved the output of get_driver_settings_string().
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:03:49 +00:00
Axel Dörfler
b959dda1b7 This replaces kernel/core/driver_settings.c - its functionality will now
be available to userland applications as well.
Furthermore, the API & grammar has been extended. There is now a '=' allowed
between the key and its values. Also, '\n' can now be replaced with ';'. These
changes allow flat driver_settings strings.
It doesn't work perfectly right now, but it's a start. A test application
will be added soon, the kernel file will be removed soon as well, and the
build updated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 04:06:43 +00:00
Matthew Wilber
239df88d60 added test for image that uses T4 fill EOL byte
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:43:54 +00:00
Matthew Wilber
b87195f2a4 added signed types, fixed printing for unsigned types, added more detail for some fields, other minor improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:42:04 +00:00
Ingo Weinhold
5e56ad436e Delete the disk device manager when done. This is not only good practice, but also allows the manager to unpublish all partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:13:06 +00:00
Ingo Weinhold
e5e5ddc13a ep_scan_partition(): Removed erroneous check for cookie (it's unused here), and fixed child index counting.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:12:12 +00:00
Ingo Weinhold
08427f8cfc Publish partitions in _ScanPartition() and unpublish them in the destructor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:08:56 +00:00
Ingo Weinhold
f7672ebc25 * Made {Publish,Unpublish}Device() virtual and implemented them in
KPartition and as no-ops in KDiskDevice.
* Prefixed partition names with "obos_" to not interfere with R5's
  partition names.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:06:57 +00:00
Ingo Weinhold
205248dd7a Didn't deal correctly with files containing more than one module. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:11:44 +00:00
Ingo Weinhold
5609b2963b Added "shared" headers for BObjectList.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:09:38 +00:00
Ingo Weinhold
2609ebac90 Several fixes necessary to get the partition scanning working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:08:10 +00:00
Ingo Weinhold
07d370e32a Added tiny disk device manager test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:05:48 +00:00
Ingo Weinhold
852d12ef4c Ported the intel partitioning system module to the new interface
(disk device manager) and moved it to a nicer place.
First tests look good, though my hard disk structure doesn't even
have extended partitions. Going to install Linux now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:01:51 +00:00
shatty
be4ab5d842 use OBOS_CPU_TYPES so compiling with R5 header is still possible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 19:45:16 +00:00