Commit Graph

9222 Commits

Author SHA1 Message Date
Axel Dörfler
5c41c39314 Implemented exec() support function vfs_exec_io_context() which closes all
file descriptors that have O_CLOEXEC set.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:47:58 +00:00
Axel Dörfler
76dede71c7 Added exec() support function vfs_exec_io_context().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:46:32 +00:00
Axel Dörfler
3a459a1998 The internally used copy_arguments() accidently left out the first argument.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:42:25 +00:00
Jérôme Duval
2f54a688b0 added keymaps info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:22:08 +00:00
Jérôme Duval
3b68aa7eb1 added keymap and keymaps to the input package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:16:28 +00:00
Jérôme Duval
6336159bbb Added package files inspired from ../mail (aka the mail daemon)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:59:12 +00:00
Rudolf Cornelissen
ab3a9652a0 updated coldstart stuff once more. Fixed RAM amount detection/setup when cards are used as primary cards executing coldstart, still needs to be fixed when cards run as secondary card. NV28 is the only card not yet operational over here: probably needs different RAM setup somehow.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:58:35 +00:00
Jérôme Duval
6f1fb05e1f Added a haiku-inputkit-cvs package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:45:36 +00:00
Rudolf Cornelissen
5bff191a01 trying to convert nv10+ RAM setup cmd from ISA to PCI access, also pre-NV10 converted (still untested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:12:11 +00:00
Jérôme Duval
d3e72bf66a added an input kit target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 08:35:51 +00:00
Michael Pfeiffer
3239999b76 Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 18:48:01 +00:00
Michael Pfeiffer
ffe881b8a5 Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:51:27 +00:00
Michael Pfeiffer
9f61371bd2 Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:16:52 +00:00
Michael Pfeiffer
b86ab0a9dd Added PDFlib lite 5.0.3 which is required to build the PDF printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:10:36 +00:00
Michael Pfeiffer
3666645ab4 Added PDFlib lite 5.0.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:01:21 +00:00
Jérôme Duval
0a279d91af changed signature to original, needed for compatibility
change AddOnManager deletion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 13:49:45 +00:00
Jérôme Duval
abc3b04ccf implemented BInputServerFilter::GetScreenRegion. Tested with R5 screen_saver filter successfully.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 09:28:36 +00:00
Axel Dörfler
e4155d6ff9 When $PATH has not yet been set, the bash will now set the BeOS standard path.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 02:21:07 +00:00
Axel Dörfler
2f49ba7d28 Removed strnicmp.o from librld.a, also removed some string functions that
shouldn't be used in anything that we control (like strncpy()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 01:14:05 +00:00
Axel Dörfler
44fbee8356 We already have strncasecmp(), and we don't need strnicmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 00:36:17 +00:00
Axel Dörfler
3451283511 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 00:14:41 +00:00
Jérôme Duval
01a9b4267c change debug macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:44:07 +00:00
Jérôme Duval
ca75e4d057 Added a looper to handle devices related requests
Before it was deadlocking when an addon asks for a new keymap on a notification message


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:33:14 +00:00
Axel Dörfler
7f5c5fd42b The search path feature now works properly. The path found is now propagated
back to load_container() so that map_image() has the chance to succeed.
The FATAL() macro now uses dprintf() instead of printf() when TRACE_RLD is defined.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:29:04 +00:00
DarkWyrm
e1af90ffb8 Added storage of owning team and a couple of related methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:01:37 +00:00
DarkWyrm
76d4213d60 Removed a couple of unnecessary includes
(Hopefully) patched a crash under the BApplication Quit2 test
Speedup for CursorManager::RemoveAppCursors


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:00:47 +00:00
DarkWyrm
601a55f349 Added message codes to support the soon-coming ServerMemIO class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 22:59:03 +00:00
Nathan Whitehorn
db0fafd55e Fixed compilation with the new GCC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 21:46:06 +00:00
Jérôme Duval
1a813abdc9 Changed some printf to PRINT macro
Now uses BScreen to constrain mouse cursor
Now handles gracefully screen resolution changes
Yeah it works!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 20:42:08 +00:00
Jérôme Duval
e5572c09e6 Sync with opcodes header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 18:59:04 +00:00
Jérôme Duval
4b078ea6cb fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 18:42:42 +00:00
Ingo Weinhold
5741bcb5d8 * Eliminated fs_mount::mount_point. It wasn't really used anyway, only
in dir_vnode_to_path() which does now continue until hitting "/".
* Refactored common volume root to mount point resolution code into a
  separate function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 16:08:31 +00:00
Jérôme Duval
e1130011b7 improved ioctl codes naming
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 16:01:12 +00:00
Jérôme Duval
c2fbfb71f0 clean up, now avoid locking when shutdowning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 15:59:40 +00:00
Philippe Houdoin
178f20f0f6 Experimental search paths $PATH, $LIBRARY_PATH, $ADDON_PATH support.
As we currently don't have these environment variables set at init time, their values
are hardcoded for the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:43:41 +00:00
Rudolf Cornelissen
f8930a8944 ISA->PCI conversion of coldstart script cmd's is operational sofar. Besides NV34 NV11 is working OK as secondary card now also!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:38:45 +00:00
Rudolf Cornelissen
c23a5cf39d trying to convert the coldstart ISA accesses to PCI accesses, as the ISA access method relies on no other cards occupying the VGA ISA I/O adresses (i.e. a kernel driver for the primary card MUST be loaded that disables ISA I/O for that card ATM).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:09:42 +00:00
Axel Dörfler
f876489277 Added support for changing the access mode using ioctl() and B_SET_(NON)BLOCKING_IO.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:47:11 +00:00
Axel Dörfler
9c137c0adf Enabled the bfs_set_flags() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:45:24 +00:00
Axel Dörfler
d590ff3d36 We now have a working fcntl() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:40:13 +00:00
Axel Dörfler
d6571884c7 Added basic fcntl() functions and syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:36:44 +00:00
Axel Dörfler
6acb672431 New syscall for fcntl().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:28:48 +00:00
Axel Dörfler
c7a0c0f9e1 Added set_flags() support where needed. devfs now uses the ioctl() mechanism
via B_SET_(NON)BLOCKING_IO to notify the device about any access mode changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:24:12 +00:00
Axel Dörfler
752c2e981e The set_flags() call was missing from the FS interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:22:00 +00:00
Axel Dörfler
ae1b76c11e I didn't like the BeOS field names, but I forgot them in the comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:18:48 +00:00
Axel Dörfler
3db167c4d2 %ebp was not saved which resulted in a crash on longjmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:15:41 +00:00
Axel Dörfler
a4611f9d2b The BSD setjmp() implementation was not at all BeOS compatible. This one
is now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:08:03 +00:00
Axel Dörfler
b5c6c8b6b5 We now have a POSIX compatible setjmp.h header (also BeOS binary compatible).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:06:36 +00:00
ejakowatz
059b143a70 The fWasDelivered member was never getting initialized, so replying to
messages which did not explicitely request a reply would fail.  The member
is now initialized if an unflattened message has the MSG_FLAG_INCL_REPLY
flag set.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 06:56:41 +00:00
Philippe Houdoin
a889bb181d Add thread-safe strtok_r() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 23:44:15 +00:00