URL input is considered locked when it is focused and original text was
changed. Pressing ESC will now change URL input's text to the current URL.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This makes it a lot easier to use and test pc_serial, even on machines
with a single serial port (COM2 is getting even more rare than COM1
these days).
* built in non-strict mode: dovecot, qupzilla, r
* build failed: intltool (dep of gcab and transmission), python_html2text, vlc,
cython (dep of pyenet)
* not built because of an unsafe source: qutim
* removed compatibility packages for giflib, icu, tiff, libpng, libwebp, libbluray,
libpcre, libvpx, ncurses, readline.
* built in non-strict mode: dovecot, qupzilla, r
* build failed: intltool (dep of gcab and transmission), python_html2text, vlc,
cython (dep of pyenet)
* not built because of an unsafe source: qutim
* removed compatibility packages for giflib, icu, tiff, libpng, libwebp, libbluray,
libpcre, libvpx, ncurses, readline.
* built in non-strict mode: dovecot, qupzilla, r
* build failed: intltool (dep of gcab and transmission), python_html2text, vlc,
cython (dep of pyenet)
* not built because of an unsafe source: qutim
* removed compatibility packages for giflib, icu, tiff, libpng, libwebp, libbluray,
libpcre, libvpx, ncurses, readline.
* built in non-strict mode: dovecot, qupzilla, r
* build failed: intltool (dep of gcab and transmission), python_html2text, vlc,
cython (dep of pyenet)
* not built because of an unsafe source: qutim
* removed compatibility packages for giflib, icu, tiff, libpng, libwebp, libbluray,
libpcre, libvpx, ncurses, readline.
* 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.
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...
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>
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.
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.
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++.
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
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!)
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).
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.
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