summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* Fix assertion when table borders are specified in em/ex units.John Mark Bell2010-06-271-0/+45
| | | | svn path=/trunk/netsurf/; revision=10583
* Fix mouse.h file description. Add iframe comment.Michael Drake2010-06-091-0/+2
| | | | svn path=/trunk/netsurf/; revision=10571
* s/int/size_t/Michael Drake2010-06-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=10562
* + Refactor input handling from browser window code into contentMichael Drake2010-06-049-10/+1508
| | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
* Add iframe comment.Michael Drake2010-06-031-0/+1
| | | | svn path=/trunk/netsurf/; revision=10559
* Consolidate several 'myrealloc' functions into ns_realloc, rename one which ↵Daniel Silverstone2010-04-302-22/+4
| | | | | | *is* different, thereby eliminating the word 'myrealloc' from the NS codebase svn path=/trunk/netsurf/; revision=10530
* It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by ↵John Mark Bell2010-04-306-30/+36
| | | | | | | | the C standard (whereas realloc(NULL, size) --> malloc(size) is). Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free). svn path=/trunk/netsurf/; revision=10524
* First step to fixing memory leaks -- Box model no longer leaks computed stylesDaniel Silverstone2010-04-275-35/+55
| | | | svn path=/trunk/netsurf/; revision=10500
* Improve handling of percentage margins and paddings on floats. Fixes ↵Michael Drake2010-04-271-10/+39
| | | | | | pond.org.uk. This is still not ideal and there are cases where we don't match other browsers. svn path=/trunk/netsurf/; revision=10497
* Fix vertical placement of absolute positioned inlines using staic position. ↵Michael Drake2010-04-271-17/+25
| | | | | | Simplify placement of inlines on a line. svn path=/trunk/netsurf/; revision=10495
* Fix float wrap issue. (Amiga.org nav bar.)Michael Drake2010-04-261-1/+2
| | | | svn path=/trunk/netsurf/; revision=10490
* Update comment for new cache.Michael Drake2010-04-251-1/+1
| | | | svn path=/trunk/netsurf/; revision=10481
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-245-6/+0
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* Use API to invalidate content freshness informationJohn Mark Bell2010-04-121-1/+1
| | | | svn path=/trunk/netsurf/; revision=10387
* Make favourite icons part of the HTML content's active set so that we don't ↵Daniel Silverstone2010-04-121-1/+16
| | | | | | complete the fetch until the favicon is finished loading svn path=/trunk/netsurf/; revision=10384
* Remove need to constantly type c->data.html in html_destroy().John Mark Bell2010-04-111-37/+40
| | | | | | Fix destruction of linked and inline stylesheets to ensure that the pointer is non-NULL before trying to destroy it. svn path=/trunk/netsurf/; revision=10364
* Merge jmb/kill-reentrancy. r=vinceJohn Mark Bell2010-04-111-84/+110
| | | | svn path=/trunk/netsurf/; revision=10346
* Catch calls to html_clone, which is guaranteed to result in breakage, so ↵John Mark Bell2010-04-101-0/+6
| | | | | | it's safer to just die, rather than limp on. svn path=/trunk/netsurf/; revision=10341
* Add encoding source getter.Michael Drake2010-04-072-0/+17
| | | | svn path=/trunk/netsurf/; revision=10269
* Release favicon when HTML content is destroyedJohn Mark Bell2010-04-041-0/+5
| | | | svn path=/trunk/netsurf/; revision=10239
* Make the high-level cache drop contents of unacceptable type on the floor.John Mark Bell2010-04-042-23/+21
| | | | svn path=/trunk/netsurf/; revision=10238
* Suppress error page generation for favicon fetches.John Mark Bell2010-04-041-2/+3
| | | | | | Pass the correct referring URL. svn path=/trunk/netsurf/; revision=10237
* Most of a stop implementation.John Mark Bell2010-04-047-12/+73
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Constify data parameter to *_process_dataJohn Mark Bell2010-04-034-7/+9
| | | | svn path=/trunk/netsurf/; revision=10234
* Remove pointless destruction of bitmap: HTML contents will never have one.John Mark Bell2010-04-031-5/+0
| | | | svn path=/trunk/netsurf/; revision=10232
* Use mutator to modify content's title field.John Mark Bell2010-04-031-8/+8
| | | | svn path=/trunk/netsurf/; revision=10231
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-297-39/+20
| | | | | | | | | | | | | content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207
* Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to ↵Daniel Silverstone2010-03-281-1/+1
| | | | | | complete properly. svn path=/trunk/netsurf/; revision=10187
* Remove fetchcache.[ch]Daniel Silverstone2010-03-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=10183
* Ensure we honour html_fetch_object's API properly regarding NOMEM behaviourDaniel Silverstone2010-03-281-19/+18
| | | | svn path=/trunk/netsurf/; revision=10181
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-2817-767/+954
| | | | svn path=/trunk/netsurf/; revision=10180
* Remove apparently spurious status update.John Mark Bell2010-02-101-2/+0
| | | | svn path=/trunk/netsurf/; revision=9963
* fix box_dump callVincent Sanders2010-01-281-1/+1
| | | | | | fix spurious newlines in log message svn path=/trunk/netsurf/; revision=9919
* Yeah, so it helps if you get the conditional correct.John Mark Bell2010-01-211-1/+1
| | | | svn path=/trunk/netsurf/; revision=9859
* Fix compilation when BMP/PNG/GIF support is disabled.John Mark Bell2010-01-211-3/+20
| | | | svn path=/trunk/netsurf/; revision=9858
* Revert float ordering optimisation (r9846) due to effect on stacking order.Michael Drake2010-01-201-37/+3
| | | | svn path=/trunk/netsurf/; revision=9853
* Order containing block's list of floats in descending order of the ↵Michael Drake2010-01-171-3/+37
| | | | | | y-position of their base. Make find_sides() stop searching, after floats are above the range we're interested in. (351s --> 73s on ix for haveproblems/really-slow-float-table2.html) svn path=/trunk/netsurf/; revision=9846
* When placing floats below, keep track of y-position, for future floats in ↵Michael Drake2010-01-161-13/+15
| | | | | | current line. svn path=/trunk/netsurf/; revision=9836
* C89.François Revel2010-01-021-3/+2
| | | | svn path=/trunk/netsurf/; revision=9779
* Only attempt to fall back to /favicon.ico if the document's base URI points to John Mark Bell2009-12-261-0/+17
| | | | | | an http(s) location. svn path=/trunk/netsurf/; revision=9760
* Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-181-1/+1
| | | | svn path=/trunk/netsurf/; revision=9737
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-177-10/+283
| | | | svn path=/trunk/netsurf/; revision=9729
* Squash memory leakJohn Mark Bell2009-11-221-2/+3
| | | | svn path=/trunk/netsurf/; revision=9691
* Squash memory leakJohn Mark Bell2009-11-221-0/+1
| | | | svn path=/trunk/netsurf/; revision=9690
* Squash memory leakJohn Mark Bell2009-11-221-0/+1
| | | | svn path=/trunk/netsurf/; revision=9689
* Squash warningJohn Mark Bell2009-11-221-1/+1
| | | | svn path=/trunk/netsurf/; revision=9686
* Avoid potential NULL pointer dereferencesJohn Mark Bell2009-11-221-23/+29
| | | | svn path=/trunk/netsurf/; revision=9680
* Fix quirks mode propagation for @style.John Mark Bell2009-11-151-1/+2
| | | | svn path=/trunk/netsurf/; revision=9675
* Clearer wrapping.Michael Drake2009-08-311-2/+2
| | | | svn path=/trunk/netsurf/; revision=9519
* Simplification of relative offset calculation. Thanks to Christopher Martin.Michael Drake2009-08-311-27/+22
| | | | svn path=/trunk/netsurf/; revision=9518