Commit Graph

9079 Commits

Author SHA1 Message Date
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
Axel Dörfler 9ade9e873d Added fields for process group and session IDs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 19:44: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
Waldemar Kornewald 861d934e82 This should fix BONE compatibility a little bit. We still need nonblocking IO and a good select() fix.
Explanation: we did not have the same sockaddr_in struct size as BONE, but our netstack wants to have our size, so I changed it to match BONE's. ;)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:31:54 +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 b93cacd365 removed double defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 15:30:16 +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 26b88cb86d added a few registers for RAM setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 12:04:40 +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 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