Commit Graph

13149 Commits

Author SHA1 Message Date
Vincent Sanders
8bd19b1cf3 allow moving forward and back clicking in window 2018-02-04 22:32:45 +00:00
Vincent Sanders
4953bd0fe1 allow clicking to change page 2018-02-03 23:57:12 +00:00
Vincent Sanders
5b02a041fa call page render interface 2018-01-29 00:03:50 +00:00
Vincent Sanders
f0af2265ff set the pdf title if available 2017-12-31 18:11:49 +00:00
Vincent Sanders
bbb144bcbd use nspdf library to parse document 2017-12-31 15:21:09 +00:00
Vincent Sanders
0d486a1ffe Add initial content handler for PDF format 2017-12-31 00:05:28 +00:00
Chris Young
fdaad39a57 Don't destroy layers if we never created them. 2017-12-23 14:17:24 +00:00
Chris Young
6e5344464b Ensure we have a layer before deleting it. 2017-12-23 14:14:20 +00:00
Sebastian Barthel
3c0ff81be4 Messages: Update German translation. 2017-12-18 14:25:25 +00:00
Vincent Sanders
3b88e0ef9e fix amigaos3 building 2017-12-11 13:17:14 +00:00
Vincent Sanders
3ac65ef6e2 add m68k to amigaos targets builds 2017-12-11 12:48:28 +00:00
Chris Young
32adce8a09 Explicitly open dos.library 2017-12-10 23:20:18 +00:00
Vincent Sanders
eba0fd70eb clean up toolbar configuration to be slightly less buggy 2017-12-10 22:57:06 +00:00
Vincent Sanders
30ee1f630a Improve cross compile tool building and error reporting
This improves error reporting when no compiler is available. Improves
handling of compiling of build machine tools (nsgenbind) in a cross
compile environment.
2017-12-07 07:56:50 +00:00
Vincent Sanders
7a8a8cafd5 fixup opensuse zypper install packages 2017-12-03 15:41:14 +00:00
Vincent Sanders
798f2dbc1c Add openSUSE zypper package management support to env script
Thanks to Thorsten Otto <admin@tho-otto.de> for providing the initial
patch to enable package management on openSUSE. This has been tested
on Leap 42.3
2017-12-03 11:32:36 +00:00
Vincent Sanders
1a7fc08e04 add crypto library to windows link to cope with updated openssl 2017-11-24 15:39:31 +00:00
Chris Young
acf5a20a2b Fix switching back to own screen after using a public screen. 2017-11-16 19:47:30 +00:00
Chris Young
7f61cc15ea Fix radio button labels on OS3 (thx Mikhail Malyshev) 2017-11-14 23:19:00 +00:00
Chris Young
b099a8582e Remove the iconify gadget from the OS3 build
It is unlikely to ever work and I'm bored of hearing about it not working.
2017-11-13 19:01:45 +00:00
Michael Drake
046977507b Duktape: Squash -Wcast-align warnings on armhf. 2017-11-02 16:34:59 +00:00
Michael Drake
8f73414c06 Revert "Duktape: Attempt to squash aarch64 cast increases required alignment warnings."
This reverts commit 8cc3adee5a.

These warnings don't show up with the CI updated to Debian Stretch.
2017-11-01 16:02:20 +00:00
Michael Drake
8cc3adee5a Duktape: Attempt to squash aarch64 cast increases required alignment warnings.
content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function':
content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) h)->target);
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind':
content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align]
h_boundtarget = (duk_hboundfunc *) h_target;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject':
content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject':
content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz':
content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call':
content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align]
h_bound = (duk_hboundfunc *) func;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof':
content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) func)->target);
^
2017-10-30 16:50:38 +00:00
Michael Drake
448228a30c Duktape: Use align-by-8 on all platforms by default
This reproduces upstream commit de7ae8a2ecc597e1c2024c15dbeae4d28c9f2a2c.

*   de7ae8a2ec

It was applied to master after the release of Duktape 2.2.0.  See also:

