Commit Graph

51790 Commits

Author SHA1 Message Date
Hamish Morrison 1778ce4bc9 openjdk: update package to u80b02 (also fixes provides) 2014-10-24 17:42:48 +01:00
Adrien Destugues a975642268 Update ffmpeg for x86_64. 2014-10-24 09:53:07 +00:00
Adrien Destugues c8d6d0408f Update to ffmpeg 0.11.5.
I could not reproduce the issues in #8856 with this build. Let me know
if you run into files that don't play anymore.
2014-10-24 11:28:37 +02:00
Adrien Destugues 84e70401cd ffmpeg plugin: update to 0.11.5. 2014-10-24 10:54:07 +02:00
Adrien Destugues 7a71a43eaa Add package for gcc6809, lwtools, and dependencies. 2014-10-23 23:10:38 +02:00
Adrien Destugues 2672ea45e0 T9: fix gcc4 build and enable Werror. 2014-10-23 23:10:37 +02:00
Adrien Destugues a8e95151f6 Add package for SDCC (Small Device C compiler)
A compiler targetting various 8 to 16 bit architectures, including z80.
2014-10-23 21:11:54 +02:00
Michael Lotz 1180b66081 PowerStatus: Implement battery low/critical notifications.
It shows a notification once the "low percentage" is reached (currently
at 15 percent) and once when the battery is about to die. This logic
should probably be revised to be based on remaining time instead. The
notification icons are simple variations of the PowerStatus icon.
2014-10-23 20:07:21 +02:00
François Revol 1b1f0fbee1 Add packages for libuuid 2014-10-23 19:45:36 +02:00
Adrien Destugues 9e19f58294 aiff_reader: fix for hybrid build.
* Not really useful now that ffmpeg can decode AIFF correctly...
2014-10-23 09:12:00 +02:00
Adrien Destugues 9fe5caaee5 Remove useless file.
* This is a leftover of in-tree ffmpeg and was not included anywhere.
2014-10-23 09:11:18 +02:00
Adrien Destugues 96dbc7d533 Remove the workaround for #11018 in two other places.
The bug is fixed, the workaround can be removed.
2014-10-23 09:10:57 +02:00
Automatic Committer d6d99ac108 Update pci.ids from pciids.sourceforge.net 2014-10-23 05:20:22 +02:00
Michael Lotz e9922e775f haiku_loader: Fix wrong size of gBootGDT on x86_64.
The BOOT_GDT_SEGMENT_COUNT was based on USER_DATA_SEGMENT on both
x86 and x86_64. However, on x86_64 the order of the segments is
different, leading to a too small gBootGDT array. Move the define to
the arch specific headers so they can be setup correctly in either case.
Also add a STATIC_ASSERT() to check that the descriptors fit into the
array.

Pointed out by CID 1210898.
2014-10-22 21:06:07 +02:00
Adrien Destugues b137575c46 AreaTest: 64bit fix. 2014-10-22 19:36:05 +02:00
Adrien Destugues 5dbd0f48cc gcc4 fix. 2014-10-22 18:58:37 +02:00
Adrien Destugues 377c5aecf0 Fix AIFF decoding with ffmpeg.
AIFF files are little endian. ffmpeg detects this just fine, but we
overwrote the endianness in the decoded format info with
B_MEDIA_HOST_ENDIAN right after setting it.

Now we can decode both AIFF and WAV files just fine.

Fixes #7047.
2014-10-22 17:26:18 +02:00
Adrien Destugues 1560410ff4 AIFF mimetype: fix sniffing rule.
AIFF files follow EA IFF spec and start with a FORM chunk. They never
start with AIFF or AIFC directly.

