Michael Drake
e5ddbd3934
Remove unused variable.
2015-12-20 12:12:36 +00:00
Michael Drake
0492966c86
Remove erroneous redeclaration of variable in new scope.
2015-12-20 12:04:21 +00:00
Michael Drake
abf8d542b1
Don't set DUK_USE_DEEP_C_STACK since the option has been removed.
2015-12-14 16:05:10 +00:00
Michael Drake
6d792468c5
Enable the REGEXP_CANON_WORKAROUND option
...
We need to enable this option now as it is off by default, but it was on in
the regexp-canonicalize-lookup branch we used previously.
2015-12-14 15:53:57 +00:00
Michael Drake
de637fa571
Restore prevention of clang static analysis from 336326af3a
2015-12-14 15:51:31 +00:00
Michael Drake
9d097b37f6
Restore volatility introduced in fd9aa16ece
2015-12-14 15:49:36 +00:00
Michael Drake
91bcaaccfd
Update to duktape snapshot suggested by svaarala.
...
http://duktape.org/snapshots/duktape-1.3.99-20151209151055-v1.3.0-383-gb7b1c5f-duk-config-improvements.tar.xz
2015-12-14 15:47:44 +00:00
Chris Young
d6c34b8039
Soak up -v so command line processing still works with logging enabled
2015-11-27 12:36:40 +00:00
Chris Young
b962d3db82
Revert "Skip invalid commandline args instead of aborting"
...
This reverts commit 4ad94124a6
.
2015-11-27 12:32:13 +00:00
Chris Young
d7907bfe4c
Allow specifying location of the users directories on the commandline
...
Arg USERSDIR/K
2015-11-25 00:11:24 +00:00
Chris Young
80e14dce52
Move ReadArgs commandline processing earlier whilst leaving core commandline processing where it was previously
2015-11-24 23:58:54 +00:00
Chris Young
4ad94124a6
Skip invalid commandline args instead of aborting
2015-11-24 23:55:40 +00:00
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