Waldemar Kornewald
e336671a9b
Moved libkernelppp.a to add-ons/kernel/network/ppp/shared.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:16:14 +00:00
Ingo Weinhold
555b81adfe
Adjusted the test according to the new BPartition::Resize() semantics.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:31:01 +00:00
Waldemar Kornewald
06c8940fcf
Finished authenticator support.
...
libkernelppp.a should be feature-complete now. As it is completely untested we could call it _very_ early alpha stage.
The next task will be to add an interface module for our netstack. Some ioctls will be handled by PPPInterface, so libkernelppp.a will be modified in the next few days/weeks to support these ioctls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 17:53:09 +00:00
Philippe Houdoin
cbfc7b95e0
Ooops, memory leaked detected!!!
...
Fixed now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 07:52:52 +00:00
Philippe Houdoin
d07d632d7f
Fix a crash/bug rasing when read_next_module_name() current module is unload before next call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 00:56:37 +00:00
Axel Dörfler
ee9b3cfd75
Now links against the boottest file system modules, it doesn't build them
...
directly anymore (due to name clashes).
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:31:06 +00:00
Axel Dörfler
7be68ba5e7
Does now return the correct size if the handle belongs to a real file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:29:05 +00:00
Axel Dörfler
2430b4ed28
Added Jamfiles to build the userland boot file system modules to a
...
different directory than the main boot loader test application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:20:12 +00:00
Waldemar Kornewald
c2a58f5169
Added MRU option handler.
...
Fixed wrong definition of MRU.
Added the StackControl() method to all handlers (expect PPPDevice) and changed how the netstack ioctls are passed to the handlers.
Added a template for iterating over indexed lists (needed methods: CountItems() and ItemAt()). This simplified StackControlEachHandler() a little bit.
Some minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-14 13:24:24 +00:00
Waldemar Kornewald
7ff713dadd
Replaced some pointers with references.
...
Added support for Protocol-Field-Compression including the needed handler.
Added initial support for ppp_manager's ioctl() function (currently, PPPInterface does not handle any ioctls). These calls are routed to all handlers, too (if PPPInterface did not handle the ioctl).
Changed naming of local states and report codes (authentication, etc.). These now have "Local"/"LOCAL" in their name.
Some minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-13 17:57:12 +00:00
Axel Dörfler
0ec3701b5f
Removed check-memory-usage flags as that wouldn't work on R5 (it was distributed
...
without memory checking - you would have to download an extra library to get it).
Added the strlcpy() command, since it's not part of the R5 libroot.so.
Should now build on R5 as well (not tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-13 01:13:27 +00:00
Waldemar Kornewald
53a75b6389
Added some extended support for DialOnDemand.
...
Fixed missing ifnet flags.
PPPStateMachine: replaced nearly all pointers to PPPInterface objects with references.
PPPInterface: added delay to Redial() method (will be used to implement DialRetryDelay, too).
PPPLCP: changed the way Receive() handles LCPExtensions and added code for removing padding from packet.
PPPOptionHandler: added code and only one OptionHandler per code is allowed from now on.
Added some changes to support authenticators.
TODO:
- add DialRetryDelay
- maybe change how StateMachine iterates over OptionHandlers (as they have a code field now)
- commit changes for PFC support and PFC, MRU, and authentication handler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 15:27:29 +00:00
Axel Dörfler
c6c1620a32
Added/changed some test input strings. Removed an unused variable.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:48:39 +00:00
Axel Dörfler
e6889ed1a3
Added the new BFS files BPlusTree.cpp and File.cpp.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:40:27 +00:00
Axel Dörfler
3e64cf641c
No longer scans the whole /dev/disk tree, but only the "ide", "scsi", and
...
"virtual" subtrees in it (no more parallel, ... scanning).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:14:03 +00:00
Axel Dörfler
4e91b25740
Tried to use stat() to get the size of the file, but of course, that don't
...
work out for devices - still need to fix it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:12:55 +00:00
Tyler Dauwalder
c52519cfcd
Switched from local cpp.h/cpp.cpp to global kernel_cpp.h/kernel_cpp.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 06:38:49 +00:00
Axel Dörfler
184dd21b87
Adds the new Stream.cpp file to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 02:29:33 +00:00
Axel Dörfler
b796791788
Now adds real devices - it scans the /dev/disk tree and adds all files
...
with the name "raw" - note, this is directly accessing your precious data,
but read-only of course.
Also added the test-file-device as used by the DiskDeviceManagerTest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:20:07 +00:00
Axel Dörfler
fe281d90df
Now has the possibility of opening a file directly, instead of only
...
accepting already opened files.
Hence, it now also has an InitCheck() method, because opening doesn't
have to succeed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:18:02 +00:00
Axel Dörfler
fa89d1f6f3
Now exports the calls of the boot loader heap no longer the platform dependent
...
bindings - we are now using stdlib's malloc()/free() directly instead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:16:38 +00:00
Axel Dörfler
6b770349d5
Added partitioning and file systems to the build.
...
Removed the boot loader heap - it now uses standard malloc()/free() in order
to cause less confusion. The boot heap does have its own test app anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:15:13 +00:00
Ingo Weinhold
508fd666f4
Replaced ObjectDefines by the newly introduces ObjectsDefines and replaced BuildPlatformTest by SimpleTest (that's, how I understood Axel's previous comment, what he wanted in the first place).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 20:50:46 +00:00
Axel Dörfler
9a7a3f03c1
While "BuildPlatformTest" doesn't define OBOS_TEST, "ObjectDefines" doesn't
...
seem to work in combination with "SimpleTest".
As I am too lazy to figure out what's causing this, I hope for Ingo :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 18:17:09 +00:00
Axel Dörfler
8c7387275b
Added support for BeOS; Handle.cpp uses read_pos() now, and will define
...
that to pread() if read_pos() doesn't exist.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:49:03 +00:00
Axel Dörfler
0547046085
Added the userland boot loader test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:32:24 +00:00
Axel Dörfler
9e20549fb6
The boot loader heap test now defines HEAP_TEST in order to let heap.cpp
...
export dump_chunk().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:31:31 +00:00
Axel Dörfler
572edf3377
Added the start of a userland boot loader test (i.e. userland platform
...
bindings for the stage2 boot loader).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:28:58 +00:00
Tyler Dauwalder
a64f0e9fc2
Now uses new SinglyLinkedList template parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:22:27 +00:00
beveloper
ab709bea16
A simple player that can play 44.1 kHz 16 bit stereo wav files using BSoundPlayer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:03:31 +00:00
Waldemar Kornewald
bc981e9a90
Removed BLocker implementation from PPP and added disk_device_manager to source search path so that we reuse the existing files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 17:16:27 +00:00
Ingo Weinhold
bfdb37cc03
Check in per Jeremy Rand: Added BBlockCache unit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:53:03 +00:00
Waldemar Kornewald
5e97ad44cc
Forgot to test if it builds. :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 23:58:58 +00:00
Waldemar Kornewald
283ad63871
Added some helper functions and improved PPPLCPExtension handling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 23:54:35 +00:00
Waldemar Kornewald
b8561cdd29
Added PPPLCPExtension (allows additional codes for LCP).
...
Added Control() op codes for report enabling/disabling.
Fixed memory leaks in StateMachine and LCP (packets were not freed).
Some minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 17:13:51 +00:00
Waldemar Kornewald
a602502a7e
Finished first set of needed features (tests will follow as soon as the needed kernel modules are available).
...
Next step will be to add:
- Protocol-Field-Compression support (including PFC handler)
- MRU option handler
- ?simple authentication option handler (helper class)?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 01:00:12 +00:00
Waldemar Kornewald
d3b140a64c
Splitted implementation into kernel space (K-prefix) and user space headers. The former will become private headers while the latter will be moved into the headers/os/ hierarchie (where exactly is uncertain at the moment).
...
Added some control/ioctl ops.
Moved KPPPUtils.h to headers.
Limited the name length of each handler to a maximum of 255 characters (not including the zero-byte).
Removed PPP_ACTION from (K)PPPDefs.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 19:40:36 +00:00
Waldemar Kornewald
5a78bc1802
Added newline at the end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 14:28:23 +00:00
Axel Dörfler
3f4524a309
Improved the test application: it now accepts a test disk image as first
...
parameter (else it falls back to the old behaviour, trying to open
/boot/home/tmp/test-file-device).
Also fixed the hackish busy loop to at least snooze() a bit (so that it
doesn't use all your CPU energy while debugging a partitioning module :-)).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:33:14 +00:00
Axel Dörfler
4f5bd2b685
Added the amiga_rdb and apple modules to the list of dependencies for the
...
disk device manager test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:31:01 +00:00
Waldemar Kornewald
2ad1aefdd6
Added an emtpy line to the jamfiles.
...
Replaced spawn_kernel_thread with spawn_thread (KernelExport.h will do the distinction between kernel mode and userland).
Changed PPPLCP::Send().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 14:12:33 +00:00
Ingo Weinhold
b4ab1122e7
LOCATE_SOURCE -> SEARCH_SOURCE.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 18:15:05 +00:00
Ingo Weinhold
f7c4d28f8c
Added ppp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 18:13:16 +00:00
Waldemar Kornewald
0d80a4595f
Added libkernelppp.a to the build (although it does not build yet, I need help to fix the problem).
...
Fixed all warnings and errors (except from the one mentioned above).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 16:29:24 +00:00
Waldemar Kornewald
990e20ecdf
Implemented nearly everything.
...
TODO:
- implement Control() methods
- write an authentication option handler
- write an MRU option handler
I will need to write the jamfile...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 12:40:25 +00:00
Tyler Dauwalder
d72bf645f0
vfs_interface.cpp => udf.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:56:18 +00:00
ejakowatz
169ae2662c
Fixed minor warnings (signed/unsigned compare).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:30:27 +00:00
Waldemar Kornewald
c9aa6219cc
Forgot to remove AccessHelper.h. :)
...
The manager will take care of all accessing threads.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 12:59:28 +00:00
Waldemar Kornewald
3118bf2206
Finished:
...
- PPPDevice
- PPPEncapsulator
- PPPOptionHandler
- PPPProtocol
Added SendCodeReject implementation (though, I am not sure if it really works because I am not familiar with mbufs).
Fixed some bugs.
Changed the manager interface (there are no pointers to classes anymore).
Some minor changes.
TODO for libkernelppp.a:
- finish PPPLCP
- finish PPPConfigurePacket
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 12:57:59 +00:00
ejakowatz
13ab4decd9
First test of messaging in libopenbeos.so!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 04:55:38 +00:00
Axel Dörfler
6fb692ef97
Added some more test dates, nicer output.
...
Reveals some bugs in the original parsedate() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 02:11:16 +00:00
Waldemar Kornewald
8758b5ade6
The code looks much nicer with a copyright message. ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 09:57:53 +00:00
Waldemar Kornewald
5c7a44d436
Added empty .cpp files for the remaining classes.
...
Finished Down().
Added input queue to PPPInterface.
Added initial timeout handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-24 19:43:20 +00:00
Axel Dörfler
c6a70c8d1b
Added a test application for the parsedate() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:34:10 +00:00
ejakowatz
2605a4f5ef
These message tests now pass.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:00:17 +00:00
Waldemar Kornewald
103501d9d7
Some comments were not understandable.
...
Added a new case when to destroy interface (when Up() failes and DialOnDemand is disabled).
Forgot some to remove fUpThread in Up().
Changed UpFailedEvent() so that it pretends a connection-lost event (so we can try to redial).
Added ResetOptionHandlers() and DownProtocols/Encapsulators().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 11:41:24 +00:00
Waldemar Kornewald
3c39df3d0b
Finished Up().
...
Redial needs one additional case to be complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 10:40:45 +00:00
Waldemar Kornewald
aa4dee1bda
Some minor changes.
...
Started to get familiar with the code, again. ;)
Some _very_ small work on Up().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 11:51:27 +00:00
shatty
23e88e5ee2
expose buggy R5 behavior in a test so that we will not have the same bug (btw, we do not)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-09 04:30:43 +00:00
Stefano Ceccherini
bc0ea15dd4
On behalf of Jeremy Rand, BRegion tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 06:46:06 +00:00
shatty
4b45d1a25c
include StorageDefs.h for B_WRITE_ONLY and related friends
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:38:48 +00:00
Philippe Houdoin
6b23a6cea3
New "atomizer" add-on faked-kernel module installation instructions added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:37:22 +00:00
Philippe Houdoin
6e520af3a1
Commit Be Inc. sample code string atomizer module, as we need it in userland
...
(add-on) version too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:35:03 +00:00
Philippe Houdoin
aec1a1ebb1
Start to use new buffer attributs feature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:28:06 +00:00
Ingo Weinhold
dd9bd594bb
Fixed old test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 23:52:27 +00:00
Ingo Weinhold
05ab7dec5e
Now prints out information on scanning jobs and waits for them to finish.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:54:20 +00:00
Waldemar Kornewald
4d1fb4b669
PPPReportManager had some old port code.
...
Added checking for sender to report system.
Worked on StateMachine and added cases where the interface should be deleted.
Added some flags (report and protocol) and report codes.
Started implementing Up().
Some minor changes (comments, multilink).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 11:54:35 +00:00
Waldemar Kornewald
d7344480f1
Register/UnregisterInterface() are now private.
...
Moved report code into its own class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 10:03:36 +00:00
Waldemar Kornewald
ff3b40e0da
Changed the report system to use threads.
...
Unfortunately I need threads for this (because reports will be used in Up()/Down() and always creating a reply port is not very nice).
Does anyone have a good send/receive_data_etc() implementation? :) I hope our kernel will get that functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 18:17:26 +00:00
Waldemar Kornewald
cdb26db4b8
Implemented report methods for interface and began first connection reports.
...
Added some changes.
Next tasks:
Up/Down()
Redial()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 17:34:45 +00:00
Philippe Houdoin
0ed16d99cb
Fix some typos...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 01:12:00 +00:00
Philippe Houdoin
5e17f61acf
Small new_stack progress...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 01:11:05 +00:00
Waldemar Kornewald
7335f587be
Worked on multilink support.
...
Event/action code should be finished soon.
TODO for libkernelppp.a:
- reports
- redial
- PPPInterface::Up()/Down()
- all other classes (not very much work)
- LCP protocol
- MRU and protocol-field-compression (needs some addition to PPPInterface, too) option handlers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-25 11:43:22 +00:00
Waldemar Kornewald
ec3447e61f
Worked on events and actions.
...
StateMachine now waits until all protocols/encapsulators have finished going up before entering next phase.
Added StateMachine methods to support main interfaces (multilink).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 12:00:53 +00:00
Waldemar Kornewald
4c7e909c5f
Renamed PPPFiniteStateMachine into PPPStateMachine (the name was tooooo long).
...
Added some more events.
Added UpRequested methods to protocols/encapsulators.
Worked on actions and events. Also added some checks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-23 13:03:35 +00:00
Ingo Weinhold
d50af9662a
Now resizes a (shadow) partition and cancels the modification.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:21:14 +00:00
Ingo Weinhold
4c4722dd9e
Added the shared private headers again, since BObjectList is used in the API now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:39:50 +00:00
Ingo Weinhold
14fa3c6b01
Also prints the disk systems' capabilities now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-18 18:46:17 +00:00
Waldemar Kornewald
7aa79f33d8
Moved OptionHandlers to LCP (where they actually belong).
...
Added some initial code to get general (as far as possible) multilink support (the modules must be aware of whether they belong to the device or to the bundle).
PPPDevice now reports speed and number of bytes in the output queue.
Removed PPP_CTOR_DTOR_PHASE. Modules can be loaded in PPP_DOWN_PHASE.
Worked on events and actions.
Some minor changes/fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 16:46:08 +00:00
Waldemar Kornewald
b912b1e24f
FSM will be renamed to FiniteStateMachine. I will commit the new file later because I am working on it and when I "co" the OBOS source it gets it always comes back again. ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 16:34:13 +00:00
Ingo Weinhold
7fcdfb5fb8
Added registration of a file device and invocations of {Prepare,Cancel}Modifications(). Looks good so far.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:23:47 +00:00
Ingo Weinhold
b8ea76bfc3
The KDiskDeviceManager::CreateFileDevice() parameters changed slightly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:21:43 +00:00
Tyler Dauwalder
0524d8feef
- Added DirectoryIterator.cpp and Utils.cpp to the build
...
- Added kernel utils to header search path
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:55:50 +00:00
Waldemar Kornewald
06a35e5e82
Added some comments.
...
Added lcp_packet structure.
Changed reference style.
Changed some names.
Added general events.
Completed most events.
Copy constructors and assign operators are now private (just to be on the safe side ;).
SendToDevice() now checks if the packet is small enough.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 11:08:44 +00:00
Philippe Houdoin
2754c9f637
Update after recents net_stack_driver.h changes and make build again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 01:15:40 +00:00
Ingo Weinhold
dfe606b688
Some changes due to changes in the API. Added disk system iteration.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:33:57 +00:00
Ingo Weinhold
671a745561
Modified the visitor implementation a bit. The Visit() with the BPartition* argument now also gets the level of the partition in the hierarchy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 18:26:15 +00:00
Ingo Weinhold
c54d68a84e
Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 17:38:45 +00:00
Ingo Weinhold
fb28706b69
Re-enabled Disk Device API test. Well, almost the complete old code is commented out. ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 23:14:00 +00:00
Ingo Weinhold
865fc3ef0f
Defined a pseudo target for disk system modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 23:12:05 +00:00
Waldemar Kornewald
0491e1650c
Initial checkin of ppp stack.
...
Still far from being complete.
Comments are welcome.
In brief: Stack will be modular and written in C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 16:46:29 +00:00
Axel Dörfler
307303f592
Forget to complete the comment here, too...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 13:41:46 +00:00
Axel Dörfler
ee01d86fb8
Added the implementation of strnlen() and strlcat() as they are not part
...
of the R5 libroot.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 13:26:03 +00:00
Ingo Weinhold
2386ff94ad
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 12:30:23 +00:00
Tyler Dauwalder
51848a1ea2
Added CS0String.cpp and Icb.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:25:00 +00:00
Ingo Weinhold
5b489f6f16
Got rid of the List template class in the disk device manager source dir. Instead we use the Vector based Kernel Utils classes now. Various related changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 16:29:33 +00:00
Ingo Weinhold
aabf9e6b16
Oops, seems that I forgot to commit the header for VectorMapTest. It utilizes the OrderedMapTest class and doesn't do any testing by itself anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 16:25:47 +00:00
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
a9083a5d91
Templatized the VectorMapTest class. It's now called OrderedMapTest
...
and allows to test arbitrary map implementations as long as their
entries are ordered. Added a test for the ImplicitKey strategy for
VectorMap.
Just to make a statement: Our tool chain sucks! It took me three hours
fighting with the compiler until I got a version that didn't make it
run into internal compiler errors or unimplemented features. *sigh*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 03:24:16 +00:00
Ingo Weinhold
76aa3218cb
Added unit tests for VectorMap.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:38:32 +00:00
Ingo Weinhold
b3cb5e6061
Some more thorough checking of Find(), which revealed small problems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 00:56:16 +00:00
Ingo Weinhold
97f7fee9ef
Added unit tests for VectorSet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 00:54:43 +00:00
Ingo Weinhold
c303352a8e
Added unit tests for the Vector implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 19:46:22 +00:00
Ingo Weinhold
18c5b0ca7b
Added kernel utils test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:52:24 +00:00
Ingo Weinhold
d2f5407bb8
Added an empty test for AVLTreeMap, but uncommented it, since it doesn't compile with our broken compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:51:58 +00:00
Axel Dörfler
320b131c05
Now with all obstacles removed, added the bootloader heap test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:15:43 +00:00
Axel Dörfler
db48f1ebbe
Now it does also build on non-BeOS platforms...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:14:14 +00:00
Axel Dörfler
4182dd7c6e
This fixes the incorrect inclusion of our stdio.h header - it will now include
...
the platform native stdio.h on BeOS and Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:11:11 +00:00
Ingo Weinhold
0843d5108a
Minor changes. The file for the file device lives now in ~/tmp instead of /tmp to be persistent.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:06:46 +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
Axel Dörfler
cc74989eb6
Utilizes the new BuildPlatformTest rule - added a comment on how to build
...
this test correctly with the current posix headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:58:35 +00:00
Axel Dörfler
e548161b59
A Jamfile for the heapTest.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:11:25 +00:00
Axel Dörfler
4f621b0aa3
Jamfile to build the thing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:10:19 +00:00
Axel Dörfler
1f001dfa88
A test application for the boot loader heap allocator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:09:30 +00:00
Ingo Weinhold
b4ec16d069
Removed the disk scanner tests from the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:54:02 +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
Tyler Dauwalder
1fe39d4d37
Tests for the SinglyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:47 +00:00
Tyler Dauwalder
17befbdd60
Add-on for the KernelUtils test suite.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:01 +00:00
Tyler Dauwalder
97d879b51e
Jamfile for the kernel utils tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:56:38 +00:00
Ingo Weinhold
1dc16d7092
Added BFS module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:17:26 +00:00
Ingo Weinhold
d6788c75c2
Dump()s the devices now and creates a file disk system.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:17:02 +00:00
Ingo Weinhold
e38b62f20d
Fixed a bug I recently introduced.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:13:08 +00:00
Axel Dörfler
274e6fefaa
Removed the new_vnode() timeout for busy vnodes.
...
Fixed the op-description send_notification() gives - notify_listener() now
only prints out the op value, since it will call send_notification() anyway.
The tracker doesn't try to query files on B_ATTR_CHANGED or when node == 0,
or name == NULL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 00:01:12 +00:00
Axel Dörfler
55288b8eda
Added a sys_open_entry_ref() call to the VFS layer.
...
Implemented the beginnings of a Tracker like mode in the fs_shell - started
and stopped using the new "tracker" command; it will get all notifications
the file system sends.
Right now it's very simple, it just opens the file, does a stat(), and closes
the file again, and guess what, I could reproduce our favourite problem with
it!! So it will be finally fixed in the next few days.
Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 22:02:23 +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
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
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
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
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
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
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
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
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
Axel Dörfler
58453f3bbb
Now sets the magic value in the check_control structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 01:04:22 +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
Axel Dörfler
6c66b99b6b
The fs-shell kernel's PANIC() now calls the userland debugger.
...
Fixed a wrong printf argument (block number is %Ld) in release_block().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:04:53 +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
Tyler Dauwalder
9b6661b079
Added PartitionMap.cpp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:10:56 +00:00
Matthew Wilber
b17c6f4bc0
added BApplication object to TranslationTest so that the call to system_colors() in TGATranslator would succeed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:53 +00:00
Matthew Wilber
fe2aacfad7
added BApplication object so that the system_colors() function call in BMPTranslator code would succeed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:00 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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