Commit Graph

  • e7706de97a ran cargo fmt Sebastian Imlay 2020-08-28 16:34:05 -07:00
  • 472844ceae Updates base on comments Sebastian Imlay 2020-08-28 16:30:47 -07:00
  • cb703b56e8 Initial stuff for changing ownership and adding inheritance Sebastian Imlay 2020-08-24 14:21:03 -07:00
  • 4656d34773 Add integration test for name matching Youmu 2020-09-14 16:04:34 -04:00
  • 12b5eac561 Use path_for_whitelisting instead of canonical_path when matching for enum type specification and template opaque type specification Youmu 2020-09-14 01:22:24 -04:00
  • 7034dd72f9 codegen: Use shorthand initialization in VTable::new. Emilio Cobos Álvarez 2020-08-29 17:56:56 +02:00
  • 3d773c3f71 Allow grepping bindings for multiple patterns. Adrian Taylor 2020-08-28 15:25:21 -07:00
  • e4cf3497b6 Added constructor return type for wasm32 target (#1877) Emilio Cobos Álvarez 2020-08-25 02:15:18 +02:00
  • 05eddde9eb v0.55.1 Emilio Cobos Álvarez 2020-08-24 20:00:18 +02:00
  • 6244ad20a3 tests: Improve enum tests to avoid duplication, and add a test for #1880 Emilio Cobos Álvarez 2020-08-24 19:55:48 +02:00
  • 745fed5a40 codegen: Do generate unnamed enums, as they can be referred to by members. Emilio Cobos Álvarez 2020-08-24 19:48:26 +02:00
  • cf54e6073b Added expectation test files for clang 3.9 and 4 Audrius 2020-08-24 21:50:18 +03:00
  • 248a48007c Optimized condition order, added regression test Audrius 2020-08-24 16:29:43 +03:00
  • d4b297fd11 Release v0.55.0 Emilio Cobos Álvarez 2020-08-23 20:27:03 +02:00
  • f07feb5329 lib: Fix inferred target when clang target differs from rust target. Emilio Cobos Álvarez 2020-08-23 20:37:53 +02:00
  • de39cc735f Document that 0.54.1 has been yanked. Emilio Cobos Álvarez 2020-08-23 20:08:55 +02:00
  • 7b701a31d7 Added constructor return type for wasm32 target Audrius 2020-08-21 17:40:29 +03:00
  • 44a4f4e3a8 Update to clang-sys 1.0.0 Kyle Mayes 2020-07-14 01:17:29 -04:00
  • 6f9d97a2ac Bump MSRV to 1.40.0 Kyle Mayes 2020-08-08 14:40:13 -04:00
  • 7c39bd8196 codegen: Simplify a bit the code in #1847 Emilio Cobos Álvarez 2020-08-15 13:57:59 +02:00
  • 75895b6f5e Added Bindgen names to objective-c pointer return types Sebastian Imlay 2020-07-27 13:00:51 -07:00
  • f2f9a6ebcf Add --target to the clang args earlier Mike Hommey 2020-08-14 11:29:08 +09:00
  • 614cbe50d5 context: Don't pass --target=rust-target to clang when building for the host. Emilio Cobos Álvarez 2020-08-13 13:14:21 +02:00
  • da3f3a0ceb Cleanup some clippy::unused_io_amount errors Varphone Wong 2020-08-08 21:57:41 +08:00
  • 70412dc81a Add --default-macro-constant-type Chih-Hung Hsieh 2020-08-08 16:20:47 -07:00
  • 155e558eb9 Move __bindgen_anon_ to constant DEFAULT_ANON_FIELDS_PREFIX Varphone Wong 2020-08-04 14:04:35 +08:00
  • c15df09f87 Fix “warning: irrefutable if-let pattern” on add to output_vector Varphone Wong 2020-08-03 10:03:40 +08:00
  • 870aca5f93 Make anon-fields-prefix non-optional Darren Kulp 2020-08-02 14:49:48 -07:00
  • bb009d75be Add --anon-fields-prefix option Varphone Wong 2019-10-31 23:32:45 +08:00
  • 569dc8f4af Fixed const-ness of multidimensional arrays Joseph Angelo 2020-08-03 17:08:46 -07:00
  • b6d1a00a4c codegen: Use shorthand initialization in EnumBuilder. Emilio Cobos Álvarez 2020-08-03 18:13:22 +02:00
  • 741406869d tests: Add a test for bool enum with an alias. Emilio Cobos Álvarez 2020-08-03 18:12:10 +02:00
  • 4dfb997ad7 Add --no-debug <regex> flag Varphone Wong 2020-08-02 09:48:40 +08:00
  • d6a6580fc0 Improves bindings for typed and anonymous enums Cameron Mulhern 2020-07-28 17:17:10 -04:00
  • d537b6523f ci: Remove extraneous variable declaration Darren Kulp 2020-08-02 14:09:33 -07:00
  • 8a36ddc937 ci: Explicitly select Ubuntu 16.04 (xenial) Darren Kulp 2020-07-31 17:06:42 -07:00
  • 4f168959a1 ci: Remove overrides for unsupported LLVM versions Darren Kulp 2020-07-31 17:04:46 -07:00
  • de89cd5377 ci: Use llvm-5.0.1 to simplify target triple Darren Kulp 2020-07-26 20:15:04 -07:00
  • 6c2bd94644 Explicitly run four macOS jobs Darren Kulp 2020-06-20 21:58:27 -07:00
  • c80444acdb Refactor before_install script Darren Kulp 2020-06-20 22:20:20 -07:00
  • 87f22df123 Change non-fatal errors to warnings leo60228 2020-07-21 09:30:01 -04:00
  • a0e72b7927 Remove obsoleted is_loaded checks Darren Kulp 2020-06-21 17:30:32 -07:00
  • 8b3f66138f Remove testing_only_libclang_3_8 and expectations Darren Kulp 2020-06-23 15:48:31 -07:00
  • aa40fa560a Simplify handle_function_macro for clang 3.9+ Darren Kulp 2020-06-21 17:38:46 -07:00
  • 1713e4746b Stop accommodating libclang 3.8 Darren Kulp 2020-06-19 20:12:02 -07:00
  • 1f0a1ddff7 Stop testing libclang 3.8 Darren Kulp 2020-06-19 20:12:01 -07:00
  • 882a07b795 Stop accommodating libclang < 3.8 Darren Kulp 2020-06-19 20:12:00 -07:00
  • 28d3c3da2e Avoid needless std::mem::replace Darren Kulp 2020-07-17 10:11:11 -07:00
  • ed4e524307 Release v0.54.1 Emilio Cobos Álvarez 2020-07-06 19:13:11 +02:00
  • a178f132a9 main: Remove unused use statement. Emilio Cobos Álvarez 2020-07-06 19:14:08 +02:00
  • 2342493fab tests: Check that command_line_args round-trips. Emilio Cobos Álvarez 2020-06-29 03:57:07 +02:00
  • 0a3401dd91 lib: Trivially fix various command line arguments that are not properly round-tripping. Emilio Cobos Álvarez 2020-06-29 04:07:30 +02:00
  • 59468e4231 tests: Minor simplification of test harness. Emilio Cobos Álvarez 2020-06-29 03:33:06 +02:00
  • 03fcfbba8b Introduce expectation test for operator names Darren Kulp 2020-06-29 19:50:12 -07:00
  • cb110beada Refine test for C++ operators Darren Kulp 2020-06-29 05:45:53 -07:00
  • 7493e9858f lib: Fix msrv build. Emilio Cobos Álvarez 2020-06-29 15:36:48 +02:00
  • 5477bb9143 Properly shell quote flags in test output Travis Finkenauer 2020-06-29 02:01:29 -04:00
  • 9b7e7ec6c8 Simplify multiple headers test Travis Finkenauer 2020-06-29 01:42:09 -04:00
  • 6da659bb70 Handle multiple headers for command_line_flags() Travis Finkenauer 2020-06-28 21:14:48 -04:00
  • c5493fb4d4 lib: Stop using count() to do for loops. Emilio Cobos Álvarez 2020-06-29 03:19:18 +02:00
  • d2d07ca149 Update some docs that are not changelogs Darren Kulp 2020-06-23 05:48:42 -07:00
  • 658633019c Emit bindgen version in generated header Darren Kulp 2020-06-22 18:07:08 -07:00
  • ae6adf1a56 Disable generated comment in expectations test Darren Kulp 2020-06-22 18:09:06 -07:00
  • 6a615835ec Add option to disable generated header comment Darren Kulp 2020-06-22 18:03:48 -07:00
  • e613f7d14c Run cargo +nightly fmt on expectations Darren Kulp 2020-06-23 05:35:09 -07:00
  • 82afefaccf Output clang args after '--' Travis Finkenauer 2020-06-27 01:41:35 -04:00
  • 961bea86e7 Respect changes to BINDGEN_EXTRA_CLANG_ARGS Darren Kulp 2020-06-21 18:29:31 -07:00
  • bdebc9f230 build: move the rebuild dependencies to somewhere where they don't seem test specific. Emilio Cobos Álvarez 2020-06-22 02:02:33 +02:00
  • c66819d36f Rebuild when clang_sys environment changes Darren Kulp 2020-06-20 21:12:50 -07:00
  • 21b1159f48 Introduce tests for functional macros Darren Kulp 2020-05-23 07:14:09 -07:00
  • d43f8e8847 Generate func_macro callbacks Darren Kulp 2020-05-22 16:43:54 -07:00
  • 125fbcd713 Introduce func_macro to ParseCallbacks trait Darren Kulp 2020-05-22 16:50:38 -07:00
  • dfb4f54fc3 Introduce is_macro_function_like Darren Kulp 2020-06-20 09:47:30 -07:00
  • e8962da5fe Introduce extent to ClangToken Darren Kulp 2020-05-22 16:22:01 -07:00
  • ede6ae64f6 Permit IntKind::Custom to represent Paths instead of just Idents (#1800) Emilio Cobos Álvarez 2020-06-20 18:53:37 +02:00
  • adbc2674d1 Reorder jobs to reduce total runtime Darren Kulp 2020-06-18 23:56:09 -07:00
  • 32b9ffb457 Remove webhook that 404's Darren Kulp 2020-06-18 23:54:35 -07:00
  • 278b5f5dbc Remove reference to nonexistent job Darren Kulp 2020-06-18 23:53:20 -07:00
  • 9a65470bc9 Correct copy-paste error duplicating 5.0 config Darren Kulp 2020-06-18 23:50:12 -07:00
  • fae2f4731c Refined test to verify type of resulting integer Alan Egerton 2020-06-15 21:53:48 +01:00
  • c7d4707912 Added tests Alan Egerton 2020-06-15 08:32:52 +01:00
  • 878720a712 Permit IntKind::Custom to represent Paths instead of just Idents Alan Egerton 2020-06-10 10:49:41 +01:00
  • e831d2e8ed Derive traits for newtype aliases (#1802) eggyal 2020-06-15 16:40:11 +01:00
  • 748afe7808 tests: Fix rustfmt check to allow for RUSTFMT env vars. Emilio Cobos Álvarez 2020-05-19 04:37:23 +02:00
  • a1426bae33 ci: always try to find a nightly toolchain with rustfmt. Emilio Cobos Álvarez 2020-05-18 22:50:36 +02:00
  • dfe6352c83 Fix regex to be marked opaque Yisu Rem Wang 2020-06-11 23:13:56 -07:00
  • 671b77b409 Remove unused Token definition. Emilio Cobos Álvarez 2020-06-08 12:00:34 +02:00
  • c1e04a5330 Mangle items with the same name as Rust primitive types kellda 2020-06-08 07:05:09 +00:00
  • 65eae15d5c Document environment variables in README Travis Finkenauer 2020-06-07 15:11:23 -04:00
  • 993b6d3e65 Fix warning introduced in recent objective-c work. Emilio Cobos Álvarez 2020-06-07 06:52:19 +02:00
  • 43a28af012 Document BINDGEN_EXTRA_CLANG_ARGS env variable Travis Finkenauer 2020-06-04 23:50:01 -04:00
  • 4c02fc08e5 Document the 0.53.3 release. Emilio Cobos Álvarez 2020-05-21 21:51:54 +02:00
  • dd2430aa92 Release 0.54.0. Emilio Cobos Álvarez 2020-05-21 21:41:37 +02:00
  • be3c333b68 add command-line option for disabling untagged unions Nathan Froyd 2020-05-18 15:32:14 -04:00
  • 227febcb37 ir: Fall back to get the cursors from the type if we find no param decls. Emilio Cobos Álvarez 2020-05-14 04:24:32 +02:00
  • 1901e74017 Merge pull request #1750 from simlay/objc-inheritance Emilio Cobos Álvarez 2020-05-12 17:54:17 +02:00
  • d1985bfddc Added inheritance to objective-c support. Sebastian Imlay 2020-02-25 11:00:58 -08:00
  • 2a3d9e7bbe Merge pull request #1775 from immunant/blacklist_method_impl Emilio Cobos Álvarez 2020-05-05 11:43:43 +02:00
  • 6063d0f3db Add test Stephen Crane 2020-05-04 16:34:08 -07:00
  • 0ce9329b25 Do not emit Rust method wrapper for blacklisted functions Stephen Crane 2020-05-04 09:40:41 -07:00