Commit Graph

10030 Commits

Author SHA1 Message Date
François Revol
4b760c7e49 beos: Fix build
Add missing header due to moved function.
2014-01-28 15:15:49 +01:00
François Revol
443d6f3e04 beos: Account for change in atomic_add() prototype in Haiku
Since the scheduler branch merge, atomic_add() takes a pointer
to int32, doesn't require the target to be volatile anymore.
2014-01-28 15:14:34 +01:00
Steve Fryatt
27fdcb90f2 Update copyright dates in modified files. 2014-01-26 16:28:56 +00:00
Steve Fryatt
cdc4041942 Add belt and braces to ensure that URL Bar content is always cleanly terminated. 2014-01-26 15:15:49 +00:00
Steve Fryatt
def97156d3 Make Open URL dialogue allocate memory for the URL field.
Add global constant for URL length, to manage both URL Bar and Open URL.
2014-01-26 14:35:57 +00:00
Steve Fryatt
89992958d2 Increase maximum size of a URL in the URL Bar to 2047 characters plus terminator. 2014-01-26 13:41:41 +00:00
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