summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* MqTree: Rename debugging output functionsPatrick McDermott2017-10-251-15/+15
|
* mq_tree_append_child*(), mq_tree_append_sibling*(): s/Inserted/Appended/ in ↵Patrick McDermott2017-10-241-2/+2
| | | | debugging output
* mq_tree_insert_child*(), mq_tree_insert_sibling*(): Rename to mq_tree_append_*()Patrick McDermott2017-10-243-11/+11
|
* mq_tree_insert_sibling*(): Append rather than insert siblingPatrick McDermott2017-10-241-10/+9
|
* mq_tree_foreach_from(): Fix upward traversalPatrick McDermott2017-10-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | Steps to reproduce bug: 1. From tab 1, append a new child 2. From tab 1, insert a new sibling 3. From tab 1, insert a new sibling The position of the last tab (the next sibling of the new tab inserted in step 3) gets updated twice. Tree debugging output: Traversing tree from position, starting at 0x12bf620 0x12bf620 0x1272f80 0x1272f80 Inserted sibling 0x12bf620, new tree (size 5): 0xe7f7f0 (size 5, position 0) 0xed3e10 (size 2, position 1) 0x114ef40 (size 1, position 2) 0x12bf620 (size 1, position 3) 0x1272f80 (size 1, position 5)
* MqNotebook: Drop a G_GNUC_UNUSED attribute macroPatrick McDermott2017-10-241-2/+1
|
* mq_tree_insert_sibling*(): Fix new node positionPatrick McDermott2017-10-241-1/+1
|
* MqTree: Add inserted node address to debugging outputPatrick McDermott2017-10-241-6/+5
|
* MqTree: Add sizes and positions to insertion dbg outputPatrick McDermott2017-10-241-1/+2
|
* MqNotebook, MqTabLabel, MqMainMenu: Open new tabs as siblings, not childrenPatrick McDermott2017-10-243-4/+5
| | | | This reverts commit c8eb35b and makes further changes.
* mq_notebook_insert_*(): Optionally switch to new tabPatrick McDermott2017-10-246-23/+47
| | | | And update calls.
* MqNotebook: Restructure tab tree view creation code a littlePatrick McDermott2017-10-241-4/+8
| | | | Add blank lines for clarity and improve organization.
* MqNotebook Use gtk_tree_selection_select_iter()Patrick McDermott2017-10-241-13/+16
| | | | | | Similar to commit 505f7bd, but a little less hairy and invasive. gtk_tree_view_expand_all() must be called before gtk_tree_selection_select_iter().
* Revert "MqNotebook: Try to use gtk_tree_selection_select_iter()"Patrick McDermott2017-10-241-33/+29
| | | | This reverts commit 505f7bd3f82bffe555f27d5dba4f71d845b8a9b4.
* MqNotebook: Try to use gtk_tree_selection_select_iter()Patrick McDermott2017-10-241-29/+33
|
* mq_notebook_set_current_page(): Make page_num 1-basedPatrick McDermott2017-10-241-3/+3
|
* MqNotebook: Set current page on tab tree row activationPatrick McDermott2017-10-241-5/+4
| | | | Now with no crashing!
* MqNotebook: Add tab position to tree storePatrick McDermott2017-10-241-6/+10
|
* [WIP] MqNotebook: Rewrite tab tree row activation callbackPatrick McDermott2017-10-241-19/+11
| | | | Just prints the tab title without changing to the tab.
* MqNotebook: Add comment and debugging output for bugPatrick McDermott2017-10-241-0/+13
|
* MqTree: Improve tree traversal debugging outputPatrick McDermott2017-10-231-3/+3
|
* mq_tree_insert_*(): Fix position updating tree traversalPatrick McDermott2017-10-231-9/+15
| | | | Just use mq_tree_foreach_from() now.
* mq_tree_foreach_from(): Fix tree traversalPatrick McDermott2017-10-231-19/+14
|
* MqTree: Add foreach debugging outputPatrick McDermott2017-10-231-0/+20
|
* MqTree: Fix some foreach recursionPatrick McDermott2017-10-231-11/+0
|
* mq_tree_insert_*(): Add debugging outputPatrick McDermott2017-10-231-0/+49
|
* mq_tree_seek(): Fix assertion failures in recursive callsPatrick McDermott2017-10-231-7/+13
|
* mq_tree_seek(): Split assertionPatrick McDermott2017-10-231-1/+2
|
* mq_notebook_set_current_page(): Fix mq_tree_seek() offset argumentPatrick McDermott2017-10-231-1/+1
|
* MqNotebook: Add tab tree popoverPatrick McDermott2017-10-231-0/+102
|
* mq_tree_next(): FixPatrick McDermott2017-10-231-1/+1
|
* mq_tree_foreach_child(): Remove functionPatrick McDermott2017-10-232-24/+0
|
* mq_tree_first_child(): New macroPatrick McDermott2017-10-231-0/+2
|
* mq_notebook_set_current_page(): New functionPatrick McDermott2017-10-232-0/+13
|
* MqNotebook: Make new tab button insert children, not siblingsPatrick McDermott2017-10-231-1/+1
|
* MqNotebook: Update positions of tabs after inserted tabPatrick McDermott2017-10-231-2/+10
|
* mq_tree_foreach_child(): Loop over node's children, not root'sPatrick McDermott2017-10-231-1/+1
|
* mq_tree_foreach_from(): New functionPatrick McDermott2017-10-232-0/+36
|
* MqTree: Reduce code in foreach*() static functionsPatrick McDermott2017-10-231-20/+12
|
* MqWindow: Drop notebook positions update callbackPatrick McDermott2017-10-231-16/+0
|
* mq_tree_foreach*(): Accept only one user data argumentPatrick McDermott2017-10-233-40/+25
| | | | | | | | | And update MqNotebook. The va_copy()s didn't seem to work. va_arg() in MqNotebook's find_node_compare() returned garbage, preventing the node from being found and causing the assertion in find_node() (as called by mq_notebook_insert_sibling() and mq_notebook_insert_child()) to fail.
* MqNotebook: Add (non-functional) tab list buttonPatrick McDermott2017-10-231-0/+9
|
* MqNotebook: Add new tab buttonPatrick McDermott2017-10-231-0/+18
|
* mq_tree_insert_root_allocated(): Set node sizePatrick McDermott2017-10-231-0/+1
|
* mq_notebook_get_n_pages(): Fix parenthesesPatrick McDermott2017-10-231-1/+1
|
* mq_window_get_num_tabs(): Use mq_notebook_get_n_pages()Patrick McDermott2017-10-231-2/+1
|
* mq_notebook_get_n_pages(): New functionPatrick McDermott2017-10-232-0/+9
|
* mq_tree_size(), mq_tree_position(): Fix conditional expressionsPatrick McDermott2017-10-231-2/+2
| | | | | | | | | | | | | | | | | Fixes: CC src/marquee-notebook.o In file included from src/notebook.c:29:0: src/notebook.c: In function ‘mq_notebook_get_n_pages’: src/tree.h:67:70: warning: pointer/integer type mismatch in conditional expression #define mq_tree_size(node) ((node) ? (((MqTree *) (node))->size) : NULL) ^ src/notebook.c:253:9: note: in expansion of macro ‘mq_tree_size’ return mq_tree_size(MQ_TREE(notebook->tree)); ^ src/notebook.c:253:2: warning: return makes integer from pointer without a cast return mq_tree_size(MQ_TREE(notebook->tree)); ^
* mq_window_[gs]et_current_tab(): Remove functionsPatrick McDermott2017-10-232-20/+0
|
* mq_window_update_tab_title(): Remove functionPatrick McDermott2017-10-232-12/+0
|