Commit Graph

2534 Commits

Author SHA1 Message Date
Axel Dörfler 7fae070584 Included NewOS change 1674. Moved private elf structures to elf_priv.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 13:34:25 +00:00
Axel Dörfler ed5c11d75a Included NewOS change 1674 - moved architecture dependent part of elf.c
to the correct location.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 13:33:22 +00:00
Axel Dörfler 7747cd8133 Included Travis' change 1687.
Cleanups, added TRACE() debugging macro instead of commented dprintfs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 11:18:57 +00:00
Axel Dörfler 2d4d170f83 Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 11:17:36 +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 032ae6c6e4 added writing of "be:encoding" attribute to WriteStyledEditFile()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 15:41:37 +00:00
Matthew Wilber 9a18e28b6d added more attribute writing to BTranslationUtils::WriteStyledEditFile() to better match what Be's StyledEdit writes for attributes. The code is still missing "be:encoding" but I want to make sure that I understand it fully before I add it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 04:09:38 +00:00
Matthew Wilber b5786abca8 fixed path of test text file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 04:04:42 +00:00
Matthew Wilber 004a0bc5b0 moved to text sub directory and renamed to sentence.txt
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:58:53 +00:00
Matthew Wilber 3b3007ee29 moved to text sub directory and renamed to sentence.stxt
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:58:17 +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
Matthew Wilber d138c6bb6c added testing for translating from and to a MallocIO object (before it only translated from BFiles)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:27:05 +00:00
beveloper 2df68a7bf6 Checkpoint.
Started adding support for persistent default nodes.
System time source and BTimeSource are broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-26 02:25:25 +00:00
beveloper bd57171958 Checkpoint.
Started adding support for persistent default nodes.
System time source and BTimeSource are broken.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-26 02:23:59 +00:00
beveloper 7120e97489 a small tool to print files that consist of a flattened BMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 23:20:24 +00:00
Ingo Weinhold dcf2d78c94 Adjusted according to the changes to the disk_scanner module interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:19:12 +00:00
Ingo Weinhold 067b3e93d4 Cleaned up Module a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:17:56 +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 18e74fef99 indentify() also returns a priority now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:14:12 +00:00
Ingo Weinhold e50b31269a Pass a session_info to the partition functions, rather than a bunch of individual variables.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:13:25 +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
Ingo Weinhold af8f3b2175 Doesn't try to get a FS info for non-data partitions anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 12:08:37 +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 9c721dde42 fixed CompareStreams() made minor changes to which files are used with the TranslateTests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 03:16:28 +00:00
Matthew Wilber 915dc0d244 added tests to check the output of Translate()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-24 04:09:56 +00:00
Ingo Weinhold 6749e47f61 Fixed bug in ModuleManager::GetModule(): The module pointer was not returned, when the module was already loaded.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-23 23:05:12 +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
Matthew Wilber fb4fed8157 added more tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-23 02:59:20 +00:00
Tyler Dauwalder 6977e77e35 Updated PARTSCAN_MODULE_NAME to DISK_SCANNER_MODULE_NAME
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:51:48 +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
Tyler Dauwalder 36fc6e8559 Added in missing <userland> folders and Jamfiles for partition
and fs modules, whose absence was breaking the DiskScannerTest


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:46:00 +00:00
Ingo Weinhold 9bfac2505c To remove empty and comment lines from the Jamfile cache sounds like a nice idea, but it fools the line counter and thus makes error and warning messages a quite confusing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 19:18:25 +00:00
Matthew Wilber 201df7927c added more test files, removed some duplicate code, added a few new tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 04:26:39 +00:00
Matthew Wilber af5f1fc65e test files for use with the STXTTranslator. The .txt files contain plain text (UTF8) and the .stxt files contain styled information as well as text (UTF8)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 04:25:21 +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 37152fbae0 Added disk_scanner tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:16:36 +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 a923d65567 disk_scanner test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:13:40 +00:00
Ingo Weinhold 739b4f1491 Emulation for kernel module handling in userland.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:11:24 +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
Ingo Weinhold bc0ffa26e0 disk_scanner module API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:07:30 +00:00
Ingo Weinhold 45b15a27e1 C level device API (disk_scanner).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:06:18 +00:00
Michael Phipps bf738c95da Added the device driver API that Axel reminded me about.
Updated the TODO list. This is 99% feature complete.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 07:47:05 +00:00