See for example:
http://www.onicos.com/staff/iz/formats/aiff.html
http://paulbourke.net/dataformats/audio/
2014-10-22 15:50:10 +02:00
Adrien Destugues 72d4735712 Register media add-ons on BMediaFormat::GetFormatFor().
* Fixes #11018.
* In this case the FormatManager format list is accessed without going
throught the AddOnManager, so we must tell the AddOnManager to register
the add-ons (as this is what populates the FormatManager format list).
* Remove now unneeded workaround in mp3_decoder_test.
2014-10-22 15:25:06 +02:00
Adrien Destugues 2d88b1bd33 convert mediaDescriptions test to cppunit. 2014-10-22 14:30:19 +02:00
Adrien Destugues ce299207f8 Convert SizeofTest to cppunit. 2014-10-22 11:34:14 +02:00
Adrien Destugues 2521f8ea39 Convert BufferTest to cppunit. 2014-10-22 11:11:55 +02:00
Adrien Destugues 55935df47d Convert AreaTest to cppunit. 2014-10-22 10:26:37 +02:00
Adrien Destugues d21b5a07e6 AreaTest: style fixes. 2014-10-22 10:12:24 +02:00
Adrien Destugues 015a928b88 Notifications: use a single settings file.
There were 3 setting files, each an archived BMessage. Now there is only
one with all the data inside.
* Rework the SettingsPane class to save and load settings from a
message, rather than having each panel pick a file path on its own
* Move saving the app filters to the preference app, rather than the
server (so it's done at the same place as other settings)
* Rework loading prefs in the server so the settings message is read
from the file once and all settings are loaded from it.

This turns out to be more changes than I anticipated.
Fixes #9424.
2014-10-21 18:53:06 +02:00
Jérôme Duval fe2b689642 openssl: security update
Fix for CVE-2014-3513
Fix for CVE-2014-3567
Mitigation for CVE-2014-3566 (SSL protocol vulnerability)
Fix for CVE-2014-3568
2014-10-21 18:33:25 +02:00
Jérôme Duval 5ce63aed59 XHCI USB: Add port routing for Intel BayTrail USB device.
* from FreeBSD.
2014-10-21 18:20:26 +02:00
Adrien Destugues 9bf4e99477 BUrl: IDNA ToUnicode and ToASCII conversions.
* Since DNS are normally restricted to ASCII, the use of UTF-8 in domain
names is implemented using a "punycode" encoding.
* The request to the DNS server must be sent with the ASCII
representation of the domain name, however the Unicode one should be
used for user-visible parts.
* ICU provides an implementation of the conversion, which we use here.
* Conversion is currently done in-place and modifies the BUrl object
(this is similar to UrlEncode/UrlDecode).
* Adjust existing IDN test to make use of these methods. It's passing
now.
2014-10-21 14:43:13 +02:00
Adrien Destugues d341a585ae Add more tests for BMessageFormat.
* Negative and null values, big values, thousands separators (in
different languages), string with no format, non-printable and non-utf8
charcaters, format not using # for the number.
2014-10-21 12:21:50 +02:00
Adrien Destugues c06fd79574 Chart: fix endianness swap.
* This is most likely dead code currently (it is used only when the
framebuffer is big endian, and the the cpu is little endian)
* Fixes a warning.
* Can't confirm if B_SWAP_INT32 is really supposed to swap the value
in-place, or if this is a bug in Chart. Probably the latter.
2014-10-21 11:53:22 +02:00
Adrien Destugues 06f436b3ac Use strict mode when url-decoding file requests.
We don't want '+' to become a space here.
Fixes #11109.
2014-10-21 11:31:48 +02:00
Adrien Destugues 6da9451eba UrlTest: cleanup IDN tests. 2014-10-21 11:31:47 +02:00
Jessica Hamilton 7284564eab jam: updated package for btrev43095 [x86] 2014-10-21 22:25:51 +00:00
Jessica Hamilton 0a472c4082 jam: updated package for btrev43095 [x86_64] 2014-10-21 22:22:04 +00:00
Jessica Hamilton c66434ce67 jam: updated package for btrev43095 [x86_gcc2] 2014-10-21 22:17:51 +13:00
Jessica Hamilton 812301e1fe libpcap: remove explicit dependency for scanner.c
* jam has been updated in btrev43095, which will now
  track multiple generated files from a single action
  correctly
* this also partially undoes the change introduced in
  hrev48061
2014-10-21 21:04:05 +13:00
Jessica Hamilton e4237798b4 icu: update revision that fixes icu-config [x86] 2014-10-21 12:57:21 +00:00
Jessica Hamilton 724f1f573e tcpdump/libpcap: correctly declare dependency between lex/yacc
* Previously, debugging jam, it would output a warning along the
  lines of 'warning: using independent target ... grammar.c'. To
  fix the dependency, it needs to be declared from object file
  to the generated source file.
* With the correct dependency (scanner.o on grammar.c), this
  warning is eliminated, and the dependency graph shown is now
  correct
* This should address #4091
2014-10-21 12:57:20 +00:00
Jessica Hamilton 2ee31eefd5 icu: update revision that fixes icu-config [x86_64] 2014-10-21 12:57:20 +00:00
Jessica Hamilton 38381ff47f icu: update revision that fixes icu-config [x86_gcc2] 2014-10-21 12:57:19 +00:00
Michael Lotz 24e159e1ac btreeTest: Revive test for BPlusTree implementation.
* Update pseudo cache with minimal set of block cache API.
* Update Inode, Journal and Volume stubs to current API.
* Add stubs for remaining VFS functions.
* Extend tests to also call BPlusTree::Validate() and bail on errors.
* Change duplicate tests to fill in the same value. While this isn't
  strictly allowed, the tree validation can't work unless the values
  match up.
* Lots of coding style cleanup, but much more should still be done...

The tests run through without errors.
2014-10-21 00:24:45 +02:00
Michael Lotz 9656eef895 libkernelland_emu: Fix wrong return in ModuleList::AddModule(). 2014-10-21 00:08:48 +02:00
Michael Lotz 04ed6105f1 libkernelland_emu: Fix missing using namespace std for GCC4. 2014-10-21 00:07:16 +02:00
Michael Lotz 893367cf30 libkernelland_emu: Sync _rw_lock_{read|write}_unlock API.
The threadsLocked parameter was removed from the kernel API.
2014-10-21 00:04:24 +02:00
Michael Lotz 4101aaedc7 libkernelland_emu: Remove deleted scheduler.cpp from build.
The file was removed in hrev47484, but the Jamfile wasn't updated.
2014-10-21 00:00:54 +02:00
Michael Lotz 33d9fb8663 BFS: Fix check of key compare in BPlusTree::_ValidateChildren().
In ba32021824 the key comparison was fixed
to use a compatible version. Since then the check can actually return
results other than -1. The check done on the result was too strict
however. The child nodes may never contain keys that are larger than the
keys they are reached by. But the last key of a child node may be equal
to the one in the parent. This change fixes the check to take this
special case into account.

Fixes #11026 and #11289. The issue was unproblematic in so far that it
was only hit during a filesystem check and, since BPlusTree does not
yet attempt to correct corrupted trees, did not result in any actual
actions.
2014-10-20 22:47:56 +02:00
Augustin Cavalier de59ef0760 HaikuPorts/x86_gcc2: update Qt following the ICU upgrade.
Sorry this took so long!

Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-10-20 21:59:03 +02:00
Adrien Destugues bb2a5b4db5 DateTimeFormat: set the locale to the pattern generator.
Unfortunately this isn't enough to fix the bug shown by the test just
added.
2014-10-20 17:24:50 +02:00
Adrien Destugues 980b1bd045 Add more tests for the DateTimePatternGenerator
There are unexpected results in some cases, with the clock switching to
12 hours format even though the locale is set to use 24 hours.
2014-10-20 17:23:24 +02:00
Adrien Destugues 9c5d1aa295 Fix infinite recursion in agg when drawing bezier with invalid points
* Patch extracted from http://trac.osgeo.org/mapserver/ticket/3862
* Fixes #6738
2014-10-20 15:54:58 +02:00