Commit Graph

41359 Commits

Author SHA1 Message Date
Alexander von Gluck IV
c8677fb138 Working towards DP connector support
* Lots of new DisplayPort functions
* Call DP link training during mode set
* Rename dp_info variables to be less redundant
* Make encoder_pick_dig accept connector ID and
  then check parent display
* Encode/Decode DP link speed functions
* Calculate DP lanes
* Rewrite encoder_dig_setup
* Correct bitsPerChannel to bitsPerColor
* My TRAVIS DisplayPort -> LVDS bridge now works
2011-12-14 17:46:45 -06:00
Sergei Reznikov
86ecd6fba9 Fix casing. I'm sorry for the noise.
Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2011-12-14 21:20:37 +01:00
Sergei Reznikov
81d084fe14 Localize title of Save Image dialog.
Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2011-12-14 20:33:27 +01:00
Alexander von Gluck IV
f2c3cbf779 Begin work powering up the DisplayPort connector
* Add new struct to store DP connector information
* DisplayPort Configuration Data is populated by setup function
2011-12-14 12:03:55 -06:00
Alexander von Gluck IV
18500e1cd6 GPIO info struct style cleanup, (hopefully) no functional change 2011-12-14 11:09:41 -06:00
Alexander von Gluck IV
249495e284 Add complete set of DRM DisplayPort defines into radeon_hd
* I'd rather this be common code, but I don't have access
  to the DisplayPort specifications. If I added it as common
  code I would want to be 100% it was complete and variables
  were named properly.
* For now putting in radeon_hd private headers
2011-12-14 10:19:00 -06:00
Humdinger
cda904359e Updated French catkeys from HTA. 2011-12-14 15:40:39 +01:00
Rene Gollent
aeb2d34b0e Fix comment. 2011-12-13 22:54:00 -05:00
Rene Gollent
c3946ba021 Properly handle recursive case for Step Over.
When stepping over, check to ensure that we're in the same call
frame that we started in. If not, reinstate the temporary breakpoint
and continue running.
2011-12-13 22:50:16 -05:00
Alexander von Gluck IV
96587f1356 Introduce new displayport source file
* Move existing displayport functions to new source file
* Move was done due to large amount of DP code
* Style fixes
* Stub out new DP link training function
2011-12-13 17:52:11 -06:00
Alexander von Gluck IV
927cbddcfd Improve range of dpms commands
* Things in drm are a bit tangled, but it looks as though
  the backlight controls only need to be called on <= DCE 4
* Add analog dac video device support
2011-12-13 17:52:10 -06:00
Rene Gollent
b57be6adc9 Fix accidentally introduced whitespace from previous commit. 2011-12-13 16:07:23 -05:00
Rene Gollent
6b5a76158f Add TODO note. 2011-12-13 15:52:05 -05:00
Alexander von Gluck IV
e4a8cf983d Begin to utilize encoder link enumeration
* Check link enumeration for linkb during encoder dig picking
* Show encoder link enumeration in connector debug output
2011-12-13 14:14:54 -06:00
Alexander von Gluck IV
c26d7a43ad Record encoder link enumeration 2011-12-13 13:17:52 -06:00
Alexander von Gluck IV
6b120e4c65 First steps to DIG encoder support
* add function to pick the DIG encoder to use
* uncomment DIG encoder setting code
2011-12-13 13:03:41 -06:00
Alexander von Gluck IV
80f3c7fcf9 Adjust debug output for connectors to save vertical log space 2011-12-13 12:30:16 -06:00
Alexander von Gluck IV
83cd861648 Improve debugging
* Provide more information on connectors
* Provide more information on detected attributes
* Remove some no longer needed debug output
* Provide connector ID on display debug output
2011-12-13 11:39:31 -06:00
Rene Gollent
adaf4b3db1 Implement parsing of DW_AT_calling_convention.
Will be used later in order to determine if a given call obeys the
standard calling convention, in order to determine if we can safely
attempt to retrieve its return value.
2011-12-12 22:16:17 -05:00
John Scipione
0e35d5d2e5 Change instances of wether in comments to whether. No functional change intended. 2011-12-12 14:41:49 -05:00
Alexander von Gluck IV
157046ce4b Fix spelling mistake in user doc 2011-12-12 13:47:05 -06:00
Oliver Tappe
5de93d5b1f Adjust libroot to invoke internal (__...) mbs-functions. 2011-12-12 17:27:44 +01:00
Oliver Tappe
8703b5fdf5 Fix gcc4-build and handling of src-pointer upon error.
* the reference to MB_CUR_MAX requires stdlib.h
* if an conversion error occurs, the returned src pointer must point to
  the character that triggered the error
2011-12-12 17:27:44 +01:00
Oliver Tappe
70dda8d85a Fix POSIX-specific mbsrtowcs() and wcsrtombs().
* src was sometimes accessed incorrectly (needs double dereference)
* the source pointers may only be adjusted in case there is the
  destination pointer is not NULL
2011-12-12 17:27:43 +01:00
Oliver Tappe
8057318361 Added tests, exposing problems in wcsrtombs() and mbsrtowcs(). 2011-12-12 17:27:43 +01:00
Oliver Tappe
0ad71bca30 Simplify wcrtomb() wrapper.
* since the backend now supports it, we can safely pass NULL as s
  to the backend
