lists.geany.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
List overview
Plugins-Commits
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
plugins-commits@lists.geany.org
5468 discussions
Start a n
N
ew thread
[geany/geany-plugins] 820fd9: Addons: Remove obsolete GTK_CHECK_VERSION checks (#1358)
by Enrico Tröger
23 Jun '24
23 Jun '24
Branch: refs/heads/master Author: Enrico Tröger <enrico.troeger(a)uvena.de> Committer: GitHub <noreply(a)github.com> Date: Sun, 23 Jun 2024 20:51:47 UTC Commit: 820fd93a17c92e9e1a77d07205b585055f28e3b7
https://github.com/geany/geany-plugins/commit/820fd93a17c92e9e1a77d07205b58…
Log Message: ----------- Addons: Remove obsolete GTK_CHECK_VERSION checks (#1358) Modified Paths: -------------- addons/src/addons.c addons/src/ao_doclist.c addons/src/ao_systray.c Modified: addons/src/addons.c 4 lines changed, 0 insertions(+), 4 deletions(-) =================================================================== @@ -652,10 +652,6 @@ static GtkWidget *plugin_addons_configure(G_GNUC_UNUSED GeanyPlugin *plugin, Gtk gtk_widget_show_all(vbox); -#if ! GTK_CHECK_VERSION(2, 10, 0) - gtk_widget_hide(check_systray); -#endif - return vbox; } Modified: addons/src/ao_doclist.c 17 lines changed, 0 insertions(+), 17 deletions(-) =================================================================== @@ -141,13 +141,8 @@ static void ao_popup_position_menu(GtkMenu *menu, gint *x, gint *y, gboolean *pu /* Get the root coordinates of the toolbar's window */ int wx_root, wy_root, width; window = gtk_widget_get_window (gtk_widget_get_ancestor(widget, GTK_TYPE_TOOLBAR)); -#if GTK_CHECK_VERSION(3, 0, 0) gdk_window_get_geometry(window, &wx, &wy, &width, NULL); gtk_widget_get_preferred_size(widget, &widget_req, NULL); -#else - gdk_window_get_geometry(window, &wx, &wy, &width, NULL, NULL); - gtk_widget_size_request(widget, &widget_req); -#endif gdk_window_get_root_coords(window, wx, wy, &wx_root, &wy_root); /* Approximate the horizontal location of the overflow menu button */ @@ -173,11 +168,7 @@ static void ao_popup_position_menu(GtkMenu *menu, gint *x, gint *y, gboolean *pu else gdk_window_get_origin(window, &wx, &wy); } -#if GTK_CHECK_VERSION(3, 0, 0) gtk_widget_get_preferred_size(widget, &widget_req, NULL); -#else - gtk_widget_size_request(widget, &widget_req); -#endif widget_height = widget_req.height; /* Better than allocation.height */ /* Calculate menu position */ @@ -270,13 +261,7 @@ static gboolean ao_create_proxy_menu_cb(GtkToolItem *widget, gpointer data) /* Create the menu item if needed */ if (priv->overflow_menu_item == NULL) { -#if GTK_CHECK_VERSION(3, 0, 0) priv->overflow_menu_item = gtk_menu_item_new_with_label("Document List"); -#else - GtkWidget *menu_image = gtk_image_new_from_icon_name(GTK_STOCK_INDEX, GTK_ICON_SIZE_MENU); - priv->overflow_menu_item = gtk_image_menu_item_new_with_label("Document List"); - gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(priv->overflow_menu_item), menu_image); -#endif g_signal_connect(priv->overflow_menu_item, "activate", G_CALLBACK(ao_toolbar_item_doclist_clicked_cb), data); } @@ -306,10 +291,8 @@ static void ao_toolbar_update(AoDocList *self) if (priv->toolbar_doclist_button == NULL) { priv->toolbar_doclist_button = gtk_tool_button_new_from_stock(GTK_STOCK_INDEX); -#if GTK_CHECK_VERSION(2, 12, 0) gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(priv->toolbar_doclist_button), _("Show Document List")); -#endif plugin_add_toolbar_item(geany_plugin, priv->toolbar_doclist_button); ui_add_document_sensitive(GTK_WIDGET(priv->toolbar_doclist_button)); Modified: addons/src/ao_systray.c 16 lines changed, 1 insertions(+), 15 deletions(-) =================================================================== @@ -45,9 +45,7 @@ struct _AoSystrayPrivate gboolean enable_systray; GtkWidget *popup_menu; -#if GTK_CHECK_VERSION(2, 10, 0) GtkStatusIcon *icon; -#endif }; enum @@ -68,12 +66,10 @@ G_DEFINE_TYPE(AoSystray, ao_systray, G_TYPE_OBJECT) static void ao_systray_finalize(GObject *object) { -#if GTK_CHECK_VERSION(2, 10, 0) AoSystrayPrivate *priv = AO_SYSTRAY_GET_PRIVATE(object); g_object_unref(priv->icon); g_object_unref(priv->popup_menu); -#endif G_OBJECT_CLASS(ao_systray_parent_class)->finalize(object); } @@ -88,9 +84,7 @@ static void ao_systray_set_property(GObject *object, guint prop_id, { case PROP_ENABLE_SYSTRAY: priv->enable_systray = g_value_get_boolean(value); -#if GTK_CHECK_VERSION(2, 10, 0) gtk_status_icon_set_visible(priv->icon, priv->enable_systray); -#endif break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); @@ -121,7 +115,6 @@ static void ao_systray_class_init(AoSystrayClass *klass) } -#if GTK_CHECK_VERSION(2, 10, 0) static void icon_activate_cb(GtkStatusIcon *status_icon, gpointer data) { if (gtk_window_is_active(GTK_WINDOW(geany->main_widgets->window))) @@ -135,7 +128,7 @@ static void icon_popup_menu_cmd_clicked_cb(GtkMenuItem *item, gpointer data) { GtkWidget *widget; const gchar *widget_name = NULL; - + switch (GPOINTER_TO_INT(data)) { case WIDGET_OPEN: @@ -178,12 +171,10 @@ static void icon_popup_menu_cb(GtkStatusIcon *status_icon, guint button, guint a if (button == 3) gtk_menu_popup(GTK_MENU(priv->popup_menu), NULL, NULL, NULL, NULL, button, activate_time); } -#endif static void ao_systray_init(AoSystray *self) { -#if GTK_CHECK_VERSION(2, 10, 0) AoSystrayPrivate *priv = AO_SYSTRAY_GET_PRIVATE(self); GtkWidget *item; const gchar *icon_name; @@ -196,11 +187,7 @@ static void ao_systray_init(AoSystray *self) gtk_status_icon_set_from_pixbuf(priv->icon, gtk_window_get_icon( GTK_WINDOW(geany->main_widgets->window))); -#if GTK_CHECK_VERSION(2, 16, 0) gtk_status_icon_set_tooltip_text(priv->icon, "Geany"); -#else - gtk_status_icon_set_tooltip(priv->icon, "Geany"); -#endif priv->popup_menu = gtk_menu_new(); g_object_ref_sink(priv->popup_menu); @@ -238,7 +225,6 @@ static void ao_systray_init(AoSystray *self) g_signal_connect(priv->icon, "activate", G_CALLBACK(icon_activate_cb), NULL); g_signal_connect(priv->icon, "popup-menu", G_CALLBACK(icon_popup_menu_cb), self); -#endif } -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 6cb701: GeanyLua: Use luaL_Reg instead of luaL_reg
by xiota
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: xiota <github(a)mentalfossa.com> Committer: xiota <github(a)mentalfossa.com> Date: Sat, 04 Mar 2023 08:35:29 UTC Commit: 6cb701cee719cf43a17161e4a72567709b86f156
https://github.com/geany/geany-plugins/commit/6cb701cee719cf43a17161e4a7256…
Log Message: ----------- GeanyLua: Use luaL_Reg instead of luaL_reg The real name of the struct is luaL_Reg. Modified Paths: -------------- geanylua/glspi_app.c geanylua/glspi_dlg.c geanylua/glspi_doc.c geanylua/glspi_init.c geanylua/glspi_kfile.c geanylua/glspi_run.c geanylua/glspi_sci.c geanylua/gsdlg_lua.c Modified: geanylua/glspi_app.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -615,7 +615,7 @@ static gint glspi_reloadconf(lua_State* L) -static const struct luaL_reg glspi_app_funcs[] = { +static const struct luaL_Reg glspi_app_funcs[] = { {"pluginver", glspi_pluginver}, {"appinfo", glspi_appinfo}, {"xsel", glspi_xsel}, Modified: geanylua/glspi_dlg.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -540,7 +540,7 @@ static gint glspi_pickfile(lua_State* L) -static const struct luaL_reg glspi_dlg_funcs[] = { +static const struct luaL_Reg glspi_dlg_funcs[] = { {"choose", glspi_choose}, {"confirm", glspi_confirm}, {"input", glspi_input}, Modified: geanylua/glspi_doc.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -359,7 +359,7 @@ static gint glspi_setfiletype(lua_State* L) -static const struct luaL_reg glspi_doc_funcs[] = { +static const struct luaL_Reg glspi_doc_funcs[] = { {"filename", glspi_filename}, {"fileinfo", glspi_fileinfo}, {"settype", glspi_setfiletype}, Modified: geanylua/glspi_init.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -539,7 +539,7 @@ static gint glspi_rescan(lua_State* L) { return 0; } -static const struct luaL_reg glspi_mnu_funcs[] = { +static const struct luaL_Reg glspi_mnu_funcs[] = { {"rescan", glspi_rescan}, {NULL,NULL} }; Modified: geanylua/glspi_kfile.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -370,7 +370,7 @@ static gint kfile_remove(lua_State* L) -static const struct luaL_reg kfile_funcs[] = { +static const struct luaL_Reg kfile_funcs[] = { {"new", kfile_new}, {"data", kfile_data}, {"groups", kfile_groups}, Modified: geanylua/glspi_run.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -279,7 +279,7 @@ static void glspi_state_done(lua_State *L) -static const struct luaL_reg glspi_timer_funcs[] = { +static const struct luaL_Reg glspi_timer_funcs[] = { {"timeout", glspi_timeout}, {"yield", glspi_yield}, {"optimize", glspi_optimize}, Modified: geanylua/glspi_sci.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -972,7 +972,7 @@ struct Sci_TextToFind { -static const struct luaL_reg glspi_sci_funcs[] = { +static const struct luaL_Reg glspi_sci_funcs[] = { {"text", glspi_text}, {"selection", glspi_selection}, {"select", glspi_select}, Modified: geanylua/gsdlg_lua.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -387,7 +387,7 @@ static gint gsdl_done(lua_State *L) -static const struct luaL_reg gsdl_funcs[] = { +static const struct luaL_Reg gsdl_funcs[] = { {"new", gsdl_new}, {"run", gsdl_run}, {"label", gsdl_label}, -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] d8df49: Merge pull request #1231 from xiota/pr-lua-luaL_Reg
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:38:22 UTC Commit: d8df49551c777ea2897732c490b56c645e1fae50
https://github.com/geany/geany-plugins/commit/d8df49551c777ea2897732c490b56…
Log Message: ----------- Merge pull request #1231 from xiota/pr-lua-luaL_Reg GeanyLua: Use `luaL_Reg` instead of compatibility name `luaL_reg`. Modified Paths: -------------- geanylua/glspi_app.c geanylua/glspi_dlg.c geanylua/glspi_doc.c geanylua/glspi_init.c geanylua/glspi_kfile.c geanylua/glspi_run.c geanylua/glspi_sci.c geanylua/gsdlg_lua.c Modified: geanylua/glspi_app.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -528,7 +528,7 @@ static gint glspi_reloadconf(lua_State* L) -static const struct luaL_reg glspi_app_funcs[] = { +static const struct luaL_Reg glspi_app_funcs[] = { {"pluginver", glspi_pluginver}, {"appinfo", glspi_appinfo}, {"xsel", glspi_xsel}, Modified: geanylua/glspi_dlg.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -540,7 +540,7 @@ static gint glspi_pickfile(lua_State* L) -static const struct luaL_reg glspi_dlg_funcs[] = { +static const struct luaL_Reg glspi_dlg_funcs[] = { {"choose", glspi_choose}, {"confirm", glspi_confirm}, {"input", glspi_input}, Modified: geanylua/glspi_doc.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -359,7 +359,7 @@ static gint glspi_setfiletype(lua_State* L) -static const struct luaL_reg glspi_doc_funcs[] = { +static const struct luaL_Reg glspi_doc_funcs[] = { {"filename", glspi_filename}, {"fileinfo", glspi_fileinfo}, {"settype", glspi_setfiletype}, Modified: geanylua/glspi_init.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -539,7 +539,7 @@ static gint glspi_rescan(lua_State* L) { return 0; } -static const struct luaL_reg glspi_mnu_funcs[] = { +static const struct luaL_Reg glspi_mnu_funcs[] = { {"rescan", glspi_rescan}, {NULL,NULL} }; Modified: geanylua/glspi_kfile.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -370,7 +370,7 @@ static gint kfile_remove(lua_State* L) -static const struct luaL_reg kfile_funcs[] = { +static const struct luaL_Reg kfile_funcs[] = { {"new", kfile_new}, {"data", kfile_data}, {"groups", kfile_groups}, Modified: geanylua/glspi_run.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -279,7 +279,7 @@ static void glspi_state_done(lua_State *L) -static const struct luaL_reg glspi_timer_funcs[] = { +static const struct luaL_Reg glspi_timer_funcs[] = { {"timeout", glspi_timeout}, {"yield", glspi_yield}, {"optimize", glspi_optimize}, Modified: geanylua/glspi_sci.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -972,7 +972,7 @@ struct Sci_TextToFind { -static const struct luaL_reg glspi_sci_funcs[] = { +static const struct luaL_Reg glspi_sci_funcs[] = { {"text", glspi_text}, {"selection", glspi_selection}, {"select", glspi_select}, Modified: geanylua/gsdlg_lua.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -387,7 +387,7 @@ static gint gsdl_done(lua_State *L) -static const struct luaL_reg gsdl_funcs[] = { +static const struct luaL_Reg gsdl_funcs[] = { {"new", gsdl_new}, {"run", gsdl_run}, {"label", gsdl_label}, -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] bc2bf3: Merge pull request #1342 from b4n/geniuspaste-libsoup3
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:31:53 UTC Commit: bc2bf399cf0f8dccbe678479e9a7520254edbce7
https://github.com/geany/geany-plugins/commit/bc2bf399cf0f8dccbe678479e9a75…
Log Message: ----------- Merge pull request #1342 from b4n/geniuspaste-libsoup3 Various GeniusPaste fixes: * Port to libsoup3 * Avoid GTK3 deprecations * Fix GLib >= 2.79 support * Pastebins updates Modified Paths: -------------- .github/workflows/build.yml build/ci_mingw64_geany_plugins.sh build/geniuspaste.m4 build/gtk-bundle-from-msys2.sh geniuspaste/README geniuspaste/TODO geniuspaste/data/Makefile.am geniuspaste/data/dpaste.com.conf geniuspaste/data/dpaste.org.conf geniuspaste/data/fpaste.org.conf geniuspaste/data/paste.debian.net.conf geniuspaste/data/pastebin.geany.org.conf geniuspaste/data/sprunge.us.conf geniuspaste/src/geniuspaste.c Modified: .github/workflows/build.yml 8 lines changed, 5 insertions(+), 3 deletions(-) =================================================================== @@ -32,7 +32,7 @@ env: jobs: linux: name: Linux Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: CC: ccache gcc @@ -111,7 +111,7 @@ jobs: # geany autopoint gettext - python-docutils + python3-docutils # geany-plugins intltool check @@ -128,16 +128,18 @@ jobs: libgtkspell3-3-dev # geaniuspaste/updatechecker libsoup2.4-dev + libsoup-3.0-dev # git-changebar libgit2-dev # markdown libmarkdown2-dev # markdown/webhelper libwebkit2gtk-4.0-dev + libwebkit2gtk-4.1-dev # pretty-printer libxml2-dev # spellcheck - libenchant-dev + libenchant-2-dev # cppcheck cmake libpcre3-dev Modified: build/ci_mingw64_geany_plugins.sh 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -181,7 +181,7 @@ install_dependencies() { mingw-w64-${ARCH}-gpgme \ mingw-w64-${ARCH}-gtkspell3 \ mingw-w64-${ARCH}-libgit2 \ - mingw-w64-${ARCH}-libsoup \ + mingw-w64-${ARCH}-libsoup3 \ mingw-w64-${ARCH}-lua51 } Modified: build/geniuspaste.m4 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -3,7 +3,8 @@ AC_DEFUN([GP_CHECK_GENIUSPASTE], GP_ARG_DISABLE([GeniusPaste], [auto]) GP_CHECK_PLUGIN_DEPS([GeniusPaste], GENIUSPASTE, - [libsoup-2.4 >= 2.4.0]) + [gtk+-3.0 >= 3.16 + libsoup-3.0]) GP_COMMIT_PLUGIN_STATUS([GeniusPaste]) Modified: build/gtk-bundle-from-msys2.sh 9 lines changed, 7 insertions(+), 2 deletions(-) =================================================================== @@ -21,26 +21,30 @@ EXE_WRAPPER_64="mingw-w64-x86_64-wine" # enchant, hunspell - for SpellCheck plugin # lua51 - for GeanyLua plugin # gnupg, gpgme - for GeanyPG plugin -# libsoup - for UpdateChecker plugin +# libsoup3 - for UpdateChecker & GeniusPaste plugins # libgit2 - for GitChangeBar plugin # gtkspell3 - for GeanyVC plugin # the rest is dependency-dependency packages=" ca-certificates ctags ctpl-git +curl enchant +glib-networking gnupg gpgme +gsettings-desktop-schemas http-parser hunspell libassuan libgcrypt libgit2 libgpg-error libidn2 +libproxy libpsl -libsoup +libsoup3 libssh2 libsystre libunistring @@ -51,6 +55,7 @@ p11-kit readline sqlite3 termcap +zstd " gtk3_dependency_pkgs=" Modified: geniuspaste/README 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -35,8 +35,8 @@ configuration shipped with the plugin, please report the issue to: Requirements ------------ - * GTK+ >= 2.12 - * libsoup 2.4 >= 2.4.0 + * GTK+ >= 3.16 + * libsoup 3.0 Installation ------------ Modified: geniuspaste/TODO 6 lines changed, 4 insertions(+), 2 deletions(-) =================================================================== @@ -2,5 +2,7 @@ TODO ---- - recent pastes history - - URL shortening - + - URL shortening (?) + - authentication (per-pastebin) + - confirmation dialog/infobar? pasted data is potentially sensitive + - support for Gist, which is likely the most used service Modified: geniuspaste/data/Makefile.am 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -4,7 +4,8 @@ plugin = geniuspaste pastebinsdir = $(plugindatadir)/pastebins dist_pastebins_DATA = \ codepad.org.conf \ - dpaste.de.conf \ + dpaste.com.conf \ + dpaste.org.conf \ fpaste.org.conf \ pastebin.geany.org.conf \ paste.debian.net.conf \ Modified: geniuspaste/data/dpaste.com.conf 89 lines changed, 89 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,89 @@ +[pastebin] +name=dpaste.com +url=https://dpaste.com/api/v2/ + +[format] +content=%contents% +title=%title% +syntax=%language% +#expiry_days=%expire_days% +poster=%user% + +[parse] + +[defaults] +language=plain +expire_days=7 + +# map GeanyFileType=PastebinFileType +[languages] +ActionScript=actionscript +Ada=ada +Arduino=arduino +AutoIt=autoit +Batch=batch +BibTeX=bibtex +CAML=ocaml +C=c +C++=cpp +C#=csharp +Clojure=clojure +CMake=cmake +COBOL=cobol +CoffeeScript=coffeescript +Conf=ini +CSS=css +CUDA=cuda +Cython=cython +D=d +Diff=diff +Docbook=xml +Erlang=erlang +F77=fortran +Forth=forth +Fortran=fortran +GDScript=gdscript +GLSL=glsl +Go=go +Graphviz=graphviz +Groovy=groovy +Haskell=haskell +Haxe=haxe +HTML=html +Java=java +Javascript=js +JSON=json +Julia=julia +Kotlin=kotlin +Lisp=common-lisp +Lua=lua +Make=make +Markdown=md +Matlab/Octave=octave +Meson=meson +Nim=nimrod +NSIS=nsis +Objective-C=objective-c +Perl=perl +PHP=php +Po=pot +PowerShell=powershell +Python=python +reStructuredText=rst +Raku=perl6 +Ruby=rb +Rust=rust +Scala=scala +Sh=bash +Smalltalk=smalltalk +SQL=sql +Swift=swift +Tcl=tcl +TypeScript=ts +Vala=vala +Verilog=verilog +VHDL=vhdl +XML=xml +YAML=yaml +Zephir=zephir +None=text Modified: geniuspaste/data/dpaste.org.conf 34 lines changed, 21 insertions(+), 13 deletions(-) =================================================================== @@ -1,6 +1,6 @@ [pastebin] -name=dpaste.de -url=https://dpaste.de/api/ +name=dpaste.org +url=https://dpaste.org/api/ [format] filename=%title% @@ -10,44 +10,51 @@ lexer=%language% [parse] search=^"(.+)"$ -replace=\1 +replace=\\1 [defaults] -# default language to plain which means "Code" -language=plain -expire=604800 +language=_code +expire=2592000 # map GeanyFileType=PastebinFileType [languages] -# list as of 2016-01-14 -None=text +None=_text ActionScript=as +Arduino=arduino +Batch=bat C=c -# better than nothing +# better than nothing, because the configuration has "cpp" disabled C++=c -#CAML=ocaml +C#=csharp +CAML=ocaml Clojure=clojure +CMake=cmake COBOL=cobol +CoffeeScript=coffee-script Conf=ini CSS=css CUDA=cuda +D=d Diff=diff Docbook=xml Erlang=erlang F77=fortran +Forth=forth Fortran=fortran -GLSL=C +GLSL=glsl Go=go Haskell=haskell HTML=html Java=java Javascript=js JSON=json LaTeX=tex +Kotlin=kotlin +Lisp=common-lisp Lua=lua Make=make Matlab/Octave=matlab -Objective-C=objc +Objective-C=objective-c Perl=perl PHP=php PowerShell=powershell @@ -59,6 +66,7 @@ Scala=scala Sh=bash SQL=sql Tcl=tcl +Swift=swift XML=xml YAML=yaml -Zephir=php +Zephir=zephir Modified: geniuspaste/data/fpaste.org.conf 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -17,7 +17,7 @@ title=%title% [parse] search="url" *: *"([^"]+)" -replace=\1 +replace=\\1 # map GeanyFileType=PastebinFileType [languages] Modified: geniuspaste/data/paste.debian.net.conf 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1,6 +1,6 @@ [pastebin]
name=paste.debian.net
-url=http://paste.debian.net/ +url=https://paste.debian.net/ [format] code=%contents% Modified: geniuspaste/data/pastebin.geany.org.conf 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -11,7 +11,7 @@ lexer=%language% [parse] search=^.+$ -replace=\0 +replace=\\0 [defaults] language=text Modified: geniuspaste/data/sprunge.us.conf 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -7,7 +7,7 @@ sprunge=%contents% [parse] search=^[[:space:]]*(.+?)[[:space:]]*$ -replace=\1?%language% +replace=\\1?%language% # map GeanyFileType=PastebinFileType [languages] Modified: geniuspaste/src/geniuspaste.c 97 lines changed, 58 insertions(+), 39 deletions(-) =================================================================== @@ -605,13 +605,15 @@ static SoupMessage *json_request_new(const gchar *method, { SoupMessage *msg = soup_message_new(method, url); GString *str = g_string_new(NULL); + GBytes *bytes; g_string_append_c(str, '{'); g_datalist_foreach(fields, append_json_data_item, str); g_string_append_c(str, '}'); - soup_message_set_request(msg, "application/json", SOUP_MEMORY_TAKE, - str->str, str->len); - g_string_free(str, FALSE); + bytes = g_bytes_new_take(str->str, str->len); + (void) g_string_free(str, FALSE); /* buffer already taken above */ + soup_message_set_request_body_from_bytes(msg, "application/json", bytes); + g_bytes_unref(bytes); return msg; } @@ -657,19 +659,30 @@ static SoupMessage *pastebin_soup_message_new(const Pastebin *pastebin, default: case FORMAT_HTML_FORM_URLENCODED: - msg = soup_form_request_new_from_datalist(method, url, &data); + msg = soup_message_new_from_encoded_form(method, url, + soup_form_encode_datalist(&data)); break; } g_datalist_clear(&data); return msg; } +static gchar *bytes_to_string(GBytes *bytes) +{ + gsize bytes_size = g_bytes_get_size(bytes); + gchar *str = g_malloc(bytes_size + 1); + memcpy(str, g_bytes_get_data(bytes, NULL), bytes_size); + str[bytes_size] = 0; + return str; +} + /* parses @response and returns the URL of the paste, or %NULL on parse error * or if the URL couldn't be found. * @warning: it may return NULL even if @error is not set */ static gchar *pastebin_parse_response(const Pastebin *pastebin, SoupMessage *msg, + GBytes *response_body, GeanyDocument *doc, const gchar *contents, GError **error) @@ -684,7 +697,8 @@ static gchar *pastebin_parse_response(const Pastebin *pastebin, if (! g_key_file_has_group(pastebin->config, PASTEBIN_GROUP_PARSE)) { /* by default, use the response URI (redirect) */ - url = soup_uri_to_string(soup_message_get_uri(msg), FALSE); + url = g_uri_to_string_partial(soup_message_get_uri(msg), + G_URI_HIDE_PASSWORD); } else { @@ -695,7 +709,9 @@ static gchar *pastebin_parse_response(const Pastebin *pastebin, PASTEBIN_GROUP_PARSE_KEY_REPLACE, "\\1"); SETPTR(replace, expand_placeholders(replace, pastebin, doc, contents)); - url = regex_replace(search, msg->response_body->data, replace, error); + gchar *response_str = bytes_to_string(response_body); + url = regex_replace(search, response_str, replace, error); + g_free(response_str); g_free(search); g_free(replace); @@ -757,27 +773,21 @@ static void show_msgbox(GtkMessageType type, GtkButtonsType buttons, /* cppcheck-suppress memleak symbolName=dlg */ } -static void debug_log_message_body(SoupMessage *msg, - SoupMessageBody *body, - const gchar *label) +static void debug_logger(SoupLogger *logger, + SoupLoggerLogLevel level, + char direction, + const char *data, + gpointer user_data) { - if (geany->app->debug_mode) + const char *prefix; + switch (direction) { - gchar *real_uri = soup_uri_to_string(soup_message_get_uri(msg), FALSE); - - soup_message_body_flatten(body); - msgwin_msg_add(COLOR_BLUE, -1, NULL, - "[geniuspaste] %s:\n" - "URI: %s\n" - "Body: %s\n" - "Code: %d (%s)", - label, - real_uri, - body->data, - msg->status_code, - msg->reason_phrase); - g_free(real_uri); + case '>': prefix = "Request: "; break; + case '<': prefix = "Response: "; break; + default: prefix = ""; break; } + + msgwin_msg_add(COLOR_BLUE, -1, NULL, "[geniuspaste] %s%s", prefix, data); } static void paste(GeanyDocument * doc, const gchar * website) @@ -788,6 +798,8 @@ static void paste(GeanyDocument * doc, const gchar * website) SoupMessage *msg; gchar *user_agent = NULL; guint status; + GError *err = NULL; + GBytes *response; g_return_if_fail(doc && doc->is_valid); @@ -816,35 +828,40 @@ static void paste(GeanyDocument * doc, const gchar * website) msg = pastebin_soup_message_new(pastebin, doc, f_content); user_agent = g_strconcat(PLUGIN_NAME, " ", PLUGIN_VERSION, " / Geany ", GEANY_VERSION, NULL); - session = soup_session_async_new_with_options(SOUP_SESSION_USER_AGENT, user_agent, NULL); + session = soup_session_new_with_options("user-agent", user_agent, NULL); + if (geany->app->debug_mode) + { + SoupLogger *logger = soup_logger_new(SOUP_LOGGER_LOG_BODY); + soup_logger_set_printer(logger, debug_logger, NULL, NULL); + soup_session_add_feature(session, SOUP_SESSION_FEATURE(logger)); + g_object_unref(logger); + } g_free(user_agent); - debug_log_message_body(msg, msg->request_body, "Request"); - - status = soup_session_send_message(session, msg); + response = soup_session_send_and_read(session, msg, NULL, &err); g_object_unref(session); - debug_log_message_body(msg, msg->response_body, "Response"); - - if (! SOUP_STATUS_IS_SUCCESSFUL(status)) + status = soup_message_get_status(msg); + if (err || ! SOUP_STATUS_IS_SUCCESSFUL(status)) { show_msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Failed to paste the code"), _("Error pasting the code to the pastebin service %s.\n" "Error code: %u (%s).\n\n%s"), - pastebin->name, status, msg->reason_phrase, - (SOUP_STATUS_IS_TRANSPORT_ERROR(status) + pastebin->name, status, + err ? err->message : soup_message_get_reason_phrase(msg), + (err ? _("Check your connection or the pastebin configuration and retry.") : SOUP_STATUS_IS_SERVER_ERROR(status) ? _("Wait for the service to come back and retry, or retry " "with another pastebin service.") : _("Check the pastebin configuration and retry."))); + g_clear_error(&err); } else { - GError *err = NULL; - gchar *p_url = pastebin_parse_response(pastebin, msg, doc, f_content, - &err); + gchar *p_url = pastebin_parse_response(pastebin, msg, response, doc, + f_content, &err); if (err || ! p_url) { @@ -876,6 +893,8 @@ static void paste(GeanyDocument * doc, const gchar * website) g_free(p_url); } + if (response) + g_bytes_unref(response); g_object_unref(msg); g_free(f_content); } @@ -917,13 +936,13 @@ GtkWidget *plugin_configure(GtkDialog * dialog) gint i; GtkWidget *label, *vbox, *author_label; - vbox = gtk_vbox_new(FALSE, 6); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); label = gtk_label_new(_("Select a pastebin:")); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(label), 0); author_label = gtk_label_new(_("Enter the author name:")); - gtk_misc_set_alignment(GTK_MISC(author_label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(author_label), 0); widgets.author_entry = gtk_entry_new(); -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 8e254b: Update CI for libsoup3
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 8e254b889c1f0c08d0b43fca8e21535095f04785
https://github.com/geany/geany-plugins/commit/8e254b889c1f0c08d0b43fca8e215…
Log Message: ----------- Update CI for libsoup3 Co-Authored-By: Enrico Tröger <enrico.troeger(a)uvena.de> Modified Paths: -------------- .github/workflows/build.yml build/ci_mingw64_geany_plugins.sh build/gtk-bundle-from-msys2.sh Modified: .github/workflows/build.yml 8 lines changed, 5 insertions(+), 3 deletions(-) =================================================================== @@ -32,7 +32,7 @@ env: jobs: linux: name: Linux Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: CC: ccache gcc @@ -111,7 +111,7 @@ jobs: # geany autopoint gettext - python-docutils + python3-docutils # geany-plugins intltool check @@ -128,16 +128,18 @@ jobs: libgtkspell3-3-dev # geaniuspaste/updatechecker libsoup2.4-dev + libsoup-3.0-dev # git-changebar libgit2-dev # markdown libmarkdown2-dev # markdown/webhelper libwebkit2gtk-4.0-dev + libwebkit2gtk-4.1-dev # pretty-printer libxml2-dev # spellcheck - libenchant-dev + libenchant-2-dev # cppcheck cmake libpcre3-dev Modified: build/ci_mingw64_geany_plugins.sh 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -181,7 +181,7 @@ install_dependencies() { mingw-w64-${ARCH}-gpgme \ mingw-w64-${ARCH}-gtkspell3 \ mingw-w64-${ARCH}-libgit2 \ - mingw-w64-${ARCH}-libsoup \ + mingw-w64-${ARCH}-libsoup3 \ mingw-w64-${ARCH}-lua51 } Modified: build/gtk-bundle-from-msys2.sh 9 lines changed, 7 insertions(+), 2 deletions(-) =================================================================== @@ -21,26 +21,30 @@ EXE_WRAPPER_64="mingw-w64-x86_64-wine" # enchant, hunspell - for SpellCheck plugin # lua51 - for GeanyLua plugin # gnupg, gpgme - for GeanyPG plugin -# libsoup - for UpdateChecker plugin +# libsoup3 - for UpdateChecker & GeniusPaste plugins # libgit2 - for GitChangeBar plugin # gtkspell3 - for GeanyVC plugin # the rest is dependency-dependency packages=" ca-certificates ctags ctpl-git +curl enchant +glib-networking gnupg gpgme +gsettings-desktop-schemas http-parser hunspell libassuan libgcrypt libgit2 libgpg-error libidn2 +libproxy libpsl -libsoup +libsoup3 libssh2 libsystre libunistring @@ -51,6 +55,7 @@ p11-kit readline sqlite3 termcap +zstd " gtk3_dependency_pkgs=" -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 0f39c1: geniuspaste: Remove use of deprecated GTK API
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 0f39c188cc00f0844f2c2bc63266f6e6298cf8d2
https://github.com/geany/geany-plugins/commit/0f39c188cc00f0844f2c2bc63266f…
Log Message: ----------- geniuspaste: Remove use of deprecated GTK API Modified Paths: -------------- build/geniuspaste.m4 geniuspaste/README geniuspaste/src/geniuspaste.c Modified: build/geniuspaste.m4 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -3,7 +3,8 @@ AC_DEFUN([GP_CHECK_GENIUSPASTE], GP_ARG_DISABLE([GeniusPaste], [auto]) GP_CHECK_PLUGIN_DEPS([GeniusPaste], GENIUSPASTE, - [libsoup-3.0]) + [gtk+-3.0 >= 3.16 + libsoup-3.0]) GP_COMMIT_PLUGIN_STATUS([GeniusPaste]) Modified: geniuspaste/README 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -35,7 +35,7 @@ configuration shipped with the plugin, please report the issue to: Requirements ------------ - * GTK+ >= 2.12 + * GTK+ >= 3.16 * libsoup 3.0 Installation Modified: geniuspaste/src/geniuspaste.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -936,13 +936,13 @@ GtkWidget *plugin_configure(GtkDialog * dialog) gint i; GtkWidget *label, *vbox, *author_label; - vbox = gtk_vbox_new(FALSE, 6); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); label = gtk_label_new(_("Select a pastebin:")); - gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(label), 0); author_label = gtk_label_new(_("Enter the author name:")); - gtk_misc_set_alignment(GTK_MISC(author_label), 0, 0.5); + gtk_label_set_xalign(GTK_LABEL(author_label), 0); widgets.author_entry = gtk_entry_new(); -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 36d814: geniuspaste: Enable HTTPS for paste.debian.net
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 36d8144b51898c73e1f84daf3e5b57512ba59474
https://github.com/geany/geany-plugins/commit/36d8144b51898c73e1f84daf3e5b5…
Log Message: ----------- geniuspaste: Enable HTTPS for
paste.debian.net
Modified Paths: -------------- geniuspaste/data/paste.debian.net.conf Modified: geniuspaste/data/paste.debian.net.conf 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1,6 +1,6 @@ [pastebin]
name=paste.debian.net
-url=http://paste.debian.net/ +url=https://paste.debian.net/ [format] code=%contents% -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 7dd59a: geniuspaste: Replace dead dpaste.de with dpaste.org
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 7dd59a5a0d05abdd6016393cf74e07f0f25ab15a
https://github.com/geany/geany-plugins/commit/7dd59a5a0d05abdd6016393cf74e0…
Log Message: ----------- geniuspaste: Replace dead dpaste.de with
dpaste.org
Modified Paths: -------------- geniuspaste/data/Makefile.am geniuspaste/data/dpaste.org.conf Modified: geniuspaste/data/Makefile.am 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -4,7 +4,7 @@ plugin = geniuspaste pastebinsdir = $(plugindatadir)/pastebins dist_pastebins_DATA = \ codepad.org.conf \ - dpaste.de.conf \ + dpaste.org.conf \ fpaste.org.conf \ pastebin.geany.org.conf \ paste.debian.net.conf \ Modified: geniuspaste/data/dpaste.org.conf 32 lines changed, 20 insertions(+), 12 deletions(-) =================================================================== @@ -1,6 +1,6 @@ [pastebin] -name=dpaste.de -url=https://dpaste.de/api/ +name=dpaste.org +url=https://dpaste.org/api/ [format] filename=%title% @@ -13,41 +13,48 @@ search=^"(.+)"$ replace=\1 [defaults] -# default language to plain which means "Code" -language=plain -expire=604800 +language=_code +expire=2592000 # map GeanyFileType=PastebinFileType [languages] -# list as of 2016-01-14 -None=text +None=_text ActionScript=as +Arduino=arduino +Batch=bat C=c -# better than nothing +# better than nothing, because the configuration has "cpp" disabled C++=c -#CAML=ocaml +C#=csharp +CAML=ocaml Clojure=clojure +CMake=cmake COBOL=cobol +CoffeeScript=coffee-script Conf=ini CSS=css CUDA=cuda +D=d Diff=diff Docbook=xml Erlang=erlang F77=fortran +Forth=forth Fortran=fortran -GLSL=C +GLSL=glsl Go=go Haskell=haskell HTML=html Java=java Javascript=js JSON=json LaTeX=tex +Kotlin=kotlin +Lisp=common-lisp Lua=lua Make=make Matlab/Octave=matlab -Objective-C=objc +Objective-C=objective-c Perl=perl PHP=php PowerShell=powershell @@ -59,6 +66,7 @@ Scala=scala Sh=bash SQL=sql Tcl=tcl +Swift=swift XML=xml YAML=yaml -Zephir=php +Zephir=zephir -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] 1699a7: geniuspaste: Silence a harmless warning with GLib 2.76+
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: 1699a70e34e918699b9bce288c768d03f2112f28
https://github.com/geany/geany-plugins/commit/1699a70e34e918699b9bce288c768…
Log Message: ----------- geniuspaste: Silence a harmless warning with GLib 2.76+ Modified Paths: -------------- geniuspaste/src/geniuspaste.c Modified: geniuspaste/src/geniuspaste.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -611,7 +611,7 @@ static SoupMessage *json_request_new(const gchar *method, g_datalist_foreach(fields, append_json_data_item, str); g_string_append_c(str, '}'); bytes = g_bytes_new_take(str->str, str->len); - g_string_free(str, FALSE); + (void) g_string_free(str, FALSE); /* buffer already taken above */ soup_message_set_request_body_from_bytes(msg, "application/json", bytes); g_bytes_unref(bytes); -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
[geany/geany-plugins] a597d0: geniuspaste: Add dpaste.com
by Colomban Wendling
16 Jun '24
16 Jun '24
Branch: refs/heads/master Author: Colomban Wendling <ban(a)herbesfolles.org> Committer: Colomban Wendling <ban(a)herbesfolles.org> Date: Sun, 16 Jun 2024 09:27:19 UTC Commit: a597d08555a6263035ae68f509b9f9f37e0a42d5
https://github.com/geany/geany-plugins/commit/a597d08555a6263035ae68f509b9f…
Log Message: ----------- geniuspaste: Add
dpaste.com
Modified Paths: -------------- geniuspaste/data/Makefile.am geniuspaste/data/dpaste.com.conf Modified: geniuspaste/data/Makefile.am 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -4,6 +4,7 @@ plugin = geniuspaste pastebinsdir = $(plugindatadir)/pastebins dist_pastebins_DATA = \ codepad.org.conf \ + dpaste.com.conf \ dpaste.org.conf \ fpaste.org.conf \ pastebin.geany.org.conf \ Modified: geniuspaste/data/dpaste.com.conf 89 lines changed, 89 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,89 @@ +[pastebin] +name=dpaste.com +url=https://dpaste.com/api/v2/ + +[format] +content=%contents% +title=%title% +syntax=%language% +#expiry_days=%expire_days% +poster=%user% + +[parse] + +[defaults] +language=plain +expire_days=7 + +# map GeanyFileType=PastebinFileType +[languages] +ActionScript=actionscript +Ada=ada +Arduino=arduino +AutoIt=autoit +Batch=batch +BibTeX=bibtex +CAML=ocaml +C=c +C++=cpp +C#=csharp +Clojure=clojure +CMake=cmake +COBOL=cobol +CoffeeScript=coffeescript +Conf=ini +CSS=css +CUDA=cuda +Cython=cython +D=d +Diff=diff +Docbook=xml +Erlang=erlang +F77=fortran +Forth=forth +Fortran=fortran +GDScript=gdscript +GLSL=glsl +Go=go +Graphviz=graphviz +Groovy=groovy +Haskell=haskell +Haxe=haxe +HTML=html +Java=java +Javascript=js +JSON=json +Julia=julia +Kotlin=kotlin +Lisp=common-lisp +Lua=lua +Make=make +Markdown=md +Matlab/Octave=octave +Meson=meson +Nim=nimrod +NSIS=nsis +Objective-C=objective-c +Perl=perl +PHP=php +Po=pot +PowerShell=powershell +Python=python +reStructuredText=rst +Raku=perl6 +Ruby=rb +Rust=rust +Scala=scala +Sh=bash +Smalltalk=smalltalk +SQL=sql +Swift=swift +Tcl=tcl +TypeScript=ts +Vala=vala +Verilog=verilog +VHDL=vhdl +XML=xml +YAML=yaml +Zephir=zephir +None=text -------------- This E-Mail was brought to you by github_commit_mail.py (Source:
https://github.com/geany/infrastructure
).
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
547
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
Results per page:
10
25
50
100
200