Ryan Hunt
c436351290
Add rustdoc link
2017-09-29 15:49:56 -04:00
Ryan Hunt
07036dcadf
Update the version to 0.1.25
2017-09-29 15:33:55 -04:00
Ryan Hunt
2d5ff06395
Ignore lifetimes or bindings in path parameters
...
They should be harmless. Fixes #58
2017-09-29 15:33:55 -04:00
Ryan Hunt
20de78c79c
Don't output the version number by default
...
It's not that useful outside of Gecko.
2017-09-29 15:33:55 -04:00
Ryan Hunt
f0c13343ab
Change #[cfg] tests and integrate preprocessor defines into the harness
2017-09-29 15:33:55 -04:00
Ryan Hunt
e125334fd1
Don't parse crates that we've already parsed
2017-09-29 15:33:55 -04:00
Michael Bryan
81c1167f9f
Made it so cargo doc
can generate docs for the library
2017-09-29 09:43:30 -05:00
Ryan Hunt
89767b1170
Update the version to 0.1.24
2017-09-27 03:13:07 -04:00
Ryan Hunt
5f4d517883
Allow multiple structs and enums when they have #[cfg] attributes
2017-09-27 03:04:12 -04:00
Ryan Hunt
d6e3e6e867
Add libc::size_t
2017-09-27 01:30:19 -04:00
Ryan Hunt
9ff9ab16e2
Allow enum's to be repr(C) or repr(i32,i16,i8)
2017-09-27 01:08:03 -04:00
Ryan Hunt
e0ec983930
Don't skip #[no_mangle] fn's without extern "C"
...
The C ABI is the default for extern fn's.
2017-09-27 01:08:03 -04:00
Ryan Hunt
6551eea08d
Use AsRef<Path> for bindgen::generate
2017-09-27 00:12:09 -04:00
Ryan Hunt
bf1ef33924
Add some test changes
2017-09-27 00:11:34 -04:00
Ryan Hunt
5f317d3754
Update the version to 0.1.23
2017-08-19 15:49:21 -04:00
Ryan Hunt
2df46ca861
Use the current directory if no input is specified
2017-08-19 15:37:23 -04:00
Ryan Hunt
f5a7815990
Don't emit static_assert() for float and double
...
I really don't think this is useful and just clutters the output.
2017-08-19 15:28:10 -04:00
Ryan Hunt
055fdc20da
Update the version to 0.1.22
2017-08-17 20:15:33 -04:00
Ryan Hunt
1f2d69947b
Emit #ifdef's for #[cfg] attributes
2017-08-17 20:11:09 -04:00
Ryan Hunt
99294d6bda
Update the version to 0.1.21
2017-08-12 04:18:04 -04:00
Ryan Hunt
34a545aa81
Don't output a prefix or postfix for extern decl functions
...
This is a hack for Gecko.
2017-08-12 04:18:04 -04:00
Ryan Hunt
df45a88fed
Wrap template specialization's in namespaces
2017-08-12 03:56:57 -04:00
Ryan Hunt
f66e37d809
Clean up mangling
2017-08-12 03:48:13 -04:00
Ryan Hunt
c545161d63
Output extern "C" function declarations and mark them 'extern'
2017-08-12 03:48:00 -04:00
Ryan Hunt
ecc1cfc662
Cleanup library
2017-08-12 03:06:44 -04:00
Ryan Hunt
b8a0bfe0ca
Cleanup import statements
2017-08-12 01:53:11 -04:00
Ryan Hunt
61a6efb28d
Split alias.rs into specialization.rs and typedef.rs
2017-08-12 01:27:36 -04:00
Ryan Hunt
fd6506231b
Rename DependencyList to Dependencies
2017-08-12 01:23:09 -04:00
Ryan Hunt
7aff3166f8
Move annotation.rs into ir/
2017-08-12 01:13:38 -04:00
Ryan Hunt
da489ecc56
Cleanup monomorphs
2017-08-12 01:03:09 -04:00
Ryan Hunt
9ca861d328
Cleanup path and generic path usage
2017-08-09 01:59:34 -04:00
Ryan Hunt
dc3791af5c
Cleanup transferring annotations
2017-08-09 01:16:08 -04:00
Ryan Hunt
6a448aa20c
Clean up specialization
2017-08-09 01:06:32 -04:00
Ryan Hunt
45cefbe80e
Rename PathValue to Item
2017-08-07 20:17:34 -04:00
Georg Semmler
ba974765bc
Various bugfixes for specialisation of generic items ( #37 )
...
* Replace generic return type with monomorphed type
* Simplify mangle_path
Use a recursive approach
* Fix order of generic structs monomorphs
* Fix order of specialised items
* Fix mangle tests
2017-08-07 18:48:00 -04:00
Ryan Hunt
02864e8575
Cleanup cargo.rs and library.rs
2017-08-07 17:26:22 -04:00
Ryan Hunt
03f219457d
Write function documentation before the function prefix
2017-08-07 16:02:48 -04:00
Ryan Hunt
164f7c8cff
Add static_assert's that f32 and f64 are equivalent to float and double
...
Fixes #13
2017-08-07 14:05:40 -04:00
Ryan Hunt
549a326be7
Create parent directories when using Library::write_to_file
...
Fixes #32
2017-08-07 13:51:05 -04:00
Ryan Hunt
77d3664c01
Add -std=c++11 to test runner
...
Fixes #32
2017-08-07 13:50:48 -04:00
Georg Semmler
b1990ba440
Rename config option
2017-08-03 12:20:48 -05:00
Georg Semmler
a37ff855c4
Add a option the prefix enum values by the enum name
...
This is mostly usefull for generated c headers because enums values
will live in the global namespace there
2017-08-03 12:20:48 -05:00
Georg Semmler
04a71ed1ce
Implement Source for Documentation
...
* Move documentation out of cdecl
2017-08-03 03:50:34 -05:00
Georg Semmler
8793c227e4
Allow to translate doc comments
...
This adds an option to translate rust doc comments into documentation
comments in the generated c/c++ header
2017-08-03 03:50:34 -05:00
Ryan Hunt
01d4ce1a53
Update the version to 0.1.20
2017-08-01 03:57:36 -04:00
Ryan Hunt
0ca4620192
Update the travis status url
2017-08-01 03:56:02 -04:00
Ryan Hunt
7c12524c6c
Use a BTreeMap with monomorphs to improve dependeny order stability
2017-08-01 03:36:09 -04:00
Ryan Hunt
6080032cf0
Move some things out of utilities
2017-07-25 00:47:31 -04:00
Ryan Hunt
3b64d8cee2
Split items.rs into ir/
2017-07-25 00:37:22 -04:00
Ryan Hunt
97cc4a202e
Update the version to 0.1.19
2017-07-21 13:56:42 -04:00