| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is always the case, so we can drop it from our code.
|
| |
|
|
|
|
|
|
| |
Now that there is no longer wrapped objects and calling via GObject
Introspection, we can remove the use of PeasExtension and simply use
GObject (as it was internally already).
|
|
|
|
|
| |
Make sure that only <libpeas.h> is included directly. Additionally this
ensures we always have LIBPEAS_COMPILATION set when building libpeas.
|
|
|
|
|
| |
There is no need to do the HAVE_CONFIG_H thing with meson. We always have
a config.h so just include it unconditionally.
|
|
|
|
|
| |
We can rely on modern compilers to support #pragma once instead of doing
the #ifndef style.
|
|
|
|
|
| |
Just a nice thing to have in headers to make it clearer for people who
casually find themselves reading, and perhaps copying, the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This starts the process of working towards a new Libpeas 2.0 ABI. The
goals of this ABI break are:
* Modernize and cleanup GObject usage within libpeas
* Use GObject's in more places to allow for better GIO integration
* Implement GListModel where it makes sense
* Remove GTK 3 and GTK-based APIs as those are trivial to implement in
applications with GTK 4 and newer.
* Drop Python 2 support
* Simplify support for new plugin loaders
# Conflicts:
# NEWS
# meson.build
|
|
|
|
|
|
| |
We don't want these applied to the gir compilation, so manually add the
project_c_args to the targets we care about having min/max glib version
applied.
|
|
|
|
|
|
| |
We construct them dynamically according to the path that the libpeas DLL
is in, so that they can be relocated easily on Windows, which is often
the case there.
|
| |
|
|
|
|
|
| |
Also: ensure that the extension of the loader plugins is set to so on
macOS
|
|
|
|
|
| |
The Python 2 loader is still named `pythonloader`. This fixes the name
of the loader so that it is properly loaded.
|
|
|
|
|
| |
This patch fixes a segfault which occurred whenever instantiating an
object that derived from GInitiallyUnowned, such as GtkWidget.
|
|
|
|
|
|
| |
This ensures that we don't use API that we cannot use, but also ensures
that we don't need to litter the source code with begin/end ignore
deprecations.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The meson build system focuses on speed an ease of use,
which helps speeding up the software development.
https://bugzilla.gnome.org/show_bug.cgi?id=793916
https://gitlab.gnome.org/GNOME/libpeas/issues/26
Closes #26
|
| |
|
| |
|
|
|
|
|
|
| |
This seems to be a bugfix for jhbuild from 2009
and is no longer needed. It has also been known
to cause issues for some.
|
|
|
|
|
| |
This is required as we are using g_ascii_strtoll()
and checking for G_MAXINT64.
|
| |
|
|
|
|
|
|
| |
Popping the first item from the module paths
was only required when PySys_SetArgv() was used.
https://bugzilla.gnome.org/show_bug.cgi?id=753401
|
|
|
|
|
|
|
| |
Running it in an idle shouldn't be needed, this was originally
copied from gedit's old plugin engine. This also fixes a
weird crash under Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=748075
|
|
|
|
| |
No need to catch the AttributeError, instead simply
use getattr with a default value.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=599120
|
|
|
|
|
|
|
|
|
| |
This implements a strict mode which prevents the
creation of globals, except when using rawset().
This can be disabled for incompatible code by setting
__STRICT to false.
https://bugzilla.gnome.org/show_bug.cgi?id=742557
|
|
|
|
|
|
|
| |
This allows us to avoid using Lua's C API and have a
more understandable implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=742410
|
|
|
|
|
|
|
| |
Using "peas-plugin-loader-lua" as a
prefix is just too long.
https://bugzilla.gnome.org/show_bug.cgi?id=742410
|
|
|
|
|
| |
This prevents leaking the various PyObjects,
at least on our end.
|
|
|
|
|
| |
We are actually calling call() at this point, not
the specific method that will be called from there.
|
|
|
|
| |
Python uses many globals, we might as well do the same.
|
|
|
|
|
|
| |
Instead of going through every local in the
plugin just check those in __all__, if defined.
https://bugzilla.gnome.org/show_bug.cgi?id=741802
|
|
|
|
|
|
| |
This adds format_plugin_exception() which
removes all internal Python frames from the traceback.
https://bugzilla.gnome.org/show_bug.cgi?id=742349
|
|
|
|
|
|
|
| |
Use a Python hook to implement the call logic.
This allows us to have verbose error messages
and include the exception traceback.
https://bugzilla.gnome.org/show_bug.cgi?id=742349
|
|
|
|
|
|
|
| |
This allows us to avoid the CPython API and have a
more understandable implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=742349
|