summaryrefslogtreecommitdiff
path: root/render/html.c
Commit message (Collapse)AuthorAgeFilesLines
* HTML handler for contextual content requests.Michael Drake2011-09-061-0/+50
| | | | svn path=/trunk/netsurf/; revision=12754
* Sniff content types where appropriate.John Mark Bell2011-09-041-4/+6
| | | | | | We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons) svn path=/trunk/netsurf/; revision=12707
* Remove mime_type parameter from content handler content_type callback APIJohn Mark Bell2011-09-031-3/+2
| | | | svn path=/trunk/netsurf/; revision=12704
* Core part of search improvement:Michael Drake2011-08-241-0/+36
| | | | | | | | | | + Split up browser window and content related elements of html & text search. + Associate search contexts with contents, rather than browser windows. + Remove highlighting of search terms dependency on current_redraw_browser. + Fixes issues with search contexts being applied to the wrong content. svn path=/trunk/netsurf/; revision=12646
* Fix bug #3390958: forcibly discard references to any child objects if we ↵John Mark Bell2011-08-201-4/+14
| | | | | | fail to complete conversion of an HTML content svn path=/trunk/netsurf/; revision=12641
* Selection is now subordinate to html and text content types, and ↵Michael Drake2011-07-261-4/+17
| | | | | | disassociated from browser windows. Note: search currently uses hlcache_handle_get_content() to go from bw to h to get at c for search highlighting via selection. svn path=/trunk/netsurf/; revision=12626
* Fix transition from LOADING to ERROR state after content has been locked for ↵John Mark Bell2011-07-201-7/+7
| | | | | | conversion svn path=/trunk/netsurf/; revision=12614
* Plug another hole in the logic for stopping HTML contentsJohn Mark Bell2011-07-201-0/+4
| | | | svn path=/trunk/netsurf/; revision=12613
* Make html_stop handle being called during construction of the box tree (i.e. ↵John Mark Bell2011-07-191-3/+36
| | | | | | | | as the result of a call to gui_multitask from the LOADING state) Fixup accounting of active objects when stopped in the READY state and ensure correct transition to the DONE state when necessary svn path=/trunk/netsurf/; revision=12612
* Fix race when stopping an HTML content mid-loadJohn Mark Bell2011-07-191-26/+56
| | | | svn path=/trunk/netsurf/; revision=12611
* Revert r12609 and assert parent content state.Michael Drake2011-07-191-4/+4
| | | | svn path=/trunk/netsurf/; revision=12610
* Don't try to redraw newly fetched objects' areas in parent html document if ↵Michael Drake2011-07-191-1/+4
| | | | | | parent doc is still in LOADING state. svn path=/trunk/netsurf/; revision=12609
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-3/+22
| | | | | | | Selection no longer uses current_redraw_browser. Fix long-standing selection bugs on platforms that use action on release behaviour. svn path=/trunk/netsurf/; revision=12598
* Refactor http utilitiesJohn Mark Bell2011-07-081-4/+17
| | | | svn path=/trunk/netsurf/; revision=12595
* Clean up text input code. Now desktop/textinput.{c|h} is concerend with ↵Michael Drake2011-07-071-0/+19
| | | | | | browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows. svn path=/trunk/netsurf/; revision=12587
* Set/unset selection context's browser window on content_open/content_close.Michael Drake2011-07-011-0/+6
| | | | svn path=/trunk/netsurf/; revision=12551
* HTML contents manage box scrollbars, rather than browser_windows.Michael Drake2011-06-271-0/+1
| | | | svn path=/trunk/netsurf/; revision=12519
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-3/+3
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497
* Lose dead codeJohn Mark Bell2011-05-161-7/+0
| | | | svn path=/trunk/netsurf/; revision=12417
* refactor content handler initilisation to use named initialisorsVincent Sanders2011-05-091-15/+14
| | | | svn path=/trunk/netsurf/; revision=12341
* consolidate content redraw Vincent Sanders2011-05-081-1/+0
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Simplify status bar text.Michael Drake2011-05-081-7/+1
| | | | svn path=/trunk/netsurf/; revision=12313
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-388/+434
| | | | svn path=/trunk/netsurf/; revision=12283
* Reduce number of page reflows and viewportMichael Drake2011-04-271-11/+36
| | | | | | | | | | | redraws as images are fetched: + Flag known-sized boxes generated by images. + Treat them as replaced all through layout. + Only reflow the document for fetched images if we don't already have the box at the right size. svn path=/trunk/netsurf/; revision=12243
* Fix bug #3238323: pass correct context pointer for html_object_callbackJohn Mark Bell2011-03-231-1/+1
| | | | svn path=/trunk/netsurf/; revision=12126
* Move schedule.h to utils/John Mark Bell2011-03-131-1/+1
| | | | svn path=/trunk/netsurf/; revision=12039
* Shunt the schedule function definitions to desktop/schedule.h. Shunt the ↵Daniel Silverstone2011-03-131-0/+1
| | | | | | hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029
* 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