Leo White
6ee0712423
Put back option in persistent struct hashtable
2015-11-04 11:01:33 +00:00
Leo White
74215da003
Fix PR6998
2015-11-04 11:01:33 +00:00
Alain Frisch
a1d6739163
Merge pull request #272 from alainfrisch/unbox_classify_float
...
Avoid boxing floats when calling classify_float
2015-11-03 21:08:56 +01:00
alainfrisch
26c9b9007f
Add a note suggesting to switch to the emulation of clasify_float as a faster alternative to calling the libc.
2015-11-03 21:07:33 +01:00
alainfrisch
6e0352187b
Changelog.
2015-11-03 21:05:07 +01:00
alainfrisch
364f1cb79f
Merge branch 'trunk' of github.com:ocaml/ocaml into unbox_classify_float
2015-11-03 21:03:07 +01:00
alainfrisch
1f3eac9b94
No need to use CAMLprim for native form of primitives.
2015-11-03 21:02:30 +01:00
Jérémie Dimino
8fee9d45e1
Merge pull request #277 from diml/more-unboxed-on-externals
...
Switch a few externals to [@@unboxed]
2015-11-03 17:59:21 +00:00
Jeremie Dimino
770c0531c8
Update Changes
2015-11-03 17:22:05 +00:00
Jeremie Dimino
665176d77a
Switch a few externals to [@@unboxed]
...
Switched the following functions:
- {Nativeint,Int32,Int64}.{of,to}_float
- Int{32,64}.float_of_bits
- Int{32,64}.bits_of_float
2015-11-03 17:20:05 +00:00
Damien Doligez
15796e716c
update tools/check-typo to work with git attributes instead of svn properties
2015-11-03 17:32:50 +01:00
Gabriel Scherer
9e190ed926
update Changes for GPR #276
2015-11-03 14:31:25 +01:00
Gabriel Scherer
0a33eb4da5
Merge pull request #276 from lpw25/fix-pr6972
...
Fix PR6972
2015-11-03 14:26:54 +01:00
Leo White
bbce6c5768
Put the * back on the doc comments
2015-11-03 12:51:01 +00:00
Xavier Leroy
af584b9f1b
testsuite: add missing prototypes for C functions
...
In Suse SLES 12, gcc (by default) emits warnings for unprototyped C functions. In conjunction with -Werror this makes the test suite unusable.
Also: in tests/unboxed-primitive-args/common.ml, fixed what looks like a harmless typo in the declaration of cleanup_float.
2015-11-03 11:45:11 +01:00
Xavier Leroy
27c467c777
byterun/ yacc/ : replace some K&R function declarations with proper prototypes.
2015-11-03 11:08:01 +01:00
Xavier Leroy
335c53bfd8
otherlibs/*unix: proper declaration of cstringvect()
...
Share the declaration in "unixsupport.h", and give it a full prototype.
2015-11-03 11:05:10 +01:00
Xavier Leroy
3f3d8342ac
otherlibs/unix: don't use 'h_errno' as a local variable
...
Under Glibc, 'h_errno' is a macro that expands to a system call, like 'errno'. Here, we just want a local variable.
2015-11-03 11:03:38 +01:00
Mark Shinwell
bbd0ac54ab
Changes entries for GPR#270 and GPR#271
2015-11-02 14:51:03 +00:00
Mark Shinwell
e9d4dc28c7
Merge pull request #270 from mshinwell/immutable_exceptions
...
GPR#270: Make transl_exception_constructor generate Immutable blocks
2015-11-02 14:50:21 +00:00
Mark Shinwell
b5d906778e
Merge pull request #271 from mshinwell/record_mutability
...
GPR#271: Fix incorrect mutability flag when records are built using "with"
2015-11-02 14:48:01 +00:00
Gabriel Scherer
2907c4971e
Merge pull request #274 from yallop/changelog-order
...
Request that changelog entries maintain the order.
2015-10-31 17:11:21 +01:00
Jeremy Yallop
1028d0aa44
Request that changelog entries maintain the order.
2015-10-31 16:02:52 +00:00
Gabriel Scherer
6ca3ce56ee
Changes elaboration
2015-10-31 16:58:17 +01:00
Gabriel Scherer
b2e81d7800
Merge pull request #267 from yallop/faster-ifprintf
...
A more efficient implementation of ifprintf
2015-10-31 16:54:40 +01:00
Jeremy Yallop
afccdb3609
Changelog entry for PR7034.
2015-10-31 12:27:01 +00:00
Some Name
bf56ce3c0a
update CI build script to switch to git
2015-10-29 15:30:11 +01:00
alainfrisch
0287ee2ecf
Also adapt threads/pervasives.ml.
2015-10-28 16:46:12 +01:00
alainfrisch
96c3a3da75
Avoid boxing floats when calling Pervasives.classify_float.
2015-10-28 16:43:35 +01:00
Jeremie Dimino
7a318f1a64
Update printing of custom index operators
2015-10-28 14:36:10 +00:00
Mark Shinwell
f923aa767b
push the correct patch
2015-10-28 14:15:11 +00:00
Mark Shinwell
ee17bfc0ce
look at all labels when determining mutability of a record resulting from 'with'
2015-10-28 13:58:30 +00:00
Mark Shinwell
17e1078cce
transl_exception_constructor now uses Immutable
2015-10-28 10:56:49 +00:00
Xavier Leroy
4bd9adbdc7
PR#7030: libasmrun_shared.so fails to build on SPARC Solaris
2015-10-27 18:16:08 +01:00
alainfrisch
a127e661b2
Code cleanup: replace let-binding of type unit with sequence.
2015-10-27 11:28:36 +01:00
Jeremy Yallop
19301282d5
Use make_iprintf to build Format.ikfprintf and Format.ifprintf.
2015-10-27 00:02:45 +00:00
Jeremy Yallop
e999c68622
Use make_iprintf to build Printf.ikfprintf and Printf.ifprintf.
2015-10-27 00:02:45 +00:00
Jeremy Yallop
1644284d0f
Add make_iprintf (make_printf optimised for ifprintf) to CamlinternalFormat.
2015-10-27 00:02:45 +00:00
Leo White
9feda5c10a
Merge pull request #264 from lpw25/better-alias-errors
...
Better -no-alias-deps errors
2015-10-26 11:23:56 +00:00
Mark Shinwell
4b4d8a150a
Fix compilation error for GPR#238 merge
2015-10-26 10:41:53 +00:00
Leo White
99ad68d256
Improve error for ill-typed functor application
2015-10-26 10:32:41 +00:00
Mark Shinwell
f6538a8abe
Merge pull request #238 from chambart/less_unsafe_CamlinternalOO
...
GPR#238: Make CamlinternalOO a bit less unsafe
2015-10-26 09:47:40 +00:00
Xavier Leroy
313877fac9
Include test/basic in the "all-basic" target.
2015-10-26 10:32:48 +01:00
Gabriel Scherer
e88b2fbf69
testsuite/Makefile: subset targets all-{basic,lib,typing,tool}
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 16:24:49 +00:00
Gabriel Scherer
54e039901e
GPR#42: Add simpler functor type syntax
...
(Leo White)
Add support for simple functor types of the form:
S -> T
equivalent to:
functor (_ : S) -> T
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16546 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 16:24:47 +00:00
Gabriel Scherer
8afbaa5747
New representation for queues, avoiding Obj.magic
...
(Jérémie Dimino)
- use inline-records to avoid using Obj.magic while keeping
indirections to the minumum
- change the representation from a cyclic list to a simply-linked
list. The drawback is one more word per queue, but it makes the
implementation clearer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16545 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 13:39:07 +00:00
Gabriel Scherer
2d9ff61b02
Improve the code generation for if equivalent to seqand or sequor
...
(Pierre Chambart)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16544 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 13:39:05 +00:00
Jacques Garrigue
b96107d228
fix error in parmatch.ml, observed in testsuite/tests/tools-ocamldoc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16543 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 12:40:31 +00:00
Gabriel Scherer
b64bef1aa4
Fix few reference files in the test suite
...
(Florian Angeletti)
Update few reference files in tests/typing-gadt to cope with the
altered error message for non-refutable pattern, i.e. invalid use of
`| _ -> .`.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 12:06:38 +00:00
Gabriel Scherer
1ee366e423
Changes: rename 'octachron' into Florian Angeletti
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16541 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-25 12:06:36 +00:00