Commit Graph

33904 Commits

Author SHA1 Message Date
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
Alexandre Deckner
cd4e946773 * Add a serial_input command to the kernel debugger, allows using serial input even when on-screen kdebug is enabled. Usefull for remote debugging. Please review/adjust.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 00:50:01 +00:00
Scott McCreary
a4b571a031 Updated m4 to 1.4.14
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 00:47:27 +00:00
Michael Lotz
a282be40e4 Re-lock the cache directly after the read. Otherwise the error case would
remove the block from an unlocked cache and the cache->lock would be unlocked
twice when the calling function unlocked. It panics in that case anyway, but
this should make it continuable and is more correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 00:02:31 +00:00
Michael Lotz
8d3a8691d4 * UDF didn't actually initializing _flags to 0 (same as with fat).
* Set the _type as well, this gets file listings work.
* Some cleanup and debug output moves/fixes/additions.

Yet crashes when accessing files though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 23:19:13 +00:00
Ingo Weinhold
4891bed4d2 * large_memory_physical_page_ops_init(): Don't assign the return value before
it is fully initialized.
* arch_vm_translation_map_is_kernel_page_accessible(): Check whether
  sPhysicalPageMapper has already been initialized.

If a panic() during or before the initialization of the physical page mapper
occurred, we no longer access a partially initialized object or a NULL pointer.
This should fix the triple fault part of #1925.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 21:20:29 +00:00
Ingo Weinhold
dcd2d7c4a7 Added entry cache support. Not that much to do for a read-only FS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 21:03:40 +00:00
Ingo Weinhold
7d9bce2483 debug_resolve_vnode_path(): Avoid duplicate slash at the beginning of the
path.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 20:29:11 +00:00
Ingo Weinhold
56a3f5184c Make use of the entry cache.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 20:27:52 +00:00
Michael Pfeiffer
d90d29facd Fixed some style violations (max 80 chars per line).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 20:09:19 +00:00
Michael Pfeiffer
80dd024309 Localized print_server.
Added German translation. Again feel free to improve it.
Updated copyright year in About dialog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 19:40:39 +00:00
Oliver Tappe
72a85c3147 * <build>libicu-i18n.so has no use for libbe_build, it just depends on libroot_build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 19:34:48 +00:00
Ingo Weinhold
443f705666 From: Matt Madia
Added optional package WifiFirmwareScriptData, which is for people who build
their own images & have wifi hardware that requires install-wifi-firmwares.sh
and have no active network connection.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 18:42:54 +00:00
Ingo Weinhold
fc5e13e931 Enforced 80 columns limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 18:23:52 +00:00
Ingo Weinhold
c7b1040cde From: Matt Madia
* Added "extractedSubDir" parameter to ExtractArchiveTo{Container,HaikuImage}.
  If given it specified the path of the subdirectory in the archive that
  shall be extracted.
* Added AddWifiFirmwareToHaikuImage rule for extracting Wifi firmware
  archives onto the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 18:15:47 +00:00
Ingo Weinhold
05bbc668af From: Matt Madia
* InstallOptionalHaikuImagePackage: Made the first argument an actual file
  name, i.e. the extension ".zip" is no longer appended by it.
* Renamed rules UnzipArchiveTo{Container,HaikuImage} to
  ExtractArchiveTo{Container,HaikuImage} and generalized them to support
  tgz/tar.gz archives (implemented in build_haiku_{image,cd}).
* Removed DownloadOptionalPackage. DownloadFile is used instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 17:48:12 +00:00
Michael Pfeiffer
5a5fcf2f69 Added David Dengg to About dialog for his boot loader.
Updated copyright year.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:54:40 +00:00
Michael Pfeiffer
e5ca057aaa Reduced indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:32:46 +00:00
Michael Pfeiffer
8c468cb466 Localized Printers preferences application.
Added German translation. Feel free to improve it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:24:26 +00:00
Adrien Destugues
84df7867f8 Patch by stargater : localize pairs. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:13:18 +00:00
Stephan Aßmus
e8e5e0caa0 Strings in BMessages don't necessarily have to be \0 terminated. Use the already
known length to print the stream so printf() doesn't potentially crash when
trying a strlen() on the string. Fixes for example printing B_KEY_DOWN messages,
where such strings are used, in certain conditions.

Review welcome, printf() formatting is not one of my strengths. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 09:44:30 +00:00