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

RAII #659

Open
wants to merge 74 commits into
base: master
Choose a base branch
from
Open

RAII #659

wants to merge 74 commits into from

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    e248051 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e2cdb0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    683526d View commit details
    Browse the repository at this point in the history
  4. <feature> added __copy metamethod which enables specialized copy-assi…

    …gnment and construction.
    hiemstar committed May 17, 2024
    Configuration menu
    Copy the full SHA
    5ba46c8 View commit details
    Browse the repository at this point in the history
  5. <tests> added simple testing of raii metamethods __init, __dtor, __co…

    …py, and a simple implementation of a unique smart pointer type with move semantics.
    hiemstar committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d867d28 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    52ae95d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    31482a8 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. <bugfix> fixed dispatch of __copy. calling __copy is limited to rhs b…

    …eing a 'var', 'literal' or 'constant'.
    hiemstar committed May 21, 2024
    Configuration menu
    Copy the full SHA
    a685745 View commit details
    Browse the repository at this point in the history
  2. <refactor> added hasmetamethod(v, method). changed copy assignment be…

    …havior: deferred destructor call to data of lhs is performed after copy assignment.
    hiemstar committed May 21, 2024
    Configuration menu
    Copy the full SHA
    d677352 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    b77f477 View commit details
    Browse the repository at this point in the history
  2. <bugfix> fixed small bug in copyconstruction where the type is passed…

    …, e.g 'var a : A = ...', by setting rhs type only when required.
    hiemstar committed May 22, 2024
    Configuration menu
    Copy the full SHA
    8ba635e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ff7038 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'raii' of github.com:renehiemstra/terra into raii

    Merging with changes made directly on the remote: SDKROOT code commented
    out.
    hiemstar committed May 22, 2024
    Configuration menu
    Copy the full SHA
    1d03783 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31a006b View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    ac0c68a View commit details
    Browse the repository at this point in the history
  2. <test> raii-offset_ptr.t: example with a type that has some sematics …

    …of an offset pointer type, which has an overloaded __copy method.
    hiemstar committed May 23, 2024
    Configuration menu
    Copy the full SHA
    8aee8b1 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. <feature> added lib/terralibext.t that is being called from terralib …

    …to enable composable raii datastructures. Missing __init, __copy, __dtor methods are generated on the fly when needed.
    hiemstar committed May 26, 2024
    Configuration menu
    Copy the full SHA
    94caf67 View commit details
    Browse the repository at this point in the history
  2. <refactor> changed __init, __copy, __dtor from metamethods to regular…

    … methods, such that they can potentially be called in sourcecode.
    hiemstar committed May 26, 2024
    Configuration menu
    Copy the full SHA
    8cbc4b0 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    509816d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0090b2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9bf3f79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1d9cf0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    49170c6 View commit details
    Browse the repository at this point in the history
  6. <bugfix> fixed assignment__copy assignment. removed __dtor in custom …

    …__copy assignment call. resource handling is in the hands of the programmer in case of __copy.
    hiemstar committed May 27, 2024
    Configuration menu
    Copy the full SHA
    2e3dcf3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e6bfc3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    95a7e84 View commit details
    Browse the repository at this point in the history
  9. <bugfix> fixed throwing error in createassignment in case of a tuple …

    …assignment of managed variables with a custom copy method.
    hiemstar committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f4caa8b View commit details
    Browse the repository at this point in the history
  10. <bugfix> proper error exception for tuple assignment of managed varia…

    …bles. see test fails/raii-tuple-custom-copy.t
    hiemstar committed May 27, 2024
    Configuration menu
    Copy the full SHA
    25cb501 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dd7754f View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    5415fe2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ced17ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8877111 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b760837 View commit details
    Browse the repository at this point in the history
  5. <feature> added __copy metamethod which enables specialized copy-assi…

    …gnment and construction.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    c503201 View commit details
    Browse the repository at this point in the history
  6. <tests> added simple testing of raii metamethods __init, __dtor, __co…

    …py, and a simple implementation of a unique smart pointer type with move semantics.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    59d0945 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    69b96e0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5510a1d View commit details
    Browse the repository at this point in the history
  9. <bugfix> fixed dispatch of __copy. calling __copy is limited to rhs b…

    …eing a 'var', 'literal' or 'constant'.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    010da09 View commit details
    Browse the repository at this point in the history
  10. <refactor> added hasmetamethod(v, method). changed copy assignment be…

    …havior: deferred destructor call to data of lhs is performed after copy assignment.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    4e363b0 View commit details
    Browse the repository at this point in the history
  11. <bugfix> fixed small bug in copyconstruction where the type is passed…

    …, e.g 'var a : A = ...', by setting rhs type only when required.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    3dbede1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2c83bf9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5e55ed5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2c24f11 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    543bac5 View commit details
    Browse the repository at this point in the history
  16. <test> raii-offset_ptr.t: example with a type that has some sematics …

    …of an offset pointer type, which has an overloaded __copy method.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    1b56cf1 View commit details
    Browse the repository at this point in the history
  17. <feature> added lib/terralibext.t that is being called from terralib …

    …to enable composable raii datastructures. Missing __init, __copy, __dtor methods are generated on the fly when needed.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    9762db8 View commit details
    Browse the repository at this point in the history
  18. <refactor> changed __init, __copy, __dtor from metamethods to regular…

    … methods, such that they can potentially be called in sourcecode.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    44fa7ad View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a2671e3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0d21b6d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    84dfe04 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    433c5b7 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    93114ff View commit details
    Browse the repository at this point in the history
  24. <bugfix> fixed assignment__copy assignment. removed __dtor in custom …

    …__copy assignment call. resource handling is in the hands of the programmer in case of __copy.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    880342e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d2d2ce8 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    2c3a4e0 View commit details
    Browse the repository at this point in the history
  27. <bugfix> fixed throwing error in createassignment in case of a tuple …

    …assignment of managed variables with a custom copy method.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    2aeb433 View commit details
    Browse the repository at this point in the history
  28. <bugfix> proper error exception for tuple assignment of managed varia…

    …bles. see test fails/raii-tuple-custom-copy.t
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    5fcd780 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    ee3b76d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    dd5efb3 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    19d2f39 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    50abd4a View commit details
    Browse the repository at this point in the history
  33. <refactor> prohibiting assignments of managed objects consisting of m…

    …ore that 1 assignment.
    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    ae58678 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5c31ea5 View commit details
    Browse the repository at this point in the history
  35. <docs> updated /lib/raii.md

    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    ec311ad View commit details
    Browse the repository at this point in the history
  36. <docs> updated /lib/raii.md

    hiemstar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    35040c6 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Update terralib.lua

    <bugfix> undid accidental deletion of macos systemcode.
    renehiemstra committed May 31, 2024
    Configuration menu
    Copy the full SHA
    12f6128 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. <docs> updated /lib/raii.md

    hiemstar committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    296ba5c View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    e020696 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into raii

    merging with upstream.
    hiemstar committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    df66d4c View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

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

Commits on Aug 27, 2024

  1. <bugfix> fixed issue with assignment of managed variables where a tem…

    …porary allocvar is created.
    hiemstar committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    eaff090 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    487cf69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8109b94 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. <bugfix> fixed pasted-copy bug in __addmissingcopy - where hasdtor sh…

    …ould have been hascopy.
    hiemstar committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    477ba23 View commit details
    Browse the repository at this point in the history