Commit Graph

20 Commits

Author SHA1 Message Date
Vincent Sanders c105738fa3 Change LOG() macro to be varadic
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.
2015-05-28 16:08:46 +01:00
Vincent Sanders db01637343 remove content include from urldb header 2014-07-17 00:18:44 +01:00
Vincent Sanders 6677eef89b remove unecessary include 2014-05-18 17:30:53 +01:00
Michael Drake f477fd2570 Remove height getters from treeview client modules API. 2013-09-03 14:44:53 +01:00
Michael Drake b9e3f7ae3d Ensure tree height is provided when treeview building is complete. 2013-09-03 14:38:01 +01:00
Michael Drake c2375339a1 Add recursive expand/contract functions to hotlist, global history, and cookie manager modules. 2013-09-03 11:28:02 +01:00
Michael Drake cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake 09f5b0e95f Improve callback suppression options. Reduce unnecessary callback usage. 2013-08-30 12:51:40 +01:00
Michael Drake afaf24378b Add flag to suppress redraw on node creation. 2013-08-29 18:31:58 +01:00
Michael Drake bd39d108db Add a few functions for front ends to use. 2013-08-28 14:23:22 +01:00
Michael Drake 1212f1d321 Expose leaving node callback in public treeview walker interface. 2013-08-22 16:05:03 +01:00
Michael Drake b770130a8b Improve namespacing of enum values. 2013-07-26 15:20:19 +01:00
Michael Drake bb870de150 Move remaining string literals over to FatMessages. 2013-07-26 12:49:41 +01:00
Michael Drake f2476a1e20 Yield ownership of value to field builder, since date strings were already allocated. 2013-07-26 12:23:00 +01:00
Michael Drake b0baa839e8 Avoid snprintf and having buffer on stack. 2013-07-26 12:16:53 +01:00
Michael Drake 7bbcec90c4 Use prefabricated field text for common values. 2013-07-26 12:11:14 +01:00
Michael Drake 44fa2a9b91 Optimise cookie tolder and entry node search by comparing lengths before strings. 2013-07-25 22:31:27 +01:00
Michael Drake 3f0e70706d Abstract field building. 2013-07-25 22:22:36 +01:00
Michael Drake f3a3272dd3 Flag a todo. (Move some string literals to messages.) 2013-07-25 16:09:43 +01:00
Michael Drake 219f5dac32 Add initial version of new cookie manager. 2013-07-25 16:07:46 +01:00