Commit Graph

32826 Commits

Author SHA1 Message Date
Axel Dörfler
8247d95f63 * Added some more types that are printed as string in catattr, and listattr.
* catattr no longer pretends B_MIME_STRING to be of type string.
* Added message output for both listattr, and catattr.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 10:18:42 +00:00
Axel Dörfler
a9cf57cff5 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 09:21:28 +00:00
Axel Dörfler
1fd264a18e * Added "TypeMatrix 2030" keyboard layout contributed by Romain - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 08:21:13 +00:00
Colin Günther
abc6c938fd WLAN driver broadcom43xx links now. Needs to be tested as I don't own the
required hardware (many current Macbooks). 
This driver needs a firmware. The retrieval of this firmware requires 
following steps:
 a) Download the linux firmware from http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
 b) Download and compile b43-fwcutter from http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
 c) Use b43-fwcutter to cut the linux firmware in pieces.
 d) Copy those pieces into /system/data/firmware/broadcom43xx/
 e) Prepend them with bwi_v3_ and remove the .fw ending.
 f) You also need to create an empty file called bwi_v3_ucode in this directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 02:34:27 +00:00
Philippe Saint-Pierre
7dbb668dca Switcher : Use the B_OP_COPY draw mode to clear the icon's background
during the animation, rather than B_OP_ALPHA. This avoids a darker 
background than supposed when you cycle through the icons.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 23:49:10 +00:00
Colin Günther
962b2f7296 This function needs to handle the sJumboPageSizeCache, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 22:51:33 +00:00
Axel Dörfler
a288c5a075 * Why have a mutex when you don't use it?
* Ensure that at least a single allocation fits into the buffer spanning over
  the total requested size of the pool. This makes the mixer work again instead
  of crash because of a failed allocation...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 22:23:48 +00:00
David McPaul
1f7d28238c Added support for files with an index header but no index entries
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 22:06:31 +00:00
Oliver Ruiz Dorantes
375ddaad85 - Style, mostly spacing, after passing checkstyle
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 20:58:44 +00:00
Colin Günther
f47e4d7f93 * Adding another mbuf cache for handling MJUMPAGESIZE sized clusters.
* This should fix ticket #5063.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 20:28:51 +00:00
Colin Günther
8aefb67757 Remove unused header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 19:36:33 +00:00
Colin Günther
56c28b450f * Getting rid of the necessity for cleaning up initialized ConditionalVariables
in uninit_condition_variables(). This method and its counterpart
  init_condition_variables() will be removed, once the need for the 
  sConditionVariableHash will be eliminated.
* Now every initialized  ConditionalVariable gets removed right after it is no  
  longer needed. Ingo what do you think?
* This behaviour matches with the FreeBSD way, where a conditional variable
  gets assigned to a sleepqueue only when needed, and is removed from that
  sleepqueue the moment the condition is met.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 18:48:54 +00:00
Rene Gollent
4ae9d7d044 Build fix: missing header needed for memcpy().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 18:08:35 +00:00
Ingo Weinhold
a477e3cf20 Finished renaming of vm_cache to VMCache.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:45:55 +00:00
Ingo Weinhold
a99eb6b56f vm_area -> VMArea
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:40:04 +00:00
Ingo Weinhold
b0db552cd9 Renamed vm_address_space to VMAddressSpace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:27:09 +00:00
Ingo Weinhold
fe01182ce4 Accidentally reverted this change before committing: Invalid cast in C++.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:26:22 +00:00
Axel Dörfler
ebe97b7cee * The ChunkCache is now using the real time memory functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:22:28 +00:00
Axel Dörfler
ccedee2295 * Replaced rtm_* placeholders with a real implementation based on the boot
loader's heap. Unlike the BeBook documents, we always lock their memory,
  though.
* Added Haiku extension rtm_available() that returns how much space is left in
  a pool.
* I've disabled the undocumented functions for now - please open a bug report
  if you encounter them used in applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:21:46 +00:00
Ingo Weinhold
ba829ba0f9 Adjusted gcc2 work-around to renamed file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:07:10 +00:00
Ingo Weinhold
bd185b4117 *.c -> *.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:06:26 +00:00
Axel Dörfler
8de72f9d58 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 16:32:48 +00:00
Axel Dörfler
7cab82a1c9 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 16:20:41 +00:00
Colin Günther
e557314537 iprowifi4965 now links. Still needs to be tested as I don't own the required
hardware myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:46:52 +00:00
Axel Dörfler
625990fbb9 * Fixed the build of the boot loader's heap test.
* Added realloc() test that actually succeeds.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:40:34 +00:00
Axel Dörfler
943bec1287 * Made a class out of free_chunk.
* Fixed realloc() - "size" wasn't what I thought it would be.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:39:55 +00:00
Colin Günther
86a3b75e8a iprowifi3945 now links. Still needs to be tested as I don't own the needed
hardware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:36:27 +00:00
Colin Günther
aa068fb982 * Fixing the panics occured when deleting ConditionVariables while still
holding the InterruptsSpinLocker.
* Have to use B_RELATIVE_TIMEOUT if you want to wait for a specific period.
  This fixes the problem of failing firmware loading in iprowifi2200 due to
  always timing out before the firmware would have had the chance to actually
  load.
