Axel Dörfler
3275af4352
Uncomment fClean variable to get the header binary compatible with R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:50:06 +00:00
Tyler Dauwalder
c698a51ee0
Removed "see also" reference from BStatable doxumentation, as it
...
was gunking up an otherwise nice looking Compound List page.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:42:52 +00:00
Axel Dörfler
d3ed67d76c
Removed BStringItem class from ListItem.h.
...
Fixed the StringItem.h header to be compatible with BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:41:51 +00:00
Axel Dörfler
1c1ff60b97
Copied over the ListItem.h header with the original one for now (the old
...
one wasn't compatible and written in a strange style).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:38:31 +00:00
Axel Dörfler
b2d5d0de15
Completely replaced the ListView.h header - the old one wasn't compatible
...
with Be's and in a strange style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:36:30 +00:00
Stefano Ceccherini
4c135d0948
FindLast() functions test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 14:35:55 +00:00
Stefano Ceccherini
cebc72f7c9
FindFirst() tests added to the build. More coming
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 09:59:55 +00:00
Stefano Ceccherini
d5d5aec43b
Adding DataIO classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 09:26:56 +00:00
Stefano Ceccherini
c3af0b3141
Fixed the test. Now it's successful on both OBOS and R5
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:43:34 +00:00
Stefano Ceccherini
ba3487e33a
Fixed a typing bug to make it compile again
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:42:46 +00:00
Axel Dörfler
4a2e58074d
select_info had the wrong size (uint8 instead of uint16).
...
Corrected POLLNVAL handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:41:10 +00:00
Axel Dörfler
b9db114e51
The pollfd fields events & revents had the wrong size (int instead of short).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:39:54 +00:00
Axel Dörfler
c4943b79fe
Forget to free the data allocated in common_select(), and common_poll()...
...
Changed the header guard in vfs_select.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 04:21:22 +00:00
Axel Dörfler
1e7eb4c232
Some style cleanups in khash.c - I just realized that we have two different
...
hash implementations in that file... we should really remove one of them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 04:03:13 +00:00
Axel Dörfler
58ec046735
Added support for select(), and poll().
...
Not yet tested.
Moved the CHECK_USER_ADDRESS() macro from vfs.c to kernel.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:54:07 +00:00
Axel Dörfler
a2cbc788e0
Adds support for select(), and poll() in the kernel - both are realized
...
using the current BeOS device API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:49:57 +00:00
Axel Dörfler
88fae79de6
Moved queue functionality out of module.c and into kqueue.h.
...
Changed module.c and int.c to use that one.
Some minor cleanups in module.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:42:40 +00:00
Axel Dörfler
b026d723ba
Made the POLLxxx constants compatible with the ones used internally in
...
the VFS - BeOS don't have poll() at all, so we can freely choose them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:36:14 +00:00
Axel Dörfler
8f3a4e7dd4
Cleaned up kernel.h; the insque(), remque() functions are now in a separate
...
header kqueue.h - together with their implementation which was in module.c
Added a new CHECK_USER_ADDRESS() macro that can be used to check if a
user address points into the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:31:57 +00:00
Axel Dörfler
03360f3bb7
Added our versions of BeOS compatible sys/timeb.h, and sys/times.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 00:46:31 +00:00
lillo
f2bc61304f
replaced sys_kill with general thread-aimed sys_send_signal; cleaned up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 20:38:16 +00:00
Michael Pfeiffer
79dc21c98a
Forgot to check in renamed files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 19:31:07 +00:00
Axel Dörfler
f93086c8b2
Completed the poll.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:46:30 +00:00
Axel Dörfler
f647a9d57c
Added struct timespec, and struct itimerspec to time.h.
...
Added missing typedefs (suseconds_t, useconds_t).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:36:26 +00:00
Axel Dörfler
d068515fcb
Completed sys/select.h, renamed the howmany() macro to _howmany() - now
...
also contains the pselect() prototype.
Added new header file sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:34:45 +00:00
Axel Dörfler
493130b326
Fixed and cleaned up select.h.
...
Exports now the prototype correctly in C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 17:49:41 +00:00
Stefano Ceccherini
e0060f3ff2
Implemented the last function (ReplaceSet()). Now it's just a matter
...
of doing tests for the remaining functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 15:01:32 +00:00
Bruno G. Albuquerque
bbdc29a05d
bfs_walk() should check for read permissions for iterating through directories, not execute permission.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 13:31:54 +00:00
Stefano Ceccherini
5123fbe5e3
Added the correct file name to the copyright notice
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 09:15:42 +00:00
Stefano Ceccherini
c109ab72ae
Style changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 09:13:37 +00:00
Stefano Ceccherini
a4d15367fd
BString char access tests added to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:43:23 +00:00
Stefano Ceccherini
e440e9f423
BString char access tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:42:18 +00:00
Stefano Ceccherini
b947d539d4
Added the missing format appending test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:10:44 +00:00
jrand
64617204bb
Adding use cases for the BPolygon class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 02:50:08 +00:00
Axel Dörfler
a691828008
A slight collision of StringItem.h with our coding style guidelines...
...
(and fixed newline at the end of the file).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 01:38:57 +00:00
Philippe Houdoin
a098bed826
read_next_module_name() & co now works fine from userland too.
...
To test, just compile a kernel module against this app, and put
it under ./add-ons/network/...
It support system and home add-ons/network/... too.
These modules kernel functions are now re-implemented for userland:
get_module()
put_module()
open_module_list()
read_next_module_name()
close_module_list()
get_next_loaded_module_name()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 01:35:59 +00:00
beveloper
a44a6ed6d0
better luck next time
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:48:28 +00:00
lillo
a2117f0bc7
reworked snooze to work in function of the newly added (and kernel exported) snooze_etc. Activated libroot counterpart(s).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:06:40 +00:00
Tyler Dauwalder
292e22f81d
- Switched to using different signatures for respective R5 and OBOS test apps
...
- Fixed incorrect type code previously used for app sig attributes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:55:18 +00:00
Tyler Dauwalder
230719b573
- Added Handle{Get,AddTo,Clear}Recent{Apps,Documents,Folders}() skeleton functions.
...
- Implemented HandleGetRecentApps()
- Added fRecentApps member to TRoster
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:52:28 +00:00
Tyler Dauwalder
7c82774099
Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} cases to main message loop.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:50:27 +00:00
Tyler Dauwalder
24a2d24f46
Added RecentApps.cpp to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:49:40 +00:00
Tyler Dauwalder
40ff01697c
Updated an error message.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:49:20 +00:00
Tyler Dauwalder
e106754a4e
Changed certain B_BAD_VALUE errors to more applicable B_BAD_REPLY error code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:48:30 +00:00
Tyler Dauwalder
4f935768b7
Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} message constants.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:47:18 +00:00
Tyler Dauwalder
44db8a0885
+ Added {Get,Add,Clear}Recent{Apps,Documents,Folders} framework
...
+ Fleshed out {Get,Add}RecentApps calls
+ Updated argument names for GetRecent{Documents,Folders} to
versions used in R5 release notes in the Be Book.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:46:32 +00:00
Tyler Dauwalder
4c2f542522
RecentApps class that manages the system list of recently
...
launched applications.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:44:11 +00:00
Tyler Dauwalder
8e07bd3faf
#ifdef'd out R5 versions of tests that tried to use functions not found
...
in R5 version of the Storage Kit.
This appears to fix the BSymLink linking errors, at least as a temporary
fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 02:40:06 +00:00
Tyler Dauwalder
32b8ee2e94
Renamed reserved functions to match those in R5, due to linking
...
incompatibilities that appear to possibly be due to R5 versions
of tests in libstoragetest_r5.so being compiled with our headers...
At any rate, this appears to fix the BQuery linking problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 02:38:39 +00:00
Daniel Reinhold
79362df9f7
added macros PI and PI2, and fixed previous (invalid) references to these
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:36:45 +00:00