Philippe Houdoin
239aa01846
Moved ethernet and loopback "interface" module to new net_layer API.
...
Added an skeleton arp net layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:58:38 +00:00
Philippe Houdoin
800e122ddc
Merge net_protocol and net_interface modules API into a single net_layer one...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:57:02 +00:00
Philippe Houdoin
3945152869
datalink.[c|h] -> layers_manager.[c|h]
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:53:03 +00:00
Ingo Weinhold
7a424c3923
* Renamed virtualdrive.c to .cpp to be able to use the saner syntax.
...
* Improved the driver: It now publishes a control device and ten `data'
devices. Via an ioctl one can assign an arbitrary file to a free data
device. (The devices are published in /dev/misc instead of /dev/disk to
prevent them from being scanned by the Tracker and DriveSetup.)
* Added a small command line tool to (un)register files that way.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:45:03 +00:00
Ingo Weinhold
6ab18748f3
Removed invocations of UsePublicHeaders, which was a no-op anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
Ingo Weinhold
ae76aede51
Added TestApp.{cpp,h}, since tests using the BTestApp class defined in
...
libcppunit.so don't work anymore with it, since it uses the BApplication
code of libbe.so. Several tests still fail now, but none crashes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:32:37 +00:00
Ingo Weinhold
a3b4d9e9de
Removed the tests for version 1.x of the DiskDevice API from the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:48:40 +00:00
ejakowatz
0cc48ce6f9
Unit tests to ensure robust handling of bogus params to convenience funcs
...
plus fixes for the bugs they exposes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:22:08 +00:00
ejakowatz
c5d8f91d81
Unit tests for BFlattenable convenience functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 04:37:06 +00:00
ejakowatz
8e8e1cf6c1
The libapptest.so and libapptest_r5.so addons were getting so big they
...
couldn't be loaded anymore (and were causing bdb to crash). So a stub is
loaded instead (libappteststub/_r5.so) which links directly against the
actual libraries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:25:44 +00:00
ejakowatz
7dc2890fbb
Unit tests for the Pointer convenience functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:23:41 +00:00
ejakowatz
87142a1ecf
Unit tests for convenience functions for BMessenger.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 23:37:54 +00:00
ejakowatz
c48aa159a5
Minor tweaks to try and get the remote object stuff working again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:24:29 +00:00
ejakowatz
159d60f9fb
Unit tests for plain C string convenience functions. Tweaks elsewhere to
...
deal with necessary modifications to test core.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:19:35 +00:00
Ingo Weinhold
5c35d41aab
AddResources must precede the rule for building the target.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 15:20:14 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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