summaryrefslogtreecommitdiff
path: root/desktop/global_history.c
Commit message (Collapse)AuthorAgeFilesLines
* Global history: Flag the URL field as searchable, as well.Michael Drake2017-09-181-1/+3
|
* Global history: Enable search feature.Michael Drake2017-09-181-1/+2
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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);
* Clear pointer after freeChris Young2017-01-081-0/+1
|
* 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 global history keypress consumption returnVincent Sanders2016-08-041-2/+2
|
* msplit public url database API out for frontendsVincent Sanders2016-06-131-0/+2
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-7/+7
| | | | | | | | | | | | 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.
* make global history treeview directory creation return error instead of abortingVincent Sanders2015-05-031-2/+11
|
* Make URL field for copying to clipboard.Michael Drake2015-01-031-1/+1
|
* Desktop doxygen fixesVincent Sanders2014-11-091-1/+1
|
* make global history treeview callback return errorVincent Sanders2014-10-301-10/+8
| | | | returns an error instead of directly waning the user.
* 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-3/+5
|
* 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
|
* Use messages for translations instead of string literals.Michael Drake2013-11-111-1/+2
|
* Add functions to get first selected hotlist/global_history node data.Michael Drake2013-09-131-0/+21
|
* Remove some redundancy.Michael Drake2013-09-031-14/+0
|
* 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-5/+8
|
* 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-1/+0
| | | | 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-7/+9
|
* Add flag to suppress redraw on node creation.Michael Drake2013-08-291-2/+4
|
* Add a few functions for front ends to use.Michael Drake2013-08-281-0/+14
|
* Function for global history export.Michael Drake2013-08-281-0/+103
|
* Fix several comments about return type.Michael Drake2013-08-161-3/+3
|
* Namespace treeview node callback table.Michael Drake2013-07-251-2/+2
|
* Guard for uninitalised history case.Michael Drake2013-07-251-0/+4
|
* Fix return type.Michael Drake2013-07-251-1/+1
|
* Unset built bool when fini is called.Michael Drake2013-07-251-0/+2
|
* Return correct error.Michael Drake2013-07-251-1/+1
|
* Replace magic numbers with enum.Michael Drake2013-07-241-26/+35
|
* Add function to add to global history. Fix add_entry to actually add new ↵Michael Drake2013-07-161-5/+34
| | | | entry after removing an existing one. Implement directory deletion.
* Reset entry url's urldb visit data when user deletes entry from global history.Michael Drake2013-07-151-2/+13
|
* Typedefs for internal treeview and treeview_node structs.Michael Drake2013-07-031-6/+6
|
* Don't allow empty folders.Michael Drake2013-07-031-1/+1
|
* Add treeview behaviour flags.Michael Drake2013-07-031-1/+2
|
* Make flags for suppress resize.Michael Drake2013-07-021-2/+4
|
* Implement entry launching. Currently only launches in new window.Michael Drake2013-07-021-0/+23
|
* Use messages for treeview labels.Michael Drake2013-07-011-6/+16
|
* Add quite param to insertion calls to suppress treeview height callback.Michael Drake2013-07-011-2/+10
|
* Pass keypresses on to treeview.Michael Drake2013-07-011-0/+7
|
* Fix typo.Michael Drake2013-06-181-1/+1
|
* Write up the rest of the fucntion comments.Michael Drake2013-06-181-1/+24
|
* Create folders as they're required when entry is inserted.Michael Drake2013-06-181-81/+97
|
* Ensure global_history_delete_internal checks treeview node is NULL. Add ↵Michael Drake2013-06-181-1/+26
| | | | various documentation comments.