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
Daniel Silverstone
8bef50aae2
env.sh: Reorder to prefer cross env, and export that to build system
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 10:05:48 +01:00
Daniel Silverstone
de56170cb9
frontends/atari: Include the *right* options header
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:34:10 +01:00
Daniel Silverstone
0797375380
frontends/atari: Add missing include of options.h
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:32:03 +01:00
Daniel Silverstone
ee054db071
monkey: Excise sslcert and add loading blocking support
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:15:27 +01:00
Daniel Silverstone
e6c666d4f4
chore: Perform sslcert_viewer-ectomy
...
This removes the sslcert_viewer entirely from the code. Where
possible I've also trimmed out of frontends any code I think
should not be present.
Frontends should check and remove any further references that I
have failed to catch.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:01:39 +01:00
Vincent Sanders
10fc242aa9
remove unesessary construction of font plot stype in selection redraw
2020-05-21 23:26:06 +01:00
Vincent Sanders
ba5025e5e8
simple reformat no code changes
2020-05-21 23:23:52 +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
Michael Drake
9ef852cdab
Page info: Don't show cookies if it's not an http(s) scheme.
2020-05-20 10:45:50 +01:00
Michael Drake
b2f4f278be
Page info: Get URL scheme on creation.
2020-05-20 10:37:56 +01:00
Vincent Sanders
6fe2f7de47
do not export texplain interfaces unnecessarily
2020-05-19 23:38:34 +01:00
Michael Drake
605234c3d2
Page info: Only show certificate if scheme is https.
2020-05-19 21:02:03 +01:00
Michael Drake
1347f9e3a6
nsurl: Expose scheme type accessor.
2020-05-19 21:01:09 +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
Vincent Sanders
f4e50b45c8
make free text search content handler agnostic
2020-05-12 23:22:05 +01:00
Vincent Sanders
68b9417a6b
consolodate the textsearch code into a single module
2020-05-12 21:29:32 +01:00
Vincent Sanders
3c7538a9f9
hoist common text search out of content handlers
2020-05-12 21:09:41 +01:00
Vincent Sanders
a8596a80ae
move free text search general interface to content.
...
needs additional cleanup to call content through handler table to
perform searches.
2020-05-10 23:22:29 +01:00
Vincent Sanders
e72ca36863
remove unecessary includes
2020-05-10 15:15:33 +01:00
Vincent Sanders
fbc0847db0
move ssl certificate serialisation into a url to the ssl_cert utility code
2020-05-09 22:42:12 +01:00
Daniel Silverstone
a98003674b
GTK: Add transient popup behaviour for local history too
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-09 19:38:26 +01:00
Daniel Silverstone
d2e5446bfb
GTK: Change toolbar page-info to use compat allocation function
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-09 11:58:44 +01:00
François Revol
600b2ed60a
Haiku: Better map mouse cursors
...
Drop custom cursor bitmaps in favor of the system ones.
We only miss the wait cursor now, but the progress one should do.
2020-05-09 01:28:43 +02:00
Daniel Silverstone
4b8ed9b777
GTK: Cause the page-info popup to appear in the right place
...
To position the page-info window we have to tunnel all the
way from the current scaffolding, via its top-level gui window,
through to the toolbar. In the toolbar we look up the URL bar
and then determine the screen coordinates of the scaffolding
via the top level widget GTK semantics.
Finally we place the page-info window 4 pixels down and right of
the bottom-left of the entry box, which should look nice.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:46:37 +01:00
Daniel Silverstone
14e506f89f
GTK RES: Make page info windows popup type
...
In order for GTK windows to be styled properly, in the context
we use them, the page-info windows need to be marked as popup
windows (typically used for transient popups such a menus, so
ideal for us).
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:43:43 +01:00
Daniel Silverstone
524688098a
GTK: Make page info transient properly, handle events, etc.
...
This makes the page info properly transient and causes it
to handle activity in the corewindow and outside itself
properly. This includes ensuring that actions outside
the window will close it, etc.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:42:49 +01:00
Daniel Silverstone
b426623258
page-info: Provide support to indicate if action did something
...
Some mouse actions perform a positive action (such as opening
the SSL certificate viewer). As such, provide an out param
which will be set to true if the action did something. This
parameter is not touched in the case of nothing happening in
case it is used in alternating logic in the caller.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:39:53 +01:00
Vincent Sanders
b39db1dac4
add missing header includes from previous change
2020-05-08 09:08:31 +01:00
Vincent Sanders
ab952e0634
improve content header usage
2020-05-07 20:55:44 +01:00
Vincent Sanders
5f8b1497e1
clean up content headers and documentation comments
...
pure formatting and documentation changes, no code difference
2020-05-06 23:38:50 +01:00
Vincent Sanders
c2f9bcac19
remove junk content_add_error api
2020-05-06 22:54:52 +01:00
Vincent Sanders
b832bfaea8
remove unused junk error values from content struct
...
saves over half a kilobyte for every content
2020-05-06 22:22:16 +01:00
François Revol
ad4cdc62b8
desktop: clamp dpi in browser_set_dpi() to sensible values
...
The cocoa frontend missed a cast resulting in a huge negative dpi and
some GB allocated for thumbnails...
2020-05-05 20:14:51 +01:00