Commit Graph

8974 Commits

Author SHA1 Message Date
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
DarkWyrm
f06ff64b1a Set the API for stroke/fill shape
Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:20:14 +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
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