Commit Graph

102 Commits

Author SHA1 Message Date
Axel Dörfler
be28e9bd97 Added the syscalls for sys_read_dir(), and sys_rewind_dir(), and moved the
use of the IOCPARM_LEN() macro to the ioctl() function in libc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@61 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:49:37 +00:00
Axel Dörfler
65dc706027 Converted module.c to use sys_read_dir() instead of sys_read(). But it really
should use opendir(), and readdir().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@60 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:48:27 +00:00
Axel Dörfler
c1f7f96bbf Added a parameter for the maximum number of dirents for sys_read_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@59 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:47:38 +00:00
Axel Dörfler
f8d7610714 Added the syscalls for sys_read_dir(), and sys_rewind_dir().
sys_read_dir() now has a parameter for the maximum number of dirents that
are handled by the upper layer - which is currently 1.
Added a comment in fd.h to ease the location of the sys|user prototypes
of the corresponding functions in fd.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@58 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:46:34 +00:00
ejakowatz
48894e06d7 New jamfiles for several prefs apps and modifications to the top prefs
jamfile to use them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@57 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:23:57 +00:00
David Reid
db73233cdc Couple of small additions and a lot more doxygen stuff.
Web updated to reflect this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@56 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:37:42 +00:00
Ingo Weinhold
1c2a7bcee4 Regardless of whether or not the dir is renamed to bfs, here is a Jamfile. It doesn't compile on my machine, but I remember having heard something about a Be header file missing a declaration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@55 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:31:53 +00:00
Ingo Weinhold
5147813236 Added print server and screen saver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@54 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:14:22 +00:00
Ingo Weinhold
77763004e0 Fixed include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@53 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:59:20 +00:00
Ingo Weinhold
a63dade9fe Added the media addon server to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@52 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:58:30 +00:00
Ingo Weinhold
ac01d3440b The media server rolls in. Well, it doesn't compile, but it doesn't in the old tree either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@51 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:48:09 +00:00
Ingo Weinhold
b8c8c78099 Here goes the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@50 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:33:56 +00:00
Ingo Weinhold
f63877e7f7 No SetupIncludes in Server rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@49 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:25:15 +00:00
Ingo Weinhold
b01bedd574 This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
Ingo Weinhold
d820b0ec87 Adjusted some Jamfiles to reflect the new tree structure and moved AddResources before the respective building rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@47 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:58:20 +00:00
Ingo Weinhold
0971030020 Moved AddResources up. It needs to be called before the building rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@46 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:55:17 +00:00
Ingo Weinhold
78599cf01d Changed build target directory to \*.R1 and simplified AddResources rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@45 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:54:11 +00:00
ejakowatz
05cce1aecd Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@44 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:48:03 +00:00
Ingo Weinhold
70c31e5157 Reflect the latest change to the UsePublicHeaders rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Ingo Weinhold
7d7f280ed3 * Uncommented SetupIncludes in Addon. Same reason as with the others.
* Reintroduced Axel's fix to the public header dirs.
* Pulled the functionality to set the headers on object files out of
  Use*Headers and put it into new rules Use*ObjectHeaders. The usage differed
  too much.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@42 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:35:13 +00:00
Axel Dörfler
acea35dd63 That was too fast: "os" is added in the sub-Jamfiles (although I don't think
that's a good solution). Fixed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@41 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:57:36 +00:00
Axel Dörfler
e9625b4b51 The "os" directory was missing from the UsePublicHeaders rule.
BTW the last change of this file requires updating your OBOS_TOP variable
to the current tree.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@40 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:55:05 +00:00
Axel Dörfler
f2e60e56e0 Added missing a newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@39 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:48:19 +00:00
Ingo Weinhold
8bac7924c0 Fixed the path to the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@38 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:20:25 +00:00
Ingo Weinhold
4236d49041 Improved LinkSharedOSLibs. It does now look, if a supplied "library" has a dirname or grist, which makes the rule handle it as if the basename would start with "lib". Needed e.g. when linking against servers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@37 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:11:24 +00:00
Axel Dörfler
74f88d9ebf The syscalls.h wasn't up to date (unlike the one in the old tree).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@36 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:47:46 +00:00
David Reid
48535f1870 offsetof, insque and remque can be used throughout the kernel,
so move their definitions here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@35 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:17:22 +00:00
David Reid
434d5d1923 As this seemed to be going round and round with no-one fixing it, here
is a fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@34 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:08:47 +00:00
Ingo Weinhold
25d7f21603 Typo: key -> hey.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@33 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:07:35 +00:00
Ingo Weinhold
28fd2c3c85 The included Test.StorageKit.h has been renamed to StorageKitTester.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:06:51 +00:00
Ingo Weinhold
690f2d09ff Adjusted the SK tests Jamfile to work in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@31 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:05:10 +00:00
Ingo Weinhold
97a2517bdc The public OBOS include dirs were invalid.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@30 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:04:14 +00:00
Ingo Weinhold
fc5a434b2c Include the Storage Kit tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@29 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:03:00 +00:00
Ingo Weinhold
32bc7795b0 Adjusted the original SK Jamfile to work in its new friendly neighborhood.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@28 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:02:00 +00:00
Ingo Weinhold
736994efc9 Uncommented Storage Kit include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@27 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:00:19 +00:00
Ingo Weinhold
64f6603fbe Include the official DataIO.h rather than MallocIO.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@26 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:59:18 +00:00
Ingo Weinhold
cdcd225793 DataIO.h has to include MallocIO.h. Be has only the first header containing all declarations.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@25 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:58:14 +00:00
Ingo Weinhold
7e4c96cf79 SymLink.h included kernel_interface.h, which is a private header. Doh!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@24 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:56:30 +00:00
Ingo Weinhold
3b9eae39d5 * Turned off optimization for unit tests. The Storage Kit tests were running
amok...
* Added rules SplitPath and SymLink used in the Storage Kit tests Jamfile.
* Removed the setting of CCFLAGS and C++FLAGS on the SystemMain target.
  This really doesn't made sense.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@23 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:54:50 +00:00
Ingo Weinhold
5527b575c3 Renamed Test.StorageKit.cpp/h to StorageKitTester.cpp/h. Just to avoid problems with Jam's suffix handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@22 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:50:25 +00:00
Ingo Weinhold
232067ccbb Moved StorageDefs.Private.h to the public headers. Strange, but it is needed by them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@21 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:47:48 +00:00
Ingo Weinhold
533dbf2142 Adjusted to the new tree structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
Ingo Weinhold
98602e0409 Adjusted to the new tree structure, though currently (?) not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:41:59 +00:00
Ingo Weinhold
88a28d9072 Added newline at eof.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@18 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:40:28 +00:00
Ingo Weinhold
9377918226 This file shadows Be's header. So if it doesn't contain anything, iclude at least the original header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@17 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:39:34 +00:00
Ingo Weinhold
66f77d7bfd This one obviously got lost. Adjusted to the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@16 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:38:17 +00:00
Ingo Weinhold
54f76689cb Adjusted the SubDir and SubInclude parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@15 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:15:44 +00:00
Ingo Weinhold
8b3bd88c41 I don't know why the path to this header is hard-coded. However, adjusted to the new structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@14 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:14:09 +00:00
Ingo Weinhold
c633961ad2 Adjusted the Use*Headers rules to reflect the new header dir structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@13 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:11:42 +00:00
Axel Dörfler
5a2b57c361 Updated to the current version of dirent.h (that somehow didn't make it to
here).
Notably changes are: C++ safe, struct dirent is now BeOS compatible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@12 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:57:50 +00:00