Daniel Silverstone
c47cc08883
Ensure we set the defaults for the log options to those compiled in
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-28 20:49:12 +01:00
Vincent Sanders
13a5b8f74a
make curl fetcher log debug using NSLOG
...
stop curl fetcher logging being special case to standard error and
use the fetch catagory at DEBUG level instead.
The special suppress_curl_debug option is currently still obeyed
2019-05-28 11:16:49 +01:00
Daniel Silverstone
57094c84ed
Expose NaN on Window
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 20:11:52 +01:00
Daniel Silverstone
196c2fc845
Add dodgy window method to clear callbacks
...
Until we can determine *how* the compartment isn't cleaning
up properly in the duktape context, this will at least mean
we don't get unpleasant callback related issues when compartments
are reset during browsing.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 16:23:37 +01:00
Daniel Silverstone
87be4e7a17
Log when we finalise window objects
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 16:13:57 +01:00
Daniel Silverstone
c42039c546
Use generics for makeListProxy properly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 16:13:57 +01:00
Daniel Silverstone
9ee92823e2
Use generics for makeListProxy properly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 16:13:57 +01:00
Daniel Silverstone
78385629c3
Remove unnecessary generics magic
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-25 16:13:57 +01:00
Vincent Sanders
12bba5a1cc
fix block conditional checks to be orred instead of anded
2019-05-20 10:07:53 +01:00
Vincent Sanders
ea9bc4e2be
allow block to use elapsed timer as a condition
2019-05-18 23:45:52 +01:00
Vincent Sanders
cb178b43be
update ca bundle
2019-05-18 22:39:39 +01:00
Vincent Sanders
5bd54f4c0c
allow render checks to be empty
2019-05-18 22:39:15 +01:00
Vincent Sanders
2db39b1f7d
quieten down windows debug
2019-05-17 18:15:58 +01:00
Chris Young
a5e4bf8220
Make SimpleRefresh the default.
...
This reduces memory use.
2019-05-12 16:43:01 +01:00
Chris Young
f139c4fa4d
Add a render hook to ensure the browser window is redrawn when needed
...
This fixes the occasional damaged areas in SimpleRefresh mode
2019-05-12 16:38:48 +01:00
Chris Young
336a7dc170
Mark functions as static
2019-05-10 22:11:21 +01:00
Chris Young
6ac65a3674
Hide the message port which is shared amongst all Amiga NetSurf windows
2019-05-10 21:59:03 +01:00
Chris Young
24b910f4ff
Make the window list more private
...
TODO: fix arexx.c to not need it
2019-05-10 21:49:00 +01:00
Chris Young
a5051c7128
Use new beep function
2019-05-10 21:34:22 +01:00
Chris Young
97010ecef5
Make screen pointer accesible through an accessor function only
2019-05-10 20:59:30 +01:00
Chris Young
c5a07fac76
Replace global current gui_window with an accessor function
2019-05-10 20:32:40 +01:00
Vincent Sanders
8f9d434b12
make win32 keyboard handling in browsing window functional
...
makes the drawable area widget for the browser display use windows
unicode input and copes with surrogate pairs for full unicode input
coverage.
fixes the keydown handling to only the necessary navigation operations
like left, right up and down etc.
2019-05-09 23:27:59 +01:00
Vincent Sanders
95b8d12950
implement windows clipboard functionality
...
This allows clipboard to operate (cut, copy, paste and delete) in the
win32 front end. The clipboard is set and read in windows unicode
mode and then converted to/from utf-8 for the browser core.
2019-05-09 23:11:05 +01:00
Chris Young
896e531a7f
fix os3 build
2019-05-08 18:35:51 +01:00
Chris Young
944d8fc412
try storing form_control in the hook data
...
it doesn't appear to be needed anywhere else
2019-05-08 18:12:22 +01:00
Chris Young
19742c826a
Make gadget object enum private to gui.c
2019-05-08 17:51:53 +01:00
Chris Young
76618d9588
make gui_window_2 private to gui.c
2019-05-08 17:48:50 +01:00
Chris Young
df5c18315f
Pass ptr to clicktab var instead of func calls
2019-05-08 17:29:14 +01:00
Chris Young
d0df3fa4b3
more accessor for gui_window_2
2019-05-08 01:44:44 +01:00
Chris Young
1cd30fdb3c
Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure
2019-05-08 00:59:04 +01:00
Chris Young
ae36d35728
throbber crap
2019-05-08 00:56:07 +01:00
Chris Young
a5aa53657c
get the window title from a gui_window
2019-05-08 00:35:09 +01:00
Chris Young
1edf8f2848
set find window function
2019-05-08 00:30:51 +01:00
Chris Young
c64d48005c
Try moving form_control into gui_window
2019-05-08 00:18:43 +01:00
Chris Young
4713e1c8af
Accessor for the select menu control pointer
2019-05-08 00:16:06 +01:00
Chris Young
ca1a519cfa
remove direct access to gui_window_2's gui_window
2019-05-08 00:08:35 +01:00
Chris Young
b9dd0a60c3
accessor for window from gui_window_2
2019-05-07 23:43:15 +01:00
Chris Young
83c3831853
set menu to window through a function
2019-05-07 22:22:12 +01:00
Chris Young
67af746324
Get menu structure directly from gui_window
2019-05-07 22:07:57 +01:00
Chris Young
6d1f480f01
Get the shared window's window structure directly from the gui_window
...
In a lot of places gui_window_2 was only being accessed for Window
2019-05-07 21:58:09 +01:00
Chris Young
5c7b5476f0
Make gui_window private to gui.c
...
TODO: ratonalise these accessors
2019-05-07 21:45:40 +01:00
Michael Drake
b330fd9f0e
HTML: Update selection media data for new libcss API.
2019-05-07 14:01:51 +01:00
Michael Drake
31655be43b
CSS: One inch is 96 css pixels.
2019-05-07 09:53:31 +01:00
Michael Drake
51feeadcf9
HTML: Set up the CSS length measuring context in CSS pixels.
2019-05-06 21:30:05 +01:00
Michael Drake
041e9426c1
CSS: Use helper to convert form css to physical pixels.
2019-05-06 21:25:54 +01:00
Michael Drake
ffc199d778
CSS: Add helpers to convert between css and physical pixels.
2019-05-06 21:22:55 +01:00
Michael Drake
7567f64075
CSS: Extern the nscss_baseline_pixel_density value.
...
Front ends should be able to set this, or it should
be a config option.
2019-05-06 21:21:44 +01:00
Michael Drake
e02020198d
Convert css_len2pt and css_len2px for CSS pixels.
2019-05-06 20:49:48 +01:00
Daniel Silverstone
1736bdcfee
Add js-exec to monkey_driver, add a test, etc.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 19:20:18 +01:00
Michael Drake
a43b83de03
HTML: Squash error-path leaks in select box construction.
2019-05-06 17:29:53 +01:00