Commit Graph

3459 Commits

Author SHA1 Message Date
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
beveloper 4f09fa2ff1 various small bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 23:59:16 +00:00
beveloper 359ac30644 Added automatic loading of physical input and output nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 21:16:53 +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 8e2f0a9a0a added checking and printing of magic number, printing of bounding rectangle, changed member names to be more descriptive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:44:28 +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
beveloper b74540ee0d The video demo node is not a physical input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:11 +00:00
beveloper e02a6254fc Removed connecting to soundcard, since the node is not registered
with the media_server inside the AutoStart() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:31:47 +00:00
Matthew Wilber c30acb53ce fix for the segment violation that is caused when the system color map is unavailable and set deleted pointers to NULL just to be safe
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:18:38 +00:00
Matthew Wilber 4409942491 added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber 610eca212f initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber 069801512a initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber a5c45f9618 initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber 4e2b1a4594 added translation subdirectory for tools used in developing translators
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
beveloper c9c07d8183 The audio mixer is now started automatically by the media kit.
It will connect itself to the default audio output.
Memory leaks removed.
Code cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:52:34 +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
Matthew Wilber 9edca8f79e added more checking for corrupt headers, reduced code redundancy, made a number of small tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:02:19 +00:00
beveloper c12232ddb5 added detection and loading of default inputs and outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 20:33:52 +00:00
beveloper d8d1ef215b Fixed crash, a pointer was deleted twice. Small cleanup, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 00:16:23 +00:00
ejakowatz 2a5153718e Minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:55:32 +00:00
ejakowatz 857609dab7 Updated with clarifying info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:48:44 +00:00
beveloper 97bd102167 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:36:09 +00:00
beveloper 18eed37337 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:33:32 +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
beveloper f6ae82103c Fixed deadlock, the cookie is incremented by the node, not by the media kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:55 +00:00
ejakowatz 80e966963f Little tweaks and fixes too numerous to count, but mostly involved with
adding entry_refs and BMessages.  Lots of stuff for specifiers and also for
sending replies (with thanks to Mike Nordell).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:02 +00:00
ejakowatz 9abc4d2dcd Added params for specifying whether to copy the buffer on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:07:30 +00:00
beveloper 1e6f362d07 this is a demo node
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:54:02 +00:00
beveloper 11bb5731c8 Added the tone producer add-on for testing and demo purposes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:51:47 +00:00
beveloper 1b14f4182f Allow 5 concurrent instances for testing,
changed name to indicate that this is a demo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:50:57 +00:00
beveloper acd429ac89 Fixed clock rate calculation (multiple bugs).
Fixed sound stutter after start.
Added generic macros to deal with SIS7012 and Intel differences.
Fixed SIS7012 init (PICB register was written, instead of SR).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 20:44:12 +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
Philippe Houdoin ad18c24776 Forgot to check-in this document...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 22:55:05 +00:00
Ingo Weinhold ed1aa75a5d Fixed the build (missing sources in Jamfile and typo in SettingsView.h) and warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 20:20:56 +00:00
Ingo Weinhold 1eed0e99e9 Added missing inclusion of <unistd.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:32:56 +00:00
beveloper d6f3c208b1 Adding the Video Producer Demo Media-Add-On, from BeOS sample code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:21:56 +00:00
Philippe Houdoin 01172d7460 Include "unistd.h" to get rmdir() definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:55:12 +00:00
Philippe Houdoin 96ad33048f Fix missing close() and read() definitions: #include unistd.h added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:43:57 +00:00
Tyler Dauwalder 6b3fa44dd0 Forgot to keep #ifndef DEBUG macros up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 08:29:36 +00:00
Tyler Dauwalder 28f8fb21ea Added NULL class name argument to DEBUG_INIT() calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:10:25 +00:00
Tyler Dauwalder 565457fd43 Added code to search out anchor volume pointers and dump out any
volume descriptor sequences found.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:09:50 +00:00
Tyler Dauwalder 6cbf5bf379 - Added option to include class name with DEBUG_INIT() to so it's clearer which
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:08:31 +00:00
Tyler Dauwalder fbdfed8191 - Fixed union/struct bitfield tricks so they should actually work as desired now
- Started the mind numbing task of making all the disk structs endian-neutral
- Started the addition of dump() functions
- Updated descriptor_tag::init_check() to treat the location() field as a disk
  block instead of an absolute address.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:03:18 +00:00
Axel Dörfler 121a2e82c0 Really fixed build (while keeping the app in the build).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:35:56 +00:00
Bruno G. Albuquerque 7be092433c Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:00:38 +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