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
Axel Dörfler
41f37da0fd
Added empty and non-working syscalls for _user_fork(), _user_wait_for_child(),
...
and _user_exec().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:45:37 +00:00
Axel Dörfler
25258635f7
Implemented waitpid() a bit more; it now calls the _kern_wait_for_child() syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:44:06 +00:00
Axel Dörfler
367fa74ad9
Added needed syscalls for fork(), exec(), and waitpid().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:42:02 +00:00
Axel Dörfler
cd4e4d3383
Added wcsmbs to libroot.so, replaced posix_gnu_getopt.o with posix_gnu_ext.o
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:28:34 +00:00
Axel Dörfler
ac50932dae
Moved the getopt() functionality from the getopt/ subdir to the new
...
extensions/ directory - which will contain glibc specific additions
to the POSIX standard (getopt() is here because of getopt_long() etc.).
Also added obstack functions.
Added wcsmbs to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:23:08 +00:00
Axel Dörfler
0dffa6c281
It's now allowed to use wchar_t - it doesn't hurt anymore :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:21:19 +00:00
Axel Dörfler
5e4171c975
Made a minimum subset build - mbrtowc() is currently a hack to make it work...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:20:03 +00:00
Jérôme Duval
fd3e280e83
we now have uintptr_t in our headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 09:35:09 +00:00
Axel Dörfler
40f2ce7d20
Activated the index functions and ported it to the the new VFS API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 02:08:54 +00:00
Axel Dörfler
1b41fce458
Added some rudimentary AMD CPU identification, courtesy of Brennan Cleveland.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 01:54:50 +00:00
DarkWyrm
bb32d497e9
Checking in some fixes to StrokePolygon protocol before I forget they're there
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 01:06:17 +00:00
Axel Dörfler
75e4b8694c
Removed the STREAM_TYPE_ constants.
...
Now maintains uid/gid/mode, modification and creation time for all nodes.
Implemented rootfs_write_stat() completely. rootfs_read_stat() now fills
in all required values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 00:44:57 +00:00
Axel Dörfler
31a726883b
Now maintains uid/gid/mode/mtime/crtime, added pipefs_write_stat().
...
Access permissions are not verified.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 00:15:52 +00:00
Axel Dörfler
e4a0232cc7
Small bugfix: rootfs_read_stat() returned creation time instead of modification
...
time in st_mtime.
rootfs_write_stat() now properly locks the node access.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 00:02:55 +00:00
Axel Dörfler
a837c705f5
Now has a basic understanding of uid/gid/mode values and maintains it -
...
permissions are not tested, though.
Removed the STREAM_TYPE_ constants.
Now maintains a modification and creation time for all nodes.
Implemented rootfs_write_stat() completely. rootfs_read_stat() now fills
in all required values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:42:14 +00:00
Axel Dörfler
f8cbad7b3e
Implemented readdir_r().
...
Added note to dirfd() that it should be excluded from the kernel build
once the build system allows this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:10:29 +00:00
Axel Dörfler
d8b0b6fe51
Added readdir_r() function prototype. Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:08:21 +00:00
Axel Dörfler
ad21930ee8
Now exports the fflush_unlocked() symbol as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:02:44 +00:00
Axel Dörfler
316c0c3139
Added the dirent functions to the kernel as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:46:42 +00:00
DarkWyrm
82cd90d8c9
Added support for stroking and filling rectangles, roundrects, arcs, beziers, and ellipses
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:21:26 +00:00
Jérôme Duval
05f7693002
Support for locks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:20:28 +00:00
DarkWyrm
0ea7755d28
Rearranged attachment protocols for Stroke/Fill Arc and Ellipse
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:20:16 +00:00
Axel Dörfler
3901fa14bf
Moved dirent.h functions from unistd/directory.c to new dirent.c file.
...
Added dirfd() call for BeOS compatibility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:10:43 +00:00
Jérôme Duval
80c565ca25
bug fix for new dead key behaviour
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 21:49:48 +00:00
Jérôme Duval
5447827d24
Added key events generation
...
Working!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 21:41:28 +00:00
Axel Dörfler
5e2d8bb9f7
Added a BeOS compatible header for the GNU getopt() extensions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:56:37 +00:00
Axel Dörfler
8141b62d5e
Removed our old getopt.c - we're now using the one from glibc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:44:59 +00:00
Axel Dörfler
7e24c69719
Added glibc's getopt() to the libroot.so build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:42:50 +00:00
Axel Dörfler
05cd7f3a98
Make it build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:41:46 +00:00
Axel Dörfler
ee3f1543b0
Added glibc's getopt() implementation for better compatibility with BeOS.
...
This normally resides in the posix/ directory in the glibc source repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:39:26 +00:00
Axel Dörfler
8bc22ef101
Error messages are now directed to stderr rather than stdout.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:19:50 +00:00
Rudolf Cornelissen
ec17109678
modified coldstart script execution for pins V5.16 and up: looks like we might be able to coldstart all nVidia cards after all (someday)..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:02:14 +00:00
Axel Dörfler
c6e3ff2240
"rdtest" now dumps up to 1024 bytes, not only 512. Also, it now prints
...
out a message to indicate that only a part of the requested buffer is
dumped on screen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 19:51:47 +00:00
Axel Dörfler
30a0c00ded
Some more debug output when tracing is enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 17:43:53 +00:00
Axel Dörfler
81f2f81c21
If the kernel_args::cons_line field is not maintained (ie. is zero), the
...
console driver now clears the screen when it's initialized.
This improves the first impression of the standard boot process when
booting in text mode (which currently happens when you press "escape"
in the early boot stage).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 17:40:23 +00:00
Axel Dörfler
2ef444519e
Work-around for buggy device drivers: some drivers (including our current
...
IDE drivers :-)) don't respect the total amount of bytes to be read in the
former readv() (now read_pages()) call. This can potentially fix all sorts
of strange errors in userland :)
Fixed the debug build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 17:37:43 +00:00
Jérôme Duval
a725f63418
Added AT keyboard mapping
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 16:21:31 +00:00
Axel Dörfler
aad5dc5b3d
Removed holding the sMountOpMutex added by the last commit; although this
...
recreates a race condition, having it here breaks the kernel as fs_mount()
calls this function and already holds the mutex.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 15:46:02 +00:00
DarkWyrm
a3d34bb143
Added a couple of conversion methods for BPoints
...
Did some serious playing with update code in ServerWindow and Layer
BView::StrokeLine calls draw to the screen(!!!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 00:51:51 +00:00
Axel Dörfler
82b76be31e
Cleaned up the page alignment macros, incorporated NewOS fix #2022
...
(but with the correct semantics).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 18:59:25 +00:00
Axel Dörfler
04a280790e
Added some debug output that's going through the kernel debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 18:17:47 +00:00