Commit Graph

50978 Commits

Author SHA1 Message Date
Colin Günther
4f4d98911a FFMPEG Plugin: Extract video aspect ratio calculation code.
- Also make use of the extracted code in the AVCodecDecoder class.
- Enhance some documentation and fix some coding style violations.
- No functional change intended.
2014-08-04 12:25:22 +02:00
François Revol
05f06a9065 Update this script to match pkgman behaviour
We don't need to move away older packages anymore.

Probably not useful either to stop Deskbar,
but let's just keep that for now.
2014-08-04 00:21:58 +02:00
Jérôme Duval
92d556084c USB_massbulk.h: use a proper naming for a public header. 2014-08-03 18:39:35 +02:00
Jérôme Duval
d9ecf5f373 usb_disk: extract specs into a public header. 2014-08-03 18:10:51 +02:00
Colin Günther
22ea661b82 MediaKit: Extend media_[audio|video]_header structures.
- This allows a BMediaDecoder (e.g. FFMPEG Plugin) to communicate back format
  changes to its clients.
  For a more thorough explanation and discussion see haiku-development mailing
  list: http://www.freelists.org/post/haiku-development/Request-for-protest-Media-Kit-Extend-media-header-struct

- Backwards compatibility is taken into account and preserved by reducing the
  relevant _reserved[] fields.

- Code changes that will actually make use of these extensions are due for the
  following commits. As these structure extensions affect several Haiku
  components (e.g. media_server, MediaPlayer, etc.) and third party apps (e.g.
  StampTV, etc.) I refrain from committing them in one batch with this commit.
  This should make it easier to track down bugs originating in this code
  change.
(cherry picked from commit 806b6888d2dcf84b4934f8f137a48d3381864d1c)
2014-08-03 00:45:58 +02:00
François Revol
ea0457cd02 Add musicpc package 2014-08-02 13:33:00 +02:00
Philippe Saint-Pierre
478d9536a6 Icon outline setting was ignored if no background image found
Might have been the cause behind #10019.
2014-08-01 18:09:30 -04:00
François Revol
1336892c8b Update yab_ide package 2014-08-01 22:40:08 +02:00
Adrien Destugues
7435d82fb3 Update to the fixed (again) curl package. 2014-08-01 17:53:37 +02:00
Adrien Destugues
f0245dc225 Replace broken curl and ca_root_certificates
* Remove unneeded path mashup in curl to find the ca_root_certificates
and use the file in .self/data/ssl. This makes it possible to rename the
package providing ca_root_certificates without everything exploding.
* Use a certificate file in the format cURL expects, not Mozilla source
file in NSS format.
2014-08-01 09:38:29 +02:00
Adrien Destugues
6bd0ac9489 Data URLs: parse the whole URL, not just the path.
The RFC for Data URLs specifies a nonstandard format, and because of
this it doesn't support queries and fragments. This allows the use of
the # and ? characters in the URL data. We didn't handle this properly,
which would lead to truncated data.
2014-08-01 09:38:28 +02:00
Adrien Destugues
eec762686b Safer URL decoding.
Some URLs may use the % character for other purposes than URL-encoding
(this is seen in some data URLs). Make sure we parse that properly, and
avoid a possible out of bounds access if the percent char is near the
end of the string.
2014-08-01 09:38:26 +02:00
François Revol
dcef881fe6 First try at an icon for Music Player Daemon
Actually a scaled copy-paste of App_MediaPlayer, Misc_Speaker
and App_TV_2 with a few tweaks.
2014-07-31 23:04:56 +02:00
François Revol
228df78b0e Update Boost packages to fix the _devel PROVIDES
I'm not building this again in a 1vcpu VM with not enough
disk space :-D
2014-07-31 17:35:01 +02:00
Oliver Tappe
5cbd68a9b3 Update legacy compiler to version 2014_07_26. 2014-07-31 10:37:02 +02:00
Stephan Aßmus
e995976d4d HaikuDepot: Fixed outrageous lie. 2014-07-30 22:27:22 +02:00
François Revol
2a740449bb Use proper width for notification text
Fixes #10109.
2014-07-30 22:19:17 +02:00
François Revol
358a4dd379 ShowImage definitely knows Icon-O-Matic documents
And it's much easier to browse through data/artwork/icons!
2014-07-30 22:18:54 +02:00
François Revol
98f35f3a92 Add EHOSTDOWN to strerror() 2014-07-30 12:31:24 +02:00
François Revol
65b2278e9a How come we missed the case B_DONT_DO_THAT in strerror() ??? 2014-07-30 12:26:31 +02:00
François Revol
917634bc8a Add missing strings to strerror() for hrev46649 2014-07-30 12:26:31 +02:00
François Revol
35edaf281f gopher: Fix for 0-length path
This is the case for urls like gopher://gophernicus.org
(without trailing /), which ended up being downloaded instead of
displayed.
2014-07-30 11:20:56 +02:00
François Revol
b7e55f797d Some more comments on xdg_basedirs
At least WebOOB makes some use of those,
it should help unclutter the home directory.
2014-07-30 00:07:48 +02:00
Adrien Destugues
70f91e39aa Remove preprocessor checks from TestShell.h
* This is a header used by several parts of the code which should not
need to know about ELF symbol overriding and the fact that it is
optional.
* When the define is set, the methods will not be defined, but they
shouldn't be called, either
* This makes sure the memory layout of the class stays the same with the
define set or unset, and users can rely on it.

