Commit Graph

1216 Commits

Author SHA1 Message Date
Philippe Houdoin
6cb1baaec6 Fixed warning about default argument value in implementation.
StringItem.h is not BeOS R5's source compatible, now include ListItem.h instead, which is.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-12 15:35:33 +00:00
Jérôme Duval
7c862ee441 added comm tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:50:58 +00:00
Philippe Houdoin
755989bc95 Commit last (small) changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 08:01:26 +00:00
Axel Dörfler
c6e3ff2240 "rdtest" now dumps up to 1024 bytes, not only 512. Also, it now prints
out a message to indicate that only a part of the requested buffer is
dumped on screen.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 19:51:47 +00:00
ejakowatz
9fa0302ad0 Added two tests for flattening and unflattening.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 22:54:06 +00:00
ejakowatz
0cea36dca4 Jamfile addition so that BMessage B_NO_REPLY-on-destruction tests will actually get used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 22:24:21 +00:00
ejakowatz
221abfb27f BMessage now sends a B_NO_REPLY on destruction if no other reply has been sent; these are the tests for that behavior.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 21:59:28 +00:00
Philippe Houdoin
a68b2eb2ce Fix the keyboard focus order by changing how and in which order things are
created.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 14:43:42 +00:00
Philippe Houdoin
606359d937 Commit often, commit small...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 09:51:12 +00:00
Michael Pfeiffer
d25d8e6b16 Test for class _PointerList_. Someone should convert it to a CppUnit test
and integrate it in the build system.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 10:00:13 +00:00
Axel Dörfler
e16b2bc4a9 Added a test application for the BlockMap class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:05:44 +00:00
Jérôme Duval
e07f3f03dc added BInputDevice test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:40:01 +00:00
Philippe Houdoin
6eb80c55ea Dynamicly compute the settings area minimal size (and window, so) according
to add-on's views size.
NetworkSetupProfile class: work in progress...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:10:12 +00:00
Jérôme Duval
bb9fc82712 Moved to SimpleTest rule, to not clutter distro directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 09:24:55 +00:00
Jérôme Duval
30585c9757 added keymap bin tool
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:55:32 +00:00
Jérôme Duval
aa4ad54070 change to rdef
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:29:45 +00:00
Jérôme Duval
a45aba16ed added prefs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:00:02 +00:00
Ingo Weinhold
cc868bc230 Uncommented a few tests that our Storage Kit implementation passes now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:20:55 +00:00
Jérôme Duval
e7b9acd7b1 Added test preferences apps MouseTest KeyboardTest KeymapTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:06:21 +00:00
Oliver Tappe
c7000cc7b3 - fixed some issues when compiling with gcc-2.95.3. At least three more
problems remain, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 08:55:12 +00:00
Philippe Houdoin
24e9e6005a Added a separator between hex and ascii sides.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:51:02 +00:00
Philippe Houdoin
c92d05cf40 Add a print transport add-on loader/tester.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-04 09:25:40 +00:00
Philippe Houdoin
612899f22c Yeah, right, switching back to allwarnings-awareness. Stupid me.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-01 14:16:18 +00:00
Philippe Houdoin
ff24e0c4ab Small typo fixed, even smaller changes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 17:29:33 +00:00
Philippe Houdoin
d61b4aa421 Check-in minor changes made long ago.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 22:17:27 +00:00
Axel Dörfler
b7dddd949b Added tests for swap_data() and is_type_swapped() - could be extended further, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 18:20:37 +00:00
Axel Dörfler
3bdc0a2298 The boot loader test now builds again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 17:50:52 +00:00
Axel Dörfler
296047bc9d Started writing byte order test. Note, I put __swap_int16() tests here, too,
although they don't belong here (as they test libroot.so functions). They
won't even test our functions for now; there currently is no libopenbeos.so
aequivalent for our libroot.so.
Tests for swap_data() and is_type_swapped() (which do belong here) are
still missing :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 13:00:22 +00:00
Axel Dörfler
f05ac95ee6 Removed some commented stuff I forgot there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 17:31:26 +00:00
Axel Dörfler
a2cae29069 Added test for GraphicsDefs.h constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 17:04:43 +00:00
Axel Dörfler
ff2652126c Added strlcpy() to the repertoire of the libkernelland_emu.so - this fixes
the disk device manager test build under R5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 09:47:18 +00:00
Axel Dörfler
89d57c315b Added some devfs functions to let the DiskDeviceManager test build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 12:41:19 +00:00
beveloper
3e9f5cc54c fixed libapptest compilation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 17:11:45 +00:00
Waldemar Kornewald
fa2e539c7e Matthijs Hollemans is right, the signature should be x-vnd.haiku.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 20:57:57 +00:00
Waldemar Kornewald
03a649005d We are Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 18:47:27 +00:00
Waldemar Kornewald
49c6a79a59 Changed license header to include the full MIT license instead of referring to the OpenBeOS license (there is no OpenBeOS anymore).
Added resource definition.
Exported dial-up view as static library for reuse by ppp_up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 15:48:39 +00:00
mahlzeit
604c4055c8 Commented out test programs because we don't really use them for
anything and they interfere with the real MidiPlayer app.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 19:31:05 +00:00
beveloper
7b8b434fbf added missing newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 23:15:50 +00:00
Axel Dörfler
918eb09770 Fixed the build of the udf_shell.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:53:14 +00:00
Axel Dörfler
0422b3872e The userland DiskDeviceManagerTest now works again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:23:24 +00:00
Axel Dörfler
d349b8c336 Now also exports spawn_kernel_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 15:40:23 +00:00
Axel Dörfler
7335776148 Changes to keep it building with the move to kernel_interface_r5.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:42:55 +00:00
Axel Dörfler
371536a11d Cleaned up C++/C separation.
Changed some return types from "int" to "status_t" to make it compatible
with the new VFS interface (should not cause any trouble).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:41:37 +00:00
Waldemar Kornewald
5256712211 Added doxygen comments and simplified code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:10:59 +00:00
Philippe Houdoin
81f5654c12 Stop assuming we build on a BONE system, start linking agaisnt our *own* libbind.so!
:-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 06:13:10 +00:00
Philippe Houdoin
faff14df52 Now link against *our* libsocket.so & libbind.so instead of a
wrongly assumed BONE build system ones!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 20:12:38 +00:00
Stefano Ceccherini
55bd207b20 Added a test for the bug found by Pahtz, and fixed the bug. Simplified a bit the code in BRegion::Support::RSub()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 06:37:18 +00:00
Axel Dörfler
450843b48f New "symlink" command which can create a symbolic link on the file system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 02:04:38 +00:00
Axel Dörfler
132d416525 Enhanced the kernelland_emu to:
- support built-in modules
 - support the private kernel locking calls
 - support the private kernel doubly linked list functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 13:26:08 +00:00
