Commit Graph

51956 Commits

Author SHA1 Message Date
Axel Dörfler
5a95af70a2 vfs/{b|btr|package|b}fs/ext2/exfat: common access check.
* Added VFS helper function check_access_permissions() that combines
  several partially correct versions to the one true version (tm).
* All but BFS (since recently) missed the S_IXOTH for root on directories,
  and all but packagefs missed proper group handling.
2014-10-25 18:47:15 +02:00
Ithamar R. Adema
2ce0d69a7e ARM: fix bootloader's mmu_map_physical_memory size
When the address is not page aligned, not only adjust the address
to start mapping, but also take the "overflow" on the last page
into account.

This makes the bootloader boot again ;)
2014-10-25 09:43:15 -07:00
Stephan Aßmus
fdec4227f5 HaikuDepot: Resurrect Options menu...
And move the (new) checkmarks into the Options menu. This makes them less
easy to discover, but cleans up the UI, especially since the options to show
development and source code packages are not very important for most users.
2014-10-25 17:30:54 +02:00
Stephan Aßmus
e0a26dce59 HaikuDepot: Centralized user account features in the UI
There is now a right-aligned second menu bar for the account management.
The menu label is what was previously shown underneath the search terms field.
The menu items have moved from the Tools menu into the new user menu. This
means the login/logout functionality is directly available where the login
info is shown in the UI when you click it.
2014-10-25 17:16:37 +02:00
Stephan Aßmus
9303787b1a HaikuDepot: Show ratings in other languages with empty comments 2014-10-25 16:33:02 +02:00
Stephan Aßmus
7102f0d09b HaikuDepot: Disable package action button...
... after scheduling the respective package action.
2014-10-25 16:33:00 +02:00
Axel Dörfler
8efd5b7613 vfs: check the X permission on set cwd.
* When you change the current working directory, you actually
  should have the permission to enter that directory.
* This gives us a 0.04% better score on the perl test suite :-)
2014-10-25 15:57:38 +02:00
Axel Dörfler
49c31016cd bfs: root may always enter directories.
* If you're root, you can now always enter directories, even if they
  don't have the X permission.
2014-10-25 15:57:36 +02:00
Stephan Aßmus
87d1eac74e HaikuDepot: Implement ProgressPackageDownloadStarted()...
... by calling ProgressPackageDownloadActive() with a 0.0f progress
percentage.
2014-10-25 11:12:29 +02:00
Stephan Aßmus
24e3b35816 HaikuDepot: Support installing local package files
* Give the PackageManager either the package name, or the path to a local
   .hpkg package to Install().
 * Implement Warn() to at least print something to the command line. Change
   the TODO to show the warning to the user instead.
2014-10-25 11:12:27 +02:00
Stephan Aßmus
9002c94345 Package Kit: Always allocate local repository
Consequently always register it with the solver in Init(). This solves the
problem that it made a difference at which time Init() is called. Init() is
called at the beginning of Install() and Uninstall(), but HaikuDepot was
calling it before that for other reasons. A second call to Init() will exit
early. If local package files were added to the PackageManager instance,
the local repository was created lazily, but because Init() did not run a
second time, the local repository was not registered with the solver. Now
it already is, since it is no longer created on demand, but always.
2014-10-25 11:12:26 +02:00
Stephan Aßmus
448f707cea HaikuDepot: Never refresh repositories or package lists...
... when in single package mode.
2014-10-25 11:12:25 +02:00
Stephan Aßmus
89fbeddf2a HaikuDepot: Store local package path in PackageInfo...
... when launched with a path to a .hpkg file.
2014-10-25 11:12:24 +02:00
autonielx
24f7b6ad3b Update translations from Pootle 2014-10-25 06:22:10 +02:00
Adrien Destugues
bad2098fd5 HaikuWebKt 1.4.6. 2014-10-24 21:23:17 +02:00
Adrien Destugues
94bb430963 Revert update to ffmpeg 0.11.5 for gcc2.
More testing shown that it crashes when decoding some videos which
work with 0.10 (mostly h263 and h264). Gcc4 versions does not seem to
have a problem, so we can keep the update at least there (WebKit and
other gcc4 compiled apps will use it).

Note that the changes in the media plugin are not reversed: they are
compatible with both ffmpeg versions.
2014-10-24 19:09:16 +02:00
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