Hi,
I am trying to install Geany version 2.0 silently on windows 10 64Bit VM.
Please let me know if there are any parameters to install\select following features silently.
<img width="368" alt="image" src="https://github.com/geany/geany/assets/106653425/bba1d3a3-f7be-4fe2-9b88-a3c…">
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3734
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3734(a)github.com>
This may happen in headless environments.
The return value of `gtk_init_check` was not examined before; according to [^1], _"calling any GTK function or instantiating any GTK type after this function returns FALSE results in undefined behavior."_
The value 77 can be returned to tell Automake that the test was skipped.[^2][^3]
---
Based on the example [here](https://www.gnu.org/software/automake/manual/automake.html#Use-TAP-wi…, I assumed that Autotools would mark `test_sidebar` as `SKIP` if all test cases inside are marked as skipped using [`g_test_skip`](https://docs.gtk.org/glib/func.test_skip.html) despite the return value being `0`, but with the way it is plugged together (each binary being one test from the view of the harness without regard for the more granular test cases inside), this doesn't work without further ado:
`test_sidebar.log`:
```
TAP version 13
# random seed: R02Seafe1e22758e0c4a49fe548501665a2d
1..3
# Start of sidebar tests
ok 1 /sidebar/openfiles_none # SKIP Could not initizlize GTK, skipping. Headless environment?
ok 2 /sidebar/openfiles_path # SKIP Could not initizlize GTK, skipping. Headless environment?
ok 3 /sidebar/openfiles_tree # SKIP Could not initizlize GTK, skipping. Headless environment?
# End of sidebar tests
PASS test_sidebar (exit status: 0)
```
`test_sidebar.trs`:
```
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no
```
`geany-2.0/tests $ env TESTS="test_sidebar" make -e check SUBDIRS=`
```
PASS: test_sidebar
============================================================================
Testsuite summary for Geany 2.0
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
```
---
However, returning `77` works as intended:
`test_sidebar.log`:
```
GTK initialisation failed; skipping. Running inside a headless environment?
SKIP test_sidebar (exit status: 77)
```
`test_sidebar.trs`:
```
:test-result: SKIP
:global-test-result: SKIP
:recheck: no
:copy-in-global-log: yes
```
`geany-2.0/tests $ env TESTS="test_sidebar" make -e check SUBDIRS=`
```
SKIP: test_sidebar
============================================================================
Testsuite summary for Geany 2.0
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 1
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
```
Fixes #3674
[^1]: https://docs.gtk.org/gtk3/func.init_check.html
[^2]: https://www.gnu.org/software/automake/manual/automake.html#index-Exit-statu…
[^3]: https://docs.gtk.org/glib/func.test_run.html
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3676
-- Commit Summary --
* Skip `tests/test_sidebar` if GTK initialisation fails
-- File Changes --
M tests/test_sidebar.c (8)
-- Patch Links --
https://github.com/geany/geany/pull/3676.patchhttps://github.com/geany/geany/pull/3676.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3676
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3676(a)github.com>
`Process failed (The system cannot find the file specified)`.
Note:
- I reverted all of my changes to `filetypes.cs` in https://github.com/geany/geany/discussions/3753
- I added `C:\Program Files\Mono\bin` to Windows' `PATH`
- Mono's `mcs` is a script file: on Linux, it's a shell script named `mcs`; on Windows, it's a batch script named `mcs.bat`
My thoughts:
- Should I encapsulate the path to Mono in Windows' `PATH` with double quotes? `"C:\Program Files\Mono\bin"`? There is a space in the path. It could cause problems. Windows Command Prompt has no problem running `mcs`. But Geany is a Linux-first program that is only ported to Windows as an afterthought.
- Or it's very likely that Geany has problems calling batch script. Does it assumed the executable to have the extension `.exe`?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3776
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3776(a)github.com>
I am using Geany in Linux Mint Cinnamon and Kubuntu. What is needed to be modified please?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3555
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3555(a)github.com>
In metallic-bottle.conf, we find the following definitions:
```
selection=#000;#c48c65;false;true
preprocessor=#c48c65
other=#c48c65
line_added=#c48c65
```
This means that if I have a syntactic element styled as _preprocessor_ (for instance, a _symbol_ (`:abc`) in Ruby source code, and select it with a mouse, foreground and background look identical and I can't see anymore the selected text.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-themes/issues/70
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-themes/issues/70(a)github.com>
Geany 1.38 on MacOS:
According to the annotation in the menu, Edit/Format/ToggleCase is assigned to the shortcut Option-Command-U. However, pressing this key combination does not have any observable effect, while selecting "ToggleCase" from the menu works.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/52
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-osx/issues/52(a)github.com>
From time to time I'd find it useful to set the plugin folder where geany is searching for *.so could be set via CLI option at runtime and independent from its geany.conf file.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3775
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3775(a)github.com>
how to send the full path of the currently opened file to the clipboard, and perhaps just the name of the file, or just the path
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3773
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3773(a)github.com>
I ran into a little problem when testing my pinner plugin. When using document_get_current(), the 'file_name' member was NULL even if the value returned by document_get_current() was not NULL and 'is_valid' was 1.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3770
-- Commit Summary --
* Return NULL from document_get_current() if document is 'untitled'
-- File Changes --
M src/document.c (11)
-- Patch Links --
https://github.com/geany/geany/pull/3770.patchhttps://github.com/geany/geany/pull/3770.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3770
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3770(a)github.com>