Commit Graph

7639 Commits

Author SHA1 Message Date
Axel Dörfler
be2703cb09 GCC 3 fixes. Doesn't work yet for some reason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 18:29:52 +00:00
Axel Dörfler
8ad7344829 gensyscalls.cpp should now build under Linux again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 15:40:12 +00:00
Axel Dörfler
327981c3d8 Now includes arch_config.h instead of arch_cpu.h (because the info contained therein has moved).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 15:20:37 +00:00
Ingo Weinhold
61b83cc210 * Changed my doxygen comment markers from Qt to javadoc style, still
leaving the tags Qt style though. That's a bit weird, but that's the
  way Axel likes it, and we want to keep him happy, don't we? ;-P
* The common_[path_]read_stat() now fills in st_dev and st_ino in the
  result stat structure after the FS had its go. The information is
  readily available in the VFS, so why bother the FSs. In fact devfs
  didn't (and still doesn't) fill in st_dev which gave dev_for_path()
  some head ache.
* Modified _user_open_parent_dir() to accept a NULL buffer for the
  entry name and added a doxygen comment for it.

df now works properly on Haiku (save that printf() doesn't support
floating point numbers at the moment).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-09 23:21:09 +00:00
Ingo Weinhold
86170a3cd5 * Got rid of devfs_cookie::stream. It was superfluous since one can
always also access it through the devfs_vnode. This also solves an issue
  in devfs_read() where an access of a cookie->stream would crash the
  kernel, since cookie->stream was not set in devfs_open().
* devfs_open() now doesn't fail for directories and symlinks anymore.
  That prevented BNode to work for devfs dirs and symlinks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-09 23:06:04 +00:00
