Commit Graph

12838 Commits (c4e8117c2bf2b17e60c5d141456a3628d150513c)

Author SHA1 Message Date
KC Sivaramakrishnan e21ad4fdcf Minor prettify pretty printing of tuple types and constructor declaration 2016-02-25 13:59:54 +00:00
Jeremie Dimino 7245742974 fix printing of prefix operator applications
Fix printing of prefix operator applications with multiple arguments
and/or labelled arguments.

Old output (invalid syntax):

  ! 1 2 3
  ! ~a:42

New output:

  (!) 1 2 3
  (!) ~a:42
2016-02-25 10:33:28 +00:00
Spiros Eliopoulos fae63549cc fix printing of operator applications with labeled arguments
When infix operators are defined to have labeled arguments, such as:

  let (++) ~n1 ~n2 = n1 + n2

... applications of the infix operator using labeled arguments like
this:

  (++) ~n1:10 ~n2:20

would be printed out like this, which is a syntax error:

  ~n1:10 ++ ~n2:20
2016-02-25 10:21:43 +00:00
Damien Doligez 08bc22ddd7 fix testsuite for Windows with flexlink submodule 2016-02-24 15:29:55 +01:00
Damien Doligez 5a454ff204 fix several problems with tests/lib-dynlink-csharp on MSVC 2016-02-24 15:29:55 +01:00
Spiros Eliopoulos 7543d73d83 Fix printing of type delcs that use 'private' keyword
type t = private A | B
  type u = t = private A | B

Was previously printed out as:

  type t = private A | B
  type u = private t = A | B
2016-02-24 13:28:51 +00:00
Gabriel Scherer 8dcb6877c7 testsuite: fixing the linker-version test 2016-02-23 17:19:52 -05:00
Gabriel Scherer dd5dc84ff7 testsuite: attempt to make unwind's linker-version test portable 2016-02-23 14:59:47 -05:00
Gabriel Scherer 76d0fbe4fc Merge pull request #476 from btj/trunk
Guard unwind test against old OS X versions
2016-02-23 09:29:24 -05:00
Jérémie Dimino 69e8fcbbba Merge pull request #478 from yallop/let-bound-operators
Fix printing for constrained infix operator bindings:
2016-02-23 12:06:37 +00:00
Jeremy Yallop 5ce273b2e0 Fix printing for constrained infix operator bindings:
let (++) : _  = (+)

was previously printed as

   let ++ : _  = (+)
