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
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
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
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
Alain Frisch
d7081111cd
Remove empty and useless file natdynlink.h.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 15:37:29 +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
Xavier Leroy
b07b3032c0
- PR#5509: misclassification of statically-allocated empty array that
...
falls exactly at beginning of an otherwise unused data page.
- i386/emit_nt.mlp: add zero word at end of data segment, like in other ports.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-18 16:56:29 +00:00
Benedikt Meurer
b5eec7890b
Fix various compiler warnings in asmrun.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12128 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 09:56:23 +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
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
Damien Doligez
27780d9f8a
fixed several build problems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 15:41:16 +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
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
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
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
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
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
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
Damien Doligez
0c7aecb88d
depollution suite (et fin?) (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez
7ba8c1ca1d
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 18:32:36 +00:00
Damien Doligez
5a678d29f5
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez
331b2d89c3
depollution suite (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez
31943bac1d
depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Damien Doligez
aa46693dc5
depollution (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Xavier Leroy
29b096a3a9
Revu implementation Thread.exit dans systhreads (PR#1644)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5599 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-16 12:31:14 +00:00
Xavier Leroy
9adc852967
Blinder la lecture de /proc/self/exe (sur de vieux noyaux Linux, ca ne renvoie pas un nom de fichier, mais un inode)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5113 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-03 13:56:36 +00:00
Damien Doligez
bfc6b1c6c4
OCAMLRUNPARAM accepte l'hexadecimal
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4885 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:26:08 +00:00
Xavier Leroy
429efbf7c2
Ajout Sys.executable_name, laisser Sys.argv.(0) inchange (PR#817)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-11 13:51:40 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy
2cf0db4232
Ajout mecanisme de trace dans les parsers ocamlyacc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 13:34:42 +00:00
Xavier Leroy
66cc55fe8f
Ajout et utilisation de printexc.h
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3527 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-15 14:22:49 +00:00
Xavier Leroy
9a2e79a891
Changement de l'initialisation de verb_gc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-19 12:42:33 +00:00
Xavier Leroy
1cac403368
Ajout des modules Int32, Int64 et Nativeint
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2807 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-11 15:09:27 +00:00
Damien Doligez
878f4f4de3
Blue -> Caml_blue etc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-03 16:15:14 +00:00
Damien Doligez
f9dafc4088
CAMLRUNPARAM -> OCAMLRUNPARAM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-18 17:57:48 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy
6e1aa1f7f1
Ajout de callback*_exn
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-14 16:48:25 +00:00
Xavier Leroy
1517cea772
Sources C convertis en ANSI C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-02 12:55:01 +00:00
Xavier Leroy
b149e67a88
Nouveau module Marshal dans stdlib
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-02 18:16:15 +00:00
Damien Doligez
256b1a5959
options du runtime -> unsigned long
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-21 15:26:09 +00:00
Damien Doligez
03ec746bf1
deTABisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-19 15:42:21 +00:00
Damien Doligez
98b6d9e18f
compactage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-13 14:45:38 +00:00
Xavier Leroy
1b40aa1989
Variable inutilisee
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1449 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-24 11:02:27 +00:00
Xavier Leroy
c41e852408
Suppression de caml_top_of_stack.
...
Partage de code entre caml_start_program et callback*.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-17 10:17:32 +00:00
Xavier Leroy
497933ed8a
Ajout de printexc.c
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1176 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-07 13:12:16 +00:00
Xavier Leroy
e4565c0e7d
Ajout de caml_startup. Ne pas transmettre l'argument argc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-07 10:55:49 +00:00
Xavier Leroy
2395d35d86
stack.h: suppression du marquage des adresses de retour dans les stack frames
...
(ne gagne pas de temps sauf sur KB).
startup.c: ne pas faire sys_exit a la fin de caml_main.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-07 13:20:04 +00:00
Xavier Leroy
7b8776e106
Separation de main() dans un fichier a part.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-07-24 12:58:12 +00:00