Commit Graph

67 Commits (0e45ab396153ab2c3620acf7558b8583ff2bb91b)

Author SHA1 Message Date
Alain Frisch dd6d8257c0 Enabled 'unused rec flag' warning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12503 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 12:33:51 +00:00
Alain Frisch a0a14c08fa Enable and fix more warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 11:47:28 +00:00
Alain Frisch 05c973e6ed Compile with warning 33, and remove unused opens.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 11:10:03 +00:00
Xavier Leroy b2166e33f5 - Hashtbl:
. Added optional "random" parameter to Hashtbl.create to randomize
      collision patterns and improve security (PR#5572, CVE-2012-0839)
    . Added "randomize" function and "R" parameter to OCAMLRUNPARAM
      to turn randomization on by default (PR#5572, CVE-2012-0839)
- Filename: on-demand (lazy) initialization of the PRNG used by "temp_file".



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19 13:17:40 +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 2b0441401a merge changes between 3.10.2 and the end of branch 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Michel Mauny 666cb14adf Implement Lazy.force as a primitive, and optimize its calls.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:57:10 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Nicolas Pouillard ec19231fb9 Fix the otherlibs/threads/Makefile to avoid useless re-compilations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 09:54:55 +00:00
Pierre Weis 760873eff6 Add another target to preform the necessary links for unix.mli and unix.cmi.
This should not be the best way to achieve the correct compilation commands
chain.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7857 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 08:37:02 +00:00
Damien Doligez 35de2ce529 mise au carre des warnings XYZ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:53:32 +00:00
Jacques Garrigue 0edba97cf6 new warning for black holes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6703 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 02:27:25 +00:00
Damien Doligez 4ffbf5ec57 ajout warning unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:17:47 +00:00
Xavier Leroy 30d9dc3229 Ajout module CamlinternalMod (auxiliaires pour la compilation de 'module rec')
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:57:00 +00:00
Xavier Leroy 680a54d3c2 Faire cohabiter les threads bytecode et les threads systeme. Ajout option ocamlc -vmthread.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 08:38:28 +00:00
Xavier Leroy 230179ff8b MAJ Makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 08:21:40 +00:00
Jacques Garrigue 9e565050e7 ordre dans stdlib.cma
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 01:39:33 +00:00
Jacques Garrigue 05c20a740d add MoreLabels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-08 07:30:08 +00:00
Xavier Leroy fa10aa694e Installer les stub DLLs dans LIBDIR/stublibs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 11:36:02 +00:00
Pierre Weis 3c8d710aef Disparition du module Scanning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4851 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 22:02:44 +00:00
Pierre Weis 01ca2d9ec2 Introducing a ``scanf'' facility in Objective Caml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4780 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 07:41:12 +00:00
Jacques Garrigue b148bb401e acceleration des Makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-27 14:45:33 +00:00
Jacques Garrigue 3a6bde877c camlinternalOO
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-27 04:23:25 +00:00
Damien Doligez c988e25c39 ajout -warn-error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 16:30:40 +00:00
Damien Doligez 42f72c7694 ajout -warn-error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4282 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 15:12:32 +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 ac238f8632 Appeler ocamlmklib via ocamlrun (PR#613)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-08 10:32:24 +00:00
Jun FURUSE / 古瀬 淳 4e4431eb84 remove dll*.so
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 16:26:31 +00:00
Xavier Leroy 343d49401a Revu gestion des DLLs: ne pas les utiliser en mode -custom; dans les .cma et .cmxa, stocker separement les options pour linker statiquement (-cclib) et par chargement dynamique (-dllib).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:32:32 +00:00
Jacques Garrigue 12e6fe3ffa be friendly to non-gnu make
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3860 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-06 02:24:45 +00:00
Xavier Leroy 0f7d388a10 UnixLabels doit etre inclus dans unix.cma
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3834 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-02 15:12:10 +00:00
Jacques Garrigue ea299bbbc1 passage aux labels stricts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06 08:52:32 +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 6919159c42 Rendu Unix thread-safe; ThreadUnix est deprecated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-25 08:04:00 +00:00
Xavier Leroy b40b5c1c73 Afficher un backtrace lorsqu'une exception termine un thread
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-15 14:23:20 +00:00
Xavier Leroy 63224d6b80 Version thread-safe de Marshal
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3257 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-07-28 08:49:50 +00:00
Jacques Garrigue 40bc6f1248 ordre incorrect dans stdlib.cma
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-16 12:37:59 +00:00
Xavier Leroy c7b7c24381 Nouveau format de .cma et .cmxa, se rappelle des -cclib et -ccopt necessaires pour le link final
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-09 09:12:28 +00:00
Jacques Garrigue 74f4ceeb3f ajout des entiers natifs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-08 03:44:49 +00:00
Xavier Leroy f723d5394f Revu les Makefiles pour qu'ils utilisent ocamlc et non boot/ocamlc (puisqu'ils utilisent stdlib et non boot)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-05 12:16:09 +00:00
Jacques Garrigue 327ec4e36d corrected order of .cmo in stdlib.cma
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-01 09:30:51 +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 aab3d902b0 Oubli de Buffer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-09 10:10:47 +00:00
Xavier Leroy 26be0e1ee2 Suppression des semaphores (mauvaise idee!). Revu l'implementation de Thread.wait_signal dans systhreads
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2043 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-08 18:42:22 +00:00
Xavier Leroy ee8cf7ae10 Ajout de Semaphore, Thread.wait_signal
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-08 16:54:14 +00:00
Damien Doligez 09505325a4 bug "make depend" avant "make install"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1925 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-21 16:09:03 +00:00
Xavier Leroy 18881a0f22 Dans stdlib speciale threads: Marshal mal place, Lazy oublie
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1786 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-19 10:01:18 +00:00
Xavier Leroy 356a4ffb49 Ajout de marshal.cmo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-29 13:54:16 +00:00
Xavier Leroy e4ff50278e Il faut que wait_timed_{read,write} ne prennent qu'un argument, comme
toutes les autres primitives qui reschedulent.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-05 14:37:59 +00:00
Xavier Leroy 4a2e700ea6 Renommage make clean -> make partialclean et make realclean -> make clean. Non teste sur Mac et Win32.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-16 13:36:42 +00:00