summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* label: Fix markup parsing interactionslabel-mnemonic-fixMatthias Clasen2021-03-023-142/+309
| | | | | | | | | | | | We were not handling mnemonics vs markup right in all cases. Rewrite the _-stripping code to do it during the link parsing, instead of as a separate function. This avoids the issue of stripping _ from attribute names in markup. Add tests. Fixes: 3706
* Merge branch 'fix-glyph-serialization' into 'master'Matthias Clasen2021-03-021-1/+12
|\ | | | | | | | | | | | | rendernode: Fix glyph serialization Closes #3710 See merge request GNOME/gtk!3248
| * rendernode: Fix glyph serializationfix-glyph-serializationMatthias Clasen2021-03-021-1/+12
|/ | | | | | | We serializing to a string of ASCII, we need to escape some chars, such as '\' and '"'. Fixes: #3710
* Update Kazakh translationBaurzhan Muftakhidinov2021-03-021-782/+1465
| | | | (cherry picked from commit 62e9dff5361a805ac73ac7312791e090d3280399)
* Merge branch 'wip/chergert/fix-ngl-gles' into 'master'Matthias Clasen2021-03-021-2/+2
|\ | | | | | | | | ngl: fix typo from NGL rename See merge request GNOME/gtk!3246
| * ngl: fix typo from NGL renamewip/chergert/fix-ngl-glesChristian Hergert2021-03-011-2/+2
|/
* Merge branch 'submodules' into 'master'Matthias Clasen2021-03-011-1/+3
|\ | | | | | | | | Allow GTK4 to be added as a subproject See merge request GNOME/gtk!3242
| * Allow GTK4 to be added as a subprojectBogDan Vatra2021-02-261-1/+3
| |
* | Merge branch 'broadway-guint32' into 'master'Matthias Clasen2021-02-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | broadway: Restore guint32 type for memory size Closes #3702 See merge request GNOME/gtk!3244
| * | broadway: Restore guint32 type for memory sizeRafał Dzięgiel2021-02-271-1/+1
|/ / | | | | | | | | | | guint32 is used as part of the protocol in broadway backend. Memory size declared with it was mistakenly replaced with size_t type which does not guarantee being 32bit on all platforms, leading to a crash.
* | Update Finnish translationJiri Grönroos2021-02-261-5337/+6589
|/ | | | (cherry picked from commit 3cb5a831e386bd26adba9089b09c200d2d38ea8a)
* Update Turkish translationEmin Tufan Çetin2021-02-251-17/+17
|
* Update Turkish translationEmin Tufan Çetin2021-02-251-21/+20
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-251-99/+133
|\ | | | | | | | | imcontext: Fixes to the state machine See merge request GNOME/gtk!3238
| * imcontext: Fixes to the state machineMatthias Clasen2021-02-241-99/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that we we were sometimes emitting preedit-end multiple times, and sometimes not at all. Same for preedit-start. To fix this up, introduce a in_compose_sequence flag, maintain it, and use it in the right places. After these changes, both C-S-u 1 2 3 Enter Compose a e generate the right signals: preedit-start, preedit-changed,..., preedit-end, commit
* | Merge branch 'wip/carlosg/touchpad-gesture-devices' into 'master'Matthias Clasen2021-02-251-2/+2
|\ \ | | | | | | | | | | | | gdk/wayland: Assign logical pointer to touchpad gesture events See merge request GNOME/gtk!3240
| * | gdk/wayland: Assign logical pointer to touchpad gesture eventsCarlos Garnacho2021-02-251-2/+2
| | | | | | | | | | | | | | | | | | These events don't make sense on physical devices (for starters, they are relative to the logical pointer position). Use this device for those events, also happens to be what the upper parts expect of them.
* | | Update Finnish translationJiri Grönroos2021-02-251-2670/+5289
|/ / | | | | | | (cherry picked from commit 0fd0b00ec9b5a886d37529b1018996c966fdd48f)
* | Merge branch 'bilelmoussaoui/gdk-draw-context' into 'master'Matthias Clasen2021-02-241-1/+0
|\ \ | |/ |/| | | | | gdk: drop the latest mention of DrawingContext See merge request GNOME/gtk!3232
| * gdk: drop the latest mention of DrawingContextBilal Elmoussaoui2021-02-221-1/+0
| |
* | Merge branch 'wip/carlosg/mark-settings-valid-again' into 'master'Carlos Garnacho2021-02-241-0/+1
|\ \ | | | | | | | | | | | | gdk/wayland: Make more matched settings from the portal as valid See merge request GNOME/gtk!3236
| * | gdk/wayland: Make more matched settings from the portal as validCarlos Garnacho2021-02-241-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | Commit 97b5fad1315 was a forward port from a gtk3 patch, but the hunk was applied on the wrong bits of code. Ensure the initialization paths also do mark settings read from the portal as valid, so the checks for optional/newer settings actually have the expected result. It is also desirable to mark settings as valid after configuration changes (as that patch did effectively do), but not enough to fix all situations.
* | 4.1.14.1.1Matthias Clasen2021-02-232-1/+60
| |
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-241-4/+0
|\ \ | | | | | | | | | | | | composetable: Remove some redundant code See merge request GNOME/gtk!3234
| * | composetable: Remove some redundant codeMatthias Clasen2021-02-231-4/+0
| | | | | | | | | | | | Pointed out by Peter Bloomfield.
* | | Merge branch 'wip/chergert/glproto' into 'master'Matthias Clasen2021-02-2440-3/+12428
|\ \ \ | | | | | | | | | | | | | | | | gsk: add OpenGL based GskNglRenderer See merge request GNOME/gtk!3225
| * | | inspector: Fix a typoMatthias Clasen2021-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | When selecting the "ngl" renderer, the inspector was saying Renderer: Unknown, due to a typo. Fix that.
| * | | gsk: Replace a last instance of "next"Matthias Clasen2021-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | The output of GSK_RENDERER=help was still talking about the "next" renderer, while actually looking for "ngl".
| * | | gsk: add OpenGL based GskNglRendererChristian Hergert2021-02-2340-3/+12428
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary goal here was to cleanup the current GL renderer to make maintenance easier going forward. Furthermore, it tracks state to allow us to implement more advanced renderer features going forward. Reordering This renderer will reorder batches by render target to reduce the number of times render targets are changed. In the future, we could also reorder by program within the render target if we can determine that vertices do not overlap. Uniform Snapshots To allow for reordering of batches all uniforms need to be tracked for the programs. This allows us to create the full uniform state when the batch has been moved into a new position. Some care was taken as it can be performance sensitive. Attachment Snapshots Similar to uniform snapshots, we need to know all of the texture attachments so that we can rebind them when necessary. Render Jobs To help isolate the process of creating GL commands from the renderer abstraction a render job abstraction was added. This could be extended in the future if we decided to do tiling. Command Queue Render jobs create batches using the command queue. The command queue will snapshot uniform and attachment state so that it can reorder batches right before executing them. Currently, the only reordering done is to ensure that we only visit each render target once. We could extend this by tracking vertices, attachments, and others. This code currently uses an inline array helper to reduce overhead from GArray which was showing up on profiles. It could be changed to use GdkArray without too much work, but had roughly double the instructions. Cycle counts have not yet been determined. GLSL Programs This was simplified to use XMACROS so that we can just extend one file (gskglprograms.defs) instead of multiple places. The programs are added as fields in the driver for easy access. Driver The driver manages textures, render targets, access to atlases, programs, and more. There is one driver per display, by using the shared GL context. Some work could be done here to batch uploads so that we make fewer calls to upload when sending icon theme data to the GPU. We'd need to keep a copy of the atlas data for such purposes.
* | | Updated Galician translationsFran Dieguez2021-02-241-350/+213
|/ /
* | Updated Danish translation of gtk-propertiesAsk Hjorth Larsen2021-02-231-7867/+7796
| |
* | Updated Danish translationAsk Hjorth Larsen2021-02-231-7872/+8009
|/
* Merge branch 'compose-warning' into 'master'Matthias Clasen2021-02-221-7/+1
|\ | | | | | | | | imcontext: Take out the warnings See merge request GNOME/gtk!3230
| * imcontext: Take out the warningsMatthias Clasen2021-02-221-7/+1
|/ | | | | | | Don't warn about Compose file constructs we don't support. We haven't supported these for a long time, and nobody has every complained. No need to wake up sleeping dogs.
* Merge branch 'SilverRainZ-master-patch-42810' into 'master'Timm Bäder2021-02-221-1/+1
|\ | | | | | | | | gtk-demo: Fix typo GtkKabel -> GtkLabel See merge request GNOME/gtk!3229
| * gtk-demo: Fix typo GtkKabel -> GtkLabelShengyu Zhang2021-02-211-1/+1
| |
* | Update Turkish translationEmin Tufan Çetin2021-02-211-975/+1693
| |
* | Update Turkish translationEmin Tufan Çetin2021-02-211-8/+8
| |
* | Update Turkish translationEmin Tufan Çetin2021-02-211-1529/+1511
|/
* Update POTFILES.inPiotr Drąg2021-02-212-0/+4
|
* Merge branch 'wip/chergert/macos-gl-opaque-context' into 'master'Matthias Clasen2021-02-203-1/+42
|\ | | | | | | | | macos: make OpenGL context opaque when possible See merge request GNOME/gtk!3226
| * macos: make OpenGL context opaque when possiblewip/chergert/macos-gl-opaque-contextChristian Hergert2021-02-193-1/+42
| | | | | | | | | | | | | | If our opaque region is the entire surface, then we can make the OpenGL context opaque like we do for decorated windows. This improves performance as the compositor does not need to blend the surface with the contents behind the window.
* | Merge branch 'wip/chergert/fix-macos-resizing' into 'master'Matthias Clasen2021-02-202-11/+18
|\ \ | |/ |/| | | | | macos: fix resizing of resizable windows on macOS See merge request GNOME/gtk!3227
| * macos: fix resizing of resizable windows on macOSChristian Hergert2021-02-192-11/+18
|/
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-193-12/+14
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!3224
| * gtk-demo: Make --version match aboutMatthias Clasen2021-02-181-4/+4
| | | | | | | | | | Print the same version information in --version that we show in the about dialog.
| * widget-factory: Make --version match aboutMatthias Clasen2021-02-181-4/+4
| | | | | | | | | | Print the same version information in --version that we show in the about dialog.
| * imwayland: Be careful about cursor positionsMatthias Clasen2021-02-181-4/+6
| | | | | | | | | | | | We don't want to hand out cursor positions based on the original preedit text and then tweak the text to be different.
* | Update British English translationZander Brown2021-02-191-1563/+1423
| | | | | | | | (cherry picked from commit 1f18d2638f5b43ead535f75ae5dfad959fe831f1)
* | Update British English translationZander Brown2021-02-191-214/+236
|/ | | | (cherry picked from commit 6f263318648f35ee00e46d89c66975539de21ae7)