Mark Shinwell
cf088abef1
release runtime lock for lseek (mantis 4801)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-01 07:36:49 +00:00
Xavier Leroy
74eb9a3016
Typo in I64_is_min_int
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10217 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-29 11:29:24 +00:00
Damien Doligez
7539834933
big bug in Obj.add_offset
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 11:55:30 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez
bdc0fadee2
merge changes from release/3.11.1 to release/3.11.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez
f2a404eb0c
inconsistency reported by Basile
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-04 12:25:47 +00:00
Damien Doligez
71b94fa3e8
merge changes from ocaml3111rc0 to ocaml3111
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Xavier Leroy
a5aa0b7e37
PR#4210, PR#4245: tightened bound checking in string->integer conversion functions, without changing what the lexer accepts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:50:31 +00:00
Damien Doligez
ed32f569e3
merge changes from ocaml3110 to ocaml3111rc0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Xavier Leroy
eb1922c6ab
ARM EABI: do not force use of register r9
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9254 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-05 09:13:26 +00:00
Xavier Leroy
2da17c49c6
PR#4638: added expm1 and log1p.
...
Cleaned up some doc comments in stdlib/pervasives.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:37 +00:00
Damien Doligez
1f95b17570
merge changes from 3.10.2merged to 3.11.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Alain Frisch
c52e649d83
Fix call to flexdll_dlopen for Cygwin.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 12:56:59 +00:00
Pierre Weis
232a8a0072
caml_all_opened_channels must be exported for systhreads/posix.c
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 21:16:29 +00:00
Xavier Leroy
cfec1dd5d8
PR#4390: ajout caml_raise_with_args
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 11:23:28 +00:00
Damien Doligez
61d26f938a
no integer in weak arrays (preparing an optimization)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-17 14:55:30 +00:00
Pierre Weis
45f76fe7cb
Makefile support to clean shared library objects.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 05:51:11 +00:00
Pierre Weis
b1d6d4faa3
Correction bug add_substitute.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:50:39 +00:00
Alain Frisch
39e04033fa
Keep array functions in the native runtime. They might be used by custom C code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8995 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-08 09:43:28 +00:00
Xavier Leroy
c049cec891
PR#4367: added Parsing.set_trace to control the printing of a trace of actions for ocamlyacc-generated parsers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 09:38:25 +00:00
Xavier Leroy
8248cebe5d
PR#3866: Build and install libcamlrun_shared.so
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 08:56:32 +00:00
Xavier Leroy
11eada96d0
PR#4486: caml_serialize_float_8 incorrect on platforms with mixed-endian floats (e.g. ARM)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-04 11:45:58 +00:00
Xavier Leroy
97c2c3c328
PR#4503: classify_float wrong on ARM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-02 11:02:28 +00:00
Xavier Leroy
674c821f5d
PR#4567: const modifier on argument of caml_hash_variant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8970 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 14:10:36 +00:00
Xavier Leroy
5902603b2c
PR#4308 (partial fix): improve backtraces for 'spontaneous' exceptions such as Stack_overflow or Out_of_memory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 11:52:31 +00:00
Xavier Leroy
776ae225a0
ocamldebug under Win32 (S. Le Gall, Lexifi)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8955 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 08:31:41 +00:00
Damien Doligez
df023f535b
lazy: do not short-circuit to pointers outside the heap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-28 12:03:55 +00:00
Damien Doligez
c4d8f39fc2
removed obsolete "heap_end"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8953 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-28 11:59:55 +00:00
Xavier Leroy
8d56f7bcd7
Cleanups on new generational API
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 06:28:27 +00:00
Alain Frisch
95d9511cf6
Drop support for the old bundle API for Mac OS X (<= 10.3).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:40:14 +00:00
Alain Frisch
291a4207ad
Cleanup natdynlink. Automatic initialization of Dynlink (bytecode and native code). Do not use RTLD_GLOBAL for Dynlink.loadfile_private in native code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:24:10 +00:00
Xavier Leroy
640b24249d
Ability to print and capture exception backtraces (see stdlib module Printexc)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Xavier Leroy
7b4d9a46a3
New API for registration of global memory roots that are scanned in a generational manner
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-10 19:56:39 +00:00
Damien Doligez
04aa158cb6
merge changes from 3.10.1 to 3.10.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez
8ecf3fc156
better anti-fragmentation measures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:56:15 +00:00
Alain Frisch
7b90710be5
Add explicit references to external primitive symbols.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8800 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-31 09:13:19 +00:00
Damien Doligez
99ef8c802e
add unaligned_tag
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-29 13:11:15 +00:00
Jacques Garrigue
759304681e
grant PR#3760
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-25 08:39:49 +00:00
Damien Doligez
bd42e2ea1e
cleanup
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8783 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-21 14:17:00 +00:00
Alain Frisch
5a93f85ed0
Use the new page classification method for the stack-overflow detection on win32.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8772 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-15 14:45:49 +00:00
Alain Frisch
a4c1cb4466
Fix for inferior C compilers.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8771 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 17:17:40 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Damien Doligez
db2092907f
fixed big performance bug in weak hash tables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 11:55:36 +00:00
Xavier Leroy
a3c0366f4e
PR#4448: replace dense page table by sparse hash table.
...
Introduction and use of macros Is_in_value_area, Is_in_heap_or_young.
Removal of USE_MMAP_INSTEAD_OF_MALLOC.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:37:10 +00:00
Damien Doligez
e9a9bf9613
PR#3114 make all error messages start with a location and "Error: "
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Damien Doligez
16e4a68197
PR#4243 partial solution
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +00:00
Alain Frisch
1b059475c8
Cleanup and factorization of linker-related code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +00:00
Alain Frisch
bec9b43e7e
Need main in libcamlrun.lib.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 17:18:25 +00:00
Xavier Leroy
ae10d23072
Issues with RTLD_DEFAULT not defined in Glibc, unless _GNU_SOURCE is set
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-10 16:32:20 +00:00
Alain Frisch
8de0859214
Use RTLD_DEFAULT to access symbols from the main program + already loaded dlls (previous version did not work under FreeBSD).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 10:55:57 +00:00