Commit Graph

461 Commits

Author SHA1 Message Date
beveloper
b0648a6542 updated to use argv[1]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 13:41:15 +00:00
beveloper
0238e54c3b test programs for the codec api
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-04 01:28:59 +00:00
Matthew Wilber
a380109af0 Added workarounds for problems with Be's version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 13:59:02 +00:00
Matthew Wilber
7206521bed Changed to reflect new behavior of BBitmapStream, and prevent testing of buggy behavior in Be's BBitmapStream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 13:17:27 +00:00
Matthew Wilber
547692fa51 Fixed paths used by BTranslationUtils::GetBitmap[File] to work with the behavior of Be's and the fixed OBOS version of BTranslationUtils::GetBitmap[File]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:10:01 +00:00
Michael Pfeiffer
93e2dd77fb Renamed Preview test app to ShowPrintJob to avoid name conflict with Preview printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:14:11 +00:00
Axel Dörfler
a5589a93b1 Fixed compilation on Dano.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:45:24 +00:00
Ingo Weinhold
3d2fa2ae20 Wait until jobs are done after committing the changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 22:07:57 +00:00
Philippe Houdoin
fcb83407a1 First draft of a NetworkSetup preflet AddOn interface. Dummy addon included...
Local (BoneYard or not) add-ons should not be under a sub-folder ./add-ons/boneyard/
anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 08:54:21 +00:00
Philippe Houdoin
c9d511cb96 Ooops, should not have do that!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-26 10:12:03 +00:00
Philippe Houdoin
de1d689ea6 new_stack/* is not ready for building.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 15:32:20 +00:00
Philippe Houdoin
ccf758f9de net_server -> net_stack_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:38:12 +00:00
Philippe Houdoin
00699b83a9 Update to new net layer API...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:31:19 +00:00
Philippe Houdoin
6e1d6a3f8b Import my new skeleton/prototype add-ons based Network preflet.
Currently it offer a minimal host app for Boneyard add-ons, if any, and
expect to find some profiles sub-folders in /etc/network/profiles/*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:24:09 +00:00
Philippe Houdoin
9c63790cc5 Check-in recent changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:12:56 +00:00
Philippe Houdoin
6f073e3ca9 Add control() support to stack layers modules
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:11:42 +00:00
Philippe Houdoin
82a6b372bd Check-in my prototype Network preflet skeleton, in his -poor- current state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:10:54 +00:00
Philippe Houdoin
6ae4ca3af1 Add a find_layer() function to stack API, and start control() support to
control any stack module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:54:07 +00:00
Philippe Houdoin
917c92eeed Check-in often, they says...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:52:42 +00:00
Philippe Houdoin
849882f4f0 Who needs an extra enumerators ref counter when you already have a ref counter!?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:12:53 +00:00
Ingo Weinhold
5f6d915707 Commit the partition modifications (uninitialize, resize). Lo and behold, the correct jobs are created and executed. They just need to be implemented completely. :-P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:51:12 +00:00
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
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
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
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
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
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
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
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