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
John Mark Bell
e6d85230f1
Squash warning
...
svn path=/trunk/netsurf/; revision=10197
2010-03-28 23:40:12 +00:00
John Mark Bell
57253cdd58
Fixup per review
...
svn path=/trunk/netsurf/; revision=10196
2010-03-28 23:25:21 +00:00
Chris Young
5b5e15c845
Fix for new-cache
...
svn path=/trunk/netsurf/; revision=10195
2010-03-28 22:11:30 +00:00
Chris Young
c2f9c06de3
Avoid failing completely if gui_window is NULL
...
svn path=/trunk/netsurf/; revision=10194
2010-03-28 21:40:22 +00:00
Michael Drake
aafc98465b
Remove unnecessary assignment.
...
svn path=/trunk/netsurf/; revision=10193
2010-03-28 19:26:47 +00:00
Michael Drake
dd2b9e4b19
Pass mouse buttons to core correctly.
...
svn path=/trunk/netsurf/; revision=10192
2010-03-28 19:21:47 +00:00
Rob Kendrick
974f42f8cf
Only obey size property on input elements that are either text or password. Fixes submit buttons with size properties being too small/large.
...
svn path=/trunk/netsurf/; revision=10191
2010-03-28 18:33:10 +00:00
Daniel Silverstone
66d1418506
Allow us to cache foo?bar when it explicitly allows it. as per rfc2616 13.9
...
svn path=/trunk/netsurf/; revision=10190
2010-03-28 16:51:47 +00:00
Chris Young
74108d1e09
Allow NetSurf to be opened from the CLI without a URL specified.
...
Add new switch FORCE which will force a new instance of NetSurf to open rather than
opening a new window in the already-running application (intended for debugging when
NetSurf has crashed)
svn path=/trunk/netsurf/; revision=10189
2010-03-28 16:42:33 +00:00
Daniel Silverstone
8effd1cb98
Ensure that finished redirection objects in llcache do not get found by subsequent fetch attempts.
...
svn path=/trunk/netsurf/; revision=10188
2010-03-28 16:28:28 +00:00
Daniel Silverstone
cb7412181f
Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to complete properly.
...
svn path=/trunk/netsurf/; revision=10187
2010-03-28 16:00:54 +00:00
Chris Young
5bb5cedec5
Changes required for new-cache
...
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Daniel Silverstone
5d074feaf2
Remove redundant fetch_poll call
...
svn path=/trunk/netsurf/; revision=10185
2010-03-28 15:38:01 +00:00
Rob Kendrick
fea38002ed
Do not assert when the only thing of interest is a body box. Status string can quite happily be NULL.
...
svn path=/trunk/netsurf/; revision=10184
2010-03-28 15:35:37 +00:00