Commit Graph

41945 Commits

Author SHA1 Message Date
Alexander von Gluck IV
4eabb6487d radeon_hd: DisplayPort encoder fixes.
* Handle external encoder case properly when
  pulling encoder mode.
* Return DisplayPort encoder if DisplayPort
  connector.
* Handle DVO properly when pulling encoder mode
2012-03-16 21:52:17 -05:00
Alexander von Gluck IV
e58807ed85 networkstatus: Scale icon to large and small sizes
* This gives us a nice status icon to use for
  notification messages.
2012-03-16 04:07:42 +00:00
Alexander von Gluck IV
4f3b7115be gl: Unify DirectConnected functions
* Partial undo of hrev43864 - 3dmov
  I was using an old GL renderer. After my indirect
  GL fix, this started working well without direct
  rendering. (sorry for the spam)
* Clean up the other GL DirectConnected functions
  Make it easy for know what to disable to toggle
  Direct Rendering.
2012-03-16 03:39:31 +00:00
Alexander von Gluck IV
b2bcacdef6 3dmov: Convert to current DirectConnected api
* Not sure when this older method went away,
  but nothing uses it anymore.
* You now see a book when you launch 3dmov
* Still crashy
2012-03-16 01:31:38 +00:00
Alexander von Gluck IV
66765679d4 3dmov: Add GL header dependency 2012-03-16 01:29:25 +00:00
Alexander von Gluck IV
491ab3bcbe radeon_hd: Repair external encoder dpms call
* I was right that this didn't look right.
* Now we set up the internal encoder, then
  the external one if valid.
* Make sure we optionally set up external
  encoder if desired on UNIPHY
2012-03-15 19:31:37 -05:00
Alexander von Gluck IV
f2d6b9af3a radeon_hd: Sanitize connector_is_dp function
* there is no guarentee the data in encoderExternal
  is valid if we don't check valid == true
2012-03-15 19:14:43 -05:00
John Scipione
fd1d8a6031 Make private helper function static in fs_darwin.cpp in order to not pollute
the public namespace.
2012-03-15 16:39:39 -04:00
Jérôme Duval
5d043aeb0f listusb: also display vendor and device strings in non verbose mode. 2012-03-15 21:34:28 +01:00
Jérôme Duval
46ebe27f98 matroska mime: detect with four first bytes. 2012-03-15 21:34:27 +01:00
Alexander von Gluck IV
6728eddfa4 radeon_hd: Fix bugs in external DP bridge code
* non-external encoder will never be a DP bridge.
* use external encoder in places where needed.
* ensure we look at proper encoder for isDPBridge.
2012-03-15 09:38:48 -05:00
Alexander von Gluck IV
72f6869e9e radeon_hd: Add support for external encoders
* Some encoders are bridges (DVO) and some encoders
  can act like bridges (UNIPHY). Probe for encoders
  further out in the display path and set them up
  properly.
* Debug output support for external encoders
* Fix cases where we should use external encoder
  information vs main encoder info.
2012-03-15 14:47:13 -05:00
Alexander von Gluck IV
ced3b516ea radeon_hd: Remove isHDMI, isTV. Unused. 2012-03-15 14:47:13 -05:00
John Scipione
84bfb380c3 Update the behavior of uninitialized and NULL BMimeType objects.
* Two uninitialized BMimeType objects are considered to be equal,
  this is a purposeful break from BeOS R5.

* An uninitialized BMimeType object is considered to be equal to a
  BMimeType object initialized to NULL. This is a purposeful break from
  BeOS R5.

* Update the doxygen documentation comments to reflect this change which
  will hopefully make there way into the Haiku Book at some point.

* In BMimeType::SetTo() replace an instance of strcpy() with strlcpy()
  CID #something probably.

* Store the result of a few more strlen() function in size_t instead of
  int to prevent overflow bugs.

* Make sure BMimeType::GetSupertype() returns either B_OK or B_BAD_VALUE.

* Undo my previous "optimization" in IsValid() to declare ch outside the
  for loop.
