summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Speed up characters scrollingsimple-labelMatthias Clasen2022-05-074-14/+293
| | | | | Use a simple label widget that does not queue a resize when the text is changed.
* Merge branch 'install-node-editor' into 'main'Matthias Clasen2022-05-075-6/+95
|\ | | | | | | | | Install gtk4-node-editor See merge request GNOME/gtk!4701
| * Install gtk4-node-editorMatthias Clasen2022-05-071-1/+1
| | | | | | | | It is an application worth having around.
| * Add a man page for gtk4-node-editorMatthias Clasen2022-05-072-0/+28
| |
| * node-editor: Add thingsMatthias Clasen2022-05-073-5/+66
| | | | | | | | Add a desktop file and appdata.
* | Update POTFILES.in and POTFILES.skipPiotr Drąg2022-05-074-0/+8
| |
* | Merge branch 'faster-listview-scrolling' into 'main'Matthias Clasen2022-05-071-12/+8
|\ \ | | | | | | | | | | | | listitemwidget: Avoid some unnecessary work See merge request GNOME/gtk!4700
| * | listitemwidget: Avoid more paramspec lookupsMatthias Clasen2022-05-061-12/+8
| | | | | | | | | | | | | | | | | | We can use the same helper function in all places where we notify all three listitem properties.
* | | Merge branch 'redo-doc-images' into 'main'Matthias Clasen2022-05-07163-2655/+3222
|\ \ \ | |_|/ |/| | | | | | | | wip: Redo doc image generation See merge request GNOME/gtk!4646
| * | Updated screenshotsMatthias Clasen2022-05-0672-0/+0
| | | | | | | | | | | | | | | Produced by running the screenshot command over the ui files in the same directory.
| * | Generate screenshots on the flyMatthias Clasen2022-05-0680-1/+3326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new meson option -Dupdate_screenshots=true. When it is enabled, and -Dgtk_doc=true is also used, then the build will generate images to include in the API docs from ui files in docs/reference/gtk/images. Note: we still keep a copy of the images in git, in order to allow building without a display connection. To update the images in git, the generated images need to be copied back from the builddir to the srcdir.
| * | Remove the old doc shooter infrastructureMatthias Clasen2022-05-0613-2765/+0
| |/ | | | | | | This is no longer used.
| * listitemwidget: Avoid some unnecessary workMatthias Clasen2022-05-061-9/+16
|/ | | | | Only update widget and accessible state if the selected property actually changed.
* Merge branch 'screenshot-popovers' into 'main'Matthias Clasen2022-05-071-3/+26
|\ | | | | | | | | builder-tool: Screenshot popovers properly See merge request GNOME/gtk!4699
| * builder-tool: Screenshot popovers properlyMatthias Clasen2022-05-061-3/+26
| | | | | | | | | | Do the necessary shenanigans to get popovers to show up in screenshots.
* | Merge branch 'check-half-float' into 'main'Matthias Clasen2022-05-063-5/+41
|\ \ | |/ |/| | | | | gdk: Check OES_vertex_half_float GLES extension See merge request GNOME/gtk!4689
| * gsk: Check for half float supportMatthias Clasen2022-05-061-1/+21
| | | | | | | | | | | | | | The GL renderer currently relies on half float support in vertex buffers, so check that we have it. Related: #4894
| * gdk: Check OES_vertex_half_float GLES extensionMatthias Clasen2022-05-052-4/+20
| | | | | | | | This will be checked in the GL renderer.
* | Merge branch 'list-item-factory-notify-by-pspec' into 'main'Benjamin Otte2022-05-063-8/+22
|\ \ | | | | | | | | | | | | list-item: Use notify_by_pspec instead of by name See merge request GNOME/gtk!4697
| * | list-item: Use notify_by_pspec instead of by nameIvan Molodetskikh2022-05-063-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | This is a hot path when scrolling a ColumnView, and g_param_spec_pool_lookup () was taking a measurable part in this hot path. Instead, notify using pspecs to avoid the name lookup. Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
* | | Merge branch 'builder-treestore-data' into 'main'Matthias Clasen2022-05-065-131/+599
|\ \ \ | |/ / |/| | | | | | | | Add buildable data support to GtkTreeStore See merge request GNOME/gtk!4695
| * | testsuite: test new treestore builder functionalityMatthias Clasen2022-05-062-5/+78
| | | | | | | | | | | | Verify that we can nest rows.
| * | treestore: support nested data in builderMatthias Clasen2022-05-061-22/+62
| | | | | | | | | | | | | | | | | | This allows <row> elements to be nested. Note that the child rows must come after the data for the row itself.
| * | builder: Allow checking for multiple parentsMatthias Clasen2022-05-062-3/+33
| | |
| * | testsuite: Copy liststore builer tests for treesMatthias Clasen2022-05-061-57/+187
| | | | | | | | | | | | This adds tests for data, but not nesting yet.
| * | treestore: Copy liststore buildable implementationMatthias Clasen2022-05-061-29/+224
| | | | | | | | | | | | | | | This add support for data, but does not allow nesting yet.
| * | treestore: CosmeticsMatthias Clasen2022-05-061-46/+46
| | | | | | | | | | | | | | | Some renaming in the buildable code to make it more similar to the liststore implementation.
* | | Merge branch 'gdk-win32-rework-scroll-input-handling' into 'main'Luca Bacci2022-05-061-71/+44
|\ \ \ | | | | | | | | | | | | | | | | GdkWin32: Rework scroll input handling See merge request GNOME/gtk!4633
| * | | GdkWin32: Send smooth scroll eventsLuca Bacci2022-05-061-71/+44
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring back smooth scroll events as the issues mentioned in [1] do not occur anymore. Also rework code style and comments. References: [1] GTK4: Scrolling hides mouse on windows https://gitlab.gnome.org/GNOME/gtk/-/issues/3581 [2] Why are mouse wheel messages delivered to the focus window instead of the window under the mouse? https://devblogs.microsoft.com/oldnewthing/20160420-00/?p=93325
* | | Merge branch 'list-item-factory-no-freeze-thaw' into 'main'Benjamin Otte2022-05-062-11/+14
|\ \ \ | | | | | | | | | | | | | | | | listitemfactory: Track notify manually instead of freeze/thaw See merge request GNOME/gtk!4696
| * | | listitemfactory: Track notify manually instead of freeze/thawIvan Molodetskikh2022-05-062-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freeze/thaw_notify () showed up on the perf trace for rapid ColumnView scrolling. Track the three properties manually to make it a little faster. Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
* | | | Merge branch 'unclipped-screenshots' into 'main'Matthias Clasen2022-05-061-7/+21
|\ \ \ \ | |/ / / |/| | | | | | | | | | | builder-tool: Include shadows in screenshots See merge request GNOME/gtk!4692
| * | | builder-tool: Include shadows in screenshotsMatthias Clasen2022-05-051-7/+21
| | |/ | |/| | | | | | | | | | | | | | | | Remove the clipping to the widget area that GtkWidgetPaintable imposes, so we can see shadows and other out-of-bounds rendering. This is particularly useful for toplevel windows with client-side decorations.
* | | Merge branch 'otte-main-patch-11831' into 'main'Benjamin Otte2022-05-061-8/+8
|\ \ \ | |_|/ |/| | | | | | | | Don't invalidate parent if it didn't change See merge request GNOME/gtk!4693
| * | Don't invalidate parent if it didn't changeBenjamin Otte2022-05-061-8/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | This looks like a leftover excess invalidation from when the surrounding code was refactored to not just be called on parent changes but also when repositioning inside the same parent in commit 507016cafc407b2c47aea3fd1483df75e9757f29 Ivan Molodetskikh found this problem in https://gitlab.gnome.org/GNOME/gtk/-/issues/3334#note_1445873 which contains a longer analysis of this problem and the performance reductions it causes. Related: #3334
* | Merge branch 'editable-label-fixes' into 'main'Matthias Clasen2022-05-052-1/+17
|\ \ | |/ |/| | | | | theme: Fix editable label selection See merge request GNOME/gtk!4690
| * editablelabel: Make :editing writableMatthias Clasen2022-05-051-1/+8
| | | | | | | | | | This does not hurt, and lets us start editing from a ui file, which is useful for documentation screenshots.
| * theme: Fix editable label selectionMatthias Clasen2022-05-051-0/+9
|/ | | | | | When the editable label is in editing mode, selections should appear the same as in other entries.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-05-041-1/+1
|\ | | | | | | | | docs: Fix a spinbutton example See merge request GNOME/gtk!4686
| * docs: Fix a spinbutton exampleMatthias Clasen2022-05-041-1/+1
| | | | | | | | We need to use editable api for editable functionality.
* | Merge branch 'checkbutton-label' into 'main'Benjamin Otte2022-05-032-20/+147
|\ \ | |/ |/| | | | | | | | | Expose GtkCheckButton label child for manipulation Closes #4698 See merge request GNOME/gtk!4489
| * Expose GtkCheckButton label as a child for manipulationPablo Correa Gómez2022-05-032-20/+146
| | | | | | | | | | | | | | | | This allows consumers greater control over the label without the need to expose each of the label properties as part of GtkCheckButton interface. Specifically, motivation for this commit is to be able to wrap the label. Closes #4698
| * Set use_underline property for GtkCheckButton label conditionallyPablo Correa Gómez2022-03-251-1/+2
| | | | | | | | | | Otherwise, if the user set the property to False before creating or setting the label, the label property will be overriden
* | Merge branch 'wrap-mode-invalid-cast' into 'main'Matthias Clasen2022-05-034-3/+94
|\ \ | | | | | | | | | | | | | | | | | | Don't cast GtkWrapMode to the incompatible enum PangoWrapMode Closes #4869 See merge request GNOME/gtk!4671
| * | Make the wrap_mode test unix-onlyFederico Mena Quintero2022-04-281-1/+11
| | | | | | | | | | | | The relevant accessibility code is not built on Windows.
| * | textbuffer: Test the serialization of the wrap-mode attributeFederico Mena Quintero2022-04-261-0/+59
| | |
| * | Put the text buffer tests in the internal_tests suiteFederico Mena Quintero2022-04-261-1/+1
| | | | | | | | | | | | | | | We'll start testing the internal gtk_text_buffer_get_run_attributes() soon.
| * | Don't cast GtkWrapMode to the incompatible enum PangoWrapModeFederico Mena Quintero2022-04-262-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The enum values are not compatible, and moreover, there is an extra GTK_WRAP_NONE that PangoWrapMode doesn't have - thus, pango_wrap_mode_to_string() will assert. As far as I can tell, Orca does not read the wrap-mode key in the dictionary for text attributes, anyway. Fixes: #4869
* | | Merge branch 'wip/exalm/eye-icons' into 'main'Matthias Clasen2022-05-0310-34/+13
|\ \ \ | | | | | | | | | | | | | | | | icons: Use the proper eye icons See merge request GNOME/gtk!4663
| * | | icons: Use the proper eye iconsAlexander Mikhaylenko2022-04-2210-34/+13
| | | | | | | | | | | | | | | | | | | | | | | | adwaita-icon-theme has more appropriate icons for showing/hiding text now. use those, and in the process fix the fact GtkPasswordEntry has been using them the other way around.