Commit Graph

14267 Commits (46676cde6eede81aefc964830b5a65349c581dc2)

Author SHA1 Message Date
Tadeu Zagallo 46676cde6e PR#7060: [toplevel] Print exceptions in installed custom printers (#1035)
Exceptions raised by toplevel printers now include details of the exception itself.
2017-02-10 11:45:02 -05:00
Xavier Leroy 561b846766 Merge pull request #1025 from msprotz/trunk
Fix expansion of file patterns on command-line under Windows

Fixes: MPR#7473.
2017-02-06 19:56:50 +01:00
Gabriel Scherer 40a9130940 Merge pull request #1030 from Octachron/ocaml-manual-forward-refs
PR#6597:  manual, forward references to languages extensions
2017-02-05 23:39:27 +01:00
Florian Angeletti cdb0208300 Merge pull request #1017 from Octachron/potential_cross_reference_warning
Ocamldoc: option to show missed cross-reference opportunities
2017-02-05 21:03:43 +01:00
octachron b417c2b781 Changes for PR#6597/GPR#1030 2017-02-05 11:14:26 +01:00
octachron 2af1943d6f Forward references to type expression extension 2017-02-05 11:14:26 +01:00
octachron 8bfda24496 Forward references to type declaration extension 2017-02-05 11:14:26 +01:00
octachron 187431738a Forward reference to lex extension 2017-02-05 10:57:38 +01:00
octachron fc6257d7a1 Forward references to module extensions 2017-02-05 10:57:38 +01:00
octachron f680d31176 Forward references to module type extensions 2017-02-05 10:57:38 +01:00
octachron 1242bca45f Forward references to classes extension 2017-02-05 10:57:38 +01:00
octachron 0f40f18f19 Forward references to expr extension 2017-02-05 10:57:38 +01:00
octachron 94c0a5b38b Forward reference to pattern extensions 2017-02-05 10:57:38 +01:00
octachron 2efa86e408 Forward references to constant extensions 2017-02-05 10:57:29 +01:00
Gabriel Scherer 297d00c69b Merge pull request #1027 from sliquister/fix-dtimings2
Various fixes for -dtimings
2017-02-03 23:02:31 +01:00
Jonathan Protzenko f37c57d884 Fix comment + changes entry 2017-02-03 13:38:38 -08:00
Valentin Gatien-Baron 7422291bf4 adding Changes entry 2017-02-02 14:54:42 -05:00
Valentin Gatien-Baron 698d98c91e make -dtimings print passes in a more reliable order 2017-02-01 16:24:20 -05:00
Valentin Gatien-Baron 39555a7f32 in -dtimings, include the time spent in -ppx, and the time spent demarshalling the output of -pp 2017-02-01 16:24:20 -05:00
Valentin Gatien-Baron 81dafd7ee2 making -dtimings include time spent typing mli's 2017-02-01 16:24:20 -05:00
Valentin Gatien-Baron c03ac48194 including time spent in -pp, -ppx, linker etc in -dtimings
One can see the difference by running for instance:
time ocamlc -dtimings -pp 'function f { find ~ | head -n 100000 > /dev/null; }; f' a.ml
2017-02-01 16:24:20 -05:00
Valentin Gatien-Baron 128be80b18 bootstrap 2017-02-01 16:24:20 -05:00
Valentin Gatien-Baron 8a1446588e add a variant of Sys.time that include user and system time of subprocesses
It's not exposed in the stdlib, as it doesn't seem to be implementable
on windows
2017-02-01 16:24:20 -05:00
octachron 0a3940b35d Changelog 2017-02-01 20:23:59 +01:00
octachron c4d49c89c1 Add cross-reference detected by ocamldoc 2017-02-01 20:20:02 +01:00
octachron 9369c3515e ocamldoc:show missed cross-reference opportunities 2017-02-01 20:20:02 +01:00
Jeremie Dimino f936036fdc MPR#7466: fix two bugs in pprintast.ml 2017-02-01 12:15:39 +00:00
David Allsopp fbdddb2205 Fix systhreads installation on Windows
812eb68de9 didn't quote the path!
2017-02-01 10:36:23 +00:00
Jonathan Protzenko c15ba616b5 Fix custom pattern expansion on Windows + comments 2017-01-31 11:21:19 -08:00
Jeremie Dimino 812eb68de9 Reinstate installation of dllthreads$(EXT_DLL)
It was accidently dropped by 5c4c41ba
2017-01-27 17:48:48 +00:00
David Allsopp 080992e951 Ensure tools/make_opcodes is cleaned 2017-01-27 15:58:57 +01:00
Frédéric Bour 0779087f7d fix GPR#673 issue: ref_table shouldn't point to minor heap (#1007)
* fix GPR#673 issue: ref_table shouldn't point to minor heap

