Chris Young
6d474e74e6
Prettier hotlist toolbar
2015-11-16 21:05:01 +00:00
Chris Young
479b8acce8
Don't position the statusbar based on font height
...
The statusbar has a finite height because it is sitting in a window border which does not adjust with font size.
2015-11-16 19:01:13 +00:00
Chris Young
5ad337a7b5
Don't translate F8/F9/F10 into printable characters.
2015-11-16 00:16:52 +00:00
Chris Young
6fbe30c617
Improve the position of the status bar gadget at different font sizes
2015-11-15 17:00:01 +00:00
Chris Young
045b254c15
Add missing NSOPTS/M command line arg to documentation.
2015-11-15 14:13:37 +00:00
Chris Young
0feb291c2e
Add F8/F9/F10 as shortcuts to the scale functionality
2015-11-15 14:07:25 +00:00
Chris Young
bf6d56c7fe
Allow space bar to be used to page down
2015-11-15 13:52:55 +00:00
Chris Young
28be6d2d79
Don't try to write to an uninitialised file handle.
2015-11-15 01:27:29 +00:00
Michael Drake
e5a2538b6d
Make it clearer why we're asserting.
2015-11-11 22:22:19 +00:00
Michael Drake
401cc36924
Add extra logging to curl poll fn when not suppressing curl debug.
2015-11-11 10:39:12 +00:00
Daniel Silverstone
4d1ef3bac4
Add support for retrying timed-out cURL fetches.
...
This is an attempt to amelioriate the situation found in #2384 where
we see the cURL connect() failing to complete. Based on the pcap
from the bug log, we believe that RISC OS is likely failing to signal
the completion of the connection to cURL. As such, cURL times out.
This change permits retries of timed out connections in the hope that
a fresh socket FD might subsequently function correctly. The defaults
chosen mean that the previous behaviour of 30 seconds before timeout
is reported will remain the same, but in that time we will make 3 separate
attempts to connect the socket.
2015-11-10 21:51:54 +00:00
Vincent Sanders
727bbbd216
Protect against attribute not being present
2015-11-09 19:35:41 +00:00
Chris Young
125f131714
Forcibly enable cut/copy/paste menu items until such a time as I can figure out why they are disabling at the wrong times.
2015-11-06 19:38:24 +00:00
Chris Young
50393c9fc6
Update Italian messages (credit: Samir)
2015-11-06 19:21:30 +00:00
Michael Drake
896c71abbe
Only fire click event on button 1 press.
2015-11-06 15:55:36 +00:00
Michael Drake
5c719d540e
Assert that we have a node.
2015-11-06 15:55:33 +00:00
Michael Drake
2f27852229
Always consider the root element's box.
...
Previously we didn't consider it at all.
2015-11-06 14:23:36 +00:00
Vincent Sanders
718f17a57f
Use automatically generated event handers on Document
2015-11-06 11:06:07 +00:00
Vincent Sanders
0397a6637d
Use automatic generation for all HTMLElement event handler attributes
2015-11-05 23:58:16 +00:00
Vincent Sanders
5e4011bee7
Improve the manual section in the gtk manual page
2015-11-05 23:15:01 +00:00
Vincent Sanders
c3b7e650c5
Fix segmentation fault when a string option is set to NULL
...
The check for a user option being a default value was not protecting
against the value being set to NULL.
2015-11-05 14:47:45 +00:00
Vincent Sanders
b54174e54a
Add CSS object model and DOM parsing IDL ready for implementation
2015-11-04 16:15:00 +00:00
Dick Tanis
a7324d39a4
Updated Dutch messages for NetSurf
2015-11-03 23:10:39 +00:00
Michael Drake
ed5fd91843
Fix overflow-{x|y} handling.
2015-11-01 14:06:06 +00:00
Daniel Silverstone
336326af3a
Try and prevent duktape from taking part in clang analysis
2015-11-01 11:53:48 +01:00
Daniel Silverstone
e3a5fcf816
Rudimentary Event object binding
2015-11-01 11:23:29 +01:00
Daniel Silverstone
1284731d1a
Support generating event objects during events
2015-11-01 11:23:15 +01:00
Daniel Silverstone
c2d51384c1
Current target, not target, otherwise events are fired in the wrong place
2015-11-01 10:42:04 +01:00
Daniel Silverstone
6eb6208159
Log the phase for event debugging
2015-11-01 10:42:04 +01:00
Michael Drake
bfe3e6abbc
Implement Element::hasAttribute().
2015-11-01 09:28:15 +00:00
Michael Drake
ee5efa1349
Element::getAttribute() returns DOMString? which means NULL if none.
2015-11-01 09:17:04 +00:00
Michael Drake
f65ea4b096
Add Element::getAttribute() implementation.
2015-10-31 23:23:38 +00:00
Daniel Silverstone
0247bed13f
Example getter/setter pair
2015-10-31 22:59:42 +01:00
Daniel Silverstone
39d967e94b
Support for event getters
2015-10-31 22:59:42 +01:00
Daniel Silverstone
47794b32ff
Restore volatility introduced in fd9aa16ece
2015-10-31 22:59:41 +01:00
Michael Drake
7a6f0c765a
Fix descendant bounding box calcs to work with overflow-{x|y}.
2015-10-31 19:11:24 +00:00
Daniel Silverstone
43f29e4311
Expose a few more bits
2015-10-31 20:11:10 +01:00
Michael Drake
576488f14c
Don't #define things that might appear in oslib later.
2015-10-31 18:37:16 +00:00
Robert Sprowson
469147b593
Apply Sprow's fix for bug #2336 .
...
I've not been able to test this, but since Sprow was also the original
reporter, it seems safe to apply.
Bug #2336 : Colours rendered incorrectly in 4k and 64k colour modes.
2015-10-31 18:30:35 +00:00
Michael Drake
c22706b904
Update duktape to regexp-canonicalize-lookup branch.
...
- Add an optional 128kB lookup to optimize regexp canonicalization #411 .
https://github.com/svaarala/duktape/pull/411
This speeds up worst-case case-insensitive unicode regex handling.
2015-10-31 17:51:57 +00:00
Daniel Silverstone
3aacba15f8
Don't call up if the parent's jscontext has gone NULL in the meantime
2015-10-31 18:26:43 +01:00
Daniel Silverstone
60c52e1eaf
Change click handling to fire_dom_event
2015-10-31 18:01:38 +01:00
Daniel Silverstone
310162474a
Add fire_dom_event, it's in a bad place but we can move it later
2015-10-31 18:01:38 +01:00
Daniel Silverstone
4ca737408c
Handle events
2015-10-31 18:01:38 +01:00
Daniel Silverstone
b1d477219d
Shunt the handling of new elements
2015-10-31 18:01:38 +01:00
Daniel Silverstone
00eb6a8e88
Further work toward event handling
2015-10-31 18:01:38 +01:00
Daniel Silverstone
5a107a466b
Initial work toward JS event support
2015-10-31 18:01:38 +01:00
Michael Drake
71f296a41c
Fix dom document leak for framesets.
2015-10-31 16:14:40 +00:00
Michael Drake
519775a65c
Don't leak frame scrollbars.
2015-10-31 16:14:40 +00:00
Dave Higton
f2e56834be
When an image content cannot be converted prevent export as sprite
...
If an image is not converted, for example it is a CMYK jpeg this
prevents a crash if trying to export the image as a RISC OS sprite.
2015-10-31 15:49:34 +00:00