Commit Graph

316 Commits

Author SHA1 Message Date
Michael Pfeiffer
cdef53218c Enabled pattern support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:35:09 +00:00
Michael Pfeiffer
d5962f0991 Removed out commented debug information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:34:46 +00:00
Michael Pfeiffer
1a0af2e086 Added "Title" to default keys.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 16:34:15 +00:00
Matthew Wilber
1ab4cb426e Changed to use simple assignment in places where I used memcpy() to copy only 1 byte of data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 18:41:46 +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
Matthew Wilber
d390baeede added comments, made minor changes to error handling, changed a buffer type from char to uint8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 02:31:49 +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
Matthew Wilber
381271419d added some comments, replaced some hard-coded numbers, made some minor logic changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 01:02:51 +00:00
Matthew Wilber
32898e2a71 made [Input | Output]Formats() better handle the case where out_count is NULL and made the functions better handle the cas
e when the number of input or output formats changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-29 14:57:27 +00:00
Matthew Wilber
d4dd380232 made [Input | Output]Formats() better handle the case where out_count is NULL and made the functions better handle the case when the number of input or output formats changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-29 14:56:53 +00:00
Matthew Wilber
fb11b6e180 added code so that when text is translated from a plain BFile (with a styles attribute) the STXTTranslator casts the input to a BFile and uses the attributes to write the style information to the output stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:30:18 +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
Matthew Wilber
6eed52aa01 added code so that the Translate() function actually Translates. It now translates to/from plain and styled text. It passes most of the Translate tests, but Be's STXTTranslator includes font information with some of the styled text files it generates, and I haven't decided how to deal with that yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 03:18:52 +00:00
Matthew Wilber
aa29ed9aa1 fixed failure to properly identify styled files with no 'STYL' data, changed plain text identify to search first 64 bytes for unsupported characters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-23 03:01:02 +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
Matthew Wilber
ce1e628f36 added a little bit of actual functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 03:21:35 +00:00
Matthew Wilber
be4c146060 initial checkin for STXTTranslator (StyledEdit files). does nothing yet, but should compile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:54:17 +00:00
Matthew Wilber
8efc7be48e initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:53:07 +00:00
Matthew Wilber
af532bce19 added STXTTranslator (StyledEdit files)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:51:33 +00:00
Matthew Wilber
2674719b33 added several classes that I forgot to add earlier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 01:21:16 +00:00
Matthew Wilber
3885ec4fe4 added TGATranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 01:20:15 +00:00
Matthew Wilber
a0bf29354d added a few comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 03:53:49 +00:00
Matthew Wilber
3b42b980c8 added comments and a bit more error checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 03:52:57 +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
Michael Pfeiffer
367265f7f0 Added shared source code for print kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:12:19 +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