Vincent Sanders
154a6b6987
implement a minimal xxd for builds to remove external dependancy
2020-06-03 23:34:57 +01:00
Vincent Sanders
b182cc7617
remove box handling from browser window
2020-05-25 20:37:06 +01:00
Daniel Silverstone
39552607a5
canvas: Implement fully correct putImageData features
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-24 19:34:04 +01:00
Daniel Silverstone
b4c99f9e57
llcache: Free existing chain if we get a new one
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-24 17:01:05 +01:00
Michael Drake
3bf39f7f2c
JS dom event binding: Squash leak of string.
2020-05-24 16:25:30 +01:00
Daniel Silverstone
74b8767ee2
Canvas: Do not overrun destination bitmap during creation
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-24 16:21:36 +01:00
Vincent Sanders
8673b035f0
commit a neatness in teh html content handler text selection code
2020-05-24 11:19:10 +01:00
Vincent Sanders
dbe63210cf
fix use of uninitialised warning on older gcc
2020-05-23 23:48:38 +01:00
Daniel Silverstone
d157b505e6
canvas: Support changing canvas size at runtime
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 23:44:39 +01:00
Vincent Sanders
5ce8f0baf1
make text selection context an opaque interface
2020-05-23 23:33:52 +01:00
Vincent Sanders
6108d210d5
remove all direct access to selection structure
2020-05-23 23:00:08 +01:00
Vincent Sanders
1161029d29
remove unecessary content handler specific selection creation
2020-05-23 23:00:08 +01:00
Vincent Sanders
2ea577c47e
remove unused is_html parameter to text selection routines
2020-05-23 23:00:08 +01:00
Vincent Sanders
a8c540ea59
move content specific selection end to content handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
cfe57002fe
remove unused css length usage in selection
2020-05-23 23:00:08 +01:00
Vincent Sanders
e65e41e2d6
move content handler specific selection copying into handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
36b9262e14
split selection redraw into content handler specific implementations
2020-05-23 23:00:08 +01:00
Daniel Silverstone
291a5ec79d
fs_backing_store: Stop trying to render offsets in hex
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 12:16:34 +01:00
Daniel Silverstone
6d8b9a9bb4
fs_backing_store: Do not use %jx because amigaos3 can't render it properly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 12:12:56 +01:00
Daniel Silverstone
d8f083bf52
Canvas: Move bitmap management to the 2D render context
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 10:15:30 +01:00
Daniel Silverstone
dd43748676
fix: Make it OK if the chain isn't avilable during bad-ssl querying
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 09:38:51 +01:00
Daniel Silverstone
804faacf82
html: Handle canvas width/height stated explicitly in px
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 20:26:51 +01:00
Daniel Silverstone
aec946b4ff
CanvasRenderingContext2D: More verbose input validation error message
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 20:26:32 +01:00
Daniel Silverstone
daed553a06
javascript: Support Canvas to a basic level
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 19:53:23 +01:00
Daniel Silverstone
4d89108072
html: Don't both building a bitmap if we're not rendering it
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 16:03:48 +01:00
Daniel Silverstone
334b498d5c
html: Handle canvas in redraw
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 16:00:46 +01:00
Daniel Silverstone
937894d654
html: set up canvas box properly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 16:00:20 +01:00
Daniel Silverstone
b39f418bca
html: Add canvas node handling in dom_event
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 15:59:47 +01:00
Daniel Silverstone
a5572cde76
css: Support canvas width/height presentational hints
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 15:59:02 +01:00
Daniel Silverstone
1a836c9bc4
fetchers/curl: Move report_certs function outside WITH_OPENSSL
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 10:45:19 +01:00
Daniel Silverstone
b28d3c2675
query/ssl: Include link to view certificate details
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 10:37:27 +01:00
Michael Drake
c2f73310d0
Squash warning: "_GNU_SOURCE" redefined.
...
The utils/config.h header handles this.
2020-05-22 10:30:05 +01:00
Vincent Sanders
4cef0f955c
pass the browser window to selection click handler
...
this means the content handlers do not have to provide a separate
method to extract their browser window and it can simply be
passed in.
2020-05-20 23:17:48 +01:00
Vincent Sanders
2f67227901
cleanup selection code formatting and documentation
...
removes forward declarations
cleans up documentation comments in header
removes unecessarily exported functions
2020-05-20 22:17:16 +01:00
Vincent Sanders
6fe2f7de47
do not export texplain interfaces unnecessarily
2020-05-19 23:38:34 +01:00
Daniel Silverstone
20d46406ed
about: Rework freeing the san_names structure
...
AmiSSL's approach to replacing 90% of OpenSSL calls with assembly
means that the official way to pop_free a stack type won't work.
As such, we open-code it here.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-19 13:39:07 +01:00
Vincent Sanders
3ab21dbaa4
add subject alternative names to certificate viewer
2020-05-18 23:16:56 +01:00
Michael Drake
e201597a8d
Page info: Improve certificate fault display style.
2020-05-18 21:53:28 +01:00
Vincent Sanders
c50b19469e
Display errors properly in certificate window
2020-05-18 18:32:01 +01:00
Michael Drake
09accc91e9
Improve certificate page styling.
2020-05-17 17:29:27 +01:00
Vincent Sanders
181777791b
add fingerprints to the certificate viewer
2020-05-17 16:43:01 +01:00
Vincent Sanders
e09ea43dbb
split out public key table formatted output
2020-05-17 15:48:15 +01:00
Vincent Sanders
aaa507b09f
use entity for colon in certificate hex values to allow netsurf to break properly
2020-05-17 15:20:30 +01:00
Vincent Sanders
6002efff27
get the sign right on the certificate openssl compatability interface
2020-05-17 13:40:59 +01:00
Vincent Sanders
125b96b818
fix typo in certificate openssl compatability
2020-05-17 12:18:05 +01:00
Vincent Sanders
c8d9dfd2e0
add openssl compatability to certificate decode
2020-05-17 11:12:02 +01:00
Vincent Sanders
297448cfff
make about handler ssenddataf cope with longer data
2020-05-16 23:23:40 +01:00
Vincent Sanders
7d59f09bea
improve certificate viewer
2020-05-16 22:46:18 +01:00
Vincent Sanders
3a7fc30a5f
implement content opacity check through the function table
2020-05-13 19:03:14 +01:00
Vincent Sanders
95e0a24fac
use content messages to inform frontend of text search changes
2020-05-13 14:31:39 +01:00