Skip to content

Commit

Permalink
Merge branch 'release/v0.4.4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lo48576 committed Aug 9, 2019
2 parents 41862a4 + 206b2b1 commit 47384af
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
41 changes: 23 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,48 @@

## [Unreleased]

## [0.4.4]

* Documents are improved a little.
* Manual tree construction support is added.
* Manual tree construction (without using parser) is now supported.
+ You can add nodes and attributes manually to the tree at runtime.
+ You can describe the tree using `tree_v7400!` macro at compile time.
* FBX binary writer is added.
* `low::v7400::AttributeValue` implements `From<_>` for some types.
* Strict equality check is added for trees, nodes, and attribute values.
* `tree_v7400!` macro is added to construct tree easily.
* `write_v7400_binary!` macro is added to write tree easily.
* `tree::v7400::Tree::debug_tree()` is added.
* Tiny improvements:
+ `low::v7400::AttributeValue` implements `From<_>` for some types.
+ Strict equality check is added for trees, nodes, and attribute values.
+ `tree::v7400::Tree::debug_tree()` is added.
* Now rustc-1.34 or later is required.
+ To use `std::convert::{TryFrom, TryInto}`.

### Added
* Manual tree construction support is added.
* Manual tree construction support is added (64f70b051c30, 39c4fabad119).
+ Methods to add new nodes and attributes are added.
+ Complete modification is not yet supported, for example modifying already
added attributes or removing nodes.
* FBX binary writer is added.
* `tree_v7400!` macro is added to construct tree easily.
See documentation for detail.
* FBX binary writer is added (e1cb2a232d19, 33d9ac3a589c, d5dc779c0bd4,
6cddca849a4f, 8c84359d2578).
+ `writer::v7400::binary` contains FBX binary writer stuff.
+ This can be enabled by `writer` feature.
* `low::v7400::AttributeValue` implements `From<_>` for some types.
+ `write_v7400_binary!` macro is also added.
See the documentation for detail.
* `low::v7400::AttributeValue` implements `From<_>` for some types
(a54226534a73, 6546d62fd38a).
+ Primitive types: `bool`, `i16`, `i32`, `i64`, `f32`, `f64`.
+ Vector types: `Vec<bool>`, `Vec<i32>`, `Vec<i64>`, `Vec<f32>`, `Vec<f64>`,
`Vec<u8>`.
+ Slice types: `&[bool]`, `&[i32]`, `&[i64]`, `&[f32]`, `&[f64]`, `&[u8]`.
+ Special types: `String`, `&str`.
* Strict equality check is added for trees, nodes, and attribute values.
* Strict equality check is added for trees, nodes, and attribute values
(8784d7609d8e).
+ Trees: `tree::v7400::Tree::strict_eq()`.
+ Nodes: `tree::v7400::NodeHandle::strict_eq()`.
+ Attributes: `low::v7400::AttributeValue::strict_eq()`.
+ These checks compares `f32` and `f64` bitwise.
This means `NAN == NAN` situation is possible.
* `tree_v7400!` macro is added to construct tree easily.
+ Enabled by `tree` feature.
+ See documentation.
* `write_v7400_binary!` macro is added to write tree easily.
+ Enabled by `writer` feature.
+ See documentation.
* `tree::v7400::Tree::debug_tree()` is added.
* `tree::v7400::Tree::debug_tree()` is added (4524b4dc4a99).
* This returns pretty-printable object of the tree.
* It dumps human-readable tree structure.
* Default `Debug` implementation for `Tree` is hard to read because it dumps
Expand Down Expand Up @@ -207,7 +211,8 @@

Totally rewritten.

[Unreleased]: <https://github.com/lo48576/fbxcel/compare/v0.4.3...develop>
[Unreleased]: <https://github.com/lo48576/fbxcel/compare/v0.4.4...develop>
[0.4.4]: <https://github.com/lo48576/fbxcel/releases/tag/v0.4.4>
[0.4.3]: <https://github.com/lo48576/fbxcel/releases/tag/v0.4.3>
[0.4.2]: <https://github.com/lo48576/fbxcel/releases/tag/v0.4.2>
[0.4.1]: <https://github.com/lo48576/fbxcel/releases/tag/v0.4.1>
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fbxcel"
version = "0.4.3"
version = "0.4.4"
authors = ["YOSHIOKA Takuma <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ If you want to interpret and render FBX data, use

* Pull parser for FBX binary (`pull_parser` module)
+ FBX 7.4 and 7.5 is explicitly supported.
* Writer for FBX binary (`writer` module)
+ FBX 7.4 and 7.5 is explicitly supported.
+ This is optional and enabled by `writer` feature.
* Types and functions for low-level FBX tree access
+ This is optional and enabled by `tree` feature.
+ Provides arena-based tree type and read-only access to nodes.
Expand Down

0 comments on commit 47384af

Please sign in to comment.