summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move struct cache_data from fetch to content as it is no longer needed by ↵James Bursa2008-06-034-80/+74
| | | | | | fetch. Make it a member instead of pointer in struct content. svn path=/trunk/netsurf/; revision=4246
* Remove old GTK throbber GIF.Michael Drake2008-06-021-0/+0
| | | | svn path=/trunk/netsurf/; revision=4245
* nsgtk now loads the throbber from a set of PNG files. This change will make ↵Rob Kendrick2008-06-023-6/+99
| | | | | | your eyes bleed. Please avoid looking at it until I make this cleaner. svn path=/trunk/netsurf/; revision=4244
* Add new throbber PNGs. (Currently unused.)Michael Drake2008-06-029-0/+0
| | | | svn path=/trunk/netsurf/; revision=4242
* Update RISC OS throbber.Michael Drake2008-06-021-0/+0
| | | | svn path=/trunk/netsurf/; revision=4241
* Update MNGError to include error code. Remove PNGError.James Bursa2008-06-014-8/+4
| | | | svn path=/trunk/netsurf/; revision=4238
* Improve MNG error handling to show error code. Fix code not expecting ↵James Bursa2008-06-015-41/+107
| | | | | | bitmap_get_buffer() to return 0. svn path=/trunk/netsurf/; revision=4237
* Remove unused members of struct fetch (were moved to fetch_curl but not ↵James Bursa2008-05-311-4/+0
| | | | | | removed from here). svn path=/trunk/netsurf/; revision=4232
* Stop processing headers and sending FETCH_HEADER if fetch was aborted.James Bursa2008-05-311-0/+5
| | | | svn path=/trunk/netsurf/; revision=4231
* Fix freeing of etag data.James Bursa2008-05-311-1/+1
| | | | svn path=/trunk/netsurf/; revision=4229
* Fix native RISC OS build. Thanks joty.Michael Drake2008-05-311-1/+2
| | | | svn path=/trunk/netsurf/; revision=4228
* Fix handling of cache control dataJohn Mark Bell2008-05-302-7/+17
| | | | svn path=/trunk/netsurf/; revision=4227
* Add new fetch callback FETCH_HEADER for headers and move as much header ↵James Bursa2008-05-303-109/+113
| | | | | | parsing as possible from fetch_curl.c to fetchcache.c. This simplifies fetch_curl.c and will make it possible to store response headers in future. svn path=/trunk/netsurf/; revision=4226
* Wrap very verbose logging with #ifdef, so as to silence it.John Mark Bell2008-05-291-0/+25
| | | | svn path=/trunk/netsurf/; revision=4225
* Fix desensitisation of reload menu entryJohn Mark Bell2008-05-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=4224
* Fix clipping.John Mark Bell2008-05-291-0/+6
| | | | svn path=/trunk/netsurf/; revision=4223
* Drop support for non-cairo plotting.John Mark Bell2008-05-293-136/+133
| | | | | | Implement path plotter. svn path=/trunk/netsurf/; revision=4222
* Recurse into <area> and <a>, too.John Mark Bell2008-05-281-3/+5
| | | | svn path=/trunk/netsurf/; revision=4220
* Squash more warnings.John Mark Bell2008-05-261-3/+3
| | | | svn path=/trunk/netsurf/; revision=4210
* Squash warningJohn Mark Bell2008-05-261-1/+2
| | | | svn path=/trunk/netsurf/; revision=4209
* 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