Commit Graph

2402 Commits

Author SHA1 Message Date
Richard Wilson
5eb703af73 Allow thumbnail icons to be turned off.
svn path=/trunk/netsurf/; revision=2699
2006-07-03 01:03:07 +00:00
Richard Wilson
148399a7b9 Remove redundant log statements
svn path=/trunk/netsurf/; revision=2698
2006-07-03 01:01:16 +00:00
John Mark Bell
b7af14b591 Implement component-wise URL comparison
svn path=/trunk/netsurf/; revision=2697
2006-07-02 22:34:04 +00:00
James Bursa
71287140ca Ensure that layout of absolute children is carried out after the height is known.
svn path=/trunk/netsurf/; revision=2696
2006-07-02 17:36:27 +00:00
Richard Wilson
eca33bd559 Add missing file.
svn path=/trunk/netsurf/; revision=2695
2006-07-02 17:36:18 +00:00
Richard Wilson
1d8bf3ff91 Disable debugging.
svn path=/trunk/netsurf/; revision=2694
2006-07-02 17:26:25 +00:00
Richard Wilson
dbe40cffb3 Re-instate the knockout renderers after a nested flush(). Make so knockout rendering is always used.
svn path=/trunk/netsurf/; revision=2693
2006-07-02 17:23:49 +00:00
Richard Wilson
0f36a3e6a5 Allow nested calls to knockout rendering (stops iframes from flushing the current data).
svn path=/trunk/netsurf/; revision=2692
2006-07-02 16:17:51 +00:00
Richard Wilson
a1e42c14a2 Ensure all plots are bounding boxes are correctly clipped. Handle non-repeating backgrounds better. Delink deleted nodes for improved efficiency.
svn path=/trunk/netsurf/; revision=2690
2006-07-02 13:18:29 +00:00
John Mark Bell
2cb285209e Use case-insensitive strstr to match "stylesheet"
svn path=/trunk/netsurf/; revision=2689
2006-07-02 10:26:51 +00:00
Richard Wilson
467d9679f8 Totally knock out boxes as early into the tree as possible to improve efficiency. Fix incorrect buffer check.
svn path=/trunk/netsurf/; revision=2688
2006-07-02 01:36:02 +00:00
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