summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* passwordentry: Add an ::activate signalpassword-entry-activateMatthias Clasen2020-09-192-0/+25
| | | | | | | GtkSearchEntry has one, no reason why GtkPasswordEntry should not as well. Fixes: #3174
* passwordentry: Drop the Private structMatthias Clasen2020-09-192-109/+81
|
* NEWS: UpdatesMatthias Clasen2020-09-191-3/+28
|
* Merge branch 'wip/baedert/radial-gradient' into 'master'Matthias Clasen2020-09-1924-87/+921
|\ | | | | | | | | | | | | Radial gradients Closes #2262, #3170, and #3173 See merge request GNOME/gtk!2597
| * cssimageradial: Avoid creating color stops with an offset > 1Timm Bäder2020-09-191-1/+1
| |
| * scrolledwindow: Ignore captured motion events if no child is setTimm Bäder2020-09-191-0/+3
| | | | | | | | Fixes #3173
| * rendernodes: Clarify color_stops argumentsTimm Bäder2020-09-181-0/+8
| |
| * gsk: Add docs for radial gradient nodesTimm Bäder2020-09-182-0/+45
| |
| * rendernodes: Enfore end > start for radial gradient nodesTimm Bäder2020-09-181-0/+2
| |
| * gl renderer: Consolidate color pre-multiplicationTimm Bäder2020-09-187-34/+19
| | | | | | | | | | | | | | Add a common function that tells us what it does and replace all the manual stuff with it. Fixes #3170
| * gl renderer: Add radial gradient shaderTimm Bäder2020-09-188-19/+235
| |
| * rendernode: Pull local variable into closest scopeTimm Bäder2020-09-181-1/+2
| |
| * Inspector: Show radial gradient node infoTimm Bäder2020-09-181-1/+42
| |
| * gl renderer: Set an error if we don't have one alreadyTimm Bäder2020-09-181-0/+4
| | | | | | | | We can't fail and not set the error, since caller don't expect that.
| * radial gradients: Allow 0 start/end valuesTimm Bäder2020-09-182-5/+5
| |
| * gsk: Parse radial gradient nodesTimm Bäder2020-09-181-0/+59
| |
| * css: switch to h/vradiusMatthias Clasen2020-09-181-22/+14
| |
| * snapshot: switch to h/vradiusMatthias Clasen2020-09-182-12/+12
| |
| * rendernode: switch to h/vradiusMatthias Clasen2020-09-183-65/+42
| |
| * css: Use snapshot api for radial gradientsMatthias Clasen2020-09-181-37/+30
| |
| * snapshot: Add api for radial gradientsMatthias Clasen2020-09-182-0/+96
| | | | | | | | These are the equivalents of the linear gradient apis.
| * gsk: Add a radial gradient nodeMatthias Clasen2020-09-187-0/+412
| | | | | | | | | | | | Only a fallback implementation for now. Fixes #2262
* | Merge branch 'wip/fontchooser-language-filtering' into 'master'Matthias Clasen2020-09-193-9/+378
|\ \ | | | | | | | | | | | | fontchooser: add language filtering See merge request GNOME/gtk!2551
| * | fontchooser: Remove signal handlers in disposewip/fontchooser-language-filteringMatthias Clasen2020-09-191-0/+3
| | | | | | | | | | | | | | | Avoid ordering issues in dispose by disconnecting the rows_changed_cb handler first thing.
| * | fontchooser: Don't show "No fonts" prematurelyMatthias Clasen2020-09-192-1/+3
| | | | | | | | | | | | | | | Don't switch to the empty page while we are still busy filtering. Fonts might yet appear.
| * | fontchooser: Use filter language for sample textMatthias Clasen2020-09-191-0/+7
| | | | | | | | | | | | | | | | | | When you are asking to only see fonts that support a given language, you probably want to see the sample text for that language too.
| * | fontchooser: Add user filteringMatthias Clasen2020-09-192-8/+348
| | | | | | | | | | | | | | | Add a popover that has filtering options. As a start, allow filtering by monospace and by language coverage.
| * | Improve language namesMatthias Clasen2020-09-191-0/+17
| | | | | | | | | | | | | | | Shorten a few of the names we pick up by removing parentheses that make them excessively long.
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-09-191-4/+4
|\ \ \ | |/ / |/| | | | | | | | win32: Fix compiler warnings See merge request GNOME/gtk!2596
| * | win32: Fix compiler warningsMatthias Clasen2020-09-191-4/+4
| | | | | | | | | | | | | | | The compiler informs me that GetLastError() return a DWORD, so use %lx to print it.
* | | Merge branch 'font-chooser-sample-text' into 'master'Matthias Clasen2020-09-193-3/+131
|\ \ \ | |/ / |/| | | | | | | | fontchooser: Determine sample text intelligently See merge request GNOME/gtk!2546
| * | Try one more time to fix win32 ciMatthias Clasen2020-09-192-2/+2
| | |
| * | fontchooser: Determine sample text intelligentlyMatthias Clasen2020-09-182-2/+130
| |/ | | | | | | | | | | | | | | | | Look at the languages supported by a font, and pick a suitable sample text from the pango list of sample texts. We can only implement this on platforms using fontconfig, since it relies on pangofc apis. This bumps the pango dependency to 1.47.1.
* | Update British English translationZander Brown2020-09-191-469/+439
|/
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-09-183-12/+24
|\ | | | | | | | | gtk-demo: Cosmetic changes See merge request GNOME/gtk!2590
| * gtk-demo: Cosmetic changesMatthias Clasen2020-09-173-12/+24
|/ | | | Polish the text view demos a little bit.
* Merge branch 'language-names-GError-fixes' into 'master'Matthias Clasen2020-09-171-7/+11
|\ | | | | | | | | Language names g error fixes See merge request GNOME/gtk!2589
| * language-names: Do not g_free() a GErrorPeter Bloomfield2020-09-171-7/+11
|/ | | | | It's NULL anyway, so freeing GError with g_free() when it's allocated with GSlice never actually happens, but it just looks bad.
* Merge branch 'wip/wayland-respond-to-configure' into 'master'Matthias Clasen2020-09-175-35/+34
|\ | | | | | | | | | | | | Make sure to respond to configure events in time Closes #2910 See merge request GNOME/gtk!2588
| * wayland/surface: Make sure to commit ack_configureJonas Ådahl2020-09-175-0/+23
| | | | | | | | | | | | | | | | | | We must wl_surface.commit after xdg_surface.ack_configure to make it have an effect. We failed to do so when a configure event didn't result in new updates, so make sure we fall back on an simple wl_surface.commit if there was no new actual frame painted. Closes: #2910
| * wayland: Commit surface from cairo contextJonas Ådahl2020-09-173-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make the cairo renderer/context behave more similar to how the OpenGL and Vulkan renderer/context behaves, request a frame callback and commit in the end frame vfunc. This means the end frame vfunc in cairo does * attach buffer * request frame callback * sync surface state * commit Where as e.g. the OpenGL version of the same flow does * attach buffer * request frame callback * sync surface state * eglSwapBuffers() where eglSwapBuffers() indirectly calls wl_surface_commit().
| * wayland/surface: Remove 'committed' signalJonas Ådahl2020-09-171-17/+0
| | | | | | | | It wasn't used by anything anymore, lets remove it.
* | Update Croatian translationGoran Vidović2020-09-171-3265/+3637
|/ | | | (cherry picked from commit 1c07a20ca4345a37fd0e3ab1395581cb396f810c)
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-09-175-28/+125
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2587
| * gtk-demo: Fix toggle- vs checkbutton confusionMatthias Clasen2020-09-161-2/+2
| |
| * gtk-demo: Beef up the hypertext demoMatthias Clasen2020-09-161-22/+117
| | | | | | | | Its almost a dictionary.
| * textview: Properly delete anchored childrenMatthias Clasen2020-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | When we remove anchors with widgets from the text buffer, we used to call gtk_widget_destroy(), which indirectly called gtk_container_remove() which cleared the child properly. When gtk_widget_destroy() was removed, we replaced the calls with gtk_widget_unparent(), but that is not enough. Explicitly call gtk_text_view_remove() instead - we know the parent is a text view.
| * textview: Make clickable tags work againMatthias Clasen2020-09-161-2/+2
| | | | | | | | | | We were claiming the clicks too eagerly, preventing clickable links, e.g. in GtkAboutDialog, from working.
| * Plug a memory leak in an error caseMatthias Clasen2020-09-161-0/+2
|/ | | | | | | gtk_show_uri() not freeing the error after showing it to the user. Pointed out by Peter Bloomfield in #3166
* Merge branch 'wip/sadiq/headerbar-demo' into 'master'Matthias Clasen2020-09-161-0/+1
|\ | | | | | | | | gtk-demo: Add a switch to headerbar demo See merge request GNOME/gtk!2571