Commit Graph

9001 Commits

Author SHA1 Message Date
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
59fda8c176 change the mouse io struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 22:34:57 +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
d0a8891742 fix no newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 12:46:01 +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
4c3d76fd9b Minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 00:21:53 +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
b67cd64e96 Almost rewrote the termios.h header file.
It's now much cleaner than before. Removed the tcgetattr() macro; it's now
a real function call again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:46:24 +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
Jérôme Duval
767560b14e Splitted kb_mouse_driver.h to avoid mixing driver and settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:35:37 +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
ce28ad8b6c added NV45 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 11:47:08 +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
9cfdd4b71f added NV40, NV41 and NV43 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 10:20:58 +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
1fec91104a Added newline at the end of the file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 07:05:56 +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
Axel Dörfler
130b146f78 Added comments to definitions.
Added preliminary O_TEMPORARY flag.
Made it a bit more POSIX compliant.
Cleaned up header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 22:45:08 +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