Philippe Houdoin
b541da436f Handling NET_STACK_CONTROL_NET_MODULE: work in progress...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 21:14:37 +00:00
Axel Dörfler
0b48784541 Moved all remaining files under befs/ over to bfs/.
Fixed the build of all bfs tools.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:26:01 +00:00
Axel Dörfler
244d5b90d8 Moved befs/array to bfs/array. Removed befs directory from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:19:30 +00:00
Axel Dörfler
da054c278c Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:15:09 +00:00
Axel Dörfler
4ac038c1cc Fixed the build of the DoublyLinkedList test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:23:08 +00:00
Axel Dörfler
203849cc49 Fixed warnings about possibly non-initialized variables.
Fixed a possible non-crash (it OpenBeOS, addresses below 0x80000000 are valid
user memory).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:20:15 +00:00
Matthew Wilber
1b56ef303a Removed "unsupported images" test, as those images are now supported by the PNGTranslator. Also, removed the folder from the image paths to reduce redundancy and improve readability
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 23:07:29 +00:00
Matthew Wilber
e497624c0c Added test to make certain PNGTranslator handles unsupported grayscale images properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 13:35:55 +00:00
Matthew Wilber
5de6376dca Initial check in for PNGTranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:46:32 +00:00
Matthew Wilber
cc0dc2a277 Added PNGTranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:45:38 +00:00
Axel Dörfler
b747c3b791 Updated to match the changes in the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:58:02 +00:00
Waldemar Kornewald
c0717c8cd7 Now linking against libbind and libsocket.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:22:24 +00:00
Waldemar Kornewald
5e36a68cb4 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:53 +00:00
Waldemar Kornewald
67bce78b48 Now linking against libbind instead of libnet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:29 +00:00
Stefano Ceccherini
8ffd36efd9 Stripped down Stars demo, to test DirectWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-07 06:54:51 +00:00
Waldemar Kornewald
9fee39fd65 Some more usability work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-05 08:34:07 +00:00
Waldemar Kornewald
8e0e1d0d3c Axel told me the preflet is too complicated (thank you!). He was right, but I was a lazy programmer ;).
So here is the new version with much simpler dialogs.
The "Protocols" section is removed and all protocols add their own section. Protocols are now added/removed by changing the state of "Enabled" (a checkbox) in their section.
IPCP is named "TCP/IP", so everybody should know what can be found there.
All optional fields are marked as such ("(Optional)" to the right of each field).
Some labels were renamed (Dial -> Connect, etc.).
Added possibility to build a german version (I will ask some people around here if they find it easy to use).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 11:43:42 +00:00
Stefano Ceccherini
29ed6a85c3 This should fix the build of media_decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 09:27:27 +00:00
Waldemar Kornewald
7932407f25 Added "Extras" tab for setting dial-on-demand and auto-redial.
Some changes to the UI.

