path: root/desktop/browser_history.c
Commit message (Collapse)AuthorAgeFilesLines
* Browser history: Don't segfault when visiting pages with frames.Michael Drake2017-09-231-1/+2
| | | | | Core can't make queries of front end about browser windows with no gui window.
* Add concept of browser scroll offset saving in local historyDaniel Silverstone2017-09-231-2/+39
* rationalise history icon bitmap handling to ensure correct lifetimeVincent Sanders2017-09-101-70/+128
* move history bitmap thumbnail into the page information structureVincent Sanders2017-09-101-8/+12
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* remove depricated local history display APIVincent Sanders2017-06-111-317/+0
| | | | | | Move local history display into separate module using corewindow API. Note this is purely the rendering and teh browser history module still constructs the history data.
* Split local history data from viewer in headersVincent Sanders2017-06-101-7/+8
| | | | | | This separates the local history data object API from the viewing API. It also changes the api to return nsurl references instead of strings.
* Core local history: Remove debug background fill.Michael Drake2017-06-101-1/+0
* Core local history: Make rendering behave like treeview.Michael Drake2017-06-101-33/+29
| | | | | This fixes behaviour now that both treeviews and local history can be rendered through core window.
* Local history: Pass clip rectangle around as struct.Michael Drake2017-06-101-28/+19
* Core local history: We always clip, so don't need to handle condition.Michael Drake2017-06-101-14/+10
* Core local history: Remove unused redraw API.Michael Drake2017-06-101-30/+0
* Local history: Render window background fill.Michael Drake2017-06-091-0/+16
* Change interface to system colours to allow reporting of errorsVincent Sanders2017-03-011-3/+13
| | | | | | Allow system colour interface to report errors instead of silently failing and propogate the errors. This also fixes teh system colour documentation.
* Update all core use of plotters to new APIVincent Sanders2017-02-111-37/+48
* make local history use system coloursVincent Sanders2017-01-121-29/+97
* Update content to split public and internal APIVincent Sanders2016-06-061-4/+3
* move plotters header into public APIVincent Sanders2016-05-301-1/+1
* move layout header into public APIVincent Sanders2016-05-301-1/+1
* move bitmap API header to core include directoryVincent Sanders2016-05-261-1/+1
* move the CSS content handlerVincent Sanders2016-05-261-1/+0
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-1/+1
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-5/+10
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-4/+4
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* change browser history to use bitmap render interface for thumbnailsVincent Sanders2015-04-231-8/+14
* Move bitmap operations into an operation table.Vincent Sanders2015-04-131-4/+5
| | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library.
* Add some debug round thumbnail creationVincent Sanders2015-03-271-0/+1
| | | | | More debugging of thumbnail creation as it appears to be involved in a number of recently reported crashes on RISC OS.
* Remove url from content thumbnailers APIVincent Sanders2015-03-151-8/+16
| | | | | | | | | | | | | | | | The content thumbnailers for each frontend were being provided the contents url. This was only ever used to call the urldb thumbnail setting API. This changes it so the single callsite that passed a valid url adds the bitmap to that url itself in desktop_history.c instead of forcing every frontend to require the urldb API. Additionally the old API could pass the url as NULL which was causing asserts where this was not an expected parameter value. Because of this this fixes bug #2286 which was also present in the monkey frontend as both called nsurl_access() on the url without the NULL check and caused an assertion.
* Doxygen cleanups and increase DOT_GRAPH_MAX_NODES for some headersVincent Sanders2014-11-091-14/+20
* Remove April 1st layout shuffling.Michael Drake2014-11-051-21/+4
* make local history navigation return errorsVincent Sanders2014-10-301-120/+43
| | | | | | | The local history interface now reports errors to its callers isntead of inconsistantly waning the user occasionally on error. The documentation comemhts were also updated to match reality
* make history update return error code.Vincent Sanders2014-10-291-14/+9
| | | | | This now returns errors instead of failing and inconsistantly calling user warnings for some error paths.
* make adding a history entry return an error code.Vincent Sanders2014-10-291-22/+11
| | | | | This returns the error code to the caller instead of (sometimes) warning the user directly.
* Ensure browser window creation returns errors from common initialisation.Vincent Sanders2014-10-291-5/+4
| | | | | | The browser window common initialisation code returns error codes which were being ignored. The errors were additionally being reported via warn_user in inappropriate places within browser history construction.
* Don't try to draw NULL history.Michael Drake2014-10-181-0/+5
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-7/+7
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* Rename function arguments to avoid using 'new'.Michael Drake2014-02-191-11/+14
* Fix unchecked return. Coverity #1175740.Michael Drake2014-02-171-1/+5
* Make history internal to browser_window module.Michael Drake2014-02-151-0/+915