summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s/FALSE/false/gJohn Mark Bell2008-02-251-34/+34
| | | | | | s/TRUE/true/g svn path=/trunk/netsurf/; revision=3867
* Improve handling of HTML attributes / markup:Michael Drake2008-02-255-251/+554
| | | | | | | | | | | | | | | | | | | | | * Only apply presentational HTML attributes if no more important CSS has been set for the property. (NetSurf used to be a bit hit-and-miss when presentational markup and CSS were mixed.) * Change table cellpadding and border handling to happen as soon the boxes styles are available, rather than after the whole table has been constructed. Also fix default table border colour. * Improve handling of CENTER tag and ALIGN attribute. These could not be correctly supported in the default CSS file, so block level element alignment is now done during box construction. (Fixes #1891379, #1824492, #1723853) Form improvements: * Small MAXLENGTH values on text inputs now reduce element width. (Fixes #1894854) * Prevent select option text from wrapping. svn path=/trunk/netsurf/; revision=3866
* Set default max fetchers per host option to 2.Michael Drake2008-02-251-1/+1
| | | | svn path=/trunk/netsurf/; revision=3865
* Also flag box as invisible so it'll have no effect on layoutJohn Mark Bell2008-02-251-0/+1
| | | | svn path=/trunk/netsurf/; revision=3864
* Ignore spurious top-level framesets correctly (previously declared memory ↵John Mark Bell2008-02-251-1/+5
| | | | | | exhaustion, which is obviously wrong) svn path=/trunk/netsurf/; revision=3863
* For form gadgets, specified percentage width is inclusive of margin, border ↵Michael Drake2008-02-171-9/+23
| | | | | | and padding space. svn path=/trunk/netsurf/; revision=3859
* Update SSL certificates to the latest Mozilla certificates using ↵James Bursa2008-02-141-2363/+2608
| | | | | | curl/lib/mk-ca-bundle.pl. Number of certificates increased from 94 to 114. svn path=/trunk/netsurf/; revision=3858
* Tweak select element style.Michael Drake2008-02-111-1/+2
| | | | svn path=/trunk/netsurf/; revision=3856
* Select element width is width of longest option text.Michael Drake2008-02-112-9/+61
| | | | svn path=/trunk/netsurf/; revision=3855
* Make GIF decoding work correctly on big-endian (colors were wrong).James Bursa2008-02-101-4/+5
| | | | svn path=/trunk/netsurf/; revision=3854
* Reinstate WARNFLAGSJohn Mark Bell2008-02-091-5/+7
| | | | | | Make RISC OS build CFLAGS specify -mpoke-function-name svn path=/trunk/netsurf/; revision=3853
* Prevent tabbing into textfields whose styling is display: none;John Mark Bell2008-02-072-4/+20
| | | | svn path=/trunk/netsurf/; revision=3849
* Move SVG code into a new library, libsvgtiny.James Bursa2008-02-033-867/+61
| | | | svn path=/trunk/netsurf/; revision=3837
* Fix makefile and RISC OS !Run file.Michael Drake2008-02-032-19/+19
| | | | svn path=/trunk/netsurf/; revision=3834
* Improve float positioning.Michael Drake2008-02-033-20/+20
| | | | svn path=/trunk/netsurf/; revision=3833
* Stop the repeating LEMON/DEP for the CSS parser with Makefile.unixDaniel Silverstone2008-02-031-0/+4
| | | | svn path=/trunk/netsurf/; revision=3832
* Silence noisy loggingJohn Mark Bell2008-02-031-2/+2
| | | | svn path=/trunk/netsurf/; revision=3830
* Include string.h. Thanks to joty.Michael Drake2008-02-031-0/+1
| | | | svn path=/trunk/netsurf/; revision=3829
* Turn debug output off again. Remove extraneous include.Michael Drake2008-02-031-2/+1
| | | | svn path=/trunk/netsurf/; revision=3828
* Ensure min line length takes into account margins, borders and paddings of ↵Michael Drake2008-02-031-2/+7
| | | | | | objects. svn path=/trunk/netsurf/; revision=3827
* Add url_fragment to extract fragment from URLJohn Mark Bell2008-02-039-47/+118
| | | | | | | | 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
* Remove dubious default CSS rule.Michael Drake2008-02-021-1/+0
| | | | svn path=/trunk/netsurf/; revision=3822
* Ensure button style is the same as input type=button.Michael Drake2008-02-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=3820
* Treat font tag relative sizes of +/- >1 the same as one.Michael Drake2008-02-021-2/+4
| | | | svn path=/trunk/netsurf/; revision=3817
* Update GTK form style.Michael Drake2008-02-021-2/+2
| | | | svn path=/trunk/netsurf/; revision=3816
* Remove unnecessary #ifdef riscosJohn Mark Bell2008-02-021-2/+0
| | | | svn path=/trunk/netsurf/; revision=3815
* Fix GTK build.Michael Drake2008-02-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=3814
* Make text input boxes with height:auto; and no initial value get a sensible ↵Michael Drake2008-02-024-58/+49
| | | | | | 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
* Add function to dump working stylesheetsJohn Mark Bell2008-01-311-0/+22
| | | | svn path=/trunk/netsurf/; revision=3811
* Revert last change because it made the tracker almost unusable.Michael Drake2008-01-301-4/+2
| | | | svn path=/trunk/netsurf/; revision=3810
* Make core fetching code handle verifiability of transactionsJohn Mark Bell2008-01-304-31/+95
| | | | | | | | 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
* Support SUP and SUB tags with relative position in default CSS file.Michael Drake2008-01-301-2/+4
| | | | svn path=/trunk/netsurf/; revision=3808
* Ensure plq is terminated when looking for an URL path.John Mark Bell2008-01-302-2/+19
| | | | | | Ensure fetchcache_redirect() normalizes the redirect destination. svn path=/trunk/netsurf/; revision=3807
* Stop min gif delay option growing every time choices are saved on nsgtk. Use ↵Michael Drake2008-01-291-2/+2
| | | | | | same scale factor as RISC OS. svn path=/trunk/netsurf/; revision=3805
* Add stylesheet for GTK specific rules.Michael Drake2008-01-293-4/+28
| | | | svn path=/trunk/netsurf/; revision=3802
* Tidy default form element styles.Michael Drake2008-01-291-20/+17
| | | | svn path=/trunk/netsurf/; revision=3801
* Fix syntax.Michael Drake2008-01-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=3800
* Reinstate things lost in the last checkins.Michael Drake2008-01-291-3/+5
| | | | svn path=/trunk/netsurf/; revision=3799
* No need to recalculate a value we already have.Michael Drake2008-01-291-10/+5
| | | | svn path=/trunk/netsurf/; revision=3798
* Apply min font size config option to radio icons and checkboxes.Michael Drake2008-01-291-13/+47
| | | | svn path=/trunk/netsurf/; revision=3797
* Make box dump show "gadget".Michael Drake2008-01-281-0/+2
| | | | svn path=/trunk/netsurf/; revision=3796
* Render borders after backgrounds. Handle boxes with overflow hidden or ↵James Bursa2008-01-281-45/+67
| | | | | | scroll and borders correctly. Update copyrights. svn path=/trunk/netsurf/; revision=3792
* Recurse into noscript elements when looking for meta refresh. This would ↵John Mark Bell2008-01-281-1/+13
| | | | | | 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
* Apply default margin to select and textarea elements too.Michael Drake2008-01-281-2/+2
| | | | svn path=/trunk/netsurf/; revision=3790
* Only needed the vertical position changed.Michael Drake2008-01-281-1/+3
| | | | svn path=/trunk/netsurf/; revision=3789
* Thinly paper over gaping holes in the build system.John Mark Bell2008-01-282-3/+11
| | | | svn path=/trunk/netsurf/; revision=3788
* Rework handling of HTTP redirects -- we now count the number of redirects ↵John Mark Bell2008-01-2811-169/+145
| | | | | | | | | | | | | | | | | | | | 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
* Replace accidentally checked in files with previous ones.Michael Drake2008-01-283-23/+15
| | | | svn path=/trunk/netsurf/; revision=3786
* Fix vertical position of images with margin/borders/padding.Michael Drake2008-01-284-16/+25
| | | | svn path=/trunk/netsurf/; revision=3785
* Ensure images within inline-blocks are shown properly. Fixed by zamez.Michael Drake2008-01-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3783