1. Apr 12, 2022
  2. Apr 08, 2022
  3. Mar 18, 2022
  4. Mar 11, 2022
  5. Feb 25, 2022
  6. Feb 23, 2022
    • Michael Müller's avatar
      Add ink! linting MVP stage (#431) · 836acbff
      Michael Müller authored
      
      
      * Add ink! linting MVP stage
      
      * CI: cache cargo installations; update versions
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarSergejs Kostjucenko <[email protected]>
      
      * Update changelog
      
      * Check if `dylint` requirements are installed
      
      * Make `clippy` happy
      
      * Make tests happy
      
      * Make `LICENSE` symlink
      
      * Make error handling and panic's consistent
      
      * Improve code structure
      
      * Remove unneeded `--workspace`
      
      * Fix `mapping-two-constructor` test file
      
      * Simplify `Option<Vec<_>>` to `Vec`
      
      * Generalize unsetting of env variables in `invoke_cargo`
      
      * Move special case of `dylint` verbosity to call site
      
      * Keep calm and return an `Err`
      
      * Move checking for `dylint-link` to `build.rs`
      
      * Add `ink_linting/Cargo.lock`
      
      * Move `bool_to_exit_code` inline
      
      * Add test for non-fully-qualified path call of `initialize_contract`
      
      * Fix panic when no manifest path was supplied
      
      * Improve structure of `build.rs`
      
      * Make linting error message non-blaming
      
      * Remove incorrect note on not detecting indirections
      
      * Make `clippy` happy
      
      * Impprove text
      
      * Build `ink_linting` with `--locked`
      
      * Fix path separators for Windows CI
      
      * Revert "Fix path separators for Windows CI"
      
      This reverts commit b5998313.
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Use `which` for detecting `dylint-link` installation
      
      * Remove `DYLINT_DRIVER_PATH`
      
      * Add `--lib`
      
      * Revert "Remove `DYLINT_DRIVER_PATH`"
      
      This reverts commit d0d209fe
      
      .
      
      * Use temporary `DYLINT_DRIVER_PATH` path during tests
      
      * Give `template` variable a speaking name
      
      Co-authored-by: CI system <>
      Co-authored-by: default avatarSergejs Kostjucenko <[email protected]>
      836acbff
  7. Feb 18, 2022
  8. Jan 20, 2022
  9. Jan 18, 2022
  10. Nov 29, 2021
  11. Nov 16, 2021
  12. Nov 08, 2021
    • achimcc's avatar
      Offline flag (#356) · 90813a5f
      achimcc authored
      * add offline flag to build mode
      
      * add network enum and interpret --offline flag
      
      * support offline flag for metadata generation
      
      * cargo fmt
      
      * cargo clippy
      
      * fix tests
      90813a5f
  13. Aug 12, 2021
    • Michael Müller's avatar
      Release v0.14.0 (#327) · 7bbc95ce
      Michael Müller authored
      * Add log output
      
      * Add #326 to changelog
      
      * Bump version
      
      * Fix changelog
      v0.14.0
      7bbc95ce
    • Hernando Castano's avatar
      Add option for JSON formatted output (#324) · 259b716e
      Hernando Castano authored
      
      
      * Spit out JSON results at the end of a build
      
      * Mark `--output_json` as conflicting with `--verbose`
      
      * Override verbosity to `quiet` when outputting JSON
      
      * Update tests to include `OutputType` param
      
      * Temporarily please Clippy
      
      * Add some logging
      
      This is gonna fail, but I want to see what the CI has to say.
      
      * Remove TODO so that format CI step passes
      
      * Return result from `serialize_json`
      
      * Make JSON test a sanity check
      
      * Mention this PR in the CHANGELOG
      
      * Implement `Default` for a few build options
      
      * Address Clippy's `too_many_arguments` lint
      
      * Use `ExecuteArgs` in tests
      
      * Make `manifest_path` field public instead
      
      Clippy was complaining about `dead_code` when building
      in non-test mode, so I'm going with this instead.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarMichael Müller <[email protected]>
      
      * Sanity check `BuildResult'` JSON serialized form
      
      * Add `execute()` test back
      
      * Import `OutputType` in tests
      
      Co-authored-by: default avatarMichael Müller <[email protected]>
      259b716e
    • Alexander Theißen's avatar
      Do not strip out panic messages in debug builds (#326) · 7bc60974
      Alexander Theißen authored
      * Do not strip out panic messages in debug builds
      
      * Build code_only test in release mode
      7bc60974
  14. Aug 04, 2021
  15. Aug 03, 2021
    • Michael Müller's avatar
      Fix path issue for Windows (#313) · c76ffc6a
      Michael Müller authored
      * Run tests for Windows
      
      * Add test to reproduce error
      
      * Canonicalize paths in test
      
      * Revert me: Run only necessary tests
      
      * Join `Path`'s to avoid OS-specific separators
      
      * Revert me: Debug output
      
      * Fix workflow
      
      * Revert me: Debugging
      
      * Windows debugging
      
      * More debugging
      
      * Debugging
      
      * Debugging
      
      * Add nightly
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Fix commands
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Debug path
      
      * Remove eprintln's
      
      * Test should fail
      
      * Test should run
      
      * Test should run
      
      * Restore Windows testing
      
      * Apply `cargo fmt`
      
      * Fix default
      
      * Remove debug stuff
      
      * Run tests only `master`
      
      * Update changelog
      c76ffc6a
  16. Jul 22, 2021
    • Michael Müller's avatar
      Implement `BuildMode` (#298) · b5f241f8
      Michael Müller authored
      * Implement `BuildMode`
      
      * Remove `ignore` since all tests are failing anyway
      
      * Switch to `--release`
      
      * Revert "Switch to `--release`"
      
      This reverts commit 3cb01e10.
      
      * Keep `BuildMode` enum
      
      * Improve readability
      
      * Update changelog
      
      * Make `rustfmt` always report todo's and fixme's
      
      * Remove todo comment
      
      * Fix tests
      b5f241f8
    • Hernando Castano's avatar
      Change default optimizations pass to focus on code size (#305) · f165b8c4
      Hernando Castano authored
      * Change default opitmization pass to focus on code size
      
      * Change default optimization level from `-Os` to `-Oz`
      
      * Update CHANGELOG
      f165b8c4
  17. Jul 20, 2021
  18. Jun 17, 2021
  19. May 25, 2021
  20. May 12, 2021
  21. Apr 21, 2021
    • Michael Müller's avatar
      Add CI for Windows (#261) · 6774f341
      Michael Müller authored
      
      
      * Add CI for building contract template under Windows
      
      * Disable `unix` specific tests
      
      * Remove build warnings due to `dead_code` with default features
      
      * Remove unused `binaryen` dependency
      
      * Ensure path is always canonicalized for comparison
      
      * Apply auto-formatting to yml
      
      * CI: optimize caching
      
      Co-authored-by: default avatarDenis P <[email protected]>
      6774f341
  22. Apr 20, 2021
    • Michael Müller's avatar
      Fix flaky CI test (#263) · 307de23e
      Michael Müller authored
      * Add fix
      
      * Revert "Add fix"
      
      This reverts commit 5c81fee5.
      
      * Generate unique contract names for tests
      
      * Fix test
      
      * Implement comments
      
      * Implement comments
      307de23e
  23. Apr 12, 2021
  24. Apr 06, 2021
  25. Mar 31, 2021
  26. Mar 30, 2021
  27. Mar 26, 2021
  28. Mar 24, 2021
    • Michael Müller's avatar
      Support `optimization-passes` in the release profile (#231) · 3454c125
      Michael Müller authored
      * Reduce code for `OptimizationPasses`
      
      * Fix typo: zeros ➜ zeroes
      
      * Reduce code for `OptimizationPasses`
      
      * Add log output for optimization flags
      
      * Support `optimization-passes` in the release profile
      
      * Add link to Windows binary releases to Readme
      
      * Improve failed assert message
      
      * Account for `binaryen-rs` behavior
      
      * Link GitHub issue in comment
      
      * Implement comments
      
      * Update `--help`
      3454c125
  29. Mar 18, 2021
  30. Mar 10, 2021
    • Michael Müller's avatar
      Bring `test-ci-only` back (#180) · 4111385f
      Michael Müller authored
      * Revert "Revert me: Remove `--all-features` (#114)"
      
      This reverts commit 4a0d352b.
      
      * Pass verbosity flag
      
      * Format use
      
      * Run tests without `binaryen-as-dependency`
      
      * Update to `scale-info` 0.6
      
      * Fix `value used after move`
      
      * Do not continue processing wasm on `check`
      
      Results in `No such file` otherwise, since
      no *.wasm is generated on `check`.
      
      * Make casing consistent for `log` messages
      
      * Clarify behavior of `check`
      
      * Revert me: add debug output
      
      * Upgrade `cargo_metadata` to 0.13.1
      
      * Fix assert for target path `target/ink`
      
      * Revert "Revert me: add debug output"
      
      This reverts commit d2bf1dd9.
      
      * Revert "Upgrade `cargo_metadata` to 0.13.1"
      
      This reverts commit 723c9b29.
      
      * Run tests only with `binaryen-as-dependency`
      
      * Upgrade cargo-metadata and fix usages (#210)
      
      * Only allow new contract names beginning with an alphabetic character (#219)
      
      * Only allow contract names beginning with an alphabetic character
      
      * Add test for contract name beginning with a number
      
      * Add test for contract name beginning with a number
      
      * Run tests only with `binaryen-as-dependency`
      
      * Refactor
      
      * Revert "Refactor"
      
      This reverts commit defe20db
      
      .
      
      Co-authored-by: default avatarAndrew Jones <[email protected]>
      4111385f
  31. Feb 22, 2021
    • Michael Müller's avatar
      Fix `wasm-opt` regression (#187) · 95c5ee85
      Michael Müller authored
      * Use `--zero-filled-memory` for `wasm-opt`
      
      * Assert that compiled contract template is below 3k
      
      * Apply cargo fmt
      
      * Remove superfluous comment
      
      * Improve error message on `wasm-opt` error
      
      * Specify minimum binaryen version
      95c5ee85
  32. Feb 18, 2021