Commit Graph

494 Commits

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


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


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