Ellwood Zwovic
85ce4c3bc7
Don't force 'spawn' method, add explanation for workaround
2017-08-19 19:05:14 -07:00
Ellwood Zwovic
1766e1fa6e
Don't import things which import things which import bpy
2017-08-19 19:01:42 -07:00
Ellwood Zwovic
ee93938211
Merge branch 'windows-subprocess-fix'
2017-08-19 19:00:52 -07:00
Ellwood Zwovic
3cd746a26a
If bpy fails to import, assume we are in subprocess and only import subproc.py
2017-08-15 00:30:47 -07:00
Ellwood Zwovic
5d5d2a89cd
UI Tweaks
...
From feedback on demo video: https://www.youtube.com/watch?v=b_iBVNmeBdM&lc=z13hfndjmzqmtpe0p234vroyex3fgbovp
2017-08-15 00:24:11 -07:00
Ellwood Zwovic
ffd6d8d127
Always draw uninstalled packages as enabled
2017-08-14 13:43:27 -07:00
Ellwood Zwovic
7666813407
Fix failure to store installation state, store repositories in a set
2017-08-14 13:39:38 -07:00
Ellwood Zwovic
4934f463a1
Optimize package metadata fetching; avoid checking if packages are installed every redraw
2017-08-12 19:42:51 -07:00
Ellwood Zwovic
6691b0b226
Initial multiple repository support
...
And lots of code reshuffling which likely should've been done in
separate commits..
2017-08-12 19:36:39 -07:00
Ellwood Zwovic
7340d8dadb
Fix bug where sometimes enabled packages could be displayed as disabled
2017-08-02 18:50:11 -07:00
Ellwood Zwovic
3bb59b5ac2
Use bpy.app.binary_path_python as subprocess interpreter
2017-08-02 16:45:34 -07:00
Ellwood Zwovic
2825d0fc06
Improve user-level error messages
2017-07-27 22:33:08 -07:00
Ellwood Zwovic
a2cca29383
Removed unused addon preference properties
2017-07-27 17:27:42 -07:00
Ellwood Zwovic
57ff2a5664
Clean up action button display, and add enabling/disabling
2017-07-26 23:36:14 -07:00
Ellwood Zwovic
8386d6ecb9
Quick hack to show 'update' instead of 'install' when appropriate
2017-07-26 02:28:00 -07:00
Ellwood Zwovic
64bc1630df
Fix wrong name errors caused in previous commit
2017-07-26 02:27:09 -07:00
Ellwood Zwovic
2f6357e40e
Cleanup: Move package download/install code out of subproc.py
...
Instead do such things in bpkg, and only handle interfacing between
blender and bpkg in subproc.py
2017-07-26 02:08:01 -07:00
Ellwood Zwovic
c01c5e0e60
Implement more filter methods
...
Add filtering by support level and installed/update-able
2017-07-25 01:07:06 -07:00
Ellwood Zwovic
5e034855c0
Track expanded packages outside of packages themseleves
...
Packages now retain their expanded/collapsed state after the
packagelist has been regenerated.
2017-07-24 21:53:38 -07:00
Ellwood Zwovic
9b424b52ce
Adjust package state display
2017-07-24 19:03:10 -07:00
Ellwood Zwovic
b3c8645c93
Differentiated between user packages and system packages
...
We usually can't uninstall system packages, so display them
differently
Also fixed some missing `global`s.
2017-07-24 18:47:21 -07:00
Ellwood Zwovic
cc53e54877
Add 'repo.json' to url before giving it to bpkg
2017-07-24 17:54:49 -07:00
Ellwood Zwovic
5fcc8153f6
Recursively reload submodules
2017-07-24 17:42:00 -07:00
Ellwood Zwovic
4cc865cd62
Add repository list to package panel
...
Actually adding multiple repositories is disallowed for now
2017-07-24 17:03:57 -07:00
Ellwood Zwovic
acad78f87c
Move 'all_packages' list out of the panel class
...
This is used for more than drawing, so it doesn't belong on the panel.
2017-07-24 14:17:47 -07:00
Ellwood Zwovic
6f8810f6d1
Fix missing import
2017-07-24 14:17:06 -07:00
Ellwood Zwovic
0c33717fe6
Correct wrong bl_idname for preferences, trigger redraw after packagelist change
2017-07-22 21:42:22 -07:00
Ellwood Zwovic
06a05c81b2
Fix inport errors and maintain compatibility with python 3.5x)
2017-07-22 20:14:09 -07:00
Ellwood Zwovic
6752108930
Improve metadata display
2017-07-22 18:44:44 -07:00
Ellwood Zwovic
c2f17de704
Update bl_info
2017-07-21 00:40:17 -07:00
Ellwood Zwovic
39cb9079a6
Remove hang operator
2017-07-21 00:29:47 -07:00
Ellwood Zwovic
e9fbb9f6e7
Move package management code out of subproc.py
2017-07-21 00:27:16 -07:00
Ellwood Zwovic
a250777d15
Cleanup: rename package manager addon from bpkg -> package_manager
...
As I see it, the *package manager* is called "bpkg", while the *package
manager addon* is called "package_manager".
The *package manager* contains the actual package management code, and
the *package manager addon* provides the interface to use it.
2017-07-20 23:09:42 -07:00
9e2b2c1794
revert master to blank slate
2017-06-21 21:52:21 -07:00
48e4d3f2d9
Cleanup: Using set for faster performance.
2016-06-26 22:42:07 -05:00
1cce8cda81
Documentation: Documenting every class and function.
...
Added a docstring to every class and function, documenting arguments and return values. Also made a couple cleanup changes. Next cleanup-related change will be moving from urllib.requests to the requests module.
2016-06-26 22:00:03 -05:00
f6897e6401
Async support: downloading, json parsing, and add-on install
...
Downloading, parsing index.json, and installing add-ons all now are handled asynchronously using the asyncio module. These operations will no longer block Blender, allowing them to run in the background.
2016-06-26 17:42:21 -05:00
b2c34a1a7e
Adding support for download and install of .zip addons
...
Minor UI alteration, and some small changes based on Sybren's feedback
2016-06-24 13:54:27 -05:00
576d04ee65
Package Manager add-on now functional, with limitations
...
- For now, add-ons are downloaded from http://localhost:8000/ .
- Add-ons on the index.json (from blender.org gitweb) are only displayed if they are not installed locally, or installed in the USER path.
- Only .py add-ons are supported for now, but .zip add-ons will be supported next commit.
2016-06-24 09:18:09 -05:00
52365f59ae
Fix: Renaming add-on directory and updating index.json
...
- Add-on directory name was not a proper identifier before.
- index.json was formatted incorrectly (missing commas); new version is generated with updated generate-json.py (which seems to fail for addons_contrib at the moment), and contains data for add-ons in addons repo.
2016-06-22 21:16:30 -05:00