Commit Graph

52603 Commits

Author SHA1 Message Date
Adrien Destugues
57f933d348 CID603224: missing break in parsedate.
Could lead to wrongly setting the TYPE_MINUTE flag for an invalid (>59)
number of minutes. Harmless, as that flag is never used.
For completeness, also set the flag for seconds (also never used).

Fixes #11552.
2014-12-18 15:55:47 +01:00
Jérôme Duval
82e1194224 libedit: includes ncurses build feature headers. 2014-12-18 15:26:00 +01:00
Adrien Destugues
84e1c7fa20 Notification: Avoid truncation when not wanted. 2014-12-18 15:10:44 +01:00
Adrien Destugues
63a4690e72 Notification: truncate long lines
This happens only if the word-wrapping couldn't fit them (because there
is a very long word in the text)

Fixes #11494.
2014-12-18 14:29:55 +01:00
Adrien Destugues
967a06e055 Web+: force download buttons to have the same width
If the text in the button is longer than what the minimal size of
BButton allows, the button exapnd. But we want the two buttons to have
the same width and stay aligned.

Fixes part of #11471.

Note: I don't understand why I need to set the explicit max size of the
button to make it bigger (I would have expected setting the minimal size
to do that), but it works.
2014-12-18 14:29:54 +01:00
Adrien Destugues
a0952d1cb3 Add the ncurses headers dependency where needed.
Should fix the build for real.
2014-12-18 13:49:14 +01:00
Adrien Destugues
2661e81977 Build fix second attempt.
Declare the dependency of top and watch to the ncurses headers.
2014-12-18 12:39:49 +01:00
Adrien Destugues
59b1706013 Build fix attempt.
Build is broken on the buildbots but I don't reproduce the failure when
building on HAiku, apparently because the system-installed headers are
used.
2014-12-18 11:54:17 +01:00
Adrien Destugues
fde7000fd6 Update x86_64 libsolv to fix fopencookie build breakage on haiku. 2014-12-18 10:25:48 +00:00
Adrien Destugues
1083895310 AboutSuste: Remove cal from freeBSD-provided list.
We now provide GNU cal in HaikuDepot instead.
2014-12-18 10:18:39 +01:00
Adrien Destugues
9a539f9e80 Outsource ncurses. 2014-12-18 10:18:39 +01:00
Humdinger
80719913de Updated Paladin version, added also as secondary arch. 2014-12-18 09:33:19 +01:00
Augustin Cavalier
e616ded892 Add missing cmd:hey provide.
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11631.
2014-12-18 08:44:41 +01:00
Automatic Committer
02328dd669 Update pci.ids from pciids.sourceforge.net 2014-12-18 05:20:26 +01:00
Adrien Destugues
873914a020 cdda: use singly linked list for attribute cookies
The list is only iterated forward so there is no need for a doubly
linked one.
No functional changes.
2014-12-17 17:34:25 +01:00
Adrien Destugues
a28398b3a2 userlandfs: NULL pointer dereference
get_vnode could be called with a NULL privateNode in the kernel, but not
in userlandfs. This would crash in cdda mount code (and from a grep
search, also with several other filesystems).

Now cdda can be mounted with userlandfs, and CDs read that way, but for
some reason there is no CDDB renaming of the tracks in that case.
2014-12-17 15:29:36 +01:00
Adrien Destugues
c4793b242c fix adding or removing items to an open BMenu
The menu would try to relayout itself, but fail to get the supermenu
bounds as the looper for it was not locked in that case.

This fixes the crash with two downsides:
* The menu width isn't adjusted to match the parent menu (mostly visible
in BMenuFields)
* There is some flickering as the menu is updated

Fixes #9863 (Network prefs part).
2014-12-17 10:23:40 +01:00
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