summaryrefslogtreecommitdiff
path: root/src/caja-python.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-18Python 3.13 removes PySys_SetArgv(): set sys.argv in Python language.Patrick Monnerat1-11/+4
2021-12-11Use a blank line at mostrbuj1-2/+0
2021-10-26caja-python: do not discard const modifier in PyImport_ImportModuleExrbuj1-1/+1
PyObject *PyImport_ImportModuleEx(const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist)
2021-10-26caja-python: missing g_strduprbuj1-2/+2
2020-12-06caja-python: remove warnings about conversionrbuj1-3/+3
2020-04-25caja-python: Fix memory leak reported by scan-buildrbuj1-0/+2
2019-12-25drop Python 2 support (#50)monsta1-17/+3
it's going EOL in 2020
2019-07-06Remove trailing whitespacesLaurent Napias1-13/+13
2019-03-31Make Caja.OperationHandle usable.Patrick Monnerat1-1/+52
The Caja.OperationHandle.handle property is added: this gives access to the effective handle taking the form of a non-zero signed integer that can be stored in a void pointer. Trying to set this property with an invalid value raises an exception. Upon update_file_info_full call, the new Caja.OperationHandle is preset with a "unique" non-null value generated from an atomic counter. When the python method returns, the handle value is transmitted to Caja whatever it is: this fixes the problem of Caja expecting a non-null handle when CAJA_OPERATION_IN_PROGRESS is returned. Ref: https://github.com/mate-desktop/python-caja/issues/36
2019-01-30Include Python 3 ABI flags in shared library name.Patrick Monnerat1-2/+2
Python 3 appends the ABI flags to the version in the shared library file name: since this library is loaded as a gmodule, the correct file name must be provided.
2019-01-30Make Python statements compatible with version 2 and 3.Patrick Monnerat1-1/+1
2019-01-30Implement Python 3 C API compatibility using conditional and macros.Patrick Monnerat1-1/+11
The updated sources are still compatible with Python 2.
2017-07-26use standard python exception messagemonsta1-1/+1
2017-07-21Added gi.require_version()leigh123linux1-1/+14
taken from: https://github.com/linuxmint/nemo-extensions/commit/67cc631
2016-04-05fix indent a bitmonsta1-12/+12
2016-03-07expose child python filenames to cajaAlexander van der Meij1-0/+12
2014-01-08Revert "Do not dlopen libpython"infirit1-0/+6
This reverts commit d63756bd11b097f11f115d5477110893b7ee16a2. Causes problems like the following issue on github: https://github.com/mate-desktop/python-caja/issues/5
2013-01-22Do not dlopen libpythonYaakov Selkowitz1-6/+0
As libcaja-python is linked with -lpythonX.Y on all platforms, there is no need to dlopen libpython in order to load it.
2013-01-22Drop support for old script locationYaakov Selkowitz1-9/+0
Now is a good time as any, with the extension API changing to g-i.
2013-01-22Convert to g-iYaakov Selkowitz1-121/+11
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-1/+1
2012-01-13initial import from Mate-Extra repoStefano Karapetsas1-0/+403