summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update (or drop) the Docker image used by Flatpak jobbarthalion/gnome-runtime-images-quayBartłomiej Piotrowski2022-07-271-1/+0
| | | | | | The gnome-runtime-images have been recently migrated to Quay. This is already reflected in the template. Please note this MR has been created semi-automatically. If it doesn't make sense, feel free to close it.
* Merge branch 'lean-identifiers' into 'master'Christian Hergert2022-07-262-4/+15
|\ | | | | | | | | lean.lang: fix highlighting of identifiers See merge request GNOME/gtksourceview!275
| * lean.lang: add the partial keywordElias Aebi2022-07-261-0/+1
| |
| * lean.lang: fix highlighting of identifiersElias Aebi2022-07-262-4/+14
|/
* build: fix CI warning/errorChristian Hergert2022-07-241-2/+1
|
* sourceview: improve input-method detection for indenterswip/chergert/fix-custom-indentersChristian Hergert2022-07-241-16/+40
| | | | | | | | | | | | | This attempts to improve the situation where we need to detect if an input method filtered our keypress but really inserted what we expected it to. This can happen with ibus over wayland stealing input like > or / and marking it filtered (but going through "commit-text"). To make this work, we have to introspect a bit more by trying to convert our keyval to a unicode character, and then checking equality with what was just inserted at the previous character. Fixes #282
* Add Georgian translationZurab Kargareteli2022-07-232-0/+775
|
* snippets: avoid inflation of snippetsChristian Hergert2022-07-223-145/+160
| | | | | | | | | | | This avoids inflating GtkSourceSnippet until the snippet is activated. That saves a bunch of parsing while searching, but also allows us to handle much larger snippet sets. We now use strstr() to find a matchin substring to match. Additionally, we use GtkCustomFilter which can properly re-use existing search state instead of starting from scratch on each keypress.
* gtksourcesnippetbundle: add private API to use snippet infoChristian Hergert2022-07-222-24/+50
| | | | | | | Instead of forcing through the inflation of GtkSourceSnippet, we can often use info's directly to avoid the extra memory/parsing overhead. We want to use this from the snippet completion in particular.
* snippets: ensure final chunk is included in snippet outputChristian Hergert2022-07-222-0/+34
| | | | | | | We need to flush out any pending snippet text when parsing from strings or we risk loosing the final chunk. Fixes #252
* testsuite: check for NULL before usageChristian Hergert2022-07-221-3/+3
|
* snippets: fix debug code within #if 0Christian Hergert2022-07-221-1/+1
|
* Post-release version bumpChristian Hergert2022-07-111-1/+1
|
* Release GtkSourceView 5.5.05.5.0Christian Hergert2022-07-111-0/+17
|
* hover: don't show assistant if hover display is emptyChristian Hergert2022-07-113-3/+13
|
* hover: return focus to view when dismissingChristian Hergert2022-07-111-0/+13
| | | | But only if the hover assistant contains the current focus.
* hover: fix positioning of assistantsChristian Hergert2022-07-111-7/+0
| | | | This was changed to be buffer coordinates and should be replicated here.
* build: fix deprecated set10() usageChristian Hergert2022-06-301-5/+5
| | | | These need to be booleans rather than integers.
* Merge remote-tracking branch 'origin/meson-0.60-deps'Christian Hergert2022-06-302-2/+13
|\
| * build: Look for Vulkanmeson-0.60-depsChun-wei Fan2022-06-272-0/+10
| | | | | | | | | | | | | | | | | | | | | | ...and include it in core_deps if it was not found via pkg-config. The reason for this update is because we have no way to find out from the Gtk4 dependency whether Vulkan is enabled for Gtk4, and so neglect to include the header dir from the Vulkan SDK, which will break the build, unless Vulkan was found via pkg-config when building Gtk4. If Vulkan was found in ways other than pkg-config, include it as a dependency of core_deps so that the build can find its headers.
| * meson.build: Look for libxml2 via CMake tooChun-wei Fan2022-06-271-1/+2
| | | | | | | | | | | | | | Use the Meson 0.60.0 new feature to look for both the libxml-2.0 pkg-config file and then the CMake LibXml2 name so that CMake will try to find the libxml2 headers and libraries manually, before using the fallback libxml2 build, which is sadly quite a bit older than the current libxml2 release.
| * build: Require Meson 0.60.0 or laterChun-wei Fan2022-06-271-1/+1
| | | | | | | | | | We want to use multiple dependency string searches for libxml2, beyond using the existing pkg-config method to try also using CMake.
* | build: track meson_options.txt changesChristian Hergert2022-06-301-1/+1
| |
* | Merge branch 'hacking-typo' into 'master'Christian Hergert2022-06-301-1/+1
|\ \ | |/ |/| | | | | doc: correct typo in HACKING See merge request GNOME/gtksourceview!271
| * doc: correct typo in HACKINGErik Faye-Lund2022-06-301-1/+1
|/
* Update POTFILES.skipPiotr Drąg2022-06-251-0/+1
|
* tests: add syntax example for twigChristian Hergert2022-06-241-0/+23
| | | | This comes from some examples on https://twig.symfony.com/
* Merge branch 'gerryd/gtksourceview-feature/langspec-twig'Christian Hergert2022-06-241-0/+346
|\
| * twig.lang: add twig language specGerry Demaret2022-06-241-0/+346
|/
* testsuite: give language id on test failureChristian Hergert2022-06-241-4/+12
| | | | | | If we discover a language and expected NULL, it is handy to see what language failed from the CI runner so that we can easily point to it from merge requests.
* Merge branch 'win32-readme' into 'master'Christian Hergert2022-06-242-69/+72
|\ | | | | | | | | README.win32: Update info and use MarkDown See merge request GNOME/gtksourceview!268
| * README.win32.md: Use UNIX line endingsChun-wei Fan2022-06-241-19/+19
| | | | | | | | | | | | It is not that important to keep this file in Windows CR/LF line endings anymore, so use UNIX line endings to be consistent with the rest of the files here.
| * README.win32.md: Add info on ARM64 Windows buildsChun-wei Fan2022-06-241-1/+4
| |
| * README.win32: Convert to MarkDownChun-wei Fan2022-06-242-59/+69
| | | | | | | | This makes the formatting more pleasing to the eye in a web browser.
| * README.win32: Update build informationChun-wei Fan2022-06-241-20/+10
|/ | | | | Update the info in here to build gtksourceview-5.x. The info here in this file dated back to the 4.x days.
* Merge branch 'msvc-meson-cleanups' into 'master'Christian Hergert2022-06-244-73/+5
|\ | | | | | | | | Cleanups and fixes for Visual Studio builds See merge request GNOME/gtksourceview!269
| * test-snippets.c: Fix build on Visual StudioChun-wei Fan2022-06-241-1/+3
| | | | | | | | | | | | | | There is sadly no support for g_autoptr() on Visual Studio at this time. Hopefully things will change if Jussi's proposal gets accepted eventually[1]. [1]: https://developercommunity.visualstudio.com/t/add-support-for-gcc-like-cleanup-attribute-for-pla/1187001
| * tests/meson.build: Clean up for Visual Studio buildsChun-wei Fan2022-06-241-3/+0
| | | | | | | | | | | | We do not need to include core_dep here, since Meson nowadays have much better support for `link_whole:` for Visual Studio, and it's been decently- support for a much longer time for Visual Studio 2015 Update 2.
| * gtksourceview/meson.build: Clean up for MSVCChun-wei Fan2022-06-242-69/+2
|/ | | | | | | | We already require a C99 compiler for gtksourceview-5.x (i.e. Visual Studio 2015 or later), so there is no need to include a fallback math.h instead of the math.h that comes with Visual Studio or the Windows SDK. We can drop the msvc subdir as a result, and clean up the build files a bit.
* vim: fix code example for GtkSourceVimIMContextChristian Hergert2022-06-211-2/+3
|
* NEWS: update NEWS from gtksourceview-5-4 branchChristian Hergert2022-06-121-0/+59
| | | | | It is nice to have the NEWS included on the primary development branch as well so we can go back and look through them.
* AUTHORS: move Sébastien Wilmet to Active AuthorsChristian Hergert2022-06-121-1/+1
|
* map: protect against spurious adjustment notificationsChristian Hergert2022-06-111-6/+24
| | | | | | Sometimes GtkTextView will cause us to get notifications when things didn't really change. This protects against that with a cached value so that we can more readiliy avoid extraneous size allocations.
* completion: fix typoChristian Hergert2022-06-111-1/+1
|
* completion: avoid updates before visible rowChristian Hergert2022-06-111-2/+7
| | | | But only when the offset will not change (added == removed).
* completion: protect against spinning while doing updatesChristian Hergert2022-06-111-1/+13
| | | | | This turns out to happen more than anticipated, and could cause us to get into a situation where we loose allocations on the source view.
* completion: hide before clearing valuesChristian Hergert2022-06-111-1/+1
| | | | This just results in doing less work while the widget is already hidden.
* completion: space cleanupChristian Hergert2022-06-111-6/+6
|
* Merge branch 'wip/swilmet/co-maintainer' into 'master'Christian Hergert2022-06-051-0/+7
|\ | | | | | | | | doap: become again a co-maintainer See merge request GNOME/gtksourceview!262
| * doap: become again a co-maintainerSébastien Wilmet2022-06-051-0/+7
|/ | | | | | | | I've discussed things with Christian by email, and I think we've resolved the frustrations that I had in the past. Sorry for all the situation. At first I would like to focus more on GSV 4 (so for GTK 3).