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

TODO-list (self reminder) #1

Open
2 of 15 tasks
inobelar opened this issue Jun 14, 2023 · 0 comments
Open
2 of 15 tasks

TODO-list (self reminder) #1

inobelar opened this issue Jun 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@inobelar
Copy link
Owner

inobelar commented Jun 14, 2023

  • Find all 'Self' in rust code & make same in C++

  • 'Default' trait implementation must contain 'static default' method

  • Describe Default, Debug and Display traits (used in DebugLogger.hpp for example)

  • Implement the next attributes:

    • #[inline] --> force inline pragma
    • #[must_use] --> [[nodiscard]]
    • #[track_caller] --> ???
  • Implement Iterator trait better

    • Fix 'Duplicates'! (well, simply grep for it 'DUPLICATE')
  • Check all Option::unwrap() -> it must be really unwrap()' not simple .value()

    • Same for ? shortcut
    • .unwrap_or()
    • .unwrap_or_else()
      • Same for 'tests'
      • For this we must tweak Some deduction, that currently ... broken
  • Check, where C++ lambda can be 'static' and make it!

  • Each Some AND None in C++ must be same as in Rust, not Option<T>{...} and Option<T>{}

    • Same for 'tests'
  • TODO: use newly added 'Ordering' where it's needed

  • TODO: sys for allocator-less environment (non Vec)

  • Implement the next test somehow: taffy/tests/serde.rs

  • Replace std::function usage everywhere, with something lightweight

  • Somehow resolve third-party libraries distribution:

    • It must not require adding extra 'include pathes' to make taffy_cpp work
    • Maybe we need only distribute libs used-sources (lilke doctest in tests), instead the whole sub-project ?
  • amalgamation

  • WTF in Release with Style::aspect_ratio & justify_content - warnings about 'possibly unitialized'

@inobelar inobelar self-assigned this Jul 11, 2023
@inobelar inobelar added the enhancement New feature or request label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant