Commit Graph

35595 Commits

Author SHA1 Message Date
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
Ingo Weinhold e66231742e Added a bit of stuff referenced by inline functions in private kernel
headers. GCC 2 has the unpleasant habit of actually linking the unused inline
functions in. That doesn't suffice to build the userlandfs server with debug
info (it would be the wrong file anyway), but allows to build checksumfs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 16:48:44 +00:00
Ingo Weinhold 7b2003907a * Replace remaining BeOS int types.
* Removed inclusion of <SupportDefs.h>, respectively replaced it with
  <stdint.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 16:11:43 +00:00
Ingo Weinhold 281e8a3d0e Removed the annoying bash_completion script from the image. Fixes #5950.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 15:14:12 +00:00
Adrien Destugues 5c88723e05 Fix a missing space in french translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 13:59:16 +00:00
Adrien Destugues be28dac578 A wrongly escaped regexp in collectcatkeys made it not find any strings to translate. Thanks to mt for noticing!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 13:52:49 +00:00
Adrien Destugues c19a67f957 * Separate the Settings class from the locale preflet a little (it can be reused in other parts of the OS)
* Improve the settings class so it is able to handle a revert
 * Re-enable the revert button in the preflet and make it work.
This fixes #5897.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 13:36:16 +00:00
Adrien Destugues 0cf8c36abb Patch by Alex Wilson, part of GSoC 2010 : fix a "typo" in AbstractLayoutItem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 09:47:48 +00:00
Adrien Destugues cae7fb3aec Fix target-side collectcatkeys to use the new regexp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 07:47:08 +00:00
Rene Gollent 05b7485e36 Moved Wim to the active maintainer list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 22:38:52 +00:00
Rene Gollent 7f68b95ab0 Updated gcc 4.3.3 optional package provided by Jerome Duval to take into account recent ssize_t changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 22:23:19 +00:00
Rene Gollent 7d447b60b4 Add liblocalestub.a in the DevelopmentMin package instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 20:35:57 +00:00
David McPaul 651dcdac93 Same fix needed as mp3_decoder see r37362 and bug #6251
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 13:36:28 +00:00
Rene Gollent 4861ebd530 Publish liblocalestub.a in /system/lib and /boot/develop/lib/x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 13:32:31 +00:00
Jérôme Duval bafdc02b99 forgot an uint16 type for x86_64
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 12:38:45 +00:00
Jérôme Duval 5efd950f28 * followed Ingo's suggestion and used uint*_t types instead of public Haiku types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 12:36:38 +00:00
Jérôme Duval 8386c959c4 Fixes uses of __uint16_t and __uint32_t which we don't define, also fixes the ppc buildtools build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 11:10:28 +00:00
Joachim Seemer 4a31d87dfe Applied patch by Karvjorm to make the HTML xhtml strict compliant. Fixes #6197. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 05:32:10 +00:00
Clemens Zeidler 6df7fdcf03 Fix reading of the irq routing table.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 02:59:31 +00:00
Clemens Zeidler b22ea6300c Disable io apic for now. Fix irq argument for ioapic_configure_io_interrupt.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 02:57:40 +00:00
Rene Gollent 4f153c5b74 Update Web+ to r527. Fixes locale kit compatibility (for now).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 01:34:40 +00:00
Jérôme Duval 818786a83a Define ssize_t in Haiku headers when building with GCC4 (see also #5719). This could imply a conflict with old gcc4 Haiku builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 16:39:29 +00:00
François Revol c31429c581 include sys/cdefs.h to hopefully fix building the cross tools for arm & ppc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 13:45:15 +00:00
Wim van der Meer af56de5bb1 Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 12:45:44 +00:00
Wim van der Meer 568716bed7 Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 10:23:04 +00:00
Stefano Ceccherini 4225e5b785 Use the Bfont object to discriminate between fonts (as in Dano)
and not just size and code. Style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 09:34:59 +00:00
Wim van der Meer 6b176bef5b Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 08:11:37 +00:00
Wim van der Meer a6cd1edfaa Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 07:49:30 +00:00
Wim van der Meer 24874466dc Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 06:29:52 +00:00
David McPaul affec393bc Update to latest libasf (r107)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 06:12:56 +00:00
David McPaul a775c1a432 Correct test. Fixes bug #6251
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 06:11:39 +00:00
Wim van der Meer 164fceb29a * Fix 'missing braces around initializer for 'property_info'' warning
* Style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 04:34:45 +00:00
Ingo Weinhold 05951b9b6a * Added optional paranoid checking of the slab memory manager meta chunks
after each chunk allocation/deallocation.
* The commands that dump chunks also verify, whether chunks that look free
  are in the free list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-02 23:33:55 +00:00