Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mozilla/cbindgen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.0
Choose a base ref
...
head repository: mozilla/cbindgen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.0
Choose a head ref
  • 8 commits
  • 15 files changed
  • 3 contributors

Commits on Nov 19, 2019

  1. v0.10.0

    emilio committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    2609e96 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Improve error message when config file is not found (#422)

    Fixes #411
    
    This is still sub optimal since a stack trace is shown instead of a nice error
    message, but at least adds a human readable context with full file path instead
    of a generic 'Unwrap() went wrong".
    
    Before:
    
    ```
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
    ```
    
    Now:
    
    ```
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Couldn\'t open config file: cbindgen.toml."', src/libcore/result.rs:1165:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
    ```
    jaseemabid authored and emilio committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    745a5a0 View commit details
    Browse the repository at this point in the history
  2. Fix missing C header for char32_t

    adrianwong authored and emilio committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    9b1fd8e View commit details
    Browse the repository at this point in the history
  3. Add test for char to char32_t mapping

    adrianwong authored and emilio committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    8a7fbbe View commit details
    Browse the repository at this point in the history
  4. Add missing changelog for v0.10.0.

     * Initialize struct literal with list-initializer for C++11 standard (#401)
     * Surround namespace with __cplusplus ifdef in cpp_compat mode
     * Add support for --quiet flag
     * Map char to char32_t
     * Improve binding_crate_ref() error message
     * avoid prematurely returning during expansion
     * Add support for adding "using namespace" statements
    emilio committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    b30bb83 View commit details
    Browse the repository at this point in the history
  5. v0.10.1

     * Improved error message for missing config file. #422
     * Add missing header for char32_t. #414
    emilio committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    913b08d View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Stop including <uchar.h>, and instead map Rust char to uint32_t.

    This is technically a breaking change for C++, unfortunately.
    
    Fixes #423.
    emilio committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    9b5dd80 View commit details
    Browse the repository at this point in the history
  2. v0.11.0

     * Made rust char map to uint32_t. #424
    emilio committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    0355c3c View commit details
    Browse the repository at this point in the history
Loading