Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mq_notebook_set_current_page(): Fix mq_tree_seek() offset argument | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | MqNotebook: Add tab tree popover | Patrick McDermott | 2017-10-23 | 1 | -0/+102 |
| | |||||
* | mq_tree_next(): Fix | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | mq_tree_foreach_child(): Remove function | Patrick McDermott | 2017-10-23 | 2 | -24/+0 |
| | |||||
* | mq_tree_first_child(): New macro | Patrick McDermott | 2017-10-23 | 1 | -0/+2 |
| | |||||
* | mq_notebook_set_current_page(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+13 |
| | |||||
* | MqNotebook: Make new tab button insert children, not siblings | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | MqNotebook: Update positions of tabs after inserted tab | Patrick McDermott | 2017-10-23 | 1 | -2/+10 |
| | |||||
* | mq_tree_foreach_child(): Loop over node's children, not root's | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | mq_tree_foreach_from(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+36 |
| | |||||
* | MqTree: Reduce code in foreach*() static functions | Patrick McDermott | 2017-10-23 | 1 | -20/+12 |
| | |||||
* | MqWindow: Drop notebook positions update callback | Patrick McDermott | 2017-10-23 | 1 | -16/+0 |
| | |||||
* | mq_tree_foreach*(): Accept only one user data argument | Patrick McDermott | 2017-10-23 | 3 | -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 button | Patrick McDermott | 2017-10-23 | 1 | -0/+9 |
| | |||||
* | MqNotebook: Add new tab button | Patrick McDermott | 2017-10-23 | 1 | -0/+18 |
| | |||||
* | mq_tree_insert_root_allocated(): Set node size | Patrick McDermott | 2017-10-23 | 1 | -0/+1 |
| | |||||
* | mq_notebook_get_n_pages(): Fix parentheses | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | mq_window_get_num_tabs(): Use mq_notebook_get_n_pages() | Patrick McDermott | 2017-10-23 | 1 | -2/+1 |
| | |||||
* | mq_notebook_get_n_pages(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+9 |
| | |||||
* | mq_tree_size(), mq_tree_position(): Fix conditional expressions | Patrick McDermott | 2017-10-23 | 1 | -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 functions | Patrick McDermott | 2017-10-23 | 2 | -20/+0 |
| | |||||
* | mq_window_update_tab_title(): Remove function | Patrick McDermott | 2017-10-23 | 2 | -12/+0 |
| | |||||
* | MqTabPage: Use mq_notebook_update_tab_title() | Patrick McDermott | 2017-10-23 | 1 | -1/+4 |
| | |||||
* | mq_notebook_update_tab_title(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+16 |
| | |||||
* | Move page switch cb from MqWindow to MqNotebook | Patrick McDermott | 2017-10-23 | 2 | -11/+10 |
| | |||||
* | mq_window_set_title(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+9 |
| | |||||
* | mq_tab_page_set_position(): Don't call mq_tab_label_set_position() | Patrick McDermott | 2017-10-23 | 1 | -1/+0 |
| | | | | MqNotebook does this now. | ||||
* | mq_tab_page_update_position(): Rename to mq_tab_page_set_position() | Patrick McDermott | 2017-10-23 | 3 | -11/+11 |
| | |||||
* | MqNotebook: Set tab page and label positions | Patrick McDermott | 2017-10-23 | 1 | -0/+3 |
| | |||||
* | MqWindow: Use mq_notebook_insert_top() | Patrick McDermott | 2017-10-23 | 1 | -12/+5 |
| | |||||
* | mq_notebook_insert_top(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+18 |
| | |||||
* | mq_notebook_insert_*(): Require non-NULL sibling/child arguments | Patrick McDermott | 2017-10-23 | 1 | -0/+4 |
| | |||||
* | Revert "mq_notebook_insert_(): Allow NULL sibling/parent arguments" | Patrick McDermott | 2017-10-23 | 1 | -25/+10 |
| | | | | This reverts commit eea1cf3441ef435bd632bcd271ed11d304033cf9. | ||||
* | MqWindow: Append (rather than prepend) tabs | Patrick McDermott | 2017-10-23 | 1 | -4/+6 |
| | |||||
* | mq_notebook_insert_*(): Return tab page | Patrick McDermott | 2017-10-23 | 2 | -4/+8 |
| | |||||
* | mq_window_insert_tab(): Remove function | Patrick McDermott | 2017-10-23 | 2 | -18/+0 |
| | |||||
* | MqTabPage: Don't call mq_window_insert_tab() | Patrick McDermott | 2017-10-23 | 1 | -2/+0 |
| | |||||
* | Mqwindow: Use mq_notebook_insert_sibling() | Patrick McDermott | 2017-10-23 | 1 | -2/+8 |
| | |||||
* | mq_notebook_insert_(): Allow NULL sibling/parent arguments | Patrick McDermott | 2017-10-23 | 1 | -10/+25 |
| | |||||
* | MqMainMenu: Use mq_notebook_insert_child() | Patrick McDermott | 2017-10-23 | 1 | -2/+11 |
| | |||||
* | MqTabLabel: Use mq_notebook_insert_child() | Patrick McDermott | 2017-10-23 | 1 | -1/+5 |
| | |||||
* | mq_tab_page_get_label(): Cast return value | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | | | | | | | | | | Fixes: CC src/marquee-tab-page.o src/tab-page.c: In function ‘mq_tab_page_get_label’: src/tab-page.c:244:2: warning: return from incompatible pointer type return tab_page->label; ^ | ||||
* | MqWebView: Use mq_notebook_insert_child() | Patrick McDermott | 2017-10-23 | 1 | -18/+26 |
| | |||||
* | mq_notebook_insert_*(): New functions | Patrick McDermott | 2017-10-23 | 2 | -0/+83 |
| | |||||
* | mq_tab_page_get_label(): New function | Patrick McDermott | 2017-10-23 | 2 | -0/+10 |
| | |||||
* | src/notebook.c: Fix MQ_TAB_TREE() | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | src/tree.h: Fix MQ_TREE() | Patrick McDermott | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | MqWindow: Fix notebook page switch callback | Patrick McDermott | 2017-10-23 | 1 | -5/+2 |
| | |||||
* | MqWebView: Adapt to new tree-less MqTabPage API | Patrick McDermott | 2017-10-23 | 1 | -15/+18 |
| | |||||
* | MqWindow: Adapt to new tree-less MqTabPage API | Patrick McDermott | 2017-10-23 | 1 | -7/+7 |
| |