| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Drop static plugin build support
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Install libpurple headers to more standard location and generate purple.h from meson list
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Fix a selection of Pidgin GIR and doc warnings and issues
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
|
| | |
| | |
| | |
| | |
| | |
| | | |
It was decided the pidgin_talkatu_buffer_new_for_connection()
docstring could be a little clearer/more specific. This patch
improves it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds some section documentation to pidginabout.h, which
when missing caused its entry in the documentation to simply show
its filename.
|
| | |
| | |
| | |
| | |
| | | |
This patch adds some missing Pidgin sections to the documentation
which was causing some warnings.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix xfer.h GObject Introspection Warnings
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Omit HTTP API from GObject introspection
Approved-by: Gary Kramlich
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix GIR warnings for proxy.h and sslconn.h
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch makes PurpleProxyInfo a boxed type in order to play nicely
with GObject introspection, fixing some warnings in the process.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This patch replaces direct usage of 'extern "C"', guarded with
_cplusplus, with GLib's G_BEGIN_DECLS and G_END_DECLS.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
libpurple: Port almost self-contained code from g_type_class_add_private()
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pidgin: Drop specific Pango dependency check
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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 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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make 'nls' option only toggle building po/ and .desktop files
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Add --quiet argument to gnome.generate_gir() calls
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| |/
| |
| |
| |
| |
| | |
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?
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
doc: Remove some straggling libgnt doc bits from Finch docs
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| |
| |
| |
| |
| | |
This patch removes a few ignored hfile lines which were left over
from splitting out libgnt.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix console-logging=true and bitbucket-pipelines.yml
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|
| | |
| | |
| | |
| | |
| | | |
Pidgin's 'debug' build option was renamed to 'console-logging', but
the bitbucket-pipelines.yml file wasn't updated. This patch updates it.
|
| |/
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Switch to external libgnt
Approved-by: Gary Kramlich
Approved-by: Mike Ruprecht
|
| |
| |
| |
| |
| | |
This should hopefully be temporary until libgnt wraps the functionality.
|
| |
| |
| |
| |
| |
| | |
Meson currently has bug with initializing subprojects:
https://github.com/mesonbuild/meson/pull/4543
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
irc: Implement URI handler
Approved-by: Gary Kramlich
Approved-by: Eion Robb
|