Commit Graph

28825 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2009-03-07 21:19:15 +00:00
Rene Gollent
b83405163c Update Pe package to fix some missing libs. Thanks to Matt Madia for the patch.
This closes ticket #3527.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 18:42:31 +00:00
Oliver Ruiz Dorantes
33ab9e95db Add icon for Bluetooth server by Raynald Lesieur
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 17:52:29 +00:00
Oliver Ruiz Dorantes
2cc4b883c7 Make application signature match
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 17:43:18 +00:00
Oliver Ruiz Dorantes
341f47a529 Add icon for bluetooth preferences by Raynald Lesieur
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 17:39:41 +00:00
Stephan Aßmus
77b23b704d Removed left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 11:52:47 +00:00
Stephan Aßmus
46f2d7feec * Basically, the audio buffer size was simply too small and caused
audio playback with frequent glitches. I am testing with HDA and have
  perfect audio now. The only remaining problem is the drop-sample
  resampling in the system mixer, which gives a somewhat metallic sound.
* Removed hardcoded values from preferred format and used them if
  the consumer supplies wildcard values. Since the system mixer supplies
  wildcards for all those values, this change does not have any effect
  for now. The code is more correct, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 11:39:48 +00:00
Stephan Aßmus
0bd93b7def * Use a default buffer frame count that is adapted to the sample rate
of the audio group. This is supposed to keep the latency about the same
  regardless of sample rate and lessen the requirements on the system
  performance when using higher sample rates. Currently the multi-audio
  addon uses the highest available rate.
* Added TODO about the highest sample rate seemingly being forgotten in one
  place.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 10:23:52 +00:00
François Revol
db90fa7022 Patch by mmadia: Update optional packages:
- Pe - 2.4.1 built in Haiku gcc2
- BeZillaBrowser -- built in Haiku gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 02:21:45 +00:00
Rene Gollent
ccefc7ac9e Clear the node list when switching directories. Otherwise navigating out of a directory and back in single window mode will show no nodes whatsoever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 01:50:26 +00:00
Rene Gollent
59160ac740 Fix gcc4 build. GCC 3 and up moved some of the SGI extension classes into a different namespace.
Fixes ticket #3524.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 00:48:00 +00:00
Rene Gollent
f528e1ad7a Fix two more problems in the messaging service:
1) When searching the area for a place to allocate the next command, the case of the first command being the same as the last command (as is the case after adding the first message) was not correctly considered. This prevented a given area from ever containing more than one command.
2) The size of a command was incorrectly word-aligned. Rather than aligning to 32-bit boundaries, the size was truncated to between 1-3 bytes, leading to command corruption once multiple messages were in the area, eventually causing registrar to crash while retrieving the messages.

Combined these two changes result in us no longer constantly allocating/destroying areas during heavy node monitor activity.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-06 22:57:36 +00:00
Jérôme Duval
70e72d56e7 * activate usb in vmware description file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-06 22:12:08 +00:00
Jérôme Duval
8b6785bddf update to tzdata2009b
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-06 20:36:44 +00:00