*   https://github.com/svaarala/duktape/issues/1783
*   https://github.com/svaarala/duktape/issues/812#issuecomment-337058737
2017-10-29 15:17:06 +00:00
Michael Drake
0687687c37 Duktape: Revert alignment of struct duk_hobject. 2017-10-29 15:16:21 +00:00
Michael Drake
ea7da966de Duktape: Another attempt to squash aarch64 increases required alignment warnings. 2017-10-29 14:50:10 +00:00
Michael Drake
6619be2b72 Duktape: Attempt to squash aarch64 cast increases required alignment warnings.
content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function':
content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) h)->target);
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind':
content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align]
h_boundtarget = (duk_hboundfunc *) h_target;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject':
content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject':
content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz':
content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call':
content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align]
h_bound = (duk_hboundfunc *) func;
^
content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof':
content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) func)->target);
^
2017-10-29 14:02:10 +00:00
Michael Drake
341c22d2a5 Windows: Use bitmap width as minimum width, since content width may be 0. 2017-10-25 17:51:25 +01:00
Chris Young
9af420b7af Remove excess logging 2017-10-24 19:49:10 +01:00
Michael Drake
2557335f1b Squash GCC7 warning for ‘~’ on a boolean expression. 2017-10-23 09:50:27 +01:00
Michael Drake
e418416c77 Squash remaining GCC7 -Wimplicit-fallthrough warnings. 2017-10-23 09:46:02 +01:00
Michael Drake
9925762de8 Squash some GCC7 -Wimplicit-fallthrough warnings. 2017-10-22 13:49:29 +01:00
Michael Drake
a47edd3733 Duktape: Make declarations match definitions for inline functions. 2017-10-21 16:33:03 +01:00
Michael Drake
8e7fc8e2ac Duktape: Make declarations match definitions for fastint-enabled functions.
Restore ff20edbfbe for 2.2.0 import.
2017-10-21 16:23:16 +01:00
Michael Drake
0759139c61 Duktape: Make declaration match definition for duk_refzero_check_fast()
Restore 9a8577fead for 2.2.0 import.
2017-10-21 16:21:48 +01:00
Michael Drake
0a7f62ceb0 Duktape: Make declarations match definitions for duk_raw_read_xxx_be
Restore 6d63f7959a for 2.2.0 import.
2017-10-21 16:20:33 +01:00
Ashish Gupta
cbd23092d5 Handle HOME and END keys in framebuffer 2017-10-21 16:01:50 +01:00
Michael Drake
6f33e48ca3 Duktape: Prevent clang static analysis.
Restore 336326af3a for 2.2.0 import.
2017-10-21 15:54:33 +01:00
Michael Drake
3356906904 Duktape: Update to 2.2.0 release. 2017-10-21 15:51:55 +01:00
Michael Drake
f7f18042bf CSS: Wrappers for computed style getters that return unsupported values.
We don't yet handle the Flexbox-related values for certain properties.
2017-10-20 17:46:37 +01:00
Vincent Sanders
7fa4b36245 Update version for next development cycle 2017-10-15 14:44:53 +01:00
Vincent Sanders
3c92fc6f29 Merge branch 'heads/release/3.7' 2017-10-15 14:42:24 +01:00
Vincent Sanders
cf6327fcff Update version files for release 2017-10-15 14:39:24 +01:00
Vincent Sanders
a66ea42b55 Update credits and licence files copyright years 2017-10-15 14:34:04 +01:00
Michael Drake
f64a22c228 CSS hints: Ensure length and unit are initialised for vertical-align. 2017-10-13 10:28:42 +01:00
Michael Drake
8e6cf1e1d4 Framebuffer: Don't create 0x0 bitmaps if content width is 0. 2017-10-13 10:28:42 +01:00
Chris Young
2f466751ca Ensure X DPI set correctly 2017-10-03 18:21:19 +01:00
Chris Young
7ca3308bd1 Widen available values for DPI 2017-10-03 18:03:58 +01:00
Michael Drake
8f0f44e3d1 Treeview: Ignore mouse leaving the treeview window. 2017-09-27 17:47:34 +01:00
Chris Young
d2534e0e74 Button disable state updates should now work correctly on OS3 2017-09-26 23:36:56 +01:00