Commit Graph

15194 Commits (fde2001236a90cacbbefb3cb4a0c62167090cc72)

Author SHA1 Message Date
Leo White fde2001236 Improve compilation of short-circuit operators (#1215) 2017-08-15 14:01:34 +01:00
Olivier Andrieu b88f745dae favor 'long' over 'long long' for the definition of ARCH_INT64_TYPE
that way ARCH_INT64_PRINTF_FORMAT has a better chance of matching 'int64_t'
2017-08-14 21:19:16 +01:00
Olivier Andrieu ad273c995a Fix several printf format string issues
- enable gcc typechecking for the format string in caml_alloc_sprintf and
  caml_gc_message
- make caml_gc_message a variadic function
- use the proper format type modifier for intnat/uintnat arguments:
  ARCH_INTNAT_PRINTF_FORMAT rather than %ld/%lu
2017-08-14 21:19:16 +01:00
David Allsopp a1fa0338ef Fix the stack overflow in the stack overflow handler on Windows! (#1289)
* Double the win32_alt_stack used for stack overflow

When backtrace recording is enabled, the alternative stack is
overflowing before caml_raise_exception has a chance to restore the
original stack. Seen with VS 2015 and VS 2017, but dependent on the
target machine (Windows 10 1703 consistently demonstrating, AppVeyor's
Server 2012 instances similarly but Windows 10 1511 and Azure Windows
Server 2016 both apparently fine - all with the same binary).

* Also test stack overflow with backtraces
2017-08-14 10:15:41 +02:00
David Allsopp a0325185b7 Allow -l option to ocamlmklib on MSVC ports (#1189) 2017-08-14 07:10:31 +01:00
David Allsopp cfdfd7e876 Fix Cygwin testsuite problems on \r\n checkout 2017-08-12 11:16:22 +01:00
David Allsopp 25c2d32633 Fix Cygwin breakage caused by #1274 2017-08-12 11:16:22 +01:00
David Allsopp 5810693620 Actually fix .gitattributes... (#1286) 2017-08-11 13:37:48 +01:00
David Allsopp 0887b6fb74 Formatting of skipped tests 2017-08-11 11:25:32 +01:00
David Allsopp 28be78fc80 \r testsuite issues on Windows 2017-08-11 11:25:32 +01:00
Florian Angeletti 7d671fc1d1 M.(::) syntax and printing exotic lists in the toplevel. (#1247) 2017-08-11 10:10:39 +01:00
Florian Angeletti ea4e009533 GPR#1281: avoid "@." in location print functions (#1281) 2017-08-10 12:03:22 +01:00
Leo White c34fd899de Merge pull request #1282 from mshinwell/unused_code_liveness
Remove unnecessary code in Liveness
2017-08-10 11:59:48 +01:00
Fourchaux 72cfdd56e9 Typos and basic grammar error fixing (#1280) 2017-08-10 11:59:23 +01:00
Mark Shinwell 9d692eff2f Remove unnecessary code 2017-08-10 10:21:19 +01:00
Gabriel Scherer 9a1ddfa2da Merge pull request #1279 from yallop/safe-string-changes-correction
Clarify Changes entry for -safe-string C interface change.
2017-08-09 17:36:44 +02:00
Jeremy Yallop 76ce8020a0 Clarify Changes entry for -safe-string C interface change. 2017-08-09 16:32:37 +01:00
Hannes Mehnert 27a7226a19 fix speculative usage of <sys/shm.h> in AFL runtime (#1278) 2017-08-09 14:59:05 +01:00
Pierre Chambart 837ecff306 Fix MPR#7259 by implementing switch branch sharing for flambda (#603) 2017-08-09 13:20:31 +01:00
Gabriel Scherer c62546fcdf .gitattributes: disable the 'union' merge driver for Changes (#1277) 2017-08-09 12:58:40 +01:00
Gabriel Scherer 110b1c24de Merge pull request #1037 from Octachron/ocamldoc_preamble_duplication
PR#7478: ocamldoc, avoid module preamble repetition
2017-08-09 11:28:46 +02:00
Guilherme Kunigami 5357580693 nit: improve List.rev_append doc wording (#1197) 2017-08-09 10:17:42 +01:00
swalk-cavium 566ed41a30 Aarch64 - enable large immediate offset (#1250) 2017-08-07 16:43:02 +01:00
Christophe Troestler 1dffd7dcdf Make clear "toplevel" = "REPL" in the TOC (#1276) 2017-08-04 09:37:50 +01:00
yallop 65c932253b String_val: return 'const char *' when -safe-string is globally enabled (#1274) 2017-08-03 14:19:13 +01:00
Pierre Chambart 3d1a0fba2f Tweak cmmgen debuginfo in presence of optimisations (#873) 2017-08-03 13:02:55 +01:00
Leo White feaa5b21c7 Merge pull request #1183 from mshinwell/functor_currying-trunk
Correct handling of inlining attributes for multi-argument functors
2017-08-03 10:10:27 +01:00
Gabriel Scherer ac645de331 Merge pull request #1275 from mshinwell/spacetime_configure
Spacetime configure test
2017-08-03 10:03:51 +02:00
Mark Shinwell ba12f90fee Spacetime configure test 2017-08-03 08:20:04 +01:00
Mark Shinwell 18b245e4a5 Update test 2017-08-02 15:00:44 +01:00
Mark Shinwell 7c3a54864f Merge remote-tracking branch 'ocaml/trunk' into functor_currying-trunk 2017-08-01 10:46:17 +01:00
Mark Shinwell 826b0ea158 Fixes 2017-08-01 10:36:31 +01:00
Pierre Chambart 177713ec02 Optimize away some physical equality (#850) 2017-08-01 08:04:03 +01:00
octachron 3bf7f9f622 Update GPR#1037 changes 2017-07-31 23:53:35 +02:00
octachron e5f94ee9d4 Factorize first comment before elements code 2017-07-31 23:01:02 +02:00
octachron cc27e58ea2 PR#7478: ocamldoc, avoid module preambule repetion
To avoid module preamble repetition, ocamldoc only use as a module
preamble documentation comments that occur before any module elements,
which should also prevent some unexpected module preamble when the first
documentation comments appears in the middle of the source file.
2017-07-31 23:01:02 +02:00
Gabriel Scherer 17ba7d43f5 Merge pull request #1264 from gasche/parsetree-use-label
parsetree.mli: consistently use 'label' for polymorphic variants and objects
2017-07-31 22:01:45 +02:00
Xavier Leroy f689768b89 Merge pull request #1271 from mshinwell/ialloc
Fixes for Ialloc instructions allocating more than Max_young_wosize words in the minor heap

Out-of-range Ialloc instructions cause various problems, see in particular GPR #1250.
2017-07-31 18:35:27 +02:00
yallop e68642379d Fix some duplication in Changes introduced by bad merging. (#1267) 2017-07-31 16:03:52 +01:00
Mark Shinwell 028fe7ff58 Reduce size of test case 2017-07-31 15:54:40 +01:00
Mark Shinwell 9e90a37794 Merge remote-tracking branch 'ocaml/trunk' into functor_currying-trunk 2017-07-31 15:28:41 +01:00
Mark Shinwell c1024f161c Fixes for out-of-range Ialloc 2017-07-31 15:10:47 +01:00
Xavier Leroy 39cdc7706d Merge pull request #1270 from diml/bye-bye-camlp4
Permanently stop building Camlp4 in Travis builds
2017-07-31 15:03:41 +02:00
Jeremie Dimino e9d835b414 Stop building ocamlbuild in Travis
and remove commented out building of opam
2017-07-31 12:25:17 +01:00
Jeremie Dimino b9ed3efd88 Stop building camlp4 in Travis 2017-07-31 11:18:22 +01:00
Xavier Leroy 79d3b92046 Merge pull request #1265 from gasche/temporarily-disable-camlp4
travis: temporarily disable campl4 build broken by GPR#1118
2017-07-28 09:42:51 +02:00
Gabriel Scherer 7ebad89109 travis: temporarily disable campl4 build broken by GPR#1118 2017-07-28 08:50:50 +02:00
Gabriel Scherer 3a49d18374 parsetree.mli: consistently use 'label' for polymorphic variants and objects
PR #1118 had turned polymorphic variant constructors from 'label' to
its definition 'string' for consistency with field names in object
types; instead, we consistently name 'label' the method and instance
variable names throughout the AST. This does not break compatibility
as the two types are synonym, but it should improve readability of
parsing/parsetree.mli.
2017-07-28 08:40:09 +02:00
Gabriel Scherer aa6b5b96a5 Merge pull request #1118 from objmagic/object-inherit
Support inherited field in object type expression
2017-07-28 07:47:53 +02:00
Xavier Leroy e23e9403cd Merge pull request #1263 from damiendoligez/fix-testsuite-bug
Fix testsuite bugs
2017-07-26 16:42:44 +02:00