summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-12Merge pull request #291 from nox/clippyAnthony Ramine
Add a Clippy build to Travis
2016-03-12Add a Clippy build to TravisAnthony Ramine
2016-03-12Disallow needless_lifetimesAnthony Ramine
https://github.com/Manishearth/rust-clippy/issues/740
2016-03-12Disallow if_not_elseAnthony Ramine
2016-03-12Disallow items_after_statementsAnthony Ramine
2016-03-12Merge pull request #290 from bsteinb/add-clippyAnthony Ramine
Add clippy
2016-03-12Appease or disable clippy lints.Benedikt Steinbusch
2016-03-12Add clippy as an optional dependency.Benedikt Steinbusch
2016-03-12Add links to README icons.Yamakaky
2016-03-12Merge pull request #289 from bsteinb/shieldsYamakaky
Add shields to README.md.
2016-03-12Add shields to README.md.Benedikt Steinbusch
2016-03-12Merge pull request #288 from bsteinb/clean-up-cargo-tomlAnthony Ramine
Add meta-data to Cargo.toml and remove extra newlines.
2016-03-11Add meta-data to Cargo.toml and remove extra newlines.Benedikt Steinbusch
2016-03-11Merge pull request #287 from bsteinb/fix-test-unionAnthony Ramine
Fix test_union::with_derive_debug.
2016-03-11Fix test_union::with_derive_debug.Benedikt Steinbusch
2016-03-11derive(Debug) on cenums.Yamakaky
Related #282
2016-03-11derive(Debug) on unions.Yamakaky
Related #282
2016-03-11Add options to enable derive_debug, disabled by default.Yamakaky
Fixes #282
2016-03-11Merge pull request #283 from crabtw/improve-travisAnthony Ramine
Switch Travis support to a proper build matrix
2016-03-11Switch Travis support to a proper build matrixAnthony Ramine
2016-03-10Merge pull request #280 from nox/rust-enumsAnthony Ramine
Introduce -no-rust-enums (fixes #276)
2016-03-10Introduce -no-rust-enums (fixes #276)Anthony Ramine
This completely disables translation of C enums to Rust enums, restoring to the old behaviour of translating them to integer constants.
2016-03-10Move enum_kind_is_signed to a method on IKindAnthony Ramine
2016-03-10Merge pull request #263 from nox/enum-fixesAnthony Ramine
Some enum and build fixes
2016-03-10Properly determine which integer type to use for enums (fixes #232)Anthony Ramine
We use the kind for the sign and the layout's size for the width, and we wrap unsigned values that are too large to fit inside the determined type.
2016-03-10Merge pull request #274 from nox/fix-osx-buildAnthony Ramine
Fix OS X build
2016-03-10Properly specify dependencies of build.rsAnthony Ramine
It depends on nothing.
2016-03-10Fix OS X buildAnthony Ramine
2016-03-10Revert "produce valid univariant enums"Anthony Ramine
This reverts commit fa6f4407f3cd366c2390b390a6400db8a5c5a071.
2016-03-10Fix typo introduced by fa6f440.Yamakaky
2016-03-10[travis] build against llvm 3.7.Yamakaky
2016-03-10Add #[derive(Debug)] to all structs and enums.Yamakaky
Don't derive debug on a struct if one of it's members isn't Debug. Add a new test for this case. Fixes #261
2016-03-10produce valid univariant enumsJorge Aparicio
Instead of generating a enum like this: ``` pub enum Enum_CUipcMem_flags_enum { CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS = 1, } ``` Which is a compiler error because repr can't be used with univariant enums. See https://github.com/rust-lang/rust/issues/10292 We generate a two variant enum with a dummy variant. ``` pub enum Enum_CUipcMem_flags_enum { CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS = 1, __DUMMY, } ``` Which is the recommend workaround to the previous compiler error. closes #255
2016-03-10Merge pull request #273 from WiSaGaN/feature/reduce-libc-depYamakaky
Use std instead of libc whenever possible
2016-03-10Use std instead of libc whenever possibleWangshan Lu
2016-03-10Merge pull request #265 from dimbleby/update-dependenciesYamakaky
Update dependencies: libc 0.2, syntex_syntax 0.29
2016-03-10Merge pull request #268 from Yamakaky/travis-stableYamakaky
Travis build on stable channel.
2016-03-10Update dependenciesDavid Hotham
2016-03-09Travis build on stable channel.Yamakaky
2016-02-17bump versionJyun-Yan You
2016-01-23Merge pull request #252 from mcarton/clippyMichael Wu
Cleanup some warnings from Clippy
2016-01-23Cleanup some warnings from Clippymcarton
2016-01-23Merge pull request #253 from japaric/clang-dirMichael Wu
make get_clang_dir more robust
2016-01-23Merge pull request #254 from japaric/raw-typesMichael Wu
use std::os::raw types instead of libc's
2016-01-19use std::os::raw types instead of libc typesJorge Aparicio
closes #240
2016-01-16make get_clang_dir more robustJorge Aparicio
Similar to #242. In my system, clang is a symlink to a versioned clang (e.g. clang-3.7), and this equality check to "clang" was failing. This patch makes the check more robust so it can match "clang" or "clang-3.7", but still reject a symlink to ccache.
2016-01-13Merge pull request #249 from nox/void-returnJyun-Yan You
Generate better func decls for void returns
2016-01-13Merge pull request #250 from nox/externJyun-Yan You
Recurse into unexposed decls
2016-01-13Merge pull request #247 from nox/proper-enumJyun-Yan You
Translate C enums to Rust enums
2015-12-30Recurse into unexposed declsMichael Wu
This fixes functions that use extern "C".