Commit Graph

52586 Commits

Author SHA1 Message Date
Adrien Destugues
cf01ee8a45 Add the DejaVu fonts to the nightly profile. 2014-12-17 08:47:05 +01:00
Rene Gollent
c3f9f5550d Debugger: Minor visual tweak in VariablesView.
- Expression evaluation results are now highlighted as changed when
  they're first added, since they're immediately of interest, unlike
  uninitialized variables that're first coming into scope.
2014-12-16 16:57:17 -05:00
Rene Gollent
9dcef0489e Debugger: Cleanups.
Get rid of ExpressionEvaluationWindow.

- When asking to evaluate an expression via the Tools menu, we now
  bring up a prompt window the same as the one used to add a watch
  expression. This in turn works exactly the same as the latter,
  except an additional flag is sent indicating that the expression
  in question should not be persisted. As such, the results are
  shown in the variables view, with all the capabilities that allows,
  but also without the expression following the function as a watch
  expression would.
2014-12-16 16:48:10 -05:00
Humdinger
7b48414c40 Added Paladin package 2014-12-16 19:34:54 +01:00
Adrien Destugues
7cb12e75ae Screenshot: list a writable "artwork" directory.
Fixes #10928.
2014-12-16 16:56:34 +01:00
Adrien Destugues
4738a0e182 Remove built-in cal command.
* Replaced by gcal package
* Fixes #9696.
2014-12-16 14:31:04 +01:00
Adrien Destugues
92ab3ad71f Add a package for gcal. 2014-12-16 14:17:08 +01:00
Adrien Destugues
7b2bc3a6d3 Make the Haiku package depend on vl_gothic.
* Makes sure there is at least one font installed
* Fixes #11581.
2014-12-16 09:39:02 +01:00
Timothy Gu
e7dceac3fa Outsource DejaVu fonts
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-12-16 09:39:02 +01:00
John Scipione
a03f66b7fb Fix a few errors in the nascent BOptionPopUp docs 2014-12-15 21:14:47 -05:00
John Scipione
71f6259a0f Fix locale docs as suggested by Adrien, more work still needed 2014-12-15 21:12:54 -05:00
Adrien Destugues
4696958aa4 BBox: fix minimal size when using layouted mode.
It is possible to set a custom layout on a BBox, which is then applied
to the children excluding the label. However, the label size must still
be used when computing the minimal size of the BBox in that case.
2014-12-15 11:12:56 +01:00
Adrien Destugues
04c56ae26b Revert "FileTypes: make space for BBox titles"
This reverts commit f0eb9fcd93.

Fixing this in BBox is better.
2014-12-15 11:04:36 +01:00
Adrien Destugues
244f97dc27 LayoutItem: better documentation for SetExplicitMinSize.
This is a bit counter-intuitive, at least to me, as forcing the minimal
size can lead to the item being smaller than it would otherwise.
2014-12-15 10:46:11 +01:00
Adrien Destugues
40e05d88f9 Remove now unneeded MediaAlert class. 2014-12-15 09:56:31 +01:00
Adrien Destugues
b245bc8dbd Media Prefs: rework the BNotification code
* Factor out the notification sending in a single method
* Tweak the "progress" values so the progress bar goes from 0 to 100% in
order, and only once, during the restart
* Remove one notification that was needlessly sent twice
* Some other small cleanups

Final fix for #8171.
2014-12-15 09:52:36 +01:00
Laurent Chea
aa47adf6e0 Media service restart is now using BNotification. Fixes 8171. 2014-12-15 09:27:10 +01:00
Puck Meerburg
c038f26da8 Import div.c patch by Tri-Edge AI
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-12-14 18:06:21 +01:00
Puck Meerburg
a5f30beaad Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-12-14 18:06:09 +01:00
Jérôme Duval
1d13a60901 stdint.h: define [U]INT64[MAX|MIN] with [U]L on x86_64
instead of [U]LL
2014-12-14 15:55:14 +01:00
Jérôme Duval
1cf6c6a79d Updated mercurial because of Python update. 2014-12-13 14:49:13 +01:00
Jérôme Duval
c6681bfa88 Added cvsps package for x86 2014-12-13 11:38:06 +01:00
Jérôme Duval
6256af17ef Updated python, git and scons packages for x86
Python 2.7 is now required for running HaikuPorter.
2014-12-13 11:10:00 +01:00
autonielx
0aa4a1284c Update translations from Pootle 2014-12-13 06:29:07 +01:00
Rene Gollent
40d79c0587 Debugger: Fix type value display in VariablesView.
- When retrieving the type to display for a given model node, ask its
  underlying value node for its corresponding type rather than relying
  on the one initially stored in the model, as the latter can change
  as a result of typecasts.
