Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Take a reference on the im context for async ops | Matthias Clasen | 2016-03-01 | 1 | -6/+2 |
| | | | | | | | This might fix the crash in yelp that some people continue to see. https://bugzilla.gnome.org/show_bug.cgi?id=762887 | ||||
* | notebook: Tell everyone we reordered stuff | Benjamin Otte | 2016-02-29 | 1 | -3/+10 |
| | | | | | Fixes keybindings for reordering actually emitting signals and properly updating CSS/the screen. | ||||
* | notebook: Reallocate tab gadgets when we reorder them | Benjamin Otte | 2016-02-29 | 1 | -0/+1 |
| | | | | | | | Otherwise they stay in their position and don't cause a redraw. Which really confuses Epiphany users apparently. https://bugzilla.gnome.org/show_bug.cgi?id=762720 | ||||
* | range: fix fill level for vertical inverted scales | Cosimo Cecchi | 2016-02-29 | 1 | -1/+1 |
| | |||||
* | Update CSS nodes documentation | Cosimo Cecchi | 2016-02-29 | 2 | -17/+27 |
| | |||||
* | scale: add gadgets for indicator/label in scale marks | Cosimo Cecchi | 2016-02-29 | 4 | -97/+209 |
| | | | | | This will allow us to theme them indepdendently, and specify a size for the indicator from the theme. | ||||
* | scale: add a gadget for every mark | Cosimo Cecchi | 2016-02-29 | 1 | -250/+302 |
| | | | | | We want to add another gadget for the mark indicator. This will allow us to do so. | ||||
* | Adwaita: add minimum size for marks | Cosimo Cecchi | 2016-02-29 | 3 | -0/+10 |
| | | | | | It's still suboptimal, because there's no way to control the size of the indicator alone, but this does the job for now. | ||||
* | gadget: improve debug message | Cosimo Cecchi | 2016-02-29 | 1 | -1/+3 |
| | |||||
* | range: draw slider on top of all contents | Cosimo Cecchi | 2016-02-29 | 1 | -8/+4 |
| | | | | This is so that e.g. the focus ring is drawn under the slider. | ||||
* | scale: implement rendering for marks gadgets | Cosimo Cecchi | 2016-02-29 | 1 | -113/+129 |
| | | | | This completes the conversion of scale marks to gadgets. | ||||
* | scale: implement size allocate for mark gadgets | Cosimo Cecchi | 2016-02-29 | 1 | -9/+108 |
| | | | | This allows to move the mark sections around with e.g. margins. | ||||
* | scale: port marks size request to gadgets | Cosimo Cecchi | 2016-02-29 | 1 | -74/+146 |
| | |||||
* | scale: use gadgets instead of nodes for mark containers | Cosimo Cecchi | 2016-02-29 | 1 | -31/+30 |
| | | | | The gadget is not yet allocated though. | ||||
* | scale: rename function arguments | Cosimo Cecchi | 2016-02-29 | 1 | -41/+47 |
| | | | | To make them clearer. No functional change here. | ||||
* | scale: remove unused argument | Cosimo Cecchi | 2016-02-29 | 1 | -6/+4 |
| | | | | It's always GTK_POS_TOP. | ||||
* | range: better hack for GtkColorScale | Cosimo Cecchi | 2016-02-29 | 1 | -16/+5 |
| | | | | | Just draw the slider, since that is the only thing GtkColorScale cares about. | ||||
* | range: deprecate gtk_range_get/set_min_slider_size() | Cosimo Cecchi | 2016-02-29 | 2 | -2/+8 |
| | | | | Nothing uses these functions inside GTK anymore. | ||||
* | range: don't use gtk_range_set_min_slider_size() | Cosimo Cecchi | 2016-02-29 | 4 | -43/+51 |
| | | | | | | | | | | The way this method is used from the GtkRange subclasses doesn't really work well when the slider properties change as a consequence of e.g. a style class being applied (e.g. the fine-tune style class). In fact, there's no need to read the minimum slider size out of band, and we can obtain the same result in a way that always work by setting a private property on GtkRange. | ||||
* | Adwaita: some more WIP theme work for the new scale | Lapo Calamandrei | 2016-02-29 | 3 | -737/+737 |
| | |||||
* | gadget: simplify code | Cosimo Cecchi | 2016-02-29 | 1 | -25/+15 |
| | |||||
* | range: use border box for slider area | Cosimo Cecchi | 2016-02-29 | 1 | -6/+6 |
| | | | | | | Since we can use negative margins, we should not use the margin box for the slider area. Use the border box instead, since that's what is typically mapped to the visible area. | ||||
* | range: use new GtkCssGadget API instead of rolling our own | Cosimo Cecchi | 2016-02-29 | 1 | -34/+10 |
| | |||||
* | gadget: add API to get various area boxes | Cosimo Cecchi | 2016-02-29 | 2 | -0/+57 |
| | | | | | Compared to the function returning the allocation, these will return the box in gadget coordinates. | ||||
* | range: simplify code | Cosimo Cecchi | 2016-02-29 | 1 | -10/+1 |
| | | | | | Instead of directly accessing the widget allocation, we can use the gadget API to test whether the coordinates are in the main gadget. | ||||
* | Adwaita: WIP for new range theme | Lapo Calamandrei | 2016-02-29 | 3 | -1183/+1194 |
| | |||||
* | range: add a gadget for the whole widget area | Cosimo Cecchi | 2016-02-29 | 1 | -38/+110 |
| | | | | | | This commit introduces another node, called "contents", that holds the main contents of the range. This allows for the main gadget itself to span across the whole surface of the widget now. | ||||
* | scale: always add marks at the beginning or the end | Cosimo Cecchi | 2016-02-29 | 3 | -9/+2 |
| | | | | Marks are always either the first or the last child of the scale. | ||||
* | range: use new GtkBoxGadget API instead of counting children | Cosimo Cecchi | 2016-02-29 | 1 | -17/+9 |
| | |||||
* | boxgadget: add APIs to insert gadgets next to siblings | Cosimo Cecchi | 2016-02-29 | 2 | -0/+47 |
| | |||||
* | range: use new GtkBoxGadget API instead of removing/inserting | Cosimo Cecchi | 2016-02-29 | 1 | -12/+8 |
| | |||||
* | boxgadget: add API to set expand/align flags for gadget child | Cosimo Cecchi | 2016-02-29 | 2 | -8/+85 |
| | |||||
* | range: move slider drawing where it belongs | Cosimo Cecchi | 2016-02-29 | 1 | -2/+2 |
| | | | | | The slider gadget is a child of the trough gadget, so draw it from there. | ||||
* | scrollbar: deprecate min-slider-length style property | Cosimo Cecchi | 2016-02-29 | 4 | -11/+26 |
| | | | | | In favor of min-height/min-width, like we did for other similar properties. | ||||
* | range: whitespace fix | Cosimo Cecchi | 2016-02-29 | 1 | -1/+0 |
| | |||||
* | range: remove border allocation hack | Cosimo Cecchi | 2016-02-29 | 1 | -14/+10 |
| | | | | We can achieve the same result with a negative margin. | ||||
* | colorscale: don't use style properties to determine slider size | Cosimo Cecchi | 2016-02-29 | 1 | -4/+11 |
| | |||||
* | Revert "range: move GtkColorScale special case to GtkColorScale" | Cosimo Cecchi | 2016-02-29 | 2 | -6/+7 |
| | | | | This reverts commit d93d266ed9e3e26e382a4f6d4b5d4ea19eff3bcf. | ||||
* | Revert "range: simplify code" | Cosimo Cecchi | 2016-02-29 | 1 | -3/+14 |
| | | | | This reverts commit a74f7dcaf8a02c96c6bfecab6969e1d33ecb9332. | ||||
* | range: simplify code | Cosimo Cecchi | 2016-02-29 | 1 | -14/+3 |
| | | | | | Now that everything is in the main gadget, we can just let it propagate drawing to its children. | ||||
* | range: move GtkColorScale special case to GtkColorScale | Cosimo Cecchi | 2016-02-29 | 2 | -7/+6 |
| | | | | Now we can just tweak the node visibility for it. | ||||
* | range: remove special case that's not needed | Cosimo Cecchi | 2016-02-29 | 1 | -12/+1 |
| | | | | We already set the gadget not to be visible in that case. | ||||
* | range: move slider inside the trough | Cosimo Cecchi | 2016-02-29 | 1 | -114/+76 |
| | | | | | This will require a rewrite of most of the theme, but it's the right thing to do. | ||||
* | scale: deprecate slider-length style property | Cosimo Cecchi | 2016-02-29 | 6 | -19/+43 |
| | | | | This can be achieved using min-height/min-width CSS properties now. | ||||
* | range: deprecate more style properties | Cosimo Cecchi | 2016-02-29 | 8 | -62/+92 |
| | | | | These are never read now. | ||||
* | range: continue porting to GtkGadgets | Cosimo Cecchi | 2016-02-29 | 4 | -775/+592 |
| | | | | | This commit rewrites a lot of the GtkRange internals to make full use of the gadget structure. | ||||
* | gadget: add hit test functions | Cosimo Cecchi | 2016-02-29 | 2 | -11/+122 |
| | | | | These will be useful in later commits. | ||||
* | range: remove unused code | Cosimo Cecchi | 2016-02-29 | 1 | -3/+0 |
| | |||||
* | range: remove call that is not needed | Cosimo Cecchi | 2016-02-29 | 1 | -2/+0 |
| | | | | gtk_range_calc_slider() already calls the same function when needed. | ||||
* | range: simplify code a bit | Cosimo Cecchi | 2016-02-29 | 1 | -5/+7 |
| |