2016-02-22 19:59:02 +00:00
Damien Doligez 5057fd0932 fix wrong comment syntax for header in asmrun/i386nt.asm 2016-02-19 18:13:32 +01:00
Damien Doligez b7d1ccce4b fix wrong comment syntax for header in asmrun/amd64nt.asm 2016-02-19 17:48:49 +01:00
Damien Doligez e4ab7e2b6f fix Windows makefile 2016-02-19 17:42:29 +01:00
Damien Doligez 5ffe25e8c6 testsuite: fix syntax error in Makefile.one 2016-02-19 17:10:15 +01:00
Damien Doligez 7cfb9a59f7 tweak tools/ci-build 2016-02-19 17:10:14 +01:00
Gabriel Scherer 4e5c008d3a Merge pull request #470 from gasche/cla-instructions
CONTRIBUTING: how to sign the CLA
2016-02-19 11:00:34 -05:00
Damien Doligez 49a8bfb5a9 add a file in compilerlibs to make git happy 2016-02-19 14:11:01 +01:00
Damien Doligez d5f61a4e54 tweak tools/check-typo and break more overlong lines 2016-02-19 12:28:36 +01:00
Damien Doligez 57620a7afd fix syntax error in debug code in odoc_sig.ml 2016-02-19 12:28:35 +01:00
Damien Doligez 57882471ad fix syntax error in Makefile.nt 2016-02-19 12:28:35 +01:00
Bart Jacobs 17e54358cc Guard unwind test against old OS X versions 2016-02-18 22:29:59 +01:00
Gabriel Scherer 95befc81a6 Merge branch 'remove-ocamlbuild-doc' into trunk 2016-02-18 11:41:47 -05:00
Gabriel Scherer e83607d8b6 remove ocamlbuild from the manual
We leave a gutted-out chapter with a redirection to the github page
for stability of anchors and to inform users.
2016-02-18 11:41:20 -05:00
Damien Doligez 7c92ffddc0 first commit after branching 4.03 2016-02-18 17:09:29 +01:00
Damien Doligez 627ef6a11d last commit before branching 4.03 2016-02-18 17:07:57 +01:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Damien Doligez 6e794aee72 tools/check-typo: switch to new header format 2016-02-17 13:36:37 +01:00
Damien Doligez 1d40d77502 testsuite: fix bug where failed tests would be ignored 2016-02-17 13:36:37 +01:00
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
Damien Doligez 2a3e2176eb rename LICENSE file for the manual 2016-02-16 13:22:57 +01:00
Damien Doligez 8bcc792919 remove useless compilerlibs/.gitignore 2016-02-16 13:22:07 +01:00
Damien Doligez c28749fc01 remove old .cvsignore files 2016-02-16 13:21:44 +01:00
Damien Doligez 10158fe5e0 check-typo: no header needed for files shorter than 10 lines 2016-02-16 13:20:17 +01:00
Gabriel Scherer 70770e6e8b CONTRIBUTING: how to sign the CLA
This summarizes Xavier's recommendations at
  https://github.com/ocaml/ocaml/pull/342#issuecomment-178720630
which were later reused at
  https://github.com/ocaml/ocaml/pull/307#issuecomment-183356057

In particular this should create a URL anchor to direct people to:
  https://github.com/ocaml/ocaml/blob/trunk/CONTRIBUTING.md#how-to-sign-the-cla
2016-02-12 11:08:32 -05:00
Damien Doligez 59a4fd6615 Merge pull request #408 from btj/trunk
Fixes bugs in stack unwinding metadata (PR#7118,7120)
2016-02-12 11:20:02 +01:00
Damien Doligez 21dce60dbd Merge pull request #467 from Octachron/manual_4.03.0_end
Manual: #help directive and immediate attribute
2016-02-12 11:16:08 +01:00
octachron 58c6347420 Manual: fix toplevel directives 2016-02-11 22:16:47 +01:00
Bart Jacobs b16d0126da Some fixes in the Makefile for the test case 2016-02-11 21:11:23 +01:00
Leo White 4253ed1530 Tidy up new command-line parameters 2016-02-11 16:02:02 +00:00
octachron 461b2597c2 Manual: immediate attribute 2016-02-11 16:56:22 +01:00
octachron 213f51a77b Manual: synchronize the manual and toplevel help 2016-02-11 16:56:16 +01:00
Mark Shinwell 04445cb4ad Fix ocamlnat build (again) 2016-02-11 14:49:57 +00:00
Mark Shinwell 4137939cd7 Make warning 59 less unhelpful (includes work by Runhang Li) 2016-02-11 14:35:18 +00:00
Alain Frisch 53382378ae Merge pull request #466 from lpw25/ocamlc-opaque
Enable opaque option in ocamlc
2016-02-11 13:18:44 +01:00
Leo White d79380ff63 Enable opaque option in ocamlc 2016-02-11 11:39:14 +00:00
Mark Shinwell a5b7252bcb Fix typo in 0665172 2016-02-11 11:21:10 +00:00
Mark Shinwell 004bdfc45d Fix incorrect attribute in pr3612 test 2016-02-11 11:18:45 +00:00
Mark Shinwell 0665172cfe Build stdlib, etc. with -O3 in Flambda mode 2016-02-11 11:18:45 +00:00
Damien Doligez 76265a1693 Merge pull request #462 from dra27/pr6120
MPR#6120: Windows symlinks and corrected stat implementation
2016-02-11 11:53:21 +01:00