28138 Commits

Author SHA1 Message Date
Axel Dörfler
e0b0a173b6 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29478 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29478
2009-03-12 12:18:25 +00:00
Axel Dörfler
5654f62097 Almost didn't notice this patch from Christian Packmann:
* changed function names iterate() and iterate1() to more descriptive 
  iterate_float() and iterate_double()
* set better starting position for Mandelbrot set
* add higher values to "Iterations" menu: 2048, 4096, 8192


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29477 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29477
2009-03-12 11:27:22 +00:00
Ryan Leavengood
b7c9f42b94 Fix the bug on the mailing list where TextView does not go to the beginning of
the buffer when Ctrl-Home is pressed and to the end when Ctrl-End is pressed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29476 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29476
2009-03-12 02:37:18 +00:00
Oliver Ruiz Dorantes
b44ee58331 Add creation of local version infomation command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29475 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29475
2009-03-11 21:43:01 +00:00
Oliver Ruiz Dorantes
d834120754 Show BluetoothAdress in correct order
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29474 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29474
2009-03-11 21:26:21 +00:00
Oliver Ruiz Dorantes
011db60a81 Add option to refresh the list of localdevices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29473 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29473
2009-03-11 19:36:57 +00:00
Michael Lotz
5b9d5a2ec9 * Add has_debugger_command() so whether or not a debugger command is available
can be checked.
* Make the usb_keyboard module check the presence of the needed debugger
  commands to avoid the error messages in case of them being unavailable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29472 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29472
2009-03-11 12:17:23 +00:00
Stephan Aßmus
105c63e8cd To avoid problems of reversed meaning of "extern inline" in
GCC 4.3 and above (conforming to the standard when compiled with -std=c99
or -std=gnu99), define the inline functions as "static inline". I've had
another patch that maintains the previous behavior, but as titer pointed
out, we have no code in our repo that overrides the inlined functions
with their own version, and doing so for any other code would be
problematic, since for example Linux libio.h #defines these as macros.
In any case, I don't really know what I am doing, so please correct me
if I did something stupid! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29471 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29471
2009-03-11 11:21:52 +00:00
Ingo Weinhold
b302c77c1b Missed that part. The request definitions for the io() and cancel_io() hooks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29470 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29470
2009-03-11 02:08:03 +00:00
Ingo Weinhold
f1c6ce08f2 * Implemented the userland side for propagating the io() and cancel_io() hooks.
* Implemented io_request_is_write().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29469 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29469
2009-03-11 02:00:23 +00:00
Ingo Weinhold
b538ceb816 Added dup_foreign_fd() to duplicate a FD from another team.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29468 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29468
2009-03-11 00:57:17 +00:00
Ryan Leavengood
b876eba2f9 Fixing #3022, by enabling the Blackness screensaver by default, with a delay of 15
minutes. The screen will go off after 20. This was recommended by Axel :)

Kudos to the screensaver kit developers for putting the default settings in one
place.

