Thomas Perl
481400b53d
Convert Python set and iterable to JS Array
2014-06-10 18:06:22 +02:00
Thomas Perl
5c8d9cfe57
QML API 1.3: Add support for qrc:/ import paths. Fixes #2
2014-02-16 22:25:38 +01:00
Thomas Perl
e201eecfff
Converter: Support for date, time and datetime. Fixes #12
...
Python datetime.date <-> Qt QDate <-> QML date
Python datetime.time <-> Qt QTime <-> QML time
Python datetime.datetime <-> Qt QDateTime <-> JS Date
Python C API docs for those data types:
http://docs.python.org/3/c-api/datetime.html
QML docs for those data types:
http://qt-project.org/doc/qt-5.1/qtqml/qtqml-cppintegration-data.html#qdatetime-to-javascript-date
http://qt-project.org/doc/qt-5.1/qtqml/qml-date.html
http://qt-project.org/doc/qt-5.1/qtqml/qml-time.html
2014-02-13 00:04:48 +01:00
Thomas Perl
4028d4f3b8
QML API 1.2: Handle JS exceptions in callbacks from Python
...
Also improve error message in pyotherside.send() callback handler
to include filename and line number.
2014-02-12 23:02:57 +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
be1edb6b5c
New methods: pluginVersion() and pythonVersion()
2014-02-06 22:49:43 +01:00
Thomas Perl
71049fc5d7
Cleanup documentation, packaging and file structure
2014-02-06 21:17:04 +01:00
Thomas Perl
6567f9e8b9
Error handling when using call() without a parameter list
2014-01-20 19:57:01 +01: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
defbab1467
Fix build, move worker code to qpython_worker
2013-08-08 18:06:19 +02:00
Thomas Perl
34ea420787
Initial commit
2013-08-07 21:47:24 +02:00