-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TileSet Python export plugins (fixes #1865) #3857
Commits on Dec 12, 2023
-
TileSet Python export plugins (fixes mapeditor#1865)
Extended the Python plugin to support custom tileset exporters and readers written in Python.
Configuration menu - View commit details
-
Copy full SHA for 86cfa26 - Browse repository at this point
Copy the full SHA 86cfa26View commit details
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b065185 - Browse repository at this point
Copy the full SHA b065185View commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4260fe - Browse repository at this point
Copy the full SHA a4260feView commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 330e6e0 - Browse repository at this point
Copy the full SHA 330e6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc6b3c3 - Browse repository at this point
Copy the full SHA fc6b3c3View commit details
Commits on Apr 19, 2024
-
* Un-duplicated setPythonClass function * Removed unused pluginmanager.h include * Fixed cleanup code related to reloading plugins in case a plugin changes from defining a map format to a tileset format or vice versa. * Allow a Python plugin to include both a map and a tileset format (though only one of each).
Configuration menu - View commit details
-
Copy full SHA for 8499992 - Browse repository at this point
Copy the full SHA 8499992View commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c91ba3 - Browse repository at this point
Copy the full SHA 8c91ba3View commit details -
Fixed Python include path not recognized in Qt Creator
It appears Qt Creator's Qbs support does not include looking for compiler flags setting include paths (-I). They need to be actually set using cpp.includePaths.
Configuration menu - View commit details
-
Copy full SHA for d3c4e9d - Browse repository at this point
Copy the full SHA d3c4e9dView commit details -
Also set cpp.defines for completeness
There are actually no defines coming from python3-embed for me.
Configuration menu - View commit details
-
Copy full SHA for 504854f - Browse repository at this point
Copy the full SHA 504854fView commit details -
Fixed repeated calls to findPluginSubclass
The problem was that handleError was not called when PyObject_IsSubclass returned -1, which it commonly did when called with a value that wasn't a class. With the error indicator still set, the next call to PyObject_Dir was failing. Since the errors aren't usually very useful, we just call PyErr_Clear when PyObject_IsSubclass fails. I couldn't find a convenient way to check if the value is a class, which could avoid raising these errors in the first place.
Configuration menu - View commit details
-
Copy full SHA for 5de036b - Browse repository at this point
Copy the full SHA 5de036bView commit details -
Removed useless call to PyErr_Clear
The PyErr_Print call already clears the error indicator, according to the docs.
Configuration menu - View commit details
-
Copy full SHA for a08a270 - Browse repository at this point
Copy the full SHA a08a270View commit details -
Configuration menu - View commit details
-
Copy full SHA for e46a0d3 - Browse repository at this point
Copy the full SHA e46a0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1332ad - Browse repository at this point
Copy the full SHA c1332adView commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b654393 - Browse repository at this point
Copy the full SHA b654393View commit details