28089 Commits

Author SHA1 Message Date
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
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
hrev29427
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
hrev29426
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
hrev29425
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
hrev29424
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
hrev29423
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
hrev29422
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
hrev29421
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
hrev29420
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
hrev29419
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
hrev29418
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
hrev29417
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
hrev29416
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
hrev29415
2009-03-06 20:36:44 +00:00
Rene Gollent
38f4625170 Rework this again due to flaws in the previous optimization - due to its use for things like sorting the visible pose list, it would rely on whatever pose column was being used for sorting, and as such would generate false positives when the view was being ordered by certain attributes. We now use an std::hash_set to track all the nodes that have been added to the current view and use that for a duplicate check instead. Also slightly boost the max number of models per chunk that we read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29414 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29414
2009-03-06 13:42:33 +00:00
Stephan Aßmus
7d1d70339a Limit the number for ioctl()s per second to about 125 for mouse transfers. This
fixes the high CPU usage when using USB mice. I experimented with transfers
scheduled at fixed intervals, and with using a fixed pause between transfers.
The fixed pauses, though much less sophisticated, give the smoothest drawing
in WonderBrush. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29413 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29413
2009-03-06 11:11:58 +00:00
Rene Gollent
58336b68a9 Add a TODO note.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29412 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29412
2009-03-06 05:49:56 +00:00
Rene Gollent
75d1cb286f The loop that looks for the next area to add a message to has a somewhat fatal flaw: it checks for a non-zero area size (which is always set to the physical size of the area rather than the number of message commands stored within it). As a consequence, areas would never get cleaned up once allocated, which lead the kernel to steadily bleed memory if any reasonable level of node monitoring activity was going on. We now check whether or not the area's command count is non-zero instead, and use that as the criteria for selection. Fixes ticket #3518.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29411 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29411
2009-03-06 05:45:32 +00:00
Ingo Weinhold
aa085ffef9 * Removed UserlandFS shared Locker class. Instead use BLocker in userland and
RecursiveLock in the kernel.
* Several adjustments according to UserlandFS header changes.
* Re-added reiserfs to image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29410 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29410
2009-03-05 23:27:35 +00:00
Ingo Weinhold
2b0eb640d4 Inline class with BLocker interface wrapping a recursive_lock. Could probably
moved to headers/private/kernel/util.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29409 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29409
2009-03-05 23:23:01 +00:00
Ingo Weinhold
8dcef9a6ad * Made ASSERT definition conditional to avoid clashes.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29408 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29408
2009-03-05 23:17:18 +00:00
Ingo Weinhold
a7edf1f7c0 Moved RECURSIVE_LOCK_HOLDER() macro to the header and fixed it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29407 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29407
2009-03-05 23:15:15 +00:00
Ingo Weinhold
c964442c9b Removed temporarily from the image until I've unbroken the build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29406 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29406
2009-03-05 22:44:12 +00:00
Ingo Weinhold
9a8f8b7b13 Enabled -Werror for userlandfs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29405 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29405
2009-03-05 22:06:02 +00:00
Ingo Weinhold
c0509ccc29 Removed several shared userlandfs classes that exist as Haiku shared or kernel
util classes as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29404 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29404
2009-03-05 22:02:59 +00:00
Oliver Ruiz Dorantes
5bf53b09c2 - Use static MessageRunners,
- Banlance the process of retrieving the remote names, which is blocks the Window Looper, as get remote name is an expensive operation.
Now it waits half second between each operation which gives a better feeling(without using extra thread, that will come when there is an standard barberpole)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29403 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29403
2009-03-05 21:36:17 +00:00
Ingo Weinhold
97b7c9a091 Handle file cache related requests in the kernel. The actual calls to the
file cache are missing yet -- requires some refactoring in Volume.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29402 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29402
2009-03-05 21:10:43 +00:00
Ingo Weinhold
0dcccb4986 Implemented the client side of the file cache operations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29401 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29401
2009-03-05 00:43:06 +00:00
Joachim Seemer
b8dbc0a275 Forgot one instance of 'Firefox'. Also, being Mozilla, I guess we can dispense with our own documentation for it. Unless there are interesting Haiku-only features. We'll see.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29400 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29400
2009-03-04 21:01:52 +00:00
Jérôme Duval
ca5c5de225 * Apply patch provided by Monni for bug #3514
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29399 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29399
2009-03-04 21:00:39 +00:00
Joachim Seemer
bff14db1e8 * Added DiskProbe
* Changed cursor keys to their respective arrow symbol
* As mmadia reminded me: since we cannot use Mozilla's Trademarks I renamed
  everythig firefoxy to BeZillaBrowser.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29398 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29398
