Filetypes need not have a filename suffix pattern (like e.g. `*.c`), but can have other form of patterns (e.g. `Makefile`, `meson.build`, etc.), or even no patterns at all.
Such less common patterns make it impossible to match them in unittests, as filenames used there need to be of the form `test_*`.
Fix this by adding a fake extension to each filetype that is the name of the filetype followed with `_unittest`, e.g. `CMake_unittest` or `Meson_unittest`.
Fixes #4074.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4225
-- Commit Summary --
* tests/ctags: Allow testing filetypes with no suffix patterns
-- File Changes --
M tests/ctags/runner.sh (5)
-- Patch Links --
https://github.com/geany/geany/pull/4225.patchhttps://github.com/geany/geany/pull/4225.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4225
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4225(a)github.com>
The result is a full "3D" tree with parents instead of the flattened tree that was displayed previously when using filtering.
There is a slight functionality difference between the original version and this one. Filtering is performed against visible entries and previously it was done against the full tag name including scope so results can differ. Could be modified if the current version isn't what's expected.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4233
-- Commit Summary --
* Move update_visibility() up in the code
* Generalize update_visibility() so it can be used both by documents and symbols
* Allow key and haystack to be NULL in utils_utf8_substring_match()
* Filter symbol list using the filter model
* Use ui_entry_add_clear_icon() to add clear icon for doc/symbol filter
-- File Changes --
M data/geany.glade (4)
M src/callbacks.c (33)
M src/callbacks.h (4)
M src/sidebar.c (106)
M src/sidebar.h (3)
M src/symbols.c (54)
M src/utils.c (4)
-- Patch Links --
https://github.com/geany/geany/pull/4233.patchhttps://github.com/geany/geany/pull/4233.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4233
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4233(a)github.com>
Hey guys, for those who using Geany on Windows OS and want a dark theme ui like monokai theme, you can just clone my repo [Geany-WebDev-Snippets](https://github.com/zhaolinlau/Geany-WebDev-Snippets) and go to `Geany-WebDev-Snippets -> themes -> monokai`, then drag the whole `gtk-3.0` folder to your `C:\Users\Win10\AppData\Local`.
After that, your Geany will be transform from this

to this

And I will add more themes to my repo in the future.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3283
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3283(a)github.com>
Related to now merged #4181 and some warnings it produces during compilation on macOS now.
In addition, there are some general "unused variable" warning eliminations.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4228
-- Commit Summary --
* regex: Eliminate K&R function parameter syntax to avoid warnings
* Define __USE_GNU for compiling all ctags sources
* Define __USE_GNU inside tm_ctags.c
* Remove unused variables
* Avoid warning about unused variable when using quartz
-- File Changes --
M ctags/Makefile.am (3)
M ctags/gnu_regex/regcomp.c (19)
M ctags/gnu_regex/regexec.c (80)
M ctags/parsers/geany_lcpp.c (2)
M meson.build (9)
M src/filetypes.c (2)
M src/socket.c (2)
M src/tagmanager/tm_ctags.c (2)
-- Patch Links --
https://github.com/geany/geany/pull/4228.patchhttps://github.com/geany/geany/pull/4228.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4228
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4228(a)github.com>
Some versions of CLang warn when performing pointer arithmetic on strings, trying to avoid people thinking `+` is a string concatenation operator in C. It's kind of silly, but given we only seem to have one of those instances, just "fix" it using array syntax instead.
PS: I was about to troll the compiler using syntax `&(has_bom ? 3 : 0)[str]` instead, but I figured it's probably not gonna annoy the compiler as much as the next contributor, so I backed out.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4230
-- Commit Summary --
* Avoid clang string-plus-int warning
-- File Changes --
M tests/test_encodings.c (2)
-- Patch Links --
https://github.com/geany/geany/pull/4230.patchhttps://github.com/geany/geany/pull/4230.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4230
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4230(a)github.com>
##### Is your feature request related to a problem? Please describe
<!-- A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...] -->
The proposal is simple, improve Dark Mode.
For example, the fact that on Windows Geany's Dark Mode does not change the color of the TitleBar is something that frustrates me
##### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen -->
For me, implementing [this would be enough](https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/ui….
Since you are using GTK and not WinAPI to program windows (a pretty obvious choice since this project is not focused on Windows), the [`DwmSetWindowAttribute`](https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute) function will only work with the window handle. In other words, if you get the window handle using specific GTK functions, you can change the color of the Title Bar. You can also see what the system Color Mode is using the `ShouldAppsUseDarkMode` and `ShouldSystemUseDarkMode` functions.
[Geting Window Handler using GTK](https://stackoverflow.com/questions/9259731/getting-gtk-gdk-window-han… for exemple...
##### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features
you've considered -->
I've already used the method of changing the color of the system's Title Bars, but it's not very cool or interesting as a solution... (but yes, it works)
##### Additional context
<!-- Add any other context or screenshots about the feature request here -->
I already made a [similar issue](https://github.com/geany/geany/issues/4036), and it has already been resolved. But it is not the same issue. The big difference is that I would like the problem to be solved with code, within the project, and not on each user's computer (let's face it, having to change a part of the system for each installation just because of 1 application is not very cool...).
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4200
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4200(a)github.com>