summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* Fix build when layout logging is enabled.Michael Drake2010-07-161-2/+2
| | | | svn path=/trunk/netsurf/; revision=10649
* Record left and right float boxes with negative widths. Fixes overlapping ↵Michael Drake2010-07-161-8/+5
| | | | | | text on new BBC News site. svn path=/trunk/netsurf/; revision=10648
* Update dirlist_generate_title documentation to match reality. Remove unused ↵Michael Drake2010-07-161-20/+10
| | | | | | error check stuff. svn path=/trunk/netsurf/; revision=10647
* memory leakChris Young2010-07-151-19/+29
| | | | svn path=/trunk/netsurf/; revision=10646
* Localise browser "Index of" textChris Young2010-07-151-4/+20
| | | | svn path=/trunk/netsurf/; revision=10645
* fix crashChris Young2010-07-151-2/+2
| | | | svn path=/trunk/netsurf/; revision=10644
* Fix so column suppression choices actually end up in the output.Michael Drake2010-07-151-0/+4
| | | | svn path=/trunk/netsurf/; revision=10642
* Move HTML generating code into separate functions. Tidy up spacing when ↵Michael Drake2010-07-151-87/+350
| | | | | | parent directory link is not shown. svn path=/trunk/netsurf/; revision=10641
* More intelligent path concatenationChris Young2010-07-141-55/+66
| | | | svn path=/trunk/netsurf/; revision=10639
* Squash mimetype may be used uninitialised warning.Michael Drake2010-07-141-14/+23
| | | | svn path=/trunk/netsurf/; revision=10638
* Add comments and factor out common file size code.Michael Drake2010-07-141-14/+54
| | | | svn path=/trunk/netsurf/; revision=10637
* Restyle directory listings.Michael Drake2010-07-141-63/+130
| | | | svn path=/trunk/netsurf/; revision=10636
* Use human friendly size, which fixes RISC OS directory listings.Michael Drake2010-07-141-2/+4
| | | | svn path=/trunk/netsurf/; revision=10634
* Move directory text into type columnChris Young2010-07-131-4/+4
| | | | svn path=/trunk/netsurf/; revision=10632
* Improved directory browserChris Young2010-07-131-6/+88
| | | | svn path=/trunk/netsurf/; revision=10631
* Amiga file: URIs now translate the : in device names to / (and back), which ↵Chris Young2010-07-111-1/+3
| | | | | | | | | | | conforms better to the spec (: will still work for compatibility, but may have problems). This fixes a problem with directory browsing. Directory parent link now uses the full parent path returned by url_parent instead of one relative to the current directory. svn path=/trunk/netsurf/; revision=10629
* Stop redrawing zero size images.Michael Drake2010-07-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=10614
* Remove dead code.Michael Drake2010-07-061-6/+2
| | | | svn path=/trunk/netsurf/; revision=10602
* Remove dead assignements and add assert to check table cells aren't set to ↵Michael Drake2010-07-061-18/+17
| | | | | | span no columns at layout time (Note: colspan=0 is treated as colspan=1 by box normalisation. It should probably be handled in table_calculate_columns_types() properly. Either way, there shouldn't be colspans of 0 by the time we get to layout.) svn path=/trunk/netsurf/; revision=10601
* Pedantic whitespace changeJohn Mark Bell2010-06-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=10590
* 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