Fixes UnitTester on gcc2.
2014-07-29 23:05:52 +02:00
François Revol
dc5f63f635 Fix descriptions on X11 related packages 2014-07-29 22:43:28 +02:00
François Revol
70ed656a03 Add some X11-related packages
For XEmacs I need libXpm... which needs libX11... which needs...
2014-07-29 21:11:11 +02:00
Augustin Cavalier
ef21655b0b ca_root_certificates: Update to 2014_04_08-1.
Tested against wget, curl, and git, which all were still able
to verify certificates and download from HTTPS sites.

Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-07-29 18:41:48 +02:00
Augustin Cavalier
a9822c2d28 HaikuPorts/x86_gcc2: Update both FFmpegs to 0.10.14-1.
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-07-29 18:09:47 +02:00
Colin Günther
f345d82773 FFMPEG Plugin: Code styles, typos and code deduplication.
- Kudos to stippi for taking the time pointing those out :)
  http://www.freelists.org/post/haiku-commits/haiku-hrev47576-srcaddonsmediapluginsffmpeg,1
- No functional change intended.

Signed-off-by: Colin Günther <coling@gmx.de>
2014-07-29 17:54:04 +02:00
François Revol
ca21718e14 Add python packages: dateutil, lxml, mechanize, requests 2014-07-29 17:20:51 +02:00
François Revol
d06cbe081b Add a profile.d file for XDG Base Directory Specification
We declare most of the XDG environment variables for this spec:
- XDG_CONFIG_HOME
- XDG_DATA_HOME
- XDG_CONFIG_DIRS
- XDG_DATA_DIRS
- XDG_CACHE_HOME

I'm not yet sure what to do with XDG_RUNTIME_DIR.
2014-07-29 17:02:24 +02:00
Adrien Destugues
dd6cdcf0b7 Fix copypaste bug in UnitTest rule.
Make the unittests target actually build all the UnitTests and not just
the UnitTestLibs.
2014-07-29 11:25:03 +02:00
François Revol
44a4999b89 gopher: Add TODOs 2014-07-28 22:01:49 +02:00
François Revol
80be7c9d8f gopher: Change 'd' type items to generic documents
Gophernicus uses it for PostScript as well.
2014-07-28 21:53:51 +02:00
François Revol
b8be186720 gopher: Handle errors from Gophernicus
It sends them as plain text instead of gopher directory
when it doesn't find something...
2014-07-28 20:26:47 +02:00
François Revol
e243a03476 gopher: return an error on resource not found 2014-07-28 19:15:16 +02:00
François Revol
111d695ac0 gopher: Use a BStackOrHeapArray as temporary buffer
And move it out of the loop, no need to construct it at
each iteration anyway.
2014-07-28 19:04:13 +02:00
François Revol
579f95647d gopher: (disabled) controls and size attributes on audio/video
Currently those crash WebPositive when enabled.
2014-07-28 18:34:50 +02:00
Arvind S Raj
7749faf602 Disable frame buffer for now since it's not essential. Fix involves correcting fault when writing to CM_CLKSEL_DSS during frame buffer initialisation. 2014-07-28 16:12:58 +02:00
Adrien Destugues
1dc356fb06 Test for the "Host" header containing the port.
* Also tests that receiving data using a listener works.
2014-07-28 16:10:05 +02:00
François Revol
dc8665f745 webpositive: Officially handle gopher: URI scheme now
Avoids it asking Google what to do with the URL.
2014-07-28 15:28:47 +02:00
François Revol
d9b7113a6d Add packages for lame 2014-07-28 15:17:47 +02:00
Adrien Destugues
a1cce97050 HttpRequest: more small fixes and cleanups
* Remove unneeded field fOutputHeaders and convert it to a local for the
only method that uses it,
* Don't return EOVERFLOW when flushing data from ZLib (the ZLib
decompressor returns this, but zlib docs states that this is NOT an
error condition).
* Replace unneeded temporary BNetBuffer of fixed size with BStackOrHeapArray.
2014-07-28 15:02:17 +02:00
Adrien Destugues
4359643ed4 Test for relative URL with a port in the base URL.
As expected, the port is preserved.
2014-07-28 15:02:16 +02:00
Adrien Destugues
548149fe48 Fix out-of-date comment. 2014-07-28 15:02:15 +02:00
Adrien Destugues
021ebc2f8c Add the port to the HTTP Host header when needed.
* When the port is not the default one, it must be added to the "Host"
header so the server knows what we're connecting to.

Fixes #11070.
2014-07-28 15:02:13 +02:00
François Revol
ae2cdda736 Fix type mismatch warnings 2014-07-28 14:50:15 +02:00
François Revol
3501a97d9b Add cases for uname() for all known platforms
After what QEMU linux-user says about those.

Not sure what to do for ARM. I used the lowest emulated CPU in QEMU.
2014-07-28 14:45:04 +02:00
François Revol
2692aea576 Fix "unhandled case in switch" warning 2014-07-28 14:45:04 +02:00
François Revol
8b95dd25f9 webwatch: Add HVIF icon resource 2014-07-28 13:19:33 +02:00