summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* closing merged branchfix-plugins-dialogGary Kramlich2019-01-100-0/+0
|
* pidgin: Fix corrupted plugins dialog when loading failsPetteri Pitkänen2019-01-082-1/+2
|
* Merged in default (pull request #448)Gary Kramlich2018-12-2816-208/+16
|\ | | | | | | | | | | | | | | Drop static plugin build support Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * libpurple: Remove unused static build support code from plugins.hMike Ruprecht2018-12-081-76/+4
| | | | | | | | | | | | | | Now that we've removed the remaining capability for protocol plugins to be built statically, we can remove the unused defines from plugins.h. PURPLE_IMPLEMENT_INTERFACE_STATIC remains as a lot of the protocol plugins use it for interfaces defined in libpurple.
| * libpurple: Drop capability to statically build prplsMike Ruprecht2018-12-0814-131/+11
| | | | | | | | | | | | | | | | The static building of protocol plugins has been completely broken since switching to meson. Because of this and the prospect of GPlugin growing capabilities for limiting allowed plugins, this patch drops the remaining meson configuration for attempting to support static protocol plugins.
| * Fix gtkticker plugin lacking PURPLE_PLUGINS define if enabledMike Ruprecht2018-12-081-1/+1
| | | | | | | | | | | | | | Pidgin's gtkticker plugin was being compiled without a PURPLE_PLUGINS define. This caused it to define static GObject types instead of the intended dynamic types. This patch includes "purple.h" which defines this variable if available.
* | Merged in default (pull request #450)Gary Kramlich2018-12-282-58/+22
|\ \ | | | | | | | | | | | | | | | | | | Install libpurple headers to more standard location and generate purple.h from meson list Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich
| * | libpurple: Generate purple.h includes with meson headers listMike Ruprecht2018-12-102-49/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces purple.h's hardcoded list of includes with a list generated from meson's list of headers. This way if any headers are added or removed, the list will be updated automatically. One notable difference is that this changes includes in purple.h from 'example.h' to 'libpurple/example.h'. This was done because some plugins have headers which are named the same as libpurple/ headers, which weren't previously included in 'purple.h'. Including them simply as the base name caused the plugin local header to be included instead and the build to fail. Adding the libpurple/ directory to the include statement fixes this.
| * | libpurple: Install headers into a standard subdirectoryMike Ruprecht2018-12-111-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes libpurple's header files be installed in a standard subdirectory. Instead of installing to ${includedir}/libpurple, it now installs purple.h into ${includedir}/purple-3/ and all the rest into ${includedir}/purple-3/libpurple/. This should avoid conflicting with libpurple 2, in addition to setting us up for the more standard single header include pattern. Ideally, the inner directory should be named purple/, but doing so would break third parties. Therefore to maintain compatibility, it remains libpurple until most projects have ported to use purple.h. Additionally, this patch adds both purple-3/ and purple-3/libpurple directories to the Cflags variable in its pkg-config file for the same reason. The latter should be removed once we're ready to break this compatibility via renaming the inner directory to purple/ and/or causing including non-purple.h headers from an external project to throw an error.
| * | libpurple: Pull common file naming out into variable in meson fileMike Ruprecht2018-12-111-3/+5
| |/ | | | | | | | | | | This patch pulls the common naming format of 'purple-${major_version}' out into its own common variable. This way it's easier to maintain consistency with files using this naming pattern.
* | Merged in default (pull request #457)Gary Kramlich2018-12-163-0/+28
|\ \ | | | | | | | | | | | | | | | | | | Fix a selection of Pidgin GIR and doc warnings and issues Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich
| * | pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstringMike Ruprecht2018-12-151-1/+2
| | | | | | | | | | | | | | | | | | It was decided the pidgin_talkatu_buffer_new_for_connection() docstring could be a little clearer/more specific. This patch improves it.
| * | doc: Add missing section documentation to pidginabout.hMike Ruprecht2018-12-141-0/+7
| | | | | | | | | | | | | | | | | | This patch adds some section documentation to pidginabout.h, which when missing caused its entry in the documentation to simply show its filename.
| * | doc: Add missing Pidgin sections to documentationMike Ruprecht2018-12-141-0/+3
| | | | | | | | | | | | | | | This patch adds some missing Pidgin sections to the documentation which was causing some warnings.
| * | pidgin: Add documentation for functions in pidgintalkatu.hMike Ruprecht2018-12-141-0/+17
| | | | | | | | | | | | | | | | | | This patch adds documentation and therefore annotations to the functions in pidgin/pidgintalkatu.h. Doing so silences a couple of warnings when building our GObject introspection.
* | | Merged in default (pull request #455)Gary Kramlich2018-12-151-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix xfer.h GObject Introspection Warnings Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | libpurple: Fix GObject introspection annotations on a few functionsMike Ruprecht2018-12-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds some missing "transfer" and "element-type" annotations on functions in libpurple/xfer.h. It also fixes a documentation comment which was pointing to the wrong function.
| * | | libpurple: Fix xfer.h GObject introspection warningsMike Ruprecht2018-12-131-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of the way the PurpleProtocolXferInterface's virtual function arguments were named, the g-ir-scanner threw warnings as they didn't match their wrapper function analogs. Arguably this is a bug in the g-ir-scanner, but it's harmless to rename these. This patch does so silencing these warnings.
* | | | Merged in default (pull request #460)Gary Kramlich2018-12-151-66/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Omit HTTP API from GObject introspection Approved-by: Gary Kramlich
| * | | | libpurple: Add missing docs for a few HTTP functions and (skip) themMike Ruprecht2018-12-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds some missing documentation for the connection set functions in the HTTP API and adds (skip) GObject introspection annotations to them. The rest of the API has already had these annotations added. Doing so fixes some GObject introspection warnings.
| * | | | libpurple: Add (skip) annotations to functions in http.hMike Ruprecht2018-12-141-66/+66
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds GObject introspection (skip) annotations to the probably soon to be deprecated HTTP functions in http.h. New code and therefore introspection consumers should probably be using libSoup instead of this API. Doing so fixes some GObject introspection warnings.
* | | | Merged in default (pull request #459)Gary Kramlich2018-12-153-13/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix GIR warnings for proxy.h and sslconn.h Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | | libpurple: Make PurpleProxyInfo a boxed typeMike Ruprecht2018-12-142-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | This patch makes PurpleProxyInfo a boxed type in order to play nicely with GObject introspection, fixing some warnings in the process.
| * | | | libpurple: Skip deprecated functions in sslconn.h and proxy.hMike Ruprecht2018-12-142-13/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds GObject introspection (skip) annotations to the informally deprecated network connection functions in sslconn.h and proxy.h. New code and therefore introspection consumers should use Gio, such as GSocketClient and GTlsClientConnection, for this functionality.
* | | | Merged in default (pull request #458)Gary Kramlich2018-12-157-46/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C" Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | | Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"Mike Ruprecht2018-12-147-46/+14
| |/ / / | | | | | | | | | | | | | | | | This patch replaces direct usage of 'extern "C"', guarded with _cplusplus, with GLib's G_BEGIN_DECLS and G_END_DECLS.
* | | | libpurple: Add docs for marshallers to silence introspection warningsMike Ruprecht2018-12-131-0/+434
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This patch adds documentation for the purple_marshal_* functions, in order to silence the 40 or so missing scope warnings that building our GObject introspection emits. It's unfortunate to add so much documentation to functions that ideally would be replaced with a generic marshaller, but until a better solution is found, this patch at least silences these 40 warnings.
* | | Merged in default (pull request #451)Gary Kramlich2018-12-1412-615/+481
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | libpurple: Port almost self-contained code from g_type_class_add_private() Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | libpurple: Port almost self-contained code from g_type_class_add_private()Mike Ruprecht2018-12-0612-615/+481
| | |/ | |/| | | | | | | | | | | | | | | | | | | This patch ports the almost self-contained libpurple GObjects away from the deprecated g_type_class_add_private() function in favor of the G_DEFINE_TYPE_WITH_PRIVATE() macro. None of these require changes to anything other than their own .c and .h files. It removes the const qualifier from some of the functions for simplicity.
* | | Merged in default (pull request #452)Gary Kramlich2018-12-142-5/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pidgin: Drop specific Pango dependency check Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | Pidgin: Drop specific Pango dependency checkMike Ruprecht2018-12-122-5/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | We depend on Pango >= 1.4 for decent RTL support. Our minimum Gtk dependency of >= 3.10 depends on Pango >= 1.32.4. Therefore via Gtk, we depend on a plenty high enough version automatically. This patch removes the explicit check. It also removes the single set of guards for this, though it's effectively commented out anyway.
* | | Merged in default (pull request #453)Gary Kramlich2018-12-142-24/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | oscar: Remove dead usage of tm.tm_gmtoff and HAVE_TM_GMTOFF config Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | | oscar: Remove dead usage of tm.tm_gmtoff and HAVE_TM_GMTOFF configMike Ruprecht2018-12-122-24/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Oscar at one time used tm.tm_gmtoff in order to offset a timestamp. Now, the function is always passed 0 for the timestamp, which avoids this code path. Therefore, this patch removes the timestamp argument from the function, removes the dead code path which included the only usage of tm.tm_gmtoff, and gets rid of the check/setting in meson for HAVE_TM_GMTOFF.
* | | Merged in default (pull request #449)Gary Kramlich2018-12-1411-73/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make 'nls' option only toggle building po/ and .desktop files Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich
| * | | Remove ENABLE_NLS guards, making 'nls' only affect po/ directoryMike Ruprecht2018-12-087-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | This patch makes the 'nls' build option only enable/disable building the po/ directory, and consequently .desktop files, by removing the ENABLE_NLS guards and config definition from the codebase.
| * | | libpurple: Include 'glib/gi18n-lib.h' instead of 'libintl.h'Mike Ruprecht2018-12-083-50/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces includes of 'libintl.h' with 'glib/gi18n-lib.h'. The latter defines the macros we use, so we can remove our manual fallbacks. It also removes 'locale.h' from 'internal.h' as it's included only where needed now. Lastly, it defines GETTEXT_PACKAGE to be the same as the PACKAGE define. 'glib/gi18n-lib.h' uses this for its i18n macros.
| * | | Include 'locale.h' directly in files which use setlocale()Mike Ruprecht2018-12-082-4/+2
| |/ / | | | | | | | | | | | | | | | In preparation for making the 'nls' build option only enable/disable building the po/ directory, this patch includes 'locale.h' in files which use it directly.
* | | Merged in default (pull request #454)Gary Kramlich2018-12-143-3/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Add --quiet argument to gnome.generate_gir() calls Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | Add --quiet argument to gnome.generate_gir() callsMike Ruprecht2018-12-133-3/+6
| |/ | | | | | | | | | | Adding the --quiet argument to gnome.generate_gir() silences informational build output such as what g-ir-scanner was called with. Gtk and others do this, so why don't we as well?
* | Merged in default (pull request #445)Gary Kramlich2018-12-091-4/+0
|\ \ | |/ |/| | | | | | | | | | | doc: Remove some straggling libgnt doc bits from Finch docs Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * doc: Remove some straggling libgnt doc bits from Finch docsMike Ruprecht2018-12-061-4/+0
| | | | | | | | | | This patch removes a few ignored hfile lines which were left over from splitting out libgnt.
* | Merged in default (pull request #444)Gary Kramlich2018-12-092-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | Fix console-logging=true and bitbucket-pipelines.yml Approved-by: Elliott Sales de Andrade Approved-by: Gary Kramlich Approved-by: Eion Robb
| * | bitbucket-pipelines.yml: Update renamed 'debug' option to 'console-logging'Mike Ruprecht2018-11-301-1/+1
| | | | | | | | | | | | | | | Pidgin's 'debug' build option was renamed to 'console-logging', but the bitbucket-pipelines.yml file wasn't updated. This patch updates it.
| * | pidgin: Fix compiling with -Dconsole-logging=trueMike Ruprecht2018-11-301-1/+1
| |/ | | | | | | | | | | | | With -Dconsole-logging=true, Pidgin would fail to build because a GError variable, which is now used regardless of this option, was declared only when the option was false. This patch moves it so it's declared regardless of the option.
* | libpurple: Port self-contained code from g_type_class_add_private()Mike Ruprecht2018-11-0112-530/+257
|/ | | | | | This patch ports the self-contained libpurple GObjects away from the deprecated g_type_class_add_private() function in favor of the G_DEFINE_TYPE_WITH_PRIVATE() macro.
* Merged in default (pull request #440)Gary Kramlich2018-12-0486-22474/+101
|\ | | | | | | | | | | | | Switch to external libgnt Approved-by: Gary Kramlich Approved-by: Mike Ruprecht
| * Add explicit ncurses dependency to finch.Elliott Sales de Andrade2018-11-297-5/+83
| | | | | | | | | | This should hopefully be temporary until libgnt wraps the functionality.
| * Clone libgnt before CI build.Elliott Sales de Andrade2018-11-221-0/+3
| | | | | | | | | | | | Meson currently has bug with initializing subprojects: https://github.com/mesonbuild/meson/pull/4543
| * Switch to external libgnt with fallback.Elliott Sales de Andrade2018-11-2279-22470/+16
| |
* | Merged in default (pull request #435)Gary Kramlich2018-12-041-0/+154
|\ \ | | | | | | | | | | | | | | | | | | irc: Implement URI handler Approved-by: Gary Kramlich Approved-by: Eion Robb