Commit Graph

35527 Commits

Author SHA1 Message Date
Rene Gollent
0537120f12 Fix broken BaseTranslator code that was 100% guaranteed to crash any app making use of Translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 21:37:29 +00:00
Rene Gollent
526e86ac79 Fix translator builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 20:52:30 +00:00
Adrien Destugues
87f030bc81 Patch by Jorma Karvonnen : localize BaseTranslator. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 19:20:08 +00:00
Ingo Weinhold
bb486a7223 cache_end_transaction(): Allow the hook parameter to be NULL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 15:09:46 +00:00
Ingo Weinhold
b944766870 * Moved the vm_page initialization from vm_page.cpp:vm_page_init() to the new
vm_page::Init().
* Made vm_page::wired_count private and added accessor methods.
* Added VMCache::fWiredPagesCount (the number of wired pages the cache
  contains) and accessor methods.
* Made more use of vm_page::IsMapped().
* vm_copy_on_write_area(): Added vm_page_reservation* parameter that can be
  used to request a special handling for wired pages. If given the wired pages
  are replaced by copies and the original pages are moved to the upper cache.
* vm_copy_area():
  - We don't need to do any wired ranges handling, if the source area is a
    B_SHARED_AREA, since we don't touch the area's mappings in this case.
  - We no longer wait for wired ranges of the concerned areas to disappear.
    Instead we use the new vm_copy_on_write_area() feature and just let it
    copy the wired pages. This fixes #6288, an issue introduced with the use
    of user mutexes in libroot: When executing multiple concurrent fork()s all
    but the first one would wait on the fork mutex, which (being a user mutex)
    would wire a page that the vm_copy_area() of the first fork() would wait
    for.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 15:08:13 +00:00
