42079 Commits

Author SHA1 Message Date
John Scipione
1a6b60e613 Addresses some of the issues brought up in ticket #8148
The key labels have been changed to Win/Option and Alt/Command
to better associate them with the key names on a PC keyboard. This is
not perfect, but, better.

Added a checkbox entitled "Switch right Alt/Command and Win/Option keys"
This checkbox does what it says, switches the keys on the right side
of your keyboard leaving the left side according to how you set them.
This is needed for some international keymaps.

Whether or not you have switched already is not remembered, you have to
check the box each time you open the dialog. I don't know how to figure
out whether or not the keys have been switched already reliably. Hopefully
this isn't a big deal.

Set the menu option and window title to sentence case, thanks Humdinger.
hrev43888
2012-03-25 16:45:00 -04:00
John Scipione
3109e9c7b5 Silly change. Make Apple Aluminum keyboard layout keys all white resembling the hardware that it comes from. hrev43887 2012-03-25 12:18:29 -04:00
Alexander von Gluck IV
5e87e39562 radeon_hd: Don't pass old pixel clock to encoder
* pll_set can make pixel clock adjustments.
* Anything after pll_set should use encoder pll
  to ensure adjustments are picked up.
hrev43886
2012-03-24 21:08:28 -05:00
Alexander von Gluck IV
d8ac7e28ee radeon_hd: Fix DCE version check
* Trace cleanup
* Minimal change
hrev43885
2012-03-24 20:30:14 -05:00
Niels Sascha Reedijk
2a32bdb29e Update translations from Pootle. hrev43884 2012-03-24 20:44:38 +01:00
JackBurton
73a1e6ebd2 Merge branch 'master' of ssh://git.haiku-os.org/haiku hrev43883 2012-03-23 20:57:36 +01:00
JackBurton
74bf282400 Added correct dependency to freetype. I couldn't build a hybrid image
without this change.
2012-03-23 20:51:20 +01:00
François Revol
aa29a30426 Fix cutting names of views containing spaces. hrev43882 2012-03-23 00:37:29 +01:00
François Revol
34cfa02327 Dump actual mode count in vesa_accelerant_mode_count() debug output. 2012-03-22 23:59:56 +01:00
Alexander von Gluck IV
151b499622 radeon_hd: Add spread spectrum control functions
* Store SS information with PLL
* Probe SS information for PLL
* Disable SS more correctly
* May resolve mode setting issues on newer cards
hrev43881
2012-03-22 17:00:08 -05:00
JackBurton
f367fc9d6a Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-03-22 22:43:06 +01:00
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
hrev43880
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]
hrev43879
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.
hrev43878
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. hrev43877 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.
hrev43876
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.
hrev43875
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. hrev43874 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.
hrev43873
2012-03-17 22:52:10 +01:00
Jérôme Duval
0460c54de1 ice1712: fixed debug build and warnings. hrev43872 2012-03-17 22:47:09 +01:00
Jérôme Duval
64b0784e6c MediaPlayer: VideoConsumer now prints bounds when buffer can't be allocated. hrev43871 2012-03-17 21:57:57 +01:00
Jérôme Duval
93e180d06b ice1712: added to the image hrev43870 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.
hrev43869
2012-03-17 20:37:00 +01:00
Niels Sascha Reedijk
11d6871442 Update from Pootle hrev43868 2012-03-17 17:53:15 +01:00
Alexander von Gluck IV
00cc4e4ff4 radeon_hd: Fix nutmeg check to external encoder hrev43867 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.
hrev43866
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.
hrev43865
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
hrev43864
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
hrev43863
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.
hrev43862
2012-03-15 16:39:39 -04:00
Jérôme Duval
5d043aeb0f listusb: also display vendor and device strings in non verbose mode. hrev43861 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.
hrev43860
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.
hrev43859
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.
hrev43858
2012-03-15 14:44:00 -04:00
Alexander von Gluck IV
6da8db2786 Revert "radeon_hd: Convert encoders to pointers"
This reverts commit 5a1f9f0f16b2a4bef89b61b4e3e24bf0b53917da.

* 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.
hrev43857
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.
hrev43856
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
hrev43855
2012-03-14 18:56:54 -04:00
Jérôme Duval
08de244f9c bzip2: switched to optional package and drop in-tree sources. hrev43854 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
hrev43853
2012-03-14 07:24:59 -05:00