Commit Graph

11099 Commits (7f8019fe309b2059d66813c4b0b8abaf851ad104)

Author SHA1 Message Date
Xavier Leroy 782d12c327 Minor fixes following the discussion on pull request 224:
- intern.c: watch out for left shift overflow
- extern.c: refactor caml_output_value_to_block


git-svn-id: http://caml.inria.fr/svn/ocaml/branches/big-marshal@16522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-19 11:21:49 +00:00
Gabriel Scherer 67fcfe0104 GPR#258: add missing Changes entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-17 14:21:21 +00:00
Gabriel Scherer 24c118d7b6 fix undefined left shift of negative value.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-17 14:21:19 +00:00
Gabriel Scherer 41a8aa5771 PR#7012: hint when using [ 'A | 'B ] instead of [ B ]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-17 13:46:02 +00:00
Gabriel Scherer c23132d6fc Revert "PR#7012: hint when using [ 'A | 'B ] instead of [ B ]"
(Sent the wrong patch version)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-17 13:46:00 +00:00
Gabriel Scherer 88fe01cc5b PR#7012: hint when using [ 'A | 'B ] instead of [ B ]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-17 13:42:00 +00:00
Alain Frisch d813aea23b Remove dead code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 17:04:56 +00:00
Alain Frisch 923ad0ec47 Remove or comment-out dead code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16515 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 16:08:12 +00:00
Xavier Leroy 6d14fe58f2 Pull request #258: more precise computation of instruction sizes, esp. with respect to big TOCs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16514 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 15:12:56 +00:00
Jacques Garrigue 211888ed03 Fix PR#6907: always mark all loops...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16513 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 15:00:46 +00:00
Alain Frisch 3856cd00c5 Remove dead code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 14:55:15 +00:00
Alain Frisch 935b2300b9 Remove dead code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 14:48:16 +00:00
Jacques Garrigue 0e4d0e218b test case for PR#6954
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 14:03:45 +00:00
Jacques Garrigue 8ff158b81c Fix PR#6954: subtleties of expansion...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16509 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 14:03:04 +00:00
Jacques Garrigue bea2f16ec8 Fix PR#7016: occur check must handle existing recursive types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16508 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 10:25:08 +00:00
Jacques Garrigue e34f40ad87 switch to 'pat -> .' and add P/Texp_unreachable
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16507 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-16 00:13:40 +00:00
Jacques Garrigue 4188f0543d mark empty matches as Partial
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16506 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 15:59:28 +00:00
Jacques Garrigue 6c7ced53a0 check unused cases if some of them are refuted, even when warnings are disabled
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 15:53:56 +00:00
Jacques Garrigue b784b65925 add distinct warning for unreachable cases
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16504 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 15:39:59 +00:00
Alain Frisch 6335c01389 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16503 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 13:29:35 +00:00
Alain Frisch a21eaeaa40 GPR#254: @ocaml.arg_on_literal_pattern attribute on constructors
to warn when the argument is matches against a constant pattern.
This attributes is applied on predefined exception constructors
which take an purely informational (with no stability guarantee)
message.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16502 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 12:30:10 +00:00
Alain Frisch aaeda7763b #4800: better compilation of tuple assignment (joint work Gabriel Scherer / Alain Frisch).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 12:07:08 +00:00
Jacques Garrigue a09fb037ac add refuted cases, syntax is 'pat -> _'
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16500 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-15 01:55:52 +00:00
Alain Frisch 1c6229235b #7018: fix missing identifier renaming during inlining.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-14 20:05:38 +00:00
Damien Doligez b40c186bfc CONTRIBUTING.md: add reference to tools/check-typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-13 15:46:51 +00:00
Jacques Garrigue e6075fd1e3 recursive expansion for single cases
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16496 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-13 12:38:07 +00:00
Jacques Garrigue bcddc5aa37 make exploding depth explicit
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadt-warnings@16495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-13 09:53:27 +00:00
Damien Doligez 9ffd96d0c3 another followup to commit 16486: make it work when shared libs are not available
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-13 06:39:23 +00:00
Damien Doligez cafbcaf785 tests/lib-threads/swapchan: sort results of nondeterministic test
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-12 15:11:14 +00:00
Damien Doligez c59bce11a5 amend commit 16486:
- add missing `./` in ocamldoc invocation
 - change ifeq syntax style


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16492 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-12 09:47:22 +00:00
Damien Doligez 8463f6667f ignore generated files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16491 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-12 09:44:51 +00:00
Xavier Leroy 307f55ade9 PR#7013: spurious wake-up in the Event module.
Tentative fix, to be tested.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-11 08:55:26 +00:00
Jacques Garrigue 0a4f57d5b7 Fix PR#7012
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16489 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-10 07:22:35 +00:00
Gabriel Scherer 3d36df5781 minor comment fixes by Octachron
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-10 03:50:57 +00:00
Gabriel Scherer 3fcdc06ae8 add missing LIB and INCLUDE variables from MS environment export in README
(Philip Daian)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:42:00 +00:00
Gabriel Scherer e27c4df33b Fix cross-compilation with ocamldoc enabled.
(Peter 'whitequark' Zotov)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:58 +00:00
Gabriel Scherer bedb4e3ac1 Build system: fix a few hardcoded ar commands.
(Daniel Bünzli)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16485 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:57 +00:00
Gabriel Scherer 961622faad Changes entry for comment translation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16484 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:55 +00:00
Gabriel Scherer 489dbbd440 Correction of spelling errors in comments
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16483 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:53 +00:00
Gabriel Scherer e9fdf20abf Translation of french comments in odoc
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:51 +00:00
Gabriel Scherer fcb1eb35d2 Translation of french comments in testsuite
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16481 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:49 +00:00
Gabriel Scherer bbe24083c5 Delete historical french comments in num library
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:47 +00:00
Gabriel Scherer 05e7efbdfa Translation of french comments in num library
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:46 +00:00
Gabriel Scherer 514f15fc96 Translate french pythic comment
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:44 +00:00
Gabriel Scherer f5d4a418f7 Ambiguous translation of french comments
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:43 +00:00
Gabriel Scherer 5383003075 Delete french metacomments on missing comments
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:41 +00:00
Gabriel Scherer 3724c2e00e Delete historical french todo from 1997
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16475 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:39 +00:00
Gabriel Scherer 5882fdea22 General translation of french comments
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:38 +00:00
Gabriel Scherer 917a9c1c51 safe Stream changelog entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16473 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:36 +00:00
Gabriel Scherer b82ef62532 Remove out of date comment of Stream
(Pierre Chambart)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16472 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:34 +00:00