The first commit can be generally useful if e.g. Python is not generally found in the PATH, for selecting `python3` by default, or if the environment doesn't provide a generic `python` link but only versioned ones (like `python2` and `python3`).
The second one implements the suggestion from #2211 on top of this. I have no idea if that suggestion makes sense as I don't use Windows and don't have enough Python-on-Windows knowledge. @eht16 what do you think?
@novel-yet-trivial could you test this if you can build Geany? I didn't actually test it on Winodws so it properly working is only theoretical, although I'm quite confident.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2223
-- Commit Summary --
* Add support for selecting the default Python command
* Use the `py` launcher for Python filetype on Windows
-- File Changes --
M configure.ac (11)
M data/Makefile.am (12)
R data/filedefs/filetypes.python.in (4)
-- Patch Links --
https://github.com/geany/geany/pull/2223.patchhttps://github.com/geany/geany/pull/2223.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2223
The [rstrip-whitespace.py](https://github.com/geany/geany/blob/master/scripts/rs… script contains redundant code.
This script performed the operation of applying [rstrip()](https://docs.python.org/3/library/stdtypes.html#str.rstrip) to all lines in a file three consecutive times. This a case of belt, suspenders and a safety pin. Only one such operation is required. Let's pick one possibly dependent on the size of the input file.
I suggest using [timeit ](https://docs.python.org/3/library/timeit.html)to determine which method has the best performance and under what circumstance each may be required in order to perform successfully for files up to some maximum size.
The aforementioned maximum size needs to be established.
I am willing to offer a patch.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2897
mingw-w64-x86_64-geany 1.37.1-3
mingw-w64-x86_64-geany-plugins 1.37.0-2
mingw-w64-x86_64-gtk3 3.24.30-3
Windows 10 pro 21H1
Geany simply doesn't want to start if i install this plugin, if I suppress it all come back right. I reproduced it several time to be sure.
BR
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1110
When inside the "Einstellungen" (preferences) dialogue I click on "Hilfe" (help), no Helpwindows opens, instead I get the error message in the message pane:
14:21:42: Konnte URI "C:/Program Files (x86)/Geany/share/doc/geany/html/index.html#general-startup-preferences" nicht öffnen: Das System kann die angegebene Datei nicht finden.
I don't understand, why this error message pops up, because using Windows Explorer, I can locate the index.html under exactly this path.
My guess is that this is related to the weird Windows naming conventions, where several alias names are used for the same folder, depending on the locale of the Windows installation. So, while Windows Explorer can find the html directory when pasting the string
_C:\Program Files (x86)\Geany\share\doc\geany\html_
into the Windows explorer bar, the left side pane (which shows the directory tree) displays the top-level directory not as "Program Files (x86)", but as "Programme (x86)", so perhaps the correct path to be used should be
_C:\Programme (x86)\Geany\share\doc\geany\html_
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2405
Instead of using only hard-coded and varying defaults for Linux,
MacOS and Windows, try to read the system's default command for "http"
URI schemes and use it if found.
If no usable default is available, fallback to the previous hard-coded
defaults.
Besides being more user-friendly, this should solve issues on Windows
where we always used "ShellExecute" and bypassed the configured browser
command which led to errors on URLs with anchors (see #2405).
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2444
-- Commit Summary --
* Read default browser command using GIO
-- File Changes --
M src/keyfile.c (20)
-- Patch Links --
https://github.com/geany/geany/pull/2444.patchhttps://github.com/geany/geany/pull/2444.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2444
Hello, I can't find the package geany-plugin-webhelper, after install all plugins from terminal can`t find webhelper, of course i maybe install from source but I would like to know the reason why it is not in the repositories of both distributions (Parrot OS and Elementary OS).
Thank`s for help! :)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1066
I have a question and it kills me for a long time, how do I change the theme of gtk in window for geany ????
I've seen several forums on how to do it, but none have helped me
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2379