Skip to content
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

Merging the Milestone 3.5. refactor #456

Merged
merged 159 commits into from
Aug 14, 2023
Merged

Merging the Milestone 3.5. refactor #456

merged 159 commits into from
Aug 14, 2023

Commits on Oct 16, 2022

  1. Configuration menu
    Copy the full SHA
    b8551ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da3e82c View commit details
    Browse the repository at this point in the history
  3. Some more rewrites to use the new MCprepEnv class

    StandingPad committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    0bcea54 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    27af908 View commit details
    Browse the repository at this point in the history
  2. Deprecated conf.log in favor for conf.ENV.log

    StandingPad committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    10b210b View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2022

  1. Added mcprep_venv to .gitignore

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    f495fed View commit details
    Browse the repository at this point in the history
  2. Changed ENV to env as requested

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    e97bdf6 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/dev' into internal-rewrites

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    7943613 View commit details
    Browse the repository at this point in the history
  4. Some more fixes to account for deprecations

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    e4876a2 View commit details
    Browse the repository at this point in the history
  5. Added venv to gitignore

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    1123aa6 View commit details
    Browse the repository at this point in the history
  6. Ported some more code to use conf.env

    StandingPad Animations committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    a167470 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    adbc2ba View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Configuration menu
    Copy the full SHA
    143ccd3 View commit details
    Browse the repository at this point in the history
  2. Deprecated make_annotations

    As we're dropping 2.7x support, this is no longer needed. Most of the
    compatability functions will remain though since they're more readable.
    StandingPadAnimations committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    643fefd View commit details
    Browse the repository at this point in the history
  3. Added type annotations and use of Path

    Replaced some instances of os.path with the Path object from pathlib for
    readability. Also added type annotations to MCprepEnv as we're moving
    towards that. This also means MCprep will not work at all in Blender
    2.7x due to the use of new syntax.
    
    This will be the first in a long process of modernizing MCprep's code
    with 2.8 style code. Blender 2.7x users may not be happy, but it's for
    the better. If anything, 6 years worth of 2.7x support was a mistake (in
    my opinion), as it limited what we could do and opened MCprep to even
    more bugs (like in Blender 2.93 with make_annotations, which ironically
    now is deprecated).
    StandingPadAnimations committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    a34b01a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    185ab5b View commit details
    Browse the repository at this point in the history
  5. Deprecated bv28

    StandingPadAnimations committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    17af009 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Replaced old syntax for properties

    Replaced the old = syntax with the new : syntax. This also removes the
    need for make_annotations, hence why they're removed.
    StandingPadAnimations committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    6d4def0 View commit details
    Browse the repository at this point in the history
  2. Removed Blender Internal code from materials

    As we're removing 2.7x support, it makes sense to remove Blender
    Internal compatability as the engine is not present in Blender 2.8 and
    above. Even UPBGE (a fork of the Blender game engine that's still
    maintained) uses EEVEE, so there's no reason to continue supporting
    Blender Internal.
    StandingPadAnimations committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    2e2bf0f View commit details
    Browse the repository at this point in the history
  3. Removed bang for Python scripts

    The bang at the top meant Linux users couldn't run the test suite. This
    changes now allows Linux users to run tests
    StandingPadAnimations committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    79ec6d4 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. Configuration menu
    Copy the full SHA
    0844c2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1cdb6b View commit details
    Browse the repository at this point in the history
  3. Replaced deprecation warninging function

    Deprecation warning function was moved in MCprepEnv since it made more
    sense to put it there
    StandingPadAnimations committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    145d66f View commit details
    Browse the repository at this point in the history
  4. Replaced arguments for matprep_cycles

    Originally matprep_cycles used to take multiple arguments, each one
    representing a seperate option. This was annoying as it meant the
    function has an unfathomable amount of arguments to keep track of.
    
    This has been replaced with a dataclass (called PrepOptions) that keeps
    track of all the options selected by the user. Not only does it make it
    slightly easier for developers, it also gives the following benefits:
    	- More info on what types the different options are
    	- Better organization
    
    Previously we couldn't do this due to 2.7x support, hence this being in
    mcprep-3_5-recore.
    StandingPadAnimations committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    8e9f124 View commit details
    Browse the repository at this point in the history
  5. Added check for dev_build in deprecation_warning

    To avoid polluting output
    StandingPadAnimations committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    9e96c6d View commit details
    Browse the repository at this point in the history
  6. Added check for dev_build in deprecation_warning

    To avoid polluting output
    StandingPadAnimations committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    7020eb5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e5f894 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Merge pull request #408 from TheDuckCow/dev

    Dev to master for v3.4.3
    TheDuckCow committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    b365666 View commit details
    Browse the repository at this point in the history
  2. Dev to false for master

    TheDuckCow committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    b4e1f0e View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Fixed the remaining uses of ENV with env

    I'm honestly not sure how I missed these, but good thing they were
    caught. Now MCprep shouldn't be dealing with any errors related to env
    now...
    StandingPadAnimations committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    c067dd2 View commit details
    Browse the repository at this point in the history
  2. Removed use of conf.register() in load_modules

    While removing the last of the ENVs, I noticed some deprecation warnings
    regarding the use of this function, so I've went ahead and removed it.
    
    Since this function calls other deprecated functions as well, what
    should have been 1 warning was instead 3. Apologies to anyone who had to
    suffer that in their terminal ;-;
    StandingPadAnimations committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    40090bb View commit details
    Browse the repository at this point in the history
  3. Updated version for deprecation warning.

    In all honesty I doubt we'll get around to actually removing these
    functions in 3.5.1, but since we're merging this with the 3.5 feature
    branch, I think it's important to warn developers and make them think
    about the eventual demise of these functions. Plus there's absolutely no
    reason to use deprecated functions for 3.5 when we'll have nice features
    like type annotations.
    
    Anyway, hopefully after this commit, we'll merge this with the MCprep
    3.5 feature branch *fingers crossed*
    StandingPadAnimations committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    73d4f43 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2023

  1. Hopefully fixed the last remaining env bugs

    For some reason the spawner was missing the use of env, causing errors.
    While this has been fixed, it does illustrate an issue with the current
    deprecation system in that deprecated stuff will error out. More
    investigation is needed.
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    3f5965b View commit details
    Browse the repository at this point in the history
  2. Added a check for mcprep_dev.txt

    This feature was requested by TheDuckCow to make dev builds easier to
    create. The idea is that a file is created by the compile scripts, and
    MCprep checks for the files existence to determine which flags to
    enable. This makes development a lot more convinient and removes the
    need for commits that change the dev flag.
    
    This does mean the MCprepEnv class no longer has arguments, but that's
    fine. In the future we might be able to read the contents of the file to
    give full control over what flags to enable.
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    646f874 View commit details
    Browse the repository at this point in the history
  3. Added a log statement for dev builds

    Why? It allows us to determine if we're using a dev build or not
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    d2bbe67 View commit details
    Browse the repository at this point in the history
  4. Added the -d and -f options to compile.sh

    -d allows the creation of a dev build, by adding a new file called
    mcprep_dev.txt to the outputed build folder.
    
    -f replaces the -fast option and does the fast compile mode.
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    5826aa1 View commit details
    Browse the repository at this point in the history
  5. Moved the dev build log statement

    When running, an error occured due to log requiring the variables
    verbose and very_verbose, which do not exist until afterwards. Now it's
    been moved to after those variables have been set.
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    b9934de View commit details
    Browse the repository at this point in the history
  6. Brought internal-rewrites improvements to recore

    The internal-rewrites branch recently gained some fixes and improvements
    to the compile scripts, so I'm now merging internal-rewrites with recore
    to bring those improvements to recore.
    
    There are of course some additions made, such as type annotations (which
    is a bit weird since internal-rewrites is actually now being planned for
    merge in 3.5), and the use of pathlib over os, but functionaly the
    features are the same.
    StandingPadAnimations committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    71ef4f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2023

  1. Configuration menu
    Copy the full SHA
    8d1be9b View commit details
    Browse the repository at this point in the history
  2. Miss some spot, typo fixes

    zNightlord committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    7c40fa3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7726d57 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2023

  1. Add typing to generate.py

    zNightlord committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    f6646ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5595f0d View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Configuration menu
    Copy the full SHA
    90e3194 View commit details
    Browse the repository at this point in the history
  2. Fix missing import

    zNightlord committed May 1, 2023
    Configuration menu
    Copy the full SHA
    c46feae View commit details
    Browse the repository at this point in the history
  3. Use f string for those

    zNightlord committed May 1, 2023
    Configuration menu
    Copy the full SHA
    a6fb15b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    2580c0b View commit details
    Browse the repository at this point in the history
  2. Fix commit

    zNightlord committed May 2, 2023
    Configuration menu
    Copy the full SHA
    8684b17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d502195 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Converting remaining properties to annotations for MCprep 3.5

    Additionally removes all usage of the make_annotations workaround,
    this commit does not affect the updater code in any way (which is
    treated as a library). Preferences now draw, but mcprep scene props
    are not currently registering, breaking most of the addon. Pre-existing
    before this commit.
    TheDuckCow committed May 3, 2023
    Configuration menu
    Copy the full SHA
    8293431 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b805ac View commit details
    Browse the repository at this point in the history
  3. Fix remaining references to conf in favor of env.

    MCprep scene props still not registering, so still unable to run
    automated tests.
    TheDuckCow committed May 3, 2023
    Configuration menu
    Copy the full SHA
    eda3596 View commit details
    Browse the repository at this point in the history
  4. Fix remaining references to conf in favor of env.

    MCprep scene props still not registering, so still unable to run
    automated tests.
    TheDuckCow committed May 3, 2023
    Configuration menu
    Copy the full SHA
    6863a49 View commit details
    Browse the repository at this point in the history
  5. Fixing unnecessary annotations in non-class files to fix UI.

    With this change, the UI now draws where needed. Many unit tests are
    still failing.
    TheDuckCow committed May 3, 2023
    Configuration menu
    Copy the full SHA
    9fef31e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90d93d2 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Added Poetry pyproject.toml

    Why? Poetry means we can easily define Python version, dependencies,
    etc. without having to force developers to do everything by hand
    (provided they want to use Poetry, it's fine if they don't c:).
    
    The reason I'm doing it now is due to an upgrade on Arch Linux from
    Python 3.10 to Python 3.11, breaking all virtual environments. Poetry is
    useful especially on Linux where using the system Python tends to be an
    annoyence.
    
    The options I chose are based on MCprep 3.5, which mean the following:
    - Blender 2.8 bpy
    - Python 3.7 (as that's what 2.8 uses)
    
    These are not set in stone, but I think those are reasonable for MCprep
    StandingPadAnimations committed May 5, 2023
    Configuration menu
    Copy the full SHA
    8d75ac5 View commit details
    Browse the repository at this point in the history
  2. Fixed name in Poetry project file

    The MC part was not capitalized
    StandingPadAnimations committed May 5, 2023
    Configuration menu
    Copy the full SHA
    d23216c View commit details
    Browse the repository at this point in the history
  3. Removed bv28 calls in UI and MCModel

    By removing all of the `bv28()` calls, we've gotten rid of all
    deprecation warnings at startup and exit, which is awesome. Now we can
    actually start live testing to find even more deprecation warnings
    without having to deal with the insane output for the UI.
    StandingPadAnimations committed May 5, 2023
    Configuration menu
    Copy the full SHA
    022d8cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7cf9eee View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Added Linux folder population for compile.sh

    Previouly Linux didn't have file population for the MCprep compile
    scripts, so I've went ahead and added it to make our lives easier,
    especially after that time an MCprep build script made a folder called ~
    that ended in my home directory being wiped
    StandingPadAnimations committed May 9, 2023
    Configuration menu
    Copy the full SHA
    fcf055d View commit details
    Browse the repository at this point in the history
  2. Fixed Shellcheck errors in compile.sh

    The compile scripts had some small errors (like a missing exit after cd)
    but also 2 big errors: SC2308 and SC2115
    
    https://www.shellcheck.net/wiki/SC2308
    https://www.shellcheck.net/wiki/SC2115
    
    SC2308 was due to the use of `expr substr` when checking to see if the
    OS in use was Linux. According to the shellcheck wiki, this is not
    portable and as such shouldn't be used. This was replaced with a pipe
    expression that passes to `cut -c 1-5`
    
    SC2115 is due to an `rm -rf "$i/$NAME/" statement, which if the variable
    is not set or null, a person's system can be massively messed up. Here's
    a case where due to this exact issue, the Steam client ended up deleting
    everything on the root directory owned by the user:
    ValveSoftware/steam-for-linux#3671
    
    While it's great that these issues were caught ahead of time, these
    should have never been in MCprep's build scripts. We already know that
    MCprep's build scripts can create folders named ~, causing their own
    headaches (like I dealt with a while back). We seriously need to start
    enforcing shellcheck for MCprep's build scripts.
    StandingPadAnimations committed May 9, 2023
    Configuration menu
    Copy the full SHA
    eccda95 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    5a77f0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fd88e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c08384 View commit details
    Browse the repository at this point in the history
  4. Added darker to pyproject.toml

    darker allows us to have automatic PEP8 formatting in changed code,
    which allows us to think less about formatting and instead have it done
    automatically without creating big diffs.
    
    Of course one could argue that it's a good idea to use Black (what
    darker uses under the hood), but that creates massive diffs. MCprep
    already follows PEP 8 mostly but not completely, and changes would be
    massive.
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    ba2568c View commit details
    Browse the repository at this point in the history
  5. Replaced compile scripts with mcprep-build

    (Saleman pitch time)
    mcprep-build is our new, state-of-the-art build system custom made for
    the MCprep project that's cross platform! Now we get less headaches
    from dealing with Bash and the Windows shell as this new build system is
    written in Python!
    
    Jokes aside, this new build system is much more maintainable then the
    old build system. I still need to add autopopulation, but it's 99% the
    same, minus fast mode.
    
    In the future I want to turn this into a general purpose
    bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    bcba39f View commit details
    Browse the repository at this point in the history
  6. Removed 2.78 mentions from README

    MCprep 3.5 removes 2.7x support, so we needed to update the versions
    mentioned in the README to say 2.80 as the minimum version, and remove
    the install steps screenshot for 2.7x
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    97fd0ea View commit details
    Browse the repository at this point in the history
  7. Fixed issue with arguments in mcprep-build

    MCprep build had some issues with no arguments, so I went ahead and
    fixed it since it would be annoying if we could only make dev builds of
    MCprep
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    193458a View commit details
    Browse the repository at this point in the history
  8. Updated CONTRIBUTING.md for information on darker

    This is for developers to be aware that we now expect PEP8 formatted
    code. For reasons mentioned in earlier commits, we'll be using darker
    for that since it only applies formatting on changed code.
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    ab8c3f2 View commit details
    Browse the repository at this point in the history
  9. Added pyenv .python-version to gitignore

    Pyenv is commonly used on Linux to avoid issues with the system python,
    and can be set locally on a per folder basis. This is done with a text
    file called .python-version. Since this is a per-developer thing, I'm
    adding it to the gitignore
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    67511a5 View commit details
    Browse the repository at this point in the history
  10. Added requirements.txt for developers

    This should make virtual environment creation much easier for
    developers. The file is based on the dependencies installed with Poetry,
    so they're the exact same versions.
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    bc8c363 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0690e6a View commit details
    Browse the repository at this point in the history
  12. Updated CONTRIBUTING.md for mcprep-build

    This is to make the documentation consistant with the actual build
    system.
    StandingPadAnimations committed May 10, 2023
    Configuration menu
    Copy the full SHA
    a303cae View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Removed bv28 call

    Sorry for the large diff, that's just my formatter being annoying
    StandingPadAnimations committed May 11, 2023
    Configuration menu
    Copy the full SHA
    99ebce8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b99132 View commit details
    Browse the repository at this point in the history
  3. missing

    zNightlord committed May 11, 2023
    Configuration menu
    Copy the full SHA
    5ba9be5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b48380f View commit details
    Browse the repository at this point in the history
  5. miss one spot

    zNightlord committed May 11, 2023
    Configuration menu
    Copy the full SHA
    e2ade2a View commit details
    Browse the repository at this point in the history
  6. mising a few dict

    zNightlord committed May 11, 2023
    Configuration menu
    Copy the full SHA
    722beff View commit details
    Browse the repository at this point in the history
  7. Update CONTRIBUTING.md

    Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
    StandingPadAnimations and TheDuckCow committed May 11, 2023
    Configuration menu
    Copy the full SHA
    3e2f5a5 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Fixed paths and removed redundent moves

    As suggested, I've added a SCRIPT_PATH variable to represent the path of
    the mcprep-build script, just to make sure that all future paths are
    correct. In addition, I've also removed the ADDON_DIRECTORY variable on
    line 88 since it's incorrect logic (we're trying to zip a folder that
    shouldn't exist)
    StandingPadAnimations committed May 12, 2023
    Configuration menu
    Copy the full SHA
    419d706 View commit details
    Browse the repository at this point in the history
  2. Added flake8 to dependencies

    We'll be using flake8 in MCprep build to perform PEP8 code checks to
    make sure our code complies with PEP8 guidelines.
    StandingPadAnimations committed May 12, 2023
    Configuration menu
    Copy the full SHA
    f475012 View commit details
    Browse the repository at this point in the history
  3. Revert "Removed bv28 call"

    This reverts commit 99ebce8.
    
    Currently we're still deciding on Black, so I'm reverting this for now
    StandingPadAnimations committed May 12, 2023
    Configuration menu
    Copy the full SHA
    1ab8b39 View commit details
    Browse the repository at this point in the history
  4. Added flake8 check

    This is so we get PEP8 errors at compile time
    
    God I love PEP8 but we got an ungodly amount of errors, and that's
    ignoring W191 (Tabs instead of Spaces)
    StandingPadAnimations committed May 12, 2023
    Configuration menu
    Copy the full SHA
    98a5bcb View commit details
    Browse the repository at this point in the history
  5. Fixed destination folder issue and formatting

    Originally the build script unzipped to the paths in
    blender_installs.txt directly, but that was incorrect logic and ended
    with the addons folder being polluted. This was an easy fix and I'm not
    sure how it slipped from my mind.
    
    In addition, I ran flake8 and fixed some formatting issues in the
    builder.
    StandingPadAnimations committed May 12, 2023
    Configuration menu
    Copy the full SHA
    b31ab8a View commit details
    Browse the repository at this point in the history

Commits on May 14, 2023

  1. Added bpy-build.yaml for bpy-build

    bpy-build is a better version of mcprep-build that I'm working on. It's
    more general purpose but has far better configuration. bpy-build does
    work on the MCprep repo, I just need to finish some shortcommings
    StandingPadAnimations committed May 14, 2023
    Configuration menu
    Copy the full SHA
    79e5c7d View commit details
    Browse the repository at this point in the history
  2. Added the during_build part to bpy-build.yaml

    bpy-build now supports adding files during a build, which means we can
    now use bpy-build instead of mcprep-build (if we choose to do so).
    StandingPadAnimations committed May 14, 2023
    Configuration menu
    Copy the full SHA
    b82549e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Moving from mcprep-build to bpy-addon-build

    bpy-addon-build is the better version of mcprep-build (the former being
    based off the latter) and will be maintained better, so it makes no
    sense having a seperate build system.
    
    bpy-addon-build has the following advantages:
    	- YAML config
    	- Auto-installation without blender_installs.txt
    	- Ability to define actions and run them in specific cases
    	- Better terminal output
    	- Better argument handling
    StandingPadAnimations committed May 15, 2023
    Configuration menu
    Copy the full SHA
    71e7e08 View commit details
    Browse the repository at this point in the history
  2. Added flake8 check by default

    Flake8 is important for formatting checks so I've added it as a default
    action to be executed during the build process
    StandingPadAnimations committed May 15, 2023
    Configuration menu
    Copy the full SHA
    2bd8b60 View commit details
    Browse the repository at this point in the history
  3. Updated bpy-addon-build version

    bpy-addon-build was updated to better handle missing YAML config
    options, so this update is necesary
    StandingPadAnimations committed May 15, 2023
    Configuration menu
    Copy the full SHA
    2ad1f1b View commit details
    Browse the repository at this point in the history
  4. Updated bpy-addon-build version again

    This version removes a debug statement...
    
    Maybe I should make a proper test suite
    StandingPadAnimations committed May 15, 2023
    Configuration menu
    Copy the full SHA
    24b62a0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bd0a9cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b7dd04 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3757350 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    09b645f View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2023

  1. Configuration menu
    Copy the full SHA
    75e7650 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. change on requested

    zNightlord committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    d7277a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Broke up type alias Engine to be on multiple lines

    This is to prevent the line from being too long
    
    Co-authored-by: Patrick W. Crawford <moo-ack@theduckcow.com>
    StandingPadAnimations and TheDuckCow committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    18058a4 View commit details
    Browse the repository at this point in the history
  2. Fixed terrible syntax error

    Ironically what was meant to be a fix ended up causing more issues... all because of incorrect syntax
    StandingPadAnimations committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    5eebc9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c648fd8 View commit details
    Browse the repository at this point in the history
  4. Removed bv28 call

    Sorry for the large diff, that's just my formatter being annoying
    StandingPadAnimations committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    6ea6825 View commit details
    Browse the repository at this point in the history
  5. Revert "Removed bv28 call"

    This reverts commit 99ebce8.
    
    Currently we're still deciding on Black, so I'm reverting this for now
    StandingPadAnimations committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    81d2bd6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2783954 View commit details
    Browse the repository at this point in the history
  7. Update compile.sh: quoted variables behind rm commands

    Just a precaution, considering. Any hidden bugs involving word splitting or pathname expansion could be obviated just by adding double quotes to variable and array references.
    wileyhy committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    3ca0f4e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    cfae687 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    048cfab View commit details
    Browse the repository at this point in the history
  3. revert back to .format

    zNightlord committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6723b36 View commit details
    Browse the repository at this point in the history
  4. fix

    zNightlord committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    1a91a13 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Configuration menu
    Copy the full SHA
    ec32056 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Added use of __slots__ for PrepOptions

    PrepOptions is a dataclass that has a static set of options; no new
    options can be added at runtime. Since that's a gurantee about the
    class, we can use `__slots__` to make sure that typos in field names
    generate an error. In addition, `__slots__` has a performance and memory
    benefit, but that's minor compared to the development improvement that
    would be gained.
    
    Due to Blender 2.8 using Python 3.7, we have to manually add the slots
    ourselves in the class definition. Hopefully in a future MCprep release
    we can remove this manual declaration and use the `slots` option in the
    dataclass decorator.
    StandingPadAnimations committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    232e8b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db565ec View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    150de11 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #435 from wileyhy/patch-1

    Update compile.sh: quoted variables behind rm commands
    TheDuckCow committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    a6b5a76 View commit details
    Browse the repository at this point in the history
  3. Added use of __slots__ for PrepOptions

    PrepOptions is a dataclass that has a static set of options; no new
    options can be added at runtime. Since that's a gurantee about the
    class, we can use `__slots__` to make sure that typos in field names
    generate an error. In addition, `__slots__` has a performance and memory
    benefit, but that's minor compared to the development improvement that
    would be gained.
    
    Due to Blender 2.8 using Python 3.7, we have to manually add the slots
    ourselves in the class definition. Hopefully in a future MCprep release
    we can remove this manual declaration and use the `slots` option in the
    dataclass decorator.
    StandingPadAnimations committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    b934bc4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f6b900 View commit details
    Browse the repository at this point in the history
  5. Replaced compile scripts with mcprep-build

    (Saleman pitch time)
    mcprep-build is our new, state-of-the-art build system custom made for
    the MCprep project that's cross platform! Now we get less headaches
    from dealing with Bash and the Windows shell as this new build system is
    written in Python!
    
    Jokes aside, this new build system is much more maintainable then the
    old build system. I still need to add autopopulation, but it's 99% the
    same, minus fast mode.
    
    In the future I want to turn this into a general purpose
    bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
    StandingPadAnimations committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    6b3b298 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Added all supported versions to bpy-build file

    Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
    StandingPadAnimations and TheDuckCow committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    e915ecd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c000a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc9158d View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    f853242 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9dbe0b1 View commit details
    Browse the repository at this point in the history
  3. some typing fixes

    zNightlord committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    278931b View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Configuration menu
    Copy the full SHA
    d292559 View commit details
    Browse the repository at this point in the history
  2. Disabling flake8 in the build script.

    Having issues where it's not providing the intended result, still
    showing W191. Plus, Blender operator properties are not defined using
    a syntax that lint checkers can parse, creating a lot of noise. We'll
    need to rethink how to adopt this in the future.
    TheDuckCow committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    b8518f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Fix registration and callback issues, and standardized imports.

    Removing unused imports, and fixing spacing inconsistencies in imports.
    Additionally, performed sorting on subsections for each import (e.g.
    all built in modules sorted among themselves).
    TheDuckCow committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    afdbaf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5d580d View commit details
    Browse the repository at this point in the history
  3. Replacing Literal with enums for 2.80 support and re-ordering imports.

    Blender 2.80 is at this moment, generally speaking working much better
    now. There are still several unit tests that appear to be failing, but
    we can improve incrementally up until the release. As an end user, most
    functions are working ok (but not all.
    TheDuckCow committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    14308be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b220b56 View commit details
    Browse the repository at this point in the history
  5. Force re-initializing MCprepEnv during register of addon.

    Without this, tests were failing due to the addon being enabled and
    re-enabled. Users who did this would have also faced the same issue.
    TheDuckCow committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    50a7276 View commit details
    Browse the repository at this point in the history
  6. Update more accurate deprecation definition.

    Expecting to remove entirely in the first release after MCprep 3.5+ has
    gained more than 50% adoption.
    TheDuckCow committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    7a210d3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #425 from zNightlord/annotate-documment

    Annotate document functions, major refactor.
    TheDuckCow committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    fcafc2c View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Configuration menu
    Copy the full SHA
    439524a View commit details
    Browse the repository at this point in the history
  2. Establish new cross platform test suite using unittest library.

    This sets up the framework and ability to test the addon on multiple
    versions of blender. It continues to use the blender_execs.txt file
    to indicate which versions of blender are for running tests, but expands
    on controls to let the user specify which specific versions of blender
    they want to test, and with nice commandline documentation for args.
    TheDuckCow committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    be6996d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbd1f20 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    483f6e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    456b3f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d0c234 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. Adding tests for utility operators.

    All tests passing, but also created disabled by default tests that
    have UI triggered popups which would be annoying to have on by default,
    but are good for code coverage.
    TheDuckCow committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    236b06a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #448 from Moo-Ack-Productions/424-migrate-to-the-u…

    …nittest-library
    
    Set up new unittest system
    TheDuckCow committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    d0a5c76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90967e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1e6ef9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed1f368 View commit details
    Browse the repository at this point in the history
  6. Minimizing linting and adding test_matprep_cycles test.

    Test intentionally does not yet pass, as there's a bug in the code to
    fix first. Will do so in the next commit.
    TheDuckCow committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    3019bae View commit details
    Browse the repository at this point in the history
  7. Fixing material generation with saturation for 3.4+, added test timings

    One reference wasn't using the new system for version-agnostic mix rgb
    slot selection, that is now fixed and all tests are passing across all
    versions.
    TheDuckCow committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    5afa19d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    8c2710e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    946d70b View commit details
    Browse the repository at this point in the history
  3. Adding tests for utility operators.

    All tests passing, but also created disabled by default tests that
    have UI triggered popups which would be annoying to have on by default,
    but are good for code coverage.
    TheDuckCow committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    e8fb90b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1fe4bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    999f2b7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8fa110d View commit details
    Browse the repository at this point in the history
  7. Minimizing linting and adding test_matprep_cycles test.

    Test intentionally does not yet pass, as there's a bug in the code to
    fix first. Will do so in the next commit.
    TheDuckCow committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a3fdba8 View commit details
    Browse the repository at this point in the history
  8. Fixing material generation with saturation for 3.4+, added test timings

    One reference wasn't using the new system for version-agnostic mix rgb
    slot selection, that is now fixed and all tests are passing across all
    versions.
    TheDuckCow committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    d5ef84c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fbc5431 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    33361e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. World import split tests and merging in new build system.

    Tests are slower to run now since there's no -fast command, but all
    tests currently run.
    TheDuckCow committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    c31574d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    21b3aaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b7014d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. Updated poetry.lock

    This is to make sure the latest versions of every dependency is
    installed, as to reduce variables in what could be causing errors.
    StandingPadAnimations committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    3ee90c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Merge pull request #450 from Moo-Ack-Productions/424-migrate-unittests

    Migrated initial prep material tests, all currently passing.
    TheDuckCow committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5721a12 View commit details
    Browse the repository at this point in the history