Commit Graph

57072 Commits

Author SHA1 Message Date
Jérôme Duval
ecf36dc934 Rebuild x86_64 regular packages after time_t change. 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 2017-06-18 08:59:45 +02:00
Augustin Cavalier
b988c71571 Update userguide translations 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.
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. 2017-06-14 18:05:31 -04:00
Jérôme Duval
9690e94af2 Rebuild x86_64 bootstrap packages after time_t change. 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...
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>
2017-06-11 13:19:12 +02:00
Augustin Cavalier
ba25f57aad Tracker: More B_PRId32 -> B_PRIdTIME. 2017-06-10 21:17:38 -04:00
Humdinger
4888f2bcd3 Fixed Pe package for gcc2 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!
2017-06-07 22:07:13 -04:00
Augustin Cavalier
45de4ebf98 CharacterMap: Miscellaneous sentence-casing fixes after previous commits. 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. 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.
2017-06-06 08:51:14 +02:00
Humdinger
9d24a8d3dd Added a few 64bit packages
As tested by Vidrep. Thanks!
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++.
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
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...
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!)
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.
2017-05-29 19:26:33 +02:00
Augustin Cavalier
b70a58f95a pthread.h: Remove PTHREAD_RWLOCK_INITIALIZER macro.
This reverts commit 17286dc70a.

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.
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
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
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.
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 6af29d4f83.
I'll have a look at our buildbot config and see if it needs fixing.
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.
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).
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.
2017-05-26 16:13:44 -05:00
Augustin Cavalier
6af29d4f83 runtime_loader: Ensure EXEMODE is set.
Stopgap solution for #12373.
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.
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
2017-05-26 08:22:24 +02:00
Rahul Jain
7ce3cbfbe8 "fail-safe video mode" is confusing.
The same wording was used for two unrelated things: using the VESA
driver, and forcing a specific resolution. Relabel the menu items to
make it clear that they are not related.

fixes #8887

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-05-25 11:46:02 +02:00
Automatic Committer
ebd5f1ef6b Update pci.ids from pciids.sourceforge.net 2017-05-25 05:20:19 +02:00
Alexander von Gluck IV
d8219f96da bootloader/bios: Add tracing of real-mode bios interrupt calls 2017-05-24 08:18:54 -05:00
Alexander von Gluck IV
9d9f76edff bootloader/hpet: Fix tracing on x86_64 2017-05-23 21:54:10 -05:00
Dale Cieslak
33c9787d10 Fixes #13526 so that BFont::Blocks properly set bitmask for Unicode blocks in a font.
ParseFcMap had several logic errors.
- fixed variable being initialized in the wrong part of the loops
- fixed problem of ANDing bit with 0x8 instead of 0x1
- changed some variable names; 'foundStartBlock' implies a boolean but
it is a block number, so it is now just 'startBlock'
- added const BITS_PER_BLOCK for magic number 32
- added short-circuit for empty full or partial blocks
- initialized variables to -1 when 0 is a valid value
- added code to handle when the end of a block is reached and a range
was started but never finished.

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

Fixes #13526
2017-05-22 20:53:12 +02:00
Rene Gollent
76ca671925 Debugger: Implement listener hooks in ConnectionConfigWindow.
ConnectionConfigWindow:
- When notified that settings have been changed by the current config view,
  validate them, and if complete, enable the connect button.
- Implement message handler for connect button.
2017-05-21 19:54:48 -04:00