Jérôme Duval
3f8c0d7e75
now button 2 is working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:48:03 +00:00
Axel Dörfler
b0c6c1df05
Let some bin commands now link against our libroot.so, so that we
...
have more functions available (like strlcpy()).
Note, this might affect the functionality on R5. For example, the
"df" command will only work on Dano/Zeta, and of course, Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:31:09 +00:00
Jérôme Duval
5c506d7fdd
change debug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:14:27 +00:00
Axel Dörfler
f8db8b97a8
No longer uses syscalls instead of POSIX calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 11:43:53 +00:00
Stefano Ceccherini
0dbc4bef49
Changed the fQuit variable to a static sQuit. Removed the snooze() in the device watcher thread function.
...
Started implementing the "one thread per device" design.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:43:56 +00:00
Stefano Ceccherini
145a357d37
This fixes the crash when Debug is active (at least over here; Korli, can you check?)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:12:02 +00:00
Jérôme Duval
600f089e43
added a base keyboard addon
...
added a grist to addons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 22:27:29 +00:00
Jérôme Duval
0548f831d5
complete register and unregister
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:56:41 +00:00
Jérôme Duval
e07f3f03dc
added BInputDevice test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:40:01 +00:00
Jérôme Duval
88caa4a867
added missing scrolllock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:18:43 +00:00
Jérôme Duval
83589f8917
added BInputDevice server side
...
added set_modifier_key server side
now changes locks in the current keymap, it can then be reloaded
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:15:23 +00:00
Michael Pfeiffer
38ded28eee
Fixed bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 20:29:30 +00:00
Rudolf Cornelissen
ba0b8a97e0
added coldstart support for TNT2M64 cards: added RAM width test in script execution. TNT2-M64 now working as good as normal TNT2: lower res modes OK, still needs fix for CRTC memory fetch errors on higher modes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 19:37:45 +00:00
Rudolf Cornelissen
85f38ca104
fixed finding RAM config table in cardBIOS: this enables coldstart support on a lot more NV05/NV06 (TNT2) cardBIOSes...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 15:22:47 +00:00
Axel Dörfler
74cbf93e61
Added and improved lots of comments in vm_soft_fault().
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 15:13:15 +00:00
Rudolf Cornelissen
490c99a7db
updated default settings upon missing nv.settings file to best general settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 13:01:41 +00:00
Rudolf Cornelissen
c1e1b1aef0
doc update for coldstart support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 12:23:26 +00:00
Jérôme Duval
e361bf6901
fix buttons handling
...
seems doubleclick not handled yet
crash when debug is active (before this change)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 12:22:33 +00:00
Rudolf Cornelissen
6179417d78
added last two coldstart script cmds for pre-NV10 cards. This should complete coldstart support for pre-NV10 cards with BIOS info struct V2 and later (i.e. TNT2). Please test and provide feedback!
...
Note that FIFO watermark stuff still has to be setup (i.e. fix for CRTC fetching errors on coldstarted cards). So higher-res modes do not yet work reliably.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 12:20:43 +00:00
Rudolf Cornelissen
b2e882e612
added exec of another coldstart script cmd...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 10:52:43 +00:00
Stefano Ceccherini
3aa69c787f
Some changes to the Mouse Input Server Device add-on. B_MOUSE_UP/DOWN still don't work correctly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:52:54 +00:00
Rudolf Cornelissen
5fd2ad26d3
rewritten ISA coldstart script cmd's to actually use ISA I/O.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:49:40 +00:00
Rudolf Cornelissen
f64878ee55
rewritten ISA coldstart script cmd's to actually use ISA I/O.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:43:55 +00:00
Rudolf Cornelissen
abbf0913fb
rewritten ISA coldstart script cmd's to actually use ISA I/O.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:36:27 +00:00
Axel Dörfler
05835518ae
Added a function prototype and description on how the userland waitpid()
...
functionality could be supported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:41:06 +00:00
Axel Dörfler
77a6c2446a
We now have a POSIX and BeOS compatible grp.h header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:04:55 +00:00
Axel Dörfler
ef552d5eab
Added names for the parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:51 +00:00
Axel Dörfler
39536410a6
Added dumb group functions - they only know one group: "users" (should be pretty similar to R5).
...
Implemented and added functions from inttypes.h (not everything is working correctly, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:01 +00:00
Axel Dörfler
929525b836
Implemented wait() using waitpid() following the POSIX spec.
...
Added some more debug output for waitpid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:01:02 +00:00
Axel Dörfler
336ffbcd04
Unlike alarm(), ualarm() has actually two arguments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 23:45:54 +00:00
Ingo Weinhold
d21749db83
Fixed a problem we had with bool parameters (probably with all types that consume more storage when being passed as function parameters).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:17:57 +00:00
Ingo Weinhold
75df143732
Introduced a macro specifying the type function parameters are aligned to. Not nice, but seems to help with the automatic generation of syscall code (at least on x86).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:15:19 +00:00
Rudolf Cornelissen
1056bcb0ca
added ISA I/O functions in kerneldriver (for coldstart script exec)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:10:51 +00:00
Rudolf Cornelissen
fc3f2e637d
added ISA I/O functions in kerneldriver (for coldstart script exec)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:04:26 +00:00
Axel Dörfler
cc90b1798a
Removed unsupported cruft from uio.h (uiomove()).
...
Made header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 16:26:15 +00:00
Jérôme Duval
53d77642d6
Added mouse settings handling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:55:54 +00:00
Axel Dörfler
d5b3917b25
Introduced new thread_entry_func type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:48:36 +00:00
Axel Dörfler
655c4f0c99
Resolved the argument type change of _user- vs. _kern_spawn_thread() - introduced
...
a new thread_entry_func typedef in the kernel only. Unlike thread_func, it accepts
two arguments - that functionality is not exported to the user, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:47:47 +00:00
Axel Dörfler
a52018b53b
dev_for_path() should resolve symlinks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:41:20 +00:00
Axel Dörfler
d3fe452749
A Jamfile for posix/arch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:40:06 +00:00
Axel Dörfler
9d91354201
Added empty setlocale() call, just to export it.
...
Removed unnecessary grist from source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:39:01 +00:00
Axel Dörfler
f283d6c99e
Added dummy strcoll() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:37:38 +00:00
Axel Dörfler
1676c18192
Added BSD style bcopy/bzero() functions to the build again - BeOS bash
...
uses them, too, and maybe others as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:35:20 +00:00
Axel Dörfler
7800e87a5a
Added kill() implementation, user part of sigprocmask() now works.
...
Renamed syscalls.
Cleaned up files.
Removed unnecessary grist from source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 14:06:27 +00:00
Axel Dörfler
d32f5c2e8b
Added probably broken implementation of sigprocmask().
...
Renamed syscalls to the new scheme.
Some minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:05:09 +00:00
Axel Dörfler
532544a9a1
Added mktemp() and friends from FreeBSD - calls not part of the POSIX specs
...
are currently disabled.
Removed unnecessary grist from source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:04:21 +00:00
Axel Dörfler
46365ccea6
Added new syscall _kern_sigprocmask(), renamed other signal syscalls to the
...
new naming scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:02:26 +00:00
Axel Dörfler
5be3370fe7
Added implementations of alarm() and ualarm() based on setitimer() (which doesn't
...
work yet correctly).
Added empty sbrk() for now - not sure what to do with this. Maybe we should remove
it completely (but BeOS bash needs it).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:00:00 +00:00
Jérôme Duval
61d7deee8a
added a mouse input server device courtesy of Stefano Ceccherini
...
basicly tested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:54:09 +00:00
Jérôme Duval
97cdac132b
added methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:12:20 +00:00