Commit Graph

8671 Commits

Author SHA1 Message Date
Axel Dörfler
05835518ae Added a function prototype and description on how the userland waitpid()
functionality could be supported.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:41:06 +00:00
Axel Dörfler
77a6c2446a We now have a POSIX and BeOS compatible grp.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:04:55 +00:00
Axel Dörfler
ef552d5eab Added names for the parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:51 +00:00
Axel Dörfler
39536410a6 Added dumb group functions - they only know one group: "users" (should be pretty similar to R5).
Implemented and added functions from inttypes.h (not everything is working correctly, though).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:01 +00:00
Axel Dörfler
929525b836 Implemented wait() using waitpid() following the POSIX spec.
Added some more debug output for waitpid().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:01:02 +00:00
Axel Dörfler
336ffbcd04 Unlike alarm(), ualarm() has actually two arguments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 23:45:54 +00:00
Ingo Weinhold
d21749db83 Fixed a problem we had with bool parameters (probably with all types that consume more storage when being passed as function parameters).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:17:57 +00:00
Ingo Weinhold
75df143732 Introduced a macro specifying the type function parameters are aligned to. Not nice, but seems to help with the automatic generation of syscall code (at least on x86).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:15:19 +00:00
Rudolf Cornelissen
1056bcb0ca added ISA I/O functions in kerneldriver (for coldstart script exec)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:10:51 +00:00
Rudolf Cornelissen
fc3f2e637d added ISA I/O functions in kerneldriver (for coldstart script exec)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:04:26 +00:00
Axel Dörfler
cc90b1798a Removed unsupported cruft from uio.h (uiomove()).
Made header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 16:26:15 +00:00
Jérôme Duval
53d77642d6 Added mouse settings handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:55:54 +00:00
Axel Dörfler
d5b3917b25 Introduced new thread_entry_func type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:48:36 +00:00
Axel Dörfler
655c4f0c99 Resolved the argument type change of _user- vs. _kern_spawn_thread() - introduced
a new thread_entry_func typedef in the kernel only. Unlike thread_func, it accepts
two arguments - that functionality is not exported to the user, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:47:47 +00:00
Axel Dörfler
a52018b53b dev_for_path() should resolve symlinks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:41:20 +00:00
Axel Dörfler
d3fe452749 A Jamfile for posix/arch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:40:06 +00:00
Axel Dörfler
9d91354201 Added empty setlocale() call, just to export it.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:39:01 +00:00
Axel Dörfler
f283d6c99e Added dummy strcoll() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:37:38 +00:00
Axel Dörfler
1676c18192 Added BSD style bcopy/bzero() functions to the build again - BeOS bash
uses them, too, and maybe others as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:35:20 +00:00
Axel Dörfler
7800e87a5a Added kill() implementation, user part of sigprocmask() now works.
Renamed syscalls.
Cleaned up files.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:06:27 +00:00
Axel Dörfler
d32f5c2e8b Added probably broken implementation of sigprocmask().
Renamed syscalls to the new scheme.
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:05:09 +00:00
Axel Dörfler
532544a9a1 Added mktemp() and friends from FreeBSD - calls not part of the POSIX specs
are currently disabled.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:04:21 +00:00
Axel Dörfler
46365ccea6 Added new syscall _kern_sigprocmask(), renamed other signal syscalls to the
new naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:02:26 +00:00
Axel Dörfler
5be3370fe7 Added implementations of alarm() and ualarm() based on setitimer() (which doesn't
work yet correctly).
Added empty sbrk() for now - not sure what to do with this. Maybe we should remove
it completely (but BeOS bash needs it).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:00:00 +00:00
Jérôme Duval
61d7deee8a added a mouse input server device courtesy of Stefano Ceccherini
basicly tested


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:54:09 +00:00
Jérôme Duval
97cdac132b added methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:12:20 +00:00
Jérôme Duval
11b0d5ec50 Added devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:03:58 +00:00
Axel Dörfler
d21f25079b Added missing function tzset() - doesn't do a lot yet, though. The source
file also contains the tzname symbol.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:28:25 +00:00
Axel Dörfler
f84671c1ca Added empty PPC jamfile - there are no arch dependent things yet for PPC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:23:08 +00:00
Axel Dörfler
7be5564a86 Added setjmp(), sigsetjmp(), and friends from FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:21:54 +00:00
Axel Dörfler
6914fa8c77 Removed rlimit.c - we now have one in sys/ where it belongs to.
Added new "arch" subdirectory to the build.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:18:36 +00:00
Axel Dörfler
866a87e2b5 Added several missing functions - some of them work, some of them don't.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:14:12 +00:00
Philippe Houdoin
6eb80c55ea Dynamicly compute the settings area minimal size (and window, so) according
to add-on's views size.
NetworkSetupProfile class: work in progress...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:10:12 +00:00
Jérôme Duval
bb9fc82712 Moved to SimpleTest rule, to not clutter distro directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 09:24:55 +00:00
Ingo Weinhold
d9b1b5c979 Made the libglob.a targets for bash and make distinguishable for jam by adding grist to each.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 23:05:55 +00:00
Jérôme Duval
c1706cd270 minor fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:28:11 +00:00
Jérôme Duval
1cf63426c6 added messages outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:17:23 +00:00
Jérôme Duval
dd658e005d added system key chars size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:12:14 +00:00
Jérôme Duval
dbf6aa568b integration of the system keymap, loaded when settings one loading fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:06:54 +00:00
Jérôme Duval
5b7cb6de0a Seems hex printf output is buggy with negative value, -1 should give ff and not ffffffff. we go to decimal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 17:15:42 +00:00
Jérôme Duval
12379c683f added header generation for input_server inclusion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 16:56:19 +00:00
Jérôme Duval
b7a80e2d41 added a systemkeymap generation based on US-International keymap, it is hardcoded in the Jamfile for now
fix a bug in MouseSettings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 16:51:53 +00:00
Axel Dörfler
0f43544e4d Calm down IDE debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 13:08:34 +00:00
Rudolf Cornelissen
1f1a4dff41 fixed small typo. Erazor 3 (TNT2) indeed still operational exactly as before.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:34:16 +00:00
Rudolf Cornelissen
8a1aa554a5 added more registers needed for coldstarting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:18:24 +00:00
Rudolf Cornelissen
595ca96f05 some coldstart finetuning and yet another script command. mods not yet checked (so not yet run).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:16:18 +00:00
Stefano Ceccherini
4826cc5f6a Added a (mostly not tested) _PointerList_ class. Please (Michael Pfeiffer or Ingo, whoever comes here first ) have a look at it :)
Note that I needed to write my own BSearch() because the compare functions used by _PointerList_ wants items as arguments, while the C bsearch() wants pointers to items as arguments.
The same applies to qsort(), though it's not been written yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 10:10:23 +00:00
Jérôme Duval
b00721dd1e added error handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:57:34 +00:00
Jérôme Duval
bab3205a73 changed signature
added error outputs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:56:59 +00:00
Jérôme Duval
1e4e105d82 added error outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:56:17 +00:00