Commit Graph

1430 Commits

Author SHA1 Message Date
Axel Dörfler
11fe0cb8de Added prototypes for the sys_/user_ attribute calls.
Changed the file_descriptor structure (more status_t, name removed).
Changed "extern inline" to "static inline" in thread.h/arch_thread.h as those
also work with -O0 -g.
Added prototypes for [arch_cpu_]user_strlcpy().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 03:19:57 +00:00
Axel Dörfler
edef81d01c Fixed a compilation bug, dunno why this got through...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 03:06:55 +00:00
Axel Dörfler
bc9fd4cc49 Removed the stupid debug output I accidently commited, and replaced them
with something useful.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 01:14:44 +00:00
Axel Dörfler
f7d5ad8c90 Moved seek functionality from the fs to the vfs.
Renamed read_page/write_page to read_pages()/write_pages()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:42:17 +00:00
beveloper
b0304d13cc prevent accessing an uninitialized pointer, by making it NULL
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:36:42 +00:00
beveloper
d9b7ae2154 moved node management functions into the NodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:27:32 +00:00
beveloper
d54e84e0e2 I don't know anymore what I did with these files, but they seem to have changed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:26:45 +00:00
Axel Dörfler
a03cb82272 Added a field to track the file position to struct file_descriptor
(seek() moved from the fs to the vfs).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:11:10 +00:00
Axel Dörfler
123b5d67ad Moved the seek() functionality back to the VFS.
Renamed read_pages(), and write_pages() to make it more clear.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 23:37:05 +00:00
DarkWyrm
7fb951b11d Added PortLink class to libopenbeos build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 23:36:52 +00:00
François Revol
238cdcd089 Added team filtering on argv[1] (R5.1 ps has this feature)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:54:57 +00:00
François Revol
bb103dca64 nitial checkin. Code by Sebastian Nozzi. (sorry for the big lag on this one :p)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:22:09 +00:00
Ingo Weinhold
aa48c99b96 Remote application supports not having a signature set in resources/attributes and uses a default signature then.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:09:26 +00:00
Ingo Weinhold
159ed07994 Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:08:20 +00:00
Ingo Weinhold
659758fa4c Didn't I commit these yesterday? Fixed test naming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:07:39 +00:00
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