2014-12-12 16:59:28 -05:00
Rene Gollent
1c1ffc46d5 Debugger: Minor tweak to DwarfType.
- When creating a derived type, adjust the name accordingly to indicate
  the additional qualifiers. Fixes a problem where casted type names would be
  displayed as their base type only, even if they included pointers or array
  subscripts.
2014-12-12 16:57:32 -05:00
Adrien Destugues
18bd706d85 Add package for the Substrate screensaver. 2014-12-12 16:43:58 +01:00
Adrien Destugues
3bcb69811b BOptionPopUp: call the superclass AttachedToWindow.
It's ther that the view background color is inherited from the parent.
Fix option popups having a white background eg. in MediaPlayer
preferences.

Thanks to DeadYak for noticing the problem.
2014-12-12 16:18:34 +01:00
Adrien Destugues
f0eb9fcd93 FileTypes: make space for BBox titles
In some locales the title is longer than the space there is for it. Make
sure the boxes are wide enough for the title to display completely.

Fixes #11611.
2014-12-12 16:11:07 +01:00
Adrien Destugues
27627e22db DataTranslations: remove SetExplicitMinSize
It prevents the window to get big enough for some of the translators.

Fixes #11612.
2014-12-12 15:53:25 +01:00
Adrien Destugues
03f1ea8e5c Add package for Chat.
* This should be merged with the changes done in Dengon and Jabber4BeOS,
so let's raise the awareness of people about those by having packages
for it!
2014-12-12 13:51:01 +01:00
Rene Gollent
cbd3910d6d Debugger: Minor syntax highlighter fixes.
- Add missing if/else keywords.
- Add missing comma that was preventing some keywords from being
  recognized properly.
- Add missing handling of condition operator.
2014-12-11 22:32:47 -05:00
Rene Gollent
db1df758b8 Debugger: Cleanups.
SourceLanguage and friends:
- Remove ParseTypeExpression from SourceLanguage, as its functionality
  can now properly be subsumed by the general expression parser, and
  simply becomes another result type thereof.

CLanguageFamily/CLanguage/CppLanguage:
- Remove IsModifierValid() hook, as this is all now handled internally
  in the expression parser.

VariablesView:
- Refactor to handle typecast requests via expression evaluation. Since
  this is done asynchronously, rework the logic to handle recognizing
  expression evaluation results that correspond to a requested cast,
  and handle accordingly.
2014-12-11 22:17:35 -05:00
Rene Gollent
194d85f4a3 Debugger: Simplify expression parser.
- Remove handling of the power token, as it's not actually valid C/C++ syntax,
  and causes problems when parsing more complex pointer types/dereferences.
2014-12-11 22:17:34 -05:00
Rene Gollent
d621fb88d7 Debugger: Fix problem in ArrayValueNode.
- The requested child indices weren't being correctly capped to the
  supported lower and upper bound.
2014-12-11 22:17:33 -05:00
Rene Gollent
af76b51633 Debugger: Add basic support for types in expressions.
SourceLanguage/CLanguageFamily/ExpressionEvaluationJob:
- Add TeamTypeInformation parameter to EvaluateExpression() hook. Adjust
  implementing subclasses and callers accordingly.

CLanguageExpressionEvaluator:
- Add class InternalVariableID for representing intermediate variables
  generated while parsing an expression.
- When parsing an identifier, if we were passed in a type information object,
  then first attempt to resolve the name as a type. If not matched, then fall
  through to attempting to match it to a value node as before.
