summaryrefslogtreecommitdiff
path: root/render/html.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove pointless searchJohn Mark Bell2011-03-111-10/+0
| | | | svn path=/trunk/netsurf/; revision=11965
* Remove redundant parameter from content_open APIJohn Mark Bell2011-03-101-3/+3
| | | | svn path=/trunk/netsurf/; revision=11964
* Keep child objects of a HTML content in a list, instead of an arrayJohn Mark Bell2011-03-101-110/+121
| | | | svn path=/trunk/netsurf/; revision=11963
* Move clone to box flags.Michael Drake2011-03-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=11890
* Parallelise fetch and conversion of imported stylesheetsJohn Mark Bell2011-02-261-3/+3
| | | | svn path=/trunk/netsurf/; revision=11817
* Correct handling of action="": should submit to the document URL, not the ↵John Mark Bell2011-02-251-1/+9
| | | | | | base URL. svn path=/trunk/netsurf/; revision=11799
* Fix bug #2076786: do not apply fallback content to failed objectsJohn Mark Bell2011-02-251-80/+2
| | | | svn path=/trunk/netsurf/; revision=11797
* Castrate favicon fetching. I've lost count of how much pain this has caused.John Mark Bell2011-02-241-1/+3
| | | | svn path=/trunk/netsurf/; revision=11782
* Fix bug #3182729: meta refresh of embedded html pages resulted in mismatched ↵John Mark Bell2011-02-151-7/+19
| | | | | | API expectations svn path=/trunk/netsurf/; revision=11688
* Increase computed time before scheduled redraws.Michael Drake2011-02-141-2/+2
| | | | svn path=/trunk/netsurf/; revision=11674
* Update to new libcss API for simultanious selection for base element and its ↵Michael Drake2011-01-051-1/+2
| | | | | | pseudo elements. svn path=/trunk/netsurf/; revision=11215
* Fix comment.Michael Drake2010-11-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=10935
* Fix crash when top-level content is not HTML and there is a fragment ↵John Mark Bell2010-10-111-2/+4
| | | | | | | | identifier in the URL. Constify. svn path=/trunk/netsurf/; revision=10881
* Change back to using tree directly because element navigation functions ↵James Bursa2010-09-161-2/+4
| | | | | | require libxml2 2.7.3 which is not available everywhere. svn path=/trunk/netsurf/; revision=10790
* Use libxml functions to loop through elements in html_head() instead of ↵James Bursa2010-09-161-5/+2
| | | | | | checking all nodes. Remove logging. svn path=/trunk/netsurf/; revision=10788
* Pedantic whitespace changeJohn Mark Bell2010-06-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=10590
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-0/+45
| | | | | | | | | | | | | 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
* Consolidate several 'myrealloc' functions into ns_realloc, rename one which ↵Daniel Silverstone2010-04-301-19/+1
| | | | | | *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-301-0/+5
| | | | | | | | 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-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=10500
* 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-241-2/+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
* 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-071-0/+16
| | | | 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-041-4/+7
| | | | svn path=/trunk/netsurf/; revision=10238
* Most of a stop implementation.John Mark Bell2010-04-041-1/+6
| | | | | | | | | 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-031-4/+4
| | | | 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-291-31/+13
| | | | | | | | | | | | | 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-281-391/+534
| | | | 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
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-2/+6
| | | | svn path=/trunk/netsurf/; revision=9729
* Squash memory leakJohn Mark Bell2009-11-221-2/+3
| | | | svn path=/trunk/netsurf/; revision=9691
* Include size of lwc_context in content size.John Mark Bell2009-07-281-0/+2
| | | | svn path=/trunk/netsurf/; revision=8835
* Shrink allocated <style> source data block to minimum.John Mark Bell2009-07-271-14/+29
| | | | svn path=/trunk/netsurf/; revision=8828
* Consider stylesheet media typesJohn Mark Bell2009-07-271-121/+126
| | | | svn path=/trunk/netsurf/; revision=8820
* Fix crash when a style element is not used because of mismatched media or type.John Mark Bell2009-07-241-16/+19
| | | | svn path=/trunk/netsurf/; revision=8768
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-73/+118
| | | | svn path=/trunk/netsurf/; revision=8752
* Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.Michael Drake2009-07-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=8513
* Replace parent_url with a pointer to the parent content.John Mark Bell2009-07-101-5/+5
| | | | svn path=/trunk/netsurf/; revision=8428
* Hubbub is no longer optional.John Mark Bell2009-04-171-4/+0
| | | | | | Remove libxml2 parser binding. svn path=/trunk/netsurf/; revision=7115