This project is mirrored from https://github.com/paritytech/ink.git. Updated .
  1. 13 Jan, 2020 1 commit
  2. 09 Jan, 2020 1 commit
  3. 06 Jan, 2020 2 commits
  4. 23 Dec, 2019 1 commit
    • Denis_P's avatar
      CARGO_TARGET_DIR test (#240) · 8bcf3813
      Denis_P authored
      * CARGO_TARGET_DIR test
      
      * debug
      
      * debug 2
      
      * now INCREMENTAL will help
      
      * fresh run
      
      * test doesn't want a wasm friend
      
      * trim trailing whitespaces
      
      * check branch named dir and data-races there
      
      * data-races are trouble even here, have to divide concurrent jobs, will take more space
      
      * experiment with `need``
      
      * some trash cycles
      
      * check out the trigger
      
      * typo
      
      * there's no master yet lol
      
      * exact PR/branch number since it's not in master yet
      
      * branch shoulkd be a string
      
      * branch should have a right name silly
      
      * cleanup, check if error from the triggered pipeline returns as a status to the initial pipeline
      
      * more vars to pass
      
      * trigger the pipeline
      
      * trigger the pipeline2
      
      * trigger the pipeline3
      
      * trigger the pipeline4
      
      * trigger the pipeline5
      
      * suppress global var
      
      * target dir caching is ready to be merged
      8bcf3813
  5. 16 Dec, 2019 1 commit
  6. 04 Dec, 2019 1 commit
  7. 02 Dec, 2019 1 commit
  8. 28 Nov, 2019 6 commits
    • Hero Bird's avatar
      [ci] add prelude sub crate to GitLab CI (#286) · b6996ff2
      Hero Bird authored
      b6996ff2
    • Denis_P's avatar
      Sccache, needs, CLI update (#277) · 0fabc87a
      Denis_P authored
      * cli is built and sent to examples; cleanup CI
      
      * fix artifact location
      
      * fix script
      
      * 'install' cargo-contract
      
      * save before merge
      
      * GIT_DEPTH and some hackery
      
      * typo
      
      * fix artifacts
      
      * test
      
      * test2
      
      * test3
      
      * build contract from it's repo
      
      * typo
      
      * fix build
      
      * build won't work inside git repo. Install --root ftw
      
      * fix build
      
      * fix build n
      
      * fix artifacts
      
      * cleanup and ready to go
      
      * contract is returned to dockerfile
      
      * cargo install should have not given error when version matches
      
      * comment, anchor
      
      * typo
      
      * less dupes
      0fabc87a
    • Hero Bird's avatar
      Use ink_prelude crate in the rest of ink! (#285) · 76c10bd1
      Hero Bird authored
      * [*] use ink_prelude crate in the rest of ink!
      
      # Conflicts:
      #	core/Cargo.toml
      #	core/src/storage/flush.rs
      
      * [core] fix usage of ink_prelude in buffer_arena
      
      * [core] apply rustfmt
      76c10bd1
    • Hero Bird's avatar
      Initial implementation of the global buffer arena (#270) · 19fe1917
      Hero Bird authored
      * [core] initial implementation of the global buffer arena
      
      * [core] add license header to buffer arena
      
      * [core] add module level docs to buffer arena
      
      * [core] move license header where it belongs (to the top)
      
      * [core] add docs for diagnostic fields and getters
      
      * [core] add tests to buffer arena
      
      * [core] apply rust fmt
      
      * [core] remove allocated field from BufferArena
      
      The information is redundant since it can be computed as free + in_use.
      
      * [core] improve buffer arena tests
      
      * [core] export buffer arena public symbols from core::env2
      
      * [core] fix doc comment link to AsRef and AsMut
      
      * [core] remove nightly cell-update feature
      
      * [core] enable no_std for BufferArena and mirror thread_local interfacing
      
      * [core] fix some obvious no_std mis-compilations
      
      * [core] apply rustfmt
      
      * [core] apply rustfmt #2
      
      * [core] fix clippy warning in buffer_arena
      
      * [core] fix typo
      Co-Authored-By: Michael Müller's avatarMichael Müller <mich@elmueller.net>
      
      * [core] slightly improve get_buffer impl
      Co-Authored-By: Michael Müller's avatarMichael Müller <mich@elmueller.net>
      
      * [core] slight improvements
      
      * [core] rename LocalKey to GlobalBufferArena
      
      * [core] fix no_std build
      19fe1917
    • Hero Bird's avatar
      Use Flush derives and generally update the Flush trait (#269) · 1601b967
      Hero Bird authored
      * [core] add core/derive crate to add derive macro for Flush
      
      * [core/derive] change license from GPL-3.0 to APACHE-2.0
      
      * [core/derive] implement Flush and AllocateUsing derives based on synstructure
      
      * [core] re-export AllocateUsing and Flush derives from within core
      
      * [core/derive] fix AllocateUsing derive impl
      
      * [core/derive] adjust AllocateUsing tests
      
      * [core/derive] apply cargo fmt
      
      * [core/derive] add test::utils and improve AllocateUsing tests
      
      * [core/derive] add explanation docs
      
      * [core/derive] add doc for a hack
      
      * [core/derive] forbid deriving empty enums for Flush
      
      * [core/derive] update compile tests
      
      * [core] remove derive crate feature
      
      * [core/derive] remove `extern crate ink_core` edition 2015 compat
      
      * [core, examples, lang] update Flush impls
      
      * [core] apply rustfmt
      
      * [core] simplify Flush impl for StashHeader
      
      * [core] remove derive crate feature
      
      * [examples] fix clippy warning about Flush in delegator
      1601b967
    • Hero Bird's avatar
      [prelude] add ink_prelude crate (#282) · d3b091d4
      Hero Bird authored
      This shall replace the ink_core::memory sub module in the future.
      d3b091d4
  9. 26 Nov, 2019 2 commits
    • Hero Bird's avatar
      Add core/derive crate to add derive macro for some traits (#256) · 63163f73
      Hero Bird authored
      * [core] add core/derive crate to add derive macro for Flush
      
      * [core/derive] change license from GPL-3.0 to APACHE-2.0
      
      * [core/derive] implement Flush and AllocateUsing derives based on synstructure
      
      * [core] re-export AllocateUsing and Flush derives from within core
      
      * [core/derive] fix AllocateUsing derive impl
      
      * [core/derive] adjust AllocateUsing tests
      
      * [core/derive] apply cargo fmt
      
      * [core/derive] add test::utils and improve AllocateUsing tests
      
      * [core/derive] add explanation docs
      
      * [core/derive] add doc for a hack
      
      * [core/derive] forbid deriving empty enums for Flush
      
      * [core/derive] update compile tests
      63163f73
    • Hero Bird's avatar
      [core] fix broken doc comment links (#271) · 55377fd6
      Hero Bird authored
      55377fd6
  10. 25 Nov, 2019 3 commits
  11. 22 Nov, 2019 1 commit
  12. 21 Nov, 2019 2 commits
    • Andrew Jones's avatar
      Fix remaining GPL references, change travis -> gitlab status badge (#268) · 6689bb13
      Andrew Jones authored
      * Fix remaining GPL license references
      
      * Replace travis with gitlab badge
      6689bb13
    • Andrew Jones's avatar
      Read runtime storage value using `ext_get_runtime_storage` (#204) · b7ca7525
      Andrew Jones authored
      * [core] add ext_runtime_get_storage
      
      * [core] env2: add ext_runtime_get_storage
      
      * [model] add runtime_get_storage to EnvHandler
      
      * [core/model] fix up compiler errors
      
      * [examples] add example reading from runtime storage
      
      * [examples] add debug statements to the runtime contract
      
      * Add lang2 example for runtime_get_storage
      
      * Hook up lang2 runtime_get_storage, make example compile
      
      * Fix lang2 example generate abi
      
      * Rename to match substrate ext function
      
      * Remove ink 1.0 impl
      
      * Remove remaining ink 1.0 impl
      
      * Rename to get_runtime_storage
      
      * Add some logging contract
      
      * TEMPORARY: diagnostic logging
      
      * Revert "TEMPORARY: diagnostic logging"
      
      This reverts commit 14bfc6e2
      
      * Set storage keys
      
      * More contract diagnosis
      
      * Construct storage key in contract
      
      * More key logging
      
      * Fix balances prefix
      
      * Remove all printlns
      
      * Implement test env accessor for chain storage
      
      * Add back space
      
      * Correct docs
      
      * rustfmt
      
      * spacing
      
      * rustfmt
      
      * Capitalise comment, return correct error in test env
      
      * Update license to Apache 2.0
      b7ca7525
  13. 20 Nov, 2019 3 commits
  14. 15 Nov, 2019 2 commits
  15. 14 Nov, 2019 4 commits
    • Hero Bird's avatar
      Fix typo in README · 80984939
      Hero Bird authored
      80984939
    • Hero Bird's avatar
      0bca8dca
    • Hero Bird's avatar
      Improve GitLab CI (#235) · ef960aae
      Hero Bird authored
      * [lang2/macro] add some dev-dependencies to make CI work better
      
      * [scripts] improve check-workspace script
      
      We introduced "hacks" to make it work with the currently buggy nightly version of cargo ... We hope we can move back to were we came once cargo nightly has been fixed again.
      
      * [*] fix formatting issues
      
      * [cli] re-enable build_template test
      
      * [lang2] fix some clippy warnings
      
      * [cli] fix formatting
      
      * test what's faster
      
      * typo
      
      * debug no config and job name
      
      * bench CI var2
      
      * set of jobs for every crate
      
      * ordered set of jobs for every crate
      
      * right commands for the crates and examples. H/e examples will work after dockerfile update.
      
      * comparing two CI approaches
      
      * typo
      
      * forgot to exclude model and lang crates
      
      * bench CI 2
      
      * will bench in other branch
      
      * fix return in cycle
      
      * review 1
      
      * unset allow_failures
      
      * changed cd to popd
      
      * changed cd to popd
      
      * Update .gitlab-ci.yml
      
      * Update .gitlab-ci.yml
      
      * Update .gitlab-ci.yml
      
      * Update .gitlab-ci.yml
      
      * Update .gitlab-ci.yml
      
      * Update .gitlab-ci.yml
      
      * Update cli/src/cmd/abi.rs
      ef960aae
    • Stefanie Doll's avatar
      Add ./examples README & basic build instructions (#236) · 775992ea
      Stefanie Doll authored
      * Added ./examples README
      
      * Add build description to README's
      
      * Update README.md
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update README.md
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update examples/README.md
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update examples/README.md
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * ABI -> Metadata
      
      * ABI -> Metadata pt. 2
      
      * Wording for --force
      
      * Removed testing paragraph
      
      * Update examples/README.md
      Co-Authored-By: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
      
      * Update examples/README.md
      Co-Authored-By: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
      
      * Update README.md
      775992ea
  16. 13 Nov, 2019 6 commits
  17. 12 Nov, 2019 1 commit
  18. 11 Nov, 2019 1 commit
    • Hero Bird's avatar
      ink! 2.0: Improve Diagnostics follow-up (#228) · 216a79d0
      Hero Bird authored
      * [lang2/macro] improve diagnostics for missing a #[ink(storage)] struct
      
      * [lang2/macro] add UI test for missing #[ink(storage)] struct
      
      * [lang2/macro] add test for multiple #[ink(storage)] structs
      
      * [lang2/macro] add ui test for storage-impl conflict
      
      * [lang2/macro] implement check that ink! impls are on #[ink(storage)] structs
      
      * [lang2/macro] fix some success tests
      
      * [lang2/macro] add expected output for failure UI test 16
      
      * [lang2/macro] add conflicting ink! marker test
      
      The conflict here is the additional #[ink(event)] marker
      
      * [lang2/macro] utils: add filter_map_ink_attributes
      
      * [lang2/macro] structs now dispatch on whichever ink! marker was provided first
      
      * [lang2/macro] add failure UI test for #[ink(event)] provided with another #[ink(storage)]
      
      * [lang2/macro] improve diagnostics for unsupported ink! markers on structs
      
      * [lang2/macro] add test for unknown struct ink! markers
      
      * [lang2/macro] improve diagnostics for multiple #[ink(storage)] structs
      
      * [lang2/macro] adjust test case for multiple #[ink(storage)] structs
      
      * [lang2/macro] improve error message for unknown method ink! markers
      
      The error diagnostics can be further improved by showing all occurences of unknown ink! markers in an impl block.
      
      * [lang2/macro] add test for unknown ink! method marker
      
      * [lang2/macro] fix minor typo in tests
      Co-Authored-By: Michael Müller's avatarMichael Müller <mich@elmueller.net>
      
      * [lang2/macro] fix typo in test
      Co-Authored-By: Andrew Jones's avatarAndrew Jones <ascjones@gmail.com>
      
      * [lang2/macro] fix typo in test
      Co-Authored-By: Andrew Jones's avatarAndrew Jones <ascjones@gmail.com>
      216a79d0
  19. 10 Nov, 2019 1 commit