Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Mon, 30 Dec 2024 18:27:25 UTC Commit: 0bbb75a8c75426bb2b5576dd047a44bd9fefa782 https://github.com/geany/geany-osx/commit/0bbb75a8c75426bb2b5576dd047a44bd9f...
Log Message: ----------- Add patch disabling meson and forth regex parsers which are slow
Modified Paths: -------------- geany.modules geany_patches/geany_disable_meson_forth_parsers.patch
Modified: geany.modules 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -122,6 +122,8 @@ <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_candidate_window_pos.patch" strip="1" /> <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_vte_login_shell.patch" strip="1" /> <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_block_copy.patch" strip="1" /> + <!-- Don't forget to add to release!!! --> + <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_disable_meson_forth_parsers.patch" strip="1" /> </branch> <dependencies> <dep package="geany-deps" />
Modified: geany_patches/geany_disable_meson_forth_parsers.patch 39 lines changed, 39 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,39 @@ +From 5fb1e5a7e821c263570eba0cbd3784b17789db47 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jir=CC=8Ci=CC=81=20Techet?= techet@gmail.com +Date: Mon, 30 Dec 2024 19:21:19 +0100 +Subject: [PATCH] Disable meson and forth regex parsers + +These are extremely slow on macOS and make any editing pretty much unusable +--- + data/filedefs/filetypes.Meson.conf | 2 +- + data/filedefs/filetypes.forth | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/data/filedefs/filetypes.Meson.conf b/data/filedefs/filetypes.Meson.conf +index c97f8d153..0752182d0 100644 +--- a/data/filedefs/filetypes.Meson.conf ++++ b/data/filedefs/filetypes.Meson.conf +@@ -8,7 +8,7 @@ identifiers=add_global_arguments add_global_link_arguments add_languages add_pro + + [settings] + lexer_filetype=Python +-tag_parser=Meson ++tag_parser= + extension=build + comment_single=# + mime_type=text/x-meson +diff --git a/data/filedefs/filetypes.forth b/data/filedefs/filetypes.forth +index 20b556ab6..17475ff7d 100644 +--- a/data/filedefs/filetypes.forth ++++ b/data/filedefs/filetypes.forth +@@ -26,6 +26,7 @@ preword2=! c! @ c@ 2! 2@ and or xor invert negate / /mod mod rshift lshift + [settings] + # default extension used when saving files + extension=fs ++tag_parser= + + # these characters define word boundaries when making selections and searching + # using word matching options +-- +2.45.2 +
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).