Commit Graph
42991 Commits
Author SHA1 Message Date
Jessica Hamilton 040dc2eebc ByteOrder.h: remove use of __builtin_bswap16.
* Fixes the build for host compilers older than gcc-4.8
2014-05-30 08:45:57 +12:00
Puck Meerburg d0592a1164 Fix Coverity bug 605892: Resource leak
Signed-off-by: Jessica Hamilton <[email protected]>
2014-05-30 08:45:56 +12:00
Michał Siejak 679ad262e9 haiku_loader now ignores unusable drives reported by BIOS.
This fixes the problem with find_unique_check_sums() taking a very long
time to complete when one or more drives report read errors.

Fixes #10880.

[Paweł: minor style issue]
Signed-off-by: Paweł Dziepak <[email protected]>
2014-05-29 22:32:15 +02:00
Jessica Hamilton 44ec21c3ff ByteOrder.h: simplify compiler test
* A problem with our gcc requires adding casts for gcc4 when
  the __builtin_bswap functions are used with a format string
* Unlike gcc2, the __builtin_bswap functions do not get disabled
  despite using -fno-builtins, hence added compiler check in
  runtime_loader/utility.cpp
2014-05-30 00:15:38 +12:00
Michał Siejak 221ea8a17e Updated FreeBSD rtl81xx network driver with the 10.0 release.
Should fix #10412.

Signed-off-by: Pawel Dziepak <[email protected]>
2014-05-29 13:45:16 +02:00
Stephan Aßmus c3a07a5aed PackageInstaller: Added -v/--verbose option
It enables just a few printf()s in PackageItem.cpp.
I went with a quick solution using a global variable
instead of using/writing some nice logging framework which
could even generate install logs... but it helps in tracking
down some package problems without first having to uncomment
some printf()s...
2014-05-28 23:04:41 +02:00
Stephan Aßmus ecf119cc17 PackageInstaller: Fix Paladin installation
... and perhaps more packages build for pre-PM Haiku.
 * Restore the original path rewriting of "/boot/system"
   alongside rewriting "/boot/beos/system".
 * Rewrite "/boot/apps" in install scripts. This one fits
   the existing TODO that the rewriting should not use
   hard-coded replacement paths.
 * Fixes ticket #10875
2014-05-28 22:40:59 +02:00
John Scipione 8ad6baf789 BButton style fixes for docs.
No functional change intended.
2014-05-28 14:21:06 -04:00
John Scipione b29d84a85a BRadioButton style fixes for docs. 2014-05-28 14:10:35 -04:00
John Scipione 7ad8e674de BCheckBox: Style fixes, variable renaming for consistency, docs.
Also some other style fixes, no functional changes intended.
2014-05-28 14:06:32 -04:00
John Scipione 092e3093c3 BControl: Style fixes, variable renaming for consistency, docs.
Also some other style fixes, no functional changes intended.
2014-05-28 14:05:22 -04:00
John Scipione f4870e1cf4 BView: Rename parameters for consistency, docs.
No functional change.
2014-05-28 12:11:57 -04:00
Alexander von Gluck IV 99f83552ca radeon_hd: Fix comment typo, no functional change 2014-05-26 22:35:36 -05:00
Alexander von Gluck IV e938ebdae0 radeon_hd: Rework PLL picking code
* Rewrote to be more efficient and more accurate.
* Fix a DP bug where we didn't choose the correct
  external PLL.
2014-05-26 22:26:24 -05:00
Adrien Destugues 36764b4001 AlphaMask: add missing error check.
It's possible to allocate the bitmap object, then fail allocating the
bits. The WebKit testsuite is a way to trigger this, and it crashed
app_server.
2014-05-26 17:28:51 +02:00
Adrien Destugues a4a2abe0d9 Test case for pixel alignment on transforms.
Transforming an aligned rectangle shifts it up and left by 0.5 pixels.
2014-05-26 10:06:42 +02:00
Adrien Destugues 549314746b BookmarkBar: style fixes and some error checking.
Thanks to axel for reviewing.
2014-05-26 09:13:46 +02:00
Axel Dörfler 6ed2992fb6 scheduling_recorder: fixed spelling. 2014-05-26 01:10:31 +02:00
Alexander von Gluck IV 4bb543e517 radeon_hd: Add in a bunch of missing Trinity/Richland ID's
* Add market name to a bunch of Kabini, Mullins cards
  after some creative web searches
2014-05-25 12:03:35 -05:00
Alexander von Gluck IV e321d716e4 radeon_hd: Add latest generation radeon_hd cards
* These aren't tested, but since we go off of DCE
  versions for a lot of stuff, they may work.
* AMD doens't include market names in their drivers
  anymore, so if we want to label them it will take
  additional work.
2014-05-25 09:03:03 -05:00
Alexander von Gluck IV 75dcf02ac8 radeon_hd: Add PCIID for Radeon HD 3430
* Should resolve #10791
2014-05-24 21:54:54 -05:00
Alexander von Gluck IV 38ec158d2a radeon_hd: Cleanup atombios parser types
* pptable.h now 100% stock
* atombios.h now 99% stock
* Resolves issues with radeon_hd on x86_64 by
  making atombios structs match OS typedefs
