Michael Drake
6a55bafba8
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10283
2010-04-07 17:42:21 +00:00
Michael Drake
ec2f35cb6f
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10282
2010-04-07 17:37:54 +00:00
Michael Drake
cffb7ea77b
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10281
2010-04-07 17:33:58 +00:00
Michael Drake
2975e1df84
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10280
2010-04-07 17:29:40 +00:00
Michael Drake
95b859c2eb
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10279
2010-04-07 17:05:50 +00:00
Michael Drake
43094a146d
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10278
2010-04-07 17:01:27 +00:00
Michael Drake
832daf49fa
hlcache_handle is typedeffed.
...
svn path=/trunk/netsurf/; revision=10276
2010-04-07 16:39:24 +00:00
Michael Drake
111920ad95
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10275
2010-04-07 16:08:24 +00:00
Michael Drake
4119cc50b4
More new cache fixing.
...
svn path=/trunk/netsurf/; revision=10274
2010-04-07 15:34:01 +00:00
Michael Drake
c147001a17
More new cache fixing.
...
svn path=/trunk/netsurf/; revision=10273
2010-04-07 14:14:44 +00:00
Michael Drake
c723c8bc59
More new cache fixing.
...
svn path=/trunk/netsurf/; revision=10272
2010-04-07 14:09:13 +00:00
Michael Drake
14008b11d0
Fix page info for new cache.
...
svn path=/trunk/netsurf/; revision=10270
2010-04-07 13:14:00 +00:00
Michael Drake
4b54cca8b9
Start fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10268
2010-04-07 12:45:18 +00:00
Michael Drake
20cb4a7a48
Fix hotlist for new cache.
...
svn path=/trunk/netsurf/; revision=10267
2010-04-07 12:19:08 +00:00
Michael Drake
65b3dd18e3
Make filename_from_path() compile.
...
svn path=/trunk/netsurf/; revision=10264
2010-04-07 11:05:24 +00:00
Michael Drake
51d619ad4d
Fix box dump for new cache.
...
svn path=/trunk/netsurf/; revision=10263
2010-04-07 10:55:39 +00:00
Michael Drake
cc0e23b540
Don't dump box trees on crash, and fix view source for new cache.
...
svn path=/trunk/netsurf/; revision=10262
2010-04-07 10:33:46 +00:00
Michael Drake
87166fdbc1
hlcache_handle is typedeffed.
...
svn path=/trunk/netsurf/; revision=10261
2010-04-07 09:28:01 +00:00
Michael Drake
088742b3c3
Fix filetype.c.
...
svn path=/trunk/netsurf/; revision=10260
2010-04-07 09:12:46 +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
Vincent Sanders
95e4a737de
rationalise the usage of the file scheme
...
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +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
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
Chris Young
033b5d815a
Move code which extracts the filename from a given path into frontend.
...
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
4a950fcbf7
Only run the scheduler on null poll events.
...
Ensure the status bar widget treats its text as const.
Fix erroneous free of status bar text in status bar widget destructor.
The status bar text is now owned by the core.
Schedule a callback to request a redraw from the Wimp when setting status bar
text. The previous approach could lead to the Wimp having a long queue of
redraw events to issue to us, thus preventing any other application being
scheduled.
The above changes are based on a patch from Rik Griffin.
svn path=/trunk/netsurf/; revision=10126
2010-03-10 22:47:37 +00:00
Vincent Sanders
c1e7429d58
remove RISC OS status bar text caching
...
svn path=/trunk/netsurf/; revision=9966
2010-02-11 00:10:58 +00:00
Adrian Lees
e79df765b0
Fix NULL ptr dereference in status bar rendering; formatting.
...
svn path=/trunk/netsurf/; revision=9883
2010-01-24 12:49:29 +00:00
Vincent Sanders
e01d93f344
Refactor main into the frontends
...
remove unused embedded global
svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
John Mark Bell
1f4bb41301
I've decided that the user probably doesn't care if setting the filetype of saved HTML documents to HTML fails or not.
...
More importantly, this also squashes a memory leak, and stops returning false from a function which is defined as returning -1 on error.
svn path=/trunk/netsurf/; revision=9731
2009-12-18 00:11:37 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell
c3f2972d03
Another blatent use-after-free
...
svn path=/trunk/netsurf/; revision=9713
2009-12-03 22:12:43 +00:00
John Mark Bell
f6fbe6ef96
Fix blatent use-after-free bug.
...
svn path=/trunk/netsurf/; revision=9712
2009-12-03 22:10:56 +00:00
John Mark Bell
dea67b984a
Modern OSLib (as of 3 months ago) no longer has colourtrans_CURRENT_MODE.
...
Use os_CURRENT_MODE, instead.
svn path=/trunk/netsurf/; revision=9710
2009-12-02 16:30:44 +00:00
John Tytgat
2261b616f6
- content/urldb.c(auth_data): Removed;
...
(prot_space_data): Added, it lives linked in the leaf host_part
struct and together with its scheme and port (which defins canonical root
url) and realm this defines a protection space.
(path_data): Removed auth_data field and replaced by a prot_space_data
pointer.
(host_part::prot_space): Added linked list of protection space data
structs.
(urldb_get_auth_details): Given an URL fetch fetches its auth.
(urldb_set_auth_details): Creates or updates the contents of a
protection space to which given URL belongs.
(urldb_destroy_host_tree): Delete protection data space structures
using urldb_destroy_prot_space.
(urldb_destroy_prot_space): Added.
- content/urldb.h(urldb_get_auth_details): Added realm parameter.
- content/fetchers/fetch_curl.c(fetch_curl_set_options): Update
urldb_get_auth_details call (we don't know realm at this point).
- content/fetchcache.c(fetchcache_callback, fetchcache_auth): At FETCH_AUTH,
use realm to determine if we really don't know auth data and if so,
refetch content.
- content/content.h(struct content): Add content::tried_with_auth.
- content/content.c(content_create): Initialize content::tried_with_auth.
- riscos/401login.c(ro_gui_401login_open): Show known authentication
data in dialogue so user can see what was wrong with it and correct it.
Solves bug #2830829 .
svn path=/trunk/netsurf/; revision=9045
2009-08-04 23:02:23 +00:00
John Mark Bell
bbdb07fe16
Fix RISC OS and Amiga builds.
...
The sooner this stuff is in the core, the better.
svn path=/trunk/netsurf/; revision=8827
2009-07-27 18:01:54 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
6e13c2fb0a
Scale font sizes, for better accuracy.
...
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
8365d46eb7
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
...
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6
next round of plotter refactor
...
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Vincent Sanders
680298e61c
plotters line refactor
...
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
Vincent Sanders
f9ecd56f62
ploter refactor of rectangle handling
...
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
Vincent Sanders
0ade453958
Refactor fill plotter to take a style
...
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Vincent Sanders
1165edf662
remove redundant clg call
...
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00