Michael Drake
2c695bc2fa
Use abstracted folder creation.
2013-08-16 08:25:26 +01:00
Michael Drake
32ae7b5117
Add generator for default hotlist.
2013-08-16 08:25:25 +01:00
Michael Drake
e13e72357d
Set built=false after destruction.
2013-08-16 08:25:25 +01:00
Michael Drake
82f5cd33a0
Implement simplisitic hotlist_add function. Need to improve where new entries are placed. (See TODO comment.)
2013-08-16 08:25:25 +01:00
Michael Drake
952ab7b6e4
Move urldb data acquisition so it doesn't need to be duplicated when there are other entry points.
2013-08-16 08:25:25 +01:00
Michael Drake
ec7e1f71c4
Tidy some comments.
2013-08-16 08:25:25 +01:00
Michael Drake
da557af967
Slight simplification.
2013-08-16 08:25:25 +01:00
Michael Drake
58315b9673
Minor tweaking.
2013-08-16 08:25:25 +01:00
Michael Drake
8b83456c02
Beginnings of new hotlist module, implemented with new treeview.
...
Currently it can only open, display and launch entries in an existing hotlist file.
TODO:
- Generate defualt hotlist when file not found.
- Add hotlist saving.
- Allow adding to hotlist.
- Allow hotlist editing.
- Allow hotlist nodes to be moved by dragging.
- Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake
ee7df2761f
Make dom node children iterator return nserror.
2013-08-16 08:25:24 +01:00
Michael Drake
473738083b
Fix several comments about return type.
2013-08-16 08:25:24 +01:00
Michael Drake
298ac7c329
Use the new ssl certificate viewer in all situations.
2013-08-13 14:09:15 +01:00
Michael Drake
1e64ca5f44
Remove old sslcert module.
2013-08-13 13:52:21 +01:00
Michael Drake
bf11033987
Remove unused flags.
2013-08-13 13:43:08 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +01:00
Michael Drake
da84e1a00a
Add SSL cert handling to treeview test hack.
2013-08-12 10:32:54 +01:00
Michael Drake
5520b2ca92
Clear out most of old sslcert module.
2013-08-12 10:31:32 +01:00
Michael Drake
d89b5e2678
Build SSL certificate viewer module.
2013-08-12 10:30:24 +01:00
Michael Drake
4a9e4a676f
First pass at new ssl certificate chain viewer module.
2013-08-11 22:11:05 +01:00
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
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
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
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
3a0bda9771
Move local history over to nsurl.
2013-07-11 23:38:32 +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
Michael Drake
7bd01a0e75
Return key launches current selection.
2013-07-08 12:53:19 +01:00
Michael Drake
de1f0afde2
Change how nodes are deleted.
2013-07-06 23:00:43 +01:00
Michael Drake
3e33721ab6
Make tree walker use nserror.
2013-07-03 14:18:33 +01:00
Michael Drake
5616221064
Typedefs for internal treeview and treeview_node structs.
2013-07-03 13:48:53 +01:00
Michael Drake
c256320b08
Treeview walker now takes two callback function pointers. One called in fwd direction, one called in bwd direction.
2013-07-03 13:23:26 +01:00
Michael Drake
4f238758db
Don't allow empty folders.
2013-07-03 12:38:30 +01:00
Michael Drake
657d6ed587
Implement DEL_EMPTY_DIRS flag.
2013-07-03 12:37:58 +01:00
Michael Drake
520503bc7e
Allow empty folders to be open.
2013-07-03 12:14:07 +01:00
Michael Drake
26befde81c
Make READ_ONLY flag a combinator for NO_MOVES and NO_DELETES. Implement NO_DELETES.
2013-07-03 11:50:23 +01:00
Michael Drake
c010535fbe
Add treeview behaviour flags.
2013-07-03 11:19:16 +01:00
Michael Drake
4313d4c4ec
Make flags for suppress resize.
2013-07-02 17:30:52 +01:00
Michael Drake
6014a35ed3
Implement entry launching. Currently only launches in new window.
2013-07-02 12:20:44 +01:00
Michael Drake
2476af4c65
Use messages for treeview labels.
2013-07-01 20:05:09 +01:00
Michael Drake
21cd01a9b3
Add quite param to insertion calls to suppress treeview height callback.
2013-07-01 16:16:11 +01:00
Michael Drake
bc37046c6c
Pass drag state to core window user.
2013-07-01 15:10:45 +01:00
Michael Drake
6e5e741d53
Add temporary option to enable test of new treeview in bookmarks window.
2013-07-01 14:07:25 +01:00
Michael Drake
b6219f6685
Delete and backspace keys delete selected nodes.
2013-07-01 13:00:46 +01:00
Michael Drake
c862cd60ad
Make treeview test parasite trap keyboard action too.
2013-07-01 11:49:14 +01:00
Michael Drake
743ffa2a46
Pass keypresses on to treeview.
2013-07-01 11:48:43 +01:00
Michael Drake
df1667bd58
Start keypress handling.
2013-07-01 11:47:46 +01:00
Michael Drake
6599f415f7
Handle mouse action below last node.
2013-07-01 10:37:40 +01:00
Michael Drake
31450767c9
Update ancestor heights on node deletion.
2013-06-30 22:07:53 +01:00
Michael Drake
a1f5272f78
Update treeview test parasite to pass tree height changes on to front end.
2013-06-30 17:54:08 +01:00
Michael Drake
db83497645
Inform front end when treeview height changes.
2013-06-30 17:53:41 +01:00
Michael Drake
cca6707585
Update documentation for update_size callback.
2013-06-30 17:52:55 +01:00
Michael Drake
64eab40b18
Fix typo.
2013-06-18 20:10:08 +01:00
Michael Drake
4e0f960e3c
Write up the rest of the fucntion comments.
2013-06-18 19:53:57 +01:00
Michael Drake
7cd0bacaf6
Create folders as they're required when entry is inserted.
2013-06-18 19:26:49 +01:00
Michael Drake
8c114cdfd8
Ensure global_history_delete_internal checks treeview node is NULL. Add various documentation comments.
2013-06-18 18:54:06 +01:00
Michael Drake
a642cab1b7
Point at header for exported function commentary.
2013-06-18 17:26:36 +01:00
Michael Drake
146fea758f
Global history finaliser does not need core_window stuff.
2013-06-18 17:25:23 +01:00
Michael Drake
d6ee11de93
Add documentation comments.
2013-06-18 17:22:56 +01:00
Michael Drake
99e1246cab
Document static functions.
2013-06-18 17:08:35 +01:00
Michael Drake
0b730caf2d
More documentation.
2013-06-18 16:49:42 +01:00
Michael Drake
beceec8c8e
Say which functions are documented in the header.
2013-06-18 16:08:21 +01:00
Michael Drake
ec02cf9e4c
Remove unused function.
2013-06-18 16:04:14 +01:00
Michael Drake
1f3265f2a5
Add documentation.
2013-06-18 16:02:31 +01:00
Michael Drake
d064e9ac78
Add support for selection drags. Not yet implemented move drags.
2013-06-18 14:58:43 +01:00
Michael Drake
55dd035686
Add triple click to mouse event logger.
2013-06-15 15:55:05 +01:00