57078 Commits

Author SHA1 Message Date
autonielx
79bc8e9587 Update translations from Pootle hrev51216 2017-06-24 18:10:44 +02:00
Augustin Cavalier
7aae2f7475 userguide: Actually sort the language menu. hrev51215 2017-06-24 00:19:23 +02:00
Pedro Pinto
856da1f3ff Add missing include with Partition class definition
* Fixes a compilation error while compiling the u-boot loader for
  the ARM platform.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
hrev51214
2017-06-23 17:30:27 -04:00
Automatic Committer
b72ba05bda Update pci.ids from pciids.sourceforge.net hrev51213 2017-06-22 05:20:20 +02:00
Jérôme Duval
8f83b81ad4 x86_64 is now compatible up to hrev51198. hrev51212 2017-06-20 17:50:59 +02:00
Jérôme Duval
b474a3388a Repository rebuild. hrev51211 2017-06-20 05:54:02 +02:00
Jérôme Duval
ecf36dc934 Rebuild x86_64 regular packages after time_t change. hrev51210 2017-06-19 23:20:34 +02:00
Jérôme Duval
cffce774dd Add a test for wait4(). 2017-06-19 18:33:15 +02:00
Humdinger
ed8fe1c762 fRiSS package updated to v0.8.1 hrev51209 2017-06-18 08:59:45 +02:00
Augustin Cavalier
b988c71571 Update userguide translations hrev51208 2017-06-17 20:50:50 +02:00
Jessica Hamilton
72fc5e6a71 framebuffer: remove driver & accelerant.
* Functionality provided by the framebuffer driver for UEFI
  systems has now been folded into the vesa driver, so is
  no longer needed.
hrev51207
2017-06-16 20:31:24 +12:00
Jessica Hamilton
b9eacd390d vesa: fold framebuffer driver into vesa driver.
* The app_server isn't designed to support two fallback drivers, so
  on systems using UEFI to boot, the framebuffer driver will often
  win when other drivers would likely work on those systems.
2017-06-16 20:29:15 +12:00
Augustin Cavalier
0bb2d0ecad docs/user: Status codes are defined in Errors.h, not Error.h. hrev51206 2017-06-14 18:05:31 -04:00
Jérôme Duval
9690e94af2 Rebuild x86_64 bootstrap packages after time_t change. hrev51205 2017-06-12 21:03:36 +02:00
Jérôme Duval
952318fe76 Bump B_HAIKU_VERSION to B_HAIKU_VERSION_1_PRE_BETA_1. 2017-06-12 21:03:36 +02:00
Humdinger
96bdefaf43 Tracker: Use layout management for "Select..." window
Also remove the BMessageFilter EscapeFilter and use B_CLOSE_ON_ESCAPE
in the window constructor instead.

I moved fExpressionTextControl->MakeFocus(true); down to when the
window is Lock()ed. Otherwise the text control refuses to be focused...
hrev51204
2017-06-12 19:31:06 +02:00
Wiktor
846ac853ce Changed URL input locking to use BMessageRunner.
In the current state, opening a link in a new tab will cause URL input to
become empty. This fixes the issue by changing the way locking works and
implementing a lock timeout. The text passed to SetText() will be instead
stored as previous text, so if the user presses ESC after editing the URL,
URL input will update to the latest sent text (i. e. current URL). Also
fixed two lines the style checker was complaining about.

Fixes #13548.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev51203
2017-06-11 13:19:12 +02:00
Augustin Cavalier
ba25f57aad Tracker: More B_PRId32 -> B_PRIdTIME. hrev51202 2017-06-10 21:17:38 -04:00
Humdinger
4888f2bcd3 Fixed Pe package for gcc2 hrev51201 2017-06-09 13:54:47 +02:00
Rene Gollent
f67172ac7e x86: Fix Pe package.
- Update Pe to 2.4.5-5 to account for BCollator API changes. Thanks to korli
  for flex-related build fixes!
