Commit Graph

51222 Commits

Author SHA1 Message Date
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
Oliver Tappe
a07cdb6e9f Define two pseudo targets for the target and build platform.
* The main build rules now cause their targets to depend on the
  platform such that global per-platform intializations can be
  set up by making the platform pseudo target depend on the
  target returned by the initialization rule.
2014-07-31 18:07:16 +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
ed25955ada Add SystemLibraryRules.
* This file contains jam rules for getting the different versions
  of libgcc, libsupc++ and libstdc++ used throughout Haiku's
  build system.
* Additionally, there are rules for accessing the c++ headers
  and the gcc headers.
* These rules are included by Jamrules, but not yet used anywhere.
2014-07-31 14:19:14 +02:00
Oliver Tappe
5bddecbc3b Add build features gcc_syslibs and gcc_syslibs_devel.
* gcc_syslibs contains the shared libraries that are being built
  as part of gcc, i.e. libgcc_s.so, libsupc++.so and libstdc++.so
* gcc_syslibs_devel contains the static versions of the respective
  libraries plus additionally kernel versions of libgcc.a and
  libsupc++.a (which do not provide support for pthreads or TLS
  and thus do not have any external dependencies). Additionally,
  this build feature contains the c++ and gcc headers from the
  non-legacy compiler.
2014-07-31 10:59:07 +02:00
Oliver Tappe
2ae3c64943 Improve IsPackageAvailable()
* When adjusting the package name for the secondary architecture,
  it is unclear where exactly in the package name the architecture
  specifier is. To remedy, we try all possible positions until
  we find the package (or there are no other possibilities).
2014-07-31 10:49:36 +02:00
Oliver Tappe
bd04aa3772 Cleanup: Fix missing evaluation of HAIKU_NO_LIBSUPC++.
* There's no user of HAIKU_NO_LIBSUPC++ anywhere, so the typo didn't
  have any effect.
2014-07-31 10:49:36 +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
François Revol
5bff096de0 Add an icon for WebWatch
A dumb mod form App_clock.
2014-07-28 13:19:32 +02:00
François Revol
002064caf3 webwatch: Use ui_color() for text 2014-07-28 13:19:30 +02:00
François Revol
b2bf8f4504 webwatch: Style cleanup 2014-07-28 13:19:28 +02:00
Oliver Tappe
410d94cf86 Update version of legacy compiler. 2014-07-28 11:15:16 +02:00
François Revol
948a1bb3ce Add identifier (device.node) to the EPLF listing
Probably not used by WebKit either...
2014-07-27 23:17:14 +02:00
François Revol
9535708ba4 Add Unix permission bits to the EPLF listing
As per http://cr.yp.to/ftp/list/eplf.html

Really just for completeness, not even sure Webkit will use it.
2014-07-27 23:17:11 +02:00