2012-03-15 14:44:00 -04:00
Alexander von Gluck IV
6da8db2786 Revert "radeon_hd: Convert encoders to pointers"
This reverts commit 5a1f9f0f16.

* Thinking on this a bit more, this is really a silly change as
  I know the upper limit for number of valid encoders.
* Resolves a app_server crash introduced as well due to not
  allocating encoder pointer.
2012-03-15 09:07:23 -05:00
John Scipione
4b4e216449 Fix another overflow bug in BMimeType
* The static toLower() method had the same overflow bug that isValid()
  had. However, since it is a private static method, rather than fix the
  method I replaced with a call to strcasecmp() in the operator== overload.
  When this method was written strcasecmp() must not have been available.

* Declare ch outside of the the loop in IsValid() so that it only gets
  initialized once.
2012-03-14 20:10:14 -04:00
John Scipione
395167071d * Fix a bug where a string longer than INT_MAX can cause IsValid() to falsely
report a valid mimetype because strlen() returns a result than when stored
  in an int is treated as a negative number.

* Style fixes in the same method
2012-03-14 18:56:54 -04:00
Jérôme Duval
08de244f9c bzip2: switched to optional package and drop in-tree sources. 2012-03-14 22:51:35 +01:00
Alexander von Gluck IV
5a1f9f0f16 radeon_hd: Convert encoders to pointers
* Preparation for multiple encoders per connector
2012-03-14 07:24:59 -05:00
Alexander von Gluck IV
6848bdd539 radeon_hd: Reduce complexity in connector setup
* Map connector under consideration to pointer
  in connector probing.
2012-03-14 06:54:41 -05:00
Alexander von Gluck IV
83e3a8ea50 radeon_hd: Start work on proper DP link training
* The AtomBIOS timeout fix has made my DP bridge
  stop working
* The current DisplayPort code is a little lacking
  on DP link training... I think thats the cause.
* This puts the first steps towards DP training
  in place.
* I plan on trying to make some of this DP stuff
  common accelerant stuff after it works.
2012-03-14 06:22:59 -05:00
Alexander von Gluck IV
6f7c0aadbe radeon_hd: Whitespace cleanup, no functional change 2012-03-14 06:20:16 -05:00
Alexander von Gluck IV
48b430fe0b radeon_hd: Add missing AtomBIOS tables 2012-03-14 06:20:15 -05:00
Alexander von Gluck IV
119cd5e1c1 radeon_hd: Add missing load detection on DIG encoders 2012-03-14 06:20:15 -05:00
Alexander von Gluck IV
32ef94aa91 radeon_hd: AtomBIOS loop failure detection now time based
* If the same call is made for 5 seconds straight, fail.
* Resolves random AtomBIOS failures.
* AtomBIOS failures now represent *real* bugs :)
2012-03-14 06:20:14 -05:00
Niels Sascha Reedijk
a9c45d3774 Update translations from Pootle 2012-03-14 17:20:28 +01:00
Jérôme Duval
538a2ec29c ffmpeg: added dependency on libvpx.
* added libvpx-1.0.0 optional package.
* updated ffmpeg optional package to depend on libvpx.
2012-03-14 01:56:15 +01:00
Alexander von Gluck IV
89e7764d98 radeon_hd: Tune AtomBIOS failure threshold
* Fixes edge cases of AtomBIOS parser failing
  before there really was a problem.
* Hopefully resolves the rest of the random
  failures and #5722
* If this doesn't work, I'll rewrite the parser
  to use jiffies (snooze)
* Thanks for all the testing Disreali!
2012-03-12 21:43:38 -05:00
Alexander von Gluck IV
f1b3e74461 3dmov: Add missing GL headers 2012-03-12 19:49:19 -05:00
Alexander von Gluck IV
5874758653 Merge branch 'mesasplit' 2012-03-12 16:44:49 -05:00
Alexander von Gluck IV
d36a2809d1 swrast: Remove old Mesa ifdef's 2012-03-12 16:41:49 -05:00
Alexander von Gluck IV
0b15050616 swrasts: Clean up build system
* Make two independent rast add-ons to avoid
  file name collisions
