summaryrefslogtreecommitdiff
path: root/desktop/hotlist.c
Commit message (Collapse)AuthorAgeFilesLines
* Hotlist (bookmarks): Include the URL field in search.Michael Drake2017-09-181-2/+4
|
* Hotlist (bookmarks): Enable search feature.Michael Drake2017-09-181-1/+1
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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);
* Core hotlist: A NULL save_path makes the hotlist read-only.Michael Drake2017-04-281-5/+14
|
* Core hotlist: Ensure any hotlist save callback is removed on hotlist_fini.Michael Drake2017-04-251-0/+4
|
* Hotlist: Save hotlist modifications.Michael Drake2017-04-251-71/+110
| | | | | | When URLs are added, or address entries are edited or deleted, a hotlist save is scheduled to happen after 10 seconds, if there isn't already a hotlist save scheduled.
* Core hotlist API: Take save path at init, rather than fini.Michael Drake2017-04-251-4/+18
|
* Hotlist: Allow hotlist initilialisation without hotlist corewindow.Michael Drake2016-12-291-5/+34
| | | | | | Now, hotlist_init can be called without a corewindow. This allows the hotlist backend to be up and running, before any hostlist manager is opened. Calling hotlist_manager_init attaches the hotlist to a corewindow.
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* fix hotlist keypress consumption returnVincent Sanders2016-08-061-2/+2
|
* msplit public url database API out for frontendsVincent Sanders2016-06-131-0/+1
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* remove all core usage of warn_user APIVincent Sanders2016-04-261-8/+11
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-12/+12
| | | | | | | | | | | | 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.
* The AmigaOS rename() isn't POSIX compiant, so call remove() first.Michael Drake2015-02-031-0/+3
| | | | | There will be a race condition on AmigaOS if a hostlist file gets created between the remove() and rename() calls.
* Remove redundant remove() call.Michael Drake2015-01-231-11/+3
|
* Fix failure to save hotlist when there was no previous file.Michael Drake2015-01-231-3/+8
|
* Mark URL field for copying to clipboard.Michael Drake2015-01-031-1/+2
|
* Handle failure to remove or rename.Michael Drake2015-01-021-2/+8
|
* Don't free temp_path just before its used.Michael Drake2015-01-021-1/+2
|
* RISC OS filenames can't contian '.'Michael Drake2015-01-021-1/+1
|
* Make saving hotlist safer.Michael Drake2015-01-021-2/+78
| | | | | | | | If saving hotlist to "<path>", we now save to "<path>.bk", then remove the file at "<path>", and replace it with the one at "<path>.bk". This should prevent hotlist corruption when someone pulls the plug while the hotlist is being written.
* Fix my spelling of teh everywhereVincent Sanders2014-11-181-1/+1
|
* Fix several doxygen issuesVincent Sanders2014-11-081-8/+9
|
* remove more user warning calls and replace with error returnsVincent Sanders2014-10-301-37/+35
|
* remove content include from urldb headerVincent Sanders2014-07-171-0/+1
|
* Fix hotlist and global_history _get_selection functions.Michael Drake2014-05-241-2/+3
| | | | | Broken when selection was folder, rather than entry. Renamed tree_node_flags lables to avoid TREE_NODE_NONE name clash.
* remove uneeded includesVincent Sanders2014-05-181-0/+1
|
* Allow tab creation without history clone. Changes browser_window_create and ↵Michael Drake2014-02-101-9/+8
| | | | browser_window_navigate flags.
* move utf8 conversion routines to use nserror instead of their own error enumVincent Sanders2014-01-281-5/+4
|
* Modify conflicting Messages entryChris Young2013-11-171-1/+1
|
* Use messages for translations instead of string literals.Michael Drake2013-11-111-4/+3
|
* Visual indication of hotlist's folder for unsorted entries, with special icon.Michael Drake2013-11-081-18/+28
|
* Show "-" for last visit date/time when visits count is 0.Michael Drake2013-10-231-4/+11
|
* Remove unreachable safty net.Michael Drake2013-10-231-1/+1
|
* Add functions to get first selected hotlist/global_history node data.Michael Drake2013-09-131-0/+21
|
* Fix use after unref.Michael Drake2013-09-081-1/+5
|
* Check for error as soon as we have return value.Michael Drake2013-09-051-5/+4
|
* Various tidyups to make ownership more clear.Michael Drake2013-09-051-72/+75
|
* Fix dead assignments.Michael Drake2013-09-051-0/+4
|
* Fix dead assignement.Michael Drake2013-09-051-5/+2
|
* Squash leak in error case.Michael Drake2013-09-031-0/+1
|
* Add hotlist iteration function.Michael Drake2013-09-031-0/+61
|
* Remove height getters from treeview client modules API.Michael Drake2013-09-031-7/+0
|
* Ensure tree height is provided when treeview building is complete.Michael Drake2013-09-031-0/+3
|
* Add recursive expand/contract functions to hotlist, global history, and ↵Michael Drake2013-09-031-0/+14
| | | | cookie manager modules.
* Remove old hotlist, cookies, and history_global_core modules.Michael Drake2013-09-021-2/+1
| | | | New versions of expand/collapse node functions for these modules aren't yet implemented.
* Improve callback suppression options. Reduce unnecessary callback usage.Michael Drake2013-08-301-5/+6
|
* Add flag to suppress redraw on node creation.Michael Drake2013-08-291-2/+4
|