Michael Drake
2277d69ba1
Framebuffer bitmap font: Add glyphs for http://wttr.in/
2019-11-30 12:24:43 +00:00
Vincent Sanders
ad321c1b83
make gtk tab closeable with middle click
...
Implements feature request "Please add middle-click on tab to close."
Fixes : #2720 .
2019-11-30 11:24:13 +00:00
Vincent Sanders
4a1ca97c65
make unknown content drag assert have meanigful message
2019-11-29 21:32:46 +00:00
Vincent Sanders
e39afa3c97
allow setting division pararameter on test plan fetch
2019-11-28 22:45:34 +00:00
Vincent Sanders
86f73b767a
ensure caret is handled correctly on gtk when focus is removed from layout
2019-11-27 23:45:14 +00:00
Vincent Sanders
69236590d0
change mouse action drag handling to use a more efficient dispatch
2019-11-17 10:40:34 +00:00
Vincent Sanders
e34f9d3a38
move remaining mouse action drag handling into separate functions
2019-11-17 10:13:56 +00:00
Vincent Sanders
ae39b9f955
move more select menu handling into mouse_action_select_menu()
2019-11-17 10:12:37 +00:00
Niclas Rosenvik
2d57934be8
fix compatability macros setup for NetBSD
2019-11-13 17:58:06 +00:00
Vincent Sanders
fbaa971ad0
make config detection macro more obvious
2019-11-13 17:54:06 +00:00
Vincent Sanders
185d034323
make mouse track and mouse action content handlers return an error code
2019-11-12 22:48:00 +00:00
Vincent Sanders
074407d251
Remove redundant drag handling for content selection
...
This redundant code was added by:
4747bbbfb2
HTML drags now go via content msg.
and then added again with:
c2a718075a
A load of refactoring of how content selection and input work.
2019-11-12 21:54:35 +00:00
Vincent Sanders
b9bc34b875
split out html interaction header elements and rename source
2019-11-12 21:54:35 +00:00
Michael Drake
82d4a2265b
Data fetcher: Include stdarg.h header.
2019-11-12 19:16:07 +00:00
Michael Drake
8ad55e23fd
gif: Change how we rate-limit frames to match other browsers.
...
This makes the old minimum_gif_delay option unused.
2019-11-11 21:54:26 +00:00
Michael Drake
8e1154eb1c
Content: Remove redundant and unused redraw message fields.
...
This was archaic support for rendering images as "overlays",
and avoiding a redraw via the browser window redraw and HTML
contents. Basically it was "plot this image here", but it
was too error prone, so it was removed a long time ago.
These are some last vestiges that made the redraw message
look more complex than it is.
2019-11-11 21:54:15 +00:00
Michael Drake
db7f1f01a9
Data fetcher: Squash BSD warning.
2019-11-11 21:54:04 +00:00
Vincent Sanders
dae0ff3d26
remove warning callback from miscelaneous function table
2019-11-11 16:59:28 +00:00
Vincent Sanders
0e16c01cdc
remove unecessary user warning
2019-11-10 20:32:37 +00:00
Michael Drake
ad27ed6926
llcache: Avoid putting local content in the disc cache.
2019-11-10 16:49:05 +00:00
Michael Drake
26d7a167ae
llcache: Split out scheme is cachable check.
2019-11-10 16:49:05 +00:00
Michael Drake
c14f01ea44
File fetcher: Optimise HTTP header generation.
2019-11-10 14:37:36 +00:00
Michael Drake
8d652f1ff4
Resource fetcher: Optimise HTTP header generation.
2019-11-10 14:37:34 +00:00
Michael Drake
b757f94107
Utils: ring: Remove unused code.
2019-11-10 14:36:40 +00:00
Michael Drake
f0ff18d35c
Utils: ring: Whitespace fix.
2019-11-10 14:36:40 +00:00
Michael Drake
301b0bae00
llcache: URLs with data scheme are cachable.
2019-11-10 14:36:40 +00:00
Michael Drake
66401b7fa6
Resource fetcher: Add Cache-Control header with max-age of a year.
...
Resource URLs can't change, we want to assume they're fresh for
as long as we can.
2019-11-10 14:36:40 +00:00
Michael Drake
ab4eab5706
Data fetcher: Add Cache-Control header with max-age of a year.
...
Data URLs can't change, we want to assume they're fresh for
as long as we can.
2019-11-10 14:36:40 +00:00
Michael Drake
0dfbc80587
Data fetcher: Split header emitting out into helper.
2019-11-10 14:36:40 +00:00
Michael Drake
58094ffaa5
Data fetcher: Move fetch_data_send_callback towards top of file.
2019-11-10 11:58:38 +00:00
Michael Drake
885897f610
llcache: Uncachable scheme checks don't need to be caseless.
2019-11-09 17:14:37 +00:00
Michael Drake
52805a7860
llcache: Allow file and resource schemes to be cached.
...
This means things like the default css file and adblock css file
are only loaded and parsed once.
2019-11-09 17:08:43 +00:00
Michael Drake
b15cbb72ac
File fetcher: Avoid atoi for If-None-Match value parse.
...
The file fetcher emits FETCH_NOTMODIFIED if the file is unchanged.
2019-11-09 17:06:04 +00:00
Michael Drake
c92b31babe
Resource fetcher: Fix ETag handling.
...
* Changed ETag storage to be time_t, rather than int.
* Changed `If-None-Match` value parsing to use proper
time_t parsing, rather than `atoi`.
We emit FETCH_NOTMODIFIED if the resource hasn't changed.
2019-11-09 16:59:26 +00:00
Vincent Sanders
e95c11dac8
remove user warning and log error instead
2019-11-07 21:35:24 +00:00
Vincent Sanders
0dbc6e5ecd
fix keypress entry on text area
...
accidentaly broken in commit fca421e204
2019-11-07 21:20:04 +00:00
Vincent Sanders
570f2dc036
remove user warning and fix up error handling in form select menus
2019-11-07 18:52:49 +00:00
Vincent Sanders
7de3100624
remove unecessary user warning
2019-11-06 23:26:48 +00:00
Vincent Sanders
fca421e204
remove user warning and propogate error return
2019-11-06 23:13:20 +00:00
Vincent Sanders
92fff918cc
fix "may be used uninitialised" warning
2019-11-06 08:23:27 +00:00
Vincent Sanders
cbb0c05258
remove unecessary user warning calls and improve error propogation in html box
2019-11-05 23:05:42 +00:00
Vincent Sanders
78aa34e5d7
remove user warnings from hotlist load and curl poll
2019-11-05 00:07:06 +00:00
Vincent Sanders
7c63f5f66b
improve error returns throughout complete save and remove user warnings
2019-11-04 23:39:13 +00:00
Vincent Sanders
44574d800f
remove spurious whitespace in fetch error pages
2019-11-04 11:47:30 +00:00
Vincent Sanders
4eb06ad2cf
move the fallback text for about handler into messages handler
2019-10-30 21:33:27 +00:00
Vincent Sanders
4b0c3f0efe
add internal query handler for fetch errors
...
Any errors from the fetch which are not already handled are
reported with an internal query page instead of a modal
dialog.
This is much less invasive for the user and much more in
keeping with how this is handled by other browsers.
The handler is similar to the timeout handler but the
functionality is kept separate as it is intended timeout
handling be extended in future.
2019-10-30 18:56:38 +00:00
Vincent Sanders
76eac19227
add internal query page for request timeouts
2019-10-29 22:29:22 +00:00
Vincent Sanders
1176ce4271
Improve timeout error messaging
2019-10-28 23:50:01 +00:00
Michael Drake
5aeca580f4
save complete: Change de-duplication to compare URLs, rather than contents.
...
We seem to have more than one content for the same resource.
For example:
* save `<img src="about:logo"><img src="about:logo">` as img-test.html
* run `rm -rf test-save && make && ./nsgtk img-test.html`
* ctrl+s
* save as "test-save" in the current netsurf dir.
* run `md5sum test-save/*`
before and after this commit. The de-duplication works with URLs,
where it wasn't working with hlcache_handles or contents.
2019-10-26 12:51:17 +01:00
Michael Drake
044ddd5d43
save complete: ctx_find_content: compare contents, not hlcache_handles
...
There can be multiple hlcache_handles per sharable content.
2019-10-26 12:42:38 +01:00