summaryrefslogtreecommitdiff
path: root/css/css.c
Commit message (Collapse)AuthorAgeFilesLines
* Increase default font size and line spacing.Michael Drake2007-12-091-3/+3
| | | | svn path=/trunk/netsurf/; revision=3660
* Bug fixes in parse_length, parse_clip, css_dump_style, css_dump_length by ↵James Bursa2007-10-281-5/+4
| | | | | | Franz Korntner. svn path=/trunk/netsurf/; revision=3635
* Provide the facility to set the DPI of the display by removing the ↵Daniel Silverstone2007-08-191-10/+16
| | | | | | assumptions of 90.0 dpi from the CSS and layout engines. svn path=/trunk/netsurf/; revision=3528
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-4/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-12/+12
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Fix various warnings.James Bursa2007-05-021-10/+11
| | | | svn path=/trunk/netsurf/; revision=3263
* Fix invalidation of unwanted contents.John Mark Bell2007-03-191-0/+11
| | | | svn path=/trunk/netsurf/; revision=3214
* Lose noisy loggingJohn Mark Bell2007-03-181-1/+0
| | | | svn path=/trunk/netsurf/; revision=3213
* Ensure content structures are zero initialised.John Mark Bell2007-03-181-5/+8
| | | | | | | | | Make css_destroy check that the stylesheet pointer exists (content destructors may be called whilst the content is still loading - e.g. if the content type isn't permissable in the context it was loaded from). Fixes 1627413, 1580980. svn path=/trunk/netsurf/; revision=3212
* Ensure content owners check that they are still interested in a content John Mark Bell2007-03-181-3/+10
| | | | | | | | when receiving notification that the content's in error. This prevents content pointers being corrupted when redirects occur. Fixes 1522002, 1551475. svn path=/trunk/netsurf/; revision=3211
* Content handlers should not call warn_user - they should broadcast the John Mark Bell2007-03-111-2/+0
| | | | | | | | | | error using content_broadcast and leave it to the content owner(s) to decide what to do about it. Only use warn_user for top-level contents. svn path=/trunk/netsurf/; revision=3204
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-2/+2
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Fix the small NetSurf build.Richard Wilson2006-07-041-1/+4
| | | | svn path=/trunk/netsurf/; revision=2714
* Don't assert() for AUTH or SSL codes (fix 1498477)Richard Wilson2006-07-041-0/+3
| | | | svn path=/trunk/netsurf/; revision=2713
* [project @ 2006-03-09 19:04:13 by dsilvers]Daniel Silverstone2006-03-091-0/+28
| | | | | | | css.[ch]: Add css_len2pt to convert a CSS length to points for use on systems which actually recognise that DPI might not be 90 all the time. svn path=/import/netsurf/; revision=2114
* [project @ 2006-02-05 22:22:35 by jmb]John Mark Bell2006-02-051-4/+7
| | | | | | Fix bad read svn path=/import/netsurf/; revision=2057
* [project @ 2006-01-02 23:31:28 by jmb]John Mark Bell2006-01-021-1/+1
| | | | | | Implement font default option properly svn path=/import/netsurf/; revision=1969
* [project @ 2005-08-21 12:04:17 by bursa]James Bursa2005-08-211-10/+13
| | | | | | Change void * parameters to intptr_t to make them correct for storing integers or pointers. svn path=/import/netsurf/; revision=1852
* [project @ 2005-07-31 22:06:03 by jmb]John Mark Bell2005-07-311-2/+2
| | | | | | Ignore @import rules which occur after a valid rule. svn path=/import/netsurf/; revision=1835
* [project @ 2005-07-31 15:55:36 by jmb]John Mark Bell2005-07-311-8/+11
| | | | | | | | Make length -> pixel conversion more accurate. Fix handling of CSS <numbers> Fix border widths. svn path=/import/netsurf/; revision=1832
* [project @ 2005-05-22 21:50:14 by bursa]James Bursa2005-05-221-1/+1
| | | | | | Add BOX_TEXT type to distinguish boxes which came from an inline element to boxes which came from a text node. Add inline_parent pointer to box structure. Rewrite text-decoration support to take advantage of the new data (line colours are now correct). Note: there is a clipping issue in redraw. svn path=/import/netsurf/; revision=1732
* [project @ 2005-05-21 23:30:19 by bursa]James Bursa2005-05-211-663/+790
| | | | | | Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style(). svn path=/import/netsurf/; revision=1729
* [project @ 2005-04-14 19:54:24 by rjw]Richard Wilson2005-04-141-0/+80
| | | | | | Implement HTML table border setting. Improve support for the collapsing border model. svn path=/import/netsurf/; revision=1632
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-22/+12
| | | | | | Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c. svn path=/import/netsurf/; revision=1608
* [project @ 2005-04-03 14:17:05 by bursa]James Bursa2005-04-031-1/+3
| | | | | | Use talloc_realloc() instead of realloc() for c->source_data, since that is now managed by talloc. svn path=/import/netsurf/; revision=1593
* [project @ 2005-03-22 00:10:42 by rjw]Richard Wilson2005-03-221-12/+22
| | | | | | Experimental cellpadding support svn path=/import/netsurf/; revision=1569
* [project @ 2005-02-19 23:40:15 by bursa]James Bursa2005-02-191-4/+5
| | | | | | Add const qualifiers to css_len2px arguments. svn path=/import/netsurf/; revision=1516
* [project @ 2005-01-24 23:02:37 by bursa]James Bursa2005-01-241-0/+2
| | | | | | Reformat pages loaded from memory cache to window width. svn path=/import/netsurf/; revision=1467
* [project @ 2005-01-16 21:39:21 by rjw]Richard Wilson2005-01-161-0/+84
| | | | | | Read content, counter-reset and counter-increment properties. svn path=/import/netsurf/; revision=1456
* [project @ 2005-01-16 00:48:47 by jmb]John Mark Bell2005-01-161-29/+15
| | | | | | Fixup my inability to remember how things should work svn path=/import/netsurf/; revision=1453
* [project @ 2005-01-16 00:08:47 by jmb]John Mark Bell2005-01-161-3/+1
| | | | | | Fixup missed css_style free svn path=/import/netsurf/; revision=1451
* [project @ 2005-01-16 00:03:45 by jmb]John Mark Bell2005-01-161-0/+67
| | | | | | Create interface for duplication and destruction of css_style structs. svn path=/import/netsurf/; revision=1450
* [project @ 2005-01-11 19:39:49 by jmb]John Mark Bell2005-01-111-220/+522
| | | | | | Handle property: inherit; properly svn path=/import/netsurf/; revision=1441
* [project @ 2005-01-05 20:22:57 by jmb]John Mark Bell2005-01-051-2/+3
| | | | | | Fix syntax error reporting svn path=/import/netsurf/; revision=1435
* [project @ 2005-01-03 02:09:20 by jmb]John Mark Bell2005-01-031-2/+2
| | | | | | Shift + Click == download svn path=/import/netsurf/; revision=1429
* [project @ 2005-01-03 00:45:43 by jmb]John Mark Bell2005-01-031-3/+4
| | | | | | class and id attributes are case-sensitive (HTML4.01) svn path=/import/netsurf/; revision=1427
* [project @ 2005-01-02 14:42:16 by bursa]James Bursa2005-01-021-4/+10
| | | | | | Fix some compiler warnings. svn path=/import/netsurf/; revision=1426
* [project @ 2004-09-13 23:56:18 by jmb]John Mark Bell2004-09-131-1/+1
| | | | | | | Make fonts user-configurable. This loses font-style support, though it shouldn't be hard to put it back again. svn path=/import/netsurf/; revision=1274
* [project @ 2004-08-14 15:07:19 by joty]John Tytgat2004-08-141-4/+4
| | | | | | | | - Rename len() to css_len2px(). - Less compiler warnings concerning float/int implicit casts. - More stddef.h type usuage. svn path=/import/netsurf/; revision=1232
* [project @ 2004-08-14 14:30:10 by joty]John Tytgat2004-08-141-4/+4
| | | | | | Removed a chunk of Norcroft compiler warnings. Re-ident some pieces. svn path=/import/netsurf/; revision=1231
* [project @ 2004-08-11 19:02:32 by bursa]James Bursa2004-08-111-0/+4
| | | | | | Start work on removing instances and making content types non-shareable. Clean up some #includes. svn path=/import/netsurf/; revision=1211
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-2/+3
| | | | | | | Rework the interface of the URL handing module to allow for multiple error types. Modify save_complete URL rewriting appropriately. svn path=/import/netsurf/; revision=1206
* [project @ 2004-08-06 21:16:03 by jmb]John Mark Bell2004-08-061-1/+2
| | | | | | Fix bug in merging of selector lists svn path=/import/netsurf/; revision=1186
* [project @ 2004-08-05 01:57:14 by jmb]John Mark Bell2004-08-051-12/+116
| | | | | | | :first-child pseudo class support Merge global and element selector lists for more accurate selector matching svn path=/import/netsurf/; revision=1180
* [project @ 2004-08-01 21:56:47 by jmb]John Mark Bell2004-08-011-107/+55
| | | | | | Rationalise top, bottom, right and left property handling svn path=/import/netsurf/; revision=1174
* [project @ 2004-08-01 14:13:47 by jmb]John Mark Bell2004-08-011-50/+722
| | | | | | Internal representation and parsing of most CSS2 properties. svn path=/import/netsurf/; revision=1172
* [project @ 2004-07-30 21:53:52 by jmb]John Mark Bell2004-07-301-0/+78
| | | | | | Implement some CSS3 attribute selectors svn path=/import/netsurf/; revision=1167
* [project @ 2004-07-16 20:22:31 by jmb]John Mark Bell2004-07-161-0/+9
| | | | | | | Add overflow support. Re-tabulate property table in ruleset.c svn path=/import/netsurf/; revision=1087
* [project @ 2004-07-01 20:27:49 by joty]John Tytgat2004-07-011-2/+3
| | | | | | Log the CSS URL too when there is a syntax error detected. svn path=/import/netsurf/; revision=1036