Gabriel Scherer
c9a896c255
Changelog attribution information
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16142 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-25 08:47:21 +00:00
Gabriel Scherer
d19a8bd2f1
PR#6636: add a --version option (Peter Zotov)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-24 14:52:57 +00:00
Gabriel Scherer
92c67a5a02
minor: the previous commit had an old version of the patch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16139 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-24 08:15:41 +00:00
Gabriel Scherer
e9785253b2
PR#6876: improve warning 6 by listing the omitted labels.
...
(Eyyüb Sari)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16137 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-24 07:33:32 +00:00
Jacques Garrigue
1585a95502
Fix PR#6874 by pushing module pattern bindings together with default arguments; also merge functions in Simplif.simplify_lets.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-21 00:22:46 +00:00
Jacques Garrigue
10c907f99c
test case for PR#5545
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-19 22:33:07 +00:00
Jacques Garrigue
bf2c5c3c17
Fix PR#6870
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-17 03:07:10 +00:00
Jacques Garrigue
6f5241de44
Fix PR#6872
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-17 02:36:30 +00:00
Damien Doligez
5fe760c7da
remove "external" testsuite (superseded by opam)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-12 16:50:44 +00:00
Alain Frisch
090eac18c5
Remove dead code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16113 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-12 14:37:43 +00:00
Gabriel Scherer
30d6d06189
PR#6452 (part two): make custom_format string-only
...
(Jérémie Dimino, Benoît Vaugon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-10 06:01:26 +00:00
Gabriel Scherer
65bb607cd7
PR#6733: ocamlbuild .{byte,native}.so targets and runtime_variant(X) flag
...
(Peter Zotov)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16105 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-10 05:51:25 +00:00
Jacques Garrigue
691aabb723
Fix PR#6849 and PR#6862
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-09 02:17:36 +00:00
Alain Frisch
63945879c1
Cleanup + better interaction between -intf and -pack (the .cmi file was not added to the list of objects in that case).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-07 12:44:22 +00:00
Alain Frisch
6610c56462
Cleanup.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16099 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-07 12:41:39 +00:00
Damien Doligez
af4063ebf3
PR#6341: ocamldoc -colorize-code adds spurious <br> tags to <pre> blocks
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-05 19:05:18 +00:00
Damien Doligez
17ffb8ff23
missing bits of commit 16074 (for windows)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-05 16:37:53 +00:00
Alain Frisch
b94c4b840f
GPR#174: ensure that Set.remove and Set.filter return the original set (physically) when no change is required. Also avoid allocations in this case. Similar to what had been done for Set.add in #6645 .
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-05 16:08:00 +00:00
Damien Doligez
8a08ad4b4d
PR#6600 (cont.) [applying patch on behalf of garrigue]
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-05 15:53:37 +00:00
Alain Frisch
311799dbf5
Fix bug introduced in commit 15830 (for #6468 ): caml_init_code_fragments also needs to be called in case of 'ocamlc -custom'. One should really think about sharing code between caml_main and caml_startup_code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16077 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-05 14:16:22 +00:00
Damien Doligez
a2c6ac8110
fix small bug in commit 16075
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-04 19:46:51 +00:00
Damien Doligez
ea845ce074
GPR#159: Better locations for structure/signature items
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-04 18:44:11 +00:00
Damien Doligez
0477bab3bf
deduplicate some startup code and fix PR#6808: the parsing of OCAMLRUNPARAM is too lax
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-04 15:44:40 +00:00
Gabriel Scherer
d1c017c7cb
PR#6693 libasmrun: fix -pic code generation
...
(Peter Zotov)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16073 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-02 20:24:46 +00:00
Gabriel Scherer
a40bb28a58
bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-02 15:30:43 +00:00
Gabriel Scherer
70450de8a1
PR#6693: also build libasmrun_shared.so and lib{asm,caml}run_pic.a
...
(Peter Zotov, review by Mark Shinwell)
NB: after applying this change you need to run ./configure again.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16068 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-02 15:30:41 +00:00
Gabriel Scherer
0d3d003198
GPR#168: fix bad interaction of warning 34 (unused type declaration) with "nonrec"
...
(Frédéric Bour)
Typechecking of nonrec types was still looking for uses in the temporary environment.
This made the compiler fail with "exception Not_found" when warning 34 was enabled.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-01 21:45:10 +00:00
Gabriel Scherer
3c32a0c711
GPR#179: fix -jN race condition in ocamlbuild's Makefile
...
(Frédéric Bour)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-01 17:17:36 +00:00
Gabriel Scherer
31d5ca0d05
PR#6843: weak dependencies recorded even when .cmi missing
...
(Leo White, Gabriel Scherer)
The save_pers_struct auxiliary function is only there for code
readability: it helps makes add_import's usage more localized, as now
only *_pers_struct function use it directly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-01 17:17:34 +00:00
Gabriel Scherer
5e6fa05f05
add a .merlin file
...
The file was generated using the following command (from the root directory):
find . -name '*.cmt' -exec dirname {} \; | uniq | sed 's/\(.*\)/S \1\nB \1\n/' > .merlin
For more information about merlin support in trunk, see
https://github.com/the-lambda-church/merlin/pull/365
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-01 17:17:33 +00:00
Damien Doligez
e4ec61f7fb
gdb-macros: more useful macros
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-05-01 15:42:18 +00:00
Mark Shinwell
cb1099f986
compilation fix for ARM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-27 09:32:19 +00:00
Gabriel Scherer
736b4e2f8f
minor testsuite fix
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 21:57:51 +00:00
Gabriel Scherer
2a153ee5c0
List.cons, finally
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 21:05:28 +00:00
Gabriel Scherer
f9ea209cb7
GPR#171: allow custom warning printers / catchers
...
(Benjamin Canou, review by Damien Doligez)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 21:05:26 +00:00
Gabriel Scherer
f6018b0ef1
PR#6846: build failure with prefixed tools
...
(Niels Ole Salscheider)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 20:50:20 +00:00
Gabriel Scherer
0cc8a6fb39
Make accessing Bigarray.t faster by optimizing Cmmgen.bigarray_indexing
...
(Vladimir Brankov)
bigarray_indexing now works the same way indexing ordinary arrays works.
Review note: the local ba_indexing function now returns a tagged
integer instead of an untagged integer.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 20:41:50 +00:00
Gabriel Scherer
926cc79f1c
PR#6824: fix buffer sharing on partial application of Format.asprintf
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16043 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 20:00:57 +00:00
Gabriel Scherer
078afef9e1
make the edit_distance testsuite bytecode-only (Leo White)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 20:00:55 +00:00
Gabriel Scherer
feab60e168
fix minor mistake in tools/eqparsetree.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-26 20:00:53 +00:00
Mark Shinwell
fd923a6366
forgot to update Changes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16038 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-24 09:38:06 +00:00
Mark Shinwell
78bb2fd2e4
Fix PR#6686 and PR#6770
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-24 09:29:57 +00:00
Jacques Garrigue
721266bf30
Fix PR#6842: export Typemod.modtype_of_package
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-23 07:07:43 +00:00
Damien Doligez
d7492853da
update bootstrap compilers to avoid "inconsistent assumptions" on 32-bit i386
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-22 18:59:34 +00:00
Alain Frisch
918f584b64
#6845 : -no-check-prims to tell ocamlc not to check primitives in runtime.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-22 10:53:47 +00:00
Jacques Garrigue
8d1f813dee
test for PR#5663
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-22 07:14:26 +00:00
Jacques Garrigue
ebbf345d29
Fix PR#5663: program rejected due to nongeneralizable type variable that appears nowhere
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-22 07:12:49 +00:00
Gabriel Scherer
8bd234ffab
fix minor CI failure (the test for PR#6672 was incorrect)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-21 20:50:45 +00:00
Damien Doligez
0b3caf43bf
PR#6838: Invalid memory in C thread bindings (caused by commit 15817)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16025 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-21 15:20:10 +00:00
Jacques Garrigue
3b1a33c77b
PR#6672: Unused variance specification allowed in with constraint
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16024 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-04-20 07:57:51 +00:00