Commit Graph

42118 Commits

Author SHA1 Message Date
Alexander von Gluck IV
67da9f0716 radeon_hd: Fix oops in hrev43880 2012-03-22 16:18:09 -05:00
Alexander von Gluck IV
d07afea357 radeon_hd: Fix AtomBIOS provided reference divider
* When AtomBIOS provides a reference divider, we should
  still attempt to perform calculations using it vs
  returning.
2012-03-22 13:05:39 -05:00
Alexander von Gluck IV
41cf61d1c9 radeon_hd: Don't call TV encoder control improperly
* TV encoder was dropped on DCE5+
* (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT)
  will improperly match DFP4 (0x2 | 0x8) = 0xA
* Bug reported to linux kernel driver
2012-03-22 11:49:15 -05:00
Alexander von Gluck IV
bc83207890 radeon_hd: Add new VCE encoder defines
* Internal encoder introduced for HD 7xxx
* si_tn [PATCH 02/48]
2012-03-22 08:41:17 -05:00
Jérôme Duval
5b93b4477e ffmpeg: updated gcc2 package and fixed crashes on exit.
* replaced calls to free() with calls to av_free().
* updated gcc2 package to disable SSE and a few options like we had
  before with 0.6.
2012-03-22 01:20:06 +01:00
JackBurton
aae7ed37e0 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-03-21 15:18:58 +01:00
Jérôme Duval
ea702bff5f ffmpeg: updated optional packages removing --disable-mmx option. 2012-03-19 01:13:41 +01:00
Jérôme Duval
f659f955ba Added an optional package DevelopmentPowerPC
* haiku-devlibs-ppc-gcc4 zip archive contains libroot and glue (but no stdc++).
* fixed /boot/develop/lib/$arch symlink to point to the right dir instead of current.
* setgcc now handles the ppc arch and updates the arch link /boot/develop/lib.
2012-03-18 15:36:26 +01:00
Jérôme Duval
026d20288d fs_shell: fix trace build for vfs.cpp 2012-03-18 15:36:25 +01:00
Rene Gollent
e766bb9e26 Fix iso9660 add-on.
hrev43777 introduced a regression that resulted in the symlink flag byte
no longer getting skipped in non-trace builds. Fixes #8369.
2012-03-18 10:05:04 -04:00
John Scipione
12c10314f9 Remove MimeType docs from MimeType.cpp and cleanup style issues in that file. Create a MimeType.dox file and add the docs there. 2012-03-18 00:09:53 -04:00
Jérôme Duval
65bce31ef8 Freetype: FreetypeRules isn't needed anymore.
* fixed copy of freetype headers, now part of the optional package.
2012-03-17 22:52:10 +01:00
Jérôme Duval
0460c54de1 ice1712: fixed debug build and warnings. 2012-03-17 22:47:09 +01:00
Jérôme Duval
64b0784e6c MediaPlayer: VideoConsumer now prints bounds when buffer can't be allocated. 2012-03-17 21:57:57 +01:00
Jérôme Duval
93e180d06b ice1712: added to the image 2012-03-17 20:54:57 +01:00
Jerome Leveque
be111e0787 Ticket #8377: Fix page fault using user_memcpy 2012-03-17 20:54:41 +01:00
Jérôme Duval
362efe0c9f freetype: builds against the 2.4.6 optional package.
* added optional feature package for freetype 2.4.6 gcc4/gcc2 x86 and gcc4 ppc.
* FT_CONFIG_OPTION_SUBPIXEL_RENDERING is disabled, --include-patented-code doesn't
  change this setting anymore. This would require different packages.
* drop freetype sources and headers from the tree.
* fix decorators, test app server and appearance to use feature package headers.
* hybrid build untested.
2012-03-17 20:37:00 +01:00
Niels Sascha Reedijk
11d6871442 Update from Pootle 2012-03-17 17:53:15 +01:00
Alexander von Gluck IV
00cc4e4ff4 radeon_hd: Fix nutmeg check to external encoder 2012-03-16 21:59:08 -05:00
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
JackBurton
131811f6b4 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-03-16 21:06:38 +01: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