Commit Graph

7850 Commits

Author SHA1 Message Date
Michael Phipps
dce72ace8b Fixed all known bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 23:18:56 +00:00
Michael Phipps
a5762b3071 Changed the way preferences are stored.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 23:17:47 +00:00
DarkWyrm
a3bd1e1ca5 Added class for requesting shared client-server memory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 18:13:33 +00:00
Stefano Ceccherini
a87bf00703 Bare minimum stuff to have BPopupmenu working with our own BMenu
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 08:50:17 +00:00
Axel Dörfler
b492de88e3 I've already switched the page pointer to vm_cache, so this comment was
not necessary anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:27:04 +00:00
Axel Dörfler
adf3b19660 resize_area() must unmap the area beyond the new size, if the area has shrinked.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:19:33 +00:00
Axel Dörfler
ed3d2e92e8 Added tests for vm_copy_area() and resize_area().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:12:55 +00:00
Axel Dörfler
ad07c81011 vm_cache_resize() now requires you to have the vm_cache_ref lock held.
This actually reflects the only usage of this function anyway, and thus,
fixes the resize_area() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 23:11:50 +00:00
Axel Dörfler
f774bf16ea Implemented vm_copy_area(), mainly a support function for fork().
vm_page no longer keeps a pointer to the vm_cache_ref but to the vm_cache.
This cleans the page handling when having to make an area copy-on-write;
regions belong to vm_cache_ref, pages to vm_cache.
Fixed some return types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 22:56:51 +00:00
DarkWyrm
da0209e2e4 Some fixes and tweaks by Kevin Field
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 22:36:54 +00:00
Rudolf Cornelissen
e9a30e453e modified type2 RAMsetup to use PCI instead of ISA access. Works. (I hope.)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 19:58:25 +00:00
Axel Dörfler
c77c1efff5 Removed the broken vm_resize_region() and implemented it properly in resize_area(),
some ToDo-items are left.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 15:16:29 +00:00
Axel Dörfler
d0f673c8e2 Implemented vm_cache_resize(): it removes all pages outside the current bounds.
It currently checks for temporary caches, but it should really only be used
with regions for anonymous memory.
Fixed some return types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 15:10:50 +00:00
Axel Dörfler
6978315d3a B_EXACT_KERNEL_ADDRESS doesn't really make a lot of sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 01:16:54 +00:00
Axel Dörfler
da504d877d Removed team::_aspace_id since it already has a direct pointer to it.
Changed the way a vm_address_space is deleted: instead of having to explicitly
call vm_delete_aspace(), the last vm_put_aspace() will remove it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 17:17:04 +00:00
Axel Dörfler
1a705b91b7 Removed team::_aspace_id since it already has a direct pointer to it.
Changed the way a vm_address_space is deleted: instead of having to explicitly
call vm_delete_aspace(), the last vm_put_aspace() will remove it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 17:11:54 +00:00
Axel Dörfler
894e120a01 Moved everything from vm.c belonging to vm_address_space into a separate file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 16:15:49 +00:00
Jérôme Duval
90c2fee933 Fixed events filtering
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 16:03:36 +00:00
Axel Dörfler
d82bfbadd6 Small test app for the execl() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:39:37 +00:00
Axel Dörfler
acfca1a3f5 We now have a working exec_team() function (the backend of the exec() function family)!
Should be tested and verified more intensively, though.
Moved the creation, initialization, and deletion of the team_arg structure out of
team_create_team(); it's now also used by exec_team().
Renamed kfree_strings_array() to free_strings_array().
Renamed the fields of the team_arg structure to be more in sync with the names used
at other places.
Fixed the routine that copied the environment/arguments into the userland space.
Improved and fixed the user_copy_strings_array() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:34:17 +00:00
Jérôme Duval
2895720c82 init the button state
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:16:02 +00:00
Axel Dörfler
5ad2b8edae Added exec() support function vm_delete_areas(); factored that code out
of vm_delete_aspace() (which now calls it).
Fixed some return types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:15:08 +00:00
Jérôme Duval
18a632f492 added a R5 driver build
moved cbuf_adapter.h to private input headers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:02:54 +00:00
Jérôme Duval
a4e8629adf Added R5 driver build, package inclusion is commented for now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:00:16 +00:00
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
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
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
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
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
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
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
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
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
Axel Dörfler
40cc0ebde2 Added an endless loop detection; it will now store up to 16 stack positions
and will check against those. This fixes the rare case an interrupt frame
could cause before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:52:56 +00:00
Axel Dörfler
0f5095f9f9 Now uses thread::user_stack_size instead of STACK_SIZE. This also fixes a
potential bug if MAIN_STACK_SIZE and STACK_SIZE would have been different.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:41:34 +00:00
Axel Dörfler
57bf060563 Fixed another stupid bug in the file cache: when the first read was a partial
read over two blocks, some memory behind that memory could be trashed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 21:03:31 +00:00
Nathan Whitehorn
8cd742e41b Search and replace failed me -- system filters were being placed in the wrong directory. Now fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 17:35:02 +00:00
Axel Dörfler
cf4c7a2043 Now defines COMPILE_FOR_R5 to make sure it's compiled correctly; note,
ObjectDefines in the Jamfile didn't work for some reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:52:50 +00:00
Axel Dörfler
1c1b484da3 Removed old notify_select_event() in fsproto.h - this fixes the build for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:40:15 +00:00
Axel Dörfler
565162d26f Now always defines COMPILE_FOR_R5 for now (since there is no Haiku version yet).
Removed notify_select_event() prototype from local fsproto.h file; it now builds
fine again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:38:03 +00:00
Axel Dörfler
18469286aa Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:36:59 +00:00
Jérôme Duval
34eedb9823 Added a #ifndef around #define ADD_ON_STABLE_SECONDS to be able to define it on demand
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 14:53:19 +00:00
Rudolf Cornelissen
5b3b618aed tuned new PLL routine to adhere to cardspecs (should be much more precise than the old setup :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 13:26:46 +00:00
Jérôme Duval
d542a84793 fix linefeeds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 12:32:06 +00:00
Rudolf Cornelissen
52e0509d97 added system PLL specific calc routine
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 11:30:45 +00:00
Rudolf Cornelissen
f8eb549d45 removed error introduced by previous commit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:45:59 +00:00
Rudolf Cornelissen
2dc99a3a1f finished type2 scriptcmd #$49.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:07:21 +00:00
Jérôme Duval
d6ec7f9972 removed unused field
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:59:08 +00:00
Jérôme Duval
963e8ab1a9 added support for R5 app_server communication
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:55:27 +00:00
Jérôme Duval
935d9cfc2d fixed a bug about safemode, noticed by John '[Beta]' Drinkwater. thanks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:44:33 +00:00
Jérôme Duval
297f444091 on behalf of Stefano Ceccherini on holidays !
keyboard driver started to work (I was able to type something), though it needs more work, as keyup events for extended keys are screwed. The specs I got don't seem to apply to my keyboard.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:39:45 +00:00
Jérôme Duval
96008894d9 on behalf of Stefano Ceccherini :
Implemented intellimouse protocol handling, now we got wheel(s) working. It was simpler than I thought, no need to have multiple packet handlers. Thanks to BiPolar for the info.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:35:03 +00:00
Rudolf Cornelissen
2dab9bf0ef added another type2 scriptcmd, logging not yet done. NV18 now reports OK status (not yet working as secondary card however..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 19:18:32 +00:00
Philippe Houdoin
f1d8cfb432 TODO comment commit ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:18:47 +00:00
Philippe Houdoin
8a3c512516 Fix build issues after select() kernel support API was added to public definition in
headers/os/kernel/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:10:25 +00:00
Philippe Houdoin
0bba897b1e Don't rely on implicit link targets. We need libnet.so's getusername(), so let's
say it out loud! Especially since Oliver Tappe's gcc 2.95.3 version don't link
by default with libnet.so anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:48:37 +00:00
Philippe Houdoin
af6dc7f61e Let's forgot about closesocket()!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:35:30 +00:00
Ingo Weinhold
201e236e52 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 16:16:33 +00:00
Ingo Weinhold
ef4fc75459 Must use <fs_interface.h>, not <fsproto.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 16:15:46 +00:00
Ingo Weinhold
93d412b087 Refactored the intel partitioning module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 15:35:25 +00:00
Ingo Weinhold
569750e57f Refactored a bit -- pulled the partition map parser out. Userland add-on disabled for the time being, due to build problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 15:34:50 +00:00
Michael Pfeiffer
373fe20212 Fixed scaling problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:28:13 +00:00
Michael Pfeiffer
90c9b3ae9a Fixed scaling problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:26:45 +00:00
Nathan Whitehorn
518ba2b80c Fixed a crashing bug when large fast uploads are in progress.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 20:09:27 +00:00
Axel Dörfler
af91664416 Now makes sure that the index get_tty_index() returns is in a valid range.
Added some more conditional debug output, turned off debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:36:47 +00:00
Axel Dörfler
7740b91858 Ported over consoled from NewOS. It's a very simple replacement for the
Terminal application that uses our TTY driver.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:33:29 +00:00
Axel Dörfler
9d1f6da844 line_buffer_read() did not properly remove the bytes read, it just bumped
the read offset.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:29:10 +00:00
Axel Dörfler
87df3fdab8 WriterLocker mixed up source and target and always locked the wrong one.
tty_write_to_tty() now takes the extra character into account that may be
inserted with OPOST and ONLCR and don't write more characters as there is
space.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:27:57 +00:00
Jérôme Duval
549360d822 i don't even wonder why i have to do this, i simply do it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 16:02:20 +00:00
Jérôme Duval
6be0f7ef24 reversed sign change, bad idea ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:58:13 +00:00
Jérôme Duval
7c862ee441 added comm tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:50:58 +00:00
Jérôme Duval
9bc892a8da added some support for R5 app_server communication
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:24:49 +00:00
Jérôme Duval
6ed407d8fa added log
added a sign change


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:23:04 +00:00
Stefano Ceccherini
bed94c4a3a Started to Implement a way to have different ps2 packet sizes.
Added (empty) handlers for some ioctl which started to bug me,
some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 07:13:04 +00:00
Nathan Whitehorn
d774d9a0a1 While we're modifying ether_driver.h, added in an ioctl for link state detection, and implemented it in the two Broadcom drivers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 03:01:20 +00:00
Axel Dörfler
2c8b3014ef Moved select events to Select.h. Now includes that header, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 00:31:20 +00:00
Axel Dörfler
7f246a3068 Added proper select() support for R5 and Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 00:29:49 +00:00
Axel Dörfler
a83233417d Fixed warning, small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 00:11:19 +00:00
Nathan Whitehorn
82a393590f Finished converting the mail daemon to use rdefs instead of binary resource files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:37:34 +00:00
Ingo Weinhold
b4c1459318 Make use of the newly introduced generated syscall numbers header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:30:29 +00:00
Nathan Whitehorn
0edd0ce523 Removed the makefile I accidentally committed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:29:39 +00:00
Ingo Weinhold
1f90f9aa63 We do now also generate a header file that defines macros for the syscall numbers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:28:57 +00:00
Ingo Weinhold
89e53cea26 It is now understood where the _kern_restore_signal_frame() is used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:25:55 +00:00
Nathan Whitehorn
d4010e5eae Added a driver for the Broadcom 570x (aka Tigon 3), version 7.3.5, using the SubIncludeGPL rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 22:13:51 +00:00
Nathan Whitehorn
45418db003 Cleaned out the sis900 install rules from the bcm440x Jamfile. (Can you tell which Jamfile I copied?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 21:59:06 +00:00
Nathan Whitehorn
58fcb06c24 Added the Broadcom 440x driver under the SubIncludeGPL rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 21:39:31 +00:00
Nathan Whitehorn
45abc8d70d Added SSL compilation support by defining USESSL as an environment variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 21:24:20 +00:00
François Revol
d3a2714980 hmm 5 seconds is 5 seconds.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 17:07:18 +00:00
Stefano Ceccherini
d51394ddd6 Fixed bad redrawing of the text when alignment is different than B_ALIGN_LEFT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 13:10:43 +00:00
Rudolf Cornelissen
650765d20c modified script PCI config space access: 'old' method doesn't work on NV11!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 13:01:02 +00:00
Stefano Ceccherini
5302d71190 Fixed LineWidth(): now it calls StyledWidth(). It's not an issue, since charachter widths are cached by _BWidthBuffer_.
Marc Flerackers lend me a hand and now alignments should work much better (if not perfectly)

Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 12:49:34 +00:00
Philippe Houdoin
9bf0b0b085 BeMail.rsrc replaced by *.rdef files...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 12:21:39 +00:00
Stefano Ceccherini
1c4b8c6af4 This file was building fine on my pc. Weird. Hope this fixes the issue.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 08:10:30 +00:00
Stefano Ceccherini
dbce0eca86 Now configures RX filter to receive broadcast transmissions also. This fixes the issue of
the card not receiving anything if the transmission was started from another box.
Fixed a couple of warnings. Many cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 06:34:16 +00:00
Nathan Whitehorn
43c1e26809 Made the packaging system better, with readmes and a better install script.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 03:49:35 +00:00
Nathan Whitehorn
6c033b8a92 Converted binary rsrc to rdef.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 02:50:55 +00:00
Stephan Aßmus
0cd4ecd8b2 cosmetical improvements to status view, it also shows the image size now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 19:47:18 +00:00
Jérôme Duval
33140fa001 added file debug output for daemon mode
added some R5 app_server communication init


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 15:42:47 +00:00
Axel Dörfler
8b41e11557 Fixed a possible deadlock (the requests benaphore is now unlocked before
waiting on the write semaphore).
The write functions didn't change the buffer address on a partial write
which could lead to corruption in the pipe data.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 14:30:53 +00:00
Axel Dörfler
a83d9efacf Some changes to debug output.
Fixed a warning that popped up if TRACE_VM was defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 14:24:44 +00:00
Axel Dörfler
2ff1ba0dc7 tty_input_read() was blocking until the whole buffer could be filled - that's
not really standard behaviour...
tty_input_putc() now also releases the reader semaphore if that hasn't been
done before.
tty_input_putc_locked() now does character processing and sends some signals -
not yet complete, though, especially VERASE and VKILL do nothing right now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 12:58:33 +00:00
Axel Dörfler
8b2f07b69e Removed sleep(), it now uses spin() from cpu.cpp - which is the exact same thing anyway.
This fixes the build as unistd.h defined sleep() as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 12:51:34 +00:00
Axel Dörfler
a67dbcba14 reset_line_buffer() is actually called clear_line_buffer().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 12:21:21 +00:00
Axel Dörfler
005333c0d9 No more debug output for the driver part.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 12:20:31 +00:00
Axel Dörfler
f3df760478 Fixed the return type of user_memcpy() and friends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 10:47:46 +00:00
Jérôme Duval
372a32913b when our input_server links against libopenbeos.so , addons have to do the same
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 09:16:57 +00:00
Stefano Ceccherini
d7ff9fac45 getopt() is already defined in unistd.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:59:55 +00:00
Stefano Ceccherini
2ebebc8356 Our termios.h header doesn't define termio to termios (as the R5 one does). termios is the correct name, anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:49:09 +00:00
Waldemar Kornewald
982115e516 Fixed a buffer overflow caused by our R5 select() emulation.
Added missing uname() function which is needed for full R5 compatibility.
It seems that nearly all apps are working now. I could finally run Vision (BONE and R5), BeShare (quick test only), lynx, Net+, etc.
Apps that don't work: Mozilla for BONE, some ssh binary that I downloaded, Be's ftp when not in passive mode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:35:31 +00:00
Waldemar Kornewald
42605e58c3 Changed to choose select() emulation on a per-request basis.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:32:12 +00:00
Stefano Ceccherini
70751f7bfc - Fixed every Styling issue (at least the ones exposed by StyledEdit). Setting fonts works now
- Cleaned up PageUp/Down handling code
- Now setups undo in Clear()
- Alignment now partially works
- Fixed some visual artifacts which could've showed up during typing with an input method
- Added a "known bugs" section


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:18:10 +00:00
Rudolf Cornelissen
9ea0c780e4 added type2 scriptcmd #$33, NV11 reports OK status now as well (secondary card function not yet tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 19:39:37 +00:00
Ingo Weinhold
ec0a76c84d The keymap files shall depend on the "files" target only, if jam was run from an ancestor directory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 17:50:36 +00:00
Axel Dörfler
f7bc46254a readwrite() was broken when it had to load more than one missing page at once.
It now prints a warning if the device driver doesn't handle iovecs correctly.
Again, this could lead to very strange behaviour.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 16:30:25 +00:00
Rudolf Cornelissen
f7ed173238 modification in script type2 stuff so cmd #33 can be accomodated
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 15:04:55 +00:00
Rudolf Cornelissen
90c531ff69 NV40/GF 6800 PLL update..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 12:46:13 +00:00
Jérôme Duval
3cf3a52dc5 Some mice have two wheels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 11:27:30 +00:00