Skip to content

Latest commit

 

History

History
115 lines (90 loc) · 7.35 KB

CHANGELOG.md

File metadata and controls

115 lines (90 loc) · 7.35 KB

2018-04-18, Version 0.3.0

Commits

  • [650df0bf4d] (cargo-release) version 0.3.0 (Yoshua Wuyts)
  • [a3ec0ddb97] Fixing wrong data in certain crash dump fields (#15)

Fixing a bug in the log dumps

  • Carrying over metadata from first macro call to properly include metadata in crash dumps.
  • Making Method derive Copy (Katharina)
  • [ed11055e06] Merge pull request #16 from killercup/docs

Ensure no docs are missin (Pascal Hertleif)

  • Correct typo embarrasing
  • Fix typos (Andy Slack)
  • [9e972ef654] Ensure no docs are missing (Pascal Hertleif)
  • [b82ac5c35a] Merge pull request #11 from skade/update-readme

Update README with current interfac (Pascal Hertleif)

  • [21c5417580] Update README with current interface (Florian Gilcher)
  • [d86232967d] Merge pull request #10 from killercup/rollup

Rollup (Pascal Hertleif)

  • [80046e1488] Use more generic way to get a Path (Pascal Hertleif)
  • [dc05d332a0] Merge skade-join-properly into rollup (Pascal Hertleif)
  • [2e0127c830] Merge yoshuawuyts-fix-example into rollup (Pascal Hertleif)
  • [fc16cb8ac2] Update Cargo.lock (Pascal Hertleif)
  • [e53059ff3c] rustfmt (Pascal Hertleif)
  • [a51285bb10] Properly handle file paths using Path and PathBuf (Florian Gilcher)
  • [82ebdccb5a] make clippy pass for real this time (Yoshua Wuyts)
  • [2297066f50] please clippy (Yoshua Wuyts)
  • [b1ec2b5b7b] fix examples (Yoshua Wuyts)
  • [369ca4e526] Bumpding version, adding author (Katharina)
  • [31e1d9ada2] Cleaning up warnings for the big rebase (Katharina Sabel)
  • [3ffa055d57] Attempting to fix the err example using the failures crate (Katharina Sabel)
  • [5214754bc0] Adding a bit of padding in the log (Katharina Sabel)
  • [031b2b846b] Merging advaned report functionality. (Katharina Sabel)
  • [7a2e923075] Merging #4 by yoshuawuyts

This commit adds the ability to generate reports based on an application crash. It hooks into the existing panic handler and also exposes the report generation feature via a pub fn (Katharina Sabel)

  • [7dc354b88e] Preparing for cherrypick (Katharina Sabel)
  • [5002578d8f] Cleaning up merge artefact (Katharina Sabel)
  • [bd4526a315] Changing the core functionality of the crate

Instead of having to wrap around every panic, this now uses set_hook once to register the callback to print a pretty status message. This also has the added benefit of pulling in env! calls because the main setup was made into a macro.

Optionally the two core functions (print_help and dump_log) can now also be used without the core macro, because they are pub fn (Katharina Sabel)

  • Make it compile on stable

Also adds a nightly feature flag that will automatically be picked up by docs.rs to build nice docs.

  • Make clippy a CI-only dependency

You can run cargo clippy locally to get the same effect. I've also taken the liberty to nail down the rustfmt version to use, so we can update it explicitly. (This is the same CI setup that assert_cli uses.)

  • Get rid of all dependencies for now

Improves compile times :trollface:

  • Use termcolor for colored output

This should make it compatible with windows consoles.

  • Set up some kind of error handling for the hook

  • rustfmt

  • Bump clippy

and choose a nightly that actually exists.

  • Make clippy happy (Pascal Hertleif)

Stats

 .editorconfig                           |  25 +--
 .gitignore                              |   3 +-
 .travis.yml                             |   8 +-
 Cargo.lock                              | 391 +++++++++++++++++++++++++++++++++-
 Cargo.toml                              |  11 +-
 README.md                               |  51 +----
 examples/panic.rs                       |   9 +-
 src/lib.rs                              | 130 ++---------
 src/report.rs                           |  22 +--
 tests/custom-panic/Cargo.toml           |  10 +-
 tests/custom-panic/src/main.rs          |  14 +-
 tests/custom-panic/tests/integration.rs |  16 +-
 tests/single-panic/Cargo.toml           |  10 +-
 tests/single-panic/src/main.rs          |   9 +-
 tests/single-panic/tests/integration.rs |  14 +-
 15 files changed, 442 insertions(+), 281 deletions(-)