* Resolves #10614
2014-05-24 21:05:03 -05:00
Alexander von Gluck IV bc73719d2f radeon_hd: Add some additional APU's, should resolve #10606 2014-05-24 16:49:03 -05:00
Alexander von Gluck IV a8307efa46 radeon_hd: Improve pll probing. Let probe calls enable ss 2014-05-24 16:49:03 -05:00
Oliver Tappe 6b6ff33d60 Fix zlib-dependency in libnetapi.
* Fix copy-'n'paste bug that resulted in the zlib.h dependency being
  added to no source file at all.
2014-05-24 20:26:41 +02:00
Oliver Tappe 06ed405803 Fix zlib-dependencies of (boot & standard) packagefs.
* Some files that depend on zlib.h weren't declared as such, which
  could cause multijob builds to fail.
2014-05-24 20:26:41 +02:00
Jessica Hamilton bfb8caf10f Fix the build. Introduced in hrev47248. 2014-05-24 13:25:51 +12:00
Stephan Aßmus d30a0a6eae app_sever: Fix more mixups of transformed clipping bounds 2014-05-23 21:03:33 +02:00
Stephan Aßmus 81507fa496 app_server: Fix transformed DrawString()...
...when the transformation moves the text into the view bounds. The
rect returned from Painter::BoundingBox() is already transformed, as
should be expected.
2014-05-23 20:52:14 +02:00
Stephan Aßmus ae4fa7ce39 Transformation test: Refactored duplicated code. 2014-05-23 20:44:51 +02:00
Stephan Aßmus bfb2fd4153 HaikuDepot: Cleanup JSON string builder. 2014-05-23 20:29:43 +02:00
Adrien Destugues 5e36a367d7 Convert strdup.c to C++. 2014-05-23 18:30:26 +02:00
Adrien Destugues 5710ad967d Move overflowing items from bookmark bar to a menu.
Since the bookmark bar can now be resized smaller than the space needed
for the items, move items that don't fit in it to a menu, which is
always the last item in the BMenuBar.
2014-05-23 17:54:30 +02:00
Adrien Destugues 6f79af3c55 Web+: move BookmarbKar to own file.
It's a bit long for an inline class, and I'm going to add more stuff to
it.
2014-05-23 15:38:10 +02:00
Adrien Destugues b6c34f4c44 Add a transform test for DrawString with offsets
* The text is not drawn at all when some transforms are used.
2014-05-23 15:07:19 +02:00
Axel Dörfler 59750213e7 usb: fixed potential crash.
* The active interface may be null. This actually happens with a Lasmex
  USB speaker in case it is turned on.
2014-05-22 18:34:23 +02:00
Axel Dörfler 1152f83ddc usb: coding style cleanup.
* Removed a few superfluous comments, too.
2014-05-22 18:33:26 +02:00
Axel Dörfler ee6a0b91b2 FAT: minor style cleanup. 2014-05-22 16:12:37 +02:00
Axel Dörfler 257739f2d4 FAT: improved last fix.
* Don't use filename at all, since it's not clear if puni has already
  been set at this point.
* Also, fixed warning *vnid is ino_t, not a pointer.
2014-05-22 16:09:34 +02:00
Axel Dörfler e2e54a381b FAT: Fixed some dirent pointer access issues.
* Fixed #9806 which Ingo had analyzed perfectly, but then forgot to
  fix it.
* Fixed CID 603015.
2014-05-22 15:58:37 +02:00
Jessica Hamilton 549fcbf51a Don't delete session objects...
... disc->GetSession() doesn't allocate a new object, so delete
will cause problems later on.
2014-05-22 19:38:55 +12:00
Jessica Hamilton d1c05d9b22 Revert "Partitioning system: avoid leakage of resource"
This reverts commit f6bd30f2af.
2014-05-22 19:35:48 +12:00
Jessica Hamilton 2e454dffc2 Revert "Fix coding style violation"
This reverts commit 00e081a1ec.
2014-05-22 19:35:36 +12:00
John Scipione b955a4ca6b BPolygon: Style fixes for documentation. 2014-05-21 16:12:47 -04:00
Stephan Aßmus 82d885a82b app_server: Fix another problem with transformed bitmaps...
... the view rect was clipped to the view bounds in
_DrawBitmapGeneric32(), which is incorrect when affine
transformations are used.
2014-05-21 21:26:38 +02:00
Stephan Aßmus b944cf31b1 app_server: Fix drawing transformed BBitmaps...
...when the untransformed view rect is partially outside
the view bounds. Untested.
2014-05-21 20:35:56 +02:00
Adrien Destugues 569bd922a6 Add a test that shows bitmap being wrongly clipped.
* The bitmap should cover the same area as the rectangle, but it
doesn't.
2014-05-21 17:02:13 +02:00
Alexander von Gluck IV 2aaeccd9ec autoraise: Toggle not toogle; no functional change 2014-05-20 18:36:31 -05:00
Fredrik Holmqvist 5c62e15f76 Fix bitrot, parent unused error and acpi_object_type union change. 2014-05-20 22:19:43 +02:00
John Scipione 1867d69c8b BPoint: Replace max_c() and min_c() with std::max() and std::min() 2014-05-20 15:48:04 -04:00