John Mark Bell
2c2ac87e37
Prevent tabbing into textfields whose styling is display: none;
...
svn path=/trunk/netsurf/; revision=3849
2008-02-07 00:50:37 +00:00
James Bursa
5c1f3bd8c8
Move SVG code into a new library, libsvgtiny.
...
svn path=/trunk/netsurf/; revision=3837
2008-02-03 19:11:36 +00:00
Michael Drake
61e70fee80
Fix makefile and RISC OS !Run file.
...
svn path=/trunk/netsurf/; revision=3834
2008-02-03 18:54:21 +00:00
Michael Drake
7177f59309
Improve float positioning.
...
svn path=/trunk/netsurf/; revision=3833
2008-02-03 18:44:24 +00:00
Daniel Silverstone
35e8419fc6
Stop the repeating LEMON/DEP for the CSS parser with Makefile.unix
...
svn path=/trunk/netsurf/; revision=3832
2008-02-03 18:37:26 +00:00
John Mark Bell
7f70acaca6
Silence noisy logging
...
svn path=/trunk/netsurf/; revision=3830
2008-02-03 18:21:49 +00:00
Michael Drake
1d849805b4
Include string.h. Thanks to joty.
...
svn path=/trunk/netsurf/; revision=3829
2008-02-03 16:43:16 +00:00
Michael Drake
d67a84f7e3
Turn debug output off again. Remove extraneous include.
...
svn path=/trunk/netsurf/; revision=3828
2008-02-03 14:29:07 +00:00
Michael Drake
8491aecb35
Ensure min line length takes into account margins, borders and paddings of objects.
...
svn path=/trunk/netsurf/; revision=3827
2008-02-03 14:24:46 +00:00
John Mark Bell
ad6fcea6b0
Add url_fragment to extract fragment from URL
...
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header
svn path=/trunk/netsurf/; revision=3826
2008-02-03 12:04:48 +00:00
Michael Drake
eb2c2e3f63
Remove dubious default CSS rule.
...
svn path=/trunk/netsurf/; revision=3822
2008-02-02 13:36:30 +00:00
Michael Drake
43e365f0aa
Ensure button style is the same as input type=button.
...
svn path=/trunk/netsurf/; revision=3820
2008-02-02 09:53:42 +00:00
Michael Drake
477cfc8baf
Treat font tag relative sizes of +/- >1 the same as one.
...
svn path=/trunk/netsurf/; revision=3817
2008-02-02 00:48:39 +00:00
Michael Drake
87c68e38eb
Update GTK form style.
...
svn path=/trunk/netsurf/; revision=3816
2008-02-02 00:36:50 +00:00
John Mark Bell
04c38876b3
Remove unnecessary #ifdef riscos
...
svn path=/trunk/netsurf/; revision=3815
2008-02-02 00:25:21 +00:00
Michael Drake
2e6d221a42
Fix GTK build.
...
svn path=/trunk/netsurf/; revision=3814
2008-02-02 00:22:08 +00:00
Michael Drake
120ca506c1
Make text input boxes with height:auto; and no initial value get a sensible height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements.
...
svn path=/trunk/netsurf/; revision=3813
2008-02-02 00:13:19 +00:00
John Mark Bell
83941da263
Add function to dump working stylesheets
...
svn path=/trunk/netsurf/; revision=3811
2008-01-31 01:47:57 +00:00
Michael Drake
0309c25c2e
Revert last change because it made the tracker almost unusable.
...
svn path=/trunk/netsurf/; revision=3810
2008-01-30 22:09:41 +00:00
John Mark Bell
cc3481a2ff
Make core fetching code handle verifiability of transactions
...
Make core fetching code be responsible for inserting cookies into the urldb
Provide accessor to a fetch's parent url (this is defined as being the URL of the verifiable fetch which caused this one to occur)
Make fetchcache's 3xx handling use the parent url when spawning new fetches
svn path=/trunk/netsurf/; revision=3809
2008-01-30 19:56:41 +00:00
Michael Drake
087516561f
Support SUP and SUB tags with relative position in default CSS file.
...
svn path=/trunk/netsurf/; revision=3808
2008-01-30 18:30:59 +00:00
John Mark Bell
9164f247c2
Ensure plq is terminated when looking for an URL path.
...
Ensure fetchcache_redirect() normalizes the redirect destination.
svn path=/trunk/netsurf/; revision=3807
2008-01-30 01:44:57 +00:00
Michael Drake
1952b8b9ba
Stop min gif delay option growing every time choices are saved on nsgtk. Use same scale factor as RISC OS.
...
svn path=/trunk/netsurf/; revision=3805
2008-01-29 20:46:10 +00:00
Michael Drake
0c311cf6a2
Add stylesheet for GTK specific rules.
...
svn path=/trunk/netsurf/; revision=3802
2008-01-29 14:00:56 +00:00
Michael Drake
b74a1a173e
Tidy default form element styles.
...
svn path=/trunk/netsurf/; revision=3801
2008-01-29 13:03:29 +00:00
Michael Drake
0241f21d4d
Fix syntax.
...
svn path=/trunk/netsurf/; revision=3800
2008-01-29 01:18:23 +00:00
Michael Drake
3edfd4feb7
Reinstate things lost in the last checkins.
...
svn path=/trunk/netsurf/; revision=3799
2008-01-29 01:14:20 +00:00
Michael Drake
30b76c4dfa
No need to recalculate a value we already have.
...
svn path=/trunk/netsurf/; revision=3798
2008-01-29 01:01:02 +00:00
Michael Drake
38dcd3f172
Apply min font size config option to radio icons and checkboxes.
...
svn path=/trunk/netsurf/; revision=3797
2008-01-29 00:42:15 +00:00
Michael Drake
416c81208b
Make box dump show "gadget".
...
svn path=/trunk/netsurf/; revision=3796
2008-01-28 13:48:59 +00:00
James Bursa
58724040e5
Render borders after backgrounds. Handle boxes with overflow hidden or scroll and borders correctly. Update copyrights.
...
svn path=/trunk/netsurf/; revision=3792
2008-01-28 04:33:39 +00:00
John Mark Bell
8fdd1f298e
Recurse into noscript elements when looking for meta refresh. This would work perfectly, were it not for libxml's html parser terminating head and starting body on sight of a noscript tag. Joy.
...
svn path=/trunk/netsurf/; revision=3791
2008-01-28 02:43:06 +00:00
Michael Drake
75fe183d01
Apply default margin to select and textarea elements too.
...
svn path=/trunk/netsurf/; revision=3790
2008-01-28 02:25:30 +00:00
Michael Drake
882c04c2fb
Only needed the vertical position changed.
...
svn path=/trunk/netsurf/; revision=3789
2008-01-28 02:01:04 +00:00
John Mark Bell
9c93407fce
Thinly paper over gaping holes in the build system.
...
svn path=/trunk/netsurf/; revision=3788
2008-01-28 01:46:29 +00:00
John Mark Bell
78d194cb77
Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
...
Redirect handling is now transparent to clients of fetchcache.
The new scheme works as follows:
1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
If redirect, receive NEWPTR for each redirect that occurs, then continue
through LOADING, READY, DONE etc. states as before.
The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.
As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.
svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
Michael Drake
32fe1bd1bf
Replace accidentally checked in files with previous ones.
...
svn path=/trunk/netsurf/; revision=3786
2008-01-28 01:11:37 +00:00
Michael Drake
49fce64c1a
Fix vertical position of images with margin/borders/padding.
...
svn path=/trunk/netsurf/; revision=3785
2008-01-28 00:58:31 +00:00
Michael Drake
48bdeb34c8
Ensure images within inline-blocks are shown properly. Fixed by zamez.
...
svn path=/trunk/netsurf/; revision=3783
2008-01-27 22:25:11 +00:00
Michael Drake
fcd30e0819
Revert r3781.
...
svn path=/trunk/netsurf/; revision=3782
2008-01-27 19:08:27 +00:00
Michael Drake
2a28537fe6
Background area extends to border edge.
...
svn path=/trunk/netsurf/; revision=3781
2008-01-27 19:06:11 +00:00
Michael Drake
f5d07c4988
Background area extends to border edge.
...
svn path=/trunk/netsurf/; revision=3780
2008-01-27 18:15:56 +00:00
Michael Drake
b2b6fa0f10
Make inline-blocks have margins. Add defualt margin around form inputs.
...
svn path=/trunk/netsurf/; revision=3779
2008-01-27 17:39:14 +00:00
Michael Drake
053f2f830c
Hopefully fix inline-block positioning. (Stops form elements from overlapping.)
...
svn path=/trunk/netsurf/; revision=3778
2008-01-27 11:59:01 +00:00
Michael Drake
252aa870f8
No need to reduce box height when adding scrollbar.
...
svn path=/trunk/netsurf/; revision=3777
2008-01-26 23:03:30 +00:00
John Mark Bell
ae3555ccdd
Fixes for targetting NetBSD (Thanks to Adam Hoka)
...
svn path=/trunk/netsurf/; revision=3775
2008-01-26 16:44:17 +00:00
Michael Drake
205fe6ea65
Remove old TODO docs.
...
svn path=/trunk/netsurf/; revision=3761
2008-01-22 18:55:10 +00:00
Michael Drake
f69ce8d094
Add icon to distinguish online links.
...
svn path=/trunk/netsurf/; revision=3744
2008-01-21 20:01:36 +00:00
Michael Drake
e5cadb5afe
Update to real new welcome page path.
...
svn path=/trunk/netsurf/; revision=3735
2008-01-19 23:42:26 +00:00
John Mark Bell
51160e3d34
Fix symlinks
...
svn path=/trunk/netsurf/; revision=3734
2008-01-19 23:33:21 +00:00