2009-03-04 17:29:50 +00:00
Stephan Aßmus
9801209684 For the filter indices and wheight calculation, never calculate more
pixels than can possibly be visible. Clients may pass very large
view rects to layout a zoomed in bitmap. This doesn't only speed things
up, but also avoids a stack overflow in the app_server, as reported in #3166.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29397 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29397
2009-03-04 13:46:56 +00:00
Stephan Aßmus
6acf774d2d Patch by JiSheng Zhang:
* Combine the many small areas created by the Firewire bus manager
  into one larger one. Needs further testing. Supposed to fix #1519.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29396 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29396
2009-03-04 12:41:05 +00:00
Rene Gollent
847af0079c Second attempt at PoseView population optimizations: We still search for the pose in our list, but now rely on a binary search to do it instead, rather than the previous linear search. This considerably boosts population speed for large folders here, while still preserving correct behavior.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29395 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29395
2009-03-04 03:54:29 +00:00
Ingo Weinhold
497681ca81 Added requests for file cache operations. Not used yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29394 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29394
2009-03-04 01:27:32 +00:00
Ingo Weinhold
02f7a2f4cb Implemented vfs_get_file_map() and vfs_lookup_vnode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29393 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29393
2009-03-04 00:53:57 +00:00
Ingo Weinhold
c74777f3d3 Finished node management.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29392 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29392
2009-03-04 00:44:13 +00:00
Ingo Weinhold
0234794770 Implemented acquire_vnode() forwarding.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29391 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29391
2009-03-04 00:01:27 +00:00
Ingo Weinhold
fac733d2f6 Removed the remnants of the dispatcher mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29390 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29390
2009-03-03 23:42:20 +00:00
Axel Dörfler
608990b488 * Haiku's VM does not need the swap file to be as large as physical memory
at minimum to be able to work with it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29389 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29389
2009-03-03 21:48:59 +00:00
Oliver Ruiz Dorantes
bced01f71f - Use SetSelectionMessage to enable/disable the possibility to add to general list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29388 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29388
2009-03-03 19:02:26 +00:00
Axel Dörfler
b82ed10b05 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29387 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29387
2009-03-03 14:13:23 +00:00
Axel Dörfler
26153d0f67 * The net_domain's lock is now a recursive lock.
* Fixed all route locking problems, of which there were numerous
  ({add|remove}_route(), and list_routes() did not lock at all). Added
  lock assertions in functions that don't do the locking themselves.
* A route will now be removed from the list in remove_route(), not in
  put_route_internal(). Before, a route could easily be removed twice, causing
  remove_route() to release references it did not own. This fixes bug #2706.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29386 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29386
2009-03-03 14:04:57 +00:00
Alexandre Deckner
f11e13ffa2 * Fix build of ShelfTest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29385 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29385
2009-03-03 12:36:41 +00:00
Axel Dörfler
b11680b741 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29384 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29384
2009-03-03 10:39:55 +00:00
Stephan Aßmus
61252f516c * Fixed the build and ticket #3515 (multi-line string).
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29383 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29383
2009-03-03 08:53:47 +00:00
Oliver Ruiz Dorantes
11d36ea03d - Add bluetooth kernel addons to build
- keep alphabetic order in network protocols



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29382 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29382
2009-03-02 21:24:37 +00:00
Rudolf Cornelissen
6042b7b665 added 'block_acc' option in nvidia.settings to completely disable the acceleration engine. This lets my G72 run (not crash) for the first time when enabled. Note: Haiku becomes very slow in drawing in 32bit mode when the driver is running this way compared to vesa mode. I am assuming this is because of (too) fine-grained calling of the engine management functions. Never saw this effect AFAIK in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29381 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29381
2009-03-02 19:55:03 +00:00
Jérôme Duval
54ec265881 * fixed gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29380 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29380
2009-03-02 19:33:13 +00:00
Oliver Ruiz Dorantes
61c28fd543 Add new bluetooth components to the bluetooth optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29379 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev29379
2009-03-02 18:24:24 +00:00