* Clean up some gcc2 vs gcc4 jamfile defines
2012-03-12 15:41:09 -05:00
Jérôme Duval
991c18ad36 ffmpeg: added libs packages as dependencies.
* updated ffmpeg to enable previously enabled decoders/encoders
  based on libogg, libspeex, libtheora, libvorbis.
* removed sources for these libs.
2012-03-12 21:25:39 +01:00
Alexander von Gluck IV
2502c69c60 swrast_legacy: Remove new Mesa ifdef's 2012-03-12 15:13:53 -05:00
Alexander von Gluck IV
9526f0a881 swrasts: Fix indirect rendering regression
* Introduced in hrev43755
* Missed the fact this fb width and height was
  still used.
* Haiku3d, and flurry work once again
2012-03-12 14:43:43 -05:00
Alexander von Gluck IV
db1fd85b59 swrast: Split swrast driver in two (mainline and legacy)
* Mainline will be gcc4, current Mesa.
* Legacy is the "stable" 7.8.2 swrast engine.
2012-03-12 09:46:47 -05:00
Adrien Destugues - PulkoMandy
efc757f9c9 Some ground work for TRIM command support for SSDs.
However, this was enough to show that mine doesn't support it, so I'm not investigating further.
2012-03-11 12:08:26 +01:00
Matt Madia
1d368d9b78 Updated CARootCertificates package. 2012-03-10 21:20:45 +00:00
Niels Sascha Reedijk
3f5711334d Weekly update of translations from Pootle 2012-03-10 16:31:40 +01:00
Jerome Leveque
57d2f931e0 ice1712: patch for initializing codec on delta1010. 2012-03-10 15:26:01 +01:00
Jerome Duval
5a58211db2 dvb.media_addon: only for x86 builds.
* only for x86 builds until we have a FFmpeg PPC package or headers only package.
2012-03-10 11:26:34 +01:00
Jerome Duval
dc18d9e793 ffmpeg: fixed headers dependency on libavcodec for gfx_*.cpp. 2012-03-09 22:54:51 +01:00
John Scipione
b6a1a815a1 Use a stack variable of MAXPATHLEN size to hold the full path to avoid having to manually malloc and free the variable. 2012-03-09 16:38:44 -05:00
Alexander von Gluck IV
8fb9e2dbb8 jam: Add clang binary optional package
* Created from haikuporter ticket #313
* Tested as functional under gcc4h
2012-03-09 15:07:46 -06:00
Axel Dörfler
87d5beae86 Made the duplicate_array endian safe. Cleanup.
* Renamed the sorted_array to duplicate_array (which was only a typedef
  before), and moved it into the BPlusTree.cpp file, as its specific to
  that one.
* Utilities.cpp is no longer needed.
* Introduced endian safe getters/setters so that little endian BFS volumes
  should now work fine on a big endian architecture.
2012-03-09 21:18:35 +01:00
Axel Dörfler
6307c1ebb1 Minor whitespace cleanup. 2012-03-09 21:18:34 +01:00
John Scipione
d7f3dac1eb Style fixes suggested by Axeld.
Added Ingo to the copyright
Updated copyright year to 2012 for my contribution.
2012-03-09 14:39:24 -05:00
John Scipione
9b4aba87f4 Merge in from master 2012-03-09 14:20:04 -05:00
John Scipione
3836fb6d2d Fix flag checking in fs_darwin.cpp
Somehow this commit got left out in my earlier push.
2012-03-09 00:01:01 -05:00
John Scipione
81b45e484a Fix build on Mac OS X 10.6 gcc2 and gcc4 and 10.7 gcc4 by adding some Mac OS X specific files that implement missing *at() functions.
Mac OS X 10.7 generates a gcc2 cross-compiler that fails when assigning NULL to a static method pointer so is still broken.
Added a weak attribute in driver_settings.cpp.
Move futimesat() from fs.cpp to fs_darwin.cpp since it is implimented on FreeBSD.
Implemented eaccess(), for the AT_EACCESS flag of faccessat()
Fix configure script to correctly detect case-sensitive file system
2012-03-08 23:28:49 -05:00