Gabriel Scherer
1cd6e4451f
Map.filter_map and Set.filter_map
2020-03-31 15:01:41 +02:00
Gabriel Scherer
f8758a8bf8
Merge pull request #9403 from muskangarg21/warn67
...
Added warning 67 description and nitpick for "."
2020-03-31 10:34:34 +02:00
muskangarg21
e831b47457
Added: Warning 67 description.
2020-03-30 21:51:54 +05:30
Sébastien Hinderer
d51d823326
Merge pull request #9222 from gasche/fix-ocamltest-dependencies
...
fix Makefile dependencies of ocamltest
2020-03-30 17:31:58 +02:00
YOSHIMURA Yuu
49d0580093
Remove sudo:false in .travis.yml ( #9402 )
2020-03-28 17:15:48 +00:00
Gabriel Scherer
f4915d5f20
minor Changes change
2020-03-28 16:48:30 +01:00
octachron
3e7de343e7
fix attribute examples in the manual
2020-03-27 17:12:23 +01:00
muskangarg21
4019c33aaa
Stdlib: added Printf.ikbprintf, Printf.ibprintf ( #9364 )
2020-03-26 14:28:00 +01:00
Greta Yorsh
824ce35492
Replace caml_int_compare and caml_float_compare with primitives ( #2324 )
2020-03-26 10:58:10 +01:00
Gabriel Scherer
bc3246c528
Merge pull request #9374 from muskangarg21/refactor
...
Refactor typing/typeclass.ml class environments
2020-03-25 21:50:56 +01:00
Stephen Dolan
b4e34ae220
Fix Changes entry
2020-03-25 15:31:53 +00:00
muskangarg21
52dc5d793b
[Refactor]: Typing/typeclass.ml
2020-03-24 04:33:45 +05:30
David Allsopp
e4f3aa8c81
Don't assume . in AWKPATH
...
Ensure all script invocations explicitly refer to a directory.
2020-03-20 09:38:33 +00:00
Jérémie Dimino
c7de942730
Fix #9344 ( #9368 )
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2020-03-17 11:38:45 +00:00
Stephen Dolan
6246d5ce03
Merge pull request #9367 from stedolan/unify-backtraces
...
Make bytecode and native-code backtraces agree
2020-03-17 10:45:34 +00:00
Florian Angeletti
3dd86faa2c
Merge pull request #9357 from muskangarg21/makedepend
...
[Ocamldep] [TOOLS] : -nocwd argument to not include current dir to search path
2020-03-17 10:18:31 +01:00
Gabriel Scherer
18e545207d
Merge pull request #9362 from stedolan/memprof-debuginfo-fix
...
Avoid looking up nonexistent Comballoc debuginfo
2020-03-17 06:57:02 +01:00
Stephen Dolan
97f15cde1c
Changes entry
2020-03-16 18:15:09 +00:00
Jérémie Dimino
e54876a869
Add a new toplevel directive #use_output "<command>"
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
2020-03-16 17:48:41 +00:00
muskangarg21
e0b31a6abc
TOOLS: Ocamldep arg to not include current dir to search path
2020-03-16 01:00:08 +05:30
Gabriel Scherer
c811c713f1
minor Changes files
2020-03-14 15:10:38 +01:00
Nicolás Ojeda Bär
57d329e07b
Deprecate -annot ( #2141 )
...
* Move driver code from Cmt2annot to Read_cmt
* Move cmt2annot.ml into typing/
* make depend
* Use standard error handling
* Move specific logic to read_cmt
* Do not pass full cmt record as argument
* Better locations
* Emit .annot files produced from cmt data
* Remove direct calls to Stypes
* Deprecate -annot
* Changes
* make depend
* Adapt doc
* make -C tools depend
2020-03-13 12:59:34 +01:00
Stephen Dolan
05afee9edd
Avoid looking up nonexistent Comballoc debuginfo
2020-03-12 13:19:32 +00:00
Florian Angeletti
95a5399b28
ocamldebug: initialize all functions in Env ( #9356 )
...
Switch ocamldebug to compiler-libs in order to avoid hidden dependencies issue.
In particular, the Env module is only fully initialized after the Typemod and Includemod modules have been linked. Calling `Env.find_type` before that initialization may result in an assert false when functor-derived types are involved.
2020-03-11 09:44:00 +01:00
Stephen Dolan
4d4a056bc7
Micro-optimise allocations on amd64 to save a register ( #9280 )
...
There's no need for allocation on amd64 to clobber the %rax register. It's only used in one case (-compact out-of-line allocation of >3 words), and only used there to do a single subtraction. That subtraction can be done by the caller at no code size penalty, freeing up %rax.
Inside amd64.S functions, %r11 can be used instead of %rax as temporary. %r11 is destroyed by PLT stub code, so on ELF platforms it costs nothing to use.
2020-03-09 19:52:36 +01:00
Gabriel Scherer
0fff7a43c5
Merge pull request #9196 from gasche/clarify-disambiguation-3
...
disambiguation: improve the interface of `NameChoice.disambiguate`
2020-03-09 13:39:32 +01:00
Gabriel Scherer
bf6c8d4b95
disambiguation: improve the API of NameChoice.disambiguate
2020-03-07 14:35:05 +01:00
Thomas Refis
c323d11144
Merge pull request #8934 from trefis/usage
...
Stop relying on location to track usage
2020-03-06 16:49:44 +01:00
Florian Angeletti
b82d5194c2
Merge pull request #9343 from lpw25/fix-short-paths-environments
...
Re-enable `-short-paths` for some error messages
2020-03-06 09:38:40 +01:00
Sébastien Briais
cc4a075e9b
Define Seq.cons and Seq.append. ( #9077 )
...
* Define Seq.cons and Seq.append.
2020-03-06 09:26:38 +01:00
Stephen Dolan
0c39193cc2
Merge pull request #9316 from stedolan/cmm-let-mut
...
Use typing information from Clambda for mutable Cmm variables
2020-03-05 14:08:04 +00:00
Stephen Dolan
a2800410cf
update Changes
2020-03-05 12:52:08 +00:00
Thomas Refis
6063e73d3a
Changes
2020-03-05 13:35:14 +01:00
Thomas Refis
70370d7004
Merge pull request #9275 from lpw25/short-circuit-simple-inclusion-checks
...
Short circuit simple inclusion checks
2020-03-05 12:03:24 +01:00
Leo White
c5bd0d8d6b
Add Changes entry
2020-03-05 09:44:18 +00:00
Leo White
7b99835711
Add Changes entry
2020-03-04 15:34:23 +00:00
Leo White
190637137a
Add Changes entry
2020-03-04 14:42:05 +00:00
Glenn Slotte
4823934182
Document base case of List.for_all and List.exists ( #9325 )
...
* Document the base case (`[ ]`) of List.for_all and List.exists
2020-02-26 09:51:01 +01:00
Stephen Dolan
1336ce0c0d
Use typing information from Clambda for mutable Cmm variables
2020-02-25 15:03:14 +00:00
Nicolás Ojeda Bär
e35105a9bb
Fix typo in Changes
2020-02-22 10:20:11 +01:00
Gabriel Scherer
9d8897db14
Merge pull request #9318 from trefis/empty_in_or_pattern
...
Fix exhaustivity checking in presence of empty types
2020-02-21 13:12:34 +01:00
Stefan Muenzel
96f36f6bc9
move changes from 4.09 to 4.10
2020-02-21 08:24:35 +08:00
Thomas Refis
5422ba1345
Changes
2020-02-19 10:39:43 +01:00
Florian Angeletti
eda8b362c2
Merge pull request #9311 from shindere/fix-bfd-libraries-detection
...
Yet another fix to BFD support
2020-02-18 12:26:33 +01:00
Florian Angeletti
e03e29fd6d
Merge pull request #9182 from gasche/clarify-disambiguation-2
...
NameChoice (disambiguation): more refactoring
2020-02-18 12:25:15 +01:00
Sébastien Hinderer
eb2fe19be7
Yet another fix to BFD support
...
This commit uses the previously computed set of options for linking
dynamic libraries (DLLIBS) in stead of hard-coding "-ldl" when trying
to find which libraries to link to get BFD support.
For instance, this fixes the build on OpenBSD64 where the use of
"-ldl" caused an error.
2020-02-17 14:46:28 +01:00
octachron
dcebfa1617
output-complete-obj .so: link runtime c libraries
...
This commit align the behavior of output-complete-obj and output-obj
when building shared libraries
2020-02-17 10:10:45 +01:00
Arseniy Alekseyev
59ca2a6350
Merge branch 'trunk' into faster-Weak.blit
2020-02-14 11:56:51 +00:00
David Allsopp
648d7a4a3f
Merge pull request #9250 from dra27/disable-ocamltest
...
Add --disable-ocamltest to configure
2020-02-14 10:32:43 +00:00
Florian Angeletti
9b36ee9cda
Merge pull request #9302 from shindere/bfd-ld
...
Fix support for the bfd library
2020-02-14 10:15:51 +01:00