Commit Graph

1354 Commits

Author SHA1 Message Date
Tyler Dauwalder
682cd7e59c Made some minor adjustments to help figuring out how mime update
calls work (still in progress).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:19:00 +00:00
Tyler Dauwalder
4a94b7bbb3 + Added ThreadManager object to MIMEManager
+ Reimplemented mime update calls to now handle both synchronous
  and asynchronous calls, as well as work with RegistrarThreads and
  the ThreadManager.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:17:29 +00:00
Tyler Dauwalder
5720cd9c75 Added ThreadManager to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:56 +00:00
Tyler Dauwalder
0a87d01ca0 Fixed a couple of warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:31 +00:00
Tyler Dauwalder
16be2fb82f Added CreateAppMetaMime, MimeUpdateThread, and
UpdateMimeInfoThread to the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:10 +00:00
Tyler Dauwalder
06d82133c7 Updated and unified update_mime_info() and create_app_meta_mime()
implementations to work with new, wholly-registrar-based mime update
system.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:14:35 +00:00
Tyler Dauwalder
05b9dff7c4 Added RegistrarThread to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:13:11 +00:00
Tyler Dauwalder
b690150ecf Removed mime update code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:12:42 +00:00
Tyler Dauwalder
a122f181c1 Update mime update constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:42 +00:00
Tyler Dauwalder
e177c2c89a ThreadManager class, which is responsible for managing all the
RegistrarThread objects created by the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:20 +00:00
Tyler Dauwalder
162f340b21 UpdateMimeInfoThread class, which is a subclass of MimeUpdateThread
that implements updating specific to update_mime_info().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:09:50 +00:00
Tyler Dauwalder
56a452bb2c CreateAppMetaMimeThread class, which is a subclass of MimeUpdateThread
that implements updating specific to create_app_meta_mime().

Note that the implementation is not 100% correct yet, and the
OBOS::BMimeType::create_app_meta_mime() tests still fail.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:08:21 +00:00
Tyler Dauwalder
4707046cec MimeUpdateThread class, which is a RegistrarThread subclass that
implements the functionality common to both mime update calls
(update_mime_info() and create_app_meta_mime()), namely walking
through the filesystem and performing updates.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:05:39 +00:00
Tyler Dauwalder
cd7adc0b06 RegistrarThread class, which is the base class for threads
spawned in the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:01:43 +00:00
Axel Dörfler
36cfa7d4f8 The USE_WALL setting currently doesn't work, because
vm_translation_map_create() checks if the kmalloc()'d page is aligned - maybe
we should just disable the USE_WALL setting if size is PAGE_SIZE for now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 04:05:18 +00:00
Axel Dörfler
3904aa6bf1 Shouldn't do anything so late; just fixed another bug in the wall code.
Commit early, commit often, they say...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 02:24:42 +00:00
Axel Dörfler
a3da50e5ed Fixed a bug in the wall code that actually produced the bug I mentioned
in the last commit... :/


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 02:21:22 +00:00
Axel Dörfler
ebe92efe60 Added a front and back wall to each kmalloc() allocation, if USE_WALL is
set to 1 (which it currently is).
I've only used it with bochs yet, and it lets it crash reliably in some
VFS code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 01:58:22 +00:00
shatty
2c26aebcd8 changed return types for "std_ops" functions from int to int32, fixes warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 00:28:57 +00:00
shatty
3192085307 corrected format specifier to remove warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 00:25:13 +00:00
shatty
e7d12ece83 corrected format specifier to remove a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 00:20:18 +00:00
shatty
1d77ffa596 corrected format specifiers to eliminate warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 23:01:05 +00:00
shatty
8af9ddf336 corrected various format specifiers to eliminate warnings.
also changed the type of msg_code in port_test_thread_func to int32, from int. (warnings)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:59:06 +00:00
shatty
143c418d4e fixed warnings by changing the return type of the thread_func's to int32.
"int" seems like a better return type choice, but it is int32 in both the Be headers and the OBOS headers, at least for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:47:42 +00:00
shatty
1dabea80a1 fixed warnings by changing the return type of the thread_func's to int32.
"int" seems like a better return type choice, but it is int32 in both the Be headers and the OBOS headers, at least for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:40:36 +00:00
shatty
379c42b927 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:31:14 +00:00
shatty
8b4e270bed fixed to use the OBOS public header. builds now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:28:56 +00:00
shatty
9b232192b4 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:00:14 +00:00
Ingo Weinhold
31e923c80b Fixed some comments and the class prefix of the test names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:05:57 +00:00
Ingo Weinhold
be0742270b First BRoster::Launch() tests. Helper classes for tests are almost complete. Not added to the build yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:03:39 +00:00
Ingo Weinhold
4e84d53de8 First and probably only (as it is quite generic) test app for BRoster::Launch() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:01:11 +00:00
Ingo Weinhold
51cd5541a4 Added resources for the UnitTestHelper applications. This is needed to override the B_ARGV_ONLY flag that an application has by default. Actually this doesn't help very much due to problem with the R5 roster, but it doesn't harm at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 20:57:31 +00:00
shatty
9eff9ec6bb fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 11:00:22 +00:00
shatty
9ae520f2a1 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:51:42 +00:00
shatty
3a73ac03f2 fixed newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:50:37 +00:00
shatty
455ac6375c fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:43:52 +00:00
shatty
0fb7a1079b fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:51:57 +00:00
shatty
5bc7143bb9 fixed some casting bugs
fixed newline at end of file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:26:42 +00:00
shatty
de52c54764 fixed casting bugs (builds now)
also fixed newline at end of file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:20:04 +00:00
shatty
ce832bb128 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 08:50:32 +00:00
shatty
4e2492b438 fixed newline at the end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 08:46:37 +00:00
shatty
9d3fa071bf fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:41:40 +00:00
shatty
4d5fb001b1 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:27:00 +00:00
Stefano Ceccherini
f4c91e72e3 Integrate BString tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:23:14 +00:00
Stefano Ceccherini
ed1b028fd8 BString construction and CountChars tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:22:00 +00:00
shatty
111ba71e7c fixed numerous casting errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:21:50 +00:00
shatty
459a94c163 fixed newline at end of file errors.
also fixed small include bug in SupportKitTestAddon.cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:10:39 +00:00
shatty
3f7374a8f5 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:05:05 +00:00
Stefano Ceccherini
7f2ef1406b First BString use cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 04:26:45 +00:00
shatty
6098bc5ff6 fixed newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 03:22:22 +00:00