Michael Drake
2e844636cb
nscolour: Add nscolour module for NetSurf UI colours.
2020-04-07 21:32:27 +01:00
Michael Drake
0ab6249a64
Tests: Update test data for improved nsoption colour rendering.
2020-04-07 21:32:27 +01:00
Michael Drake
bdd1d2039c
nsoption: Improve how we show colours in about:config.
2020-04-07 21:28:12 +01:00
Michael Drake
2da993756c
nsoption: Use colour_rb_swap macro.
2020-04-07 21:28:12 +01:00
Michael Drake
30b9c088b0
Plot style: Add half lighten/darken helper variants.
2020-04-07 21:28:12 +01:00
Michael Drake
02400588e4
Local history: Improve look of keyboard nav cursor highlight.
2020-04-06 11:30:48 +01:00
Daniel Silverstone
cbc28d2c98
html: Also close js thread on html_stop()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-29 14:31:42 +01:00
Vincent Sanders
6b0cb5479f
fix source object backing store documentation
...
fix formatting
add section on version 2 layout
2020-03-26 23:38:50 +00:00
Vincent Sanders
51dc59ecc9
remove unused constants
2020-03-26 23:38:50 +00:00
Daniel Silverstone
1053bcd3c1
Makefile: Add STMTEXPR detection for wapcaplet
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-26 22:05:21 +00:00
Vincent Sanders
34508fc3cd
For some reason atari mkdir_all operation was using the wrong path separator
2020-03-25 21:54:12 +00:00
Vincent Sanders
959c561eb3
unit testing table of contents marker was wrong case
2020-03-24 13:03:51 +00:00
Vincent Sanders
06b709f71a
Improve unit testing documentation headers and code blocks
2020-03-24 08:54:40 +00:00
Vincent Sanders
5bc21c0467
fix use of headings in integration test document
2020-03-24 08:49:29 +00:00
Vincent Sanders
fa1f1dcd11
fix start stop test to set launch options correctly
2020-03-23 17:41:05 +00:00
Vincent Sanders
9ec17b011b
Document the integration test setup
2020-03-23 17:41:05 +00:00
Vincent Sanders
e070f13093
integration test remove remaining windows when browser has been quit
2020-03-23 17:41:05 +00:00
Vincent Sanders
710818f346
fix integration test repeat "max" handling
2020-03-23 17:41:05 +00:00
Vincent Sanders
9cb7d0ab48
make conditionals optional in integration test sleep-ms action
2020-03-23 17:41:05 +00:00
Vincent Sanders
19dded8cfa
add ability for monkey farmer to launch browser with environment variables set
2020-03-23 17:40:53 +00:00
Daniel Silverstone
4cbdcc4aae
about: Add handling for unknown about: page
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 14:09:09 +00:00
Daniel Silverstone
9014dc7381
browser_window: Don't attempt to unref NULL lwc string
...
Fixes #2741
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 13:35:45 +00:00
Daniel Silverstone
d3a80a9aae
Monkey: Clean up on completion of downloads
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 13:08:36 +00:00
Daniel Silverstone
677d757a6c
browser_window: Re-add clearing of loading_content in download
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 12:59:22 +00:00
Daniel Silverstone
6a2ce2b3c7
HTML: Use new js_closethread()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 10:18:30 +00:00
Daniel Silverstone
8f7bfb7b56
Window: Add flag to ensure we don't set timeouts after close
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 10:14:31 +00:00
Daniel Silverstone
d1e2eef18b
JS: Add concept of js_closethread
...
In order to better model content close vs destroy, add the concept
of closing a thread to the JS interface.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 10:14:00 +00:00
Daniel Silverstone
efbfaa0cb1
JS: Move ownership of jsthread from browser to htmlc
...
Since it makes more sense for the htmlc to be responsible for
when the JS thread gets destroyed, move its lifetime from the
responsibility of the browser window to the html content.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 10:00:29 +00:00
Daniel Silverstone
98e461a3b3
Dukky: Make heaps refcounted too
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 09:59:52 +00:00
Daniel Silverstone
80e7ac7345
Dukky: Add refcounting to threads
...
In order to cope with threads which manage to navigate entirely
while executing (sadly possible) we need to handle the possibility
that a thread is destroyed by the browser but still needs to live
until it returns from whatever exec it was doing at the time.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 20:49:40 +00:00
Daniel Silverstone
3c4652c1c3
Dukky: Upgrade dukky binding to support new heap/thread split
...
Update the duktape bindings and dukky interface to support the
new JS heap/thread split. Heaps may have multiple active threads
though in general there will only be 2 at a time.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 20:01:38 +00:00
Daniel Silverstone
66a23c2560
Browser: Split JS threads between current and loading
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 19:35:15 +00:00
Daniel Silverstone
337082f715
JS: Add concept of thread destroy
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 18:57:57 +00:00
Daniel Silverstone
17b28e85c1
JS: Split concept of JS context into heap and thread
...
In preparation for proper splitting of Javascript support into
heaps and threads, this renames the types and corrects the no-js
builds to still work. At this time no substantive change in
semantics exists, and the duktape build won't work.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 18:30:41 +00:00
Daniel Silverstone
313dc9b099
JS: Remove unused slow script callback
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-21 18:07:50 +00:00
Michael Drake
2503b17f02
nsurl: Fix parent path length.
2020-03-13 14:32:33 +00:00
Michael Drake
82e74efeab
Browser window: Clean up cert chains when bw is destroyed.
2020-03-12 17:35:28 +00:00
Michael Drake
c5aaf45d8e
Fetch: Squash use of uninitialised value in fetch_send_callback()
...
The `last_msg` member of `struct fetch` was not initialised on
creation of the structure.
2020-03-12 17:22:28 +00:00
Michael Drake
ca29c3b512
Framebuffer: Make some log messages deep debug.
2020-03-12 17:21:28 +00:00
Ori Bernstein
bf427e3b2a
fix nsurl sizeof/offsetof
2020-03-12 15:07:08 +00:00
Michael Drake
7d06021e21
nsurl: Make nusrl component dump more usable.
...
This is only a development aid, and not something that should
be called in production.
2020-03-11 11:02:40 +00:00
Vincent Sanders
2c549b28fb
add page information ui elements to GTK frontend
2020-03-11 08:33:58 +00:00
Michael Drake
f59c415ef7
GTK: Initial page-info display.
2020-03-11 08:33:58 +00:00
Michael Drake
72ff12b3ae
Docs: Update for nsgtk3 rename.
2020-03-10 14:45:23 +00:00
Chris Young
b371454344
AmiSSL implies OpenSSL
2020-03-06 20:42:34 +00:00
Chris Young
47b689c5e9
Use nsamiga as defined in makefile
2020-03-06 20:35:56 +00:00
Chris Young
9664a8ac76
Mod os3support files so file.c builds
2020-03-06 20:29:45 +00:00
Chris Young
962431dd3d
Rename mask to msk
...
There's something about "mask" which causes the version of GCC we use for the m68k-amigaos build to misinterpret the code
2020-03-06 20:15:52 +00:00
Michael Drake
0e6ba162b2
Internal content: Restyle certificate viewer page.
2020-02-24 21:54:54 +00:00
Daniel Silverstone
14286b381b
fs_backing_store: Remove cache on failure to init
...
If we fail to init the control file for reasons other than it
not being found, we blow away the cache in its entirety and then
try again. We warn if the removal fails, but carry on regardless
since right now the worst that'll happen is that we'll end up
with more on disk than we know about in the cache.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 21:01:58 +00:00