Wojciech Meyer
88059f62f5
windows: don't define lseeki64 and lseek since they already exist.
...
Patch by Adrien Nader!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-27 19:03:10 +00:00
Gabriel Scherer
b06701e207
implement a caml_stash_current_backtrace primitive to save the call stack at any point
...
This commit only implements runtime support in asmrun/ and byterun/.
The more subjective Printexc interface will come separately.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 14:12:02 +00:00
Gabriel Scherer
be7dca95f5
make ocamlopt pretty-print uncaught exceptions just as ocamlc and Printexc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-19 14:03:51 +00:00
Alain Frisch
7da2abeceb
#4719 : fix (when a bytecode calls ocamlrun, the name of the bytecode is in argv[0]). It would be more robust to have headernt.c extract the full path to the bytecode and pass it explicitly to ocamlrun.exe (as its first argument).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13801 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-18 11:13:01 +00:00
Alain Frisch
f6890fbacb
Remove debug.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13800 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-18 10:39:29 +00:00
Alain Frisch
58e99bd087
#4719 : use GetModuleFileName to get an absolute path to the current executable under Windows.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-18 10:25:01 +00:00
Xavier Leroy
3dd22133ef
PR#5813: GC not called when unmarshaling repeatedly in a tight loop (ocamlopt)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-07 14:06:30 +00:00
Alain Frisch
4ae200a678
Commit Xavier's fix for #6032 .
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13750 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-06 11:39:51 +00:00
Xavier Leroy
3fd8ecd355
Type error in debug builds.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 14:55:18 +00:00
Xavier Leroy
abb832f430
PR#5986 continued: check string and array lengths if Compat_32 requested.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 08:12:21 +00:00
Xavier Leroy
1b72ae5896
More efficient implementation of caml_modify().
...
Performance improvement in caml_initialize().
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 07:43:45 +00:00
Damien Doligez
c3bf54a7b6
merge changes from version/4.00 from 4.00.1 to r13697
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 12:56:54 +00:00
Jérémie Dimino
5de2108817
PR#5982: save and restore the value of errno in caml_leave_blocking_section
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 15:48:50 +00:00
Jérémie Dimino
d69bd84bb3
PR#5982: save and restore the value of errno in signal handlers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 15:37:48 +00:00
Damien Doligez
5d3f0d8b5c
Under BSD, swap32 is a macro defined in some system header, so don't use
...
it as a function name.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 13:59:50 +00:00
Damien Doligez
012b6a8f1a
Large integer constants need to be suffixed by ULL to work on 32-bit machines
...
that support "long long".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 13:52:32 +00:00
Xavier Leroy
e29c9d2956
PR#5986: added flag Marshal.Compat_32 and ocamlc option -compat-32.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 11:58:59 +00:00
Damien Doligez
d568e00263
undo commit 13312 to keep compatibility with BSDmake
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-28 16:10:24 +00:00
Damien Doligez
af0796ea30
fix C compiler warnings and bug introduced by commit 13436
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:36:22 +00:00
Damien Doligez
8d921d62a3
fix whitespace and over-long lines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:22:51 +00:00
Gabriel Scherer
725da3dcc9
user-exposed abstract type for raw backtraces in Printexc.ml (original patch from Jacques-Henri Jourdan)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-11 19:04:12 +00:00
Damien Doligez
c63f9e0957
fix a few problems with whitespace and over-long lines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 22:38:52 +00:00
Damien Doligez
8b480cb9e2
fix a few of the warnings given by newer versions of gcc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:47:13 +00:00
Wojciech Meyer
dc9834c4a4
misc: replace stat_(alloc|free|resize) occurences with caml_stat_(...).
...
byterun/compatibility.h defines:
#define stat_alloc caml_stat_alloc
#define stat_free caml_stat_free
#define stat_resize caml_stat_resize
Having the "caml_" prefix seems cleaner to me, it also avoids some
issues for cross-compilation but I don't remember well which ones.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:31 +00:00
Wojciech Meyer
fb17e50db5
byterun/win32.c: use < > to #include flexdll.h instead of "".
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:28 +00:00
Wojciech Meyer
1b9b819f39
byterun/Makefile: use $(MKLIB) instead of ar + $(RANLIB).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:27 +00:00
Alain Frisch
ba00d09386
Revert bad commit.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 08:41:02 +00:00
Alain Frisch
20a4b99758
#5902 : adapt standard ppx driver to support extra arguments.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 08:37:01 +00:00
Alain Frisch
45936b5fa5
Fix #4887 (input_char after close_in crashes ocaml, msvc runtime). Patch by Christoph Bauer.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13257 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 09:04:53 +00:00
Xavier Clerc
2885577f83
PR#5793: integer marshalling is inconsistent between architectures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13241 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 08:35:09 +00:00
Damien Doligez
011b61118d
PR#5712: (6) document OCAMLRUNPARAM flag R
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13199 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-03 15:23:40 +00:00
Benedikt Meurer
b04d8284f0
Fix several C compiler warnings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-29 10:41:08 +00:00
Alain Frisch
ff4e0a81f8
#5774 : fix MSVC port.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-19 16:22:30 +00:00
Alain Frisch
e174901c93
#5744 : remove other primitives.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-17 17:15:04 +00:00
Alain Frisch
82a5220524
This should not have been committed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-17 16:49:30 +00:00
Alain Frisch
9c86462e3d
#5774 : caml_int64_direct_bswap should not be a primitive.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-17 16:48:52 +00:00
Alain Frisch
7709574b9a
Sort the primitives file and remove duplicates.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-17 16:07:05 +00:00
Damien Doligez
19e086795e
segfault in Array.append in rare case
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13113 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-06 15:39:30 +00:00
Fabrice Le Fessant
89bdc10350
PR#5774: Add bswap primitives for amd64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-29 09:55:00 +00:00
Fabrice Le Fessant
ec7ac9cb3d
PR#5771: Add primitives for reading 2, 4, 8 bytes in strings and bigarrays
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-09 16:15:29 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Xavier Leroy
a731103898
PR#5772: problem with marshaling of mutually-recursive functions
...
(culled from version/4.00, commit 12991)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-05 16:04:13 +00:00
Damien Doligez
526d44647b
PR#5757: GC compaction bug (crash)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-10 10:25:18 +00:00
Wojciech Meyer
eabfccd2a9
"PR#5597: add instruction trace option 't' to OCAMLRUNPARAM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12904 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-02 02:37:17 +00:00
Damien Doligez
997a678d5e
clean up TABs and whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Damien Doligez
0c3a7de507
merge changes from 4.00 branching to 4.00.0 (part 1)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Fabrice Le Fessant
808d083b9f
Revert commit r12756 containing unwanted changes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-22 15:15:55 +00:00
Fabrice Le Fessant
5e74e6f0cc
Fix PR#5695
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12756 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-22 15:12:43 +00:00
Alain Frisch
95107f7bae
#5687 : Fix dynlink when used from output-obj'ed main bytecode program.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-16 10:36:00 +00:00
Damien Doligez
9c3b2b4784
PR#5279: executable name is not initialized properly in caml_startup_code
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-10 12:58:12 +00:00
Gabriel Scherer
9c275a2e7a
PR#5312: remove the Windows @responsefile feature, that conflicted
...
with '-w @...' command-line warning specifications [breaking change]
This change has relatively wide consequences as it modifies the windows
OCaml runtime: when the runtime computed the argument vector "argv"
passed to the program, it automatically expanded arguments of the form
@foo into the content of the filename "foo" (parsed as a sequence of
command-line arguments). This means that this "feature" was
automatically enabled for all user programs written in OCaml and
linking to the usual runtime.
This conflicted with the more recent feature of the OCaml *compiler*
(which is affected, as an OCaml program), that allows to pass warning
specifications of the form "-w @...", for example -w @ae. On windows,
it would try to replace it by the content of the file "ae", leading to
an error.
Given the warning specifications are widely used in OCaml programs
(causing silly Windows portability problems), and the @reponsefile is
anecdotical at best (at poll [1] on the Caml-list revealed no user
using this feature), it was decided to remove @responsefile
altogether.
[1] see mailing-list thread "[community poll for PR#5312] Do some
OCaml Windows users still use the @responsefile feature?"
This change affects all OCaml programs compiled under Windows. Users
previously relying on the @responsefile feature should now explicitely
expand Sys.argv themselves; use Arg.parse_argv to rerun Arg
command-line handlers on user-provided string arrays.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-10 11:33:00 +00:00
Damien Doligez
d04453c5de
PR#5597: register names for instrtrace primitives in embedded bytecode
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 15:38:19 +00:00
Xavier Leroy
1c7f208fbb
PR#5671: initialization of compare_ext field in caml_final_custom_operations()
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-06 16:45:33 +00:00
Fabrice Le Fessant
b8238a8b61
PR#5662 : typo in md5.c when clearing sensitive data in context
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 15:59:04 +00:00
Fabrice Le Fessant
8055158a17
Fix ENOMEM error on Windows when reading from terminal
...
On Windows, an error ENOMEM is returned when reading more than ~ 24 kB a
file descriptor attached to the terminal. This patch fixes this problem by
retrying to read a smaller amount of data (16kB), only on Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 12:00:44 +00:00
Alain Frisch
0e9c989e17
Cleanup: caml_code_md5 is no longer used.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 09:21:58 +00:00
Damien Doligez
fe137eedb5
PR#5233: finaliser on weak array gives dangling pointers (crash)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 14:30:11 +00:00
Damien Doligez
3b084cb4ad
PR#5389 (followup): update caml_stat_heap_chunks
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-31 12:18:11 +00:00
Xavier Leroy
4b9cbab50a
PR#5610: new unmarshaler didn't freshen object IDs.
...
Assorted cleanups and additional comments in byterun/intern.c.
More tests in lib/marshal.
Updated Changes file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12442 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-08 13:49:35 +00:00
Pierre Weis
24653196b4
Reverting commit 12407
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 11:00:28 +00:00
Pierre Weis
2b94ebecf8
Additional documentation for format strings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-27 09:56:05 +00:00
Wojciech Meyer
c1cb8aa6fc
PR#5318: Unroll recursion in un-marshaller to allow un-marshaling values of arbitral depth. Per advice of Xavier Leroy used defunctionalized continuation trick
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-22 23:37:41 +00:00
Damien Doligez
00f949df97
remove leftover debugging message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 11:49:28 +00:00
Damien Doligez
b510b67cb5
PR#5389: compaction sometimes leaves a very large heap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-17 08:21:52 +00:00
Damien Doligez
cf1071e8ca
PR#5501: increase IO_BUFFER_SIZE to 64KiB
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12332 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 14:09:21 +00:00
Xavier Leroy
ce1e74f0bd
PR#5215 continued: as unique ident for dynlinked bytecode units, use MD5 of .cmo/.cma file combined with name of unit within the .cma. (Push of commit 12253.)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12278 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-26 17:44:47 +00:00
Xavier Leroy
498b864c14
One missing call to free_extern_output. Added a couple of comments.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12271 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-26 08:26:44 +00:00
Xavier Leroy
0e4baac4cc
Install new header <caml/hash.h>
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-24 08:56:08 +00:00
Wojciech Meyer
3eee9d124b
PR#5318: Proper finalization of stack and replay the trail after stack overflow
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-21 00:03:35 +00:00
Wojciech Meyer
e5201eb76c
PR#5318: Reverting last un-marshaler changes, to rework the control flow of mainloop and provide better solution for eliminating recursion
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12248 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-19 22:48:27 +00:00
Wojciech Meyer
f66308e569
PR#5318: Non-recursive version of extern_rec and intern_rec, to allow marshaling and un-marshaling of deeper data structures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12247 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-18 02:03:30 +00:00
Xavier Leroy
44b6164bb0
Improve self-initialization of the Random module, using /dev/urandom
...
when available. The changes in byterun/win32.c are untested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:12:09 +00:00
Xavier Leroy
4e5eb94ed9
PR#5215: Marshalling of closures now supported if the closures come from dynamically-loaded code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-13 14:50:41 +00:00
Wojciech Meyer
ae0d0f9adb
PR#5532: Print full path in error message. Quote filename
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12215 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-10 01:46:37 +00:00
Damien Doligez
6c24f4f90b
merge version 3.12 from 3.12.1 to r12205
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-08 19:52:03 +00:00
Damien Doligez
74694a0b04
PR#5518: segfault with lazy empty array
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-06 19:17:29 +00:00
Wojciech Meyer
5899af063c
PR#5504: Fix. Patch proposed by Stephane Glondu, thanks.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19 17:30:02 +00:00
Damien Doligez
e7f5b858c2
More renaming to OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez
ff00570de4
fix whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 14:13:51 +00:00
Damien Doligez
2258a237af
fix whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 15:09:07 +00:00
Alain Frisch
55688836f4
PR#4688: (Windows) special floating-point values aren't converted to strings correctly.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 10:23:51 +00:00
Xavier Leroy
288ebd8cbc
Reverting commit 11996
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12001 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-08 08:31:47 +00:00
Fabrice Le Fessant
4c4a9fc507
Fix of #5467 : no extern C in header files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-07 20:55:28 +00:00
Damien Doligez
b932aaa4e6
robustify the production of debug and PIC object files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-06 13:42:46 +00:00
Damien Doligez
334a2fdbe6
remove useless call to Modify
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:29:14 +00:00
Damien Doligez
51ca775aa8
typo in a comment
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:28:57 +00:00
Jacques Garrigue
16d937aa40
fix PR#5436
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 07:30:18 +00:00
Xavier Leroy
ac0aa0778d
PR#5179: giant steps towards a Mingw64 port.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 16:31:01 +00:00
Xavier Leroy
e43dd3a2a1
OCaml, not Objective Caml, I get it.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11914 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 10:41:59 +00:00
Xavier Leroy
c8f32a4a50
Module Array: faster implementations of "blit", "copy", "sub",
...
"append" and "concat" (PR#2395, PR#2787, PR#4591)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11913 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 10:36:35 +00:00
Xavier Clerc
cb7818e6de
PR#5344: some predifined exceptions need special printing
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-08 08:34:43 +00:00
Xavier Leroy
735c4f6b67
Follow-up: complete removal of pre-ANSI-C cruft.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11181 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:06:18 +00:00
Xavier Leroy
d2126be2b3
Testing byterun with CompCert and finding minor issues:
...
- int64_format.h: off-by-one error in skipping width modifier
- sys.c: pre-ANSI-C cruft removed (<errno.h> MUST define errno)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:04:58 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy
d0709a762f
byterun: embarrassing typo in caml_hash
...
testsuite/tests/lib-num: testing hashing of big_int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11147 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 18:13:18 +00:00
Xavier Leroy
f90ddc8c22
PR#5290: added hash functions for channels, nats, mutexes, conditions.
...
Also: added "custom_compare_ext_default" to all struct custom_operations:
default initialization to 0 did what we want, but explicit initialization
better documents the C sources.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:07:25 +00:00
Damien Doligez
90664f4ea1
uniform .ignore system
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Xavier Leroy
4d7a905b69
Trigger GC when alloc_ptr < alloc_start, not < alloc_limit.
...
(In native code, the latter test triggers unneeded GCs after a signal
is recorded.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:56:21 +00:00
Xavier Leroy
174ff0b018
PR#3806, 4752, 5246: added "hypot" and "copysign" to Pervasives.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:55:55 +00:00
Xavier Leroy
2c3c8db149
Forgot to add new header
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-01 15:11:09 +00:00
Xavier Leroy
aea227fdeb
Better hashing!
...
- New generic hash function based on Murmur 3, with better statistical
properties (PR#5225), and better speed
- Make sure equal floats hash equally (PR#5222)
- Breadth-first traversal instead of depth-first
- Added seeded hash functions and seeded functorial interface to Hashtbl.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11056 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-05-29 09:52:27 +00:00
Xavier Leroy
9bf11b9057
Problem with Damien's change: if foo.pic.c exists (and it does on second and subsequent compilations), make applies the rule .c -> .o instead of .c -> .pic.o, resulting in .pic.o files compiled without -fPIC. As a partial workaround, remove .pic.c links after compilation. Not perfect because .pic.c stays around if compilation fails.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 08:05:05 +00:00
Xavier Leroy
de47195103
Added public functions "caml_array_length" and "caml_is_double_array"
...
to abstract (slightly) over the concrete representation of arrays.
Contributed by F. Le Fessant.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11006 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 07:33:34 +00:00
Pierre Weis
ddd69c683b
On bsd make clean should remove the links .pic.c
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-18 00:14:51 +00:00
Damien Doligez
a53ce2df70
add option -runtime-variant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 16:18:05 +00:00
Damien Doligez
fa73e25120
PR#4243: make .c.p.o rule thread-safe
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-01-06 14:23:20 +00:00
Damien Doligez
f7a5e69ad5
increased default minor heap size
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10920 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-01-06 14:20:52 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Damien Doligez
b29bc9fd2b
PR#5055: head -1 doesn't work
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 11:28:21 +00:00
Damien Doligez
3bba52b91c
PR#4857: add -vnum option to all executables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 14:06:29 +00:00
Damien Doligez
dc7affa4b7
fix Windows MSVC build + ignores
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10440 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 14:52:34 +00:00
Damien Doligez
29224ccbe6
PR#4742: finalisation function raising an exception blocks other finalisations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 14:32:23 +00:00
Alain Frisch
e09a12388f
New -help-warnings command-line option.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:44:38 +00:00
Xavier Leroy
09ba69134f
- Refactoring of otherlibs/systhreads
...
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h>
- Added "stack_size" field in GC statistics.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +00:00
Mark Shinwell
62d8b11287
fix mantis 5032
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-23 07:58:59 +00:00
Damien Doligez
674da0324d
PR#4541 make debugger compatible with fork()
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 15:47:15 +00:00
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
Alain Frisch
93bf48211f
Do not use MKLIB on Unix (BSD make does not support it).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 08:54:30 +00:00
Alain Frisch
3958a92c72
Merge the natdynlink branch into HEAD.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Xavier Leroy
9ccb911666
Can select which assembler to use at configuration time (PR#4171)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-30 12:37:16 +00:00
Damien Doligez
4167841b16
fusion de la version 3.10.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Damien Doligez
773ff5b883
probleme avec les .depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:30:31 +00:00
Damien Doligez
04db6e0e82
meilleur message d'erreur
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8414 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:29:22 +00:00
Damien Doligez
d148e1954e
grosse amelioration des Weak a courte duree de vie
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-04 14:05:13 +00:00
Damien Doligez
95295f121e
comment
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-26 13:27:32 +00:00
Xavier Leroy
578cc03cf9
Improved self initialization of PRNGs under Win32
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:37:39 +00:00
Xavier Leroy
b4beb4dd7f
Stack overflow detection not working under Win64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:27:48 +00:00
Xavier Leroy
1398fbbe1f
Ajout de Sys.is_directory (PR#4054 + needed by ocamlbuild)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 14:21:57 +00:00
Xavier Leroy
efbf67e517
Tentative fix for PR#3927. To be tested.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 14:38:11 +00:00
Xavier Leroy
160e4050d8
Raise Sys_blocked_io only in I/O operations that return EAGAIN/EWOULDBLOCK. Other, non-I/O related system calls can also return EAGAIN (e.g. in Sys.command); these should raise Sys_error, not Sys_blocked_io
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7919 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:38:36 +00:00
Xavier Leroy
2155767c84
Implemented atomic Read_and_clear for PPC64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7905 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 09:43:14 +00:00
Xavier Leroy
cdd2241864
Factor out common code between byterun/signals.c and asmrun/signals.c:
...
- shared code in byterun/signals.c
- bytecode-specific code in byterun/signals_byt.c
- asm-specific code in asmrun/signals_asm.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7904 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 09:29:45 +00:00
Pierre Weis
5dfee27596
Procedure caml_dlopen takes two arguments. Some C compilers do not accept a
...
definition with 2 arguments after a declaration with only one.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7851 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 07:57:25 +00:00
Damien Doligez
f700284aac
fusion des changements 3.09.3 -> release309_merge310
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Damien Doligez
5b52f30e7d
deplacement du numero de version -> fichier VERSION a la racine
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Xavier Leroy
1baa43a304
Added shortcut if == to caml_string_compare and caml_string_equal
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-30 09:52:08 +00:00
Xavier Leroy
0eaf3a256c
System stack overflow detection for Win32
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 15:50:45 +00:00
Xavier Leroy
4b5512c74c
Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Damien Doligez
f4702f8208
PR#4167 ajout de const dans fail.h
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-24 14:40:11 +00:00
Xavier Leroy
b52f0c3cbd
Commentaires
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:52:40 +00:00
Xavier Leroy
6e2cebb9b6
Debug message for DLLs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:52:15 +00:00
Xavier Leroy
b3fb8243f8
Compatibilite avec Visual C++ version 6
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-01 15:40:28 +00:00
Xavier Leroy
86fcc212e7
Be more prudent with previous change: not sure RTLD_LAZY works everywhere
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-29 08:18:22 +00:00
Xavier Leroy
b0041ea963
Revised DLL loading: distinguish between loading for execution
...
(ocamlrun, dynlink, toplevel) and loading for checking the existence
of symbols (ocamlc). This is needed for Windows with manifests and
not a bad idea for other platforms.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 21:36:38 +00:00
Xavier Leroy
665b2d65b1
Utiliser MKEXE
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 20:38:05 +00:00
Xavier Leroy
5b2a05bb8e
Utiliser MKEXE
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-26 09:37:50 +00:00
Xavier Leroy
f3fab9a259
Tentative fix for PR#4098. Need testing.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 17:37:08 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy
09ec1094c6
Bump default max stack size to what the new Camlp4 expects
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-19 12:40:29 +00:00
Damien Doligez
b21b8dcc8a
ajout de "const" au parametre de hash_value_name PR#3178 et PR#3396
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 12:12:24 +00:00
Xavier Leroy
c6ce97fe26
gcc optimizations for PPC64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-18 14:51:59 +00:00
Nicolas Pouillard
1f8ca2dc7b
Put parenthesis around arguments to please the compilation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 19:30:18 +00:00
Damien Doligez
865ec79b34
PR#4039, PR#4062
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 08:05:26 +00:00
Xavier Leroy
7e41567e69
Utilisation OUTPUTEXE
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:04:49 +00:00
Xavier Leroy
5ec8a05157
More fixes for IL32LLP64 model
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 13:50:45 +00:00
Xavier Leroy
b89cda5f86
Nettoyages pour modele IL32LLP64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:41:26 +00:00
Damien Doligez
1279ab4b76
fusion des changements 3.09.1 -> 3.09.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Damien Doligez
f6190f3d0c
PR#1956 renommage: bigarray est prefixe par ocaml_ba_
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-27 14:33:42 +00:00
Damien Doligez
125ea40d4c
fusion 3.09.0 -> 3.09.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Michel Mauny
a136b3fedd
Fixed bug #3818 (set_binary_mode_out for Cygwin)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 19:15:36 +00:00
Damien Doligez
0e5ca9dca5
nettoyage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +00:00
Damien Doligez
d47cd4c010
noircir directement les valeurs qui ne contiennent pas de pointeurs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 16:24:13 +00:00
Damien Doligez
736d2cfe14
PR#3809 wrong line numbers in backtrace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 16:22:38 +00:00
Damien Doligez
47d37cc125
PR#3809 wrong line numbers in backtrace (partial) [typo]
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7161 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 16:03:25 +00:00
Damien Doligez
64666f7de7
PR#3809 wrong line numbers in backtrace (partial)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 15:56:45 +00:00
Xavier Leroy
9466df99c3
Wrong cast
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-19 11:56:09 +00:00
Xavier Leroy
ca961adfef
Suppression de gnu-eries
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-18 14:04:13 +00:00
Xavier Leroy
ada7aaee73
Construction de opnames.h
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7139 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-18 14:03:52 +00:00
Xavier Leroy
2bc5259ba6
Typo in debug code
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7138 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-18 14:03:43 +00:00
Xavier Leroy
155209cad3
async_signal_mode n'est plus exporte
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7137 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-18 14:03:34 +00:00
Xavier Leroy
458c0174be
attribute(unused) not recognized on ancient versions of gcc. Attempt to fix.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7129 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-14 16:40:48 +00:00
Xavier Leroy
784d36778a
sys_open: convert_flag_list avant enter_blocking_section (PR#3811)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-13 14:47:05 +00:00
Xavier Leroy
1f99cd26f7
Memory leak in caml_float_of_{sub,}string (PR#3797)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 14:50:03 +00:00
Xavier Leroy
b7e2234b9a
Suite nettoyage signaux (pour Win32)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 12:33:47 +00:00
Xavier Leroy
85a401f88d
Suppression micro-optimisation du dispatch pour l'IA64 -- pose probleme avec gcc 4 (PR#3749), et aller un poil plus vite sur IA64 n'a aucune importance
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 17:08:24 +00:00
Xavier Leroy
3aff9998a1
close_in, close_out en temps constant (PR#3727,3278)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 16:14:41 +00:00
Xavier Leroy
3577dd71d1
Commentaires sur le choix de intnat
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 09:19:28 +00:00
Xavier Leroy
3de54dec26
Remplacement long/unsigned long par intnat/uintnat
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Xavier Leroy
072e77b3ba
Nettoyage du code qui teste les signaux en attente.
...
Tester systematiquement les signaux dans leave_blocking_section.
Tester aussi dans Sys.signal (s'il y a un signal en attente dont on
change le comportement en Signal_ignore, p.ex.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:31:03 +00:00
Damien Doligez
9a9886022f
depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 15:54:25 +00:00
Damien Doligez
0e436d7aab
c'est pas moi c'est Xavier
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6988 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 12:47:45 +00:00
Xavier Leroy
da79df9b18
Revu gestion des signaux et leurs interactions avec les threads systeme (PR#3659)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 12:11:01 +00:00
Xavier Leroy
bc037fc29f
Normalisation des numeros de signaux renvoyes par Unix.wait* (PR#3584)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-17 08:23:51 +00:00
Damien Doligez
e6007f6057
fusion des changements jusqu'a 3.08.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Pierre Weis
280dcb3097
Correcting bug about erroneous erro reporting in case of wrong
...
conversions in format strings.
Static and dynamic messages about wrong format strings are now very
similar in printf.ml, scanf.ml, and typecore.ml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:51:31 +00:00
Xavier Leroy
a339aac082
Suite utilisation _lseeki64: il faut declarer la fonction car on ne peut pas inclure IO.H du systeme
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6775 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-03 10:02:32 +00:00
Xavier Leroy
46c4d1845c
Utilisation de _lseeki64 au lieu de lseek (PR#3324)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6773 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-02 15:52:11 +00:00
Xavier Leroy
7a4aa339bb
Construction de version.h
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6772 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-02 15:51:24 +00:00
Damien Doligez
ca6ab5f7d0
PR#3406, parentheses
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 16:29:33 +00:00
Damien Doligez
51ac0f737e
PR#3406 CAMLreturn manquant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 15:39:44 +00:00
Xavier Leroy
9a0f715af8
Nettoyage #ifdef pour PPC
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 17:06:02 +00:00
Damien Doligez
39f06c597a
PR#3085 ajout option "-version"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-27 01:04:19 +00:00
Damien Doligez
7519fe8f6b
fusion des bugfixes de 3.08.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 00:06:06 +00:00
Damien Doligez
a2f487ee52
precisions dans les commentaires
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-07 11:13:15 +00:00
Damien Doligez
c3a39fc8c8
Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Jacques Garrigue
54aeaa6db4
add multiple dlopen emulation for Darwin
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6604 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-18 05:03:23 +00:00
Xavier Leroy
19203b2b1c
Merge fix PR#2946 Obj.tag
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6585 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:56:04 +00:00
Damien Doligez
5cf402d263
proprification
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6582 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:13:34 +00:00
Xavier Leroy
1945d78909
Revision de output_value: plus de table de hachage, meilleure gestion du buffer de sortie
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-19 13:21:10 +00:00
Xavier Leroy
c0cf8a1c31
Ajout Colornum_hd et Coloredhd_hd pour extern.c
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-19 13:20:06 +00:00