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
Vincent Sanders
d9a593c984
split dom event handling into separate module
2020-05-05 20:05:37 +01:00
Vincent Sanders
1d8542166c
Clean up html content dom element insertion processing
2020-05-05 11:14:26 +01:00
Daniel Silverstone
754e3f4f8c
curl: Pass cert chain on even if we get no headers
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-04 18:29:46 +01:00
Daniel Silverstone
bb5d5562bc
llcache: Actually pass on certificate chain properly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-04 18:29:33 +01:00
Daniel Silverstone
18dd34babf
FatMessages: Fix typo, occour -> occur, occoured -> occurred
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-04 18:29:11 +01:00
Vincent Sanders
82559d2ff4
remove the forward references in html form internal handling
2020-05-03 21:56:51 +01:00
Vincent Sanders
2a0f552524
remove forward delcarations and clean up formatting in html table layout processing
2020-05-03 19:02:47 +01:00
Vincent Sanders
a40727cd29
Improve hsndling of html content objects with no associated box
2020-05-03 17:00:04 +01:00
Vincent Sanders
fcd8d50359
remove unecessary include
2020-05-03 10:06:43 +01:00
Vincent Sanders
a706c69bf4
improve html content handler private headers
2020-05-02 20:47:53 +01:00
Vincent Sanders
19cd5cb3b3
add missing include
2020-05-01 21:36:50 +01:00
Vincent Sanders
986d4d5f82
put html content handler object interface into its own header
2020-05-01 21:25:23 +01:00
Vincent Sanders
479d0cb29a
remove unused available width and height parameters from html_fecth_object()
2020-04-30 22:16:41 +01:00
Vincent Sanders
6b6bbad2b7
remove unecessary filename prefixes in the html content handler
2020-04-30 21:59:21 +01:00
Vincent Sanders
e8d0ba15ad
split html box processing code
...
reduce the module size of the html box handling code by
splitting into smaller sections.
No functional code change.
2020-04-29 20:37:42 +01:00
Vincent Sanders
a64261c3bd
Initial special canvas handling to not show fallback
2020-04-28 23:35:00 +01:00
Vincent Sanders
c0ef8ce645
clean up html box, no functionality change just cosmetic
...
split up the html box headers
tidy up the documentation comments
avoid forward declarations in normalisation implementation
2020-04-28 23:30:20 +01:00
Vincent Sanders
f6883d6761
use dom type interface instead of strcasecmp
2020-04-26 17:31:15 +01:00
Daniel Silverstone
d3d17ded9c
dukky: Don't allow js_exec on a thread pending destruction
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-26 15:46:54 +01:00
Daniel Silverstone
2cb33b0c33
dukky: Various checks for win being NULL
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-26 15:35:36 +01:00
Vincent Sanders
b577de7c5b
remove forward declarations
...
reorder module to remove need for forward function declarations.
remove unecessary and confusing parameter macros
2020-04-26 11:21:02 +01:00
Daniel Silverstone
309fcd6d42
monkey: Catch some signals and backtrace
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-25 21:04:41 +01:00
Daniel Silverstone
24ec30359b
Window: Do not get stuck if callbacks are in-train during compartment close
...
When we close the JS compartment we try and cancel all callbacks so that
they do not fire after the compartment is closed. However if we have
in-train callbacks, they can gum up the closedown and so we need to check
and if we've done all we can, we break out of the callback removal loop.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-25 14:04:54 +01:00
Vincent Sanders
bf4cbc95b0
add bindings for canvas width and height
2020-04-24 22:05:57 +01:00
Vincent Sanders
084861a31b
Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemes
2020-04-17 22:43:44 +01:00
Vincent Sanders
529b94be73
fixup riscos image configuration dialog gadget id
...
when minimum GIF delay was removed in
38c632a7da
the
remaining gadget identifier numbers were not updated.
Fixes #2745
2020-04-14 22:03:24 +01:00
Vincent Sanders
84f0c760e6
use form of window create which returns an error instead of aborting
2020-04-14 21:08:51 +01:00