Commit Graph

72 Commits (adfab743f55d3301cba73b6ace1361407529b1a8)

Author SHA1 Message Date
Pierre Weis 22e8639445 Documentation additions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:37:07 +00:00
Pierre Weis 044ac2610c New function ifprintf that does not print. (See request #0004031.)
Ifprintf is a one-liner using implementation tools from Printf, whereas it is
not possible to write it in pure Caml.
Useful to conditionally ignore printing.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 09:12:53 +00:00
Pierre Weis 3cd7de7f80 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 09:42:45 +00:00
Damien Doligez 0e5ca9dca5 nettoyage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +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
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
Xavier Leroy 63c1789b5e Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +00:00
Pierre Weis 4f8c5658cd Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-04 08:01:31 +00:00
Pierre Weis 6ba80fdf70 Correcting the treatment of @?.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-11 22:20:04 +00:00
Pierre Weis 117bab91dd To answer a relevant question asked on the mailing list, introduction
of a general pgc (Print with Given Continuation) facility: kfprintf
with the corresponding profile
val kfprintf : (formatter -> 'a) -> formatter ->
              ('b, formatter, unit, 'a) format4 -> 'b;;


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5886 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-27 08:59:08 +00:00
Pierre Weis 46b74fad39 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 10:33:52 +00:00
Xavier Leroy adb5cd1e01 Doc tags desactives par defaut (PR#1849)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 07:43:54 +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
Pierre Weis e132cd1f7a Documenting format %$.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 19:55:12 +00:00
Pierre Weis 9bbe6d7d7a Default policy is to ignore tag printing completely.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-24 14:26:56 +00:00
Pierre Weis fda0343bbf Typing of kprintf turned to the more general type allowed by new
format strings type.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-22 10:13:11 +00:00
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 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
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 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 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
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
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
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
Damien Doligez 196b219020 backslashs inutiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4290 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:38:52 +00:00
Maxence Guesdon b7c2dcaa7e Changements niveaux de titres dan les commmentaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-28 23:13:35 +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
Maxence Guesdon 966c128bc9 commentaires après
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-03 22:01:28 +00:00
Pierre Weis 4fcb648544 Revu encore une fois la doc. Details + explications supplementaires
pour sprintf et surtout bprintf qui sont d'emploi delicat si l'on veut
en faire des appels repetes et correles (faut-il supprimer bprintf
pour format ?)...


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-04 21:25:23 +00:00
Pierre Weis f7f0502e52 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-31 11:04:35 +00:00
Maxence Guesdon a692df441c Modification emplacement et syntaxe des commentaires pour OCamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-26 22:37:14 +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
Pierre Weis 1fe7313d80 Documentation: ajout d'un mot au sujet du mélange entre impressions
avec format et Pervasives.print_*.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-12 15:25:04 +00:00
Xavier Leroy 6c7b901c9b Petit bug dans un titre de documentation (doit etre sur une seule ligne)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-15 14:51:06 +00:00
Pierre Weis 2116da4220 Getting rid of obsolete boolean operators & and or
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-28 13:07:42 +00:00
Pierre Weis 0c1763f75a Détail de documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2769 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-26 18:36:45 +00:00
Jacques Garrigue c7168d2346 changed some labels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-07 15:01:27 +00:00
Jacques Garrigue 905267fe2c changed some labels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-01 09:31:59 +00:00
Jacques Garrigue 296fc05470 Merge olabl branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 16:07:38 +00:00
Damien Doligez a65313de38 cosmetique
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:49:30 +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
Pierre Weis 5eb20f86c9 Mauvaise déclaration de la fonction d'impression sur buffers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2435 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-15 14:06:13 +00:00
Xavier Leroy 7e6eb60866 Commentaire de doc incorrect
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-04 14:13:54 +00:00
Pierre Weis fd27f41420 Changement de type formatter_of_buffer. Ajout de bprintf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-23 18:00:17 +00:00
Pierre Weis d661c6443d Documentation + cosmétique.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-17 18:48:03 +00:00
Pierre Weis e3f42c3acd Addition of sprintf and formatting on buffers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-16 09:07:26 +00:00
Pierre Weis 12c5dec537 Ajout d'un échec donnant le format incriminé.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-12-23 18:57:55 +00:00