Commit Graph

52596 Commits

Author SHA1 Message Date
Adrien Destugues
974595bc46 MediaConverter: let the encoder make changes to the format
If the encoder decides to change the media format, we need to tell the
encoder as well so it uses the same format.
2014-12-23 15:50:11 +01:00
Adrien Destugues
5e0e16894d ffmpeg plugin: improve encoding format negociation
The ffmpeg encoders are restricted on which raw formats they accept
(each with different constraints). When asked to encode something, the
ffmpeg encoder now checks the codec capabilities and if the suggested
input format does not match, modifies it to something the codec can
actually handle.

Enable "experimental" codecs, as this is needed for AAC support in ffmpeg 0.10.

This allows format negociation to work properly, and as a result we can
enable several new audio formats: AAC (for MPEG family only), AC3, and
raw audio. Declare MKV as B_ANY_FORMAT_FAMILY since it is designed to be
a generic container (so it is possible to put AAC in MKV). Also remove
duplicate entries for AC3.
2014-12-23 15:50:10 +01:00
Stephan Aßmus
ca747629f9 HaikuDepot: Fix drawing bugs of count view
The packages count view centers its label. It therefore needs a full update
on resize. Also optimize SetItemCount() by trying to avoid unneccessary
layout invalidations.
2014-12-23 14:57:27 +01:00
Adrien Destugues
b65265eb5c MediaConverter: fix off-by-one frame limit
This would lead to an attempt to read beyond the track end, making
MediaTrack return an error, and finally causing MediaConverter to not
flush the end of the encoded file to disk properly.
2014-12-23 11:28:28 +01:00
Adrien Destugues
62ee6b76e2 Update beam to avoid triggering #6400. 2014-12-23 10:33:01 +01:00
Adrien Destugues
177cb657e4 Add %e in the terminal tab format tooltip.
Since it works, we may as well advertise it.
2014-12-23 09:54:36 +01:00
Adrien Destugues
0d523bddbc [Terminal] add encoding to tab title if it differs from default
Fixes #11642.
2014-12-23 09:46:14 +01:00
Adrien Destugues
907ea782aa DiskProbe: convert ImageView to layout kit.
Fixes #11653.
2014-12-23 09:44:07 +01:00
Adrien Destugues
c05324e8b7 Revert "CID1108404: missing array inintialization"
This reverts commit cd06fa402b.
2014-12-22 18:27:34 +01:00
Adrien Destugues
cd06fa402b CID1108404: missing array inintialization
BuildReportList checks that the array does not already holds the reports
before adding them. If one of the uninitialized elements happened to be
the address of one of the reports, it would not get added again,
possibly leading to items in the array being in the wrong order. Just be
safe and clear the array.

Fixes #10221, patch there not used as it cluttered the code more than
needed.
2014-12-22 17:58:11 +01:00
Adrien Destugues
d350b0f0d4 Typo. 2014-12-22 15:14:13 +01:00
Adrien Destugues
92cc6a0f43 Style fixes. 2014-12-22 15:09:50 +01:00
Adrien Destugues
207212972e BMessage: remove unimplemented GetPointer from headers and docs
* This was never implemented and no one noticed until now.
* A default value for a pointer doesn't make that much sense anyway, so
using the FindPointer method is fine.
2014-12-22 15:01:56 +01:00
Adrien Destugues
6df2c16cc9 ActivityMonitor: allow legend to use full width...
...for the last item when an odd number of items is used in a graph.

Fixes #7262.
2014-12-22 13:46:28 +01:00
Adrien Destugues
459b8e9796 Cleanup midi tests directory
* synth_file_reader: TList to BObjectList.
* delete two old prototypes of MidiPlayer and the README noting that
they should be removed
* delete reference to PatchBay which was moved to src/apps in 2013.

Fixes #7027.
2014-12-22 13:00:17 +01:00
Adrien Destugues
4227495829 BLocker: call debugger() when unlocking from another thread
BeOS did allow other threads than the owner to unlock a BLocker (the be
book says so). We did not, and silently ignored the unlock attempt in
this case, probably resulting in a deadlock of applications using the
feature.

Call debugger instead so:
* The problem is made visible for such apps
* The debugger call is continuable so the app can be run, still

Will help making a decision on what to do here (follow BeOS or change
behavior) and make a final decision for #6400.
2014-12-22 11:26:23 +01:00
Humdinger
a2b422eff9 Updated installation folder of dejavu font. 2014-12-21 22:33:38 +01:00
Humdinger
00f5a0e84b Removed paladin_x86 from the repo. The gcc2 verso in the repo is enough... 2014-12-21 22:33:37 +01:00
Jérôme Duval
ad6a0df632 Updated gcc4 packages for x86. 2014-12-21 22:27:45 +01:00
Jérôme Duval
7dc8098ada XHCI USB: Add port routing for Intel WildcaPoint USB device.
* from FreeBSD.
2014-12-21 21:24:01 +01:00
Jérôme Duval
4cfa5b2dd6 netfs: debug build and 64bit fixes. 2014-12-21 15:10:46 +01:00
Jérôme Duval
8de3277334 Updated libffi package for x86_64 2014-12-21 13:27:54 +01:00
Jérôme Duval
01cb0db9ba Updated Python packages. 2014-12-21 11:19:07 +01:00
Jérôme Duval
28e5604c86 RTFTranslator: style clean up 2014-12-20 19:21:08 +01:00
Markus Himmel
83a0273a65 Add styled RTF output to RTFTranslator and bump version
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-20 18:10:38 +01:00
Ezo
fa267963e0 rtf output it rtf translator
Signed-off-by: Markus Himmel <markus@himmel-villmar.de>
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-20 18:10:08 +01:00
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