summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* 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
* The schedule_run function is only called by the frontends so remove it from ↵Vincent Sanders2010-04-281-1/+0
| | | | | | | | | the core header and add its definition to the frontend headers. Alter the framebuffer schedule_run to return the time untill the next event. svn path=/trunk/netsurf/; revision=10512
* Log any remaining interned strings (there should be none)John Mark Bell2010-04-271-0/+7
| | | | svn path=/trunk/netsurf/; revision=10502
* First step to fixing memory leaks -- Box model no longer leaks computed stylesDaniel Silverstone2010-04-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=10500
* Clean up caches on exitJohn Mark Bell2010-04-271-0/+4
| | | | svn path=/trunk/netsurf/; revision=10494
* Fix typo.Michael Drake2010-04-241-1/+1
| | | | svn path=/trunk/netsurf/; revision=10478
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-242-3/+5
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* Ensure we can search textplain againDaniel Silverstone2010-04-221-5/+7
| | | | svn path=/trunk/netsurf/; revision=10454
* Remove redundant codeJohn Mark Bell2010-04-181-3/+0
| | | | svn path=/trunk/netsurf/; revision=10430
* Squash leakJohn Mark Bell2010-04-181-0/+3
| | | | svn path=/trunk/netsurf/; revision=10429
* Liberally sprinkle #ifdef aroundJohn Mark Bell2010-04-161-2/+3
| | | | svn path=/trunk/netsurf/; revision=10417
* Extract parent charset and quirkinessJohn Mark Bell2010-04-161-4/+3
| | | | svn path=/trunk/netsurf/; revision=10416
* Handle llcache queries (GTK only for now)John Mark Bell2010-04-143-9/+39
| | | | svn path=/trunk/netsurf/; revision=10403
* Move content shuffling to prevent crash during threading through reformatDaniel Silverstone2010-04-141-3/+3
| | | | svn path=/trunk/netsurf/; revision=10396
* Ensure url bar is updated with in-progress URL and restored if stop/download ↵Daniel Silverstone2010-04-121-0/+11
| | | | | | occurs svn path=/trunk/netsurf/; revision=10385
* Yes, ownership of the theme content is passed to theme_installJohn Mark Bell2010-04-111-2/+0
| | | | svn path=/trunk/netsurf/; revision=10375
* Take the easy way out wrt loading messages files: leave it to the RISC OS ↵John Mark Bell2010-04-111-2/+4
| | | | | | frontend to do this. svn path=/trunk/netsurf/; revision=10374
* Implement hlcache_poll(), which drives the low-level cache event loop, and ↵John Mark Bell2010-04-111-2/+2
| | | | | | | | attempts to clean the high-level cache. Call this, instead of llcache_poll(). svn path=/trunk/netsurf/; revision=10371
* Remove dead special case for gtk status bar width.Michael Drake2010-04-081-4/+0
| | | | svn path=/trunk/netsurf/; revision=10322
* Don't bother trying to fetch search provider icons when BMP support is ↵Rob Kendrick2010-04-081-6/+14
| | | | | | disabled. This code could do with a little rearrangement to make this cleaner. svn path=/trunk/netsurf/; revision=10311
* Calling a hlcache_handle "content" is confusing.Michael Drake2010-04-071-1/+1
| | | | svn path=/trunk/netsurf/; revision=10266
* Fix textarea crash.John Mark Bell2010-04-072-10/+32
| | | | | | I cannot express just how much I hate the necessity of this change: browser windows (and other code in desktop/) should stop poking around inside content objects svn path=/trunk/netsurf/; revision=10258
* Make downloads work again.John Mark Bell2010-04-054-92/+349
| | | | svn path=/trunk/netsurf/; revision=10243
* Make the high-level cache drop contents of unacceptable type on the floor.John Mark Bell2010-04-042-2/+12
| | | | svn path=/trunk/netsurf/; revision=10238
* Most of a stop implementation.John Mark Bell2010-04-041-2/+4
| | | | | | | | | 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
* Revert previous changeChris Young2010-03-301-2/+1
| | | | svn path=/trunk/netsurf/; revision=10215
* Avoid crash if pargc is NULL. This might happen, for example, when ↵Chris Young2010-03-301-1/+2
| | | | | | | | launching NetSurf from Workbench under AmigaOS :) svn path=/trunk/netsurf/; revision=10214
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-292-6/+11
| | | | | | | | | | | | | 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
* second pass at startup refactor removing the gui_init callbackVincent Sanders2010-03-293-8/+27
| | | | svn path=/trunk/netsurf/; revision=10205
* first part of initialisation refactor move gui_init2 into frontendsVincent Sanders2010-03-292-2/+0
| | | | svn path=/trunk/netsurf/; revision=10202
* Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to ↵Daniel Silverstone2010-03-281-1/+0
| | | | | | complete properly. svn path=/trunk/netsurf/; revision=10187
* Do not assert when the only thing of interest is a body box. Status string ↵Rob Kendrick2010-03-281-2/+3
| | | | | | can quite happily be NULL. svn path=/trunk/netsurf/; revision=10184
* Remove fetchcache.[ch]Daniel Silverstone2010-03-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=10183
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-2821-672/+646
| | | | svn path=/trunk/netsurf/; revision=10180
* Review fixups from Daniel SilverstoneVincent Sanders2010-02-112-30/+33
| | | | | | | Ensure status text statistics are initialised Fix documentation and indentation of status text variables. svn path=/trunk/netsurf/; revision=9968
* remove RISC OS status bar text cachingVincent Sanders2010-02-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=9966
* cache the status text to reduce teh number of window status update calls to ↵Vincent Sanders2010-02-102-1/+39
| | | | | | teh frontend svn path=/trunk/netsurf/; revision=9965
* Add Windows frontendVincent Sanders2010-01-312-9/+18
| | | | svn path=/trunk/netsurf/; revision=9940
* remove uneccissary includesVincent Sanders2010-01-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=9931
* Fix compilation when BMP/PNG/GIF support is disabled.John Mark Bell2010-01-211-1/+4
| | | | svn path=/trunk/netsurf/; revision=9858
* Refactor main into the frontendsVincent Sanders2010-01-202-14/+0
| | | | | | remove unused embedded global svn path=/trunk/netsurf/; revision=9851
* C89.François Revel2010-01-022-4/+7
| | | | svn path=/trunk/netsurf/; revision=9779
* Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-182-6/+20
| | | | svn path=/trunk/netsurf/; revision=9737
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-1711-8/+2002
| | | | svn path=/trunk/netsurf/; revision=9729
* Squash leaksJohn Mark Bell2009-11-221-4/+5
| | | | svn path=/trunk/netsurf/; revision=9692
* Avoid potential NULL pointer dereferenceJohn Mark Bell2009-11-221-3/+2
| | | | svn path=/trunk/netsurf/; revision=9685
* Avoid NULL pointer dereferencesJohn Mark Bell2009-11-221-11/+21
| | | | svn path=/trunk/netsurf/; revision=9684
* Protect against NULL pointersJohn Mark Bell2009-11-221-0/+3
| | | | svn path=/trunk/netsurf/; revision=9681
* Ensure selection context is zero-initialised. This may well be the root ↵John Mark Bell2009-11-221-1/+1
| | | | | | cause of the random selection crashes people have been seeing. svn path=/trunk/netsurf/; revision=9679
* Only try to reset scroll position on textarea wrap if there is a scrollbar.Michael Drake2009-08-171-83/+85
| | | | svn path=/trunk/netsurf/; revision=9335