summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a default implementation of strengthpeek-passwordMatthias Clasen2019-03-141-1/+8
| | | | This is too simple to be useful, but its a start.
* gtk-demo: Show password strengthMatthias Clasen2019-03-141-0/+15
| | | | Make the password entry demo show password strength.
* adwaita: theme levelbars in entriesMatthias Clasen2019-03-141-0/+13
| | | | This is used in password entries now.
* password entry: Add a strength indicatorMatthias Clasen2019-03-142-0/+140
| | | | | | Use a levelbar to show password strength. The strength value itself is provided by the application via a signal.
* gtk-demo: Show password peek iconMatthias Clasen2019-03-141-0/+2
|
* password entry: Add a way to see the contentMatthias Clasen2019-03-148-7/+167
| | | | | | | | | Add a ::show-peek-icon property and show a clickable icon when it is set. Clicking it toggles the visibility of the content. The same functionality is also accessible via a context menu item. This is a common feature of password entries.
* password entry: Make the Caps Lock icon less prominentMatthias Clasen2019-03-142-0/+5
| | | | | Set a style class, and theme the Caps Lock icon to be less promient, so it does not appear clickable.
* password entry: Use text cursor for Caps Lock indicatorMatthias Clasen2019-03-141-0/+1
| | | | | | | We don't want it to appear clickable, but we still need to keep it pickable for the tooltip to work, so explicitly give it the same cursor that we use for the text.
* entry: Make progress bar not pickableMatthias Clasen2019-03-141-0/+1
| | | | | There is no need for that, we don't want to handle input here at all.
* password entry: a better Caps Lock iconMatthias Clasen2019-03-143-1/+4
| | | | | This is more in line with how Caps Lock is typically indicated.
* gtk-demo: Add a password entry demoMatthias Clasen2019-03-143-0/+89
|
* password entry: Add placeholder-text and activates-defaultMatthias Clasen2019-03-141-3/+59
| | | | | | Add ::placeholder-text and ::activates-default properties. Password entries are going to be used in dialogs, where these two properties are useful.
* password entry: Initialize capslock stateMatthias Clasen2019-03-141-0/+1
| | | | | The icon was erroneously showing up before the first focus-in event.
* a11y: More entry fixesMatthias Clasen2019-03-141-45/+47
| | | | Remove the GtkEntry assumption from more places.
* Updated Slovenian translationMatej Urbančič2019-03-121-148/+96
|
* Update Dutch translationNathan Follens2019-03-101-2235/+4721
|
* text: SimplifyBenjamin Otte2019-03-081-3/+1
| | | | The previous arguments were equivalent to using NULL.
* text: Remove two unused member variablesBenjamin Otte2019-03-081-2/+0
|
* text: Use gtk_widget_set_overflow()Benjamin Otte2019-03-081-9/+1
|
* text: Remove 2 unused variablesBenjamin Otte2019-03-081-12/+8
| | | | One is always 0, the other is always equal to gtk_widget_get_width()
* colorswatch: Use gtk_widget_set_overflow()Benjamin Otte2019-03-081-21/+14
|
* widget: Make overflow respect rounded cornersBenjamin Otte2019-03-081-3/+3
| | | | Fixes !574
* gsk: API docs fixesBastien Nocera2019-03-072-6/+3
| | | | | | | | | gsk/gskenums.h:181: Error: Gsk: multiple "@GSK_TRANSFORM_CATEGORY_2D" parameters for identifier "GskTransformCategory": * @GSK_TRANSFORM_CATEGORY_2D: The matrix is a 2D matrix. This is equivalent ^ gsk/gsktransform.c:1342: Warning: Gsk: gsk_transform_to_2d: unknown parameter 'm' in documentation comment, should be 'self' gsk/gsktransform.c:1368: Warning: Gsk: gsk_transform_to_2d: invalid return annotation gsk/gsktransform.c:1461: Warning: Gsk: gsk_transform_to_translate: unknown parameter 'm' in documentation comment, should be 'self'
* revealer: Add swing transitionsBenjamin Otte2019-03-073-9/+84
| | | | And make the revealer on page 2 of the widget-factory use one.
* Update Polish translationPiotr Drąg2019-03-071-460/+431
|
* x11: Don't emit GDK_NOTHING eventsMatthias Clasen2019-03-061-0/+6
| | | | They are good for nothing.
* rendernode: Add can_diff implementation for transform nodesBenjamin Otte2019-03-061-1/+14
| | | | That one was missing and killing performance in the fishbowl.
* entry: Update CSS node docsTimm Bäder2019-03-061-20/+2
| | | | | Remove all the nodes that are subnodes of GtkText nowadays and refer to the GtkText docs instead.
* gl renderer: Cache rendered fallback nodesTimm Bäder2019-03-061-0/+13
|
* gl renderer: Mark pointer textures as usedTimm Bäder2019-03-061-0/+19
| | | | Otherwise we remove them, causing additional texture uploads.
* transform: Add perspective()Benjamin Otte2019-03-058-21/+259
| | | | | This commit adds gsk_transform_perspective(), gtk_snapshot_perspective() and support for perspective() in the CSS syntax.
* rendernode: Implement diffing of transform nodesBenjamin Otte2019-03-041-1/+63
| | | | | | | | This reinstates diffing in the same way that it worked for offset nodes. It would be possible to add diffing for affine transforms or even all transforms, but I think this is unnecessary right now - and also quite expensive to compute.
* transform: Readd optimizationBenjamin Otte2019-03-041-4/+28
| | | | This is the optimization from bbd4e2f60d9e060fbe3b0c2dcebcd1d6b7335a2a
* transform: Redo querying APIBenjamin Otte2019-03-047-209/+166
| | | | | | | | | | | Make the API expect a tranform of the proper category instead of doing the check ourselves and returning TRUE/FALSE. The benefit is that the mai use case is switch (transform->category) statements and in those we know the category and don't need to check TRUE/FALSE. Using the wrong matrix will now cause a g_warning().
* transform: Store the category in the transformBenjamin Otte2019-03-041-69/+30
| | | | | | | | ... instead of computing it every time we need it. This should be faster and we want to use it a lot more prominently. Also, we have the struct memory available anyway.
* transform: Implement gsk_transform_invert()Benjamin Otte2019-03-045-5/+176
| | | | | | And use it. And test it.
* transform: Remove gsk_transform_identity()Benjamin Otte2019-03-043-29/+1
| | | | | This used to be a good idea back when GskTransform was intended to be used for transitions, but without it, it's not anymore.
* widget: Make transform a GskTransformBenjamin Otte2019-03-044-40/+20
| | | | | | This concludes pushing transforms down into GskTransform. What's remaining is potentially pushing it further into the renderers.
* testsuite: Add a transforms testBenjamin Otte2019-03-043-1/+250
| | | | | | | In particular, check that to_matrix() and to_2d(), to_affine() and to_translate() return the same values. This also requires a recent Graphene version or the tests will fail.
* trasnform: Fix print statementBenjamin Otte2019-03-041-1/+1
| | | | We were printing the wrong variable.
* transform: Split rotate() and rotate3d() classBenjamin Otte2019-03-041-33/+162
| | | | | This is mainly for accuracy: We can guarantee the math we do for 2D rotations results in a 2D matrix.
* transform: Make category public APIBenjamin Otte2019-03-0415-117/+127
| | | | Also rename it from GskMatrixCategory to GskTransformCategory.
* transform: Remove API to poke internalsBenjamin Otte2019-03-043-79/+21
| | | | | It is not interesting to users of GskTransform how it is made up internally. Users should just use the gsk_transform_to_*() APIs.
* rendernode: Make the transform node take a GskTransformBenjamin Otte2019-03-049-185/+136
| | | | This is an attempt to push GskTransform deeper into the stack.
* transform: Add more APIBenjamin Otte2019-03-044-6/+329
| | | | | | | | | | In particular, add a per-category querying API for the matrix: - gsk_transform_to_translate() - gsk_transform_to_affine() - gsk_transform_to_2d() - gsk_transform_to_matrix() This way, code can use the relevant one for the given category.
* transform: Move to GSKBenjamin Otte2019-03-0423-433/+433
| | | | The renaming of the prefix makes this a large patch.
* Merge branch 'adwaita-typo-fix-master' into 'master'Matthias Clasen2019-03-043-3/+3
|\ | | | | | | | | | | | | Adwaita: Fix typo (missing comma) Closes #1713 See merge request GNOME/gtk!618
| * Adwaita: Fix typo (missing comma)Alex Monday2019-03-043-3/+3
| | | | | | | | | | | | Closes https://gitlab.gnome.org/GNOME/gtk/issues/1713 (cherry picked from commit 0b61d6f6aef9fba35e896ac437a66b78eb649f75)
* | treeview: make sure separator nodes have a height > 0Christoph Reiter2019-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the theme doesn't set a height/min-height for the treeview separator the treeview drawing gets confused and draws rows on top of each other depending on the redraw area. This is due to gtk_tree_view_get_row_height() assuming that a node with a height <= 0 is not set and not a separator and it will default to the expander size. Ideally gtk_tree_view_get_row_height() would know if it operates on a separator, but there are too many calls/levels, so just make sure the separator height is at least 1 (Adwaita already sets "min-height: 2px", so no change there) Cherry-picked from !614 to master
* | Merge branch 'notebook-notify-page-not-child' into 'master'Emmanuele Bassi2019-03-041-7/+8
|\ \ | | | | | | | | | | | | notebook: Notify the notebook page, not the child See merge request GNOME/gtk!616