Commit Graph

505 Commits

Author SHA1 Message Date
Matthew Wilber
fd6e40cd0e added GetConfigurationMessage test and removed an entry for a test file that doesn't exist
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:38:27 +00:00
Matthew Wilber
bedcc99335 added GetConfigurationMessage test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 03:26:49 +00:00
Axel Dörfler
b807dfb5b1 Updated the help text for "startquery" & "stopquery" to match reality better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:19:06 +00:00
Axel Dörfler
6e14268838 The kernel now has support for setting port&token of a query.
The fs_shell is now able to start up to 10 concurrent live queries. Use
"stopquery" to stop them all or just one of them, "startquery" to initiate
one, and "lsquery" to display them all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:16:54 +00:00
Axel Dörfler
b0ff9520c0 The Jamfile now compiles with -fcheck-memory if MALLOC_DEBUG is set. Of course,
jam itself will also be checked then, which cries out loud for a better way to
do this. But hey, it works :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:14:03 +00:00
ejakowatz
18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +00:00
Philippe Houdoin
1a3b3db436 Fix some typo in BUILD note.
Update headers to reflect the net_data* -> net_buffer* move


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:34:13 +00:00
Philippe Houdoin
82238517b4 net_data -> net_buffer update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:29:28 +00:00
Philippe Houdoin
5a52a89c28 net_data* -> net_buffer*
Remove some debug traces


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:27:18 +00:00
Philippe Houdoin
0a936c017d net_data* -> net_buffer*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:23:37 +00:00
Philippe Houdoin
d5b2863194 Rename net_data into net_buffer, which make more sense.
Add read_buffer() and write_buffer() to access/modify net_buffer data chunks.
Add a split_buffer() function, that will split at a specified offset. To be implemented.
Remove append_buffer(), prepend_buffer() and insert_buffer(), replace by all-purpose
add_to_buffer().
Rename remove_buffer() into remove_from_buffer(), to opposite add_to_buffer()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:22:39 +00:00
Axel Dörfler
917d37106e The startquery command now stops an eventually running query (which now
makes several live queries at once impossible :-).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:59:47 +00:00
Axel Dörfler
a1fe805b79 new_vnode() now complains if the vnode already exists (and panics with when
it has a different data set).
Improved the kernel's PANIC() function (now accepts varargs).
sys_open_query() now has a flags field (that can be set to B_LIVE_QUERY).
The fs_shell now supports one live query; might be enhanced later to support
more than just one (concurrently).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:56:03 +00:00
Matthew Wilber
3650ecf0a6 added more Translate testing, added tests with RLE compression on and off using a BMessage to specify which option, added tests translating from "bits" to TGA
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:28 +00:00
Matthew Wilber
c9088353af removed old tests (many of which didn't work) and replaced many of them with better, cleaner tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:09:06 +00:00
Matthew Wilber
f3aa49b1b1 improved performance of CompareFiles function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:03:40 +00:00
ejakowatz
e5b24a582e Many tweaks, mostly to support the freakiness of doing Add/FindData() with
entry_refs and BMessages.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:14:41 +00:00
Matthew Wilber
f4949fca43 moved common translator tests into TranslatorTestAddOn.cpp to reduce duplicate code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-22 03:58:56 +00:00
Matthew Wilber
bb0ced7d76 fixed output capability check, corrected some test image file names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:06:23 +00:00
Philippe Houdoin
885d94cdfd Move device registration out of lookup_devices(), now living in register_device().
set_mtu() hook implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:41:42 +00:00
Philippe Houdoin
cf86e4612e Make loopback interface less... useless!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:25:22 +00:00
Philippe Houdoin
266a39bd55 Fix a output bug in dump_memory() where 0x7f was displayed as-is.
Add a better interface(s) reader thread handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:51:23 +00:00
Philippe Houdoin
8f16d01827 Fixed an undersized memory allocation, causing heap corruption :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:47:04 +00:00
Philippe Houdoin
6aad418382 Add send_signal_etc() to kernel functions userland support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:44:37 +00:00
Matthew Wilber
5fdd39d609 changed name of CheckBits function to CheckBits_Tiff to avoid problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:39:43 +00:00
Matthew Wilber
8322820bd7 initial check in for TGATranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:38:15 +00:00
Matthew Wilber
777439b112 added TGATranslator test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:37:03 +00:00
Philippe Houdoin
c6199df94e Fix unwanted C++ symbols mangling in the kernel module API userland emulation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 16:00:06 +00:00
Matthew Wilber
72b7d6df5d fixed Identify test so that it is more convenient to modify the list of test images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 01:48:01 +00:00
Philippe Houdoin
0d42ecaf89 Add a short note on how to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:07:36 +00:00
Philippe Houdoin
301e81d7a5 Better checking these than lost them one day...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:03:46 +00:00
Tyler Dauwalder
04579c0307 Removed automatic DEBUG definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:43:48 +00:00
Tyler Dauwalder
13d4aa9ef9 Debug.cpp => UdfDebug.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:34:25 +00:00
Matthew Wilber
4b9f28b545 Added testing for 1-D Group 3 Fax compressed image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 21:50:23 +00:00
Matthew Wilber
e12c41efa4 added Translate tests to translate TIFF images to Be Bitmap (bits) images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:23:27 +00:00
Matthew Wilber
d1363d0da5 moved CompareStreams function to TranslatorTestAddOn.cpp so that multiple translator tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:43 +00:00
Matthew Wilber
1f52e8a2df moved CompareStreams function from STXTTranslatorTest to this file so that multiple translators tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:09 +00:00
Tyler Dauwalder
25b288e0dd Initial checkin (and this time I better not be writing over somebody else's
files, damn it! :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:26:13 +00:00
Tyler Dauwalder
3807c90cf1 Added udf tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:11:29 +00:00
Tyler Dauwalder
a8850e00d1 Augmented 'quit' command for those of us who type 'exit' by habit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 23:32:55 +00:00
Tyler Dauwalder
b93d2a8132 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:53:46 +00:00
Matthew Wilber
294675df12 added more images to the Identify() testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 02:38:57 +00:00
beveloper
c123bb9936 better in CVS than lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 16:09:01 +00:00
Matthew Wilber
0a9c358574 removed unnecessary including of TIFFTranslator header to fix compliation of this test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-23 02:39:54 +00:00
Tyler Dauwalder
67d102db0b Added a (somewhat cryptic) usage note when run with '--help' argument
for slow learners like me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 07:56:17 +00:00
shatty
fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
Matthew Wilber
6d98b4b3de added more Identify() tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 04:33:04 +00:00
Axel Dörfler
5f16032b01 Added the fs-shell testing suite for the iso9660 file system (iso9660_shell).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 18:36:25 +00:00
Axel Dörfler
db94ee0595 Added a userland dprintf() export; the output is simply directed to stdout.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 18:35:23 +00:00
ejakowatz
74d9216544 New tests for Add/Find/Replace/HasRef, and tweak in MessageTest.cpp to use
it.  Also, minor fix in entry_ref handling in BMessage::AddData().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 06:02:27 +00:00