Commit Graph

4900 Commits

Author SHA1 Message Date
Michael Drake
72520da221 More blatant warning about editing Makefile.defaults.
svn path=/trunk/netsurf/; revision=10257
2010-04-06 19:50:52 +00:00
John Mark Bell
1c6d8c7e47 Prevent assertion when imported stylesheet fails to load.
svn path=/trunk/netsurf/; revision=10256
2010-04-06 19:31:23 +00:00
Michael Drake
eae4845015 Format build config output into columns. Only tested native RISC OS build and native GTK and framebuffer builds on Linux.
svn path=/trunk/netsurf/; revision=10255
2010-04-06 18:53:13 +00:00
Michael Drake
d6aae0a5ae Fix framebuffer build.
svn path=/trunk/netsurf/; revision=10254
2010-04-06 18:23:34 +00:00
James Bursa
fde385fbf3 Attempt to make the config messages clearer. Add auto-detection of libsvgtiny option to gtk build.
svn path=/trunk/netsurf/; revision=10253
2010-04-06 16:25:51 +00:00
John Mark Bell
b584273c0b Port to new download API
svn path=/trunk/netsurf/; revision=10250
2010-04-05 22:47:09 +00:00
John Mark Bell
6cb8472685 Apply ifdef. The first major casualty of new-cache.
svn path=/trunk/netsurf/; revision=10249
2010-04-05 22:17:03 +00:00
John Mark Bell
303401c050 Fix for hlcache
svn path=/trunk/netsurf/; revision=10248
2010-04-05 22:12:17 +00:00
John Mark Bell
8fdd91bc93 Port to new content API
svn path=/trunk/netsurf/; revision=10246
2010-04-05 22:03:44 +00:00
John Mark Bell
4d031f21cb Port to new content API
svn path=/trunk/netsurf/; revision=10245
2010-04-05 21:58:38 +00:00
John Mark Bell
bf1affe76b Port to new content API
svn path=/trunk/netsurf/; revision=10244
2010-04-05 21:53:31 +00:00
John Mark Bell
2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
John Mark Bell
89daef932a Fix compilation
svn path=/trunk/netsurf/; revision=10242
2010-04-05 12:02:49 +00:00
John Mark Bell
2dc791a253 Remove redundant content message types and associated data
svn path=/trunk/netsurf/; revision=10241
2010-04-05 10:40:16 +00:00
John Mark Bell
ca7441ea54 Release favicon when HTML content is destroyed
svn path=/trunk/netsurf/; revision=10239
2010-04-04 17:19:10 +00:00
John Mark Bell
69f02e926f Make the high-level cache drop contents of unacceptable type on the floor.
svn path=/trunk/netsurf/; revision=10238
2010-04-04 17:17:24 +00:00
John Mark Bell
487d4c3ae3 Suppress error page generation for favicon fetches.
Pass the correct referring URL.

svn path=/trunk/netsurf/; revision=10237
2010-04-04 12:45:47 +00:00
John Mark Bell
79ce683b4e Most of a stop implementation.
Remaining work:
  1) Clone content_html_data
  2) Cloning content_css_data requires the charset of the old content
  3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context.

svn path=/trunk/netsurf/; revision=10236
2010-04-04 12:41:19 +00:00
Chris Young
3daffe3d6b Events for these windows are handled by the main loop in gui.c, but the structures
didn't match up, thereby causing a crash.  Needs tidying up; the global part of these
window structures should be defined separately, and the events handled in dedicated
routines.

svn path=/trunk/netsurf/; revision=10235
2010-04-04 11:15:05 +00:00
John Mark Bell
43a99ab683 Constify data parameter to *_process_data
svn path=/trunk/netsurf/; revision=10234
2010-04-03 16:37:36 +00:00
John Mark Bell
4839adaff3 Don't leak bitmap
svn path=/trunk/netsurf/; revision=10233
2010-04-03 12:19:20 +00:00
John Mark Bell
d4524e7def Remove pointless destruction of bitmap: HTML contents will never have one.
svn path=/trunk/netsurf/; revision=10232
2010-04-03 12:00:37 +00:00
John Mark Bell
49810d8191 Use mutator to modify content's title field.
svn path=/trunk/netsurf/; revision=10231
2010-04-03 11:55:28 +00:00
Chris Young
6835a312b7 Remove verbose_log from options file
Copy libz as I've built 1.2.4 and it has faster gzip code

svn path=/trunk/netsurf/; revision=10230
2010-04-03 10:24:43 +00:00
Chris Young
5bae5edd7b Use DataTypes to read text files that are dropped into text boxes, this allows more
exotic formats to be read such as IFF FTXT.