Ingo Weinhold
61728e1e09 Use MovePage() instead of RemovePage() + InsertPage().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 14:39:15 +00:00
Adrien Destugues
6c5a134228 Patch by Jorma Karvonnen : localize filepanel application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 13:23:18 +00:00
Adrien Destugues
34de781cef Add "Bépo" French keymap (French Dvorak layout), contributed by
Guillaume 
Sarradin at the 
RMLL. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 12:56:15 +00:00
Matt Madia
2d6072229e Updates for the Catalog API change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:13:26 +00:00
Matt Madia
8d37fd1227 Updates for the Catalog API change. (hoping this was done correctly!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:08:26 +00:00
Matt Madia
874e983f9d Updated Transmission to v2.01
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:05:41 +00:00
Matt Madia
aac2f1f73a Fixes build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 08:36:42 +00:00
Matt Madia
db22cdca2f Automatic whitespace cleanup. No functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 08:36:16 +00:00
Stefano Ceccherini
1e8e2989d6 Use -WError also for libdevice and libtranslation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 04:53:07 +00:00
Stefano Ceccherini
7bbe3922f8 Enable WError for midi, midi2 and print kits (tested with both gcc2 and gcc4)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:55:30 +00:00
Stefano Ceccherini
acbbf2c0bb Remove unused define
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:54:35 +00:00
Stefano Ceccherini
51b3623ee6 Fix warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:54:18 +00:00
Stefano Ceccherini
9b74142851 Move assigments a bit earlier, so they aren't done at every loop.
Thanks to Sean Bailey for watching after me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:53:58 +00:00
Stefano Ceccherini
c445fa21e6 missing return
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:53:49 +00:00
Stefano Ceccherini
bbbcf3d61b regex.c is already in libroot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:23:09 +00:00
Stefano Ceccherini
821a9b0306 Renamed attachAborted to addAborted
Use fAttachAborted in AttachedToWindow().



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:13:34 +00:00
Stephan Aßmus
a9ab7e7f24 Patch by Kaliber: Supported device list was missing terminator. Fixes ticket
#6286. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 15:52:35 +00:00
Rene Gollent
852b01198c Fix missing space.
Fix file being in CR/LF format.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 13:57:46 +00:00
Rene Gollent
05754f2fdc Update WebPositive to r529 to bring it inline with recent layout kit changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 12:27:54 +00:00
Scott McCreary
4035ddb3df Updated autoconf to version 2.66.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 01:47:01 +00:00
Philippe Houdoin
b37fa18bdb Fixed Size() and BytesRemaining() semantics, which was broken.
Revert r33437, which was missing the root cause.
Spotted by Christophe Huriaux, thanks. 
And welcome in contributors list!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 00:24:18 +00:00
Matt Madia
f5fcf28e9b Set mime-type to text/html
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 18:18:05 +00:00
Joachim Seemer
ad5e743e2b Update to user guide and welcome page. Introducing Portuguese and Chinese. Thanks to all translators\!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 18:03:41 +00:00
Axel Dörfler
268317bd9d * Style cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 16:04:41 +00:00
Adrien Destugues
27d84b482c Patch by Alex Wilson as part of GSoC 2010 : Archiving of Layouted BViews hierarchy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 15:40:49 +00:00
Ingo Weinhold
fbb6335d2a Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 15:04:38 +00:00
Ingo Weinhold
e5150e2847 Patch by Alex Wilson (compilation fixes by myself): Extended the archiving/
unarchiving protocol to support archival of arbitrary object graphs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 14:54:25 +00:00
Adrien Destugues
8fbd792dd8 Add small test file for checkstyle (and its vim equivalent). Feel free
to complete it if you find other misses or false positives.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 13:11:53 +00:00
Adrien Destugues
630acb8436 Remove useless debug output. Thanks Jerome for pointing it out!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 13:08:24 +00:00
Adrien Destugues
30a49962db Style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 11:05:31 +00:00
Adrien Destugues
51145d87bd Support for setting 12/24Hr mode in locale preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 09:14:09 +00:00
Axel Dörfler
4b0427bddc * Since the native rtl8169 is problematic on many chipsets (including mine),
I've removed it for now, until someone finds the time to look into it.
* Therefore, enabled all supported devices for the rtl81xx driver.
* Made the rtl81xx driver actually work by adding the missing PHYs - it doesn't
  use the same PHYs as the rtl8139 driver. Imported the rgephy.c|h from FreeBSD
  8 (not yet in vendor branch, but unchanged).
* It seems to work reliably with Gigabit now, albeit a bit slow, and with too
  high CPU load.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 07:04:44 +00:00
Axel Dörfler
816d81b51b * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 06:52:16 +00:00
DarkWyrm
34c53b14a2 No longer set the SHELL variable. This fixes problems with starting gdb and other apps in a new Terminal window
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-07 23:48:46 +00:00
Adrien Destugues
f419136130 Deskbar now uses a BMessage for storing its settings, instead of the old
raw file. Sorry, but You'll have to reconfigure your deskar to 
accomodate this!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-07 19:37:41 +00:00
Adrien Destugues
7215b9e2ed * Avoid falling back to VL Gothic if the font with a missing glyph is VL Gothic itself.
* Some cleanup and style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-07 18:25:19 +00:00
Stephan Aßmus
0f66fdc1b3 Patch by kaliber. Fixes mismatched types for the PCI domain attribute! Closes
#6269, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-07 15:37:23 +00:00
Ingo Weinhold
f75e014cb8 Patch by Lucian Adrian Grijincu: Added support for loading kernel modules
with only a single readable/writable/executable text+data segment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-06 21:47:08 +00:00
Adrien Destugues
2548c4c974 Minimal font overlay :
* FontCacheEntry will not use the "empty" glyph from fonts anymore, so squares are not drawn anymore
 * GlyphLayoutEngine will try the VL Gothic font, if the requested font doesn't have any glyph fo the requested character. The 
caching for the fallback is suboptimal, and the font choice quite limited, but this allows at least japanese text to display 
properly on haiku out of the box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-06 20:52:10 +00:00
Ingo Weinhold
4d7859f031 elf_resolve_symbol(): If a weak undefined symbol could not be resolved,
return 0 as its address.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-06 15:41:33 +00:00
Ingo Weinhold
59c754571e Fixed warnings with TRACE_VM_PAGE enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-06 14:31:34 +00:00
Matt Madia
508f54795f Patch by Karvjorm : updates DiskUsage to XHTML Transistional. Fixes #6204.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-06 02:17:43 +00:00
Ithamar R. Adema
c4c6cedde6 * Work around a problem with a USB device (in my case, Qualcomm Gobi 3G modem) that reports interface_number values that are out of range with the interface_count. This would make the usb stack in Haiku crash.
Will need a different fix to get device to work, but at least Haiku won't crash on bootup with this change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 20:51:59 +00:00
Rene Gollent
5d7dcef8cd .c -> .cpp
Fix various warnings in badblocks, and fix broken build due to missing includes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 20:06:37 +00:00
Ingo Weinhold
74956f4385 * Added the beginnings of node support.
* Added the bare minimum of file system hooks to mount the file system. Can't
  do anything more than listing the (empty) root directory yet, though.
* Added Jamfile for building the file system for the userlandfs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 16:53:06 +00:00