Commit Graph

759 Commits (3a9e049fca111dfc830fbe1741fb92d6cccf137a)

Author SHA1 Message Date
Pierre Weis 12107f3fbe Reaching the format graal: the fourth element
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 09:56:11 +00:00
Pierre Weis 236c7c3408 Legere mise en facteur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5208 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-30 23:47:54 +00:00
Pierre Weis 03625b7620 Export de end_of_input.
Implementation de la semantique des espaces conforme a la doc (seul le
caractère 32 est reconnu pour appeler skip_spaces).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5207 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-30 23:46:21 +00:00
Luc Maranget 53c35c8e00 oubli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 18:24:53 +00:00
Damien Doligez e22208ccca fix PR#1202
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 17:53:24 +00:00
Damien Doligez 0738514628 PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 13:55:33 +00:00
Damien Doligez 6112f1860d PR#1464
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 21:47:41 +00:00
Luc Maranget c417b82d9e nouveau ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 16:46:50 +00:00
Damien Doligez a0aa7eda67 modif de string_of_float pour afficher tous les chiffres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:20:53 +00:00
Damien Doligez ffabc5b01a doc plus precise pour int_of_string
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:19:32 +00:00
Damien Doligez 4aef78fc74 PR#1423
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5175 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 19:01:19 +00:00
Pierre Weis 27c443e152 Bug in the scanning of characters at end of file (
sscanf "" "%[^\n\r]\n" must succeed and return the empty string).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-10 10:08:18 +00:00
Pierre Weis e42e2b9266 Revised semantics of @c: the c character is now skipped by default.
This behaviour is documented.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-08 06:46:15 +00:00
Pierre Weis 51eb3bad54 A lot of modifications: provision for unsigned numbers in binary
notation + addition of a new ``bof'' field in input buffers to detect that
no chars have ever been read + careful check and debugging of reading
from empty buffers + code review. Addition of stdib for reading from stdin.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:20:07 +00:00
Pierre Weis 739479921d Provision for unsigned numbers in binary notation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:16:03 +00:00
Pierre Weis e95dce8553 Provision for printing of unsigned numbers in binary notation.
(Still to be revised.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:15:17 +00:00
Damien Doligez 007f9a7551 ajout _ dans les nombres; ajout \xhh dans les chaines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-02 12:25:15 +00:00
Damien Doligez 0d5055997a PR#1378
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-27 14:20:58 +00:00
Damien Doligez 7f968224ae probleme out-of-bounds string/array access sur Mac OS 10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 18:03:56 +00:00
Damien Doligez dd63c45e38 PR#1379
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-18 13:59:27 +00:00
Damien Doligez 47ae2e8b0a PR#1384
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-17 13:45:33 +00:00
Jacques Garrigue cc07ebe27d corrige PR#1374: univar aliasee en variable de rangee
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-07 01:45:16 +00:00
Pierre Weis 66f225a7bf Too optimistic implementation of %F format: we have to do the all job on
the Caml side.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-06 10:05:33 +00:00
Pierre Weis a96f8f0e87 Formats %B and %F.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5119 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:38:11 +00:00
Pierre Weis c89dbcc9e0 Introducing the (compiler private) helper function to turn out a
string representation of a floating point number to a valid Caml token
(valid_float_token).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:31:18 +00:00
Pierre Weis 0d986a420a Introducing new format %F and %B to print parsable float and bools.
(For bools format B is equivalent to format b, which can now be used
for something else: printing integers in binary format ?).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:27:34 +00:00
Xavier Leroy c5e13cd23f MAJ numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 14:16:12 +00:00
Damien Doligez e41863b492 changement overhead par defaut -> 80
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-01 14:14:10 +00:00
Xavier Leroy 23be5a960f Documenter le probleme avec let rec x = lazy x
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-30 13:02:56 +00:00
Pierre Weis 05406fd635 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:51:51 +00:00
Pierre Weis 0146dc27f9 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:46:07 +00:00
Pierre Weis 6c15753d0f Revu le traitement de %S (les @c ne sont pas nécessaires vus les
guillemets délimiteurs).
Revu le traitement des blancs en fin de fichier et les formats à
indication de scanning erronées (format terminé par @).
Revu le type de kscanf.
Revu la documentation des indications de scanning.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:29:42 +00:00
Xavier Leroy 8bf3b5a36a Documentation plus precise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-27 16:28:23 +00:00
Xavier Leroy 6970e8c7fa Identifier %x et %X; bug parsing entiers octal et hexa (PR#1260); 8 n'est pas un chiffre octal. Signe: Damien & Xavier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 15:24:58 +00:00
Xavier Leroy 1c2eda75a7 ocamldoc n'aime pas [@c] ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5039 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 14:06:19 +00:00
Xavier Leroy 2864c78b57 Petites modifs dans les commentaires de doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:17:35 +00:00
Xavier Leroy 12e24290b8 Petites modifs dans les commentaires de doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:11:29 +00:00
Damien Doligez 794633663d bug Weak.Create(_).iter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 16:10:00 +00:00
Damien Doligez f5f0b6c1dd changement de spec numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:35:30 +00:00
Damien Doligez 37bf95c248 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Xavier Leroy 30fdb75855 Reformattage documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:40:02 +00:00
Damien Doligez 8bd27a45b4 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 15:48:45 +00:00
Xavier Leroy 38b49667b1 MAJ dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:38:00 +00:00
Xavier Leroy 2b7a057f2f Passage version 3.05
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:36:57 +00:00
Xavier Leroy 88cf96e3bd Clarification doc de close_in et close_out (PR#1235)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5002 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-18 08:44:51 +00:00
Jacques Garrigue 9617cdedcd add scanf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-15 01:10:33 +00:00
Xavier Leroy ede12e6163 Remplacement des tests ofs + len > length par ofs > len - length, pour eviter le debordement lors de l'addition (PR#1229)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-12 09:47:54 +00:00
Pierre Weis 4865d98f29 Errors in documentation + the error continuation now takes as argument
the exception that was raised during scanning instead of a string
explaining the problem + proper end of file detection.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-11 22:39:26 +00:00
Damien Doligez 3932ce2651 alldepend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 12:13:48 +00:00
Pierre Weis a829d1d7d6 Using formats %S and %C.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:27:14 +00:00
Pierre Weis de4faabfce Exception Scan_failure gets a string argument only.
Failure exception is no more trapped for each convertion: it is
trapped instead in the main scanning loop.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4958 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:20:25 +00:00
Pierre Weis d7e240f4d9 Documentation of kscanf + simplification of exception Scan_failure.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4957 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:18:11 +00:00
Xavier Leroy 26fb2b92ac Ajout operation is_empty
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 08:48:26 +00:00
Xavier Leroy 376626863e Nettoyages documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 14:52:34 +00:00
Pierre Weis 17db5ace3e Introducing kscanf, the scanning function with an additional error continuation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:32:27 +00:00
Pierre Weis 72d45abf8a Introducing kscanf, the scanning function that has an extra
continuation argument for scanning failures.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:31:02 +00:00
Xavier Leroy 9e3dc0cd97 Ajout d'un type t et d'une fonction compare pour permettre l'utilisation de ce module avec la signature OrderedType
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:13:59 +00:00
Xavier Leroy efd43cdb54 Les types et exceptions predefinis sont maintenant documentes a part, on n'en parle plus dans Pervasives
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:13:29 +00:00
Xavier Leroy 2e7c4897df Ajout fonction public_method_label pour CamlIDL et autres programmes ayant besoin de connaitre un index de methode, sans pour autant en creer de nouveaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:12:49 +00:00
Xavier Leroy be82a1c3d0 Retour de Oo.new_method, qui sert pour CamlIDL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-20 15:44:29 +00:00
Xavier Leroy 35aca10d95 Suite portage Mingw
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4933 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-18 13:01:53 +00:00
Jacques Garrigue a3c76a6264 improve error messages
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-18 10:47:33 +00:00
Jacques Garrigue 8388bbe7d2 Oo.oid -> Oo.id
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-14 06:59:20 +00:00
Pierre Weis 0505570e3b Introducing a specific exception for formatted input functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4922 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-12 08:31:21 +00:00
Jacques Garrigue 3d7002adaa be more specific on oid
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-12 07:55:55 +00:00
Jacques Garrigue 5c5db3cb33 ajout de Oo.oid
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4914 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-11 02:51:01 +00:00
Jacques Garrigue d13715755c clean-up of universal and recursive types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-10 02:39:35 +00:00
Pierre Weis b34615a023 Spelling.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 10:05:52 +00:00
Xavier Leroy a82c366504 Portage Mingw et revision du portage Win32/MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 09:49:45 +00:00
Damien Doligez bba52e7a9d changement List.sort; ajout fast_sort et List.merge
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:12:47 +00:00
Damien Doligez db0a0a0d34 changement List.sort; ajout fast_sort et List.merge; bugfix Obj.truncate
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:12:16 +00:00
Damien Doligez 88cd2df4d6 coupure de lignes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4878 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:08:38 +00:00
Pierre Weis 12b5faed10 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4856 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 17:51:49 +00:00
Damien Doligez 2dd5bb2e5d .depend + .cvsignore
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4855 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 17:03:40 +00:00
Damien Doligez 3b358c7349 fix declenchement du compactage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 16:57:31 +00:00
Pierre Weis 1b790320c7 Disparition de Scanning.ml et Scanning.mli.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 22:01:05 +00:00
Pierre Weis 2b74c8d0bd Le module Scanning est intégré dans Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 22:00:09 +00:00
Pierre Weis ad7659f31d Les formats [f], [e], [E], [g], [G] sont équivalents.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 20:41:19 +00:00
Pierre Weis 817e451e48 Meilleurs messages d'erreur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4843 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 08:51:23 +00:00
Pierre Weis b55d7dad58 Suppression de l'argument spc dans la fonction scan (le coeur de
fscanf): les espaces sont sautés lorsqu'on rencontre un espace dans la
chaîne de format.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4841 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 07:08:05 +00:00
Pierre Weis 60ed746eef Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 07:05:36 +00:00
Pierre Weis cc021ae190 Documentation + cosmetique.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 07:04:48 +00:00
Xavier Leroy 4c64e76734 Documentation du flag 0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4835 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-25 08:37:33 +00:00
Pierre Weis 3e2024a34c typos
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-20 19:22:21 +00:00
Pierre Weis e9e7213c0c Implementation of escapes in Chars and Strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-20 19:19:15 +00:00
Pierre Weis a08d0285f1 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-17 08:17:52 +00:00
Damien Doligez 3340979102 version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 16:23:01 +00:00
Damien Doligez 77173a5fe7 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 15:23:05 +00:00
Damien Doligez 4b981e1964 documentation de sort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4818 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 15:09:09 +00:00
Pierre Weis 1459d3989f Documentation and some rewriting.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4811 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-15 20:29:26 +00:00
Pierre Weis f2881ac3d2 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-15 20:28:57 +00:00
Pierre Weis f13bd42464 Getting rid of one more Obj.magic :)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 18:41:07 +00:00
Pierre Weis 3652bd03d9 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 18:40:15 +00:00
Pierre Weis 52d75a5e19 Introducing format %C and %S to print (and read) strings and chars
with escaped and delimitors (as Objective Caml tokens).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4804 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 18:37:49 +00:00
Pierre Weis 79eb51807f Getting rid of 2 Obj.magic(s). (By the way string_of_format =
%identity is safe.)
Adding formats C and S.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 17:57:36 +00:00
Pierre Weis d4b9ac8c8c Simplification + correcting scanning of booleans.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-11 12:06:22 +00:00
Pierre Weis bea7012c7f Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4801 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-11 12:03:42 +00:00
Pierre Weis 8c712bd5a9 Some bad_format where bad_input.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4800 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-09 21:07:44 +00:00
Pierre Weis 1bac650af9 Better evaluation strategy for scanf: before calling the function argument
scanning is saturated.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-09 19:37:07 +00:00
Pierre Weis c00140c75d Completing implementation of char sets into scanf.ml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4798 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-09 18:26:44 +00:00
Pierre Weis 47cb207036 Better treatment of end of file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4797 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-09 18:22:51 +00:00
Pierre Weis d4fefff6fa Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-08 13:51:09 +00:00
Pierre Weis eaa6581cc4 Documentation of the tag facility.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4794 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-08 13:50:29 +00:00
Pierre Weis ba34bd8a63 Simplying once more.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 16:34:26 +00:00
Pierre Weis 8f79254242 Simplifying scanning of integers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 16:31:33 +00:00
Pierre Weis 4912200a02 Reading nativeint int32 and int64 values.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 16:28:19 +00:00
Pierre Weis adf2b507bf Functions incompletely called.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 14:47:28 +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
Xavier Leroy 9c69b5d52e Meilleure implementation du module Queue, fournie par Francois Pottier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4775 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-06 12:11:08 +00:00
Xavier Leroy a4ade26294 Decoupage de stdlib/oo en stdlib/camlinternalOO et stdlib/oo. Petites modifs dans la compilation des classes pour reduire la taille du code genere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-24 09:49:06 +00:00
Pierre Weis 929bc47ff8 Echolalie.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-22 21:55:26 +00:00
Pierre Weis 5b4c55d7dd Confusion between i and j => bus error!
Generalized names for tags.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-22 21:54:08 +00:00
Maxence Guesdon af7e23aa24 correction cross ref dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 09:11:18 +00:00
Jacques Garrigue 0a8236066f vive les methodes polymorphes!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 07:27:47 +00:00
Xavier Leroy 3723114891 Ameliorations de Filename.temp_file (creation en mode 600; utilisation d'un PRNG) et ajout de Filename.open_temp_file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-15 11:42:45 +00:00
Jacques Garrigue 06db32f483 PR#1020
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4590 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-04 09:00:16 +00:00
Xavier Leroy 501905824b Doc de output et input, suite (PR#1001)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-29 15:01:59 +00:00
Xavier Leroy 21650a915d Doc de output et input (PR#1001)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-29 14:46:51 +00:00
Xavier Leroy 9950a09968 Revu implementation et doc de Complex.sqrt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-29 14:46:33 +00:00
Xavier Leroy 09581ecdf9 Guard against string length overflow when resizing (PR#1015)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4571 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-29 14:24:22 +00:00
Pierre Weis 4750850b76 Improved error message.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4564 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-26 17:46:09 +00:00
Pierre Weis ae91006786 Documentation + parse_argv introduction.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-23 16:30:01 +00:00
Pierre Weis e40ea8f198 Generalization of Arg.parse into Arg.parse_array: we now can parse an
arbitrary string array built during program execution.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-22 20:46:06 +00:00
Pierre Weis c4b203f34c Added get_* for tag printing status.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-22 20:43:07 +00:00
Damien Doligez 424fd989f5 Format.kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 17:13:02 +00:00
Pierre Weis e5540bf196 Forgotten export.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 16:23:40 +00:00
Damien Doligez cfdb9013e8 fix PR#1018
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 16:10:36 +00:00
Pierre Weis f187b04ee0 Parsing of float arguments was not properly handled in case of invalid
argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 10:45:20 +00:00
Pierre Weis 219cc8e584 Distinction between tag markers (output as a 0 length token) and tag
printers (regular pretty printing functions applied to tags).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-20 07:33:20 +00:00
Pierre Weis f46c82bb41 Nouvelle version des tags.
Simplification de champs fonctionnels des formatteurs.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-20 06:51:17 +00:00
Xavier Leroy bd8c3bbd18 Retour en arriere sur le renommage Lexing.lex_buffer_len -> Lexing.lex_buffer_end, car ca casse Hevea
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-18 16:16:31 +00:00
Damien Doligez 4e87d1239d deps + factorisation sprintf/kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4529 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 17:34:58 +00:00
Damien Doligez 818a4463bd ajout kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 14:08:10 +00:00
Damien Doligez 822e1b12e6 documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 14:07:56 +00:00
Xavier Leroy 4efb58b231 Implementation de Filename.quote pour Win32
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4515 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-12 16:16:56 +00:00
Xavier Leroy f2bd146780 MAJ doc exit, at_exit (PR#884)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4514 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-12 12:39:53 +00:00
Pierre Weis bdc61c17bf Introducing tags.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 22:18:20 +00:00
Xavier Leroy 6527f93cb0 Revu initialisation suite au changement de la strategie de reallocation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4504 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 10:38:43 +00:00
Xavier Leroy af97fe9e5a Open_append implique Open_write automatiquement => simplification de la doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4500 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 08:45:40 +00:00
Xavier Leroy 47dbf69856 Revu redimensionnement du buffer d'entree (PR#900,908)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 08:45:10 +00:00
Xavier Leroy 9b37d40d34 Un identificateur peut commencer par _ (PR#959)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-11 08:43:55 +00:00
Damien Doligez 9be5381037 documentation types built-in
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-06 13:39:44 +00:00
Damien Doligez a2d1de28e9 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-06 13:33:25 +00:00
Damien Doligez 9261b153d6 documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-06 13:33:07 +00:00
Pierre Weis 9a43942161 Generalisation, simplification, meilleurs messages d'erreur, meilleur
detection des erreurs de format, et documentation comme d'habitude...


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-05 20:56:46 +00:00
Xavier Leroy bddfe5d0ce Ajout operations sur gros fichiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-02 09:16:39 +00:00
Damien Doligez f3a1293b03 Digest: modif channel, fix PR#924, ajout to_hex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-25 16:37:15 +00:00
Damien Doligez 5dd41d5bc9 "or" deprecated; use || instead
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-25 13:04:58 +00:00
Damien Doligez adc7a32111 bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4428 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-19 13:29:09 +00:00
Xavier Leroy b6a4ccaaf6 MAJ doc at_exit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4426 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-18 16:34:32 +00:00