This patch avoids creating a temporary file containing concatenated source files passed on the command-line when the `-P` option is used (or when tags are generated for other languages than C/C++) by e.g.
```
geany -P -g file1.h file2.h file3.h
```
More discussion can be found in #3163.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3204
-- Commit Summary --
* Rename variables in tag file writing functions to make things clearer
* Don't use temporary file when creating tag files without running preprocessor
-- File Changes --
M src/tagmanager/tm_workspace.c (161)
M tests/ctags/process_order.c.tags (5)
-- Patch Links --
https://github.com/geany/geany/pull/3204.patchhttps://github.com/geany/geany/pull/3204.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3204
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3204(a)github.com>
ctags sets the tag's "local" flag to true for tags whose visibility is
limited to the current file only. These are for instance "static" functions
in C.
We can ignore these tags for autocompletion in other files than the
tag's file which reduces the number of irrelevant tags in the
autocompletion popup.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3268
-- Commit Summary --
* Ignore local tags for autocompletion in other files
-- File Changes --
M src/tagmanager/tm_workspace.c (7)
-- Patch Links --
https://github.com/geany/geany/pull/3268.patchhttps://github.com/geany/geany/pull/3268.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3268
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3268(a)github.com>
Standard gettext should be used over glib's glue these days.
AM_GLIB_GNU_GETTEXT and glib-gettextize are deprecated. This helps
possible meson build (no concrete plans yet) as well as working with
intltool is harder over there. gettext, on the other hand, is supported
out of the box in meson.
Beware, autopoint is a new dependency when building from git,
should not affect tarballs. Also, it's already required by Geany core.
Additionally, autogen.sh follows Geany's autogen.sh more closely,
allowing for out-of-tree builds.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1183
-- Commit Summary --
* Use standard gettext, following Geany core.
* Fix issues found by standard gettext
* Update po files after gettext transition.
-- File Changes --
M .github/workflows/build.yml (1)
M .gitignore (7)
M autogen.sh (11)
M build/common.m4 (1)
M build/i18n.m4 (10)
M configure.ac (8)
A po/LINGUAS (1)
A po/Makevars (82)
M po/POTFILES.in (8)
M po/be.po (710)
M po/ca.po (771)
M po/da.po (697)
M po/de.po (966)
M po/el.po (690)
M po/es.po (952)
M po/fr.po (950)
M po/gl.po (780)
M po/it.po (847)
M po/ja.po (770)
M po/kk.po (720)
M po/nl.po (812)
M po/pt.po (0)
M po/pt_BR.po (0)
M po/ru.po (0)
M po/tr.po (0)
M po/uk.po (0)
M po/zh_CN.po (0)
M treebrowser/src/treebrowser.c (0)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1183.patchhttps://github.com/geany/geany-plugins/pull/1183.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1183
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1183(a)github.com>
I'm here to request for vue language support such as syntax highlight.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3214
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3214(a)github.com>
Hi.
When renaming a file opened in geany with `disk_check_timeout!=0` a prompt is correctly displayed. Renaming it back again, and reloading it (File->Reload) everything *seems* fine. However, if the project is then closed and reopened, that file is gone.
I did not totally verify this, but my educated guess is:
In document.c:monitor_resave_missing_file the `real_path` of the missing is set to null `SETPTR(doc->real_path, NULL);`
Reloading the file does not change this.
In keyfile.c:configuration_save_session_files
`if (doc != NULL && doc->real_path != NULL)`
`real_path` is still null (unless manually saved before), so the file is gone.
Suggested fix (seems to be working):
~~~
document.c:document_open_file_full
if (! reload)
{
doc = document_create(utf8_filename);
g_return_val_if_fail(doc != NULL, NULL); /* really should not happen */
/* file exists on disk, set real_path */
SETPTR(doc->real_path, utils_get_real_path(locale_filename));
doc->priv->is_remote = utils_is_remote_path(locale_filename);
monitor_file_setup(doc);
}
+ else {
+ if( doc != NULL ){
+ SETPTR(doc->real_path, utils_get_real_path(locale_filename));
+ }
+ }
~~~
Thanks.
Tycho
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3202
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3202(a)github.com>
Just upgraded to Ubuntu 22.04.1 LTS.
Ctrl+. doesn't work - it shows a strange accented e. This heppens on two different computers.
Ctrl+, works, as do the other Ctrl keys I tried.
Is there a fix to get Ctrl+. to work?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3261
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3261(a)github.com>
I would like to press the ALT key to hide/show (toggle) the menu bar.
This feature exists in the text editor named **xed**. Here's the code apparently used to do so in **xed** [Add an option to hide the menubar](https://github.com/linuxmint/xed/commit/1252eb73b34cd440cb1f8c1e01….
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3270
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3270(a)github.com>
I would like automatic spell checking. In other words, as I am typing, when I misspell a word, I would like to immediately see an indication that I have misspelled that word.
By the way, I installed the spell checker plugin. It works fine. Thanks.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1190
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1190(a)github.com>
This is rebased #3175 with cleaned up commit history but no functional change.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3185
-- Commit Summary --
* Rename tm_tag_file_t to tm_tag_local_var_t
* Enable local tag generation for C/C++
* Update goto symbol definitions to take into account local variables
* Update (non-scope) autocompletion to take into account local variables
* Update scope completion to take into account local variables
* Strip more things from variable type
* Support (multiple) inheritance by scope completion
* Sort tags so tags from source file's header are preferred to other files
* Rewrite member_at_method_scope() to handle more situations
* Sort non-scope autocompletion results by locality
* Make validity of local variables configurable based on used language
-- File Changes --
M src/editor.c (15)
M src/symbols.c (13)
M src/tagmanager/tm_parser.c (26)
M src/tagmanager/tm_parser.h (4)
M src/tagmanager/tm_workspace.c (546)
M src/tagmanager/tm_workspace.h (6)
-- Patch Links --
https://github.com/geany/geany/pull/3185.patchhttps://github.com/geany/geany/pull/3185.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3185
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3185(a)github.com>
This PR is squashed #3185. I created a separate PR because I think it's cleaner this way but I can force-push this to #3185 if desired.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3266
-- Commit Summary --
* Rename tm_tag_file_t to tm_tag_local_var_t
* Enable local tag generation for C/C++
* Update goto symbol definitions to take into account local variables
* Update (non-scope) autocompletion to take into account local variables
* Update scope completion to take into account local variables
* Strip more things from variable type
* Support (multiple) inheritance by scope completion
* Rewrite member_at_method_scope() to handle more situations
* Sort non-scope autocompletion results by locality
* Remove unnecessary "lang" parameter of various functions
* Update documentation related to scope autocompletion
-- File Changes --
M doc/geany.txt (12)
M src/editor.c (15)
M src/symbols.c (12)
M src/tagmanager/tm_parser.c (6)
M src/tagmanager/tm_parser.h (2)
M src/tagmanager/tm_workspace.c (468)
M src/tagmanager/tm_workspace.h (8)
-- Patch Links --
https://github.com/geany/geany/pull/3266.patchhttps://github.com/geany/geany/pull/3266.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3266
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3266(a)github.com>