Commit Graph

52620 Commits

Author SHA1 Message Date
Augustin Cavalier
f978d9a815 package_infos/makefile_engine: Require cmd:mkdepend.
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11646

The makefile engine uses mkdepend to extract dependency info from cpp
files.
2014-12-20 10:54:18 +01:00
Timothy Gu
d1dc9cf655 stdint.h: use correct type for INT64_MAX (#11647)
int64_t is signed. Although it does not make a difference by itself, because
INT64_MAX is still a valid number for uint64_t (UL), the later INT64_MIN
declaration depends on INT64_MAX, and therefore got implicitly casted to
unsigned type.

This fixes the following program on a x86_64 system:

	#include <stdint.h>

	int main() {
		int64_t test = 5;
		if (test < INT64_MIN)
			return 1;
		return 0;
	}

This is a regression since commit 1d13a609 ("stdint.h: define [U]INT64[MAX|MIN]
with [U]L on x86_64").

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2014-12-20 10:06:21 +01:00
autonielx
0305947d0a Update translations from Pootle 2014-12-20 06:34:55 +01:00
John Scipione
b825666f3f Rename method parameter in header to match implementation 2014-12-19 19:58:56 -05:00
John Scipione
d3c4833514 Some more small documentation fixes 2014-12-19 19:58:14 -05:00
John Scipione
5ebeb710ab B_WIDTH_FROM_LABEL was not available until BeOS R5 2014-12-19 19:51:46 -05:00
John Scipione
ce3da8de9f Add docs for BTab and BTabView 2014-12-19 19:51:44 -05:00
John Scipione
65dfd2c67c Documentation fixes for BTab and BTabView 2014-12-19 19:51:42 -05:00
John Scipione
a28ddb79ec A few minor fixes to BTextControl docs 2014-12-19 19:51:39 -05:00
Adrien Destugues
af012fd4de TeamMonitor: layout cleanup.
Fixes #7560.
2014-12-19 15:50:37 +01:00
Adrien Destugues
216f305cea TeamMonitorTest: fix build, exit on window close. 2014-12-19 13:38:46 +01:00
Adrien Destugues
21d247bb58 Media: add icon to media server restart notification
Use the media preferences icon for lack of anything more specific.
2014-12-19 10:15:28 +01:00
Adrien Destugues
a882137926 Web+: set a group name for download notifications
It is not clear that these come from Web+ otherwise (since they use the
downloaded file icon rather than the app one).
2014-12-19 10:15:26 +01:00
John Scipione
d78a330deb Add BTextControl docs 2014-12-18 20:46:30 -05:00
John Scipione
f466445917 Changes to BTextControl for docs.
Also remove the non-ControlLook drawing code.
2014-12-18 20:45:44 -05:00
John Scipione
95faf2ce54 Minor doc changes 2014-12-18 20:45:25 -05:00
Humdinger
ca7c20e8d7 Terminal: move "Window title..." from "Edit" to "Settings"
The menu item to set the "Window title..." makes more sense in the
"Settings" menu. There you find other settings that only apply to
the running session, like window size or text encoding.
The "Edit" menu OTOH has only commands to deal with the contents
in the Terminal, like copy, paste, find etc.
2014-12-18 17:17:15 +01:00
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