I have also added comments to make the settings more understandable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29467 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29467
2009-03-10 23:05:41 +00:00
Ryan Leavengood
1042532f1c Adding my BuyNow screensaver to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29466 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29466
2009-03-10 22:49:25 +00:00
Joachim Seemer
8e7383619d * Added DiskUsage
* Tweaking box padding in the CSS


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29465 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29465
2009-03-10 18:26:29 +00:00
Stephan Aßmus
8f73c97d42 In the assignment operator, watch out if the passed message is ourself.
Fixes a crash in WonderBrush when dragging images over the layer list
to import them and triggering auto-scrolling. WonderBrush caches the
drag message and appearantly calls it's own MouseMoved() hood with the
cached message from within the auto-scrolling code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29464 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29464
2009-03-10 14:32:59 +00:00
Stefano Ceccherini
ce8253d97b don't open the menu if it's disabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29463 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29463
2009-03-09 11:11:57 +00:00
Ingo Weinhold
51ecdb00aa Replaced the recursive lock implementation by the kernel implementation
(slightly adjusted). It is completely based on mutexes, not needing any other
problematic features. Not sure why the previous implementation was doing it
differently.
This also adds the previously missing recursive_lock_trylock().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29462 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29462
2009-03-09 01:48:28 +00:00
Ingo Weinhold
98697fac69 The private IORequest.h header isn't used anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29461 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29461
2009-03-09 01:36:13 +00:00
Ingo Weinhold
110ffb6a22 The userland version of BFS almost builds again. recursive_lock_trylock() is
not exported by the UserlandFS interface yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29460 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29460
2009-03-09 01:34:49 +00:00
Ingo Weinhold
d26a6e8007 Added stubs for some FS interface and disk device manager functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29459 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29459
2009-03-09 01:28:51 +00:00
Michael Lotz
f4041343e6 * This should mostly complete the write_overlay.
* Fix memory leaks here and there.
* Virtualize the dirent list.
* Handle "." and ".." ourselfs as at least iso9660 cannot really know them in
  the readdir call and therefore returns different values than on lookup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29458 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29458
