Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger(a)uvena.de>
Committer: Enrico Tröger <enrico.troeger(a)uvena.de>
Date: Sun, 28 Nov 2021 15:56:54 UTC
Commit: 295f59da91d2a2c08a5289d56d30f3caa2d2d507
https://github.com/geany/geany/commit/295f59da91d2a2c08a5289d56d30f3caa2d2d…
Log Message:
-----------
Add a confirmation dialog on search & replace for the whole session
Replacing some text in the whole session can be accidentally clicked
too easily and the result might not want the user wanted to do.
So ask for confirmation *before* potentially all files in the session
will be modified.
Modified Paths:
--------------
src/search.c
Modified: src/search.c
9 lines changed, 9 insertions(+), 0 deletions(-)
===================================================================
@@ -30,6 +30,7 @@
#include "search.h"
#include "app.h"
+#include "dialogs.h"
#include "document.h"
#include "encodings.h"
#include "encodingsprivate.h"
@@ -1455,6 +1456,14 @@ on_replace_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
return;
}
+ if (response == GEANY_RESPONSE_REPLACE_IN_SESSION) {
+ if (! dialogs_show_question_full(replace_dlg.dialog, NULL, NULL,
+ _("This operation will modify all open files which contain the text to replace."),
+ _("Are you sure to replace in the whole session?"))) {
+ return;
+ }
+ }
+
search_backwards_re = settings.replace_search_backwards;
search_replace_escape_re = settings.replace_escape_sequences;
find = g_strdup(gtk_entry_get_text(GTK_ENTRY(replace_dlg.find_entry)));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Thomas Martitz <thomas.martitz(a)mailbox.org>
Committer: Thomas Martitz <thomas.martitz(a)mailbox.org>
Date: Sat, 12 Feb 2022 23:07:10 UTC
Commit: b3e0cfb91c2acbb585ea7824fc83e2e052f94551
https://github.com/geany/geany/commit/b3e0cfb91c2acbb585ea7824fc83e2e052f94…
Log Message:
-----------
Session files must be saved to session.conf where they are loaded from.
This bug was present since the original session.conf merge:
b11d05a53cd3 Split geany.conf into geany.conf (preferences) and session.conf …
Modified Paths:
--------------
src/keyfile.c
Modified: src/keyfile.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1130,7 +1130,7 @@ static void load_ui_session(GKeyFile *config)
*/
void configuration_save_default_session(void)
{
- gchar *configfile = g_build_filename(app->configdir, PREFS_FILE, NULL);
+ gchar *configfile = g_build_filename(app->configdir, SESSION_FILE, NULL);
gchar *data;
GKeyFile *config = g_key_file_new();
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Thomas Martitz <thomas.martitz(a)mailbox.org>
Committer: Thomas Martitz <thomas.martitz(a)mailbox.org>
Date: Sat, 12 Feb 2022 21:57:21 UTC
Commit: 021144e60ddd07ad2e5e1fbcb54be8e32874e4f6
https://github.com/geany/geany/commit/021144e60ddd07ad2e5e1fbcb54be8e32874e…
Log Message:
-----------
Update GDScript test
Anonymous enums are now flagged as such (last digit == 1).
GDScript support (#3012) and the anonymous tags PR (#3059) did not know about
each other so this wasn't catched by CI until now.
Modified Paths:
--------------
tests/ctags/gdscript-no-implicit-class.gd.tags
Modified: tests/ctags/gdscript-no-implicit-class.gd.tags
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -14,7 +14,7 @@ _init
_private_var�16384�Something�0�String
a�16384�0
a�16384�Something�0
-anon_enum_1�2�0
+anon_enum_1�2�1
arr�16384�0
dict�16384�0
foooooooo�128�()�Something�0�String
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).