-
Notifications
You must be signed in to change notification settings - Fork 28
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
Updates for version, bitflags, bitfield and default tags. #129
Commits on Sep 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9aabfc6 - Browse repository at this point
Copy the full SHA 9aabfc6View commit details -
Added code to Bitfield to make it handle Bitflags without error and u…
…se the correct output type
Configuration menu - View commit details
-
Copy full SHA for efc61ac - Browse repository at this point
Copy the full SHA efc61acView commit details -
Changed version conditioning so that ver2/until is still a valid vers…
…ion (as intended).
Configuration menu - View commit details
-
Copy full SHA for 89404ab - Browse repository at this point
Copy the full SHA 89404abView commit details -
Separated out often-used pattern for getting attributes that can have…
… different names, and added 'length' and 'width' alias for 'arr1' and 'arr2', respectively.
Configuration menu - View commit details
-
Copy full SHA for fffa37f - Browse repository at this point
Copy the full SHA fffa37fView commit details -
Changed version.py generation. It now takes into account that one ver…
…sion can use multiple games (separated in the xml by a ', ', and that certain versions may be the default for a particular game. It also uses an enum instead of the game name strings.
Configuration menu - View commit details
-
Copy full SHA for b25db12 - Browse repository at this point
Copy the full SHA b25db12View commit details -
Added special case for num attributes in versions, so that values lik…
…e '10.0.1.0' are converted to their proper integer values (like they are in field attribute conditions)
Configuration menu - View commit details
-
Copy full SHA for 672db76 - Browse repository at this point
Copy the full SHA 672db76View commit details -
Added return to set_game() so that it returns as soon as possible and…
… defaults are actually respected.
Configuration menu - View commit details
-
Copy full SHA for b898931 - Browse repository at this point
Copy the full SHA b898931View commit details -
Changed import path replacement to work on platforms that don't use '…
…\\' as their separator.
Configuration menu - View commit details
-
Copy full SHA for af00e34 - Browse repository at this point
Copy the full SHA af00e34View commit details -
Added (correct) functionality of onlyT and excludeT, where they check…
… the type of the object that the field is on.
Configuration menu - View commit details
-
Copy full SHA for d685dc9 - Browse repository at this point
Copy the full SHA d685dc9View commit details -
Added context argument and property to generated structs and compound…
…s, so that they can be used when initializing fields.
Configuration menu - View commit details
-
Copy full SHA for 4af1ec8 - Browse repository at this point
Copy the full SHA 4af1ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58658e8 - Browse repository at this point
Copy the full SHA 58658e8View commit details -
Added default tag handling within fields. Version checking functions …
…are not yet imported.
Configuration menu - View commit details
-
Copy full SHA for 9e8cb50 - Browse repository at this point
Copy the full SHA 9e8cb50View commit details -
Added encoding attribute to XmlParser class, to be used by all genera…
…ted code (facilitating ≤ from nif.xml).
Configuration menu - View commit details
-
Copy full SHA for 0992777 - Browse repository at this point
Copy the full SHA 0992777View commit details -
Added bitfield/bitflags initialization when used in a struct/niObject…
… (rather than setting an int).
Configuration menu - View commit details
-
Copy full SHA for 33b1d92 - Browse repository at this point
Copy the full SHA 33b1d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2555b32 - Browse repository at this point
Copy the full SHA 2555b32View commit details -
Removed unused functions collect_types(), write_file() and get_names(…
…) from codegen.py.
Configuration menu - View commit details
-
Copy full SHA for 1e2b09d - Browse repository at this point
Copy the full SHA 1e2b09dView commit details -
Changed bitfield to no longer inherit int (caused problems when right…
…-adding or other arithmetic operations). Implemented numeric emulation as documented on https://docs.python.org/3/reference/datamodel.html#emulating-numeric-types
Configuration menu - View commit details
-
Copy full SHA for a1cdf30 - Browse repository at this point
Copy the full SHA a1cdf30View commit details -
Changed module structure to take precedence over tag type, and apply …
…to tags other than niobject.
Configuration menu - View commit details
-
Copy full SHA for 8a10faf - Browse repository at this point
Copy the full SHA 8a10fafView commit details -
Pulled module paths up (i.e. module/enum and module/struct instead of…
… struct/module) and applied them to all tags. Codegen adds __init__.py file to this path where the module attributes are set.
Configuration menu - View commit details
-
Copy full SHA for 71687e4 - Browse repository at this point
Copy the full SHA 71687e4View commit details -
Added __init__.py generation to subfolders to prevent errors when the…
…y are imported again.
Configuration menu - View commit details
-
Copy full SHA for afb021b - Browse repository at this point
Copy the full SHA afb021bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1408e25 - Browse repository at this point
Copy the full SHA 1408e25View commit details -
Changed expression evaluation on cond/vercond to be in line with issu…
…e 73 of nifxml spec: cond is for local variables, vercond for global variables. Updated source xmls accordingly, should not result in a change of generated code (except for nif.xml).
Configuration menu - View commit details
-
Copy full SHA for 9169e01 - Browse repository at this point
Copy the full SHA 9169e01View commit details -
Removed argument name_filter, function eval and function map_ from Ex…
…pression class on Hendrix' recommendation, because they are not used.
Configuration menu - View commit details
-
Copy full SHA for 255c3c9 - Browse repository at this point
Copy the full SHA 255c3c9View commit details