Commit Graph

7850 Commits

Author SHA1 Message Date
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
Jérôme Duval
7d5d344bf1 Some mice have two wheels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 11:20:45 +00:00
Axel Dörfler
fa42f1c2b9 Work in progress. Basic data exchange seems to work.
Only slightly tested (moved data to and from pty <-> tty).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 04:16:34 +00:00
Axel Dörfler
410c1c159f Calmed down the soon to be removed driver loader (to be replaced by a better
version in devfs directly).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 03:42:07 +00:00
Axel Dörfler
da63fa920a device_open() gets the relative path from devfs mount point, not just the
name of the node.
devfs_read_stat() now (presumably temporary) sets the size of the device
for partitions and reports a block device rather than a character device
if the size unequals zero.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 03:22:56 +00:00
Axel Dörfler
af069b1a47 isatty() and ctermid() now actually work correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 01:51:01 +00:00
Stefano Ceccherini
91f868aeb7 Ok, this time for real.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 23:10:13 +00:00
Stefano Ceccherini
c3c637606a Fixed an annoying jump-to-last-line-on-END-bug (reported by Waldemar)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:50:23 +00:00
Waldemar Kornewald
f02249c7c2 Work in progress. The select() notification function is now set per socket instead of globally. Still not fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:37:04 +00:00
Jérôme Duval
88c8085889 change to our libmail.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:32:27 +00:00
Nathan Whitehorn
ebab3a7e9c Fixed some library dependency issues that broke compilation on systems that don't have Haiku MDR installed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 19:47:06 +00:00
Rudolf Cornelissen
e526812fe4 minor comment updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 15:28:24 +00:00
Rudolf Cornelissen
2887e62496 doc update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 14:40:45 +00:00
Rudolf Cornelissen
51842d6e91 restructured startup code, tested NV34 coldstart as secondary card: we have a go!. Analog monitors only, rest is working nicely. 8-). The script exec code is not yet finished, so I cannot promiss (yet) every card actually starts up. WoeHoe!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 14:36:30 +00:00
Rudolf Cornelissen
3937b2cf4f added NV10up RAM setup. not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 12:03:02 +00:00
Rudolf Cornelissen
11437a8764 added yet another type2 scriptcmd. My NV34 now reports OK status on coldstart, though it's not yet actually working (missing RAM setup only: hopefully...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 10:04:08 +00:00
Stefano Ceccherini
1ce76bfd47 Added "new" keyboard driver, which implements the "correct" keyboard api. Not tested or anything. Not yet added to the build as I even did some last minute changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 08:44:02 +00:00
Stefano Ceccherini
d4c31885aa Renamed sync() to card_sync() to avoid name clashing with the "sync()" function in the new unistd.h. Commented out transparent_blit() to suppress a compiler warning, and added a comment to it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 08:32:47 +00:00
Stefano Ceccherini
b397f1b53b Should fix the build, things have changed in kb_mouse_driver.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 08:26:16 +00:00
Stefano Ceccherini
6b06287720 Some "forgotten" cleanups. Added a check for NULL in the constructor which avoids a crash in some cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 07:23:16 +00:00
Stefano Ceccherini
b0881688c3 Now checks if the driver is already opened, and return B_BUSY if true.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 07:20:57 +00:00
Jérôme Duval
3278758030 change field name of mouse position
change device message handling a bit


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 22:41:00 +00:00
Jérôme Duval
fc2045ee7e added wheel support, changed to kb_mouse_driver.h mouse_movement to avoid crashing when the driver writes back the io
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 21:59:33 +00:00
Jérôme Duval
dbb3afbf3a added mouse support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 21:53:27 +00:00
Rudolf Cornelissen
f4f986a34d fixed error in type2 scriptcmd #34.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 19:32:51 +00:00
Rudolf Cornelissen
325c177bfa small logging update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 16:00:45 +00:00
Rudolf Cornelissen
4b05f515da completed that scriptcmd. Should work now..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 13:05:11 +00:00
Rudolf Cornelissen
0153d21af7 added another type2 scriptcmd: not yet finished, not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 10:58:31 +00:00
Rudolf Cornelissen
ab0c1776c6 BIOS info struct readout update, there's no V6 as I at first thought. Note: NV40 and up seem to be using a new system and so won't be able to get coldstarted for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 10:16:40 +00:00
Jérôme Duval
62cdfcd034 Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 12:41:10 +00:00
Axel Dörfler
14d1496a7f sysconf(), pathconf(), and fpathconf() now at least do marginally useful things.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 00:16:51 +00:00
Axel Dörfler
2f524aed3a Reworked some TTY support functions. Added tcgetattr() function.
tcsendbreak() now ignores the "duration" parameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:52:36 +00:00
Axel Dörfler
98ac7a9709 Removed the termios subdirectory; it's replaced by posix/termios.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:49:53 +00:00
Axel Dörfler
cf46507317 The termios support is now part of the posix_main.o object file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:48:50 +00:00
Axel Dörfler
2627eeff81 Joined the former termios/termios.c and termios/tcsetattr.c together to termios.c.
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:45:03 +00:00
Rudolf Cornelissen
e703f31b4f agp logging update; new cards update for Xtal det, dualhead det.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 19:45:30 +00:00
Jérôme Duval
4c2a769c68 Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:41:01 +00:00
Jérôme Duval
3bc52dc6ba Now uses global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:37:17 +00:00
Jérôme Duval
5c8e314fba Now use a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:36:30 +00:00
Rudolf Cornelissen
969eab3b53 added another type2 coldstart script command.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 14:43:53 +00:00
Axel Dörfler
6b30603314 Added the beginnings of our TTY layer.
After having had a look at our own Terminal code (former MuTerm), I even
copied the original mess in /dev/tt/ and /dev/pt/.
The /dev/tt/ entries could be created and removed on demand, though, but
that can't be done yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 13:54:20 +00:00
Axel Dörfler
a78a421de8 Renamed sleep() to spin() as that's what it does, and sleep() also doesn't
like unistd.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 13:43:57 +00:00
Rudolf Cornelissen
17cf149804 added preliminary NV40 architecture support. Test and provide feedback please!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 12:28:50 +00:00
Rudolf Cornelissen
98a926e626 comment update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 11:46:17 +00:00
Rudolf Cornelissen
a498f03076 added card recognition for 25 new cards: NV40 and higher will not yet work (probably..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 11:45:11 +00:00
Rudolf Cornelissen
64caf8044e added 25 new cardID's to kerneldriver, including the first PCX / PCI-express cards.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 10:15:38 +00:00
Philippe Houdoin
755989bc95 Commit last (small) changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 08:01:26 +00:00
Stefano Ceccherini
86b8a8828a Set the wheel_delta to 0, otherwise we could send "spurious" wheel movements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 06:45:20 +00:00
Stefano Ceccherini
6be70a0fa1 Finally fixed the problem with the styling code: now selecting two sections of text
with a different color and change the font size works correctly.
Fixed a problem with mouse selection (a regression introduced when I fixed selection with keyboard).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 06:40:22 +00:00
Jérôme Duval
3b464cb0ce fixed debug macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 10:04:52 +00:00
Stefano Ceccherini
40404d6a4b Now uses the mouse_pos struct and commands definitions from kb_mouse_drivers.h.
Added cbuf_adapter.h so that the ps2 mouse driver can be compiled also against BeOS R5's kernel (for testing).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 07:01:41 +00:00
DarkWyrm
e841a5da12 Making some headway on the cursor redraw problems when moving windows. Not quite fixed yet, though
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 23:10:23 +00:00
Nathan Whitehorn
0d21a7f43f Added packaging for the mail daemon, added build support for SSL mode (although it currently relies on manually uncommenting things in the Jamfile). PPP state detection still broken.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:23:32 +00:00
Nathan Whitehorn
7835571124 Made POP3 build properly with SSL turned off.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:21:08 +00:00
Nathan Whitehorn
497210fa2f Fixed typo in the Jamfile that prevented the mail daemon resource file from being added correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 19:26:22 +00:00
Rudolf Cornelissen
0d72e6e52c small pll pgm update for coldstart stuff (temporary)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 17:39:10 +00:00
Rudolf Cornelissen
663122f277 added one more type2 scriptcmd (still untested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 13:45:39 +00:00
Axel Dörfler
fe29b8929a Some cosmetics for booting with qemu.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 12:09:36 +00:00
DarkWyrm
8dd37bd51b s/OpenBeOS/Haiku/
Bugfixes to graphics cases in ServerWindow
Added assignment operator to GraphicsBuffer
Style fixes for ServerCursor and ServerBitmap
Implemented and integrated CursorHandler to clean up DisplayDriver code some
Hotspot bugfix for ServerCursor(cursordata *)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:50:02 +00:00
Nathan Whitehorn
fa84ff9eb1 Forgot some files in the MDR import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:34:03 +00:00
Nathan Whitehorn
f7215ac853 Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00
Rudolf Cornelissen
48061f2026 completed latest script cmd.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 16:15:34 +00:00
Rudolf Cornelissen
05fbbd5e77 added one more type2 scriptcmd, should already work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 15:28:05 +00:00
Rudolf Cornelissen
1b4462d2a6 added another type2 script cmd, tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 12:53:55 +00:00
Jérôme Duval
06b050d543 fixed build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 12:14:41 +00:00
Jérôme Duval
3fff653f05 Moved usage pages/ids to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 12:05:10 +00:00
Rudolf Cornelissen
00fc82f9ee two more type2 scripts (now tested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:38:22 +00:00
Axel Dörfler
ffda28d2b5 Fixed warning of the debug build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:05:33 +00:00
Axel Dörfler
f390e6a3f7 Fixed the build of the debug version of the driver. Thanks to Jerome for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:03:40 +00:00
Rudolf Cornelissen
8315a92763 added 2 type2 coldstart script cmds.. (not yet tested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 10:25:20 +00:00
Jérôme Duval
b2c507bdf7 Renamed functions to hid_*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 09:44:25 +00:00
Jérôme Duval
8c5cc5d1aa Extracted USB HID specific data to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 09:08:58 +00:00
Stefano Ceccherini
97a326b35f Almost completely rewritten the ps2 mouse driver. Now it works (max 3 buttons for now), even under R5 (though you need a header that I won't commit here).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 06:32:23 +00:00
Jérôme Duval
2197729c08 Added support for keyboard LEDs
Should be changed one day to take into account the report descriptor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-19 20:45:25 +00:00
Jérôme Duval
743554c63a Forgot the timestamp for non at devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:36:46 +00:00
Jérôme Duval
4c5967bb9a Added the HID USB driver to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:33:13 +00:00
Jérôme Duval
3e7e86bd26 Added a HID USB driver
Keyboards working (missing features : leds, key repeating)
Only mouse detection, not working


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:30:05 +00:00
Jérôme Duval
39394f4183 This one is better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 13:21:19 +00:00
Jérôme Duval
711d19bd29 fix for leds and modifiers
NOTE : modifiers are per device


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 13:13:30 +00:00
Rudolf Cornelissen
c319524a0a corrected typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 11:40:39 +00:00
Rudolf Cornelissen
bf393e0a34 split-up scripts for type1 and 2: type 2 still has to be drastically expanded. (coldstart stuff)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 11:32:12 +00:00
Oliver Tappe
057ceb6137 - fixed issues when compiling with gcc-2.95.3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 16:34:13 +00:00
Ingo Weinhold
3b554981d3 * Corrected sMountMutex comment.
* Turned sMountOpMutex into a recursive lock.
* Re-inserted sMountOpLock locking in vnode_path_to_vnode(). It doesn't
  deadlock on mounting anymore. :-P
* Added a check in fs_mount(), whether the mount point is a directory. If
  it wasn't, in general it wouldn't be possible to get its parent
  directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 12:29:27 +00:00
Jérôme Duval
421f4885ed Support for LEDS
Support for keymap reloading


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 12:07:21 +00:00
DarkWyrm
98ecc9715d Added to Utils a function to compute polygon boundaries
Moved Utils to libappserver - DisplaySupport needs it
Tweaked PicturePlayer to match polygon function tweaks
Added Shape, Region, and Polygon handling to ServerWindow
Removed ServerWindow::DispatchGraphicsMessage
Numerous small tweaks to DisplayDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:27:58 +00:00
DarkWyrm
c33ef86b1d Made some tweaks for region, shape, and polygon support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:21:41 +00:00
Stefano Ceccherini
7575ec2d87 Uncommented the code which makes auto indenting possible.
Correctly maintain fClickOffset in SetText().
Some small style fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:16:06 +00:00
Jérôme Duval
08acc659ec Fix menu key handling so that message is sent only when pressed alone
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 08:39:14 +00:00
Jérôme Duval
19644c521d removed ColumnListView.cpp and ColorTools.cpp from libbe.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 21:41:42 +00:00
Jérôme Duval
b989bdedeb Added ColumnListView.cpp and ColorTools.cpp (these aren't from OpenTracker)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:50:37 +00:00
Jérôme Duval
5c99440e0f Added ColorTools and ColumnListView from Vision cvs repository
(ColorTools.h : 1.2, ColorTools.cpp : 1.4,
ColumnListView.h : 1.13, ColumnListView.cpp : 1.3)
Original code from OpenTracker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:42:34 +00:00
Jérôme Duval
95b397199c Added support for USB keyboards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 19:46:06 +00:00
Jérôme Duval
f78e17fccc Added a brazilian keyboard mapping ABNT2 Keypad . to 0x70
Added handling for CtrlAltDel key combination, atm it only ensures we don't reboot ...
Added handling for Menu key => send BeMn to Deskbar asking to show menu, could be moved somewhere else in the future (filter?)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 16:41:22 +00:00
Axel Dörfler
452ba3abd1 Just like any other mount point, "/" should not be remounted - dunno
why that was there before. Thanks to Ingo for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 15:34:26 +00:00
Axel Dörfler
bfe052ed74 I accidently mixed up the parameter order of the ISA I/O calls, thanks
to Stefano for reporting this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 10:39:14 +00:00
Jérôme Duval
9c6d4260cb added japanese keys support , untested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 17:19:02 +00:00
Michael Pfeiffer
82f24520e1 Added (untested) support for landscape orientation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 16:16:39 +00:00
Michael Pfeiffer
cd6bfb01f3 Alternative implementation that uses STL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 16:14:20 +00:00
Jérôme Duval
ba35b2bdf7 added several missing keys
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:53:22 +00:00
Axel Dörfler
fbb0ac2170 fork() now at least calls _kern_fork(), but would not even be complete
if that one worked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:48:28 +00:00
Axel Dörfler
f845dd4e4f Implemented userland part of execve().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:46:56 +00:00