Commit Graph

2260 Commits

Author SHA1 Message Date
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
Philippe Houdoin
744a457218 Fix a missing space before a line ending ;
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-20 00:56:09 +00:00
ejakowatz
b6b5037ebe Added a *lot* of error strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-18 07:34:58 +00:00
ejakowatz
d2f82aa6e3 Added B_NOT_A_MESSAGE error code (borrowed from Dano).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-18 07:33:55 +00:00
stmansfield
84119b81af Addeded parenthesis around assignment/comparison statement
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-18 05:07:54 +00:00
Phil Greenway
e99ba57175 More work on the NewConnectionWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 23:48:41 +00:00
Michael Phipps
8f72c5bcf2 Fixed a bug in the vnodeManagement
Added statistics counting.
Started down the path of making various tests share one VM space.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 02:28:39 +00:00
Philippe Houdoin
082059d403 Checked-in the update Scott Mansfield made to these BNet* classes declarations to male
them binary compatible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 01:24:44 +00:00
Philippe Houdoin
665b241c1a Checked-in updated implementation of these classes written by
Scott Mansfield.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 01:18:37 +00:00
Phil Greenway
a47165f500 Added NewConnectionWindow plus fixed Jam/make
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 00:37:02 +00:00
Phil Greenway
4d50901035 New Connection Window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 00:36:22 +00:00
beveloper
e3cb015484 modified per Ingo's request
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 17:01:01 +00:00
Matthew Wilber
a2c128905a added testing for Identify, Translate and basic BTranslator member functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 03:22:39 +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
26e97ce934 removed the newline character that I didn't realize was there before
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 03:17:32 +00:00
Matthew Wilber
0499309d67 initial check in, used for STXTTranslator testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 02:43:06 +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
b0ec1a797d initial checkin for "StyledEdit Files" (STXT) Translator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:10:07 +00:00
Matthew Wilber
e166e3f558 moved libtranslatortest.so building from bmptranslator folder to the translators folder in order to make it work better for adding more translators to the test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:07:42 +00:00
Matthew Wilber
b165e92c98 moved this functionality into the translators folder (one level up)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:05:33 +00:00
Michael Phipps
ad5da074bb Removed items, updated items, reordered my priorities...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 07:08:41 +00:00
Michael Phipps
ceb3763e56 Implemented the sharing of vnodes. Hopefully mmap and file cache and cloned
areas will not step on each others feet...
Added comments all over the place.
Bugs squished


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 07:05:38 +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