Commit Graph

379 Commits

Author SHA1 Message Date
beveloper
13f96b477c Verified some codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:23:26 +00:00
beveloper
847993cd89 Even more init functions, but Analog Devices is still missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 20:12:24 +00:00
beveloper
151291b640 Added special SigmaTel initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 17:55:25 +00:00
beveloper
fd65314748 removed comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:23:44 +00:00
beveloper
18e76fb3b1 Changed Sigmatel Codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:19:35 +00:00
beveloper
e3530e2c3c support for multiple frame rates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 23:52:39 +00:00
beveloper
e301acb039 Simplified initialization.
More support for proplematic codecs, special inits (patches) still need to
be written after checking datasheets.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 22:16:34 +00:00
beveloper
5bf06a9e02 ac97 capabilities detection,
special Realtek ALC650 support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 22:27:59 +00:00
beveloper
dd04a5c6eb rewritten AC97 handling
trying to detect real codec rate
support for 44100 Hz is now default


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 00:22:14 +00:00
beveloper
bffd89a7fd added experimental media kit kernel add-ons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:54:58 +00:00
beveloper
b43f227373 experimental, do not use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:50:13 +00:00
Tyler Dauwalder
edd2334c85 Finished off the majority of the ECMA-167 Part 4 structures
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 07:26:48 +00:00
Axel Dörfler
4faf27e08b Moved the arch-dependent driver generation to the correct Jamfile (it's
now built locally in the arch driver itself).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:26:19 +00:00
Axel Dörfler
3c2a0bd1f3 Added empty Jamfile for the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:20:19 +00:00
Axel Dörfler
019bc8a760 Removed an unused header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:19:46 +00:00
Axel Dörfler
05928f80cd Cleanup of the null/zero drivers - removed unused includes, ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 03:02:48 +00:00
Tyler Dauwalder
4a547c1282 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:34 +00:00
Tyler Dauwalder
cba5c5b207 Added udf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:12 +00:00
Tyler Dauwalder
388e593dfa Initial checkin. Other than a few bogus implementations to allow the
udf_shell to mount, everything is just skeleton functions currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:52:59 +00:00
Tyler Dauwalder
ad43fbba82 Borrowed straight up from bfs. These will disappear when I get off my
butt and move them to /headers/os/drivers and /src/kernel/core or
wherever we agreed to consolidate them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:51:12 +00:00
Tyler Dauwalder
29008bcfd8 Initial checkin. Currently does nothing particularly useful.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:47:29 +00:00
Tyler Dauwalder
70eaa1f5b5 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:54 +00:00
Tyler Dauwalder
1a2f87c146 Initial checkin. Structures through ECMA-167 Part 3 (i.e. volume recognition)
mostly completed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:14 +00:00
Tyler Dauwalder
e75bed9707 Initial checkin. Inherited from bfs, then stripped bfs specific stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:45:11 +00:00
Jérôme Duval
4395e32018 Bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:10:24 +00:00
Jérôme Duval
6d6c8c465a Added rev 10 for VT8233, debug traces
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:02:23 +00:00
Ingo Weinhold
3906f59e6a Removed the iso9660 module from the build. For the time being we can't use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 14:40:33 +00:00
Jérôme Duval
822fd93938 Auvia driver for Via audio chipsets VT82C686 and VT8233/35
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:27:14 +00:00
Jérôme Duval
8959b6dde2 Added auvia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:16:02 +00:00
beveloper
9d0fb244c1 removed usage of config manager, added more debug info for BeBits 1.5 release
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 15:39:01 +00:00
beveloper
b498f2e40c Changed names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 22:37:29 +00:00
beveloper
797534f423 This adds support for the Nvidia nForce2 and Nvidia nForce3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 22:01:10 +00:00
beveloper
6971240d8d added to the build system
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:27:06 +00:00
beveloper
8187c2a594 Updated to 2001-12-11 BeBits release.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:21:17 +00:00
beveloper
5433f96db2 The source code in this directory is licensend under the terms of this file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:19:51 +00:00
beveloper
72b94394b8 Updated to 2001-04-20 BeBits release
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:11:36 +00:00
beveloper
ba5d0baeee Updated as of April 2, 2001.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:03:51 +00:00
beveloper
9168ef4ba7 Sample settings file for the dosfs plugin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 21:02:52 +00:00
beveloper
0817da63db The dos filesystem, published by Be Inc, March 2001.
To be used under the terms of the Be Sample Code License.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 20:42:16 +00:00
beveloper
3b4e93beaf Adding the dosfs (FAT 12/16/32) to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 20:39:20 +00:00
Axel Dörfler
d4681bf67c Cleaned up. Added the TRACE() macro to kernel_interface.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 20:49:46 +00:00
Axel Dörfler
faa9239d5b Added the multisession capable ISO-9660 file system based on Be's sample code.
Cleaned up the sources to match our coding style better. Partially removed
fs API documentation (since it really doesn't belong here).
Added to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:38:42 +00:00
Axel Dörfler
bfa7190f02 Added a point.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:37:18 +00:00
beveloper
42ab56efde add drivers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:46:56 +00:00
beveloper
30ace1d7c5 Emuxki BeOS Driver for Creative Labs SBLive!/Audigy series.
Written by Jerome Duval.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:32:45 +00:00
beveloper
c95f5fce40 An experimental driver to test a new module based audio driver API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:20:12 +00:00
Tyler Dauwalder
5743b0d24a iso9660.c => iso9660.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:44:40 +00:00
Tyler Dauwalder
ad6ea1be0f A mi me gusta C++; renamed from iso9660.c plus:
+ Now supports Joliet volume names
+ Root directory record information is dumped out
  along with each primary and supplementary volume
  descriptor when TRACE is turned on.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:44:17 +00:00
Tyler Dauwalder
b0338f97e2 A mi no me gusta C; renamed to iso9660.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:42:19 +00:00
Ingo Weinhold
d62fee5142 The global OPTIM variable is now reset at the end of the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 17:10:55 +00:00
Axel Dörfler
98b972c906 Fixed all warnings that appeared with DEBUG=1 set.
Also fixed missing return codes in BufferPool::ReleaseBuffer() and Journal::WriteLogEntry().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 15:07:26 +00:00
Axel Dörfler
130798445f Followed Ingo's suggestions and removed the "nothrow" stuff completely - since
we are explicitely compiling with -fno-exceptions, there shouldn't be any problems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 15:05:32 +00:00
Axel Dörfler
ceeb00d41a Fixed a possibly crashing bug (missing strerror() with %s format).
Fixed many warnings (due to -Wall). Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:03:30 +00:00
Axel Dörfler
4c94430a7e Added a virtual desctructor for the Term base class, and added the virtual
keyword to the ones of its subclasses as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:01:39 +00:00
Axel Dörfler
eabe73689f Fixed wrong storage classifier (was LL instead of UL).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 03:00:17 +00:00
Axel Dörfler
cdeaad9578 Fixed some warnings (due to -Wall).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:59:27 +00:00
Axel Dörfler
adf71bf608 Fixed many warnings because of -Wall (thanks to David for pointing this out).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:55:08 +00:00
Axel Dörfler
cc2a95b2e3 Fixed two warnings (due to -Wall).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:53:43 +00:00
Axel Dörfler
bc8d3bda19 Fixed many warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:53:01 +00:00
Axel Dörfler
b4d14910f5 Fixed some warnings, and some minor style issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:50:28 +00:00
Axel Dörfler
5d60085846 Now compiles with -Wall (why aren't we using that as default anyway?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 02:49:18 +00:00
Axel Dörfler
d99c61a52c Now includes fs_volume.h rather than unistd.h for B_MOUNT_READ_ONLY.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 13:20:43 +00:00
Axel Dörfler
1211df5f90 Removed the "_dontthrow" stuff - "nothrow" is already defined anyway, and
now used instead.
Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 13:20:15 +00:00
Ingo Weinhold
707fa51022 Fixed return type of read_partition_map (status_t -> bool). Fixed PartitionMapParser::Parse(): It wrongly error checked for a NULL block, which is allowed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:39:27 +00:00
Ingo Weinhold
366ab0c1a5 Added TODO item.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:52 +00:00
Ingo Weinhold
15b1caa428 Added missing B_DATA_SESSION flag for virtual sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:23:05 +00:00
Ingo Weinhold
0f008a1f78 The B_DATA_SESSION flag needs to be set for data sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:31:40 +00:00
Ingo Weinhold
0e9c99c704 Does now properly deal with audio sessions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:50 +00:00
Ingo Weinhold
e878875e0b Changes due to the removal of the extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:07 +00:00
Ingo Weinhold
885189c0b3 Removed the kernel module from the built for now. It can't be used with the R5 kernel anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:10:27 +00:00
Tyler Dauwalder
121b19e599 Updated cdrom.c => cdrom.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:59:05 +00:00
Tyler Dauwalder
81c9875a20 - Renamed from cdrom.c
- Almost completely new, more robust cdrom session module.
  Should handle data and audio sessions correctly in almost
  every case, now (certain things like Video CDs are still not
  handled in a 100% desirable fashion).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:58:33 +00:00
Tyler Dauwalder
4f5527b356 Renamed to cdrom.cpp; hooray for C++! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:55:38 +00:00
Ingo Weinhold
e5b24fc152 Mmh, the file didn't compile. I wonder, when I introduced this problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 22:59:13 +00:00
Axel Dörfler
6f7be67a0f Removed references to the load_driver_symbols() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:32:08 +00:00
Philippe Houdoin
e803870545 Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Axel Dörfler
76f5cb0d86 Fixed broken compilation of BFS; forgot to update the Query.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 15:49:36 +00:00
Ingo Weinhold
f1c73c8c64 Added missing <KernelExport.h> include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:53:07 +00:00
Ingo Weinhold
12c3ae8de3 <fs_device.h> -> <disk_scanner.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:52:30 +00:00
Ingo Weinhold
245fa6ad7b Turned off debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:22:21 +00:00
Ingo Weinhold
b39b76027e Now the partition type string is set to `Unrecognized Type 0xXY', if the type is unknown. If the PTS for an extended partition could not be read, it is ignored.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:21:57 +00:00
Axel Dörfler
1241a21542 Only queries non-indexed attributes if the B_QUERY_NON_INDEXED flag was
passed during construction of the Query.
Only live queries are now registered with the BVolume (for now - since Be's kernel
doesn't free queries when an app has crashed, we might want to have a work-around
for that one day [or just a new kernel :)]).
Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 15:11:44 +00:00
Axel Dörfler
2fee336b52 Removed the load_driver_symbols() call, since it doesn't seem to have any
effect anyway.
Now passes the flags parameter on to the Query.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 15:09:18 +00:00
Ingo Weinhold
066d69dad4 The beginning of partitioning support:
* Added functionality to convert a PartitionMap to a string and vice versa.
* get_partitioning_parameters() implemented, but not tested.
* The code also needed by the GUI add-on now lives in separate files.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:22:54 +00:00
Ingo Weinhold
f451c48d3b Rewrote large parts. It's now in nice C++ and should be easier to be extended (partitioning support). Added a lot more checking. Now the module refuse everything that has incorrect partition tables. The BeOS R5 CD is handled correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 22:21:55 +00:00
Ingo Weinhold
8bb94d272f Renamed intel.c to intel.cpp. Real C++ coming soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:23:25 +00:00
Ingo Weinhold
3f449331f4 Commented out the rules for generating a R5 kernel module. We can't use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:21:58 +00:00
Ingo Weinhold
cd34fb229b Fill in the file_system_flags field recently added to extended_partition_info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:12:07 +00:00
Ingo Weinhold
f8ab0724d6 * The partition modules have a short_name field now instead of the
identify_module() hook.
* get_nth_session_module() returns the name of the partition module.
* There is no special handling for CDs anymore. The session modules are
  tried on any device now.
* Fixed a bug in get_buffer() causing a crash when reading from disk
  failed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:10:45 +00:00
Ingo Weinhold
0b1ab795f4 Got rid of the module_identify() hook. Instead the module info features a short_name field now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:06:23 +00:00
Tyler Dauwalder
6d936c5f11 Quick fix to ignore incorrect audio track labels in toc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-25 19:32:25 +00:00
Tyler Dauwalder
ee072b68f7 Now handles "sessions" with multiple "tracks" correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-25 09:16:32 +00:00
Ingo Weinhold
0f302e0df8 Added hooks relevant for partitioning. Empty implementation though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:26 +00:00
Ingo Weinhold
97f9cd98b8 get_buffer() has been changed to use partition-relative offsets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:03:44 +00:00
Ingo Weinhold
54641967ec Added partitioning support. Changed get_buffer() to use partition-relative offsets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:02:45 +00:00
Ingo Weinhold
6e2c8a42b5 Adjusted to retrieve disk blocks via the new callback.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:20:54 +00:00
Ingo Weinhold
dafa158b38 Added parameter to the get_nth_*_info() hooks and implemented simple caching used for the FS modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:19:52 +00:00
Tyler Dauwalder
3ce31492e5 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"
+ Added some more comments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:23:39 +00:00
Tyler Dauwalder
f9c2a2a243 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:22:35 +00:00
Tyler Dauwalder
e3e6d2db88 + Finished up cdrom session module
+ Fixed volume name bug in iso9660 module
+ Added licenses


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:26:22 +00:00
Axel Dörfler
d9f08d808d The empty string ("", length 0) will now be replaced with ("", length 1) in
queries, to let the BPlusTree::Find() method search for it (there can't be
any keys in the tree with length 0).
That means that the query 'META:url=""' will now return all files where the
attribute "META:url" is present but empty.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 11:14:07 +00:00
Axel Dörfler
3b7911f105 We now check in bfs_rename() if the new name is the same as the old name
in the same directory - in this case, we will return B_OK (as nothing has
to be done to fulfill the request), instead of B_BAD_VALUE which would
be thrown later in the process.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 11:08:51 +00:00
Axel Dörfler
538ee6189c Moved the config_manager to the correct location and added it to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:21:19 +00:00
Axel Dörfler
ea8ace93a1 The /dev/misc/config driver which provides userland access to the
Configuration Manager, once this is implemented.
Needed for the "listdev" command and the Devices preferences application.
Not tested!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 16:19:09 +00:00
Tyler Dauwalder
5494accf0a Added cd rom session module to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:31:30 +00:00
Tyler Dauwalder
720c9e3ade Fixed session_info update oversight
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:30:23 +00:00
Tyler Dauwalder
3ed1045364 Added some NULL pointer checks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:28:44 +00:00
Tyler Dauwalder
0983fab3f8 Added iso99660 module
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:28:07 +00:00
Tyler Dauwalder
4267a32ec4 Initial working, but messy and incomplete, cd rom session disk scanner module
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:23:55 +00:00
Tyler Dauwalder
22aef14b93 Initial working iso9660 disk scanner fs module
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:22:12 +00:00
Ingo Weinhold
ad7f737efe Now a session_info is passed instead of individual parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:17:23 +00:00
Ingo Weinhold
27563d0575 Adjusted to return a priority. Removed a line setting the mounted_at field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:16:31 +00:00
Ingo Weinhold
457683e902 Pass a session_info to the partition functions and deal with FS add-on priorities.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:15:31 +00:00
Ingo Weinhold
bc2988951f Fixed the code iterating over module name lists. The buffer size must be set before each call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 12:10:34 +00:00
Tyler Dauwalder
c10d0b6cdb Added BFS disk_scanner fs module to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:51:07 +00:00
Tyler Dauwalder
6c1c5b652b + Updated PARTSCAN_MODULE_NAME to DISK_SCANNER_MODULE_NAME
+ Fixed an error with disk_scanner_get_partition_fs_info() that was causing
  the fs module to not be unloaded when identification succeeded. The next
  time around, get_module() was returning B_OK, by the module pointer was
  being set to NULL. I'm not sure if this is the expected behaviour of the
  emulator, so we may want to investigate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:50:18 +00:00
Tyler Dauwalder
03d06845e6 disk_scanner fs module for BFS filesystems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:47:17 +00:00
Ingo Weinhold
8d815e9eb0 Added empty Jamfiles in the fs and session subdirs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 02:30:00 +00:00
Ingo Weinhold
1c10defbf6 Added disk_scanner to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:16:19 +00:00
Ingo Weinhold
6ddccb275f Module for Intel (DOS) style partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:09:45 +00:00
Ingo Weinhold
cc2c9ce95e disk_scanner module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:08:53 +00:00
Axel Dörfler
89e64f44be Added more checks in the BPlusTree implementation if DEBUG is defined.
The correctness of max_number_of_levels is now checked in Find().
Added a class NodeChecker which checks the integrity of the specified node
when the object is destructed (via new method bplustree_node::CheckIntegrity());
now used in Remove() and Insert().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:41:51 +00:00
Axel Dörfler
528a411973 Updated ToDo file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:39:28 +00:00
Axel Dörfler
1d5f9787e8 Added a few comments and ToDo items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:32:48 +00:00
Axel Dörfler
697df4613d Style clean-ups *and* Index::Update() now correctly converts B_MIME_STRING_TYPE
to B_STRING_TYPE for the lower layers - should probably find a better solution
to handle this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:32:05 +00:00
Axel Dörfler
d3ca8eec8d The new block bitmap is now written using through the log for chkbfs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 20:30:18 +00:00
Axel Dörfler
af9ba303e4 bfs_walk() now prints the file name if it couldn't locate a file with debug
output turned on.
bfs_open_dir() now accepts again all containers, because bfs_open_index_dir()
is using it, too (too bad when you forgot about your own code).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 20:03:49 +00:00
Axel Dörfler
006928f81b Fixed the bug in the query code: B_MIME_STRING_TYPE was not correctly
translated into B_STRING_TYPE for the key comparison (it was translated
but not saved under the new type).
compareKeys() will now return -1 if it didn't know the type to compare.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 19:22:52 +00:00
Axel Dörfler
c78d05895c Removed some debug output I accidently added to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:13:08 +00:00
Axel Dörfler
363999a1eb Thanks to Bruno, we fixed a bug in Inode::Create() that happened with newly
created files that already existed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 22:40:04 +00:00
Axel Dörfler
98138634aa Added the private ioctl calls to get the 64-bit create and modified time.
Most probably these are used by the kernel to identify changes in a shared
library or something like this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 23:51:03 +00:00
Axel Dörfler
cb0a9fe094 Fixed a stupid bug, used Inode::Name() without locking.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 23:30:54 +00:00
Axel Dörfler
2ad0108fbe Now uses Inode::GetName() and strlcpy().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:43:11 +00:00
Axel Dörfler
c0f2928e7d Now uses Inode::GetName() where appropriate.
Fixed a bigger race condition when matching against the name index.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:42:40 +00:00
Axel Dörfler
97d569f0de Now uses strlcpy() rather than strcpy() where appropriate.
The inode is now locked in bfs_close() (when the indices are updated).
Moved the special cases for INODE_NO_CACHE and INODE_CHKBFS_RUNNING into
bfs_free_cookie() - should probably do that with the index update as well.
Updated some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:07:35 +00:00
Axel Dörfler
0606e6e197 Added a new method Inode::GetName() which safely copies the inode's name
to the provided buffer.
Inode::Name() no longer locks the small_data region anymore.
Added ASSERTs that the small_data region is locked for the methods requiring
that.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:38:19 +00:00
Axel Dörfler
d88937ace2 Added a SimpleLock.IsLocked() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:36:53 +00:00
Axel Dörfler
0f374ebc88 Added a strlcpy() call for usage in BeOS (OpenBeOS has it built-in already).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:35:21 +00:00
Axel Dörfler
d369893781 Removed the usage of Inode::Name() in the debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:33:43 +00:00
Axel Dörfler
fea5713c6d Added a comment about live-queries in Inode::Create().
Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 03:45:01 +00:00
Axel Dörfler
b5a0c65c19 Added support for aborted "chkbfs" runs (so that they won't do any harm).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 03:32:53 +00:00
Axel Dörfler
f512ce4233 Added a new inode flag INODE_CHKBFS_RUNNING to detect aborted chkbfs processes.
bfs_read_vnode() will now wait for half a second at maximum until it returns
the B_BUSY error (so that live queries will like it better).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 03:31:34 +00:00
Axel Dörfler
5254026ba2 Removed the logic for freeing the inode's space from bfs_remove_vnode(); now
instead calls Inode::Free().
If INODE_DONT_FREE_SPACE was set, bfs_remove_vnode() forgot to delete the
inode before returning B_OK.
bfs_read_vnode() will now return the exact error Inode::InitCheck() returned.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:45:52 +00:00
Axel Dörfler
11a8dbc63a Completely worked over the inode creation mechanism. Now more work is delegated
to the InodeAllocator class (initialization of the inode, tree creation for
containers).
The InodeAllocator class now frees all the space the inode occupies, including
the B+tree if it's a container (by calling the new Inode::Free() method).
Inode::Free() implementation (logic removed from bfs_remove_vnode()).
Now secures the inode from being loaded by setting the INODE_NOT_READY flag
(completely handled by the InodeAllocator class).
The inode is now removed from its parent if something went wrong after it
had been added.
Utilizes the new BPlusTree::Remove() method where appropriate.
Inode::GetAttribute() now checks if the inode opened is really an attribute.
Inode::InitCheck() now fails with B_BUSY if the INODE_NOT_READY flag is set.
InodeAllocator::Keep() now writes back the inode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:42:44 +00:00
Axel Dörfler
9fec50f9db Added new Inode::Free() method which frees all space associated with an
inode.
Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:34:04 +00:00
Axel Dörfler
8a3e35d8c3 AllocationBlock::Allocate() still had the 0xffff thing implemented, now
also the numBlocks parameter is ASSERTed - when compiled with DEBUG turned
off, BFS will enter the kernel debugger in this case (through the use of
the DIE() macro).
Same for AllocationBlock::Free() (but the 0xffff mode was already removed
there).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:32:54 +00:00
Axel Dörfler
98887c634e Symbolic link data streams (for long symlinks) now are located in the same
allocation group as the inode, if possible.
Moved the group used blocks info maintaining code into AllocationGroup::Allocate()
and AllocationGroup::Free() (instead of letting the BlockAllocator class do
the work).
Removed the buggy and useless extra 0xffff mode for AllocationBlock::Allocate()
and AllocationBlock::Free(), both methods now ASSERT their parameter range.
Changed some comments, style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:27:57 +00:00
Axel Dörfler
def426bce2 Added a BPlusTree::Remove() inline method for strings.
Style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:22:36 +00:00
Axel Dörfler
2edddca0dc Removed the unused INODE_EMPTY flag, and introduced a new INODE_NOT_READY
flag which is used during construction of an inode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:21:28 +00:00
Axel Dörfler
696b26708c The Locker class now uses ASSERT() to be sure the semaphore could be locked.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 20:20:12 +00:00