Commit Graph

1354 Commits

Author SHA1 Message Date
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
beveloper
405439be5c unified Bochs debugging option
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 02:23:36 +00:00
Matthew Wilber
5d4da381b0 added support for saving as RLE comrpessed TGA images for some types of Be Bitmap Images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 02:15:01 +00:00
Axel Dörfler
74708d31ce Cleaned up the code, merged _keyboard_read() and keyboard_read(), and
merged setup_keyboard() and init_driver().
Added TRACE_KEYBOARD define to easily enable debug output from the keyboard driver.
Also made the escape key dropping into KDL - all special keys (like the
F-keys, etc.) aren't working in BeBochs, so that's a simple work-around
for that problem.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 01:43:28 +00:00
beveloper
682db4a4c5 add some framework to broadcast and manage notification messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 00:12:11 +00:00
Ingo Weinhold
01cf44b71c Extended the Launch() helpers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:15:53 +00:00
Ingo Weinhold
45994f62b8 Added FindApp() style and parameter checking test cases for the six BRoster::Launch() versions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:15:02 +00:00
beveloper
7dd8568e6a adding a simple queue needed for the media server's handling of notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:07:10 +00:00
beveloper
378dd356b5 reverted to 1.1 version.
unfortunately, I thought I had tested 1.2 when I got it about 3 weeks ago,
and included it today without further testing. But it turned out that it
doesn't even compile and needs to be redone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 21:59:46 +00:00
beveloper
c333623829 initial work done by John Hedditch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 20:12:56 +00:00
beveloper
ca11fc49df made movement of mouse cursor a little slower so it is better visible.
added a default argument to execute the test 1 time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:59:04 +00:00
beveloper
697bf7deb7 added a test app for set_mouse_position function of the game kit
written by Tim de Jong


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:54:44 +00:00
beveloper
b11e9aaa12 fixed newlines
fixed a crashing bug when no file was selected and play clicked
set a default ramp time of 250 ms


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:42:55 +00:00
beveloper
7d3c9b37ac I fixed all bugs I could find
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:37:11 +00:00
beveloper
716d20e1e9 a test program for BFileGameSound, written by Tim de Jong
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:18:18 +00:00
Ingo Weinhold
6991af8cd8 A link created with RelSymLink is properly removed on a `jam clean\' now. Overrode the Clean actions to support spaces in file names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 14:59:51 +00:00
shatty
929c072153 documentation for echo generic driver.
please find files and the license for this in:
current/src/add-ons/kernel/drivers/audio/echo/generic


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 11:29:58 +00:00
shatty
54764c4439 initial commit of untested beos support files.
probably missing: some of those annoying windowsish types (like DWORD)
everything else maybe works?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 11:04:17 +00:00
shatty
27327f1724 now with OpenBeOS support!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 11:01:12 +00:00
shatty
3895766d9c initial commit from files downloaded at:
http://www.echoaudio.com/Download/Developer/developer.htm
please see the enclosed open-source license. (MIT variant)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 11:00:20 +00:00
shatty
348ee26939 initial commit. mostly borrowed from ich driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 10:55:11 +00:00
shatty
b1abd16faa initial commit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 10:54:32 +00:00
Stefano Ceccherini
3249969936 More String Tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 08:19:27 +00:00
Stefano Ceccherini
5b6101d303 String Operators tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 08:18:45 +00:00
shatty
9ed520d828 changes in anticipation of useful double-clicking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:36:36 +00:00
Tyler Dauwalder
555279ef59 Removed an old and inaccurate comment I just noticed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:24:56 +00:00
Tyler Dauwalder
5a628d215b Brought mime update protocols up to speed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:19:34 +00:00