- When parsing an atom, check if it resulted in a type. If it did, and there
  still remains more of the expression to parse, then parse the result to see
  what value/variable to try to apply the typecast to. If the result is a
  primitive, generate an appropriate internal variable + value node child for
  it, otherwise use the target variable's child. Then, attempt to typecast it
  as requested.
- Simplify _EatToken().
- If the final result of an expression is a type, configure the result object
  accordingly.

As a result of all the above, an expression can now resolve to a type, allowing
the evaluator to take over the duties of parsing the desired type for a typecast
request in the variables view, and in addition, expressions themselves can now
contain typecasts, which opens up quite a few new possibilities.
2014-12-11 22:17:33 -05:00
Rene Gollent
9d6cd8b210 Debugger: Minor fix to CLanguageTokenizer.
- Properly differentiate the size of a parsed hex constant in order
  to return a correspondingly sized primitive, rather than always
  returning as 64-bit.
2014-12-11 22:17:32 -05:00
Rene Gollent
1b7af39a61 Debugger: DwarfImageDebugInfo cleanups.
- For simply looking up a type, we need neither the register map, nor
  the target interface, as those are only necessary for resolution of
  values and/or locations.
- Fix memory leak. A reference to the target interface was acquired in
  the type context's ctor, but not correspondingly released in the dtor.
2014-12-11 22:17:31 -05:00
Rene Gollent
5a4887a0db Debugger: Add type results to ExpressionInfo.
- In addition to a primitive or value node, expressions can potentially
  result in types as well. As such, extend ExpressionInfo to be able to
  return one, and indicate such a result kind appropriately.
2014-12-11 22:17:31 -05:00
Adrien Destugues
042bb68ed6 BGameSound: make Worms Armageddon sounds work
* When the endianness is not intialized, assume B_MEDIA_HOST_ENDIAN.
This is probably what was meant (and this is what Worms Armageddon
means).
* Move creation of the media nodes back to the initialisation instead of
StartPlaying, otherwise an extra node is created each time the sound is
played.
2014-12-11 17:17:55 +01:00
Adrien Destugues
bf57c148f7 BGameSound: cleanup and several fixes
* Use a template to avoid repeating the panning code for each type
* Rearrange the initialization of BSimpleGameSound so the data is only
copied 0 or 1 times (it was copied 2 or 3 times in some cases) between
the passed buffer and the final one,
* Don't execute the panning code on streams with only 1 channel as this
makes no sense and it will read and write outside the buffers
* Abort early in GameSoundBuffer::Play if fIsPlaying is false.

Fix the crashes in Worms Armageddon. Doesn't fix the sounds being mostly
white noise.
2014-12-11 16:02:59 +01:00
Adrien Destugues
94d14479bb ListView: computate disabled color only for disabled items. 2014-12-11 10:39:51 +01:00
Adrien Destugues
e3686c1bd2 ffmpeg add-on: fix typo. 2014-12-11 10:38:41 +01:00
Adrien Destugues
9a83a303b4 Add colorspace converter for YUV420P10LE to RGB32.
Fixes #9141.
2014-12-11 10:24:02 +01:00
Adrien Destugues
d7d0a0284b ffmpeg: get pixel format names from libavutil.
No need to reimplement this when ffmpeg already provides it. Moreover,
our version was outdated and did not handle all color spaces.
2014-12-11 09:37:47 +01:00
Adrien Destugues
265f299627 ListView: move the color setting code to DrawItem
... so it can also be used by OutlineListView.

Fixes #11598.
2014-12-11 08:44:54 +01:00
Automatic Committer
79d01ffb11 Update usb.ids from www.linux-usb.org 2014-12-11 05:20:24 +01:00
Automatic Committer
4f7a2930c7 Update pci.ids from pciids.sourceforge.net 2014-12-11 05:20:23 +01:00
Puck Meerburg
e4e2ce4ce3 When testing screensaver, don't have mouse move exit the screen saver.
Fixes #7463

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-10 21:18:30 +01:00
Adrien Destugues
75fe62cd00 Add package for Slayer. 2014-12-10 16:40:17 +01:00