Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | about:preferences: Use mq_html_fieldset() | Patrick McDermott | 2017-10-26 | 1 | -4/+4 |
| | |||||
* | mq_html_input_*(): Enclose labels and inputs in <tr>s and <td>s | Patrick McDermott | 2017-10-26 | 1 | -18/+64 |
| | |||||
* | mq_html_fieldset(): New function | Patrick McDermott | 2017-10-26 | 2 | -0/+43 |
| | |||||
* | MqApplication: Register "mq-about" as a local scheme | Patrick McDermott | 2017-10-25 | 1 | -0/+3 |
| | |||||
* | mq_notebook_remove_page(): Always keep at least one tab open | Patrick McDermott | 2017-10-25 | 1 | -0/+4 |
| | |||||
* | MqTree: Fix debugging output macro for disabled debugging | Patrick McDermott | 2017-10-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: CC src/marquee-tree.o src/tree.c: In function ‘mq_tree_append_child_allocated’: src/tree.c:171:41: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Appended child", node); ^ src/tree.c:171:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Appended child", node); ^ src/tree.c:171:2: note: each undeclared identifier is reported only once for each function it appears in src/tree.c: In function ‘mq_tree_append_sibling_allocated’: src/tree.c:200:43: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Appended sibling", node); ^ src/tree.c:200:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Appended sibling", node); ^ src/tree.c: In function ‘mq_tree_remove_allocated’: src/tree.c:247:39: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Removed node", node); ^ src/tree.c:247:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Removed node", node); ^ | ||||
* | MqTree: Split long node lines of tree debugging output | Patrick McDermott | 2017-10-25 | 1 | -7/+18 |
| | |||||
* | MqTree: Fix width of pointers in debugging output | Patrick McDermott | 2017-10-25 | 1 | -12/+18 |
| | | | | And modify configure.ac to search for logl() and add -lm to LIBS. | ||||
* | MqTabLabel, MqMainMenu, MqWebView: Use G_STMT_START/G_STMT_END in macros | Patrick McDermott | 2017-10-25 | 3 | -16/+16 |
| | |||||
* | MqTabLabel: Add popover button callback TODO comments | Patrick McDermott | 2017-10-25 | 1 | -0/+3 |
| | |||||
* | mq_notebook_remove_page(): Destroy widgets after updating positions | Patrick McDermott | 2017-10-25 | 1 | -3/+3 |
| | | | | Fixes uses after free and warnings and errors from GLib and GTK+. | ||||
* | Revert "mq_tree_remove*(): Don't update children's positions" | Patrick McDermott | 2017-10-25 | 1 | -4/+1 |
| | | | | | | This reverts commit ab9570ff5e856e4cc4056cb970e732be29405444. Children's positions do need to be updated. | ||||
* | mq_notebook_remove_page(): Update tab positions | Patrick McDermott | 2017-10-25 | 1 | -0/+4 |
| | |||||
* | mq_tree_remove*(): Fix parent and sibling links | Patrick McDermott | 2017-10-25 | 1 | -7/+15 |
| | |||||
* | MqTree: Add links to new tree debugging output | Patrick McDermott | 2017-10-25 | 1 | -2/+9 |
| | |||||
* | mq_tree_remove_allocated(): Remove trailing whitespace | Patrick McDermott | 2017-10-25 | 1 | -2/+2 |
| | |||||
* | mq_tree_remove*(): Don't update children's positions | Patrick McDermott | 2017-10-25 | 1 | -1/+4 |
| | |||||
* | mq_tree_remove*(): Link node's next sibling or parent to last child | Patrick McDermott | 2017-10-25 | 1 | -4/+6 |
| | |||||
* | mq_tree_remove*(): Update tree sizes | Patrick McDermott | 2017-10-25 | 1 | -0/+2 |
| | |||||
* | mq_tree_remove*(): Print debugging output | Patrick McDermott | 2017-10-25 | 1 | -0/+2 |
| | |||||
* | MqTabLabel: Make close buttons effective | Patrick McDermott | 2017-10-25 | 1 | -0/+9 |
| | |||||
* | mq_tab_page_close(): New function | Patrick McDermott | 2017-10-25 | 2 | -0/+11 |
| | |||||
* | mq_notebook_remove_page(): New function | Patrick McDermott | 2017-10-25 | 2 | -0/+15 |
| | |||||
* | mq_tree_remove_allocated(): Implement | Patrick McDermott | 2017-10-25 | 1 | -2/+26 |
| | |||||
* | mq_tree_remove(): New macro | Patrick McDermott | 2017-10-25 | 1 | -0/+5 |
| | |||||
* | mq_tree_remove(): Rename to mq_tree_remove_allocated() | Patrick McDermott | 2017-10-25 | 2 | -4/+4 |
| | |||||
* | MqTree: Rename debugging output functions | Patrick McDermott | 2017-10-25 | 1 | -15/+15 |
| | |||||
* | mq_tree_append_child*(), mq_tree_append_sibling*(): s/Inserted/Appended/ in ↵ | Patrick McDermott | 2017-10-24 | 1 | -2/+2 |
| | | | | debugging output | ||||
* | mq_tree_insert_child*(), mq_tree_insert_sibling*(): Rename to mq_tree_append_*() | Patrick McDermott | 2017-10-24 | 3 | -11/+11 |
| | |||||
* | mq_tree_insert_sibling*(): Append rather than insert sibling | Patrick McDermott | 2017-10-24 | 1 | -10/+9 |
| | |||||
* | mq_tree_foreach_from(): Fix upward traversal | Patrick McDermott | 2017-10-24 | 1 | -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 macro | Patrick McDermott | 2017-10-24 | 1 | -2/+1 |
| | |||||
* | mq_tree_insert_sibling*(): Fix new node position | Patrick McDermott | 2017-10-24 | 1 | -1/+1 |
| | |||||
* | MqTree: Add inserted node address to debugging output | Patrick McDermott | 2017-10-24 | 1 | -6/+5 |
| | |||||
* | MqTree: Add sizes and positions to insertion dbg output | Patrick McDermott | 2017-10-24 | 1 | -1/+2 |
| | |||||
* | MqNotebook, MqTabLabel, MqMainMenu: Open new tabs as siblings, not children | Patrick McDermott | 2017-10-24 | 3 | -4/+5 |
| | | | | This reverts commit c8eb35b and makes further changes. | ||||
* | mq_notebook_insert_*(): Optionally switch to new tab | Patrick McDermott | 2017-10-24 | 6 | -23/+47 |
| | | | | And update calls. | ||||
* | MqNotebook: Restructure tab tree view creation code a little | Patrick McDermott | 2017-10-24 | 1 | -4/+8 |
| | | | | Add blank lines for clarity and improve organization. | ||||
* | MqNotebook Use gtk_tree_selection_select_iter() | Patrick McDermott | 2017-10-24 | 1 | -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 McDermott | 2017-10-24 | 1 | -33/+29 |
| | | | | This reverts commit 505f7bd3f82bffe555f27d5dba4f71d845b8a9b4. | ||||
* | MqNotebook: Try to use gtk_tree_selection_select_iter() | Patrick McDermott | 2017-10-24 | 1 | -29/+33 |
| | |||||
* | mq_notebook_set_current_page(): Make page_num 1-based | Patrick McDermott | 2017-10-24 | 1 | -3/+3 |
| | |||||
* | MqNotebook: Set current page on tab tree row activation | Patrick McDermott | 2017-10-24 | 1 | -5/+4 |
| | | | | Now with no crashing! | ||||
* | MqNotebook: Add tab position to tree store | Patrick McDermott | 2017-10-24 | 1 | -6/+10 |
| | |||||
* | [WIP] MqNotebook: Rewrite tab tree row activation callback | Patrick McDermott | 2017-10-24 | 1 | -19/+11 |
| | | | | Just prints the tab title without changing to the tab. | ||||
* | MqNotebook: Add comment and debugging output for bug | Patrick McDermott | 2017-10-24 | 1 | -0/+13 |
| | |||||
* | MqTree: Improve tree traversal debugging output | Patrick McDermott | 2017-10-23 | 1 | -3/+3 |
| | |||||
* | mq_tree_insert_*(): Fix position updating tree traversal | Patrick McDermott | 2017-10-23 | 1 | -9/+15 |
| | | | | Just use mq_tree_foreach_from() now. | ||||
* | mq_tree_foreach_from(): Fix tree traversal | Patrick McDermott | 2017-10-23 | 1 | -19/+14 |
| | |||||
* | MqTree: Add foreach debugging output | Patrick McDermott | 2017-10-23 | 1 | -0/+20 |
| |