summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* NEWS: truncate old NEWSChristian Hergert2023-01-101-2067/+0
| | | | | These never get all the individual releases from branches anyway, so worth while to truncate occasionally for new minor release streams.
* .gitlab-ci: update to Fedora 37Christian Hergert2023-01-101-1/+1
|
* Merge branch 'update-ci-docgen' into 'master'Christian Hergert2023-01-102-12/+12
|\ | | | | | | | | CI: Update packages in Docker image See merge request GNOME/gtksourceview!307
| * CI: Move dependencies into CI imageFeRD (Frank Dana)2023-01-102-9/+12
| | | | | | | | | | | | | | - Update `dnf` command in Dockerfile to include missing dependencies - Remove `dnf` command from `.gitlab-ci.yml` scripting - Sort packages in `dnf` command - Use `install_weak_deps=false` option in `dnf` to reduce image size
| * CI: Use distro gi-docgen in DockerfileFeRD (Frank Dana)2023-01-101-4/+1
|/ | | | | | | The gi-docgen installed in /home/user/.local/bin/ is actually less recent than the Fedora 36 gi-docgen RPM, so we can just install that via `dnf` instead. (And drop `pip`, since we no longer need it.)
* Docs: Fix RegexError referenceFeRD (Frank Dana)2023-01-101-1/+1
| | | | | | | `gi-docgen` version 2022.2 throws an error on this reference, but even if it's accepted it ends up as a 404 link. Using `[error@` correctly links to https://docs.gtk.org/glib/error.RegexError.html in the generated documentation.
* completionprovider: fix documentation for get_priority()Christian Hergert2023-01-091-1/+1
| | | | | | | This changed when porting from Builder to GtkSourceView. Update the documentation to match. Fixes #312
* kate: use italic for def:emphasisChristian Hergert2023-01-092-4/+4
| | | | | | | This makes the scheme match closer to the other style schemes which are somewhat relied upon for rather important languages like Markdown. Related GNOME/gnome-text-editor#506
* Merge branch 'eldmannen-master-patch-75260' into 'master'Christian Hergert2023-01-031-0/+1
|\ | | | | | | | | Add place-items attribute See merge request GNOME/gtksourceview!305
| * Add place-items attributeFred2023-01-031-0/+1
|/
* Update Georgian translationEkaterine Papava2022-12-261-46/+56
|
* Merge branch 'wip/jtojnar/nix' into 'master'Christian Hergert2022-12-233-0/+236
|\ | | | | | | | | nix.lang: Add Nix syntax highlighting See merge request GNOME/gtksourceview!303
| * tests: Add example Nix fileJan Tojnar2022-12-231-0/+50
| |
| * nix.lang: Add Nix syntax highlightingLuca Bruno2022-12-232-0/+186
|/ | | | | Originally uploaded to https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions?action=AttachFile&do=view&target=nix.lang
* Adwaita-dark.xml: soften match color a bitChristian Hergert2022-12-231-1/+1
| | | | | We can also use the alpha in g-t-e to apply more vibrant colors to the current match selection.
* Adwaita.xml: add def:statementChristian Hergert2022-12-232-2/+2
| | | | | And use that instead of def:keyword which will map to that anyway. This ensures that things like sizeof are highlighted in C.
* Adwaita.xml: soften search highlightChristian Hergert2022-12-231-1/+1
| | | | | When combined with unfocused text selection background, it at least gives you some ability to determine the difference between them.
* docs: add note about library initializationChristian Hergert2022-12-221-0/+8
|
* Merge branch 'master' into 'master'Christian Hergert2022-12-222-0/+2
|\ | | | | | | | | Add styling for 'def:note' to Adwaita and Adwaita-dark See merge request GNOME/gtksourceview!300
| * Add styling for 'def:note' to Adwaita and Adwaita-darkstuarthayhurst2022-12-222-0/+2
|/
* Merge branch 'lean-string' into 'master'Christian Hergert2022-12-221-1/+1
|\ | | | | | | | | lean.lang: strings may contain line breaks See merge request GNOME/gtksourceview!301
| * lean.lang: strings may contain line breaksElias Aebi2022-12-221-1/+1
|/
* Merge branch 'java-escapes' into 'master'Christian Hergert2022-12-221-2/+2
|\ | | | | | | | | java.lang: fix escaped characters See merge request GNOME/gtksourceview!302
| * java.lang: fix escaped charactersElias Aebi2022-12-221-2/+2
|/
* Revert "init: call gtk_source_init() from library static constructor"Christian Hergert2022-12-222-176/+3
| | | | | | | | This reverts commit 441ccc244c068124ea687f379fe6935e46fcdd2b. Apparently MSVC will deadlock. Not worth the effort to have nice things. https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/311
* init: call gtk_source_init() from library static constructorChristian Hergert2022-12-222-3/+176
| | | | | | | | | | | | This uses static constructors like we do in a few other GNOME libraries to initialize state up front before main() is called, or when the library is dynamically loaded via dlopen(). This allows language bindings to omit the call to GtkSource.init(). We couldn't do this in GtkSourceView 4.x and previous due to gtk_init() requiring argc/argv parameters which is no longer the case. Additionally, repeated calls to gtk_init() are ignored.
* Add Interlingue translationOlga Smirnova2022-12-182-0/+787
|
* Merge branch 'cpp-constinit' into 'master'Christian Hergert2022-12-081-0/+1
|\ | | | | | | | | cpp.lang: add constinit keyword See merge request GNOME/gtksourceview!299
| * cpp.lang: add constinit keywordElias Aebi2022-12-081-0/+1
|/
* Update Belarusian translationVasil Pupkin2022-12-071-129/+180
|
* snippets: fix :enable-snippets without completion providerChristian Hergert2022-12-021-2/+2
| | | | | | | | | | | | If we are expanding snippets, and there is no completion provider used to show the available snippets, commit 04683f367 broke the ability to reach the code which would try to expand. This attempts to preserve the existing behavior to make that work while also doing the intention of commit 04683f367 to hide the informative when it is no longer necessary (and only if a snippet was touched). Fixes #302
* kate-dark: specify accent bg colorChristian Hergert2022-11-301-0/+1
| | | | | This is helpful to ensure that applications doing recoloring still have an accent color with sufficient contrast.
* Update Icelandic translationSveinn í Felli2022-11-301-152/+143
| | | | (cherry picked from commit 3a75196bbf558a1af52a272886a53f22bc2e8de9)
* reasonml.lang: add ReasonML languageMohamed Amine LEGHERABA2022-11-182-0/+309
|
* Merge branch 'wip/albfan/source-mark-no-attr' into 'master'Christian Hergert2022-11-181-11/+9
|\ | | | | | | | | | | | | gutterrenderermarks: avoid infinite loop Go to next mark if there are no attributes on mark. See merge request GNOME/gtksourceview!290
| * gutterrenderermarks: avoid infinite loopAlberto Fanjul2022-11-181-11/+9
|/ | | | Go to next mark if there are no attributes on mark.
* Merge branch 'removeunneededcheck' into 'master'Christian Hergert2022-11-181-7/+0
|\ | | | | | | | | build: drop unnecessary vapigen check See merge request GNOME/gtksourceview!295
| * build: drop unnecessary vapigen checkArtturin2022-11-181-7/+0
|/ | | | | the meson module `gnome.generate_vapi` in gtksourceview/meson.build already checks if the `vapigen` command is available
* Merge branch 'wip/chergert/revert-list-snapshot' into 'master'Christian Hergert2022-11-186-719/+29
|\ | | | | | | | | Revert completion list snapshotting See merge request GNOME/gtksourceview!298
| * Revert "listsnapshot: add snapshotting listmodel"Christian Hergert2022-11-185-608/+0
| | | | | | | | This reverts commit 2fce4e13d0cf6469684995c9e2a1c503e3cf889e.
| * Revert "completionlistbox: lock listmodel items during snapshot"Christian Hergert2022-11-181-103/+29
| | | | | | | | This reverts commit dc73ece2b96886a778dfe34e808106e89469f1f0.
| * Revert "listsnapshot: allow mismatched hold()/release()"Christian Hergert2022-11-181-9/+1
|/ | | | This reverts commit dc000fbd1b737f4a26139e6df6622d68a4c867e0.
* Merge branch 'wip/chergert/insert-fixes' into 'master'Christian Hergert2022-11-181-9/+22
|\ | | | | | | | | vim: ignore gtk_text_view_im_context_filter_keypress See merge request GNOME/gtksourceview!297
| * vim: ignore gtk_text_view_im_context_filter_keypressChristian Hergert2022-11-181-9/+22
|/ | | | | | | | | | | | | | | | There are cases while in INSERT mode that we need to handle to switch to REPLACE as well as switching to literal input. These all currently require the Control key or Escape along with the Insert key. Filtering them would return FALSE, but unforutnatley if they are not those, calling gtk_text_view_im_context_filter_keypress() will cause the text to be committed before further GtkEventControllerKey instances could process the input. That breaks other GtkSourceView features such as indenters that might trigger on the key-press. For example, Builder can reformat function arguments on `)`. Without this, that code and other key-press handlers would be completely skipped while in INSERT mode.
* Bump version for developmentChristian Hergert2022-11-172-1/+19
|
* Merge branch 'eldmannen-master-patch-55402' into 'master'Christian Hergert2022-11-171-1/+1
|\ | | | | | | | | Fix typo in documentation See merge request GNOME/gtksourceview!293
| * completion: fix typo in documentationFred2022-11-171-1/+1
|/
* map: defer adjustment changes to next frameChristian Hergert2022-11-171-3/+38
| | | | | | | | This helps ensure that we are not handling changes to GtkAdjustment that happen during the LAYOUT phase of the frame clock. Instead we defer it to the next frame as it's too late to affect any sort of allocations on this frame.
* listsnapshot: allow mismatched hold()/release()Christian Hergert2022-11-161-1/+9
| | | | | We can allow supplimental release, so long as we at least get a call to release().
* Merge branch 'wip/chergert/fix-completion-snapshots'Christian Hergert2022-11-166-29/+711
|\