Commit Graph

37 Commits (ff6c5b70ceadeb50979791056031f5fc8f36455b)

Author SHA1 Message Date
Gabriel Scherer 5302d101be PR#6760: closures evaluated in the toplevel can now be marshalled
(Peter Zotov, review by Jacques-Henri Jourdan)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-02-08 14:10:08 +00:00
Gabriel Scherer 7ca29ef3f7 PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes
(Jérôme Vouillon and Adrien Nader and Peter Zotov)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-27 14:41:49 +00:00
Damien Doligez 0bb55ef40b fix type errors (warnings) reported by the C compiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16 19:36:35 +00:00
Damien Doligez 1cb0b23a08 Start tidying up the runtime:
- document most of the "size" and "length" parameters and global variables,
  specifying bytes or words. Change some of them from bytes to words.
- start getting rid of "char *" and use sensible types instead.
- other small changes


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15647 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-12 15:18:04 +00:00
Gabriel Scherer 97b302a1ce Add missing Noreturn qualifiers
(patch by Peter Zotov, review by Max Mouratov)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-06 15:17:07 +00:00
Xavier Leroy 774e30e138 PR#6075: avoid using unsafe C library functions (strcpy, strcat, sprintf).
An ISO C99-compliant C compiler and standard library is now assumed.
(Plus special exceptions for MSVC.)  In particular, emulation code for
64-bit integer arithmetic was removed, the C compiler must support a
64-bit integer type.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-15 17:09:13 +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
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
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
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 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 7da45ce4bc Exporter caml_fatal_error*, la lib str les utilise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-01 13:07:57 +00:00
Damien Doligez 794c184571 suppression du support Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-08 22:28:48 +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 0dbce74fc8 lazy a la Tolmach
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +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 ddd99c7e5d Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Xavier Leroy d130e50285 Revu l'initialisation de verb_gc. Ajout de messages de trace pour attempt_open
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3419 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-19 10:01:41 +00:00
Damien Doligez 0f45531954 passage a ANSI C -> suppression bcopy et memmov
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-29 17:36:44 +00:00
Damien Doligez 3a43e16ae2 ajout Weak.get_copy
Assert -> CAMLassert
suppression des conjonctions dans les Assert


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-23 17:10:03 +00:00
Damien Doligez 3f6a493b87 MacOS: ajout macosunix; portage bigarray et systhreads; tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-05 18:30:22 +00:00
Damien Doligez a843096a99 codes pour faciliter le debug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 08:34:22 +00:00
Damien Doligez 6923196d8f petit changement gc_message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:01:41 +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
Damien Doligez 2951f3adf0 gc_message: option pour court-circuiter le degre de verbosite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:07:05 +00:00
Damien Doligez 16cf256535 changement gc_message
alloc_for_heap, add_to_heap, allocation_color
mauvais parametres alloc_final dans io.c


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-07 18:43:39 +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
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
Damien Doligez 284a90de8b misc.c: ajout d'un cast
Makefile.Mac: suppression de -opt speed, ajout -d _STDC_


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1151 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-06 16:51:11 +00:00
Damien Doligez 312cfbddfd Portage Mac/MPW:
Makefile: clean: eviter d'effacer interp.a
  config.h: #include pour Mac
  fix_code.c: version sans switch
  interp.c: ajout action periodique, suppression de quelques ++ inutiles
  main.c: initialisation action periodique
  major_gc.c: return 0 pour calmer le compilo C
  misc.c: ui_gc_message et ui_fatal_error -> ui_print_stderr
  signals.h: include "mlvalues.h"
  startup.c: donne la chaine pour uncaught exception Failure
  sys.c: diverses modifs Mac
  terminfo.c: return Val_unit pour calmer le compilo C


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-02 18:00:46 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy e02fc8e7d8 Deplacement de urge_major_gc dans signals.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-22 16:48:17 +00:00
Xavier Leroy e4066357b1 Ajout des notices de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy 414572e80b MAJ par-rapport a Caml Light 0.7
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-08 13:37:34 +00:00
Xavier Leroy 61bd8ace6b Passage a la version bootstrappee (franchissement du Rubicon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-04 10:15:53 +00:00