Commit Graph

3389 Commits

Author SHA1 Message Date
François Revel f1b1a9737f Get rid of non ASCII \xa0 character in comments (copy-pasting a webpage ?) I also need config.h for a missing type on BeOS.
svn path=/trunk/netsurf/; revision=4265
2008-06-05 23:04:54 +00:00
François Revel 846c65b899 BeOS: I can now use *ng and jpeg... Also link to libtranslation, it's used to load the throbber pngs. Switched from beres to rc as ressource compiler, it should allow importing external css and html files from resources.
svn path=/trunk/netsurf/; revision=4264
2008-06-05 22:54:49 +00:00
François Revel 524e29c4df - fixed alpha bitmap drawing
- fixed polygon drawing
- newstyle throbber, loosely copied from the gtk one.

svn path=/trunk/netsurf/; revision=4259
2008-06-04 01:53:20 +00:00
Michael Drake 38be80a680 Fix list marker check. Thanks to jmb and mikeL.
svn path=/trunk/netsurf/; revision=4258
2008-06-03 22:18:15 +00:00
John Mark Bell 5015eb6e87 Squash warning
svn path=/trunk/netsurf/; revision=4257
2008-06-03 22:17:35 +00:00
Michael Drake b661f3deaf Don't constrain mouse pointer to window area during text selection.
svn path=/trunk/netsurf/; revision=4256
2008-06-03 21:51:25 +00:00
François Revel 0f4164d934 Added BeOS specific host & target detection.
As BeOS needs gcc2 some hacking is required on the dependancy generation...
Added support for using resources, and C++ code.

svn path=/trunk/netsurf/; revision=4255
2008-06-03 20:13:34 +00:00
François Revel 2df3550fcc Add BeOS sources.
svn path=/trunk/netsurf/; revision=4254
2008-06-03 19:51:54 +00:00
François Revel 90a15a9753 The BeOS-specific part of the BeOS (and Haiku) port, modeled mostly from the GTK version.
Some fixes are needed elsewhere but non-obvious ones I'll post on the mailing list for discussion.
Currently it opens windows with a toolbar, url and status bar, a (yet empty) menu bar.
Rendering seems to work including scrolling at scale 1 (other non-tested).
framesets seems broken though.

svn path=/trunk/netsurf/; revision=4253
2008-06-03 19:07:09 +00:00
James Bursa 86e74c970b Add code to save DA to a file if NetSurf crashes and NetSurf$CoreDump exists.
svn path=/trunk/netsurf/; revision=4247
2008-06-03 03:04:41 +00:00
James Bursa 8282253a54 Move struct cache_data from fetch to content as it is no longer needed by fetch. Make it a member instead of pointer in struct content.
svn path=/trunk/netsurf/; revision=4246
2008-06-03 01:10:46 +00:00
Michael Drake f59d4a3626 Remove old GTK throbber GIF.
svn path=/trunk/netsurf/; revision=4245
2008-06-02 18:06:30 +00:00
Rob Kendrick 98589be65c nsgtk now loads the throbber from a set of PNG files. This change will make your eyes bleed. Please avoid looking at it until I make this cleaner.
svn path=/trunk/netsurf/; revision=4244
2008-06-02 16:47:15 +00:00
Michael Drake 57dcb9d0f7 Add new throbber PNGs. (Currently unused.)
svn path=/trunk/netsurf/; revision=4242
2008-06-02 15:34:35 +00:00
Michael Drake 3b311141e0 Update RISC OS throbber.
svn path=/trunk/netsurf/; revision=4241
2008-06-02 15:32:43 +00:00
James Bursa 50815b5019 Update MNGError to include error code. Remove PNGError.
svn path=/trunk/netsurf/; revision=4238
2008-06-01 00:17:58 +00:00
James Bursa 70c7b81c2f Improve MNG error handling to show error code. Fix code not expecting bitmap_get_buffer() to return 0.
svn path=/trunk/netsurf/; revision=4237
2008-06-01 00:15:53 +00:00
James Bursa 21a3c99d3d Remove unused members of struct fetch (were moved to fetch_curl but not removed from here).
svn path=/trunk/netsurf/; revision=4232
2008-05-31 16:57:53 +00:00
James Bursa ef6690ad72 Stop processing headers and sending FETCH_HEADER if fetch was aborted.
svn path=/trunk/netsurf/; revision=4231
2008-05-31 16:52:37 +00:00
James Bursa b9bce3fa31 Fix freeing of etag data.
svn path=/trunk/netsurf/; revision=4229
2008-05-31 15:52:22 +00:00
Michael Drake b4621337e8 Fix native RISC OS build. Thanks joty.
svn path=/trunk/netsurf/; revision=4228
2008-05-31 14:39:50 +00:00
John Mark Bell f4be61553c Fix handling of cache control data
svn path=/trunk/netsurf/; revision=4227
2008-05-30 11:09:50 +00:00
James Bursa ae992eab4d Add new fetch callback FETCH_HEADER for headers and move as much header 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
2008-05-30 04:11:16 +00:00
John Mark Bell a76164ab51 Wrap very verbose logging with #ifdef, so as to silence it.
svn path=/trunk/netsurf/; revision=4225
2008-05-29 19:32:31 +00:00
John Mark Bell b27e277eaa Fix desensitisation of reload menu entry
svn path=/trunk/netsurf/; revision=4224
2008-05-29 12:31:07 +00:00
John Mark Bell e17b53bc02 Fix clipping.
svn path=/trunk/netsurf/; revision=4223
2008-05-29 11:17:30 +00:00
John Mark Bell 601c02f08b Drop support for non-cairo plotting.
Implement path plotter.

