Commit Graph

6436 Commits (f976176626c8cd649e074a1b1ca214a742f21061)

Author SHA1 Message Date
Jacques Garrigue a033ecb41c exemple supplementaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-16 01:11:02 +00:00
Jacques Garrigue 83c0f7bb46 fix merge problems with 3.08.4 (PR#3758)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-16 00:48:56 +00:00
Damien Doligez a4a3c10e70 fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Damien Doligez f4cc48c8ea fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:48:28 +00:00
Xavier Leroy 7df7bda91d MAJ des benchs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7017 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-12 09:22:04 +00:00
Xavier Leroy 0ba3106399 Retour en arriere sur la simplification des signatures inferees (fix du PR#3545 du 2005-08-02), qui est completement bugge
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-08 09:41:52 +00:00
Jacques Garrigue 5640bb83d7 bug in private rows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-08 05:40:52 +00:00
Xavier Leroy 754bc39c90 Systematiser la simplification des signatures inferees (PR#3545)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7005 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-02 09:49:30 +00:00
Xavier Leroy abb2a740b4 Doc %F (PR#3541)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-02 09:21:24 +00:00
Xavier Leroy d4d7720ca9 Revu implementation de ocamlopt -pack. Remplacement du renommage a posteriori par un renommage a priori via l'option -for-pack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7003 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-01 15:51:09 +00:00
Xavier Leroy 2fb1df4156 Suppression de Thread.wait_signal sous Win32, inutilisable sans Thread.sigmask
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7001 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:33:54 +00:00
Xavier Leroy eeb4450b89 Ajout de Thread.sigmask.
try_leave_blocking_section: interdire l'execution immediate de signal
handlers, c'est trop risque de faire pthread_mutex_trylock dans un
handler de signaux.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:32:41 +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
Xavier Leroy f55d676d2c Interdire les references Foo.x lorsqu'on compile foo.ml ou foo.mli (PR#3100, 3304, 3457)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:03:40 +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
Jacques Garrigue 5b91a039ac add PRs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 08:21:14 +00:00
Xavier Leroy ef57438f9f Windows n'a pas sigaction et al
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-28 16:28:41 +00:00
Jacques Garrigue c1a91b796e use -idirafter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-26 13:35:16 +00:00
Pierre Weis ea42810e92 Testing difference between @\n and \n.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 17:27:17 +00:00
Pierre Weis eb81b70950 Bumping the version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:23:28 +00:00
Pierre Weis d9fbc1854c Typos in the doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:22:29 +00:00
Pierre Weis 32e84c0515 Homogènésation des interfaces de printf et format: kprintf est marquée
obsolète au profit de ksprintf; on introduit kfprintf.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6979 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:21:02 +00:00
Pierre Weis 2815135617 Char ranges in format strings where not handled properly (wrong parsing).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:11:26 +00:00
Jacques Garrigue 8c87123e86 portee des variables de type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 06:42:36 +00:00
Jacques Garrigue c9fb98c676 error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:30:19 +00:00
Jacques Garrigue 8e25cec9c4 definition plus claire du partage des variables de types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 04:11:47 +00:00
Damien Doligez 841e1e9a28 espaces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-21 14:52:45 +00:00
Jacques Garrigue d21579ac02 fix potential bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 23:50:45 +00:00
Jacques Garrigue 57cf3cecd4 fix PR#3638
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 11:38:45 +00:00
Jacques Garrigue c7a3c042df fix PR#3705
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-12 01:07:09 +00:00
Pierre Weis d21474e7b3 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-11 14:49:57 +00:00
Jacques Garrigue b20551ecda check variance for row-variable too!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-11 08:07:59 +00:00
Pierre Weis 6fae6a771a A subtile bug in scanf: stopper character have not to be always
present in the input (in this case the token spreads to the end of
file, as specified, and this is not an error!).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-02 21:10:04 +00:00
Pierre Weis f269a30281 Adding a new test for scanf: two concurrent processes communicating
via stdin/stdout (this example tests proper treatment of end of file
and \n at end of string; more precisely, this test finely tests char
lookaheads and char lookahead attempts, since a spurious lookahead
attempt may lead to a deadlock between the reader and the writer (in
the example the slave and the master)).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 12:39:43 +00:00
Pierre Weis 7dc2ff0178 Added a test for simple string scanning (incredible: it was missing!.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 12:08:34 +00:00
Pierre Weis daee11142a Last added test was bogous.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 09:05:21 +00:00
Pierre Weis 4018798e3f A bug in the treatment of (implicit) string delimitors (' ' '\n' '\r'
'\t'): the delimitor should not be skipped. This way

sscanf "hello\n" "%s\n" (fun s -> s) = "hello"

(not exception End_of_file !)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 09:02:02 +00:00
Pierre Weis 6f130bf55d After major Scanf modification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:16:35 +00:00
Pierre Weis 9bc393e8f2 A major modification: the main invariant has been modified !
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:15:02 +00:00
Pierre Weis 057318d59a Adding more tests for range of chars and end of file testing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:13:05 +00:00
Michel Mauny a6ddef1d22 private types, cont'd
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6932 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-29 13:19:14 +00:00
Jacques Garrigue a685f0b3b3 add private row types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-29 04:11:26 +00:00
Damien Doligez 3dd95017c5 suppression Printexc.catch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6925 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-22 13:53:34 +00:00
Damien Doligez 7ccab6d02a nouveaux warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-22 13:52:36 +00:00
Damien Doligez be2320a1fd suppression 3 warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-22 13:49:35 +00:00
Damien Doligez b9abfe22c4 PR#3669: suppression de Printexc.catch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-22 12:45:55 +00:00
Michel Mauny ef721f23ab Fixed a bug introduced by fix of PR#3688
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6917 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-20 16:49:14 +00:00
Michel Mauny ba8253105b Fixed the Cmalp4 part of PR#3688
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-17 12:25:57 +00:00