Commit Graph

1330 Commits

Author SHA1 Message Date
Stefano Ceccherini
a57dca3940 Whoops! Forgot these tests...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 09:40:55 +00:00
Stefano Ceccherini
de78848fb3 More tests for BString added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 06:42:35 +00:00
Stefano Ceccherini
eee13b4d9a More tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 06:42:01 +00:00
Axel Dörfler
7e1d70ff27 Some minor cleanups.
Eliminated a macro by introducing an inline function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 04:45:07 +00:00
Matthew Wilber
225f93a081 the RLE stuff still doesn't exactly work, but I'm getting somewhere
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 04:11:38 +00:00
Michael Phipps
a550db6753 Checkpoint. Hand examined the code and made several changes/improvements.
Doesn't crash quite as easily. Still some nagging bugs.
Partial implementation of hashTable. Need to make find use keys and do proper
memory allocation (i.e. from physPages, not new).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 03:42:59 +00:00
beveloper
63ffaa3ea4 some last minute changes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:40:30 +00:00
beveloper
8c6a6096e7 rewrote BMediaRoster::Connect() and a few related functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
DarkWyrm
a7e12e3ed2 Added zip and unzip to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 21:32:10 +00:00
beveloper
e66fda405a finished notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00
Marc Flerackers
1b7f115063 Put back lost changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:23:00 +00:00
Marc Flerackers
fb4bf99df7 Some fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:06:16 +00:00
Marc Flerackers
a0cbca4f9f SetLowColor before DrawString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:05:29 +00:00
beveloper
1d616657b9 changed the notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:01:37 +00:00
Marc Flerackers
3cfbf2cf23 Fixed default button functions and drawing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 11:27:33 +00:00
beveloper
fd2581121b changed media kit internal messaging and notification support
these files will be replaced soon


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:08:54 +00:00
beveloper
f492510482 changed media kit internal messaging and notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:04:48 +00:00
Marc Flerackers
398e73f23b Fixed the drawing functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 13:48:52 +00:00
Stefano Ceccherini
d9e38b8715 More functions, more bug fixes.
Just Escaping/Deescaping and some Replacing functions missing


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:39:09 +00:00
Tyler Dauwalder
e74030b843 + Added meta mime file test to sniffing test
+ Added commented out update_meta_mime(NULL) and
  create_app_meta_mime(NULL) calls for the adventurous
  tester.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:38:53 +00:00
Tyler Dauwalder
aaa3ba11ce Added RegistrarThreadManagerTest to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:37:16 +00:00
Tyler Dauwalder
d030216df5 Accounted for ThreadManager => RegistrarThreadManager name change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:36:45 +00:00
Tyler Dauwalder
6fe0c83d38 Updated to use RegistrarThreadManager instead of ThreadManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:36:08 +00:00
Tyler Dauwalder
a95d0e50a1 Removed ThreadManager from the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:35:28 +00:00
Tyler Dauwalder
a43a7a8d11 Relocated directory determining code to a more appropriate location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:35:01 +00:00
Tyler Dauwalder
a551958795 Removed directory and symlink special cases from
GuessMimeType(entry_ref*) and placed them in
Database::GuessMimeType(entry_ref*)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:34:15 +00:00
Tyler Dauwalder
86c6e9c1c1 + Moved some code from SnifferRules::GuessMimeType(entry_ref*) that
really didn't belong there into Database::GuessMimeType(entry_ref*)
+ Added special meta mime file case to Database::GuessMimeType(entry_ref*)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:31:37 +00:00
Tyler Dauwalder
989772566f Added kMetaMimeType constant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:29:32 +00:00
Tyler Dauwalder
04c26f3c9b Finished implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:26:57 +00:00
Tyler Dauwalder
09dad369d7 Updated filesystem traversal code to skip files/devices that don't
support attributes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:26:11 +00:00
Tyler Dauwalder
ef3fb6465d Added RegistrarThreadManager to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:25:04 +00:00
Tyler Dauwalder
cea5557794 Updated to match new entry_ref_is_root_dir() calling convention.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:24:38 +00:00
Tyler Dauwalder
28f43bbd48 + Updated entry_ref_is_root_dir() to Be style calling conventions
+ Added device_is_root_device() call


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:23:59 +00:00
Tyler Dauwalder
83f04694ae Shutdown tests for RegistrarThreadManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:56 +00:00
Tyler Dauwalder
9f6eedfaf3 + Renamed and moved from src/servers/registrar/ThreadManager.{h,cpp}
+ Fixed iteration bugs
+ Added more complete debugging output


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:11 +00:00
Tyler Dauwalder
c76034e178 + Renamed to RegistrarThreadManager to avoid conflicts with tools/cppunit/ThreadManager
+ Moved into app kit directories for inclusion in libopenbeos.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:20:38 +00:00
DarkWyrm
8d22950d01 API and stability improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 22:34:20 +00:00
Axel Dörfler
d0286a7395 Added a warning for drivers which don't export the api_version.
Now returns ENXIO if dev_publish_devices() returns an error (instead of
B_OK).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 21:59:09 +00:00
shatty
1419ae2b19 changed ordering of SetVersion and MimeSet to fix application version nuking.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 21:16:18 +00:00
Michael Phipps
571e21095f Per Jason
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 17:53:51 +00:00
Michael Phipps
5894646a95 Per Jason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 17:52:57 +00:00
Stefano Ceccherini
53fd1e70a4 More BString functions. Constructors, CountChars() and operators "=" and "+=" are tested with cppunit and work fine.
Added string_helper.cpp and .h to compile String.cpp correctly. Those will be removed as soon as we have our working libc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 06:59:26 +00:00
shatty
3589bfc66b using the new resource generated from rdefs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 04:07:16 +00:00
shatty
9a7bbcb7b7 changed to resource definition format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:55:55 +00:00
shatty
1a9aeb4880 new resource definition files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:52:17 +00:00
Axel Dörfler
634a41725a The main reason I commit this: the last change also made set_sem_owner() to check
for a valid team id.
Added a comment about a race condition in set_sem_owner().
Some minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:48:59 +00:00
Axel Dörfler
3fa1fa66f1 Cleaned up the source, made it compatible with our style guide (i.e. global
variables now have the 'g' prefix).
Fixed a very unlikely race condition in create_sem_etc() (can only happen if
that call isn't used properly).
Fixed some wrong return values (i.e. B_BAD_TEAM_ID wasn't returned anywhere).
Optimized _get_next_sem_info(): it now only grabs the semaphore lock
if it has good reason to do so.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:43:32 +00:00
Axel Dörfler
79f4cb3e2c remove_fd() is now static.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:31:42 +00:00
Axel Dörfler
03874b549f Removed the remove_fd() prototype, it's now a static function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:29:19 +00:00
beveloper
64ea4a7aa7 unified Bochs debugging option
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 02:25:11 +00:00