* I can surf with iprowifi2200 now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:02:50 +00:00
Axel Dörfler
3c627a2751 * Reimplemented realloc() to reuse the previous buffer if possible and useful.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 14:50:33 +00:00
Axel Dörfler
2920b81793 * Fixed some coding style issues. David, please take a little more care about
this!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 13:04:21 +00:00
Axel Dörfler
c1cb57b1b1 * Coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 12:58:49 +00:00
Axel Dörfler
b834a54550 * Applied patch by lt_henry that enables another bus speed frequency as part
of bug #3796. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 12:48:59 +00:00
Ingo Weinhold
81eee41edf Don't read() the individual program and section headers, but rather read()
the respective tables at once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:55:33 +00:00
Axel Dörfler
5b576468d3 * Removed (incorrect) check in ServerWindow::NotifyMinimize() for
B_NOT_MINIMIZABLE; it should still be possible to hide an application
  programmatically.
* The decorators now honor this flag, though.
* And the Deskbar overrides BWindow::Minimize() to ignore all minimize requests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:47:27 +00:00
Ingo Weinhold
e182b46db6 Since there were no further complaints: Added mutex_lock_with_timeout().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:38:34 +00:00
Ingo Weinhold
f8ec4c04a0 Initialize BRoster's MIME messenger lazily.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:36:23 +00:00
Ingo Weinhold
f39f7a05a2 Add init_once.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:35:25 +00:00
Ingo Weinhold
840be9d6e6 Added __init_once(), an almost exact clone of pthread_once(), with the
difference that the initialization function has an additional void* argument,
so that it is suitable for initializing stuff in objects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 09:34:58 +00:00
Ingo Weinhold
bc0693b219 * Construct the MIME data base directories lazily.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 08:52:13 +00:00
Axel Dörfler
6bb7a8908c * Cleanup, removed author information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 07:58:45 +00:00
Axel Dörfler
ec1bcf6243 * Added private methods get_app_server_port() (that stores the server port,
and doesn't have to find it every time), and create_desktop_connection() that
  is now used from BApplication::_ConnectToServer() as well as the DesktopLink.
* Move PortLink::SetTo() into base class ServerLink.
* Eliminated duplicated member fReplyPort in DesktopLink.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 07:53:09 +00:00
Rene Gollent
bef04468c3 Add missing optional package dependency between Curl and OpenSSL as pointed out by Adrian Panasiuk. Resolves ticket #5059.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 23:43:39 +00:00
Colin Günther
cb89b085e3 * Completing the condition variable subsystem. Thanks to ingo for the heads
up.
* Removed the cv_waiters structure member as it is nowhere used in the network
  subsytem by FreeBSD either.
* Removing the sleepqueue dummy functions completely, as Haiku's condition
  variable subsystem is well suited for this purpose.
* This fixes the build, too, as it introduces the new implementation of pause
  and _pause.
* Implementing the msleep and wakeup functions based on the condition variable
  implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 22:27:02 +00:00
Axel Dörfler
73bade369c * The DesktopLink class creates a new link to the Desktop, and therefore also
uses the AS_GET_DESKTOP command - but I forgot to update this to the new
  version (it also didn't know the target screen stuff yet).
* This probably fixes bug #5042.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 22:07:16 +00:00
Colin Günther
914a9b34b7 Adding adaptive multi rate retry algorithm module to the wlan stack, as it is
needed by some drivers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 21:49:26 +00:00
Colin Günther
4cb0a74c12 Enabling linkage of the iprowifi2100 driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 21:20:34 +00:00
Colin Günther
fcd8a8a031 Enhancing freebsd network compat layer with linkage support of the iprowifi2100
driver in mind.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 21:19:30 +00:00
Ingo Weinhold
ea3a947109 Should have been part of r34388. be_clipboard initialization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 21:12:29 +00:00
Colin Günther
8004aeb40b Making the drivers compile again. So linking still needs to be worked on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 20:03:33 +00:00
Ingo Weinhold
4701b640d9 * Give the BClipboard lock a name.
* be_clipboard is no longer created at libbe initialization time. The
  BApplication creates it as done in BeOS. This requires manual
  initialization in the registrar to avoid a deadlock on shutdown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 17:14:00 +00:00