Commit Graph

9924 Commits

Author SHA1 Message Date
Steve Fryatt
0ab5fe7c02 Improve URL handling in URL Bar.
Rationalise handling of UTF8, so that URLs are always converted into local encoding even if there is no URL icon present.
In addition, make preliminary hotlist test in set_url() use local encoding, in line with all subsequent checks.
Make handling of over-length URLs more sensible: warn user and completely blank the URL bar.
2014-01-26 13:30:08 +00:00
Vincent Sanders
dc074042e9 fix errors in url_to_path tfetch table changes 2014-01-25 23:21:28 +00:00
Vincent Sanders
8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Michael Drake
46b8fbaeac Use corestring. 2014-01-25 10:00:33 +00:00
Michael Drake
96e5368d34 Use corestring. 2014-01-25 09:53:54 +00:00
Michael Drake
ae6874d308 Just ref a corestring. 2014-01-24 23:19:46 +00:00
Michael Drake
5787f8335e Simplify and optimise icon handling. 2014-01-24 23:13:18 +00:00
Michael Drake
dab6d7961e Actually use the fact scheme is interned. 2014-01-24 22:00:25 +00:00
Chris Young
d64754aca4 Ensure the screen actually gets closed before NetSurf quits. 2014-01-24 20:35:31 +00:00
Michael Drake
2075ad7ff4 Use corestrings. 2014-01-24 20:19:20 +00:00
Michael Drake
0a6e5fcb6d Use corestring. 2014-01-24 20:14:26 +00:00
Michael Drake
14238615a4 Use corestrings for "about", "data", and "resource". 2014-01-24 20:08:41 +00:00
Michael Drake
e32dc31b04 Use corestring ref. 2014-01-24 19:58:51 +00:00
Michael Drake
178f3945b8 Just use corestring refs. 2014-01-24 19:31:50 +00:00
Michael Drake
c4e2fff5a4 Use corestrings for fetch module's lwc strings. 2014-01-24 19:25:07 +00:00
Michael Drake
72510f550b Use corestrings in box construction. 2014-01-24 18:58:12 +00:00
Michael Drake
20e789955d Ensure first option gets selected when the markup doesn't specify any options as selected. 2014-01-24 17:32:49 +00:00
Michael Drake
f07a04126d Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2014-01-24 16:45:52 +00:00
Michael Drake
05dc1c1305 Fix Coverity-spotted issue. (Fixes behaviour for multiple selects.) Also minor optimisation. 2014-01-24 14:21:27 +00:00
Vincent Sanders
b7e372cf84 ensure imagemap lists are freed on error paths (coverity 1109880) 2014-01-24 12:11:10 +00:00
Vincent Sanders
b38dfd7939 ensure monkey command dispatch frees argument vector (coverity 1127054) 2014-01-24 11:54:53 +00:00
Vincent Sanders
69778e2945 move framebuffer fetch operations to their own module 2014-01-24 08:39:01 +00:00
Vincent Sanders
233904c7ed fix build faliures from fetch table operation refactor 2014-01-23 00:09:59 +00:00
Vincent Sanders
0475693394 create table for fetcher operations and move all operations into it 2014-01-23 00:00:18 +00:00
Michael Drake
4684e9665d Deselect other options when select option is selected, and it's not a multi-select. 2014-01-21 15:01:18 +00:00
Michael Drake
aa380ed47a More scaled rendering improvements. Partial redraws of scaled textareas can't work atm, since neither the textarea nor content is aware of scale. 2014-01-21 14:37:46 +00:00
Michael Drake
3f3b64bf22 Fix scaled rendering clip rect bottom calculation. 2014-01-21 11:13:36 +00:00
John-Mark Bell
4a014b61be Enable TLS 1.2 support again. 2014-01-19 22:57:16 +00:00
John-Mark Bell
8e1fe5d1a9 Atari: run correct freetype-config 2014-01-19 22:51:59 +00:00
Vincent Sanders
4987a3a8a7 remove forward refs from content/fetch.c and cleanup doc comments 2014-01-19 21:18:47 +00:00
Vincent Sanders
977ae8efc6 remove all forward declarations from hlcache.c 2014-01-19 21:18:47 +00:00
Chris Young
e43fbb3914 Fix ReadArgs() argument parsing. Collect any parameters we're not interested in and pass those to nsoption_commandline directly. 2014-01-18 22:10:18 +00:00
Chris Young
96546838d1 Debug logging 2014-01-18 21:35:02 +00:00
Chris Young
18c8f5f46f Let the frontend construct the correct URL for the default search ico.
This fixes bug #2057
2014-01-18 21:23:02 +00:00
François Revol
c74bf433c3 beos: Fix updating system colors 2014-01-16 18:12:41 +01:00
François Revol
90742e6b4b beos: Fix build
gcc2 doesn't know about named initializers in C++...
2014-01-16 17:28:16 +01:00
François Revol
7c71ad4f5a whitespace 2014-01-16 17:28:15 +01:00
Vincent Sanders
aaa6b558a9 fix typo in cocoa import 2014-01-16 15:26:48 +00:00
Vincent Sanders
2f478eb5d7 fix missing forward declaration 2014-01-16 15:23:11 +00:00
Vincent Sanders
b1bb708d4f fix cocoa build 2014-01-16 15:23:11 +00:00
François Revol
55bf16d754 beos: Better implementation of NSIconTextControl for the url bar
Instead of adding a child view we draw the bitmap over the child.
Fixup the TextRect also in Draw() which is called just before the
TextView's Draw().

It flickers a little less, and also respects the background color of
the text control when using a desktop theme.

Also drop a useless dynamic_cast.
2014-01-16 16:11:26 +01:00
Vincent Sanders
6cfa3cce63 fix atari build errors 2014-01-16 15:07:14 +00:00
Vincent Sanders
fb1120c212 fix windows build error 2014-01-16 15:00:43 +00:00
Vincent Sanders
ba4788108b fixup amiga build errors 2014-01-16 14:43:48 +00:00
Vincent Sanders
54b7482f78 fix up riscos build errors 2014-01-16 14:28:25 +00:00
Vincent Sanders
a1361f22b4 Merge branch 'vince/guivtable' 2014-01-16 13:37:14 +00:00
Vincent Sanders
a2247a75a3 cleanup copyright headers and some doc comments 2014-01-16 13:24:14 +00:00
John-Mark Bell
444d3ac94a Silence warning 2014-01-16 01:35:51 +00:00
Vincent Sanders
d47fed4524 move 401 login into operation table 2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a move filename_from_path and path_add_part into gui operation tables 2014-01-16 00:01:25 +00:00