<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ocaml.git/stdlib/scanf.ml, branch flambda_trunk</title>
<subtitle>github.com: ocaml/ocaml
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/'/>
<entry>
<title>support for hexadecimal float notation in (scanf '%F')</title>
<updated>2015-11-28T16:32:31+00:00</updated>
<author>
<name>Benoit Vaugon</name>
<email>benoit.vaugon@gmail.com</email>
</author>
<published>2015-11-22T11:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=484950d84bdd6537ceed5ec2b51f6d2a7df70b6a'/>
<id>484950d84bdd6537ceed5ec2b51f6d2a7df70b6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GPR#268: Hexadecimal notation for floating-point numbers</title>
<updated>2015-11-19T09:37:20+00:00</updated>
<author>
<name>Xavier Leroy</name>
<email>xavier.leroy@inria.fr</email>
</author>
<published>2015-11-19T09:37:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=0c5e862a3e377d841d9e3dd222bcd350651b644f'/>
<id>0c5e862a3e377d841d9e3dd222bcd350651b644f</id>
<content type='text'>
Merge of branch 'hex-float'.

- Add support in byterun/floats.c for conversions between floats and strings in hex notation. We cannot rely on the C standard library here because Microsoft consistently fails at supporting hex notation as standardized in C99. Instead, the conversions are implemented from scratch.
- Add support in the lexer so that hex float literals are recognized in OCaml sources.
- Add support in formats. The ISO C99 format letters for hex floats are %a and %A, but %a is already taken. I chose %h and %H, which are rejected today as bad formats (hence no backward incompatibility) and don't mean anything in C either (h is a modifier, not a format letter).
- Add support in printf. All the trimmings are there in the implementation of %h and %H, including sign modifier and fixed precision.
- Benoit Vaugon contributed support in scanf.

Resolved conflicts:
	boot/ocamlc
	boot/ocamldep
	boot/ocamllex
	parsing/lexer.mll
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge of branch 'hex-float'.

- Add support in byterun/floats.c for conversions between floats and strings in hex notation. We cannot rely on the C standard library here because Microsoft consistently fails at supporting hex notation as standardized in C99. Instead, the conversions are implemented from scratch.
- Add support in the lexer so that hex float literals are recognized in OCaml sources.
- Add support in formats. The ISO C99 format letters for hex floats are %a and %A, but %a is already taken. I chose %h and %H, which are rejected today as bad formats (hence no backward incompatibility) and don't mean anything in C either (h is a modifier, not a format letter).
- Add support in printf. All the trimmings are there in the implementation of %h and %H, including sign modifier and fixed precision.
- Benoit Vaugon contributed support in scanf.

Resolved conflicts:
	boot/ocamlc
	boot/ocamldep
	boot/ocamllex
	parsing/lexer.mll
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup: replace let-binding of type unit with sequence.</title>
<updated>2015-10-27T10:28:36+00:00</updated>
<author>
<name>alainfrisch</name>
<email>alain@frisch.fr</email>
</author>
<published>2015-10-27T10:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=a127e661b2020559f56133414fb43c1b7b81dbe7'/>
<id>a127e661b2020559f56133414fb43c1b7b81dbe7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GPR#243: Faster test suite</title>
<updated>2015-10-09T15:45:37+00:00</updated>
<author>
<name>Damien Doligez</name>
<email>damien.doligez-inria.fr</email>
</author>
<published>2015-10-09T15:45:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=3397e7ff162a5bf066b0f6b76d180c2c4a6ce7c5'/>
<id>3397e7ff162a5bf066b0f6b76d180c2c4a6ce7c5</id>
<content type='text'>
(Xavier Leroy)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16466 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Xavier Leroy)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16466 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>A second attempt to memoize Scanning.from_in_channel using weak pointers.</title>
<updated>2015-09-24T18:31:11+00:00</updated>
<author>
<name>Pierre Weis</name>
<email>Pierre.Weis@inria.fr</email>
</author>
<published>2015-09-24T18:31:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=36ab801e6f2a9ba8782d57b5f3dd6032fab5e202'/>
<id>36ab801e6f2a9ba8782d57b5f3dd6032fab5e202</id>
<content type='text'>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16443 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16443 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>Scanning.from_channel now uses a weak hash table to record in_channel -&gt; scanbuf associations. This should prevent memory leaks in program that intensively call Scanf.fscanf.</title>
<updated>2015-09-21T17:17:04+00:00</updated>
<author>
<name>Pierre Weis</name>
<email>Pierre.Weis@inria.fr</email>
</author>
<published>2015-09-21T17:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=548536240422f4267abd4774184bb9378cb46f72'/>
<id>548536240422f4267abd4774184bb9378cb46f72</id>
<content type='text'>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug in function check_char corrected: instead of only accepting \r\n as a new</title>
<updated>2015-09-13T18:02:03+00:00</updated>
<author>
<name>Pierre Weis</name>
<email>Pierre.Weis@inria.fr</email>
</author>
<published>2015-09-13T18:02:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=1cd50636fa81578346d19262cc368502bba1a35d'/>
<id>1cd50636fa81578346d19262cc368502bba1a35d</id>
<content type='text'>
line, it accepted any amount of \r followed by \n.
Float scanning code revisited, commenting the code and avoiding side effect
in function application.
Type file_name now used to define in_channel_name, hence its definition goes
before in_channel_name.
open/close_in --&gt; Pervasives.open/close_in when necessary.
Indentation revisited.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16421 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
line, it accepted any amount of \r followed by \n.
Float scanning code revisited, commenting the code and avoiding side effect
in function application.
Type file_name now used to define in_channel_name, hence its definition goes
before in_channel_name.
open/close_in --&gt; Pervasives.open/close_in when necessary.
Indentation revisited.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16421 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>whitespace cleanup, cut long lines, add some missing headers</title>
<updated>2015-09-11T11:58:31+00:00</updated>
<author>
<name>Damien Doligez</name>
<email>damien.doligez-inria.fr</email>
</author>
<published>2015-09-11T11:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=b860d631458802c8685aa59c9d7b66a9225fcedb'/>
<id>b860d631458802c8685aa59c9d7b66a9225fcedb</id>
<content type='text'>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>Typos in comments.</title>
<updated>2015-08-28T00:12:11+00:00</updated>
<author>
<name>Pierre Weis</name>
<email>Pierre.Weis@inria.fr</email>
</author>
<published>2015-08-28T00:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=31a85a87b440bfdaeeced5c38d3049ffdec7795f'/>
<id>31a85a87b440bfdaeeced5c38d3049ffdec7795f</id>
<content type='text'>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
<entry>
<title>scanf support for %h and %H (hex floats).</title>
<updated>2015-07-29T11:56:14+00:00</updated>
<author>
<name>Xavier Leroy</name>
<email>xavier.leroy@inria.fr</email>
</author>
<published>2015-07-29T11:56:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ocaml.git/commit/?id=86d29bf2a6054d3671afdc34c8cbd820a51b1c89'/>
<id>86d29bf2a6054d3671afdc34c8cbd820a51b1c89</id>
<content type='text'>
(Contributed by Benoit Vaugon.)


git-svn-id: http://caml.inria.fr/svn/ocaml/branches/hex-float@16295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Contributed by Benoit Vaugon.)


git-svn-id: http://caml.inria.fr/svn/ocaml/branches/hex-float@16295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
</pre>
</div>
</content>
</entry>
</feed>
