Commit Graph

10398 Commits

Author SHA1 Message Date
Jérôme Duval
fd681700c0 added timezones files, setting timezone to Europe/Paris (shouldn't be hardcoded in the future)
added find xargs locate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 10:59:35 +00:00
Stefano Ceccherini
4e8891d152 Check in the serial mouse addon before I forget about it (hmmm holidays...).
Should be cleaned up a bit and maybe merged with the "other" mouse addon.
Courtesy of Oscar Lesta aka BiPolar


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 08:17:37 +00:00
Axel Dörfler
e7a9dbff59 Now uses the appropriate syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:22:14 +00:00
Axel Dörfler
2ff908a59e Added empty get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:20:17 +00:00
Axel Dörfler
08f58535d9 Added syscalls for get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:18:54 +00:00
Jérôme Duval
82f223ea8c Implemented times
now uses system_time, because we don't have to return a real time


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 20:16:35 +00:00
Jérôme Duval
4693e9c7a5 Implemented getrusage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 19:24:24 +00:00
Axel Dörfler
80899a91b9 Added libroot/os/arch/x86/thread.o to the rld.so build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:53:39 +00:00
Axel Dörfler
8f9787f0f8 Now sets the $SAFEMODE variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:39:09 +00:00
Axel Dörfler
8ca49095a0 Updated usage comments at the top of the file.
Added "safemode" and "shutdown" commands.
Now makes a symlink from "more" to "less".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:38:24 +00:00
Axel Dörfler
73e29ea0c4 Added empty get_safemode_option() call - right now, it's even private
and only the syscall is exported.
For now, it always returns B_ENTRY_NOT_FOUND - since the boot loader
does not have support for driver settings yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:36:42 +00:00
Axel Dörfler
9b9e67a199 Ported over safemode to our kernel.
_kern_get_safemode_option() just returns the driver_settings parameter
string, so it has to be evaluated by the caller.
Also, "safemode" returns 1 if safemode is enabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:34:45 +00:00
Axel Dörfler
fa2c0f885f Added _kern_get_safemode_option() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:32:51 +00:00
Axel Dörfler
a5cceb23c2 Ported over to our own private API - it's now functional under the Haiku kernel.
Improved argument parsing code - you no longer have to specify each option separately.
Improved time parsing for the "-d" option: it's now possible to add a unit to the
time value ("m" or "s"), and you don't have to add a space anymore (ie. -d5 will
work, too).
Cleaned up the source file to better match our style guide, and look better overall.

