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

C++ Rewrite #74

Merged
merged 121 commits into from
Jul 15, 2024
Merged

C++ Rewrite #74

merged 121 commits into from
Jul 15, 2024

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    03d9745 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09e5ece View commit details
    Browse the repository at this point in the history
  3. Clean up stub file

    gentlegiantJGC committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    e6b6d16 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d113ef7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a457469 View commit details
    Browse the repository at this point in the history
  6. Add nbt wrapper classes

    pybind11 cannot directly store fundamental types so a custom class is required to wrap them for storage.
    gentlegiantJGC committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    943068b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5277bc6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    708f7ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fdc7717 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2d0e75d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d7cb085 View commit details
    Browse the repository at this point in the history
  12. Add pybind11 module

    gentlegiantJGC committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    018e8dc View commit details
    Browse the repository at this point in the history
  13. Add common header

    gentlegiantJGC committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    29b7353 View commit details
    Browse the repository at this point in the history
  14. Renamed list tag types

    gentlegiantJGC committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    bae8f2c View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    6e2fa1b View commit details
    Browse the repository at this point in the history
  2. Refactored setup.py

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2dec652 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1cf80e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b07d0d View commit details
    Browse the repository at this point in the history
  5. Fix variant functions

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c407e4a View commit details
    Browse the repository at this point in the history
  6. Move TagWrapper base class out of template

    The template now only takes the tag and the base class is deduced in the class.
    This allows looking up the template based only on the tag.
    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    74cc227 View commit details
    Browse the repository at this point in the history
  7. Added a wrapper variant

    This makes it easier to pass the wrappers to python
    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    0f21ded View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6b4ae1a View commit details
    Browse the repository at this point in the history
  9. Added __init__.py

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    483f3e4 View commit details
    Browse the repository at this point in the history
  10. Added equals functions

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    9c14884 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4ac488b View commit details
    Browse the repository at this point in the history
  12. Added list functions

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    52b1b7c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5a04c50 View commit details
    Browse the repository at this point in the history
  14. Added compound and named tag classes

    There is nothing in the class yet
    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    505604c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c6957c8 View commit details
    Browse the repository at this point in the history
  16. Fix ListTag_set

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1476d5c View commit details
    Browse the repository at this point in the history
  17. Fix py_getter

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    7fceafb View commit details
    Browse the repository at this point in the history
  18. Reformat

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    e402053 View commit details
    Browse the repository at this point in the history
  19. Improve repr output

    There is no longer a trailing ", "
    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    549719c View commit details
    Browse the repository at this point in the history
  20. Switch to Py_ssize_t

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    e067e50 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    432926d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    707f608 View commit details
    Browse the repository at this point in the history
  23. Fix array constructor

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    47487e1 View commit details
    Browse the repository at this point in the history
  24. Add tag_id value

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    af271c6 View commit details
    Browse the repository at this point in the history
  25. Reformat

    gentlegiantJGC committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a62d500 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Extended __init__.py

    gentlegiantJGC committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    ac873c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16654db View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    5ed7b2d View commit details
    Browse the repository at this point in the history
  2. Rename module_

    gentlegiantJGC committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    41e4dec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b52a1e6 View commit details
    Browse the repository at this point in the history
  4. Fix macro

    gentlegiantJGC committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    7592da8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbcfef0 View commit details
    Browse the repository at this point in the history
  6. Added compound tag

    Added python CompoundTag class.
    Added CompoundTagIterator to handle some some of the C++ gotchas.
    gentlegiantJGC committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    5c9a101 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Added NamedTag

    gentlegiantJGC committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    6523f67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    537793e View commit details
    Browse the repository at this point in the history
  3. Added load overloads

    The preset argument replaces the compressed, little_endian and string_encoding arguments.
    gentlegiantJGC committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    03b83ce View commit details
    Browse the repository at this point in the history
  4. Bumped to numpy 2.0

    gentlegiantJGC committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    029ce6f View commit details
    Browse the repository at this point in the history
  5. Fix list equals

    There were two bugs here.
    The first was is_shared_ptr was taking a vector type not the vector element type.
    The second was a missing !
    gentlegiantJGC committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7761eff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7ec0ecf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c05be93 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

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

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    375e43e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8335180 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ac71ec View commit details
    Browse the repository at this point in the history
  4. Implemented save_to

    gentlegiantJGC committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    3240bb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c23b5bb View commit details
    Browse the repository at this point in the history
  6. Added pickle support

    gentlegiantJGC committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    3968aaa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    994c6dc View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Expose lower level encoding functions

    The higher level functions convert one encoded format to another encoded format.
    The lower level functions expose the intermediate code point vector which may be useful when parsing text.
    gentlegiantJGC committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d8ec492 View commit details
    Browse the repository at this point in the history
  2. Fixed function calls

    gentlegiantJGC committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    4d3795c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    022c16c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2635849 View commit details
    Browse the repository at this point in the history
  3. Added from_snbt

    gentlegiantJGC committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ebde4b8 View commit details
    Browse the repository at this point in the history
  4. Renamed load functions

    The naming scheme for the loading function was a bit odd.
    This standardises the naming scheme across C++ and python functions
    gentlegiantJGC committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    98cc246 View commit details
    Browse the repository at this point in the history
  5. Removed exceptions

    These are now handled by vanilla python exceptions
    gentlegiantJGC committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d3306bf View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Added missing return

    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    54ba1be View commit details
    Browse the repository at this point in the history
  2. Fixed NamedTag repr

    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9af51ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    340061d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    774763a View commit details
    Browse the repository at this point in the history
  5. Removed numpy build-time dependency

    Apparently pybind does not need numpy at compile time.
    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    2827e77 View commit details
    Browse the repository at this point in the history
  6. Modified numpy requirement

    This library should work with both versions of numpy
    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e0ce2cf View commit details
    Browse the repository at this point in the history
  7. Remove python errors

    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4909ef6 View commit details
    Browse the repository at this point in the history
  8. Remove template test

    This is no longer used
    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    2c3c3db View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a56b334 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c9240ce View commit details
    Browse the repository at this point in the history
  11. Revert lower bounds check

    In mutf8 0 is a valid 2-byte code point
    gentlegiantJGC committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    be53fa9 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Improved constructors

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4a55f85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85ebd97 View commit details
    Browse the repository at this point in the history
  3. Fixed getitem

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5affa66 View commit details
    Browse the repository at this point in the history
  4. Fixed errors

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2699746 View commit details
    Browse the repository at this point in the history
  5. Added missing import

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    84d684d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3533cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc8bec6 View commit details
    Browse the repository at this point in the history
  8. Fixed int construction

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1a24886 View commit details
    Browse the repository at this point in the history
  9. Improved int tests

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d9ac1c1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89e35bd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    587ff8f View commit details
    Browse the repository at this point in the history
  12. Fixed ListTag_append

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    660c1c1 View commit details
    Browse the repository at this point in the history
  13. Updated tests

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    0d4bf77 View commit details
    Browse the repository at this point in the history
  14. Added sanity check exception

    This should not be reached
    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    41f4478 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    00d6f3a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fcc5cc9 View commit details
    Browse the repository at this point in the history
  17. Changed exception type

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1e56a9d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0476489 View commit details
    Browse the repository at this point in the history
  19. Updated tests

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f9618ab View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    01b6c01 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    27e8047 View commit details
    Browse the repository at this point in the history
  22. Fixed list iterator

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    15eaa01 View commit details
    Browse the repository at this point in the history
  23. Fixed list methods

    gentlegiantJGC committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d3d02e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Fixed list tag setitem

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c368ea6 View commit details
    Browse the repository at this point in the history
  2. Reformatted

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    8ea927b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffb1255 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fb276d View commit details
    Browse the repository at this point in the history
  5. Added limits import

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    314e23d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    87d9bd4 View commit details
    Browse the repository at this point in the history
  7. Change header

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    87d8ba7 View commit details
    Browse the repository at this point in the history
  8. Add std prefix

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    495ae04 View commit details
    Browse the repository at this point in the history
  9. Added missing imports

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    ead15c4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a234d4a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1343cd9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    525976d View commit details
    Browse the repository at this point in the history
  13. Added space

    This is needed for GCC but MSVC doesn't seem to care
    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0705a06 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    02ac0a7 View commit details
    Browse the repository at this point in the history
  15. Removed cython version

    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    f910fec View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    151c6a6 View commit details
    Browse the repository at this point in the history
  17. Changed package finding

    The package now has a normal __init__.py
    gentlegiantJGC committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    5689dd3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8dbe6f4 View commit details
    Browse the repository at this point in the history