DarkWyrm
b5eb4481e8 Some minor API cleanups
Documented quite a few functions while refamiliarizing myself with the desktop code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-09 00:54:21 +00:00
Ingo Weinhold
1dae20235b If the /..' is /' then the name of the root node should consequently be
`.'. This fixes the _kern_open_parent_dir() syscall for the root directory.

I realized, that rootfs_read_dir() doesn't return the entries `.' and `..',
unlike Be's rootfs. Shall I add those, Axel?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 21:31:18 +00:00
Waldemar Kornewald
496d0bc32f Moved uio struct to core_private.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:32 +00:00
Waldemar Kornewald
5fdb117cae We are Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:24 +00:00
ejakowatz
5958205f6c Fixed bug. There was an issue with unflattening. When moving dataPtr along the buffer to the next variable-size item, the padding was being incorrectly calculated (too large) because the four-byte size header was not being taken into account. E.g., for an 18-byte item, the padding was calculated as 6 bytes, rather than two, placing dataPtr directly past the size header for the next item. An incorrect value would be used as the size for the next item, which could result in anything from a segment violation to an allocation failure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:33:31 +00:00
ejakowatz
974d454507 Fixed bug. BMessageBody's assignment operator was making a generic copy of the map which maintains the data -- meaning only pointers to contained BMessageFields were being copied. Added Clone() operation to BMessageField and Copy() to BMessageFieldStoragePolicy, along with a specialization of BMessageFieldStoragePolicy for BDataBuffer; a straight copy of the vector is sufficient for all other data types. This fixes issues with BMessage unittests where BMessage, entry_ref, BFlattenable, and raw data are exercises.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:25:09 +00:00
ejakowatz
02043d35db Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:06:32 +00:00
ejakowatz
e4265bfbfe Modified BDataBuffer's copy constructor to let the user specify whether to create a copy of the buffer or just a reference. Also changed all void* params to be const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:00:30 +00:00
ejakowatz
9fa0302ad0 Added two tests for flattening and unflattening.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 22:54:06 +00:00
ejakowatz
0cea36dca4 Jamfile addition so that BMessage B_NO_REPLY-on-destruction tests will actually get used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 22:24:21 +00:00
ejakowatz
221abfb27f BMessage now sends a B_NO_REPLY on destruction if no other reply has been sent; these are the tests for that behavior.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 21:59:28 +00:00
Axel Dörfler
bd80f1c775 Now handles NULL cookies for the VM fs calls gracefully (in case someone
would want to mmap() a device directly).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 15:39:03 +00:00
Axel Dörfler
df435e99c2 Now only prints out the path if the path was initialized successfully - else
the app would crash in this case (because BPath::Path() could return NULL
then).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 01:50:08 +00:00
Axel Dörfler
0f3697566d The fs_readlink() function must work a bit differently in the new VFS API
(ie. it needs to add the terminating null byte).
It now also properly fails if the link is too long for the provided buffer.
This allows us to resolve links on BFS volumes using Haiku again :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 01:47:08 +00:00
Jérôme Duval
7072c960f8 adding comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:33:55 +00:00
Jérôme Duval
da4ca8a49e added keymap
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:20:34 +00:00
Jérôme Duval
43ca889200 fixed logging, a bit of worker
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:03:20 +00:00
Jérôme Duval
e73537f459 rebased on the mouse device addon, cleaned, untested
still lacks better logging, thread worker, settings handling, keymap management and that's all!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 23:34:06 +00:00
Axel Dörfler
a4e05e618a Added a "cookie" parameter to the fs_read|write|has_page[s]().
Implemented bfs_get_file_map().
Now uses the brand new file cache for the file data streams.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:56:52 +00:00
Axel Dörfler
dc3089f8ff Added a "cookie" parameter to the fs_read|write|has_page[s]().
This has the advantage that the device can now be access in the right context.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:48:58 +00:00
Axel Dörfler
dd6cb90eac Added a "cookie" parameter to the fs_read|write|has_page[s]().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:34:08 +00:00
Axel Dörfler
68085f7cec Added a "cookie" parameter to the fs_read|write|has_page[s]().
Fixed the calculation of the amount of bytes read in bootfs_read_pages().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:32:00 +00:00
Axel Dörfler
2829b349c6 Added a "cookie" parameter to the vfs_read|write|has_page[s]().
Added an vfs_get_cookie_from_fd() call to at least temporarily support the
cookie as in the original devfs (not sure yet how this changes).
Implemented vfs_get_file_map() which calls the corresponding FS function.
Moved vfs_get_vnode_cache() around.
vfs_get_vnode() temporarily does its job unlocked - its only to be used (safely)
from within the file cache, but this should definitely be done better.
Fixed a bug in get_vnode_name() - it did not support getting the name of
a root directory; it didn't pass the call through to the parent file system.
Fixed a bug in _user_entry_ref_to_path() which would add another "/" for
files immediately under the root (ie. "df" showed "//boot" as mount point
for the boot partition).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:29:20 +00:00
Axel Dörfler
55efd37df7 Added the file_cache.cpp file to the build.
_KERNEL_MODE is already defined when using kernel build rules, no need
to do it here manually.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:05:46 +00:00
Axel Dörfler
e02c12f0b3 Added a "cookie" parameter to the vfs_read|write|has_page[s]().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:03:47 +00:00
Axel Dörfler
aabc1217bb Fixed warnings, small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 22:01:48 +00:00
assimil8or
1d24af2571 my first commit: makes it possible to load R5 terminal setting files via the command line (Option -p)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 20:15:13 +00:00
Axel Dörfler
cbe8d2b0fe Applied some parts of our style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 17:33:33 +00:00
Axel Dörfler
4bccccda2e Fixed two wrong cast types which broke the build over here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 17:28:42 +00:00
Philippe Houdoin
a68b2eb2ce Fix the keyboard focus order by changing how and in which order things are
created.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 14:43:42 +00:00
Philippe Houdoin
606359d937 Commit often, commit small...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 09:51:12 +00:00
Stefano Ceccherini
33efb91915 Almost rewrote the mouse input add-on to handle multiple devices, added usb devices monitoring (not tested as USB doesn't work on my machine).
Now it generates the device name from the folder name (i.e. /dev/input/mouse/serial/0 ---> "serial mouse 1").


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 06:42:58 +00:00
Axel Dörfler
f72376a8dd The beginnings of a file cache. Read-only is already working fine; very
basic and with a temporary API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 01:23:57 +00:00
Axel Dörfler
7f2ba8be02 Now clears out any remainders of the pages in the iovecs if the request
couldn't be satisfied completely (ie. because the file size is not a
multiple of the page size).
It's no longer necessary to implement this functionality in the file systems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 14:57:54 +00:00
Waldemar Kornewald
15288c9013 Fixed the build of our netstack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 10:59:00 +00:00
DarkWyrm
8a715d82f6 turned off debug output in AppServer.cpp and ServerApp.cpp
system palette is now hardcoded using Ingo's BBitmap code for a speedup and the ability to reference the server's system palette without the server actually running
Added some utility classes to make finishing DisplayDriver easier and cleaner
Removed a stray debugger call in DisplayDriver
Added a display mode conversion function to Utils.cpp
Began conversion of BitmapDriver to utilize PixelRenderer class where appropriate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:52:45 +00:00
DarkWyrm
3713534518 Tweak to FindClosestColor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:46:37 +00:00
Axel Dörfler
d5a48f5dcf The VM fs interface has changed to better match the one of the device interface.
Added an fs call for the file cache.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:52:32 +00:00
Axel Dörfler
14d725bb50 The VM fs interface has changed to better match the one of the device interface.
Added a new fs call for the file cache.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:48:11 +00:00
Axel Dörfler
33657fc8ac No longer gets the old device_hooks but a pnp_devfs_driver_hooks structure
to be able to call device functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:47:08 +00:00
Axel Dörfler
f363b7231f Eliminated the internal device_info structure - the devfs will now store the
node and its interface directly. It will also convert the old interface into
the new one to simplify the implementation.
devfs_open() now contains the former pnp_devfs_open() as well.
devfs_publish_device() no longer passes the "ident" parameter to its lower
layers - it will be removed.
The VM fs interface has changed to better match the one of the device interface.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:46:10 +00:00
Axel Dörfler
26de720c84 The VM store interface has changed to better match the one of the device interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:41:42 +00:00
Axel Dörfler
c66a5d50b7 "Improved" a commentary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:36:50 +00:00
Axel Dörfler
b8d0a6779d pnp_node_info is now a little bit more public and can now be found in kdevice_manager.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:35:15 +00:00
Michael Pfeiffer
d25d8e6b16 Test for class _PointerList_. Someone should convert it to a CppUnit test
and integrate it in the build system.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 10:00:13 +00:00
Michael Pfeiffer
ad867a27fb Implemented quick sort. Refactored source code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:39:05 +00:00
Rudolf Cornelissen
50bd00fe1f added fixed CRTC FIFO watermark setup (in a temporary fashion). This should solve the 'bandwidth trouble' (memory fetch errors, noise on screen) on coldstarted cards. Tested and found OK on TNT2-M64. Coldstart is now just perfect there!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:30:24 +00:00
DarkWyrm
30f5b3138d Converted BGet memory pool manager to a class. Now we have the foundation for sending large objects (BRegion, BShape, etc) to the server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 00:55:05 +00:00
Axel Dörfler
f6d0f5ea94 Accidently activated debug output with the last change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:27:20 +00:00
Axel Dörfler
f3165b2826 Removed the vm_store::data field. Cleaned up the files a bit, removed
unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:08:47 +00:00
Axel Dörfler
80249479d4 No longer needed, we're now using the vnode store in ../cache/vnode_store.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:06:47 +00:00
Axel Dörfler
5ad8418606 Now uses the new vnode store.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:05:21 +00:00
Axel Dörfler
447a16653a Added a basic vnode store, more or less the same as the old one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:04:09 +00:00
Axel Dörfler
e16b2bc4a9 Added a test application for the BlockMap class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:05:44 +00:00
Axel Dörfler
21c6ae44d3 vfs_get_vnode_cache() was pretty broken, and didn't returned the correct
cache pointer in most cases.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:55:41 +00:00
Axel Dörfler
103d0293a9 Moved this file to ../cache/block_cache.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:40:10 +00:00
Axel Dörfler
35df9fef55 Removed cache.cpp from the build.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:39:14 +00:00
Axel Dörfler
837e295821 Added the kernel_cache.o object to the kernel.
Added arch dependent POSIX stuff to libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:38:05 +00:00
Axel Dörfler
e521a22974 Added the "cache" subdirectory to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:36:35 +00:00
Axel Dörfler
3a976c2844 Adds block_cache.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:35:32 +00:00
Axel Dörfler
125f4d5101 Implemented a "block map" that can efficiently map contiguous blocks to
addresses.
Not yet used - might be used instead of the vm_cache page caching for the file cache.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:34:24 +00:00
Axel Dörfler
6a3016d2ab Moved the block cache to this file (from ../vm/cache.cpp).
It still contains a very dump version of a BeOS compatible block cache.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:32:20 +00:00
Axel Dörfler
4872592920 Changed the way the vnode cache is set - it's now cleaner and can no longer
allocate a cache twice.
The VFS is now responsible for allocating the cache object - it will call
the VM to do that if necessary.
Added another accessor call to a pointer to the VFS private vnode object.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:11:04 +00:00
Axel Dörfler
2f1cbcf862 Changed the way the vnode cache is set - it's now cleaner and can no longer
allocate a cache twice. Now handles resource shortages gracefully.
Added small description to _vm_map_file().
Minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:09:26 +00:00
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
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
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
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
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
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
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
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
Jérôme Duval
11b0d5ec50 Added devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:03:58 +00:00
Axel Dörfler
d21f25079b Added missing function tzset() - doesn't do a lot yet, though. The source
file also contains the tzname symbol.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:28:25 +00:00
Axel Dörfler
f84671c1ca Added empty PPC jamfile - there are no arch dependent things yet for PPC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:23:08 +00:00
Axel Dörfler
7be5564a86 Added setjmp(), sigsetjmp(), and friends from FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:21:54 +00:00
Axel Dörfler
6914fa8c77 Removed rlimit.c - we now have one in sys/ where it belongs to.
Added new "arch" subdirectory to the build.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:18:36 +00:00
Axel Dörfler
866a87e2b5 Added several missing functions - some of them work, some of them don't.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:14:12 +00:00
Philippe Houdoin
6eb80c55ea Dynamicly compute the settings area minimal size (and window, so) according
to add-on's views size.
NetworkSetupProfile class: work in progress...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 10:10:12 +00:00
Jérôme Duval
bb9fc82712 Moved to SimpleTest rule, to not clutter distro directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 09:24:55 +00:00
Ingo Weinhold
d9b1b5c979 Made the libglob.a targets for bash and make distinguishable for jam by adding grist to each.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 23:05:55 +00:00
Jérôme Duval
c1706cd270 minor fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:28:11 +00:00
Jérôme Duval
1cf63426c6 added messages outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:17:23 +00:00
Jérôme Duval
dd658e005d added system key chars size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:12:14 +00:00
Jérôme Duval
dbf6aa568b integration of the system keymap, loaded when settings one loading fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:06:54 +00:00
Jérôme Duval
5b7cb6de0a Seems hex printf output is buggy with negative value, -1 should give ff and not ffffffff. we go to decimal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 17:15:42 +00:00
Jérôme Duval
12379c683f added header generation for input_server inclusion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 16:56:19 +00:00
Jérôme Duval
b7a80e2d41 added a systemkeymap generation based on US-International keymap, it is hardcoded in the Jamfile for now
fix a bug in MouseSettings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 16:51:53 +00:00
Axel Dörfler
0f43544e4d Calm down IDE debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 13:08:34 +00:00
Rudolf Cornelissen
1f1a4dff41 fixed small typo. Erazor 3 (TNT2) indeed still operational exactly as before.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:34:16 +00:00
Rudolf Cornelissen
595ca96f05 some coldstart finetuning and yet another script command. mods not yet checked (so not yet run).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:16:18 +00:00
Stefano Ceccherini
4826cc5f6a Added a (mostly not tested) _PointerList_ class. Please (Michael Pfeiffer or Ingo, whoever comes here first ) have a look at it :)
Note that I needed to write my own BSearch() because the compare functions used by _PointerList_ wants items as arguments, while the C bsearch() wants pointers to items as arguments.
The same applies to qsort(), though it's not been written yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 10:10:23 +00:00
Jérôme Duval
b00721dd1e added error handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:57:34 +00:00
Jérôme Duval
bab3205a73 changed signature
added error outputs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:56:59 +00:00
Jérôme Duval
1e4e105d82 added error outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:56:17 +00:00
Jérôme Duval
30585c9757 added keymap bin tool
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 09:55:32 +00:00
Philippe Houdoin
d72d2ff161 Rename get_stack_driver_path() into stack_driver_path() to follow BeOS naming policy
about functions directly returning the value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 08:56:18 +00:00
Stefano Ceccherini
f6cd639a4b Sheesh! No wonder the styling code wasn't fully working, as we were using different constants for font attributes than the ones used by BeOS R5. Now we use those constants directly. Still not ok, but we are on the right track now (I hope :))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 07:08:49 +00:00
Axel Dörfler
7ac08f006f The user image ELF loader is now silent when compiled without TRACE_ELF defined as long as no serious error occurs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 04:56:15 +00:00
Axel Dörfler
1980b54a21 Fixed a stupid bug in list_move_to_list(): it did not work for empty lists.
The kernel no longer trashes memory when you delete a port without any
messages in its queue (i.e. you can now safely link against libbe.so :)).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 04:45:02 +00:00
Axel Dörfler
0ebb4701b9 fs_read_info() will now also succeed if the file system in question does
not support the read_fs_info() function - only the values that the VFS
does know about are filled in, then.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 03:41:29 +00:00
Axel Dörfler
b9a3a4663f Almost rewrote the "df" utility:
- no longer uses BString for scary reasons
- bugs fixed, among others, argument parsing was broken
- removed verbose mode
- added possibility to get detailed info about a single volume
- former "human readable" is now default, added new option "-b|--blocks" to change back
- will always print complete mount point, but will also keep layout intact
- now hides special file systems by default - use new option "-a|--all" to make them visible again
- improved help text
- code cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 03:25:08 +00:00
Axel Dörfler
b1cd9d2d94 Changed the resolution of the boot loader to a maximal width of 800 pixels to
have a smaller window in Bochs :)
Debugging output only if TRACE_VIDEO was defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 01:04:24 +00:00
Axel Dörfler
d885b0a17c Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 23:34:22 +00:00
Axel Dörfler
6169bb1f81 Added missing copy_to_bfs_image to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 23:30:19 +00:00
Ingo Weinhold
232b476c29 Removed CRs. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 21:57:06 +00:00
Philippe Houdoin
1886cac8e3 Include /etc files in the package. Their installation at final location is
not yet there, work in progress.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 21:55:29 +00:00
Jérôme Duval
0a05ee797d WIP of header generation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 16:21:47 +00:00
Rudolf Cornelissen
502f746720 BLOOOOOOPP!! Erazor 3 TNT2 coldstart is operational!! Wow! Small note: I probably need to really setup FIFO watermarks now, can't deny it anymore. Cards works beautifully as full secondary card in system in 640x480 8-32bit color, 800x600 8-16 bit color, and 1024x768 in 8 bit color (60Hz tested).
Go above that and you'll probably witness CRTC memory fetch errors (distortions, maybe like snow ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 13:46:47 +00:00
Rudolf Cornelissen
ce35f051d5 now erazor stays working if script is executed. Now working coldstart yet though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 13:05:25 +00:00
Rudolf Cornelissen
09f63f9d05 added coldstart scriptcmd exec for RAM config setup (without RAM tests). The Elsa Erazor III TNT2 (NV05) script is 'fully' executed now, still nogo however. To be continued..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 11:46:54 +00:00
Stefano Ceccherini
74dca7b4f4 - Fixed crash during unarchiving, caused by the use of the wrong variable (thanks to Bill Hayden for reporting), and added a check which would have avoided the crash.
- Style changes to StyleBuffer.cpp plus a small fix in ContinuousGetStyle().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 09:02:31 +00:00
Rudolf Cornelissen
2d2e1091d5 yacs: yet another coldstart scriptcmd. One (Extensive) one to go for ELSA erazor III..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 09:00:25 +00:00
DarkWyrm
64bc6cc549 Checkin for Michael Lotz - implementation of unarchiving constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 21:59:58 +00:00
Jérôme Duval
f907d7292a now only system addons are loaded when safemode is true
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 19:34:35 +00:00
Jérôme Duval
6346dac055 implemented safemode info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 19:23:50 +00:00
Jérôme Duval
8291ca0379 added safemode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 19:20:38 +00:00
Jérôme Duval
49d4da23f6 fixed Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 17:15:27 +00:00
Jérôme Duval
6d5bdc6eb2 removed unused files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:43:53 +00:00
Jérôme Duval
0c40e5db5b Fixed returned values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:38:05 +00:00
Ingo Weinhold
8731383444 Added graphic driver and accelerant for Tseng Labs ET6x00 chips, courtesy Evgeniy Vladimirovich Bobkov.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:31:33 +00:00
Jérôme Duval
76dd4cf399 Revised the code, to be cleaner
added a rdef file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:28:21 +00:00
Ingo Weinhold
6106f25494 Commented out subdir mediaplayer as it doesn't exist.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:26:08 +00:00
Jérôme Duval
aa4ad54070 change to rdef
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:29:45 +00:00
Jérôme Duval
00740cc502 Integrated MouseSettings and KeyboardSettings
update license info
clean up
removed node monitoring messages handling
fixed several message handlers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:20:34 +00:00
Jérôme Duval
970f7be9fb fixed mouse settings to avoid writing input_server settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:07:10 +00:00
DarkWyrm
8436893ffd Remove a couple desktop-related files no longer needed
More specific TODO comments so we can use grep to understand in a general sense what still needs done


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:01:44 +00:00
Jérôme Duval
a45aba16ed added prefs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:00:02 +00:00
Ingo Weinhold
d668899063 On success readlink() returns the number of bytes read, not 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 11:59:07 +00:00
Ingo Weinhold
48d046ac05 * Fixed usage of user_strlcpy() in several places.
* null-terminated the result of common_read_link().
* Fixed return value of _user_read_link().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 11:58:04 +00:00
Ingo Weinhold
f57dcf3200 Several follow-up changes required by the changes either to the VFS
syscalls or to the syscall mechanism (which exposed naming and parameter
inconsistencies).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:51:47 +00:00
Ingo Weinhold
383cdedbd2 Several follow-up changes required by the changes either to the VFS
syscalls or to the syscall mechanism (which exposed naming and parameter
inconsistencies).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:45:00 +00:00
Ingo Weinhold
3d6fb35361 FObjectsDir was renamed to FCurrentObjectsDir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:41:13 +00:00
Ingo Weinhold
9955b99a86 Several VFS related syscalls have been changed, added or removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:38:39 +00:00
Ingo Weinhold
c46de31dea Renamed fs_query.c to fs_query.cpp and implemented the function. They don't work yet as the kernel part is not implemented yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:36:53 +00:00
Ingo Weinhold
6fec58934a We automatically generate what information are available from syscalls.h,
which from now on relieves us from the duty to maintain syscalls.S and
syscalls.c manually. Either includes a generated file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:34:43 +00:00
Ingo Weinhold
efd87ab8df Had to change the mechanism for automatically generating most of the
boring syscall stuff. It has two phases now: The first one
(gensyscallinfos) parses syscalls.h and generates a source file containing
all the required information. This file is compiled and linked to
gensyscalls, which generates the actual output files.
Added to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:26:52 +00:00
Ingo Weinhold
cc868bc230 Uncommented a few tests that our Storage Kit implementation passes now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:20:55 +00:00
Ingo Weinhold
044be4e258 Introduced a new build flag and macro RUN_WITHOUT_APP_SERVER, to allow
several things to work without a running app server (the Storage Kit to
begin with).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:18:31 +00:00
Ingo Weinhold
db10640de9 Got rid of the Storage Kit's kernel abstraction layer, which was
unfortunately quite slow and made some things more complicated than they
needed to be.
Implemented a few missing things (e.g. BSymLink and node locking).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:14:46 +00:00
Ingo Weinhold
233e6dadef The whole Storage Kit now uses syscalls directly. No further need of this abstraction layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:08:05 +00:00
Rudolf Cornelissen
76eddc4fc1 small cosmetic fix. Cool! PLL readouts are actually OK, which probably means we can now ascertain if those older cards with noise (bandwidth) trouble are indeed running on too low speeds...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 19:41:45 +00:00
Rudolf Cornelissen
e21f481ff3 added exec of another scriptcmd (indirect PLL)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 19:22:10 +00:00
Rudolf Cornelissen
12d8196092 added execution of two more coldstart script commands, one doing CORE, RAM and DAC PLL programming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 17:04:53 +00:00
Rudolf Cornelissen
9fb20c7b6d added recognition of 3 new introduced coldstart script cmds for coldstarting on NV11: my NV11 now actually starts to do weird things :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 15:13:30 +00:00
Axel Dörfler
a48a5ab889 devfs now supports the I/O scheduler mechanism and automatically uses it
for all raw disk devices.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:33:31 +00:00
Axel Dörfler
6e3462b57e Added I/O scheduler to the build.
Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:31:42 +00:00
Axel Dörfler
d3efd9a6ef Implemented the basic I/O scheduler architecture - doesn't schedule anything
yet, though (instead, it directly performs all requests, so there is no
functional difference to the previous mechanism).
devfs and the file cache will directly access the I/O scheduler. There is
one scheduler per raw disk device; devfs detects that automatically, and
all I/O will go through the scheduler, then.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:28:29 +00:00
Axel Dörfler
a0c7b77db3 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 20:58:30 +00:00
Axel Dörfler
c96488c21d Now compiles fine as C++ file (fixed min() usage).
Added our license.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:57:43 +00:00
Axel Dörfler
ba74984309 Renamed devfs.c to devfs.cpp - it's now compiled as C++ file to allow usage
of kernel internal C++ API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:46:48 +00:00
Axel Dörfler
ded78bc1ef Made changes to let this file be compiled as C++ file as well without warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:44:08 +00:00
haydentech
2b7da86751 Resolved some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:23:39 +00:00
Jérôme Duval
e7b9acd7b1 Added test preferences apps MouseTest KeyboardTest KeymapTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:06:21 +00:00
Jérôme Duval
d5f2a1f371 added our input server signature in comment
added #ifndef COMPILE_FOR_R5 to avoid BPortLink linkage when needed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 14:32:13 +00:00
Philippe Houdoin
7ada78200d NetworkingKit package's libs where misplaced, installed into
Desktop/openbeos-networkingkit-cvs, when bin tools where, them, installed into Desktop/haiku-networkingkit-cvs !
This should not have help earlier tester(s) ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 13:45:46 +00:00
Jérôme Duval
97c19e92aa Complete DeviceManager, need testing though.
Fix crash with TeamMonitor when quitting.
Moved app signature to a common place


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 13:14:17 +00:00
Stefano Ceccherini
6276c26824 - Some more error checking in some functions
- Fixed SetMaxBytes(), and made it delete the text if it's longer than the indicated bytes
- Fixed Delete(int32, int32) as it was doing bad things if you deleted the final part of the text
- Fixed PageDown handling (at least, it looks like so)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 08:35:15 +00:00
Stefano Ceccherini
758fe00be9 Started adding input methods "clauses" support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:50:41 +00:00
Jérôme Duval
b69a5532ae reworked device manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:46:21 +00:00
Philippe Houdoin
4158964bd7 Mistaken duplicated code removed.
Use UTF-8 constants is better.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 23:22:24 +00:00
haydentech
54b32ef066 Fixed crashing bug related to incorrect bounds checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 20:29:03 +00:00
Rudolf Cornelissen
40cce32835 more coldstart script executing cmds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 18:56:09 +00:00
haydentech
22b5b23866 Initial implementation of CopyBitmap - more work is needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 18:42:48 +00:00
Jérôme Duval
6e6fa57fb5 Added a device manager for devices monitoring
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 16:11:24 +00:00
Rudolf Cornelissen
daef2e88ec added 3rd coldstart script cmd exec (untested yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 16:02:27 +00:00
Jérôme Duval
cba20309fd minor debug info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:04:22 +00:00
Jérôme Duval
dcda1706fa Unprotected MultiAudioDevice destructor.
Now deletes MultiAudioDevices which don't init correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:01:39 +00:00
Rudolf Cornelissen
42a266345e added actual cmd execution for first coldstart script commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 11:57:35 +00:00
Rudolf Cornelissen
9235afe31f added coldstart script processing (cmd's not yet executed)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 10:44:57 +00:00
Jérôme Duval
347637bebc fix for metacharacters in keymap filenames
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 10:13:25 +00:00
Jérôme Duval
02b4f3e3e6 added another set of keymaps. source is International Keymap Pack from http://www.bebits.com/app/698 licensed as public domain.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 09:26:40 +00:00
Rudolf Cornelissen
03fb171873 coldstart updates, the driver now looks at the 'usebios' setting. still no actual execution though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 09:11:29 +00:00
Stefano Ceccherini
7fd612e59f And here's the blue highlight when an input method addon like the Japanese one is used (the red one isn't yet there)
Some minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 06:30:43 +00:00
Ingo Weinhold
187bee4d77 Small change for correctness and to avoid name clashes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 19:44:53 +00:00
Axel Dörfler
7fdfbc9850 No longer disables the floppy motor if it was booted from a floppy - that
somehow doesn't seem to work right with Bochs; after a reboot, the floppy
is not accessible (we might just need to turn the motor on again).
Not checked if this also happens on a real machine.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:40:51 +00:00
Axel Dörfler
d3a947b004 Now uses a macro to export global symbols.
Added the reboot() function from our kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:38:26 +00:00
Axel Dörfler
30f0f48a33 Added platform_exit() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:29:10 +00:00
Axel Dörfler
90b9284ea3 Fixed a warning when compiled with GCC 3.
Added currently non-working version of platform_exit().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:27:40 +00:00
Axel Dörfler
31f29a6f7e Added support for disabled menu items.
The target function of an item is now called upon every action, not only
if that item had a sub menu...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:26:40 +00:00
Axel Dörfler
f191528003 Added an InitCheck() method; if something goes wrong, the device won't be
added to the boot device list anymore. This is currently used to remove
devices that don't support the LBA access mechanism (since CHS support has
still not been implemented).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:25:08 +00:00
Axel Dörfler
b430068a23 Implemented the enabling/disabling of menu items.
"Continue boot" will now be disabled if there are no boot volumes.
Also, there will be an additional menu item "Reboot" in that case.
The boot device menu will now show a disabled "No boot devices found" label
then, and will be selected upon entry. Added a help text to "Rescan volumes"
which will also be selected upon entry if there is no boot device.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:23:28 +00:00
Axel Dörfler
a084c3cd69 No longer panics when it could find any boot volumes, but enters the
user menu in that case, too (to give the user the opportunity to rescan
the available devices).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:20:09 +00:00
Jérôme Duval
6df8e49083 Added Albanian American Belgian Japanese keymaps taken from BeOSMax3.1b1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:03:13 +00:00
Jérôme Duval
e3d5c9065f Added Italian, Swedish, Spanish keymaps taken from BeOSMax3b1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 14:51:03 +00:00
Jérôme Duval
9039fc987d Added keymap source compilation
Added French, German, Dutch, Greek keymaps taken from BeosMax3.1b1


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 14:44:21 +00:00
Jérôme Duval
1eb6e72fdc bugfix for extended chars
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 13:49:12 +00:00
Jérôme Duval
dd48c6dc23 Source parsing is now complete.
Added options -c for "compiling" the source keymap to a binary keymap
and -o to name the output file. -o has to be before -c because i'm looping through cmd args.
Time to add keymap source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 13:30:59 +00:00
Stefano Ceccherini
939b1a9c4c PageDown and PageUp now behave a bit better. Still not completely ok, plus the code is a mess.
Needs to cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 07:50:35 +00:00
Stefano Ceccherini
2a346d67a6 - Fixed a nasty regression which made the control unusable
- Fixed the "caret looks like a point" bug
- More work on the Styling code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 06:49:43 +00:00
ejakowatz
b9c2cb3cd1 BMessage now sends B_NO_REPLY on destruction if no reply has been sent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 04:14:30 +00:00
ejakowatz
68247322bf Squished another possible memory leak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:59:33 +00:00
ejakowatz
72a804515c Fixed a couple of memory leaks and an incorrect index bounds check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:54:02 +00:00
Jérôme Duval
968aa8c895 source keymap loading through LoadSource
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:22:39 +00:00
Axel Dörfler
96a34bfa35 Improved debug output - you know get the exact address of a page fault, not
rounded to the page offset.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 21:47:11 +00:00
François Revol
4c7651ac24 finddir: added -l option; removed DOS CRLF; fixed coding style.
sysinfo: dump port info too by default


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 15:59:10 +00:00
Rudolf Cornelissen
b1d5889c4a small rom infostruct decode update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 11:35:23 +00:00
Jérôme Duval
7a0168dc97 Don't traverse link when looking for names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 00:06:22 +00:00
Jérôme Duval
e6c0b53ddc Added filtering. Commented now former unused addon code.
We now load and manage device and filter addons successfully.
Tested with nervous and InputRecorder devices and InputRecorder filter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-23 21:50:09 +00:00
Rudolf Cornelissen
b4aa9ce9b4 added beginnings of cardBIOS info struct readout
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-23 14:58:30 +00:00
DarkWyrm
49de2e8b4f server no longer turn into a zombie if closed with an app running
ServerApp now supports workspace activation along with client notification


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 22:33:57 +00:00
Ingo Weinhold
a8ca1ab348 Completed. Properly generates the desired outputs now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 10:30:45 +00:00
DarkWyrm
478bbd8507 Cruft removal -- server replies should be SERVER_TRUE if function call was successful and SERVER_FALSE if not
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:27:15 +00:00
DarkWyrm
bceb8166d4 Added a function to the BPortLink debugging code
Made a couple of style tweaks to BApplication::connect_to_app_server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:22:51 +00:00
DarkWyrm
f9ed3ba7d5 Fixed a stupid mistake in the message to create a window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:10:44 +00:00
Ingo Weinhold
2e463a12a9 The beginnings of a small tool to parse syscalls.h and generate the assembly file performing the calls and the respective part of kernel syscall dispatcher. The parsing part is done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:06:00 +00:00
DarkWyrm
1507de760c Made some tweaks to make adding other modules less bug-prone
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 20:06:36 +00:00
DarkWyrm
bc7060f4fc Removed warnings and errors which were missed in the transition to BPortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 19:48:13 +00:00
Oliver Tappe
c7000cc7b3 - fixed some issues when compiling with gcc-2.95.3. At least three more
problems remain, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 08:55:12 +00:00
François Revol
6c29244a56 Add select() support, required for OpenSSH.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-20 22:31:05 +00:00
Jérôme Duval
c78e2a47c0 Added support for COMPILE_FOR_R5 flag, it enables to launch input_server without libopenbeos.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-20 12:55:31 +00:00
Jérôme Duval
bcacea13ec messages reply with status
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 22:27:52 +00:00