summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* treemodelfilter: Drop unreachable codepvs-fixesMatthias Clasen2021-02-041-3/+0
| | | | | | We never get here. The compiler says so. Pointed out in https://www.viva64.com/en/b/0793/
* css: Drop a bit of unreachable codeMatthias Clasen2021-02-041-4/+1
| | | | | | We never get here. The compiler says so. Pointed out in https://www.viva64.com/en/b/0793/
* a11y: Avoid out-of-bounds accessMatthias Clasen2021-02-041-6/+2
| | | | | | Don't use the index before we've checked its good. Pointed out in https://www.viva64.com/en/b/0793/
* gdk: Remove a redundant checkMatthias Clasen2021-02-041-1/+1
| | | | | | We already know desktop_notification_id is not NULL. Pointed out in https://www.viva64.com/en/b/0793/
* messagedialog: Don't initialize twiceMatthias Clasen2021-02-041-2/+0
| | | | | | We don't need to set these fields more than once. Pointed out in https://www.viva64.com/en/b/0793/
* composetable: Remove a redundant checkMatthias Clasen2021-02-041-1/+1
| | | | | | We already know seq_index is not NULL here. Pointed out in https://www.viva64.com/en/b/0793/
* x11: A case of argument order confusionMatthias Clasen2021-02-041-1/+1
| | | | | | | translate_keysym was expecting its arguments the other way around. Pointed out in https://www.viva64.com/en/b/0793/
* textbtree: Avoid line vs char count confusionMatthias Clasen2021-02-041-2/+2
| | | | | | | The post_insert_fixup helper function was confused about its argument order. Pointed out in https://www.viva64.com/en/b/0793/
* listbase: Don't specify the same thing twiceMatthias Clasen2021-02-041-1/+1
| | | | | | We only need to set EXPLICIT_NOTIFY once. Pointed out in https://www.viva64.com/en/b/0793/
* css: Fix border value parsingMatthias Clasen2021-02-041-1/+1
| | | | | | | This function was not resetting computed as it meant to because the last loop was never executed. Pointed out in https://www.viva64.com/en/b/0793/
* vulkan: Fix image uploading by regionsMatthias Clasen2021-02-041-1/+1
| | | | | | | This code did not make sense; it was incrementing the wrong variable. Pointed out in https://www.viva64.com/en/b/0793/
* Merge branch 'wip/jimmac/colored-list-image-buttons' into 'master'Matthias Clasen2021-02-041-0/+8
|\ | | | | | | | | | | | | Adwaita: allow suggested and destructive action buttons in lists Closes #3643 See merge request GNOME/gtk!3153
| * Adwaita: allow suggested and destructive action buttons in listswip/jimmac/colored-list-image-buttonsJakub Steiner2021-02-031-0/+8
| | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3643
* | Merge branch 'ebassi/for-master' into 'master'Matthias Clasen2021-02-041-6/+6
|\ \ | |/ |/| | | | | Graphene is a dependency of Gsk, not Gdk See merge request GNOME/gtk!3149
| * Graphene is a dependency of Gsk, not GdkEmmanuele Bassi2021-02-031-6/+6
| | | | | | | | So let's put it in the right place when building the introspection data.
* | Merge branch 'x11-dnd-fix' into 'master'Matthias Clasen2021-02-031-5/+46
|\ \ | | | | | | | | | | | | | | | | | | x11: Handle X-specific targets in drops Closes #3642 See merge request GNOME/gtk!3151
| * | x11: Handle X-specific targets in dropsx11-dnd-fixMatthias Clasen2021-02-031-5/+46
|/ / | | | | | | | | | | | | This code is very similar to the handling for these targets in the clipboard case. Fixes: #3642
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-032-2/+182
|\ \ | |/ |/| | | | | Matthiasc/for master See merge request GNOME/gtk!3150
| * Link the data url tests staticallyMatthias Clasen2021-02-031-2/+2
| | | | | | | | Thats the cleaner way to test internal apis.
| * Add tests for css value transitionsMatthias Clasen2021-02-032-0/+180
|/ | | | | Just a few cases for now, enough to test a recently fixed regression with shadow transitions.
* Merge branch 'uac.meson.master' into 'master'Chun-wei Fan2021-02-032-1/+134
|\ | | | | | | | | | | | | gtk4-update-icon-cache: Avoid UAC on 32-bit Windows Closes #3632 See merge request GNOME/gtk!3141
| * gtk4-update-icon-cache: Avoid UAC on 32-bit WindowsChun-wei Fan2021-02-032-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the program executable name has 'update' in its filename, gtk4-update-icon-cache.exe is considered to be an installer program on 32-bit Windows [1], which will cause the program to fail to run unless it is running with elevated privileges (i.e. UAC). Avoid this situation by embedding a manifest file into the final executable that tells Windows that this is not a program that requires elevation. Fixes issue #3632. [1]: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc709628(v=ws.10)?redirectedfrom=MSDN, under section "Installer Detection Technology"
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-031-3/+0
|\ \ | | | | | | | | | | | | css: Allow transitioning different-size shadows See merge request GNOME/gtk!3145
| * | css: Allow transitioning different-size shadowsMatthias Clasen2021-02-021-3/+0
|/ / | | | | | | | | The code handles it just fine. The length check was an erronous addition.
* | Merge branch 'im-context-work' into 'master'Matthias Clasen2021-02-0223-693/+1086
|\ \ | | | | | | | | | | | | | | | | | | Some im context work Closes #1004, #186, and #3521 See merge request GNOME/gtk!3143
| * | composetable: Parse hex escapes tooMatthias Clasen2021-02-024-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was a small omission from the Compose file syntax that doesn't cost us much to support. Add a test for this syntax too. Fixes: #1004
| * | Add tests for string valuesMatthias Clasen2021-02-023-4/+54
| | | | | | | | | | | | | | | Add a test that checks we parse values with multiple characters correctly.
| * | composetable: Support string values in the cacheMatthias Clasen2021-02-021-47/+39
| | | | | | | | | | | | | | | Change the cache format to include the character data that we need to hold string values in the table.
| * | composetable: Don't use GSlice for big blobsMatthias Clasen2021-02-021-3/+3
| | | | | | | | | | | | | | | This just doesn't make sense. This will use malloc anyway, so just call malloc directly.
| * | composetable: Keep multi-char valuesMatthias Clasen2021-02-022-8/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Keep string values in the table, and return them from the check function. This commit temporarily disables the table caching, since the cache format does not handle string values yet. Fixes: #186
| * | composetable: Parse multi-char valuesMatthias Clasen2021-02-021-45/+37
| | | | | | | | | | | | | | | Rewrite the value parsing function to accept strings that hold more than a single Unicode character.
| * | composetable: Another step towards multi-char valuesMatthias Clasen2021-02-021-19/+25
| | | | | | | | | | | | | | | | | | Change the parser data structures to hold a string, rather than a gunichar. We still only put a single Unicode character into it, currently.
| * | composetable: Prepare for multi character valuesMatthias Clasen2021-02-023-16/+25
| | | | | | | | | | | | | | | | | | | | | Make it possible for gtk_compose_table_check to return a string instead of just a single Unicode character. Currently, we only ever return strings holding a single character, still.
| * | imcontext: Prepare for multi-char valuesMatthias Clasen2021-02-011-46/+63
| | | | | | | | | | | | | | | | | | Reshuffle things so we can easily handle values that are strings instead of just single Unicode characters.
| * | composetable: Check algorithmic matchingMatthias Clasen2021-02-011-0/+46
| | | | | | | | | | | | | | | Just some spot checks, enough to verify the fix in the previous commit.
| * | composetable: Fix algorithmic matchingMatthias Clasen2021-02-011-3/+3
| | | | | | | | | | | | | | | The code wasn't paying attention to (lack of) nul-termination in one place, causing it to not match when it should.
| * | composetable: Add tests for compact table matchingMatthias Clasen2021-02-011-0/+47
| | | | | | | | | | | | Not very exhaustive, just some spot checks.
| * | imcontext: Code cleanupMatthias Clasen2021-02-011-52/+28
| | | | | | | | | | | | Get rid of auxiliary check_table function.
| * | imcontext: Move code aroundMatthias Clasen2021-02-014-373/+322
| | | | | | | | | | | | | | | Move all the checking code to gtkcomposetable.c, and add api that we can use in tests.
| * | composetable: Add tests for matchingMatthias Clasen2021-02-012-0/+71
| | | | | | | | | | | | | | | This tests the api we use to match key sequences against compose tables.
| * | imcontext: Use gtk_compose_table_checkMatthias Clasen2021-02-011-59/+24
| | | | | | | | | | | | Use the just-introduced api.
| * | composetable: Add api to check tablesMatthias Clasen2021-02-012-7/+117
| | | | | | | | | | | | | | | This copies the check_table code from gtkimcontextsimple.c, in order to have an api for tests.
| * | Add tests for GtkComposeTableMatthias Clasen2021-02-0112-0/+144
| | | | | | | | | | | | | | | | | | Add some tests for the code that parses Compose files. This tests the fix in the previous commit.
| * | composetable: Drop table debug codeMatthias Clasen2021-02-011-58/+0
| | | | | | | | | | | | This is better off in the tests that we are going to add.
| * | composetable: Parser fixesMatthias Clasen2021-02-011-6/+18
| | | | | | | | | | | | We were not handling octal escapes right.
| * | imcontext: Drop GTK_MAX_COMPOSE_LENMatthias Clasen2021-02-013-7/+3
| | | | | | | | | | | | | | | | | | | | | Drop GTK_MAX_COMPOSE_LEN from docs. It is no longer used by GTK at all. We leave the define in place for now, to avoid breaking 3rd party code that might use it.
| * | composetable: Warn when ignoring thingsMatthias Clasen2021-02-011-1/+4
| | | | | | | | | | | | | | | We should at least give a hint that we've seen the line, otherwise people will wonder why nothing happened.
| * | composetable: parse long sequencesMatthias Clasen2021-02-011-11/+16
| | | | | | | | | | | | | | | | | | Allow compose sequences of up to 20 code points. Fixes: #3521
| * | composetable: Fix an off-by-oneMatthias Clasen2021-02-011-2/+2
| | | | | | | | | | | | | | | Fix an off-by-one in the code parsing octal escapes in compose files.
| * | imcontext: Stop using GTK_MAX_COMPOSE_LENMatthias Clasen2021-02-011-22/+44
| | | | | | | | | | | | | | | Allocate the compose_buffer, and resize it when needed to match the tables we use.