Commit Graph

5226 Commits (2aa7ea18cd86e9a6f915af7a4ec92e97fa0c03c0)

Author SHA1 Message Date
Pierre Weis 2aa7ea18cd Even more tests for the empty buffer and its various strange behaviour
with respect to end_of_input and end_of_file conditions.
Corrected a erroneous count for test numbers.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 11:14:58 +00:00
Pierre Weis 139cf32a6f Width field of %c conversion is dynamically checked and must be 0 or 1.
The function end_of_input was wrong in case of a buffer for which both
beginning_of_input and end_of_input conditions were true (e.g. in case
of an empty string or an empty file).

Better error reporting for characters out of the given range.

Reminiscent of the printf semantics, %! matches the end of input
condition.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 11:13:21 +00:00
Xavier Leroy 628364a85a Conventions Cygwin (PR#1707)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5661 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 09:07:45 +00:00
Didier Rémy da20273d56 - compile-command in caml.le
- added hypertext links in caml-help (in addition to info link)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 08:46:23 +00:00
Xavier Leroy e32fbbf849 Code mort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:17:52 +00:00
Xavier Leroy 1a4be860d0 Renommage type format -> format4 et reintroduction type format a 3 arguments pour compatibilite arriere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:13:24 +00:00
Maxence Guesdon 62e030d764 added field ex_code to exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 11:39:50 +00:00
Maxence Guesdon e64970f29d Don't overwrite HTML and LateX style files, generate style file for LaTeX
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 10:02:13 +00:00
Maxence Guesdon a1434b7470 gestion des types private
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 09:31:03 +00:00
Xavier Leroy 708dfa5e88 ocamlopt -pack et Windows, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 16:21:47 +00:00
Xavier Leroy ba92975632 Revu config Camlp4 sous Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 16:14:49 +00:00
Xavier Leroy b0a3c8014b Faire marcher ocamlopt -pack sous Win32-msvc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 15:13:23 +00:00
Xavier Leroy e140b9ea5c Remplacement des liens symboliques par des references .so
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 14:36:22 +00:00
Xavier Leroy 661910856d MAJ d'un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 14:35:35 +00:00
Damien Doligez 12690ec2d8 bug de currification
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 13:17:09 +00:00
Jacques Garrigue 580fb97a7f exemple de mauvaise recursion
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5647 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 10:01:17 +00:00
Jacques Garrigue 705e980c2b reprend la definition de Xavier pour partager le code de check_recursion
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 10:00:53 +00:00
Xavier Leroy 8df11a4cf7 Nettoyage dans extract_label_names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 08:34:08 +00:00
Damien Doligez 0a1f0f864b desactivation du format %$
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 14:06:05 +00:00
Xavier Leroy 3e4bf9252b Revu representation des declarations de type private
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 09:14:35 +00:00
Xavier Leroy c348f9a6ae MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 09:12:56 +00:00
Damien Doligez b37e53cef1 PR#1675, voir aussi PR#1438
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5641 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-01 16:30:12 +00:00
Xavier Leroy 49ee5083e2 Detection des abreviations de types mal formees introduites par 'module rec'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-01 13:05:43 +00:00
Xavier Leroy 82268601cc MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-01 13:05:14 +00:00
Xavier Leroy 8c008a73d1 Introduction/utilisation de caml_array_bound_error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 15:39:39 +00:00
Xavier Leroy 2798826120 Petite optimisation pour le Pentium 4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 15:32:45 +00:00
Xavier Leroy e8e8d33624 Ajout de toplevel_startup_hook (pour Cash)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 15:31:06 +00:00
Xavier Leroy de53ed7fb7 Bugs dans intop_imm(Idiv | Imod)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 11:29:26 +00:00
Xavier Leroy bc33391898 Portage AMD64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:28:48 +00:00
Jacques Garrigue c43e3a3d6e more tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:09:21 +00:00
Jacques Garrigue b8f3f07141 coherent handling of type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:04:42 +00:00
Jacques Garrigue 0c4d61454b fix PR#1731
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5631 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-28 10:57:45 +00:00
Jacques Garrigue 8121f19f8d fix PR#1731
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5630 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-28 10:46:32 +00:00
Maxence Guesdon c88d7a44e3 handling recurive modules in ocamldoc seems ok
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-27 13:40:41 +00:00
Xavier Leroy 9ca07e88e2 Revu detection definitions multiples (PR#1732)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-27 08:49:22 +00:00
Xavier Leroy ccd0578b78 Revu approx_class_declarations (PR#1730)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-26 08:18:45 +00:00
Damien Doligez 2efe3fdc1b installation camlp4.cmxa camlp4.a
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-25 08:21:14 +00:00
Jacques Garrigue 789d53cecf fix PR#1727
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-25 07:52:27 +00:00
Maxence Guesdon fce1111943 use <pre> instead of <code> for types definitions, to make long type definitions indented, and set a smaller bottom margin for pre in the default style
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-25 07:40:17 +00:00
Damien Doligez e810d8fd3e typos
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 14:35:46 +00:00
Xavier Leroy 4f43b5f3fa Rectif doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 09:50:23 +00:00
Xavier Leroy a41e89a3e7 MAJ en vue 3.07
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 09:50:02 +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
Xavier Leroy fe77ea4a69 Option -i: ignorer la presence d'un .mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 14:00:49 +00:00
Xavier Leroy 50bdc60761 L'option -i desactive la production des fichiers compiles .cmi, .cmo, .cmx, .o, ainsi que le link
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 13:22:09 +00:00
Xavier Leroy dc5c604800 Doc de iter et fold
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 13:19:35 +00:00
Xavier Leroy 0c9ced52bf Installer signals.h dans les includes publics (pour enter/leave_blocking_section)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:52:06 +00:00
Xavier Leroy e697df642b string_of_float: 17 digits au lieu de 18 (18 donne des resultats tres moches sous Linux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:51:18 +00:00
Xavier Leroy bf98f04b12 MAJ par-rapport a stdlib/pervasives.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:50:42 +00:00
Xavier Leroy 37ea8fd4fd Correction de obj_dup dans le cas ou le bloc a copier est >= Max_young_wosize
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:46:13 +00:00