Ingo Weinhold
6a6ef24013
Added some interesting new tests for BRoster::FindApp()/Launch(): App hint points to a link, document is cyclic or bad link, found application has no signature set in resources/attributes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:06:11 +00:00
Ingo Weinhold
af8eec4080
Added support for the B_REG_SET_SIGNATURE request (BRoster::SetSignature()).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:03:11 +00:00
Ingo Weinhold
480ed2e7f3
Fixed bug in ReadAttrString(): The resulting string was one character longer, when the string in the attribute was null terminated.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:02:12 +00:00
Ingo Weinhold
8c7b7c869d
* resolve_app() and translate_ref() do now traverse the supplied ref and
...
set it to the resolved entry. Fixed bug causing non-traversal of app
links. Unset the app meta MIME type's app hint, if it is invalid.
* resolve_app(): Fixed incorrect behavior in case the signature of the
found app is not the signature of the preferred app.
* Implemented SetSignature(). It is indeed needed and I finally found out.
:-)
* xLaunchAppPrivate(): The document ref is always resolved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:59:57 +00:00
Ingo Weinhold
d8c0f6e4f5
InitData(): Set the correct signature when pre-registered under a wrong one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:52:15 +00:00
Ingo Weinhold
ae56d39432
Added B_REG_SET_SIGNATURE.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:49 +00:00
Ingo Weinhold
9b66380776
Changed SetSignature() return value from void to status_t. resolve_app() and translate_ref() do now set the supplied ref to the resulting one when traversing a link.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:24 +00:00
Ingo Weinhold
b083d5092f
New protocol B_REG_SET_SIGNATURE (BRoster::SetSignature()).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:47:40 +00:00
Axel Dörfler
c01214de27
Removed the debug output that was accidently added by the last commit.
...
Included NewOS change 1656 (O_CLOEXEC support, and a bug fix in get_vnode()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 15:31:40 +00:00
Stefano Ceccherini
294bea18c1
Removed a useless #include
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 13:49:16 +00:00
Stefano Ceccherini
979b68a75b
Fixed a stupid bug in BString::CharacterEscape() and committed the correct version of DataIO.cpp (the former was an incorrect version)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 12:51:25 +00:00
Stefano Ceccherini
fde69fce63
Fixed a bug which crashed the BResource tests (sorry Ingo)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 10:09:39 +00:00
Matthew Wilber
b8f9ee8199
Added a checkbox for turning on/off Save as RLE, saves TGA Translator settings to a file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 00:02:46 +00:00
Matthew Wilber
e5497a45ce
added a checkbox for turning on/off save as RLE, saves TGA Translator settings to a file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 00:02:06 +00:00
Matthew Wilber
34bec321e8
added support for saving settings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 00:00:12 +00:00
Matthew Wilber
d3d8762333
added support for saving settings, in various ways
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:59:37 +00:00
Matthew Wilber
ce992c6d0f
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:58:41 +00:00
Axel Dörfler
165f8bc071
Added the new files in libroot/posix to the Jamfile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:52:14 +00:00
Axel Dörfler
511a61e038
Added BSD's glob & fnmatch implementation (disabled collation stuff).
...
Added symbol exports for the user/group ID functions, and [sg]ethostname(),
although those are not yet implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:51:35 +00:00
Axel Dörfler
5ebceff89d
Added L_cuserid, ... definition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:47:50 +00:00
Axel Dörfler
cc53922b41
Added headers for fnmatch, glob, and pwd stuff.
...
Uncomment some functions in unistd.h which glob is using.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:47:13 +00:00
Ingo Weinhold
72ba8a738e
Accounted a behavioral difference between R5 and our implementation. Comment fix.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:00:17 +00:00
Ingo Weinhold
07823f007c
Accounted a behavioral difference between R5 and our implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:58:37 +00:00
Ingo Weinhold
4000397895
More debugging output. Yeah!!!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:57:09 +00:00
Ingo Weinhold
53bf00c9d5
Fixed actual bug in set_stat(). Discovered by the gcc from GeekGadgets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:55:32 +00:00
Ingo Weinhold
a04efc92d0
Added variable initializations. Not necessary, but they please the compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:53:29 +00:00
Ingo Weinhold
f2d61cef5e
Implemented the Launch() methods and their helpers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:51:19 +00:00
Ingo Weinhold
717a24b7a6
Fixed synchronous SendMessage() calls. _send_()'s wantsReply must always be false, otherwise we get flooded with B_NO_REPLY messages.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:50:23 +00:00
Ingo Weinhold
ad4fdf8d15
* Don't uninitialized be_app_messenger in the destructor.
...
* Fixed missing variable initialization in GetSupportedSuites().
* InitData(): Don't post B_ARGV_RECEIVED to ourselfs when pre-registered.
* InitData(): Added create_app_meta_mime().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:48:39 +00:00
Ingo Weinhold
0cf8481dc7
Added newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:45:06 +00:00
Ingo Weinhold
507e41e8dc
Removed unused private methods. Beautified parameter naming.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:43:13 +00:00
Ingo Weinhold
5ecdf4706c
Removed DataIO.cpp from the build. BMallocIO is buggy and crashes BResources.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 15:57:04 +00:00
Stefano Ceccherini
15b834fea5
More BString tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 15:56:57 +00:00
Stefano Ceccherini
dd2406eb30
More tests (Escaping, Inserting)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 13:45:40 +00:00
Stefano Ceccherini
a971d340bb
Added Escaping/Deescaping. Fixed a bug in Inserting methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 13:44:40 +00:00
beveloper
89e936f711
added missing operator new and operator delete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:39:16 +00:00
Phil Greenway
63990f7f3b
Added a couple of the newer bin commands.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:38:44 +00:00
Phil Greenway
ea5fda7b4c
Coded by Jonas Sundstr��m
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:31:44 +00:00
beveloper
4703fb5d85
These files have been contributed by Christopher ML Zumwalt May
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:31:21 +00:00
Phil Greenway
1f428842e5
replaced by yes.cpp by Jonas Sundstr��m
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 10:42:23 +00:00
Phil Greenway
ec41229455
Coded by Jonas Sundstr��m
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 10:41:32 +00:00
Phil Greenway
036d4c47dd
Coded by Sandor Vroemisse
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 10:15:53 +00:00
Phil Greenway
8353a17f9c
Coded by Jonas Sundstr��m
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 10:10:16 +00:00
beveloper
85dfab2ba8
even more BMediaRoster functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
Axel Dörfler
94fc97f703
Return type of thread_set_priority() was wrong.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:31 +00:00
Axel Dörfler
ee02a93973
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:44:27 +00:00
Axel Dörfler
48d81f1962
Cleaned up the source a bit, and rearranged the code, (hopefully) no functional
...
changes, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:38:42 +00:00
Axel Dörfler
362032afbf
Removed the contents of the common/ directory.
...
Cleaned the Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 18:19:18 +00:00
Axel Dörfler
e195c3e79e
Added some files that we probably won't need for a while...
...
(syscalls.inc for other platforms)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 18:09:26 +00:00
Axel Dörfler
fae903cacf
Rearranged the Jamfile a bit, moved syscalls.S around.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 17:34:09 +00:00