svn path=/trunk/netsurf/; revision=10229
2010-04-02 16:25:55 +00:00
Chris Young
d927f70ad7 ...and right a bit
svn path=/trunk/netsurf/; revision=10228
2010-04-02 10:49:18 +00:00
Chris Young
d8da93037a Move status bar text up a bit...
svn path=/trunk/netsurf/; revision=10227
2010-04-02 10:29:20 +00:00
Chris Young
23b4f0996c Updated AISS style icon by Martin Merz
svn path=/trunk/netsurf/; revision=10226
2010-04-01 17:55:34 +00:00
Chris Young
cb3490798e Also update OpenURL config
svn path=/trunk/netsurf/; revision=10225
2010-04-01 17:52:56 +00:00
Chris Young
d3276dfbaf netsurf_init expects a char ***, not a char **
Change command template so URL is a keyword.  This avoids the platform code
re-interpreting core options (eg -v as a URL).
Move screen open code slightly so "NetSurf ?" shows the template visibly, rather than
opening an empty screen and the user not knowing what is happening.

svn path=/trunk/netsurf/; revision=10224
2010-04-01 17:44:42 +00:00
Vincent Sanders
0194e4bb55 avoid diviosion by zero errors;
svn path=/trunk/netsurf/; revision=10223
2010-03-31 19:14:01 +00:00
Chris Young
7e551cf94f Missing include
svn path=/trunk/netsurf/; revision=10222
2010-03-31 16:41:56 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
John Mark Bell
9f575c590b Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been destroyed.
Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback().

svn path=/trunk/netsurf/; revision=10218
2010-03-30 21:36:39 +00:00
Vincent Sanders
57e7a172e1 Perform a radical crapectomy on the windows redraw functionality
svn path=/trunk/netsurf/; revision=10217
2010-03-30 21:03:41 +00:00
Chris Young
fcce190701 netsurf_init expects a pointer, not an int
svn path=/trunk/netsurf/; revision=10216
2010-03-30 18:21:20 +00:00
Chris Young
103998165a Revert previous change
svn path=/trunk/netsurf/; revision=10215
2010-03-30 18:20:48 +00:00
Chris Young
9b9c26b569 Avoid crash if pargc is NULL. This might happen, for example, when launching NetSurf
from Workbench under AmigaOS :)

svn path=/trunk/netsurf/; revision=10214
2010-03-30 18:14:40 +00:00
Chris Young
07537e5240 Fix compilation when building WITH_NS_SVG
svn path=/trunk/netsurf/; revision=10213
2010-03-30 18:12:21 +00:00
Michael Drake
b890b79254 Remove date.
svn path=/trunk/netsurf/; revision=10210
2010-03-30 10:30:02 +00:00
John Mark Bell
b794d694d3 It probably helps to invert the done_parse flag
svn path=/trunk/netsurf/; revision=10209
2010-03-30 07:09:49 +00:00
Vincent Sanders
11dbf5e589 stop trying to redraw a browser window if its content is empty
svn path=/trunk/netsurf/; revision=10208
2010-03-29 23:27:50 +00:00
John Mark Bell
9aca901eb1 The convert stage of a content's state progression no longer reflows the content to the provided dimensions.
It is now defined as converting the content into a state in which it is ready for use.
The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn.

Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs.
Fix up content handlers affected by the above change in semantics.
Ensure that browser_window_callback performs an initial reformat of its content.

svn path=/trunk/netsurf/; revision=10207
2010-03-29 22:33:21 +00:00
John Mark Bell
2a53c4c811 Use hlcache_child_ctx, instead of just hoping that we replicate its members correctly.
Ensure public API documentation is not duplicated.

svn path=/trunk/netsurf/; revision=10206
2010-03-29 21:17:18 +00:00
Vincent Sanders
e00fb7bd2d second pass at startup refactor removing the gui_init callback
svn path=/trunk/netsurf/; revision=10205
2010-03-29 20:03:44 +00:00
Vincent Sanders
7e67527267 first part of initialisation refactor move gui_init2 into frontends
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +00:00
John Mark Bell
99dee5e3d0 Disable llcache tracing
svn path=/trunk/netsurf/; revision=10201
2010-03-29 06:29:56 +00:00
John Mark Bell
b6f6bc5fdd Fix broken linked list removal.
svn path=/trunk/netsurf/; revision=10200
2010-03-29 06:29:25 +00:00
John Mark Bell
311b458d56 Forbid contents with active fetches from being cleaned.
svn path=/trunk/netsurf/; revision=10199
2010-03-29 06:28:46 +00:00
John Mark Bell
4e2c3a4c39 Exceptionally verbose tracing of llcache operation.
svn path=/trunk/netsurf/; revision=10198
2010-03-29 06:27:37 +00:00