Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-07 | addon_utils: improve docstrings | Campbell Barton | |
Also make error handler take the exception as its argument. | |||
2015-11-16 | Python: use keyword only args for addon_utils | Campbell Barton | |
2015-06-23 | Missed changing default arg in addon_utils.disable | Campbell Barton | |
2015-06-14 | Fix error enabling an already enabled addon | Campbell Barton | |
Would run register() twice causing warning with `register_module()` which expects new classes to be defined. Now run unregister() before re-registering. | |||
2015-06-14 | Fix addon_utils.check | Campbell Barton | |
Second return value could be None instead of False. | |||
2015-06-08 | Use context manager for reading addon headers | Campbell Barton | |
2015-06-08 | Fix: a broken symlink to an addon resulted in a blank addon tab | Sybren A. Stüvel | |
The addons tab in the User Settings window would be empty, due to a FileNotFound error. This error can be caused by a broken symlink, which is now treated the same was as a file that misses its bl_info dictionary. | |||
2015-05-31 | Python: avoid mutable default param values | Campbell Barton | |
D1328 by @yedpodtrzitko | |||
2015-02-12 | Addons: print short message if an addons missing | Campbell Barton | |
Was printing full traceback, harmless but verbose. | |||
2015-01-23 | PyAPI: don't adjust prefs when an fails to load | Campbell Barton | |
Recent addons commit meant that addons would be enabled even if they weren't found. This would give an error (which is fine), but also remove from preferences. | |||
2015-01-23 | PyAPI: avoid scanning all addons on startup | Campbell Barton | |
Gives small speedup | |||
2015-01-23 | PyAPI: use set.discard instead of set-subtraction | Campbell Barton | |
2015-01-23 | Cleanup: replace deprecated imp -> importlib | Campbell Barton | |
2015-01-21 | Remove 'addons_extern' was used before git move | Campbell Barton | |
2014-04-24 | Code cleanup: unused python vars & imports | Campbell Barton | |
Use frosted rather then pyflakes | |||
2013-11-19 | Code Cleanup: style, spelling and pep8 edits | Campbell Barton | |
2013-11-16 | Addons: remove tracker URL from addon template, as this is no longer used, | Brecht Van Lömmel | |
and link to the new Addons bug reporting page. | |||
2013-10-25 | make the message for addons failing to parse a little more descriptive ↵ | Campbell Barton | |
(suggested in report [#37196]). | |||
2013-08-28 | Fix for #36387, User Preferences "Addons" panel bogs down the whole interface. | Lukas Toenne | |
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list will be used instead. Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in the addons preferences. If necessary and feasible such forced refreshes can be added later too. | |||
2013-07-03 | reduce imports on startup | Campbell Barton | |
2013-06-19 | report exceptions when enabling and disabling modules in blenders interface. | Campbell Barton | |
so if pressing the addon checkbox fails it tells why rather then failing silently. | |||
2013-05-27 | now an addons preference are available when it start, | Campbell Barton | |
this change is made so addons may initialize their own settings. | |||
2013-04-07 | Fix for [#34898] Typo in error message of mathutils.Vector | Thomas Dinges | |
* Also fixed some more cases of "more then" -> "more than". | |||
2013-01-16 | style cleanup | Campbell Barton | |
2012-12-20 | py api: add restrict state context manager (thats python's context not ↵ | Campbell Barton | |
blenders context), which restricts bpy.context and bpy.data. enable this for loading scripts in 'startup' too. | |||
2012-12-19 | dissallow access to the context while addons import and register. | Campbell Barton | |
Since the window manager is needed for keymaps this is kept as an exception. some addons will need updating, but in every case I've seen addons should not be accessing the context while registering. (bad stuff! - declaring the scene as a global variable - which crashes when the users loads a new file, manipulating the active object or scene... tsk tsk) | |||
2012-11-18 | style cleanup: comments & spelling | Campbell Barton | |
2012-10-13 | code cleanup: minor edits on recent commit. | Campbell Barton | |
2012-10-13 | differenciate log message for enabled/disabled modules | Gaia Clary | |
2012-10-10 | check addons are enabled before disabling them (would cause python ↵ | Campbell Barton | |
exceptions when removing a disabled addon). | |||
2012-09-27 | pep8 cleanup | Campbell Barton | |
2012-09-05 | code cleanup: python - pass multiple args to string startswith() / ↵ | Campbell Barton | |
endswith() functions rather than calling multiple times. | |||
2012-08-22 | error message when an addon was missing register/unregister functions whasnt ↵ | Campbell Barton | |
very good (didnt point to file with the error) | |||
2012-06-28 | print warning if a script in the addons dir has no bl_info. | Campbell Barton | |
2012-06-20 | style cleanup | Campbell Barton | |
2012-04-28 | Addons: "persistent" parameter for addon_utils.enable(), so that you can enable | Brecht Van Lommel | |
addons from a startup script and keep them enabled after loading .blend files. | |||
2012-03-31 | move debug flag into its own global var (G.debug), split up debug options. | Campbell Barton | |
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context. | |||
2012-01-18 | cleanup for redefined vars | Campbell Barton | |
2012-01-14 | remove api from addon bl_info, was never used. | Campbell Barton | |
2011-11-26 | check if an addon exists before getting its mtime | Campbell Barton | |
2011-11-24 | pep8 edits and avoid naming conflicts with python builtins | Campbell Barton | |
2011-11-21 | also list addons_extern as testing. | Campbell Barton | |
2011-11-18 | addons in contrib now have their own 'Testing' category which is off by default. | Campbell Barton | |
2011-10-17 | correct spelling errors in comments | Campbell Barton | |
2011-09-23 | minor edits to recent fix for addons | Campbell Barton | |
2011-09-23 | * Some more fixes for recent move operator commit. | Thomas Dinges | |
2011-08-07 | fix [#28172] Cannot restore Add-ons tab in user preferences after a failed ↵ | Campbell Barton | |
attempt to install an add-on. non utf8 addons would make the addon UI vanish, now give a message in the console and UI. | |||
2011-07-31 | py api: sphinx doc corrections, pep8 cleanup and style edits, also added ↵ | Campbell Barton | |
__all__ to some modules which were missing it. | |||
2011-07-29 | pep8 cleanup, also print message when attempting to run in animation player ↵ | Campbell Barton | |
mode. | |||
2011-07-18 | fix [#28005] Python Add-Ons are constantly reloaded if twice in the path | Campbell Barton | |
Addons are checked for their timestamps and reloaded when it changes but this failed when, 2 addons had the same name since different times caused 2 reloads on every redraw. Now when duplicate addons are in the path now give a error message in the UI and print path conflict in the console and don't thrash reloading. |