Commit Graph

33974 Commits

Author SHA1 Message Date
Axel Dörfler
1c164de7d2 * Quick&dirty fix of a race condition that caused an endless loop in
object_cache_alloc(): the ObjectCache::total_objects count was increased in
  ObjectCache::InitSlab(), but the slab was really only added at a later point
  between the cache could be unlocked.
* If a second object_cache_reserve_internal() managed to be called while the
  lock was unlocked, it would see that there has to be space available, and
  will then return -- however, since the other thread could not yet place the
  slab into the cache, object_cache_alloc() cannot find it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 16:35:17 +00:00
Axel Dörfler
2056103694 * Added the standard names for the TCP states as comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 16:21:44 +00:00
Ingo Weinhold
be8c0b2480 Added missing include dependency on generated header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 15:19:20 +00:00
Ingo Weinhold
c0d54ea244 Enabled serial output earlier.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:48:31 +00:00
Ingo Weinhold
dfa77fa65b Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:47:32 +00:00
Ingo Weinhold
84328c264b Extended assert output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:45:02 +00:00
Stephan Aßmus
0c4323bde0 From: Matt Madia
* Fixes check for hybrid builds in installoptionalpackage script.
 * Adds WifiFirmwareScriptData to the packages to ignore.

Closes #5493.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:11:22 +00:00
Stephan Aßmus
b6c650ce68 From: Matt Madia
Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:05:27 +00:00
Scott McCreary
d3c67d244e Updated tar to 1.22
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 06:22:37 +00:00
Scott McCreary
494d8078c1 Updated neon to 0.29.3 and subversion to 1.6.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 03:24:18 +00:00
Colin Günther
2eb71b4eaa Indent the comments to line up with the _AddPackageCredit() method. Should have
been part of r35691, where I applied a patch by mmadia taken from ticket #5457
(which was previously closed by bonefish), with some modifications by me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 01:10:24 +00:00
Colin Günther
6f144451ab Adding copyright information of WiFi firmwares to AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 01:03:53 +00:00
Jonas Sundström
b06785e8d2 Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 00:48:47 +00:00
Colin Günther
87a93eb887 * Adding all remaining wifi drivers.
* List them in alphabetical order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 00:43:13 +00:00
Rene Gollent
fa5956d5f3 Removed obsolete TODO: BMessage is smart enough to already use area transfers if needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:59:28 +00:00
Ingo Weinhold
b7fd1cf61c Patch by Matt Madia:
* Added iprowifi4965 driver to the image.
* Add the firmware for the Wifi drivers that need it to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:57:28 +00:00
Ingo Weinhold
e82b595ac6 * TRACE(()) -> TRACE()
* Fixed warnings with tracing enabled.
* Improved some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:45:00 +00:00
Ingo Weinhold
af0572ead2 Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:30:23 +00:00
Jonas Sundström
b79f164739 Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:28:45 +00:00
Rene Gollent
a3cd51c725 Cleanup: BMessage::_Reference never hits the case of having to transfer the area since _SendMessage already takes care of this (and transfer_area doesn't allow it to take an area from another team anyways so this code never could have worked).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:28:27 +00:00
Rene Gollent
4f85bc9f18 Cleanup of previous work: whether or not we're talking to app_server is already determined at time of port assignment. As such we don't need to cache or care about that, but rather just cache the target team instead of looking it up from the port info every time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:25:23 +00:00
Rene Gollent
099f9551c7 Cache the app_server port lazily so we don't have to look it up every time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 22:55:43 +00:00
Oliver Tappe
2ee4113182 closing #5499:
* updated optional package ICU-devel to include links to make the libs available
  for development (only links for the current abi are being created)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 22:06:57 +00:00
Rene Gollent
57dc77bb15 ServerLink tried to use the transfer_area semantics backwards ; this failed since only the owner of an area can transfer ownership elsewhere. As a result, sending messages which contained large enough amounts of data would fail entirely. This was most readily visible in Tracker, where some files (i.e. text/plain files where Tracker would attach the text content to the BMessage for DnD clipping purposes) would be undraggable due to the drag initiation message never getting successfully processed by app_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 21:58:29 +00:00
Jonas Sundström
fb9a9911a8 Small clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 21:50:34 +00:00
Jonas Sundström
ddf1c15bec Small style clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 21:05:50 +00:00
Michael Lotz
0a54a1a530 Fix missing stdint include, missing open mode flags and libsupc++ linking.
Thanks to luroh and mmadia for testing!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 20:49:08 +00:00
Michael Lotz
596ba08220 Well, it was a 50-50 chance to hit the portable write function... Should fix
the anyboot build tool build on non-Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 20:19:44 +00:00
Adrien Destugues
b8e81e7440 Some italian catlaogs were missing... Sorry !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 19:59:48 +00:00
Adrien Destugues
1333b1488d Japanese translation for print preflet, from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 19:57:34 +00:00
Adrien Destugues
8abef4d8e7 Apparently hta messed up some pt_br jamfiles... fixing them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 19:42:47 +00:00
Adrien Destugues
fde0a20bc0 sync italian transaltion from hta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:58:10 +00:00
Michael Lotz
100e91926c Adding buildsystem support for the "anyboot" images. They can be built using
the haiku-anyboot-image pseudo target. As I'm not too much at home with Jam I'd
appreciate any input. Especially for the TODO where removing the MBR using
RmTemps seems to cause a failure to get it built again every other time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:54:16 +00:00
Michael Lotz
bfa5a8db18 Adding an "anyboot" buildtool that takes a chainloading MBR, a ISO CD boot image
and a Haiku image and fuses everything to a hybrid MBR/ISO image. Since it
contains a valid MBR, partition table and el-torito CD boot record such an image
should be pretty universally bootable. It can be written to disks, USB sticks or
CDs/DVDs. Since it has a partition table in place it is also possible that it
helps with the non-booting USB sticks where the BIOS (wrongly) assumes a
partition table.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:51:16 +00:00
Adrien Destugues
36e9797f23 Sync esperanto translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:35:04 +00:00
Adrien Destugues
c97677f94c Add brazilian portuguese translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:23:44 +00:00
Michael Lotz
e4c0070fe6 Added a bit of logic to possibly fall back to a fixed 512 block MBR in case
certain conditions indicate that we might deal with a fixed 512 bytes MBR on
a non 512 byte block size medium. One condition is that at least one partition
had to be shrunk to fit the available size (which usually happens with larger
block sizes). We retry with a fixed 512 block size once and compare the result
if it didn't improve the situation it is reverted again. This is mostly a
preparation for the upcoming "anyboot" hybrid MBR/ISO images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:10:29 +00:00
Adrien Destugues
174308d9b1 Update portuguese translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:08:28 +00:00
Stefano Ceccherini
283926fe70 small cleanup. Also increased LAPIC timer priority from 2 to 3 (nothing changes yet anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 17:20:50 +00:00
Stefano Ceccherini
ae6721ad6e Small cleanups, undef TRACE_HPET. Still at priority 0.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 17:18:43 +00:00
Stefano Ceccherini
5b15d1ec1e small cleanup: move variables declaration near where they're used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 17:17:42 +00:00
Stefano Ceccherini
734d41fbf6 Move variables declaration from start of function to where they are used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 17:16:29 +00:00
Ingo Weinhold
2340fc36f1 Fixed build with tracing turned on and improve/added debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 16:42:22 +00:00
Ingo Weinhold
fc5c7fdd81 dump_info(): We can't use use cpu_get_active_time() in the kernel debugger as
it tries to acquire the thread spinlock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 15:39:44 +00:00
Adrien Destugues
f0da038e3d Patch by mt : localize stylededit. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 12:35:49 +00:00
Adrien Destugues
560cbfc0f3 Update some portuguese translations
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    data/catalogs/preferences/opengl/pt.catkeys
M    data/catalogs/preferences/keymap/pt.catkeys
M    data/catalogs/preferences/mouse/pt.catkeys
M    data/catalogs/preferences/fonts/pt.catkeys
M    data/catalogs/preferences/network/pt.catkeys
M    data/catalogs/preferences/appearance/pt.catkeys
M    data/catalogs/preferences/locale/pt.catkeys
M    data/catalogs/preferences/keyboard/pt.catkeys
M    data/catalogs/preferences/bluetooth/pt.catkeys
M    data/catalogs/preferences/touchpad/pt.catkeys
M    data/catalogs/preferences/cpufrequency/pt.catkeys
M    data/catalogs/apps/mail/pt.catkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 11:20:29 +00:00
Michael Lotz
17d87ddf36 * Finish the partition scanning part so that UDF is recognized and mountable.
* Added myself to the copyrights.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 08:50:01 +00:00
Michael Lotz
7cadc8aff2 * Cleanup the Jamfile, this one doesn't work on BeOS anymore.
* Turn off remaining verbose debug output.
* Add UDF to the default image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 08:03:41 +00:00
Michael Lotz
af15ee68f1 * Implement udf_io and udf_get_file_map.
* Add file map and cache and do reads through the file_cache for file ICBs.
* Move the private _Read() backend from the header to the implementation file.
* Read() is now only used for directory iteration.
* Turned off the verbose debug output.
* Minor cleanup.

This fixes the abuse of the block_cache, should allow executables on UDF and
won't panic on protected content.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 07:50:28 +00:00
Michael Lotz
4f3f1911cd The whole reading was seriously confused. It tried to use the block cache for
multiple blocks at a time which it doesn't do as it always only returns one
block (and actually completely ignores the provided offset and length).
It only didn't crash after that because it would in the end always only memcpy
length >> block shift bytes which ends up being pretty small in most cases.
Since it does block wise mapping it can't do multiple blocks anyway, and really
using the block cache for this is all wrong because this should really use a
file map to resolve the block mapping and then use the file cache instead.
Still this at least gets it working. Beware though that protected DVD content
will make the block cache panic, as reading these blocks without prior setting
the drive up correctly will fail (the drive will stall the reads).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 05:35:31 +00:00