Commit Graph

43012 Commits

Author SHA1 Message Date
John Scipione
44cee34013 BRegion: Style updates for documentation.
No functional changes intended.

* Updated copyright information.
* Reduced doxygen documentation down to a helpful summary
  in a regular comment, the documentation has been moved into
  the Haiku Book.
* Some parameter renaming for consistency and clarity.
* A few other style fixes.
2014-06-03 20:26:45 -04:00
Axel Dörfler
c1400fb617 intel_extreme: use VESA EDID info as fallback.
* Only in case retrieving EDID info failed on head A and C.
* Should help with detecting the native resolution for ticket #10878.
2014-06-04 01:02:40 +02:00
Axel Dörfler
5336a8d11e intel_extreme: fixed warnings.
* And also most coding style violations.
2014-06-04 01:02:39 +02:00
Axel Dörfler
0ed0765067 create_display_modes: added missing 1600x900.
* Might help with #10878.
* 1366x768 was at the wrong spot.
2014-06-04 00:23:38 +02:00
Adrien Destugues
0013f47d3f Import tests from http://skew.org/uri/uri%5Ftests.html
This shows there are some problems with BUrl, still.
CppUnit stops at the first failed assert in each test, which doesn't
give a good overview of the number of failures in this case (the first
subtest fails). A possible solution is splitting this into smaller
subsets.
2014-06-03 17:10:29 +02:00
Adrien Destugues
68c13f94fb Convert BUrl tests to the UnitTester framework. 2014-06-03 13:34:35 +02:00
Jessica Hamilton
01fbdbab83 xsi_semaphore: use MemoryDeleter instead of multiple free() 2014-06-03 13:38:04 +12:00
Jérôme Duval
9cd7c6a433 tiff: use the outsourced packages.
* packages for secondary architectures would be welcomed.
2014-06-02 23:45:19 +02:00
Jérôme Duval
da76d8da0c wget: remove 2014-06-02 23:25:12 +02:00
Oliver Tappe
d527dbc8f6 Avoid unwanted output of <build>unzip with DEBUG=1. 2014-06-02 02:00:29 +02:00
Oliver Tappe
1a7bcf6962 Lots of B_PRI... insertions to fix errors with DEBUG=1. 2014-06-02 02:00:28 +02:00
Jérôme Duval
1ee3031a90 wget: use the outsourced packages.
* remove wget Jamfile from the build.
2014-06-02 00:06:31 +02:00
Jérôme Duval
f196b1a662 hda: add snoop quirk for a few other pci ids.
* based on alsa.
2014-06-01 16:21:08 +02:00
Murai Takashi
45e3a5edae hda: Add Baytrail HDA controller
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-06-01 16:21:08 +02:00
John Scipione
532c873311 BRect: Replace max_c() and min_c() with std::max() and std::min() 2014-05-30 19:46:30 -04:00
John Scipione
1f46fc6d52 BRect: Style fixes for documentation 2014-05-30 19:31:10 -04:00
Jérôme Duval
735f58f3e4 xhci: build fix 2014-05-30 16:28:40 +02:00
Jessica Hamilton
fad4fc59f9 Revert "ByteOrder.h: remove use of __builtin_bswap16."
This reverts commit 040dc2eebc.
2014-05-30 20:39:43 +12:00
Paweł Dziepak
b20eb413cd kernel/x86_64: help gcc with devirtualization
This patch gets rid of some indirect calls in the paging code.
2014-05-30 02:11:05 +02:00
Paweł Dziepak
fb010e297f kernel/x86_64: use C++11 atomics in X86PagingMethod64Bit 2014-05-30 00:23:49 +02:00
Paweł Dziepak
91e7f347f9 kernel/x86_64: try to inline physical page mapper functions
The way we handle paging is very wasteful and relies heavily on virtual
funcions even if there is absolutely no reason to do so. The proper
solution would be to do a major rework of paging code (including
arch-independent parts).

On x86_64 physical page mapper is very simple what makes the overhead
resulting from the desing of paging interface very expensive. This
patch attempts to make things a bit better by helping GCC with
devirtualization and allowing inlining physical page mapper impementation
(well, only when it is devirtualized).
2014-05-29 23:41:46 +02:00
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 <jessica.l.hamilton@gmail.com>
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 <pdziepak@quarnos.org>
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 <pdziepak@quarnos.org>
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