Commit Graph
41416 Commits
Author SHA1 Message Date
Alex Wilson ab214879a0 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-12-15 21:11:29 -07:00
Alex Wilson a84e14ca84 Merge branch 'master' of git://github.com/haiku/haiku 2011-12-15 20:50:28 -07:00
Rene Gollent 26334a8a66 Fix unwinding of partial stack traces.
- Architecture::CreateStackTrace() now uses the last frame's
  PreviousCpuState() as the basis to continue unwinding when passed
  a partial trace to continue from, rather than the (incorrect) actual
  cpu state of that frame, which would have resulted in the last frame
  being duplicated in the trace.

- Renamed variables to be more clear.
2011-12-15 22:43:38 -05:00
Rene Gollent a9bec97e47 Add previous CPU state member and associated accessors.
Used to store the unwound state of the CPU from this frame,
which will form the actual state of the following frame. Needed
in order to properly support continuation of unwinding from a
partial stack trace.
2011-12-15 22:40:32 -05:00
Alexander von Gluck IV 09aaa658b0 DisplayPort call organization and cleanup
* Add color space to BPP function
* Pass display_mode to DP lane count function
* Get BPP in DP lane count
* Move some DPInfo population out of DP link training
  as other things need them sooner.
* Fill out DP code in external encoder setup
2011-12-15 17:18:39 -06:00
Aleksas Pantechovskis 099d5afd11 Second part of 'setmime' implementation is completed
* Support for bitmap and vector icons added;
* Attribute type representation is improved;
* Fixed problem with current attributes loading;
* sniffer rule checking fixed;
* supress useless lines in -dumpIcons and -dumpSniffRules for MIME types
  without icons and sniffer rules correspondently.

Signed-off-by: Siarzhuk Zharski <[email protected]>
2011-12-15 21:51:10 +01:00
Michael Lotz 3de4c1e20b Fix copy&paste error and double launch of Terminal.
Apparently the "Deskbar" part was a copy&paste error. Also there was
an additional launch call making two Terminal windows come up. Should
fix #8243.
2011-12-15 20:04:53 +01:00
Oliver Tappe 8ad8d2e5d2 Activate -Werror for POSIX locale backend and the code using it. 2011-12-15 13:26:45 +01:00
Oliver Tappe 7016aa1a90 Reactivate mbsrtowcs() tests, as those do work, now. 2011-12-15 13:22:20 +01:00
Oliver Tappe ec99f3b2a6 Adjust mbstate_t to embed the state of the ICU converter.
* make room in mbstate_t for containing an ICU-converter's state
  (well, in fact the whole converter object)
* adjust libroot's locale add-on to clone converters into a given
  mbstate_t directly
* adjust ICUThreadLocalStorageValue to contain the converter pointer
  instead of a converter-ID (if the converter is related to an
  mbstate_t, it points into the mbstate_t).
* adjust users of converters to directly use converter pointers
  instead of ICUConverterRef
* drop now unused ICUConverterManager and ICUConverterRef
* update gcc4 optional package

This brings our multibyte implementation into a fully working state,
both non-ascii and non-8-bit characters can now be handled normally
in the Terminal, i.e. this finally fixes #6276.

N.B.: Since the size of mbstate_t has changed, everything (including
the compiler!) needs to be rebuilt.
2011-12-15 13:18:11 +01:00
Oliver Tappe 8726c67f5e Add test for use case found in readline (used by bash).
* making a backup copy of an mbstate_t and then later restoring the
  original should allow to re-use the internal converter state
2011-12-15 13:18:11 +01:00
Oliver Tappe 05260c25c2 Fix build warnings with gcc4. 2011-12-15 13:18:10 +01:00
czeidler ed77847ca4 Remove private BStringList implementation from mail. Tested it but however please be careful an review. This fixes bug #8174. 2011-12-15 19:45:07 +13:00
czeidler 779061f0cd Make BStringList derive from BFlattenable. The implementation is more or less copied from the mail version to stay compatible. Fix IndexOf which
was the implementation of HasString.
2011-12-15 19:45:06 +13:00
John Scipione 5e4d3774eb Change m86k to m68k in configure script. Fixes ticket #8239. 2011-12-15 01:22:04 -05:00
Rene Gollent 118ddee0fd Adjust ThreadHandler's usage of CreateStackTrace().
- Limit invocations of CreateStackTrace() in ThreadHandler to
  only unwind the topmost frame since that's all it actually
  cares about anyways. Also adjust Step Over to use this
  functionality in order to work with the correct frame addresses,
  since the CPU frame pointer register isn't entirely what we want
  here.
2011-12-14 22:30:09 -05:00
Rene Gollent 16875b8c58 Make CreateStackTrace() more flexible.
CreateStackTrace() can now optionally be asked to limit the maximum
number of frames it tries to unwind. In conjunction, it can also be
passed an already existing partial stack trace, and be asked to
unwind more frames from it.
2011-12-14 22:30:07 -05:00
Alexander von Gluck IV d3e3195112 Small unknown table minor check, no real functional change 2011-12-14 18:07:11 -06:00
Alexander von Gluck IV e574a539eb Small bugfix in dig_setup dceMajor check 2011-12-14 18:07:11 -06:00
Alexander von Gluck IV 328f6e6485 No longer a pitty. No functional change. 2011-12-14 18:07:10 -06:00
Axel Dörfler 3692fd58c5 Minor cleanup, no functional change. 2011-12-15 00:55:10 +01:00
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 <[email protected]>
2011-12-14 21:20:37 +01:00
Sergei Reznikov 81d084fe14 Localize title of Save Image dialog.
Signed-off-by: Siarzhuk Zharski <[email protected]>
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