svn path=/trunk/netsurf/; revision=4222
2008-05-29 11:03:13 +00:00
John Mark Bell 287e6b2395 Recurse into <area> and <a>, too.
svn path=/trunk/netsurf/; revision=4220
2008-05-28 20:05:30 +00:00
John Mark Bell e004e0e745 Squash more warnings.
svn path=/trunk/netsurf/; revision=4210
2008-05-26 10:46:45 +00:00
John Mark Bell f7bc0cf850 Squash warning
svn path=/trunk/netsurf/; revision=4209
2008-05-26 10:41:46 +00:00
John Mark Bell 7a2454a40a Fix callback prototype
svn path=/trunk/netsurf/; revision=4208
2008-05-26 10:40:00 +00:00
John Mark Bell b1c8ab83f2 Lose redundant function
svn path=/trunk/netsurf/; revision=4207
2008-05-26 10:37:10 +00:00
John Mark Bell 50f520379b warnings.squash();
svn path=/trunk/netsurf/; revision=4206
2008-05-26 10:34:47 +00:00
Daniel Silverstone 9b73dce1fd Update optimisation/warning flags
svn path=/trunk/netsurf/; revision=4204
2008-05-26 10:16:01 +00:00
John Mark Bell 4d343e3c6d Fix debug build some more. Disable optimisation for debug build.
svn path=/trunk/netsurf/; revision=4203
2008-05-25 23:57:34 +00:00
James Bursa b53f36ebc2 Add TARGET=debug and fix the debug build.
svn path=/trunk/netsurf/; revision=4202
2008-05-25 23:28:06 +00:00
James Bursa 70da04d69e Simplify code using xmlDocGetRootElement().
svn path=/trunk/netsurf/; revision=4201
2008-05-25 22:31:42 +00:00
John Tytgat 793d466edf - introduction of SLEN()
- enforce result of url_normalize() being NULL on failure
- plug memory leak when url_normalize() fails

svn path=/trunk/netsurf/; revision=4200
2008-05-25 15:51:30 +00:00
John Tytgat e89c346573 Remove .cvsignore.
svn path=/trunk/netsurf/; revision=4199
2008-05-25 15:23:51 +00:00
John Tytgat 3f6d2a9f0c Contribution from Philip Boulain <prb@ecs.soton.ac.uk>:
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
2008-05-25 15:04:22 +00:00
John Tytgat 497372c257 Add .PHONY line. Suggestion from Philip Boulain prb@ecs.soton.ac.uk
svn path=/trunk/netsurf/; revision=4197
2008-05-24 12:20:57 +00:00
John Mark Bell c24b426881 No longer suppress the default Accept: header.
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
2008-05-24 10:09:02 +00:00
John Mark Bell 5979083a16 Unescape URL before attempting to read filetype
svn path=/trunk/netsurf/; revision=4195
2008-05-24 01:19:21 +00:00
John Mark Bell 2b79c34977 Squash warning
svn path=/trunk/netsurf/; revision=4190
2008-05-23 14:17:31 +00:00
John Mark Bell a16586c9b7 Use local filetype directly, if we're "downloading" a local file
svn path=/trunk/netsurf/; revision=4189
2008-05-23 13:29:37 +00:00
Daniel Silverstone b30fde8b21 Use CCACHE if available on non-riscos host platforms
svn path=/trunk/netsurf/; revision=4179
2008-05-19 13:36:32 +00:00
Michael Drake 181573d081 Fix bitmap format comment.
svn path=/trunk/netsurf/; revision=4168
2008-05-16 23:04:41 +00:00
John Mark Bell fbb483e0ff Fix type of value_was_quoted member of cookie_data struct.
svn path=/trunk/netsurf/; revision=4166
2008-05-16 10:27:01 +00:00
John Mark Bell b15a6af3d2 s/wchar_t/uint32_t/g
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
2008-05-16 09:37:22 +00:00
John Mark Bell baca6796eb Ensure we've got a definition for size_t
svn path=/trunk/netsurf/; revision=4157
2008-05-14 10:23:22 +00:00