Steps to reproduce:
1. With no project open, open some files
2. Open project A
3. Without closing project A first, open project B
4. Close project B
5. The originally open files from (1) are gone
The problem is that when project A closes and all its files are closed, load_config() gets called which contains
configuration_save_default_session();
This saves the session with all files closed and replaces the original session.
This patch modifies the code to call configuration_save_default_session() only when there are some open tabs so the above problem gets solved.
Even though I was worried that this would break saving default session when all its files get closed and then a project is loaded, it doesn't seem to be the case (I haven't investigated deep enough why).
An alternative to this approach would be to pass a boolean as a parameter of quite many functions and propagate the information whether project close preceded its opening but it introduces a much bigger diff and makes the complicated session opening stuff even wilder.
Fixes #3897.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3898
-- Commit Summary --
* Fix a problem when multiple project opens clear the default session
-- File Changes --
M src/project.c (3)
-- Patch Links --
https://github.com/geany/geany/pull/3898.patchhttps://github.com/geany/geany/pull/3898.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3898
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3898(a)github.com>
Github actions can do Linux (Ubuntu 16.04, 18.04 and 20.04) and windows and OSX Catalina and Big Sur so testing could check all platforms.
This is a placeholder issue, not sure what is _actually_ involved, but somebody who knows might replace this with a checklist.
PS IIUC github actions can run docker so the @eht16 one could be used maybe?
--
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/2671
For example, `clang-format`. I'm finding a code formatter plugin for Geany. But all of the projects I encountered are unmaintained.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3782
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3782(a)github.com>
Extends [#1233](https://github.com/geany/geany-plugins/pull/1233) to add support for Lua 5.1 and LuaJIT by adding compatibility functions/defines. The build script is fixed to not ignore the `--with-lua-pkg` option and to recognize Lua variants: lua, lua53, lua54, lua52, luajit, lua51 (currently in this order). Systems that use a different basename will have to explicitly specify the name, eg lua5.1 or lua-5.1, during configure. To change variants, reconfigure and rebuild.
```
./configure --with-lua-pkg=[lua]
make -C geanylua clean
make -C geanylua
```
Supercedes #1231, #1233, #1235. Resolves #1228, #1133.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1238
-- Commit Summary --
* GeanyLua: Use luaL_Reg instead of luaL_reg
* GeanyLua: Don't ignore with-lua-pkg configure option
* GeanyLua: Add support for Lua 5.2+
* GeanyLua: Add compatibility for Lua 5.1 and LuaJIT
-- File Changes --
M build/geanylua.m4 (28)
M geanylua/Makefile.am (2)
M geanylua/glspi.h (2)
M geanylua/glspi_app.c (4)
A geanylua/glspi_compat.c (55)
A geanylua/glspi_compat.h (28)
M geanylua/glspi_dlg.c (6)
M geanylua/glspi_doc.c (4)
M geanylua/glspi_init.c (4)
M geanylua/glspi_kfile.c (10)
M geanylua/glspi_run.c (30)
M geanylua/glspi_sci.c (6)
M geanylua/gsdlg_lua.c (11)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1238.patchhttps://github.com/geany/geany-plugins/pull/1238.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1238
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1238(a)github.com>
In Preferences -> Files there is an option "Ensure new line at file end" that, as far as I understand, is supposed to enable/disable adding of a new line in the end of the file if the last line is not empty. However, even when this option is disabled (unticked), if the last line is not empty and you save the file, Geany adds a new line after the last one.
--
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/2310
if i hit ctrl+f, I don't immediately start typing in the field, rather, I continue typing wherever I previously was, the dialog just appears.
I'm on geany-gtk3 on arch, if that helps. I might just be an idiot and changed a setting though.
--
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/1623
字体,ubuntu mono 、fira code 等字体输入中文时会乱码。monospace mono 字体不会。
相关信息:
(machine translation)
Fonts such as Ubuntu Mono and Fira Code may cause garbled characters when entering Chinese. Monospace Mono font does not work.
Related information:
> Geany: Geany 2.0, Chinese (Simplified)_China.936
> Geany: GTK 3.24.39, GLib 2.78.0
> Geany: OS: Windows 10 22H2
monospace font
![monospace_font](https://github.com/geany/geany/assets/43160139/ea7bfd98-81a4-4431-b94e-1e05846f2252)
fira_code font
![fira_code_font](https://github.com/geany/geany/assets/43160139/2a220aeb-f01d-46d4-90e5-e8e3d1e92740)
ubuntu mono font
![ubuntu_mono_font](https://github.com/geany/geany/assets/43160139/1fe41201-7769-4b01-8db5-be024049e092)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3862
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3862(a)github.com>
What it says in the title. I'd like for the files in the Documents sidebar to be renamable from that location.
---
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/1138
If possible, I'd like for geany to use an inotify hook (where available) to detect delete/rename of open files in real-time.
---
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/1139
I'm using geany 2.0-1 on Arch Linux with XFCE.
Since the newest update, I can not use paste via middle-click repeatedly anymore. This was a frequent use case for me: select some text and then paste it at a few places. It does not matter if the selection was made inside or outside geany.
What makes me think geany clears the X selection:
* I can select and paste into a different window multiple times, but after pasting into geany, I can't anymore.
* Also, the clipboard manager plugin for the XFCE panel shows no mouse selection anymore afterwards.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3658
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3658(a)github.com>