summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix callback prototypeJohn Mark Bell2008-05-261-4/+4
| | | | svn path=/trunk/netsurf/; revision=4208
* Lose redundant functionJohn Mark Bell2008-05-261-13/+0
| | | | svn path=/trunk/netsurf/; revision=4207
* warnings.squash();John Mark Bell2008-05-261-4/+5
| | | | svn path=/trunk/netsurf/; revision=4206
* Update optimisation/warning flagsDaniel Silverstone2008-05-261-4/+11
| | | | svn path=/trunk/netsurf/; revision=4204
* Fix debug build some more. Disable optimisation for debug build.John Mark Bell2008-05-251-2/+2
| | | | svn path=/trunk/netsurf/; revision=4203
* Add TARGET=debug and fix the debug build.James Bursa2008-05-254-4/+28
| | | | svn path=/trunk/netsurf/; revision=4202
* Simplify code using xmlDocGetRootElement().James Bursa2008-05-251-4/+1
| | | | svn path=/trunk/netsurf/; revision=4201
* - introduction of SLEN()John Tytgat2008-05-254-10/+24
| | | | | | | - enforce result of url_normalize() being NULL on failure - plug memory leak when url_normalize() fails svn path=/trunk/netsurf/; revision=4200
* Remove .cvsignore.John Tytgat2008-05-251-1/+0
| | | | svn path=/trunk/netsurf/; revision=4199
* Contribution from Philip Boulain <prb@ecs.soton.ac.uk>:John Tytgat2008-05-252-44/+85
| | | | | | | | | | | | | | | | | | | | | This makes url_normalize take care of whitespace in a fairly useful way, consistent with other browsers: - Leading and trailing whitespace is trimmed - Internal whitespace is urlescaped For example, " http://www.google.co.uk/search?q=hello world " becomes "http://www.google.co.uk/search?q=hello%20world" Explicit trailing whitespace, e.g. "...hello world%20", is left alone. The upshot is that if you sloppily copy-paste a URL from IRC or whatnot into the address bar, NetSurf no longer silently ignores you if you caught some adjacent whitespace. svn path=/trunk/netsurf/; revision=4198
* Add .PHONY line. Suggestion from Philip Boulain prb@ecs.soton.ac.ukJohn Tytgat2008-05-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=4197
* No longer suppress the default Accept: header.John Mark Bell2008-05-241-1/+0
| | | | | | | This fixes all those sites that brokenly assume that it's required and thus break when the client doesn't send one (here's looking at you royalmail.com). libcurl's default Accept header is "*/*", which is semantically equivalent to not sending a header at all (no header implies the client accepts all content types). svn path=/trunk/netsurf/; revision=4196
* Unescape URL before attempting to read filetypeJohn Mark Bell2008-05-241-3/+15
| | | | svn path=/trunk/netsurf/; revision=4195
* Squash warningJohn Mark Bell2008-05-231-1/+1
| | | | svn path=/trunk/netsurf/; revision=4190
* Use local filetype directly, if we're "downloading" a local fileJohn Mark Bell2008-05-233-9/+84
| | | | svn path=/trunk/netsurf/; revision=4189
* Use CCACHE if available on non-riscos host platformsDaniel Silverstone2008-05-191-0/+7
| | | | svn path=/trunk/netsurf/; revision=4179
* Fix bitmap format comment.Michael Drake2008-05-161-2/+2
| | | | svn path=/trunk/netsurf/; revision=4168
* Fix type of value_was_quoted member of cookie_data struct.John Mark Bell2008-05-161-1/+1
| | | | svn path=/trunk/netsurf/; revision=4166
* s/wchar_t/uint32_t/gJohn Mark Bell2008-05-168-20/+23
| | | | | | We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable. svn path=/trunk/netsurf/; revision=4165
* Ensure we've got a definition for size_tJohn Mark Bell2008-05-141-0/+2
| | | | svn path=/trunk/netsurf/; revision=4157
* Remove keypress restrictions from icon validation strings. At some point in ↵John Mark Bell2008-05-131-0/+0
| | | | | | future we should do this properly by having the validation string change dynamically as appropriate. svn path=/trunk/netsurf/; revision=4156
* Make this obey WITH_MNG correctly -- previously included libmng.h regardlessJohn Mark Bell2008-05-131-3/+3
| | | | svn path=/trunk/netsurf/; revision=4155
* The core code has always assumed a locale of "C".John Mark Bell2008-05-1313-17/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not change the locale globally, else things will break in weird and wonderful ways. Introduce utils/locale.[ch], which provide locale-specific wrappers for various functions (currently just the <ctype.h> ones). Fix up the few places I can see that actually require that the underlying locale is paid attention to. Some notes: 1) The GTK frontend code has not been touched. It is possible that reading of numeric values (e.g. from the preferences dialogue) may break with this change, particularly in locales that use something other than '.' as their decimal separator. 2) The search code is left unchanged (i.e. assuming a locale of "C"). This may break case insensitive matching of non-ASCII characters. I doubt that ever actually worked, anyway. In future, it should use Unicode case conversion to achieve the same effect. 3) The text input handling in the core makes use of isspace() to detect word boundaries. This is fine for western languages (even in the C locale, which it's currently assuming). It will, however, break for CJK et. al. (this has always been the case, rather than being a new issue) 4) text-transform uses locale-specific variants of to{lower,upper}. In future this should probably be performing Unicode case conversion. This is the only part of the core code that makes use of locale information. In future, if you require locale-specific behaviour, do the following: setlocale(LC_<whatever>, ""); <your operation(s) here> setlocale(LC_<whatever>, "C"); The first setlocale will change the current locale to the native environment. The second setlocale will reset the current locale to "C". Any value other than "" or "C" is probably a bug, unless there's a really good reason for it. In the long term, it is expected that all locale-dependent code will reside in platform frontends -- the core being wholly locale agnostic (though assuming "C" for things like decimal separators). svn path=/trunk/netsurf/; revision=4153
* Remove unnecessary includesJohn Mark Bell2008-05-113-9/+0
| | | | svn path=/trunk/netsurf/; revision=4144
* Fix RO5 IconSpritesJohn Mark Bell2008-05-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=4143
* Correct file typesJohn Mark Bell2008-05-102-0/+0
| | | | svn path=/trunk/netsurf/; revision=4142
* Fix IconSprites on RO6John Mark Bell2008-05-101-4/+4
| | | | svn path=/trunk/netsurf/; revision=4141
* Add NetSurf Scrap/Choices directory openers.Michael Drake2008-05-102-0/+2
| | | | svn path=/trunk/netsurf/; revision=4139
* Require C99 SCL in Run file. Provides a friendlier error message than ↵John Mark Bell2008-05-041-0/+6
| | | | | | "Integer too big for SharedCLibrary" when attempting to load modules that require either a 32bit or C99-capable SCL (e.g. AcornURI or Iconv) svn path=/trunk/netsurf/; revision=4124
* Add html extensions to minimal MIME type hashJohn Mark Bell2008-04-281-0/+2
| | | | svn path=/trunk/netsurf/; revision=4110
* Accomodate text area scrollbars in fixed widths. Fix radio button / checkbox ↵Michael Drake2008-04-251-4/+9
| | | | | | issue. svn path=/trunk/netsurf/; revision=4108
* Change handling of form element widths / heights.Michael Drake2008-04-252-19/+62
| | | | svn path=/trunk/netsurf/; revision=4107
* Make floats that follow a cleared float heed the clear. Fixes position of ↵Michael Drake2008-04-232-4/+18
| | | | | | search form on BBC homepage. svn path=/trunk/netsurf/; revision=4104
* Maybe fix table layout problem caused by r4100.Michael Drake2008-04-231-0/+4
| | | | svn path=/trunk/netsurf/; revision=4103
* Fix absolute positioning when there's a float between the box and its ↵Michael Drake2008-04-211-1/+22
| | | | | | containing block. svn path=/trunk/netsurf/; revision=4101
* Improve handling of absolutely positioned table cells. Corrects positioning ↵Michael Drake2008-04-205-11/+38
| | | | | | of "Weather" box contents on BBC homepage. svn path=/trunk/netsurf/; revision=4100
* Don't change URL bar contents until we've actually fetched the page.John Mark Bell2008-04-191-2/+0
| | | | svn path=/trunk/netsurf/; revision=4099
* Launch redirects to unsupported URLs in other applications.John Mark Bell2008-04-197-22/+61
| | | | svn path=/trunk/netsurf/; revision=4098
* Fix comment typos.Michael Drake2008-04-141-4/+4
| | | | svn path=/trunk/netsurf/; revision=4097
* Fix makefile for save text. Remove redundant ifdef.Michael Drake2008-04-132-4/+4
| | | | svn path=/trunk/netsurf/; revision=4096
* Remove text export build config option. Tidy up save_text code.Michael Drake2008-04-133-8/+2
| | | | svn path=/trunk/netsurf/; revision=4095
* Rewrite text export to use box tree. Improves output formatting. Simplify ↵Michael Drake2008-04-134-164/+277
| | | | | | selection saving. svn path=/trunk/netsurf/; revision=4094
* Tidy and update comments.Michael Drake2008-04-111-26/+37
| | | | svn path=/trunk/netsurf/; revision=4093
* Improve selection of text in floats.Michael Drake2008-04-112-93/+175
| | | | svn path=/trunk/netsurf/; revision=4092
* Improve click handling in text inputs.Michael Drake2008-04-082-5/+7
| | | | svn path=/trunk/netsurf/; revision=4087
* Updated comments on RISC OS HOST determination issue.John Tytgat2008-04-071-3/+6
| | | | svn path=/trunk/netsurf/; revision=4086
* Native RISC OS building: create sym file in the build directory instead of ↵John Tytgat2008-04-071-3/+3
| | | | | | current directory. svn path=/trunk/netsurf/; revision=4085
* const fixes in plotters and history coreRob Kendrick2008-04-0710-16/+16
| | | | svn path=/trunk/netsurf/; revision=4083
* Further fixes for unsigned int being used as an intptrRob Kendrick2008-04-071-4/+4
| | | | svn path=/trunk/netsurf/; revision=4082
* Fix assumption that int is the same width as a pointerRob Kendrick2008-04-071-10/+11
| | | | svn path=/trunk/netsurf/; revision=4081