Fixes warnings with clang 15+
scope/src/stack.c:168:11: error: incompatible pointer to integer conversion initializing 'gboolean' (aka 'int') with an expression of type 'void *' [-Wint-conversion]
gboolean entry = NULL;
^ ~~~~
1 error generated.
Signed-off-by: Khem Raj <raj.khem(a)gmail.com>
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1191
-- Commit Summary --
* scope: Use 0 instead of NULL for gboolean
-- File Changes --
M scope/src/stack.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1191.patchhttps://github.com/geany/geany-plugins/pull/1191.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1191
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1191(a)github.com>
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>
The current code assumes that the whole `var_type` string consists of the
anonymous type name. This works for simple cases like
```
struct {} X;
```
where `X` is of the type `__anonXXXX` but not for cases like
```
struct {} X[2];
```
where `X` is of type `__anonXXXX[]`.
For these cases checking for equality of `var_tag->var_type`, `orig_name` isn't
sufficient and we have to check whether `orig_name` is a substring
of `var_tag->var_type` and replace this substring with the new anon name.
This problem can be seen for instance in the symbol tree tooltip of
the `symbols_icons` variable inside `symbols.c`.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3273
-- Commit Summary --
* Fix renaming tag type containing anonymous type
-- File Changes --
M src/tagmanager/tm_ctags.c (12)
-- Patch Links --
https://github.com/geany/geany/pull/3273.patchhttps://github.com/geany/geany/pull/3273.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3273
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3273(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>
Allow to set a custom shortcut for every custom command, possibly checking conflicts.
Related:
https://github.com/geany/geany/issues/2730
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3272
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3272(a)github.com>