This preflet should finally be usable and support the most important features (devices, authenticators, protocols). Currently, there is only support for PPPoE, PAP, and IPCP.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 11:39:47 +00:00
Stefano Ceccherini
f1ca7ea60b Some more test cases for BRegion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 06:53:40 +00:00
Waldemar Kornewald
0f197ce81a Whew, nearly finished!
* Added TextRequestDialog (only asynchronous version because it is easier and the preflet should not block [it gets update messages from the kernel]).
* PPPoE: We now read the available interfaces from the kernel module, so the user does not have to know the exact name of the interface he wants to use. It can be chosen from a BMenuField. You can also enter any interface name if you select "Other: " from the menu.
* Small changes (e.g.: call MakeFocus(), etc.).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 11:06:40 +00:00
Waldemar Kornewald
1e695afb41 Fixes for the Deselect() bug in BListView (at least I think this is a bug):
When the BListView is not attached to any window Deselect() does not work. So, if you remove an item that is selected the BListView's selection index is not updated and thus it results in a crash when it is attached again. This happens when you use a BTabView and change the information of the BListView while its tab is inactive.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 13:43:14 +00:00
Waldemar Kornewald
527eb29edb Added IPCP protocol.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 11:58:37 +00:00
Waldemar Kornewald
55c8f8c370 Fixed protocol handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 11:57:50 +00:00
Waldemar Kornewald
3dbb75a676 Added the Protocols tab. Could not test it because currently there is no IPCP addon.
Replaced direct identifier specification for BMessage with #define'd values, so typos cannot arise.
Moved some functions into InterfaceUtils so they are available for all add-ons (this will later become part of a static library for the DialUpAddon API).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-25 11:59:34 +00:00
Stefano Ceccherini
e2aecd091e Some tests for _BWidthBuffer_
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:40:05 +00:00
Waldemar Kornewald
a387bccab2 Just noticed that PPPoEAddon stuff was not added to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:28:58 +00:00
Waldemar Kornewald
d078d982ae Forgot to update TODO items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:27:59 +00:00
Waldemar Kornewald
c737ab9ab1 The settings are now correctly de-/encoded.
PPPoE and authentication produce working output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:19:32 +00:00
Axel Dörfler
2dffde8cdc Now checks for the file types without MIME type as well (GetTrackerIcon()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 13:38:31 +00:00
Waldemar Kornewald
bb713c7c5b Some more work on the DialUpPreflet code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-07 13:51:57 +00:00
Matthew Wilber
28cac36c73 Updated config message test for new STXTTranslator behavior
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 23:38:17 +00:00
Waldemar Kornewald
6bef9fe1b8 Initial checkin of "DialUpPreflet". This will become an add-on for the "Network" preflet.
It is far from finished (all add-ons are missing). The hacks should be removed...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 16:03:34 +00:00
Matthew Wilber
dd5f74defc updated config message test to include new "ignore alpha" setting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:38:09 +00:00
Matthew Wilber
be510fa83f updated test to reflect new config message behavior
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:37:11 +00:00
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
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