Also added a comment about the usefulness of some of the options here - I think
we should remove the alert stuff again; one requester (in Roster) is really enough
for my taste.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:04:08 +00:00
Axel Dörfler
216b269cbc Moved shutdown() into a separate file.
Added _user_shutdown() and made it available as syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 17:59:13 +00:00
Axel Dörfler
d3d7ec98b6 Moved some time syscalls to the other time related syscalls.
Added _kern_shutdown() syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 17:57:37 +00:00
Rudolf Cornelissen
6d83a1b637 updated doc once more.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 14:57:45 +00:00
Rudolf Cornelissen
e3439376b4 added 1400x1050 displaymode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 14:56:50 +00:00
Rudolf Cornelissen
26afc3f2d2 updated documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 13:10:47 +00:00
Rudolf Cornelissen
abf9325a35 move_overlay() confirmed working fully OK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 13:09:48 +00:00
Rudolf Cornelissen
56b937bfb6 finished move_overlay(). Still untested though..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 12:33:56 +00:00
Stefano Ceccherini
8b7faba29f Made double buffering a compile time option (disabled by default as there is some issues with it)
Made widthbuffer a compile time option (disabled by default).
Some minor changes.
Updated the "known bugs" section


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 11:00:50 +00:00
Rudolf Cornelissen
12a8acf64d setup move_overlay() functionality (part 2), not yet ready..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 10:19:03 +00:00
Axel Dörfler
bc1994c4fb Our uname currently returns "Intel" as machine - changed SetupEnvironment
to take that into account.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 03:23:16 +00:00
Axel Dörfler
f6c4b97ace It now accepts a directory as argument that will be the target of the build files.
When you specify this directory, no image file will be created.
Added the listarea command.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 03:15:18 +00:00
Axel Dörfler
1e32802a52 New call new_fd_etc() which accepts a starting index for where to search for free FDs.
Implemented F_DUPFD support for fcntl() - we no longer see any redirection errors when
booting into Haiku.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:56:35 +00:00
Axel Dörfler
e3e06dd847 Added new new_fd_etc() call.
Cleaned up included headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:53:28 +00:00
Axel Dörfler
ecd4e1445d Different compilers produce differently sized binaries: removed the PCI
bus manager from the floppy image - it's not really needed yet, and with
all the debug output, it cuts some 300 kB from the final image.
If you're floppy image did not work anymore in Bochs, try now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:20:48 +00:00
Jérôme Duval
d35e7ce4c2 clock is now local by default
timezone is now set even if not rtc time setting is found


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 23:17:34 +00:00
Jérôme Duval
766dfdaf6c fixed system_time_offset and sTimeOffset
added some trace


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 22:54:50 +00:00
DarkWyrm
9655bd6c06 Removed a couple of deadlocks caused by missing DisplayDriver unlocks
remove possible NULL pointer crash in LayerData
Added low-level clipping to ViewDriver
Some minor UI tweaks to WinBorder


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 20:07:41 +00:00
DarkWyrm
eb740ad17f Disabled code for cursor config until API settles
Added low-level clipping support to decorator preview
Added comments to clarify disabled cursor and color set support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 20:03:14 +00:00
Axel Dörfler
f19955303e _user_set_area_protection() did not set any B_KERNEL_*_AREA protection.
_user_create_area() and _user_clone_area() now inherit the read/write protection
for the kernel, too - before, it was always mapped read/write in the kernel,
but there is no reason to do that.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:57:20 +00:00
Axel Dörfler
4bc2682135 First go at set_area_protection() - does work for everything but changing
a read-only area to read/write.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:22:17 +00:00
Axel Dörfler
983377dc3d Now only uses the file name instead of the full path as area base name.
Calls set_area_protection() after relocating the images to make them
read-only for real.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:15:20 +00:00
Axel Dörfler
bb59e8a636 The boot loader test now builds again fine.
Removed -fcheck-memory-usage for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 16:23:48 +00:00
Jérôme Duval
fd575d8737 added a symlink for more
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 17:12:51 +00:00
Rudolf Cornelissen
cfab0cc0c8 small logging update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 15:00:09 +00:00
Rudolf Cornelissen
03b720e76e added move_overlay() related info to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 14:27:14 +00:00
Rudolf Cornelissen
da1bc0f07d started implementation of move_overlay(): to be continued..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 14:25:29 +00:00
Axel Dörfler
7d86dc0e79 Added grep, cat, and less.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 04:47:19 +00:00
Axel Dörfler
40ab990937 vm_cache_resize() can now resize all caches - and therefore, it now accepts
an off_t as size argument.
Implemented new function vm_cache_write_modified() which will write all
dirty pages of this cache back to disk (using the new vm_page_write_modified()
function).
Fixed warnings when compiled with debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:34:04 +00:00
Axel Dörfler
86b5aa8df9 Implemented new function vm_page_write_modified() that writes all dirty
pages in a cache back using the store's write method. Doesn't optimize
disk access yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:30:02 +00:00
Axel Dörfler
257d99f228 Renamed readwrite() to cache_io(), and readwrite_pages() to pages_io().
While we can tolerate the device driver to ignore the bytes argument when we
read from the device, we cannot do this for writes - now the code actually
takes this into account. Also added a comment about what to do when our own
driver is fixed :)
Implemented file_cache_sync().
file_cache_set_size() now uses vm_cache::virtual_size instead of the now
removed vnode_store::size. Also, it now resizes the vm_cache as well, so
that any no longer used pages are freed.
write_to_cache() now puts all pages in the modified list, so that they
can be written back easily.
Improved debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:27:45 +00:00
Axel Dörfler
3aacbe700a Removed the vnode_store::size field - it's no longer needed. Instead,
vm_cache::virtual_size is now used by the file cache code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:22:35 +00:00
Axel Dörfler
3e5bf45013 attr_dir_open() now checks if the FS call is implemented at all.
dec_vnode_ref_count() now deletes the cache *after* calling the file system's
remove/release vnode function. Also, it will now write back any pending
changes in that cache before removing it.
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:20:20 +00:00
Axel Dörfler
e0ee16403e Added prototype for vm_cache_write_modified().
Changed size argument of vm_cache_resize() from size_t to off_t.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:17:39 +00:00
Axel Dörfler
583e12c489 Added vm_page_write_modified() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:16:10 +00:00
Axel Dörfler
e057f978ce Inode::FillPendingRequests() could fill the requests in the wrong team context.
Now, it will only notify the read requests do gather the data.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 02:57:34 +00:00
Axel Dörfler
48f8c4e477 file_cache_create() fails when it's called before the vnode is created.
Inode::SetFileSize() now changes the size of the cache as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 01:40:44 +00:00