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
Daniel Silverstone
05a4eceae2
Remove fetchcache.[ch]
...
svn path=/trunk/netsurf/; revision=10183
2010-03-28 15:34:07 +00:00
Rob Kendrick
40da15205e
Adjust alignment and padding of toolbar. All this toolbar code needs throwing away.
...
svn path=/trunk/netsurf/; revision=10182
2010-03-28 14:48:32 +00:00
Daniel Silverstone
8a49da03f0
Ensure we honour html_fetch_object's API properly regarding NOMEM behaviour
...
svn path=/trunk/netsurf/; revision=10181
2010-03-28 14:39:52 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Rob Kendrick
21da4f5bdf
Call the toolbar sensitivity update function when changing sensitivity of toolbar buttons when throbber stops
...
svn path=/trunk/netsurf/; revision=10179
2010-03-28 11:41:51 +00:00
Rob Kendrick
2d3ea6c278
Remove empty tab labels from glade files; removes GTK assertions on startup. Also fix popup menu stock items to be ones that actually exist.
...
svn path=/trunk/netsurf/; revision=10178
2010-03-28 11:26:08 +00:00
Rob Kendrick
759a482c8f
slight, marginal and trifling nsgtk beautification
...
svn path=/trunk/netsurf/; revision=10157
2010-03-27 11:31:03 +00:00
Chris Young
4b77c59a39
Stop javascript: links being passed to launch-handler
...
svn path=/trunk/netsurf/; revision=10149
2010-03-25 22:44:59 +00:00
Chris Young
f6d0a6aa05
If a file isn't dropped over a text box or a file box, just load it.
...
svn path=/trunk/netsurf/; revision=10148
2010-03-23 23:09:17 +00:00
Chris Young
6168e67632
Updated translation from Samir Hawamdeh
...
svn path=/trunk/netsurf/; revision=10147
2010-03-23 22:58:27 +00:00
Chris Young
01cf7baac6
Tidy up. Can almost tell what is going on in gui_init now.
...
svn path=/trunk/netsurf/; revision=10146
2010-03-23 22:55:56 +00:00
Chris Young
861b5b4953
Factor Amiga theme-related code out to a new file. This includes all throbber and
...
mouse pointer code (which are "theme modifiable") as well as normal theme reading
code.
svn path=/trunk/netsurf/; revision=10145
2010-03-23 22:27:33 +00:00
Chris Young
5e898e5a92
Add missing string. Thanks to Samir Hawamdeh for the report.
...
svn path=/trunk/netsurf/; revision=10144
2010-03-22 19:15:31 +00:00
Chris Young
48aa33f773
Fix crash when attempting to open context menu in a browser_window with no content.
...
svn path=/trunk/netsurf/; revision=10143
2010-03-21 19:29:33 +00:00