Commit Graph

9272 Commits

Author SHA1 Message Date
Michael Drake
b770130a8b Improve namespacing of enum values. 2013-07-26 15:20:19 +01:00
Michael Drake
2bd587add5 Make the parasitic hack of the old tree code more robust. Now if the temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations. 2013-07-26 14:48:26 +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
0d681fb38e Log old cookie manager init timings for comparison. 2013-07-25 22:51:54 +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
034d907a38 Add messages for new treeview. 2013-07-25 16:08:50 +01:00
Michael Drake
92ee6e953c Build new cookie manager. 2013-07-25 16:08:22 +01:00
Michael Drake
219f5dac32 Add initial version of new cookie manager. 2013-07-25 16:07:46 +01:00
Michael Drake
4697d1ccc1 Expose treeview walker. 2013-07-25 16:06:34 +01:00
Michael Drake
17abee0045 Namespace treeview node callback table. 2013-07-25 15:06:09 +01:00
Michael Drake
ba576ad5d6 Guard for uninitalised history case. 2013-07-25 11:45:07 +01:00
Michael Drake
a399e5aa70 Fix return type. 2013-07-25 11:42:04 +01:00
Michael Drake
a4b5a8aed7 Unset built bool when fini is called. 2013-07-25 11:41:16 +01:00
Michael Drake
ef05c2f6e6 Return correct error. 2013-07-25 11:07:40 +01:00
Michael Drake
c6820e8402 Replace magic numbers with enum. 2013-07-24 23:03:16 +01:00
Michael Drake
81b4c61ae3 Don't call cookies delete here, the cookie manager has already deleted it. (Calling it only added the cookie again, cos the old cookie manager was braindead.) 2013-07-24 11:44:30 +01:00
Michael Drake
df2efd03c4 Update header guard. 2013-07-22 11:12:57 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake
01159ff589 Move cookies viewer module. 2013-07-21 23:24:07 +01:00
Michael Drake
dce3c8c170 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-07-21 12:16:08 +01:00
Chris Young
0a0e7867b9 Fix enable/disable of tab close option 2013-07-19 17:45:25 +01:00
Chris Young
0f79676d85 Re-arrange menu to better conform to the Style Guide 2013-07-19 17:42:25 +01:00
Chris Young
a479e8d18a Remove some ellipsis abuse - should only be used if the item is going to pop up a window or requester for more info before the requested operation is carried out. (have only modified the Amiga strings) 2013-07-19 17:30:02 +01:00
Michael Drake
9ac58865a7 Remove unused function declaration. 2013-07-17 11:42:42 +01:00
Michael Drake
5aed142560 Document callbacks. 2013-07-17 11:42:20 +01:00
Michael Drake
618ef54983 Update new global history, if the treeview test option is set. 2013-07-16 13:15:22 +01:00
Michael Drake
07c2add5cc Add function to add to global history. Fix add_entry to actually add new entry after removing an existing one. Implement directory deletion. 2013-07-16 13:13:33 +01:00
Michael Drake
28a04f6da7 Reset entry url's urldb visit data when user deletes entry from global history. 2013-07-15 21:51:45 +01:00
Michael Drake
ec9608c4de Make node delete callback msg differentiate between deletes caused by user interaction and other deletes (e.g. treeview destruction). 2013-07-15 14:34:56 +01:00
Michael Drake
9f72b5e046 Fix namespace of old global history add function. 2013-07-15 12:57:40 +01:00
Michael Drake
094ef9a64b Minor wrapping fix. 2013-07-12 15:31:43 +01:00
Michael Drake
716776a181 Remove forward declaration. 2013-07-12 13:50:17 +01:00
Michael Drake
55592d5a8d Move hotlist_visted from browser.h to hotlist.h 2013-07-12 12:07:54 +01:00
Michael Drake
d6d9378e9b Move global_history_add out of browser.h into global_history_core.h 2013-07-12 12:01:54 +01:00
Michael Drake
8d3a89b62d Don't attempt to vertical-align objects for now, as our current bodged vertical-align implementation can do more harm than good. 2013-07-12 11:34:47 +01:00
Michael Drake
3a0bda9771 Move local history over to nsurl. 2013-07-11 23:38:32 +01:00
Michael Drake
90231bd4b1 Force root element box type to BOX_BLOCK. 2013-07-10 12:27:56 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Michael Drake
ed557f090a Cursor down moves to next after noncontinuous selections. 2013-07-09 14:24:48 +01:00
Michael Drake
0df23dda20 Cursor right toggles expansion. 2013-07-09 13:47:06 +01:00
Michael Drake
11eed50de4 A couple of tidyups. 2013-07-09 12:46:30 +01:00
Michael Drake
541bc8e283 Initial keyboard navigation support. 2013-07-09 12:42:22 +01:00
Michael Drake
e9401de768 Move mix_colour macro out of treeview for other stuff to use. 2013-07-08 17:41:06 +01:00
Michael Drake
81a1506c5c Launch selection launches entries within contracted folders. 2013-07-08 15:22:25 +01:00
Michael Drake
e8f2297d0f Improve doc comments. 2013-07-08 13:01:00 +01:00