1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-28 23:52:55 +08:00

43 Commits

Author SHA1 Message Date
Thomas Perl
270d67fe78 Fix building with GCC 4.6 on Ubuntu
const-ness fix for the call to PyImport_ImportModuleEx and
rename major/minor to avoid clashes on some systems due to
sysmacros.h #define'ing minor and major.
2014-02-09 15:25:41 +01:00
Thomas Perl
28d5e9289c QML API 1.2: Fix importModule() behavior. Fixes #3
This changes the behavior of an existing function, so we need to
bump the QML import version to still support code that depends on
the old (broken) behavior of the importModule() function.
2014-02-08 15:29:02 +01:00
Thomas Perl
cb593f5980 PyOtherSide 1.1.0 1.1.0 2014-02-06 22:57:09 +01:00
Thomas Perl
aaecf7b195 Fix typos in the documentation 2014-02-06 22:53:51 +01:00
Thomas Perl
2d6a666b52 Project file: add "sdist" target to create source tarball 2014-02-06 22:50:48 +01:00
Thomas Perl
be1edb6b5c New methods: pluginVersion() and pythonVersion() 2014-02-06 22:49:43 +01:00
Thomas Perl
da02a1ce9b Update documentation with version changelog and markup fixes 2014-02-06 22:19:59 +01:00
Thomas Perl
2a79458c68 addImportPath: Strip leading "file://" (for use with Qt.resolvedUrl())
Also update examples to use the new feature.
2014-02-06 21:56:52 +01:00
Thomas Perl
c9934cb2fc Restructure examples 2014-02-06 21:31:24 +01:00
Thomas Perl
71049fc5d7 Cleanup documentation, packaging and file structure 2014-02-06 21:17:04 +01:00
Thomas Perl
44f03f237e Remove obsolete Doxyfile and non-upstream packaging 2014-02-06 21:16:38 +01:00
Thomas Perl
ae8145e5ef Add Sphinx-based Developer Guide documentation 2014-02-06 00:28:18 +01:00
Thomas Perl
42e9b4ef2f New example: Populating list models from Python 2014-02-06 00:27:49 +01:00
Thomas Perl
5b77464a3e [packaging] Fix problems with QJSValue thread access packaging/1.0.0-9 2014-02-05 00:02:51 +01:00
Thomas Perl
c765bf3d03 Don't pass QJSValue by value between different threads
This also avoids having additional signals when the callback isn't
a callable by not creating a QJSValue referencing the callback.
2014-02-04 22:13:05 +01:00
Thomas Perl
a621f8c8ec Set object name on thread 2014-02-04 21:14:00 +01:00
Thomas Perl
9324ab3238 Happy New Year 2014-02-04 21:00:48 +01:00
Thomas Perl
ecdb478dd4 Add packaging material for Fedora
This makes it easy to build a development RPM package for using
PyOtherSide on a Fedora machine. This it not intended to build
source tarballs, releases or .spec files for proper distribution
packages, but rather as convenience during development from Git.
2014-01-31 11:57:30 +01:00
Thomas Perl
6a3264f290 Update URL in .spec file 2014-01-31 11:42:20 +01:00
Thomas Perl
6567f9e8b9 Error handling when using call() without a parameter list 2014-01-20 19:57:01 +01:00
Thomas Perl
2642910c08 Fix const-ness in global_libpython_loader 2014-01-20 19:29:19 +01:00
Thomas Perl
c659fa7722 Merge pull request #7 from thp/load-libpython-globally
Load libpython globally on Linux distributions
2014-01-20 10:20:58 -08:00
Thomas Perl
53273dad50 Check JS callback errors. Fixes #9
Thanks to Osmo Salomaa for the original report and test case.
2014-01-20 19:09:57 +01:00
Thomas Perl
bbe94ecfd9 [packaging] Better error handling packaging/1.0.0-8 2014-01-06 13:06:29 +01:00
Thomas Perl
c14a983713 Better error reporting (also print everything to the console) packaging/1.0.0-7 2014-01-04 13:14:36 +01:00
Thomas Perl
ee11e74822 Cleanup error handling code, remove assertions packaging/1.0.0-6 2014-01-04 12:35:18 +01:00
Thomas Perl
898fc50c2b [packaging] Add runtime dependency on python3-base
python3-base contains all the standard library modules,
which most users of PyOtherSide will want to use.
packaging/1.0.0-5
2013-11-06 09:20:32 +01:00
Thomas Perl
5289b79e7d Load libpython globally on Linux distributions 2013-11-02 14:33:56 +01:00
Thomas Perl
5dbde1fc30 Packaging: add Qt5Quick as dependency packaging/1.0.0-4 2013-10-09 00:47:48 +02:00
Thomas Perl
23227a8374 Example using matplotlib + numpy packaging/1.0.0-3 2013-10-06 15:13:48 +02:00
Thomas Perl
dc8cfb4f09 Image provider: Support returning encoded image data
This allows the additional use case of reading e.g. PNG tiles from a
database and passing them to Qt without decoding first (see issue #1).
2013-10-05 14:25:51 +02:00
Thomas Perl
211a04f7b3 Add support for Python-based image providers. Fixes #1 2013-10-05 14:05:18 +02:00
Thomas Perl
f1cbc8ca75 qpython_priv: Avoid crash when no QPython object was ever instanced
When importing "io.thp.pyotherside" in a QML file, but no Python {}
object is created during runtime, PyOtherSide would crash at exit.
2013-10-05 09:57:14 +02:00
Thomas Perl
8d09d7a6fb Documentation fix 2013-09-30 14:43:36 +02:00
Thomas Perl
f79a434934 Add some instructions how to build for BB10 2013-09-28 01:44:28 +02:00
Thomas Perl
bb54a26bac Disable some unused documentation features 2013-08-08 18:15:45 +02:00
Thomas Perl
defbab1467 Fix build, move worker code to qpython_worker 2013-08-08 18:06:19 +02:00
Thomas Perl
ad62b4dc2b Add API documentation using Doxygen 2013-08-08 17:55:38 +02:00
Thomas Perl
0c8bd9e07a Update packaging metadata
[packaging] Revision 2 - fix a build issue on x86_64
packaging/1.0.0-2
2013-08-08 10:36:56 +02:00
Thomas Perl
17dc9b86be Fix a minor issue in checking QVariant validity 2013-08-08 10:36:30 +02:00
Thomas Perl
8519b9a5df Add RPM packaging
[packaging] Initial packaging
packaging/1.0.0-1
2013-08-08 10:31:54 +02:00
Thomas Perl
c7b62cb390 Fix qmldir location 2013-08-08 10:24:12 +02:00
Thomas Perl
34ea420787 Initial commit 2013-08-07 21:47:24 +02:00