Commit Graph

2426 Commits

Author SHA1 Message Date
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
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