* Add GPR#673 to Changes
2017-01-27 15:36:39 +01:00
Mark Shinwell b64d4e7149 Don't inline stubs in Closure (fixes error in GPR#957) (#1008) 2017-01-25 11:46:27 +00:00
Florian Angeletti 8ab0ac0300 Merge pull request #1016 from yallop/bigarray-cross-references
Add some cross-references to the bigarray documentation.
2017-01-23 19:42:38 +01:00
David Allsopp 371e06c4ba update the note in README.win32 regarding Cygwin licensing
no change entry needed

(David Allsopp, Olivier Andrieu)
2017-01-23 19:10:15 +01:00
Jeremy Yallop b11dfac43c Link Genarray.create from Bigarray.Array0.create documentation. 2017-01-20 18:44:49 +00:00
Jeremy Yallop 97e6961ce6 Add some cross-references to the bigarray documentation. 2017-01-20 14:38:01 +00:00
Gabriel Scherer a48b2cb03b tests/tool-command-line: skip ocamlopt on byte-only configurations 2017-01-19 08:42:12 +01:00
pierreweis 878318123f Cosmetic: removing spurious spaces in resulting lexer 2017-01-18 12:34:38 +01:00
pierreweis 14c90d7bbc Some cleaning: consistent for loops display, indenting long lines, tabify
target recepees.
2017-01-18 12:10:24 +01:00
Fabrice Le Fessant a6329a0c11 Correctly update caml_top_of_stack in systhreads (#996) 2017-01-17 14:36:28 +01:00
Fabrice Le Fessant 522471d7cb Allow plugins to declare new arguments with Clflags.add_arguments (#796) 2017-01-17 14:34:35 +01:00
Gabriel Scherer a15ed28927 Merge branch 'linkall' into trunk 2017-01-15 20:49:15 +01:00
Xavier Leroy 7921342073 GPR#1009: add Changes entry and update man pages 2017-01-15 20:48:39 +01:00
Xavier Leroy 56ff448d1f Make -linkall applicable to single compilation units
With this commit, "ocamlc -c -linkall" or "ocamlopt -c -linkall" produce object files that have the "force link" flag set.  Once put in library files (.cma/.cmxa), these object files will always be linked when the library is linked, even if no definition from the object file is referenced.  However, other object files in the library can still be removed if none of their definitions are referenced.

In this respect, we get finer-grained control on which object files should always be linked, typically because they contain important initialization code.
2017-01-15 20:48:39 +01:00
Florian Angeletti 48546a720f Fix Stdlib.Arg: do no repeat usage_msg thrice (#999)
Fix Stdlib.Arg: do no repeat usage_msg thrice (GPR#999)
2017-01-15 20:37:41 +01:00
Bernhard Schommer 9b2b2b64f8 PR#7460, GPR#1011: Fix uncaught Arg.Bad exception in compenv.ml
This was a regression in 4.04.0, where passing files with unknown
extension (foo.xwds) to the compiler raises an uncaught Arg.Bad
exception.
2017-01-14 22:22:30 +01:00
Jeremie Dimino f15634f562 add Ephemeron to stdlib/StdlibModules 2017-01-13 14:32:03 +00:00
Leo White 5cacfa00d7 Improve wording of inlining reports (#1001) 2017-01-13 07:38:13 +00:00
Alain Frisch db07900be3 Merge pull request #1006 from oandrieu/inline-records-manual-typo
fix a type error in the code fragment example for inline records
2017-01-12 12:30:03 +01:00