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

nifxml 0.9 specification sync #8

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from

Commits on Jun 28, 2017

  1. Update nifxml submodule

    hexabits committed Jun 28, 2017
    Configuration menu
    Copy the full SHA
    edc0af7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d7cc38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a38d49f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    318ca60 View commit details
    Browse the repository at this point in the history
  5. Add mult and div operators

    hexabits committed Jun 28, 2017
    Configuration menu
    Copy the full SHA
    98356ae View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2017

  1. Attempt cast for duplicate names with differing types

    On several occasions the newer nif.xml now has version-exclusive names which are identical yet have different types.  Such as uint in one version and ushort in another.  Adding the cast to read/write will adjust the read/write size appropriately.
    
    Note this does not fix all duplicate names, just the ones where a cast during read/write is all that is necessary.
    
    The first type also has to be the largest as declaration for the type depends on the first name, and subsequent smaller types will reuse that name.
    hexabits committed Jul 26, 2017
    Configuration menu
    Copy the full SHA
    34e8324 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Support abstract members

    NiDataStream uses two members to store args extracted from the RTTI string for the name that are not actually read/written during I/O so the current generation for this object is incorrect.
    hexabits committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    de0f5e0 View commit details
    Browse the repository at this point in the history
  2. Nested compounds update

    For some reason nifxml.py lists a bunch of compounds which are often nested in order to write the toString code correctly.  Added the new constraint descriptors to it.
    hexabits committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    f98dc21 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2017

  1. nifxml 0.9 niflibtype removal

    The mapping for XML type to niflib type is now internal instead of in nif.xml.  Type names are synced to nifxml 0.9.
    hexabits committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    1d2f395 View commit details
    Browse the repository at this point in the history
  2. Remove duplicates from cpp file includes

    The list of includes was not first reduced to unique includes before writing, so the same file would be included over and over again.
    hexabits committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    03da4de View commit details
    Browse the repository at this point in the history
  3. Correct handling of array_output_count for nested compounds

    Added Compound.has_arr() which recursively checks all members for an array size.  This removes the need for a manually maintained list of compounds with arrays.
    hexabits committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    735de17 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2017

  1. Python 3 support

    hexabits committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    0a37f76 View commit details
    Browse the repository at this point in the history
  2. Update nifxml and kfmxml

    hexabits committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    5eb2321 View commit details
    Browse the repository at this point in the history
  3. nifxml 0.9 member accessor support for arg

    Required to pass a child member of BSVertexDesc through to BSVertexData.
    
    Comment out BSVertexDesc as a native type for now, as niflib doesn't have such a type yet anyway.
    hexabits committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    1175613 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2017

  1. ICO file update for new logo

    hexabits committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    07dc05f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2017

  1. Move CFile to gen_niflib, rename niflibtype

    This is only the first step of many...
    hexabits committed Dec 19, 2017
    Configuration menu
    Copy the full SHA
    0671a2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fff14dc View commit details
    Browse the repository at this point in the history
  3. Move repetitious strings to variables, specialize code() for namespac…

    …e/include
    
    Reduced the constant code() calls for each line and used multi-line string templates instead.
    
    Created specialized CFile methods for includes, include guards, and namespaces to make it even more legible.
    hexabits committed Dec 19, 2017
    Configuration menu
    Copy the full SHA
    92df236 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2017

  1. Pylint first pass

    hexabits committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    ebcee67 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. Move niflib code out of nifxml

    A function, parse_XML now must be called to actually fill the Blocks/Compounds.  This gives another script a chance to monkeypatch the classes before calling the function.
    
    Moved all the niflib specific methods to gen_niflib and then monkeypatch the classes with them.
    
    Pass native types dict as a parameter instead of referencing it globally.
    
    Fixed nifxml_doc generation also.
    hexabits committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    af99c64 View commit details
    Browse the repository at this point in the history
  2. Fix bug with "Can be used as array size"

    Wasn't actually looking at the member count attribute.  Thanks, Python.
    hexabits committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    897068f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf3aca1 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2018

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

Commits on Jan 7, 2018

  1. Update gen_niflib for nifxml.py

    Also improve the include() function for CFile so that quotes are not required.
    hexabits committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    dc96f68 View commit details
    Browse the repository at this point in the history
  2. Rename nifxml_doc

    hexabits committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    b8ef1e1 View commit details
    Browse the repository at this point in the history
  3. Remove docsys references

    hexabits committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    1d9b197 View commit details
    Browse the repository at this point in the history
  4. Reorganization, cleanup

    hexabits committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    6bb4cc7 View commit details
    Browse the repository at this point in the history