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
John Mark Bell
cc226c0293
Make URL completion ignore unvisited URLs
...
svn path=/trunk/netsurf/; revision=2621
2006-06-15 15:47:34 +00:00
John Mark Bell
026ba672ae
Fix handling of hosts with no paths attached ( fixes #1505891 )
...
svn path=/trunk/netsurf/; revision=2620
2006-06-15 15:06:59 +00:00
John Mark Bell
c1dbdad995
Provide persistent flag for urldb entries.
...
Make hotlist use this, rather than abusing the last visited date.
This fixes the hotlist being copied to global history issue.
svn path=/trunk/netsurf/; revision=2619
2006-06-14 22:46:12 +00:00
John Mark Bell
217e59aebe
Fix off-by-one error in search routines which caused crashes with
...
(invalid) host names ending in a '.'.
svn path=/trunk/netsurf/; revision=2618
2006-06-14 21:47:23 +00:00
Michael Drake
d44108433e
Updated German translation. Thanks to Sebastian Barthel.
...
svn path=/trunk/netsurf/; revision=2615
2006-06-08 22:10:01 +00:00
John Mark Bell
09564c2bca
Fix handling of backspace in URL entry field
...
svn path=/trunk/netsurf/; revision=2614
2006-06-02 14:27:18 +00:00
Daniel Silverstone
52e973d094
Don't clone a NULL gesturer
...
svn path=/trunk/netsurf/; revision=2613
2006-06-02 13:31:18 +00:00
Daniel Silverstone
a8ebc5ba5a
Fix comment about direction 8 in the gesture core.
...
svn path=/trunk/netsurf/; revision=2612
2006-06-02 13:28:06 +00:00
Daniel Silverstone
8a86b6b2b4
Added rudimentary gesture engine and test in gtk frontend
...
svn path=/trunk/netsurf/; revision=2611
2006-06-02 07:48:13 +00:00
John Mark Bell
8fc65f1a64
New keybindings similar to other browsers:
...
Backspace -> back
Shift + Backspace -> forward
svn path=/trunk/netsurf/; revision=2610
2006-06-01 23:54:55 +00:00
Adrian Lees
8f7eeb9e58
Report fetching of 1 object/stylesheet correctly in status bar
...
svn path=/trunk/netsurf/; revision=2609
2006-05-29 00:55:43 +00:00
Adrian Lees
c2f54bca82
Eliminate error at end of page drag scrolling on Select
...
svn path=/trunk/netsurf/; revision=2608
2006-05-28 16:49:39 +00:00
James Bursa
d94e0749e1
Replace a call to wimp_create_icon() with xwimp_create_icon().
...
svn path=/trunk/netsurf/; revision=2607
2006-05-24 22:56:46 +00:00