Commit Graph

1032 Commits

Author SHA1 Message Date
Matthew Wilber
f08ccd9586 updated quality/capability numbers, changed for new version test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:10:58 +00:00
Matthew Wilber
ba75d70283 udpated quality/capability numbers, changed for new version test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:09:17 +00:00
Matthew Wilber
39bd440993 updated for new version test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:08:29 +00:00
Matthew Wilber
4380aa029e Fixed translator version test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:06:47 +00:00
Axel Dörfler
b14df7ac85 Now also checks the SetTarget() functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:29:01 +00:00
Axel Dörfler
8c37ad5595 Now opens three other windows to check against B_DOCUMENT_WINDOW_LOOK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:10:03 +00:00
Axel Dörfler
a8c4af5a80 Changed so that it can test the resize behaviour of the scroll view.
Added SetBorder() test.
You can now enable the additional tests more differentiated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 17:06:08 +00:00
Axel Dörfler
c81fdc88cc Added some output to test archiving functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 15:05:40 +00:00
Axel Dörfler
1815b1b00d Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 07:40:06 +00:00
Axel Dörfler
7a3ca20551 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 06:58:53 +00:00
Axel Dörfler
8afcf72a6a Added a small visual test for the BScrollView class: it will create a window
with all possible different scrollview combinations (horiz/vert/border/highlight).
The Jamfile will build two versions, ScrollViewTest and ScrollViewTest_r5;
the former compiles our ScrollView.cpp in, while the latter just uses the
one in libbe.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 06:33:57 +00:00
Ingo Weinhold
1b89aa98ff Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 21:38:04 +00:00
shadow303
8e900a6933 Clean up a couple warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 02:26:27 +00:00
Philippe Houdoin
0669f665be Remove this stupid cyclic dependency I once introduced...
Should unbreak the userland net stack build process.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 22:50:42 +00:00
Philippe Houdoin
1c60b2d928 Move memory_pool.h under headers.
Move back under new_stack/memory_pool the source, as it's not ready for
prime time (just a  quickly hacked implementation today)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 00:11:48 +00:00
Philippe Houdoin
2ba838b92d - Remove the "Depends" rule I added making new_stack_tester depending on
userland new stack modules, as they can't be build first, 'cause they depends...
yep, on new_stack_tester! Stupid me.
- Add netperf to build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 23:35:42 +00:00
Axel Dörfler
16957551b4 Also allow a partial allocation group as the last one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:12:04 +00:00
Axel Dörfler
a957866a22 Fixed blocks_per_ag bug and added some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:05:12 +00:00
Waldemar Kornewald
a9087159ca Removed libkernelppp source directory from headers because settings_tools.h is now in the headers folder.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:05:51 +00:00
Philippe Houdoin
23a3945388 Fix a copy-paste typo breaking userland modem network module build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-04 22:39:08 +00:00
Philippe Houdoin
fde3380af0 Add route to pseudo target userland_network_modules...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:08:26 +00:00
Philippe Houdoin
c1fd3cbf7c Add route protocol to userland stack modules build list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:06:56 +00:00
Philippe Houdoin
54908015c8 route network modules added to userland stack version too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:04:33 +00:00
Philippe Houdoin
66de4e82ff Build netserver too, and install netperf scripts too...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 21:50:05 +00:00
Philippe Houdoin
d5ed0fc135 Quick fixes to allow netperf to build. That's still warnings-ridden...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 21:36:36 +00:00
Philippe Houdoin
9eb55bc1d1 Forgot to update userland network versions of modules should now be placed in an
obos_network folder, like kernel version, otherwise their module names root don't match
the NETWORK_MODULES_ROOT ("obos_network/").


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 12:11:05 +00:00
Axel Dörfler
6ebe15a039 Added support for properly initializing a file system without issueing any
cache warnings.
Now prints out actual useful information with the -v option.
Removed DEBUG from the build, so that it's now silent and can be used as
a replacement of the original.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:17:59 +00:00
Axel Dörfler
77c235a2e4 Encapsulated parts of the functionality from sys_mount/unmount() in supplementary
functions that can be used by the "mkbfs" command (and similary ones).
Also added a kill_device_vnodes() function which should be called before removing
the cache in the file system's "initialize volume" function - again, its use is
intended for the "mkbfs" utility only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:13:11 +00:00
Axel Dörfler
f00b71c38d Added a basic Jamfile that tries to build the netperf test application.
Probably doesn't work, but it can be used as a template :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 01:26:22 +00:00
Axel Dörfler
50304661f3 Uncomment the lines when you want to build anything from them.
Note: if anything in this Jamfile builds properly, it should get
part of the build, right?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 01:24:46 +00:00
stmansfield
f0646cc681 Apologizing to the open-beos-cvs list...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:34:50 +00:00
stmansfield
31647a1839 Initial checkin so I can regress to the original sources in case I do something really stupid!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:32:26 +00:00
Philippe Houdoin
74c928840f Fix IPv4 Addresses Network Byte Order mistake.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 11:42:20 +00:00
Axel Dörfler
42b671e397 Fixed the bfs_shell build from other directories, thanks to Ingo!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:27:06 +00:00
Axel Dörfler
a3acf1f210 Now defines UNSAFE_GET_VNODE when compiling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 00:51:04 +00:00
Philippe Houdoin
313aa5fc08 Attributes support evolution. Now layers support attributes too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:04:38 +00:00
Axel Dörfler
4d61634cbe Added more (and conditional) debug stuff -- currently turned off.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 22:41:49 +00:00
Axel Dörfler
55ba8e3830 Changed the prompt of the bfs_shell, so that I can't confuse it with the
fsh command (which is part of BeOS for some unknown reason).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:59:44 +00:00
Axel Dörfler
753f8791b9 Added support to change the prompt (at compile time for implementations).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:58:32 +00:00
Axel Dörfler
fb1146f245 Improved debug output; added thread information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:50:00 +00:00
Axel Dörfler
9dea85013f Make sure that the local "Debug.h" is actually used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:48:21 +00:00
Axel Dörfler
9e6ec53a18 You can now specify all important options on the command line.
Now does a sync() after the changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 23:10:31 +00:00
Philippe Houdoin
9f9f78217c Fix warning, and let's dump_ipv4_header() now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 10:22:19 +00:00
Philippe Houdoin
eb0b2846e8 NOw that's moved to Jamfiles build, no need for build instructions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:09:08 +00:00
Philippe Houdoin
58cdaa07fb Add new code reorg files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:05:13 +00:00
Axel Dörfler
a98a451545 Added a small test application that uses the same allocation group algorithm
as (our) BFS, so that you can play with it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 02:37:29 +00:00
Axel Dörfler
afd7a6e6ce Added a new "stattest" command that permanently stat()s a file that is
being created and removed without a break.
That test is finally able to reproduce the bugs we are seeing in the
kernel but that never occured in userland - thanks *very* much to
mmu_man who found the shortest way to trigger it.
Just run it for a few minutes and it should happen (press "return" to stop it).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 01:17:22 +00:00
Axel Dörfler
c10586fe0d Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 12:35:00 +00:00
Axel Dörfler
e0014cf657 Reduced the block cache size a bit.
Set the volume ID to 1 now - that's a hack to get it working until
we have better support from fs_shell's kernel.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 03:39:03 +00:00
Axel Dörfler
a447f8b11c Added an initial mkbfs test app (it's intended to be used under R5).
Hardcoded device file to "/boot/home/test-device" - more to come :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:59:00 +00:00
Axel Dörfler
7410cb93f2 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:54:49 +00:00
Axel Dörfler
437490577d Added the USED_IN_FS_SHELL define.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:51:12 +00:00
Axel Dörfler
eb02489701 Bound the tracker feature to a USED_IN_FS_SHELL define (to allow building
in other environments, too).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:47:24 +00:00
Axel Dörfler
ddb013472a Switched to kernel_cpp.cpp/h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:45:21 +00:00
Axel Dörfler
14795a07ba Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:42:16 +00:00
Axel Dörfler
8d0b31a063 Fixed warnings.
Minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:25:50 +00:00
Axel Dörfler
b103e03a71 Switched to kernel_cpp.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:13:57 +00:00
Axel Dörfler
d3d255f3a9 Got btree test to build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:11:19 +00:00
Axel Dörfler
6fbc2b70db Updated for change in the debug mode.
Switched to kernel_cpp.cpp/h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:04:20 +00:00
Waldemar Kornewald
37eee613ca Updated PPP stuff of userland netstack tester.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:48:59 +00:00
Axel Dörfler
db95389956 Added a program to test the == and < operator of media_format_description.
Revealed some bugs in our previous implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 06:41:19 +00:00
Axel Dörfler
2ed1070506 Added structureSizes to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 15:55:15 +00:00
Axel Dörfler
0207f71894 Added a simple test program to check if the disk structure sizes change
with different compiler options - couldn't find anything, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 15:54:53 +00:00
shatty
24817be98a media_decoder tuning: find first audio stream, errors for no tracks, do not bother with seek, add intermediary variables to assist in viewing functionality in bdb
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 09:09:43 +00:00
Axel Dörfler
149a6f76aa Added missing newlines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 14:33:28 +00:00
Axel Dörfler
73ff0e8f02 Added a small test app that prints out all BMediaFormats supported media_formats,
and some other tiny things.
Will print out a meaningful error in case there is one - tests locking behaviour
of BMediaFormats::GetNextFormat() and if GetCodeFor() works correctly.
Added to the build. Removed "root" library from the rules - that one doesn't
have to be included manually.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 14:25:08 +00:00
Tyler Dauwalder
6253d5d5f8 Added makeudfimage tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 05:36:15 +00:00
Tyler Dauwalder
b75b231891 Initial checkin. makeudfimage tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 05:19:05 +00:00
Philippe Houdoin
338e8e55bc Add OS.h header too, as we should not assert it comes with Drivers.h...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:04:33 +00:00
Philippe Houdoin
2e231c2720 Remove mis-placed add-ons.
Fix Jamfiles to stop collide with net stack v1 modules userland targets built from
src/tests/add-ons/kernel/network.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:38:53 +00:00
Waldemar Kornewald
7854985f97 Fixed userland net_stack_tester (I hope you don't mind, Philippe ;).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:59:55 +00:00
shatty
907f9f5b87 add media_decoder test program
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:06:11 +00:00
Axel Dörfler
94628dc2b9 Added MusePack reader test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:41:09 +00:00
Axel Dörfler
cb1aa65fa6 Added a simple MusePack test application based on Marcus' mp3_reader_test.
It builds fine.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:40:41 +00:00
Matthew Wilber
74f9d75678 Changed the test to not care about dubious values in the fileSize field
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 01:59:31 +00:00
Philippe Houdoin
f530af584f Addons could instantiate multiple NetworkSetupAddOn.
Pass the image_id of addon to the instantiate function.
Some NetworkSetupAddOns may require it to get their resources...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 00:15:55 +00:00
Philippe Houdoin
025b03492f Move experimant new_stack design to Jam building system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 00:01:40 +00:00
Philippe Houdoin
9f00eacde7 Fix load_driver_symbols() prototype.
Move headers into a dedicated directory.
Remove duplicated net_stack_driver.h, using the one in current/headers/private/net.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 21:42:40 +00:00
Philippe Houdoin
c9d4838a87 Move to Jamfile build system.
Fix warnings that now show up,
Define a new string_token type, used stack-wide, and make net_attribute_id a string_token.
Store layers packets type/subtype as string_tokens, improving performance in
send_up()/send_down() matching layers lookup process.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 21:38:53 +00:00
Philippe Houdoin
b6accc1d54 Remove atomizer module duplicated code.
Add a Jamfile to build it as a userland add-on in the experimental new stack design.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 19:15:18 +00:00
Philippe Houdoin
1ba8fc533a Move memory_pool to src/add-ons/kernel/generic.
Place a Jamfile to build the userland version of this module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 18:57:18 +00:00
Tyler Dauwalder
57c80a0c50 Added DString.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:25:24 +00:00
Matthew Wilber
d2c9e14c64 Added bitmap with odd size values in its header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 02:32:33 +00:00
Matthew Wilber
055b763078 Removed the debugging code mistakenly added in the last check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:18:10 +00:00
Matthew Wilber
0192d8f363 Oops! I didn't intend to check this in yet, I'm in the middle of debugging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:50:08 +00:00
Matthew Wilber
a0c057d441 Updated Identify and Translate tests to match current behavior of the STXTTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:40:14 +00:00
Philippe Houdoin
a731d1b178 Commit recent changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 19:04:12 +00:00
Philippe Houdoin
bb917ffed7 New/renamed add-ons, updated BUILD instructions...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:53:32 +00:00
Philippe Houdoin
797a0710e5 CVS as a backup tool :-)
Commit some change made on draft network setup preflet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:45:40 +00:00
Philippe Houdoin
7f03fe56da Net buffers attributes in usage...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:41:37 +00:00
Philippe Houdoin
7b3d386b18 Commit often, they says ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:38:04 +00:00
Philippe Houdoin
c29a3f4826 Draft attributes support added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:20:45 +00:00
Ingo Weinhold
895a56b247 Moved the shell variable into main(). Before the R5 UnitTester crashed with a segment violation when destroying globals. No idea why that happened, but now it works again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 16:29:55 +00:00
Ingo Weinhold
5abde301c1 Changed the behavior of Contains(const char*, int32): It does not longer
return true, if the directory is not initialized, or if the directory
does not contain the entry, but the given path is absolute. This change
makes it less compatible with R5, but more consistent with the BEntry*
version and undoubtfully more compatible with common sense.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 16:27:39 +00:00
Waldemar Kornewald
01b2564600 Removed uneeded chars and added modem to userland stack PPP add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 12:41:14 +00:00
Philippe Houdoin
9e4f133fe8 Signaled sockets forward a signal to their server counterparts,
which interrupt the server's socket thread, deleted when the socket close.
IPC message trace now reports message name instead of hexa opcode, which
increase a little their usefullness for an human reader :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 20:32:01 +00:00
beveloper
d23c804c82 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:11:01 +00:00
Tyler Dauwalder
dce2dc5cab CS0String -> UdfString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 08:29:13 +00:00
Ingo Weinhold
8c470cd758 Made use of the new parameter of *SymLink and adjusted dependencies where
necessary.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 22:05:41 +00:00
Tyler Dauwalder
9c6a058880 DiskStructures.{h,cpp} -> UdfStructures.{h,cpp}
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 10:49:37 +00:00
Axel Dörfler
b4f586280a Work-around for a bug in BeOS concerning the cache - it's not a complete cure, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 18:32:41 +00:00
Axel Dörfler
29d7bb65e5 Changed the test app, so that it automatically picks up changes to the
kSettings array.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 01:10:45 +00:00
Axel Dörfler
8545b8bd8d Changed the TRACE() macro to the usual (compatible) form.
Disabled trace output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:23:42 +00:00
Axel Dörfler
34626c6331 Added new options "--halt" and "--info". The former will temporarily halt
a device, the latter returns info about a device (i.e. which file it points
to).
Updated for changes in the underlying driver.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:16:17 +00:00
Axel Dörfler
bc4f78089e Rearranged source code a bit (clear distinction between device and drive API).
Added support for halting and resuming a device; the driver will close the underlying
file as long as the device is halted, so that other applications can access the file
(files set to uncached cannot be opened anymore). A device is resumed when you install
it again - note that the device might have been closed in the mean time, so it's
not guaranteed to return the same device.
Now returns a valid icon.
Removed unnecessary comments (this is no driver writers tutorial).
VIRTUAL_DRIVE_GET_INFO now also indicates if the device is halted or not.
Made the ioctl() calls more save by adding some sanity checks (magic value and
structure size).
Minor style changes, renamed device_info.opencount to open_count, added the "s"
suffix to static global variables (virtualdrive_name -> sVirtualDriveName, ...).
Fixed a possible bug: the file is now set to uncached after it has been resized;
it might not work the other way around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:12:38 +00:00
Axel Dörfler
8a6d6e07f0 A simple blue cabinet icon for the virtual devices.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:05:36 +00:00
Axel Dörfler
9cbc2ce719 Added license information.
Added "play save" fields for the ioctl() parameter structure.
Added indicator if the device has been halted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:04:38 +00:00
Waldemar Kornewald
d5cd5d63ff Added IPCP and PAP modules to test suite.
NOTE: To make PPP usable with the test suite I will need to use a shared memory area to be able to pass structures to the ppp module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-22 12:30:59 +00:00
Stefano Ceccherini
e38721600a Fixed a warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:31:38 +00:00
Tyler Dauwalder
432e748fb5 Added session ddm module to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:56:11 +00:00
Stefano Ceccherini
5480b4590e Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc.
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 07:35:16 +00:00
Axel Dörfler
12d314225a Fixed the test; I wanted to use setlogmask_team() there...
Added tests for the repeated message suppressing.
Added test for having no ident string.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:59:09 +00:00
Axel Dörfler
05f8d13ed9 Now also checks if the context is kept after a closelog().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:42:13 +00:00
Axel Dörfler
21f3abb2b4 Added a test for the syslog functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:37:46 +00:00
Tyler Dauwalder
c6c7acd44e Removed PartitionMap.cpp from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:17:06 +00:00
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
Waldemar Kornewald
e8e6c3e8ad Changed Jamfiles to use new <> (namespace or how was it called?) feature, so libuserlandppp.a is not added to distro/xxx/develop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:41:53 +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
Tyler Dauwalder
2ab307bd3a Added Recognition.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:52:24 +00:00
Tyler Dauwalder
72090c984b Added new partition classes to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:15:10 +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
Philippe Houdoin
3312e2a1e0 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:20:46 +00:00
Ingo Weinhold
99892f1004 The userland add-on dir is now symlinked to the directory where the
tester lives.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-26 10:54:10 +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
Waldemar Kornewald
95cb1c609a PPPoE should not go into ppp/shared, but ppp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:30:43 +00:00
Waldemar Kornewald
5c9e6a3953 Added libkernelppp.a (currently named libuserlandppp.a), PPP, and PPPoE to userland test build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:26:19 +00:00
Tyler Dauwalder
3ec998df56 Added user_strcpy()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 09:37:50 +00:00
Philippe Houdoin
c71aaf8c2d Obsoleted. Userland network stack debugging plateform is now under
src/tests/add-ons/kernel/network.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 22:07:11 +00:00
Philippe Houdoin
dbdcbc27d9 Removed unnecessary libroot.so from target's link.
Prepare to build as userland add-ons the newer "ppp" interface module...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 21:53:37 +00:00
Philippe Houdoin
51978af14a Now all network add-ons build fine as userland add-ons too.
Network stack debugging/tests plateform now working...
Welcome to Userland Debugging Land!
:-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:48:18 +00:00
Philippe Houdoin
fe6390a982 Append userland network stack add-ons/modules platform to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:45:49 +00:00
Philippe Houdoin
f8fbbb736e Remove misplaced userland network stack tester platform, now moved to
src/add-ons/kernel/network/*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:32:22 +00:00
Philippe Houdoin
8055343f23 Forgot to report some bugs in this userland_modules.cpp. Should switch to
use the libkernelland_emul.so one day...
Oh, and I change net_server into net_stack_tester, which is what it's really...
just a network stack tester host app.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 21:21:11 +00:00
Axel Dörfler
a6c27d152d Now prints out a message when the allocation function is called.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:38:01 +00:00
Axel Dörfler
3a8a05a459 Now works again, added missing platform functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:26:51 +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
494601c3fc The boot loader test application now works again (adapted to recent
changes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:50:17 +00:00
Axel Dörfler
83d00a1ef4 Added a test suite for the DoublyLinkedList implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 03:21:02 +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
Axel Dörfler
698a5fd9b0 Fixed compilation and warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:22:51 +00:00
Axel Dörfler
510f2a39da Fixed all warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 03:31:31 +00:00
Axel Dörfler
786eefee41 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 03:31:14 +00:00
Axel Dörfler
526ba06270 Fixed all warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 03:10:53 +00:00
Axel Dörfler
8c8573864d I actually lied and forgot one: this one only showed up if DEBUG was defined.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:41:01 +00:00
Axel Dörfler
6c1c51bf87 Fixed all warnings and one small bug in kernel.c::new_vnode() - it didn't
unlock the vnode if the same cookie already existed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:22:14 +00:00
Axel Dörfler
b50ffaa707 Added the new tracker.cpp file to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:07:22 +00:00
Axel Dörfler
df710eb34c Now redefines the realloc() function as well (so that the correct one will be used).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:04:23 +00:00
Axel Dörfler
e2ab678b8f It's tree.data, not test.data.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:01:07 +00:00
Axel Dörfler
61f733f0e0 Added a .cvsignore to ignore the tree.data file created when running the
test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:00:11 +00:00
Axel Dörfler
75b0e6cd2d Moved the "btree" test from befs/ to bfs/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:57:34 +00:00
Axel Dörfler
394d5e16a8 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:55:49 +00:00
Axel Dörfler
3c0a986734 Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:52:03 +00:00
Axel Dörfler
8b40798fe4 Moved the "btree" test from befs/ to bfs/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:51:01 +00:00
Axel Dörfler
b72c7a22b0 Added new tracker.cpp file to the build.
Added a hint to show how to build it as big-endian BFS shell.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:46:23 +00:00
Axel Dörfler
9f0c0b4210 Moved tracker mode from fsh.c to new tracker.cpp, made the tracker stuff
a bit more mature, but still needs much work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:43:45 +00:00
Axel Dörfler
58020b9aa9 Added dummy for platform_user_menu_requested() (always returns "false" for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:42:31 +00:00
Axel Dörfler
fad54c1f85 Made the header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:41:34 +00:00
Axel Dörfler
2f72291d1b Updated to support the new platform API and bootloader features.
Note: it will try to load the "kernel_intel" file for now (it'll
be kernel_x86 or kernel_ppc in the real thing).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:32:51 +00:00
Axel Dörfler
85ee5b9e24 Added a hint on how to build bfs as big endian file system for testing purposes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:30:58 +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
Tyler Dauwalder
5e47f0f341 Added user_strlcpy() and user_memcpy().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 09:09:24 +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
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