Tyler Dauwalder
3d8229dc67
- Got rid of some warnings
...
- Changed a variable name to eliminate shadowing.
- Fixed (I think) N and N-256 avdp locations.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:08:40 +00:00
Tyler Dauwalder
a1b5a724ed
Physical blocks are off_t's, not uint32's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:06:53 +00:00
Tyler Dauwalder
78b6ddea31
- Added partition type id udf_entity_id constants
...
- Added udf_entity_id::{udf_entity_id(),matches()}
- Added partial udf_metadata_partition_map
- Added actual space for partition maps to udf_logical_descriptor,
since I now allocate said descriptors on the stack sometimes,
instead of just casting a pre-allocated chunk of memory to said
descriptor type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:04:23 +00:00
Tyler Dauwalder
6d5694a8ea
Added C-String constructor and SetTo().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:00:51 +00:00
Tyler Dauwalder
f5317138d6
Removed. No longer needed with new partition system.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 08:59:50 +00:00
Axel Dörfler
545d6e9c8d
Disabled all calls to dbg_get_serial_output() (it's no longer available
...
in the kernel).
Also disabled all calls to dbg_set_serial_output() - it has been removed
as well (there is now only set_dprintf_enabled()), and it wasn't needed
at all anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 03:09:31 +00:00
beveloper
59664e0a60
avoid reading some common file formats that might contain a mp3 stream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 22:59:33 +00:00
beveloper
51fde20c1e
added info header parsing (to be able to skip it), fixed lyrics header parsing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 22:13:50 +00:00
beveloper
6f6f67dc90
Xing VBR headers are always crc free, but might have the crc bit set. we don't care about this :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 22:01:27 +00:00
beveloper
a1862e53c5
added more mp3 file parsing, VBR headers are now found, audio data position and size is determined
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 21:50:50 +00:00
Matthew Wilber
ee727d5674
Added a setting which allows the user to ignore alpha data from TGA files. This is necessary when TGAs are created from certain programs that lie, saying they have an alpha channel, when they actually don't. Also, fixed usage of alpha data from color mapped TGA images. Some images were misread as having an alpha channel when they didn't, and some images were misread as not having an alpha channel, when they did.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 21:09:34 +00:00
François Revol
ccd79dfdce
fixed mp3 identification, skip ID3s
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 20:26:29 +00:00
Nathan Whitehorn
f929e15217
Eliminated the huge bugs caused by replacing thingy[0] with thingy[1]. Replaced small_data_start with an inline function SmallDataStart() that knows how to pacify mwcc. Should have negligible to no impact on x86 performance.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 20:16:28 +00:00
Axel Dörfler
55e3d98707
Fixes Nathan's changes at least for gcc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 18:27:36 +00:00
Matthew Wilber
1cb6ca0473
Fixed issue that caused some 32-bit TGA files to be converted to B_RGB32 (no alpha) instead of B_RGBA32 (alpha)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 17:03:06 +00:00
beveloper
2e814a410e
added mp3 file detection, doesn't work with all files yet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 13:36:45 +00:00
Nathan Whitehorn
1a49a0986b
Bunches of changes to make mwcc like the code. I also coded an _atomic_set() and _atomic_test_and_set() for PowerPC. Of course, there's already one in the kernel tree, but mine's better. :P Now builds (and works, after a fashion) on R5 PowerPC.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 04:39:58 +00:00
Waldemar Kornewald
4e0ad75221
Fixed many bugs and added debug output.
...
You can now successfully (dis-)connect to(/from) a PPP server using the PPPoE device module.
To be useful we need the PAP and IPCP modules (in the works).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:47:45 +00:00
Waldemar Kornewald
7072f4d0dc
Fixed debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:43:30 +00:00
Philippe Houdoin
0e10a7f803
Fix sis900 and rtl8139 binaries final placement and installation rules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 20:06:59 +00:00
Philippe Houdoin
72a63c23a2
Should help a little to interrupt command completion reply wait...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 20:05:43 +00:00
Axel Dörfler
6503b7c3be
Added missing statics; static functions doesn't need to be extern "C".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 10:31:50 +00:00
beveloper
ba36517465
added unimplemented mp3 reader, adjusted wav reader to recent api changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-04 01:31:01 +00:00
Tyler Dauwalder
21c162a3be
Started migration to new recognition functions. New mount function implemented to partition-setup point.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 20:07:10 +00:00
Tyler Dauwalder
4302df3c0e
- Added udf_sparable_partition_map
...
- Made udf_{generic,physical}_partition_map endian-safe
- Added udf_{physical,sparable}_partition_map::dump()
- Added udf_logical_descriptor::operator=(udf_logical_descriptor)
- Added UDF_MAX_PARTITION_MAPS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 20:04:45 +00:00
Tyler Dauwalder
a3d605ae27
Removed unneeded files from the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:57:31 +00:00
Tyler Dauwalder
5c1f535500
- Updated short version of udf_recognize() to return volume name in
...
output parameter.
- Forgot to pass out the number of partitions found in udf_walk_vds().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:46:45 +00:00
Tyler Dauwalder
896ad7850f
Switched drive setup add-on to use new recognition functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:45:13 +00:00
Tyler Dauwalder
64df0549bf
Fixed printf warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:44:51 +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
60fcc4e6c2
Added Udf::kMaxPartitionDescriptors constant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:51:17 +00:00
Tyler Dauwalder
c039b2c676
Initial checkin.
...
- Started migration of volume recognition code from Udf::Volume
class to stateless functions in Recognition.{h,cpp}
- Made partition recognition code more strictly adherant to
UDF specs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:50:40 +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
Tyler Dauwalder
e97abddfe7
Added more partition map dump output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:14:18 +00:00
Tyler Dauwalder
4e77893b64
Initial checkin. Mostly empty implementation of UDF 2.01 virtual partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:13:43 +00:00
Tyler Dauwalder
3b9617bcc4
Initial checkin. Mostly empty implementation of UDF 2.01 sparable partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:13:15 +00:00
Tyler Dauwalder
04106297aa
Initial checkin. Mostly complete implementation of UDF 2.01 physical partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:12:31 +00:00
Tyler Dauwalder
9be2e8bd9e
Initial checkin. Mostly empty implementation of UDF 2.50 metadata partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:11:39 +00:00
Tyler Dauwalder
c75570328b
Initial checkin. Abstract base class for various partition types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:05:25 +00:00
Philippe Houdoin
ab5385e386
Switching to .rdef resources.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 16:15:30 +00:00
Philippe Houdoin
f0d1aa5337
Fix crash when running ifconfig: ifconf struct ioctl() argument wasn't
...
mapped correctly thru IPC channel...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 23:12:14 +00:00
Axel Dörfler
b8fdbb4fff
The driver no longer crashes the system when it couldn't allocate its
...
resources.
It's now smarter and only initializes the random generator when the
device is opened, not in init_driver().
init_driver() assumed that this driver could not be opened under another
team as the kernel (which does not have to be true when it's rescanned).
Some more cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 23:10:08 +00:00
Axel Dörfler
211e612940
Big cleanup, rearranged code, removed unused/superfluous stuff, removed portability
...
defines (this code is supposed to run under BeOS only). Moved to our coding style guidelines.
Fixed all warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:57:39 +00:00
Tyler Dauwalder
15851e7a48
Added descriptive tag id names to tag dumps.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-27 23:41:36 +00:00
Nathan Whitehorn
8f1f3e5386
Fixed PowerPC compilation... though still doesn't work with the Jamfile, owing to the need for a different C++ library (mslcpp_4_0).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-26 21:36:36 +00:00
Philippe Houdoin
acb7e134d4
Fix warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 23:19:52 +00:00
Philippe Houdoin
68d8b27d8c
Fix warnings. And a possible crashing (memory corruption) bug, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:48:15 +00:00
Matthew Wilber
b95d8a76bc
Fixed bits->bits translation so that it no longer errors out due to reads at the end of the stream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:05:23 +00:00
Matthew Wilber
9568e684a8
Fixed bits->bits translation so that it no longer errors out due to reading at the end of the stream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:04:19 +00:00
Philippe Houdoin
eb8b30128e
Add new control_net_module_args to global stack_driver_args union.
...
Report this change in the stack driver code, to keep consistent
code.
TODO: Implement NET_STACK_CONTROL_NET_MODULE in net_server_driver.c too!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 21:24:03 +00:00