[Pkg-ocaml-maint-commits] [ocaml-ctypes] 09/11: Merge tag 'upstream/0.4.1'

Stéphane Glondu glondu at moszumanska.debian.org
Thu Dec 3 16:39:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocaml-ctypes.

commit d66166bd648273164f1ab0908811ffcbd21114a8
Merge: 6b785cf 3154fee
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Dec 3 17:20:36 2015 +0100

    Merge tag 'upstream/0.4.1'
    
    Upstream version 0.4.1

 .depend                                            | 554 +++++++++-----
 .gitignore                                         |  18 +-
 .merlin                                            |  23 +
 .travis-ci.sh                                      |  66 ++
 .travis.yml                                        |  13 +
 CHANGES                                            |  40 -
 CHANGES.md                                         | 203 +++++
 META                                               |  73 +-
 Makefile                                           | 131 +++-
 Makefile.examples                                  | 106 ++-
 Makefile.rules                                     |  70 +-
 Makefile.tests                                     | 849 +++++++++++++++++++--
 README.md                                          |  23 +-
 appveyor.yml                                       |  32 +
 appveyor/build.sh                                  |  87 +++
 appveyor/findlib-patch-create-process.patch        |  28 +
 appveyor/install.sh                                |  25 +
 ctypes-foreign.opam                                |  17 +
 ctypes.opam                                        |  28 +
 examples/date/{ => foreign}/date.ml                |   0
 examples/date/{ => foreign}/date.mli               |   0
 .../bindings/date_stubs.ml}                        |  22 +-
 examples/date/stub-generation/date_cmd.ml          |  22 +
 .../stub-generator/date_stub_generator.ml          |  23 +
 examples/fts/{ => foreign}/fts.ml                  |  12 +-
 examples/fts/{ => foreign}/fts.mli                 |   0
 examples/fts/{ => foreign}/fts_cmd.ml              |   0
 examples/fts/stub-generation/bindings/fts.mli      | 107 +++
 .../fts/stub-generation/bindings/fts_bindings.ml   |  37 +
 examples/fts/stub-generation/bindings/fts_types.ml | 203 +++++
 examples/fts/{ => stub-generation}/fts_cmd.ml      |   5 +-
 examples/fts/stub-generation/fts_if.ml             |  42 +
 .../stub-generator/fts_stub_generator.ml           |  27 +
 examples/ncurses/{ => foreign}/ncurses.ml          |   0
 examples/ncurses/{ => foreign}/ncurses.mli         |   0
 examples/ncurses/{ => foreign}/ncurses_cmd.ml      |   0
 .../stub-generation/bindings/ncurses_bindings.ml   |  66 ++
 .../ncurses_stub_cmd.ml}                           |   5 +-
 examples/struct-subtyping/struct_subtyping.ml      | 179 -----
 src/configure/make_primitive_details_stubs.c       |  83 +-
 src/cstubs/cstubs.ml                               |  96 +++
 src/cstubs/cstubs.mli                              |  97 +++
 src/cstubs/cstubs_analysis.ml                      | 111 +++
 src/cstubs/cstubs_analysis.mli                     |  11 +
 src/cstubs/cstubs_c_language.ml                    | 106 +++
 src/cstubs/cstubs_emit_c.ml                        | 129 ++++
 src/cstubs/cstubs_errors.ml                        |  13 +
 src/cstubs/cstubs_errors.mli                       |  12 +
 src/cstubs/cstubs_generate_c.ml                    | 344 +++++++++
 src/cstubs/cstubs_generate_c.mli                   |  20 +
 src/cstubs/cstubs_generate_ml.ml                   | 465 +++++++++++
 src/cstubs/cstubs_generate_ml.mli                  |  22 +
 src/cstubs/cstubs_internals.ml                     |  84 ++
 src/cstubs/cstubs_internals.mli                    |  89 +++
 src/cstubs/cstubs_inverted.ml                      | 157 ++++
 src/cstubs/cstubs_inverted.mli                     |  47 ++
 src/cstubs/cstubs_public_name.ml                   |  98 +++
 src/cstubs/cstubs_public_name.mli                  |  18 +
 src/cstubs/cstubs_structs.ml                       | 281 +++++++
 src/cstubs/cstubs_structs.mli                      |  20 +
 ..._properties.ml => ctypes_closure_properties.ml} |   0
 ...roperties.mli => ctypes_closure_properties.mli} |   0
 src/ctypes-foreign-base/ctypes_ffi.ml              | 196 +++++
 .../{ffi.mli => ctypes_ffi.mli}                    |  10 +-
 .../{ffi_stubs.ml => ctypes_ffi_stubs.ml}          |  17 +-
 src/ctypes-foreign-base/ctypes_foreign_basis.ml    |  50 ++
 .../{weakRef.ml => ctypes_weak_ref.ml}             |   0
 .../{weakRef.mli => ctypes_weak_ref.mli}           |   0
 src/ctypes-foreign-base/{dl.ml => dl.ml.unix}      |  19 +-
 src/ctypes-foreign-base/dl.ml.win                  | 127 +++
 src/ctypes-foreign-base/dl.mli                     |  17 +-
 .../{dl_stubs.c => dl_stubs.c.unix}                |  16 +-
 src/ctypes-foreign-base/dl_stubs.c.win             | 281 +++++++
 src/ctypes-foreign-base/ffi.ml                     | 176 -----
 src/ctypes-foreign-base/ffi_call_stubs.c           | 198 +++--
 src/ctypes-foreign-base/ffi_type_stubs.c           |  79 +-
 src/ctypes-foreign-base/foreign_basis.ml           |  44 --
 src/ctypes-foreign-base/libffi_abi.mli             |  41 +
 src/ctypes-foreign-threaded/foreign.ml             |   2 +-
 src/ctypes-foreign-threaded/foreign.mli            |  35 +-
 .../{gc_mutex.ml => ctypes_gc_mutex.ml}            |   0
 src/ctypes-foreign-unthreaded/foreign.ml           |   2 +-
 src/ctypes-foreign-unthreaded/foreign.mli          |  35 +-
 src/ctypes-top/ctypes_printers.ml                  |  20 +-
 src/ctypes-top/ctypes_printers.mli                 |  11 +-
 ...tall_printers.ml => install_ctypes_printers.ml} |   9 +-
 src/ctypes/coerce.ml                               |  25 -
 src/ctypes/coerce.mli                              |   4 +-
 src/ctypes/common.ml                               |  14 -
 src/ctypes/complex_stubs.c                         |  45 ++
 src/ctypes/cstubs_internals.h                      |  17 +
 src/ctypes/ctypes.ml                               |  16 +-
 src/ctypes/ctypes.mli                              | 418 +++-------
 src/ctypes/ctypes_bigarray.ml                      |  99 ++-
 src/ctypes/ctypes_bigarray.mli                     |  36 +-
 ...{bigarray_stubs.ml => ctypes_bigarray_stubs.ml} |  15 +-
 ...{ctypes_bigarray_stubs.c => ctypes_bigarrays.c} |   9 +-
 src/ctypes/ctypes_coerce.ml                        |  97 +++
 src/ctypes/ctypes_common.ml                        |  18 +
 src/ctypes/ctypes_complex_stubs.h                  |  26 +
 src/ctypes/ctypes_cstubs_internals.h               |  20 +
 ...uffer_stubs.h => ctypes_managed_buffer_stubs.h} |  12 +-
 src/ctypes/ctypes_memory.ml                        | 332 ++++++++
 .../{memory_stubs.ml => ctypes_memory_stubs.ml}    |  23 +-
 src/ctypes/ctypes_path.ml                          |  29 +
 src/ctypes/ctypes_path.mli                         |  13 +
 src/ctypes/ctypes_primitive_types.ml               |  89 +++
 src/ctypes/ctypes_primitive_types.mli              |  66 ++
 src/ctypes/{primitives.h => ctypes_primitives.h}   |  73 ++
 src/ctypes/ctypes_ptr.ml                           |  97 +++
 src/ctypes/ctypes_raw.ml                           |  20 -
 src/ctypes/ctypes_raw_pointer.h                    |  21 +
 src/ctypes/{static.ml => ctypes_static.ml}         | 118 ++-
 src/ctypes/ctypes_static.mli                       | 181 +++++
 ...{std_view_stubs.ml => ctypes_std_view_stubs.ml} |   4 +-
 src/ctypes/ctypes_std_views.ml                     |  34 +
 src/ctypes/{structs.ml => ctypes_structs.ml}       |   4 +-
 src/ctypes/{structs.mli => ctypes_structs.mli}     |   4 +-
 ...ucts_computed.ml => ctypes_structs_computed.ml} |   4 +-
 ...ts_computed.mli => ctypes_structs_computed.mli} |   4 +-
 src/ctypes/ctypes_type_info_stubs.h                |  21 +
 .../{type_printing.ml => ctypes_type_printing.ml}  |  52 +-
 src/ctypes/ctypes_type_printing.mli                |  39 +
 src/ctypes/ctypes_types.mli                        | 337 ++++++++
 .../{unsigned_stubs.h => ctypes_unsigned_stubs.h}  |   2 +-
 src/ctypes/ctypes_value_printing.ml                |  86 +++
 ...ing_stubs.ml => ctypes_value_printing_stubs.ml} |   4 +-
 src/ctypes/managed_buffer_stubs.c                  |  16 +-
 src/ctypes/memory.ml                               | 313 --------
 src/ctypes/posixTypes.ml                           | 139 +---
 src/ctypes/posixTypes.mli                          |  38 -
 src/ctypes/posix_types_stubs.c                     | 143 ++--
 src/ctypes/primitives.ml                           |  30 -
 src/ctypes/raw_pointer.h                           |  27 -
 src/ctypes/raw_pointer_stubs.c                     |  38 +-
 src/ctypes/signed.ml                               |   4 +
 src/ctypes/signed.mli                              |   6 +
 src/ctypes/std_views.ml                            |  38 -
 src/ctypes/type_info_stubs.c                       | 167 ++--
 src/ctypes/type_info_stubs.h                       |  31 -
 src/ctypes/unsigned_stubs.c                        |  25 +-
 src/ctypes/value_printing.ml                       |  62 --
 src/discover/commands.ml                           |  80 ++
 src/discover/commands.mli                          |  21 +
 src/discover/determine_as_needed_flags.sh          |  10 +
 src/discover/discover.ml                           | 472 ++++--------
 src/libffi-abigen/libffi_abigen.ml                 | 119 +++
 tests/bench-micro/.merlin                          |   6 +
 tests/bench-micro/Makefile                         |  45 ++
 tests/bench-micro/bench_micro.gnuplot              |  19 +
 tests/bench-micro/bench_micro.ml                   |  83 ++
 tests/bench-micro/bench_micro_bindings.ml          | 147 ++++
 tests/bench-micro/bench_micro_gen.ml               |  16 +
 tests/bench-micro/bench_micro_interpreted.gnuplot  |  18 +
 tests/bench-micro/bench_micro_lib.c                |  41 +
 tests/bench-micro/bench_micro_stubs.c              | 470 ++++++++++++
 tests/bench-micro/bench_micro_stubs.h              |  18 +
 tests/bench-micro/process_summary.ml               |  95 +++
 tests/clib/test_functions.c                        | 224 ++++--
 tests/clib/test_functions.h                        | 219 ++++++
 tests/test-alignment/test_alignment.ml             |  25 +-
 tests/test-arrays/stub-generator/driver.ml         |  10 +
 tests/test-arrays/stubs/functions.ml               |  43 ++
 tests/{test-array => test-arrays}/test_array.ml    | 158 ++--
 tests/test-bigarrays/stub-generator/driver.ml      |  10 +
 tests/test-bigarrays/stubs/functions.ml            |  24 +
 tests/test-bigarrays/test_bigarrays.ml             | 164 ++--
 tests/test-bools/stub-generator/driver.ml          |  10 +
 tests/test-bools/stubs/functions.ml                |  17 +
 tests/test-bools/test_bools.ml                     |  44 ++
 tests/test-builtins/stub-generator/driver.ml       |  10 +
 tests/test-builtins/stubs/functions.ml             |  23 +
 tests/test-builtins/test_builtins.ml               |  39 +
 .../stub-generator/driver.ml                       |  10 +
 tests/test-callback_lifetime/stubs/functions.ml    |  27 +
 .../test_callback_lifetime.ml                      | 267 ++++---
 tests/test-coercions/stub-generator/driver.ml      |  12 +
 tests/test-coercions/stubs/functions.ml            |  18 +
 tests/test-coercions/test_coercions.ml             | 157 +++-
 tests/test-complex/stub-generator/driver.ml        |  10 +
 tests/test-complex/stubs/functions.ml              |  43 ++
 tests/test-complex/test_complex.ml                 | 117 ++-
 tests/test-constants/stub-generator/driver.ml      |  15 +
 tests/test-constants/stubs/types.ml                |  56 ++
 tests/test-constants/test_constants.ml             |  93 +++
 tests/test-cstdlib/stub-generator/driver.ml        |  16 +
 tests/test-cstdlib/stubs/functions.ml              |  61 ++
 tests/test-cstdlib/test_cstdlib.ml                 | 584 +++++++-------
 tests/test-custom_ops/test_custom_ops.ml           |   6 +-
 tests/test-enums/struct-stub-generator/driver.ml   |  12 +
 tests/test-enums/struct-stubs/types.ml             |  51 ++
 tests/test-enums/stub-generator/driver.ml          |  10 +
 tests/test-enums/stubs/functions.ml                |  27 +
 tests/test-enums/test_enums.ml                     | 123 +++
 tests/test-errno/test_errno.ml                     |  36 +-
 tests/test-finalisers/test_finalisers.ml           |   7 +-
 tests/test-foreign_values/stub-generator/driver.ml |  12 +
 tests/test-foreign_values/stubs/functions.ml       |  35 +
 tests/test-foreign_values/test_foreign_values.ml   | 124 +--
 tests/test-higher_order/stub-generator/driver.ml   |  10 +
 tests/test-higher_order/stubs/functions.ml         |  37 +
 tests/test-higher_order/test_higher_order.ml       | 185 +++--
 tests/test-macros/stub-generator/driver.ml         |  14 +
 tests/test-macros/stubs/functions.ml               |  19 +
 tests/test-macros/test_macros.ml                   |  31 +
 tests/test-oo_style/stub-generator/driver.ml       |  10 +
 tests/test-oo_style/stubs/functions.ml             |  87 +++
 tests/test-oo_style/test_oo_style.ml               | 209 ++---
 tests/test-passable/test_passable.ml               |  22 +-
 .../stub-generator/driver.ml                       |  12 +
 tests/test-passing-ocaml-values/stubs/functions.ml |  32 +
 .../test_passing_ocaml_values.ml                   | 157 ++++
 tests/test-pointers/stub-generator/driver.ml       |  10 +
 tests/test-pointers/stubs/functions.ml             |  75 ++
 tests/test-pointers/test_pointers.ml               | 505 ++++++------
 tests/test-raw/test_raw.ml                         |  56 +-
 tests/test-sizeof/test_sizeof.ml                   |  33 +-
 tests/test-structs/stub-generator/driver.ml        |  12 +
 tests/test-structs/stubs/functions.ml              |  73 ++
 tests/test-structs/stubs/types.ml                  |  45 ++
 tests/test-structs/test_structs.ml                 | 394 ++++++++--
 tests/test-stubs/test_stubs.ml                     |   4 +-
 tests/test-threads/stubs/functions.ml              |  32 +
 tests/test-threads/test_threads.ml                 |  50 ++
 tests/test-type_printing/test_type_printing.ml     | 104 ++-
 tests/test-unions/stub-generator/driver.ml         |  12 +
 tests/test-unions/stubs/functions.ml               |  39 +
 tests/test-unions/stubs/types.ml                   |  18 +
 tests/test-unions/test_unions.ml                   | 170 +++--
 tests/test-value_printing/stub-generator/driver.ml |  10 +
 tests/test-value_printing/stubs/functions.ml       | 116 +++
 tests/test-value_printing/test_value_printing.ml   | 561 +++++++-------
 tests/test-variadic/stub-generator/driver.ml       |  14 +
 tests/test-variadic/stubs/functions.ml             |  34 +
 tests/test-variadic/test_variadic.ml               |  73 ++
 tests/test-views/stub-generator/driver.ml          |  14 +
 tests/test-views/stubs/functions.ml                |  30 +
 tests/test-views/test_views.ml                     | 155 ++--
 tests/tests-common/tests_common.ml                 |  73 ++
 239 files changed, 14065 insertions(+), 4510 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ctypes.git



More information about the Pkg-ocaml-maint-commits mailing list