Commit Graph

12026 Commits

Author SHA1 Message Date
Chris Young
e27525123b Make an effort to free resources when a fatal error occurs during initialisation 2015-11-24 23:22:15 +00:00
Chris Young
fa87f197c2 Abort if we're on a write-protected volume
Partial fix for 2397
2015-11-24 20:57:40 +00:00
Chris Young
7733ece472 Remove the setting of mimetype in default tooltypes
NetSurf is a lot more liberal now in accepting files, so the mimetype guessing routines are sufficient without forcing CSS files to be recognised as text/css.  The ability to add a tooltype to troublesome files remains.
2015-11-24 20:35:18 +00:00
Dave Higton
709a23aa34 Increase size of download window. 2015-11-22 21:49:11 +00:00
Daniel Silverstone
4137739b8a Tests for body onload behaviour 2015-11-22 16:53:22 +00:00
Daniel Silverstone
c92726d3aa Support (in a slightly dodgy way) the onload event 2015-11-22 16:53:04 +00:00
Daniel Silverstone
180a8f452e Add missing finaliser -- releases events properly 2015-11-22 16:52:10 +00:00
Daniel Silverstone
b42a910ed9 Ensure that those events listed in 8.1.5.2 as forwarded from body to window, don't get registered for listeners on body 2015-11-22 14:50:35 +00:00
Daniel Silverstone
9fe01f09c8 Replace duktape's default allocators. Realloc to zero is not guaranteed to free on all platforms 2015-11-22 14:36:24 +00:00
Daniel Silverstone
b41b672fe5 Hacky fix to prevent attribute fetch on document objects 2015-11-22 09:55:19 +00:00
Chris Young
f7ebec7142 Added Amiga ToolTypes parser.
Initially this allows setting the location of the Users directory, and the current user's name.
2015-11-22 00:06:10 +00:00
Chris Young
5e24a802b0 Optimise for PPC 2015-11-17 23:24:34 +00:00
Chris Young
47fa0bf7a2 Faster hashing 2015-11-17 23:19:30 +00:00
Chris Young
af71481a5f Use a hash as the skiplist key 2015-11-17 18:50:14 +00:00
Chris Young
4c2d40b35e Import FNV-1a 2015-11-17 18:43:42 +00:00
Chris Young
c659e11585 Fix refresh of hotlist menu/toolbar when hotlist window is closed
This definitely used to work...!
2015-11-16 21:10:35 +00:00
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