Richard Wilson
6e8ba3f4bb
Move array definitions for GCC4
...
svn path=/trunk/netsurf/; revision=2687
2006-07-02 00:08:54 +00:00
John Mark Bell
f73bae5c29
Make url_plq ensure url_get_components found a path
...
Make url_scheme call url_destroy_components in case where no scheme was
found.
svn path=/trunk/netsurf/; revision=2686
2006-07-01 22:40:41 +00:00
John Mark Bell
bc2d96368f
Fix conversion of URLs beginning "file://". Additionally,
...
file://host/... isn't likely, so assume file://path & convert to
file:///path
svn path=/trunk/netsurf/; revision=2685
2006-07-01 22:27:10 +00:00
John Mark Bell
28a7ed4989
Relax domain matching to allow host a.com to match .a.com
...
svn path=/trunk/netsurf/; revision=2684
2006-07-01 21:35:30 +00:00
Richard Wilson
2dc65ac414
Don't assume tiled plotting will cover the entire clipping region.
...
svn path=/trunk/netsurf/; revision=2683
2006-07-01 18:41:33 +00:00
Richard Wilson
cf4294d3a8
Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
...
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
Richard Wilson
f22838ab62
Stop possible pollution of the cache.
...
svn path=/trunk/netsurf/; revision=2681
2006-06-30 23:09:21 +00:00
John Mark Bell
928f949413
Ensure containing block has valid height for positioning absolute children
...
svn path=/trunk/netsurf/; revision=2680
2006-06-29 23:30:06 +00:00
John Mark Bell
f8469d2051
Ignore alternate stylesheets
...
svn path=/trunk/netsurf/; revision=2679
2006-06-29 23:29:15 +00:00
John Mark Bell
8c3e9b882b
Fix crash when url_* fails
...
svn path=/trunk/netsurf/; revision=2678
2006-06-29 22:04:56 +00:00
John Mark Bell
c5cb54b94d
Handle transparent borders correctly when plotting
...
svn path=/trunk/netsurf/; revision=2677
2006-06-29 21:30:05 +00:00
John Mark Bell
bf26437321
Link rel attribute may be a space separated list, take account of this
...
when looking for stylesheets.
svn path=/trunk/netsurf/; revision=2676
2006-06-29 21:29:21 +00:00
John Mark Bell
8c2e33b399
Fix clipping of page background if body shorter than window height
...
svn path=/trunk/netsurf/; revision=2675
2006-06-29 19:55:08 +00:00
John Mark Bell
b427a005b6
Properly take account of padding on containing block.
...
svn path=/trunk/netsurf/; revision=2673
2006-06-29 15:53:17 +00:00
John Mark Bell
25537a488a
Position specifiers are relative to containing block's padding edge for
...
absolutely positioned boxes. Compensate for this.
svn path=/trunk/netsurf/; revision=2672
2006-06-29 11:55:21 +00:00
John Mark Bell
19e81ab5e9
Fix previous commit; it failed to make available_width include mbp such
...
that subtracting them after determining the width works in the case
where available_width > box->min_width.
svn path=/trunk/netsurf/; revision=2671
2006-06-29 09:55:31 +00:00
John Mark Bell
38bd0b13fe
Compensate for box->{min_width,max_width} including mbp when
...
auto-widthing absolutely positioned content.
svn path=/trunk/netsurf/; revision=2670
2006-06-29 09:37:18 +00:00
John Mark Bell
83ef76adc7
Only accept cookies from cookie-enabled transactions
...
svn path=/trunk/netsurf/; revision=2668
2006-06-29 00:01:24 +00:00
Richard Wilson
3d6331efd7
Only check caret position for writable icons.
...
svn path=/trunk/netsurf/; revision=2667
2006-06-28 22:58:58 +00:00
Richard Wilson
c490c7f586
Handle memory exhaustion better.
...
svn path=/trunk/netsurf/; revision=2666
2006-06-28 22:45:48 +00:00
Rob Kendrick
5378cd3330
Trivial warning fix in GTK GUI
...
svn path=/trunk/netsurf/; revision=2665
2006-06-28 22:29:45 +00:00
Richard Wilson
cea180d752
Rewrite url_join to RFC 3986 compliance, and without the use of regular expressions. This should speed up pages with lots of links and also fix certain cases where URLs were incorrectly returned.
...
svn path=/trunk/netsurf/; revision=2664
2006-06-28 21:49:41 +00:00
John Mark Bell
22e405f914
Fix float placement when it's an exact fit for the width available
...
svn path=/trunk/netsurf/; revision=2661
2006-06-28 16:47:02 +00:00
John Mark Bell
4e6974b523
Fix background: parsing & lose potential memory leak
...
svn path=/trunk/netsurf/; revision=2660
2006-06-28 15:38:46 +00:00
John Mark Bell
ea7867b927
Dump RUfl family list if Homerton isn't found
...
svn path=/trunk/netsurf/; revision=2659
2006-06-28 14:38:31 +00:00
Richard Wilson
d45a56ba7f
Fix URL joining for fragments.
...
svn path=/trunk/netsurf/; revision=2658
2006-06-27 18:47:33 +00:00
Rob Kendrick
645ff17ba4
Added calls to urldb to load and save the cookie jar at init and exit
...
svn path=/trunk/netsurf/; revision=2657
2006-06-27 18:24:22 +00:00
Richard Wilson
a0414fd967
Massively optimise common URL functions. This should (a) drastically reduce the start-up time for users with a large history/hotlist, and (b) decrease the loading time for pages with a sizable number of references.
...
svn path=/trunk/netsurf/; revision=2656
2006-06-27 17:59:32 +00:00
Richard Wilson
83c6568057
Don't use a regexp to extract scheme name.
...
svn path=/trunk/netsurf/; revision=2655
2006-06-27 00:53:39 +00:00
John Mark Bell
0ef42d4e5e
Remove clean_cookiejar; it's been redundant for years
...
svn path=/trunk/netsurf/; revision=2654
2006-06-27 00:35:48 +00:00
John Mark Bell
61dc91e0c5
Relative positioning for absolutely positioned boxes
...
svn path=/trunk/netsurf/; revision=2653
2006-06-26 22:24:42 +00:00
John Mark Bell
50a8bae10f
Box x,y coordinates are of padding edge relative to parent;
...
top,left,bottom,right are of margin edge relative to parent, so add
margin and border width when calculating x,y from left,top.
svn path=/trunk/netsurf/; revision=2652
2006-06-26 22:00:10 +00:00
John Mark Bell
58dc86655e
Make box_at_point detection consider absolute children too
...
svn path=/trunk/netsurf/; revision=2651
2006-06-26 20:16:24 +00:00
John Mark Bell
553d6066d0
Fix textarea crashes
...
svn path=/trunk/netsurf/; revision=2650
2006-06-26 19:47:22 +00:00
John Mark Bell
f881db3654
Fix calculation of right margin in case where margin right is auto
...
Initialise available_width correctly for shrink-to-fit widthing.
svn path=/trunk/netsurf/; revision=2649
2006-06-26 13:22:43 +00:00
James Bursa
8ee81a7d8e
Implement absolute positioning.
...
svn path=/trunk/netsurf/; revision=2648
2006-06-26 04:52:34 +00:00
John Mark Bell
8db70d8e2d
UTF-8 capable single/multi-line text area/display field - needs
...
optimisation, completion of outstanding todos.
Use this to display SSL certificate issuer and subject information.
svn path=/trunk/netsurf/; revision=2647
2006-06-26 01:14:33 +00:00
James Bursa
f1a1143a24
Fix rendering of float children of a hidden box. Render box absolute children.
...
svn path=/trunk/netsurf/; revision=2646
2006-06-25 23:07:24 +00:00
John Mark Bell
1404431fef
Lose compiler warnings
...
svn path=/trunk/netsurf/; revision=2645
2006-06-25 13:12:07 +00:00
Rob Kendrick
045794bdbb
Fix typo in Pinboard workaround (stops it being overly zealous)
...
svn path=/trunk/netsurf/; revision=2644
2006-06-24 16:56:56 +00:00
John Mark Bell
a63221a624
Rewrite cookie parser to be more tolerant of junk input
...
No longer need urldb_init; remove it.
svn path=/trunk/netsurf/; revision=2643
2006-06-24 15:44:48 +00:00
John Mark Bell
bb91584f7c
Strip day names from date strings before parsing; these are too variable
...
to bother with (and carry no information useful to us)
Make expires avpair handling cater for dates after 2038.
svn path=/trunk/netsurf/; revision=2642
2006-06-24 00:01:55 +00:00
Rob Kendrick
73b13bff12
Add workaround to bug in Pinboard not displaying some windows when iconised
...
svn path=/trunk/netsurf/; revision=2641
2006-06-23 22:42:31 +00:00
James Bursa
878ef9883e
Changes to struct box for absolute positioning.
...
svn path=/trunk/netsurf/; revision=2640
2006-06-21 02:51:00 +00:00
John Mark Bell
9eb3efff78
Make filename_create_directory check if directory already exists
...
Constify return of filename_request
Make bitmap save code check for filename_request failure
Update ro_gui_view_source to take account of constification
svn path=/trunk/netsurf/; revision=2639
2006-06-20 22:58:36 +00:00
John Mark Bell
5adef63ac5
Localise configure icon strings when appropriate.
...
Fix gright menu handling - now writes into display field without
attempting to localise the selection string - it's already localised.
Update German Messages file appropriately.
svn path=/trunk/netsurf/; revision=2638
2006-06-20 21:35:33 +00:00
John Mark Bell
5f10c6277a
Remove assertion of invalid assumption ( fixes #1509118 )
...
svn path=/trunk/netsurf/; revision=2637
2006-06-20 12:05:19 +00:00
John Mark Bell
dcb3caf1eb
Make cookie file parser more strict (cookies with spaces in the value
...
have been seen in the wild).
Fix lookup of cookies for top-level paths (i.e. a path segment of "/")
svn path=/trunk/netsurf/; revision=2636
2006-06-20 11:45:41 +00:00
John Mark Bell
8ac57593b8
Fix handling of broken Expires avpairs
...
svn path=/trunk/netsurf/; revision=2633
2006-06-19 23:40:27 +00:00
John Mark Bell
4f249f9d0a
Merge cookies changes into head - unvalidated transactions and a UI
...
still need implementing.
svn path=/trunk/netsurf/; revision=2632
2006-06-19 21:49:25 +00:00