Commit Graph

51972 Commits

Author SHA1 Message Date
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
Adrien Destugues
b5440720ae ScreenSaverSelector: fix drawing of "stop" icon
* Use B_SUBPIXEL_PRECISE and remove incorrect rounding
* Drawing the bar of the stop sign just 1 pixel off was really ugly.
2014-10-20 09:05:57 +02:00
Jérôme Duval
6177acdb79 Update python, scons, subversion, add serf package for x86_64. 2014-10-19 19:49:35 +02:00
Adrien Destugues
e6e764b34f Enable Werror for accelerants and input server filters 2014-10-19 12:59:39 +00:00
Adrien Destugues
3a3bc0c149 radeon_hd: fix 64bit warnings 2014-10-19 12:51:54 +00:00
Adrien Destugues
b10790de44 Radeon: fix warnings on 64bit. 2014-10-19 12:51:53 +00:00
Adrien Destugues
dc234e798d NVidia: 64bit fixes. 2014-10-19 12:51:52 +00:00
Adrien Destugues
c8113d4d63 Matrox: fix 64bit warnings. 2014-10-19 12:51:51 +00:00
Adrien Destugues
13af65c402 intel_extreme: fix warnings on 64bit. 2014-10-19 12:51:51 +00:00
Adrien Destugues
40afabe6a3 PoorMan: use B_WIDTH_FROM_WIDEST BTabView
Avoids truncation of the tab titles with Russian locale.
2014-10-19 13:16:11 +02:00
Adrien Destugues
ff0f13f37a readline: also restore behavior for directories.
Thanks to Diver for checking.
2014-10-19 12:20:57 +02:00
Adrien Destugues
41660cabf4 readline: enable mark-symlinked-directories
This allows "ls /sys<TAB>" to complete to "/system/" rather than
"/system". It restores the behavior as it was before we outsourced bash.
2014-10-19 12:14:08 +02:00
Adrien Destugues
89397bab16 MessageFormat: use language and ignore formatting conventions.
The formatting conventions shouldn't change the rules used for singular/plural.
2014-10-19 11:49:56 +02:00
Adrien Destugues
fc1d09374e MessageFormat: Add test for Russian and fix Polish ones. 2014-10-19 11:49:55 +02:00
Adrien Destugues
a7f7bf3dc9 Radeon: fix warning. 2014-10-19 11:49:53 +02:00
Jessica Hamilton
8e145c66d7 qrencode addon: use KDL-specific qrencode library
Fixes #11351
2014-10-19 22:41:31 +00:00
Jessica Hamilton
45b7340f16 qrencode_kdl: updated recipe that includes the headers 2014-10-19 22:41:30 +00:00
Jessica Hamilton
74cb2f7a53 qrencode_kdl: a KDL-specific version of qrencode library 2014-10-19 22:41:30 +00:00
Jérôme Duval
316e9faab0 Add xz_utils and libedit devel packages for x86_64 2014-10-19 10:05:48 +02:00