2011-12-12 17:27:43 +01:00
Oliver Tappe
47e0423a09 Drop public symbols for mbsnrtowcs() and wcsnrtombs().
We only implement POSIX_VERSION 199009, so these needn't be exported.
2011-12-12 17:27:43 +01:00
Oliver Tappe
0cf89c88d3 Activate our own wcs*tombs()-functions.
* add our own version of these functions to the build
* drop the glibc implementations of those functions
2011-12-12 17:27:42 +01:00
Oliver Tappe
995d6d827f Implement our own version of wcsrtombs().
* add WcharStringToMultibyte() to libroot's locale backend
* implement wcstombs(), wcsrtombs() and wcsnrtombs() on top of that
  new backend function
2011-12-12 17:27:42 +01:00
Oliver Tappe
5dd04ce5da Add tests for missing mbs/wcs-functions.
* add gnulib test for wcsrtombs()
* add gnulib tests for mbsnrtowcs() and wcsnrtombs(), both inactive
  as the respective functions are not publically available (they are
  part of the [CX] extended ISO-C standard which we do not yet support)
2011-12-12 17:27:42 +01:00
Oliver Tappe
b8b6531011 Add implementation for mbstowcs().
* implement mbstowcs() on top of mbsrtowcs()
* drop glibc's version of mbstowcs()
2011-12-12 17:27:42 +01:00
Oliver Tappe
758e5e7dcd Drop a couple of mbsrtowcs() tests that can't work on Haiku.
* Our mbstate_t just references a corresponding ICU converter, but
  does not actually contain its state. So a mere copying of the mbstate
  won't duplicate the converter's intrinsic state, which means that
  restarting with the copied state won't work.
  If have experimented with cloning the converter into the mbstate_t,
  but I was unable to get that to work, either. Apparently, the state
  of the converter isn't cloned (but just the converter's settings
  and data).
2011-12-12 17:27:41 +01:00
Oliver Tappe
73186b2fcd Add implementation of mbsrtowcs() to our locale backend.
* add MultibyteStringToWchar() to ICU locale backend
* implement mbsrtowcs() and mbsnrtowcs() on top of 
  MultibyteStringToWchar()
* drop respective glibc files
2011-12-12 17:27:41 +01:00
Oliver Tappe
d0e7bc307c Reset ICU-converter in case of error. 2011-12-12 17:27:41 +01:00
Oliver Tappe
cfe553b378 Squash TODO: __STDC_ISO_10646__ is being defined now. 2011-12-12 17:27:41 +01:00
Oliver Tappe
cf13327bef Whitespace cleanup. 2011-12-12 17:27:40 +01:00
Oliver Tappe
0983c476d9 Add gnulib-test-mbsrtowcs.c in order to test mbsrtowcs()
* the test exposes problems in our current (glibc's) implementation
  of mbsrtowcs()
2011-12-12 17:27:40 +01:00
Michael Lotz
eb5e1c09e3 Fix the build, sorry for the noise. 2011-12-12 15:20:48 +01:00
Rene Gollent
f67acc2c72 Use architecture to determine correct frame pointer comparison. 2011-12-12 08:41:45 -05:00
Rene Gollent
4b64cd3de3 Add architecture function for retrieving the stack growth direction.
Also add corresponding implementation for x86.
2011-12-12 08:40:49 -05:00
Rene Gollent
673c1e4d07 Fix step out for recursive functions.
When asked to step out, we now store the frame pointer of the current
stack frame. Upon hitting our temporary breakpoint, we then verify that
the current frame pointer is in fact in the previous frame. If not, we
reinstate the breakpoint and continue running.
2011-12-11 22:32:42 -05:00
Rene Gollent
12b1aa817a Expose the stack pointer and frame pointer via CPUState. 2011-12-11 22:32:40 -05:00
Michael Lotz
7bdc07318d Fix use after free in error case. CID 10545. 2011-12-12 03:37:58 +01:00
Michael Lotz
85819ae108 Remove extra free() that lead to a double free. CID 10546. 2011-12-12 03:34:56 +01:00
Michael Lotz
c11c724e25 Remove needless atomic_add() accessing freed memory. CID 10551. 2011-12-12 03:15:39 +01:00
Rene Gollent
ebc0d47cc6 Add Debugger to Development package. 2011-12-11 20:59:43 -05:00
Michael Lotz
a15a38c104 Fix use after free. CID 10567. 2011-12-12 01:58:50 +01:00
Rene Gollent
cfb5f18de4 Correct signature mismatch that prevented this symbol from winding up
in the library properly. Fixes DEBUG build.
2011-12-11 19:33:27 -05:00
Rene Gollent
1394478206 This file had CR/LF line endings for some reason. 2011-12-11 19:31:17 -05:00
Michael Lotz
fe10dd20bf Fix indirect use of fState after deleting it.
Calling SetIcon(NULL) calls MakeEmpty() that tries to delete all
manipulators on fState. So we may only delete fState after that call.

Also reported as CID 10856.
2011-12-12 00:26:40 +01:00