hrev51200
2017-06-07 22:07:13 -04:00
Augustin Cavalier
45de4ebf98 CharacterMap: Miscellaneous sentence-casing fixes after previous commits. hrev51199 2017-06-06 22:10:26 -04:00
Gareth Poole
b3a584c317 Update character map to Unicode 9.0
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-06-06 22:10:20 -04:00
Gareth Poole
86d16b89f8 Update character map to Unicode 8.0
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-06-06 22:09:52 -04:00
Augustin Cavalier
9f6dbb5ff0 Fix the build following the 64-bit time_t switch. hrev51198 2017-06-06 17:38:17 -04:00
Augustin Cavalier
39efd913c1 Switch to a 64-bit time_t everywhere except 32-bit x86.
Thus, BeOS compatibility is preserved (and there is no risk of
breaking GCC5<->GCC2 interoperation on hybrid builds.)

This commit only makes the actual change, the build fixes are
in the next commit.
2017-06-06 17:38:17 -04:00
Augustin Cavalier
6ad3d25212 real_time_clock: Change _user_{get|set}_timezone argument to int32.
Both the user-mode syscalls.h and the kernel-mode one define it
as an int32, not a time_t, and as it's a timezone offset not
an actual time, there's no reason it needs to be one.
2017-06-06 17:38:17 -04:00
Humdinger
4b6eeb5a95 Update Giddy3 package
Making it actually installable, adding a vector icon, add
versions for x86 and x86_64.
hrev51197
2017-06-06 08:51:14 +02:00
Humdinger
9d24a8d3dd Added a few 64bit packages
As tested by Vidrep. Thanks!
hrev51196
2017-06-05 19:38:33 +02:00
Adrien Destugues
36576214eb Remove __STDC_FORMAT/CONSTANT_MACROS
These were added in C99 to avoid interferring with C++, but then C++11
caught up with inttypes/h/stdint.h and removed the need for the macros.
They have disappeared from C11 as a result, and also from current glibc
implementation (https://sourceware.org/bugzilla/show_bug.cgi?id=15366)

So it seems reasonably safe to do the same, and it will save people
having to enable access to these macros explicitly when writing C++.
hrev51195
2017-06-04 17:29:29 +02:00
Mark Hellegers
5721d1791e BHttpTime: Handle sunday properly
Cookies with expiration on a sunday would be misformatted, which could
lead to websites not recognizing them.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes 13543
hrev51194
2017-06-04 07:47:53 +02:00
Adrien Destugues
4edf3ea9c1 ffmpeg: Fix decoding of GBRP colorspace
It turns out the first plane is blue, not green. Yes, this does not
match with the colorspace name...
hrev51193
2017-05-30 21:55:02 +02:00
Adrien Destugues
50f36c92b5 MediaPlayer: fix a memory leak in SRT character set decoding 2017-05-30 20:41:03 +02:00
Adrien Destugues
15afaf0bcc MediaPlayer: detect and convert encoding in subtitles.
The SRT file format unfortunately does not specify a text encoding (in
fact, there isn't even really a specification for it). Just loading the
bytes and assuming UTF-8 does not work so well, so we now try to detect
the encoding from the first line of text found.

Fixes #9668

(sometimes watching a movie is all an adventure!)
hrev51192
2017-05-29 21:51:08 +02:00
Adrien Destugues
982fc0c222 ffmpeg: implement conversion for the GBRP pixel format
ffmpeg decodes some videos in this format: separate planes for G, R and
B values of the pixels. It does not manage to perform the conversion on
its own (we would need to use swscale for that), so provide our own
converter (the code is trivial anyways).
2017-05-29 21:51:08 +02:00
Dario Casalinuovo
ea5cc6995e ffmpeg: Set frame's format, width and height from current context.
Fixes 12953.
hrev51191
2017-05-29 19:26:33 +02:00
Augustin Cavalier
b70a58f95a pthread.h: Remove PTHREAD_RWLOCK_INITIALIZER macro.
This reverts commit 17286dc70a81d1aa8d853a73db0b0ebe79e6ed9a.

As discussed on the mailing list. As it turns out, this was less
than half of an actual implementation of this macro, and there's
technically no way to implement it without introducing (theoretical)
race conditions, in the current design anyway.
hrev51190
2017-05-29 10:54:41 -04:00
Adrien Destugues
756c36e7ee Rotate permission labels in Tracker InfoWindow
This allows to fit a lot more text in the same horizontal space, so we
can fit the label in various locales, without spreading the checkboxes
further apart.

Fixes #6987
hrev51189
2017-05-29 15:27:49 +02:00
Adrien Destugues
fd9afd8ac6 Missing localizations in tracker info window.
Patches from Karvjorm in #6987 (but not directly related to that ticket)
2017-05-29 14:32:36 +02:00
Adrien Destugues
3ec7701779 NaturalCompare: implement using locale kit
The non-locale aware version is kept in src/build/libshared for use on
the host system and in packagefs (kernel add-on). In both cases, ICU is
not available.

Fixes #8192
hrev51188
2017-05-29 14:04:44 +02:00
Adrien Destugues
2b204c565c Remove deprecated BCollatorAddOn and implementations.
Leftover from initial import of the locale kit from OpenTracker. We are
now using ICU for this, so specific add-ons for each language are not
needed.
hrev51187
2017-05-29 08:52:44 +02:00
Adrien Destugues
a19a18f553 Rework BCollator API
- Strength is now set once, instead of at each comparison, to improve
  performance and fix potential locking issues
- Add a way to enable "numeric" collation (aka "natural order")
2017-05-29 08:52:43 +02:00
Augustin Cavalier
affb4e25fe runtime_loader: Remove EXEMODE hack.
This reverts commit 6af29d4f83018c47e1d2f2ff9d54fb198c0888a6.
I'll have a look at our buildbot config and see if it needs fixing.
hrev51186
2017-05-28 12:42:12 -04:00
Adrien Destugues
e8ded73c85 Restore PLL limits for old 85x devices.
These went lost in driver refactoring, and the limits for 9xx were used
instead.

Should help with #13535.
hrev51185
2017-05-28 17:54:48 +02:00
Joseph C, Hill
17286dc70a pthread.h: Add PTHREAD_RWLOCK_INITIALIZER macro.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #8798. One tiny style fix by me (adding spaces around braces).
hrev51184
2017-05-27 12:46:47 -04:00
Alexander von Gluck IV
2f0ca6974e anyboot: Add EFI partition support
* Enables us to add an optional EFI filesystem
  to the anyboot image.
* All existing anyboot behaviour is preserved.
* We still need to figure out how to build bios
  and EFI loaders at the same time on x86.
* The tiny "fake ISO" still needs el-torito
  alt-boot for the EFI loader to work when burned
  to a CD. This makes the EFI loader work when
  written to a hard disk / flash drive.
hrev51183
2017-05-26 16:13:44 -05:00
Augustin Cavalier
6af29d4f83 runtime_loader: Ensure EXEMODE is set.
Stopgap solution for #12373.
hrev51182
2017-05-26 15:31:55 -04:00
James Woodcock
5d5be299d1 multiuser: login process should call setuid() and setgid().
The login process didn't call setuid() or setgid() so all users were
logged in as the super user.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #13533.
2017-05-26 15:11:02 -04:00
James Woodcock
d7b12f71ea kernel/fs: Fix permissions on symlinks in root directory.
Various symbolic links (/bin, for example) in the root directory have
no read, write or execute permissions. This prevents non-privileved users
from logging in.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #13530.
2017-05-26 15:10:18 -04:00
Andrew Lindesay
f943fa465c JSON Parser : Documentation migration
This commit migrates the JSON overview documentation that
was recently added from Markdown to Doxygen.
hrev51181
2017-05-26 21:05:14 +12:00
Akshay Agarwal
ec6735b596 Handle UDAT_DAY_OF_WEEK_FIELD in BDateFormat::GetFields().
Handle the UDAT_DAY_OF_WEEK_FIELD case and assign the corresponding
BDateElement object i.e B_DATE_ELEMENT_WEEKDAY to the fields array
at the appropriate offset.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13529
hrev51180
2017-05-26 08:22:24 +02:00