| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/netsurf/; revision=4238
|
|
|
|
|
|
| |
bitmap_get_buffer() to return 0.
svn path=/trunk/netsurf/; revision=4237
|
|
|
|
|
|
| |
removed from here).
svn path=/trunk/netsurf/; revision=4232
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4231
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4229
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4228
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4227
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4225
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4224
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4223
|
|
|
|
|
|
| |
Implement path plotter.
svn path=/trunk/netsurf/; revision=4222
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4220
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4210
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4209
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4208
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4207
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4206
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4204
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4203
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4202
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4201
|
|
|
|
|
|
|
| |
- enforce result of url_normalize() being NULL on failure
- plug memory leak when url_normalize() fails
svn path=/trunk/netsurf/; revision=4200
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4197
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4195
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4190
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4189
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4179
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4168
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4166
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4157
|
|
|
|
|
|
| |
future we should do this properly by having the validation string change dynamically as appropriate.
svn path=/trunk/netsurf/; revision=4156
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4155
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4144
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4143
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4142
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4141
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4139
|
|
|
|
|
|
| |
"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
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4110
|
|
|
|
|
|
| |
issue.
svn path=/trunk/netsurf/; revision=4108
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4107
|
|
|
|
|
|
| |
search form on BBC homepage.
svn path=/trunk/netsurf/; revision=4104
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4103
|
|
|
|
|
|
| |
containing block.
svn path=/trunk/netsurf/; revision=4101
|