2009-03-09 01:26:45 +00:00
Ingo Weinhold
42e53f97a2 * Added kernelland_emu vm.cpp (for user_{strlcpy,memcpy}()).
* Added dummy entry cache functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29457 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29457
2009-03-09 01:11:18 +00:00
Ingo Weinhold
daa674789c Removed the khash, condition variable, lock, block cache, and slab
implementations and instead use the kernel sources directly or the
libkernelland_emu sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29456 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29456
2009-03-09 00:55:55 +00:00
Ingo Weinhold
e055b92aac Added missing header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29455 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29455
2009-03-09 00:50:53 +00:00
Ingo Weinhold
e3c89b1935 Removed superfluous strlcpy.c source. Haiku has strlcpy() in libroot.so
and the emulation library doesn't work on BeOS anymore anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29454 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29454
2009-03-09 00:42:49 +00:00
Ingo Weinhold
1de1f379a1 * Replaced the dummy slab implementation with that of the UserlandFS.
* Correctly implemented object construction and destruction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29453 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29453
2009-03-09 00:34:55 +00:00
Ingo Weinhold
cc586449f7 * Split misc.cpp further.
* Removed user_strcpy() (it doesn't exist in the kernel) and reimplemented
  user_{memcpy,strlcpy}().
* Added kernel_debugger().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29452 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29452
2009-03-09 00:23:33 +00:00
Stephan Aßmus
a3fe9a1432 Added Liblayout optional package. It just installs the library and the
headers in the right places (/boot/common). I made it depend on the Development
package, since without it it wouldn't be useful. It also refuses to install on
a GCC4 based Haiku, since it's intended to help building some popular
BeOS/Haiku software, and there you couldn't link against GCC2 libs I suppose
when you have GCC4 development tools.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29451 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29451
2009-03-08 23:35:08 +00:00
Rene Gollent
1c56dee2c4 We need to remove the node from our list when the pose is removed. Otherwise deleting, then recreating the same file will be rejected as a duplicate and not added to the view. Thanks to mmlr for reporting.
Small cleanups.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29450 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29450
2009-03-08 21:34:09 +00:00
Jérôme Duval
1a4140c195 * Patch from PulkoMandy: Add resolution listing to "screenmode"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29449 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29449
2009-03-08 20:29:07 +00:00
Ingo Weinhold
20bc371082 * Replaced the broken condition variable implementation (the
sConditionVariablesLock is needed) with the one I used for the UserlandFS,
  which is a slightly adjusted kernel version.
* Got rid of sThreadsLock. It's not necessary and didn't work like used anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29448 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29448
2009-03-08 18:27:06 +00:00
Ingo Weinhold
52c8e07fde Broke kernelland_emu.cpp into several source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29447 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29447
2009-03-08 17:55:36 +00:00
Ingo Weinhold
aa4ba93e25 * Renamed src/system/kernel/device_manager/io_requests.{h,cpp} to
IORequest.{h,cpp}.
* Introduced public <io_requests.h> header. Currently it only declares the
  single function BFS uses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29446 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29446
2009-03-08 17:30:37 +00:00
Axel Dörfler
afe5aa6692 * Since JMicron generously send me one of their ethernet cards to add support
to Haiku for them, I finally got around taking a look at their FreeBSD
  drivers, and imported them into our repository.
* They don't compile yet -- looks like our FreeBSD compatibility layer needs
  some further improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29445 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29445
2009-03-08 16:46:12 +00:00
Alexandre Deckner
3fd2ea61ce * Update ref count later in _AddReplicant and add one check to be sure we checked all possible errors.
* Moved new statics to the cpp file as it seems we don't usually expose such internals in our public headers


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29443 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29443
2009-03-08 16:08:03 +00:00
Ingo Weinhold
4e5971527e Completed file cache support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29442 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29442
2009-03-08 15:56:07 +00:00
Oliver Ruiz Dorantes
224d5dc603 - Fixed jamfile and added second version of the icons by Raynald Lesieur
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29441 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29441
2009-03-08 15:15:05 +00:00
Jérôme Duval
81201a4349 * switch to PCI register IO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29440 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29440
2009-03-08 14:29:45 +00:00
Alexandre Deckner
37a89eb4e9 * Use ref counting to determine when to unload a replicants add_on image, fixes #2712.
* Don't delete fStream if we don't own it, would crash ShelfTest on quit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29439 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29439
2009-03-08 14:18:06 +00:00
Jérôme Duval
2c9d779293 * pthread.h should include sched.h (bug #3516)
* semaphore.h should include fcntl.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29438 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29438
2009-03-08 13:56:15 +00:00
Jérôme Duval
6b14439ceb * Apply patch from monni for bug #3453: add https support to wget
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29437 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29437
2009-03-08 13:42:03 +00:00
Stephan Aßmus
5994d47ab4 Since there are problems with VMWare, ioctl()ing at fixed intervals seems like
the better idea after all. The snoozing won't add an additional delay, if the
polling was already slow. Have not tested in VMWare myself, as I don't have a
working installation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29436 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29436
2009-03-08 01:01:06 +00:00
Ingo Weinhold
6880c19362 We do now store a VNode object per node in a hash table. This allowed us to get
rid of the vnode count hash map and the mount vnode maps. Furthermore it will
allows us to easily associate a file cache with each node.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29435 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29435
2009-03-08 00:50:51 +00:00
Stephan Aßmus
50d9f08911 Fixed include <-> copyright spacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29434 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29434
2009-03-08 00:10:53 +00:00
Ingo Weinhold
0f41393732 Removed left-over.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29433 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29433
2009-03-07 22:28:49 +00:00
Ingo Weinhold
f94ca8783a Don't auto-delete FileSystemInitializer objects when unreferenced. They live
in a map and we remove and delete them explicitly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29432 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29432
2009-03-07 22:28:10 +00:00
Ingo Weinhold
0f90efc3bf Detach the AutoLocker before deleting the locked object.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29431 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29431
2009-03-07 22:26:53 +00:00
Stephan Aßmus
4edbdca09e * Fixed header include order in MouseView.
* Updated copyright section.
* Fixed border mis-alignment of buttons and group view.
* Fixed #3528 by checking the current clipping region which tells us if
  windows overlap. Don't display the popup menu then.
* Removed some superfluous calls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29430 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29430
2009-03-07 22:18:50 +00:00
Ingo Weinhold
484708d5d6 Removed the OpenHashTable implementation the UserlandFS used. Adjusted the
HashMap and HashSet classes to use the kernel utils OpenHashTable instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29429 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29429
2009-03-07 21:21:10 +00:00
Ingo Weinhold
2d4fb82c0f Added TableSize(), CountElements(), and Clear() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29428 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29428
2009-03-07 21:19:15 +00:00