From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: caml-list@inria.fr
Cc: ocamlnet-devel@sourceforge.net
Subject: [Caml-list] Announcement: ocamlnet 0.98
Date: 08 Sep 2004 15:33:11 +0200 [thread overview]
Message-ID: <1094650391.11084.17.camel@ares> (raw)
Hello list,
The OcamlNet project announces version 0.98 of this library collection.
This version includes a lot of smaller updates (listed below), and one
major API change that might break applications using OcamlNet.
Remember there was a discussion on caml-list about a standard for
object-based I/O. There was an agreement about the class type interface:
http://ocaml-programming.de/rec/IO-Classes.html. This version of
OcamlNet implements this convention, and unfortunately, the "input"
method now raises End_of_file instead of returning 0 when the end is
reached. Of course, programs relying on the value 0 no longer work. When
programs stop with "Uncaught exception: End_of_file" this might be an
indicator for this incompatibility. Sorry for the inconvenience, but
standardization has its price.
----------------------------------------------------------------------------
What is ocamlnet?
----------------------------------------------------------------------------
A collection of modules for the Objective Caml language which focus on
application-level Internet protocols and conventions.
The current distribution contains:
- a mature implementation of the CGI protocol
- an implementation of the JSERV protocol (AJP-1.2), can be used with
mod_jserv (Apache JServ) and mod_jk (Jakarta connector) to connect
application servers written in O'Caml with web servers
- an implementation of the FastCGI protocol
- an experimental POP3 client
- a library of string processing functions related to Internet
protocols (formerly known as "netstring" and distributed separately):
MIME encoding/decoding, Date/time parsing, Character encoding
conversion, HTML parsing and printing, URL parsing and printing,
OO-representation of channels, and a lot more.
Ocamlnet is developed as a SourceForge project:
http://sourceforge.net/projects/ocamlnet
Developers and code contributions are welcome.
Ocamlnet is licensed under the zlib/libpng license.
----------------------------------------------------------------------------
List of further changes:
----------------------------------------------------------------------------
The legacy Cgi module is no longer built by default. One can still
create it by -enable-compatcgi.
Bugfixes in Netconversion's cursor implementation. It is now better
specified, and the corner cases are handled in a better way.
Bugfix in Mimestring.write_value: Folding of long encoded words is
now correct.
Bugfix in Netencoding.QuotedPrintable: Soft line breaks are added
when lines would become too long otherwise. Uses CRLF as line
separator in output now.
Bugfix in Nethtml: In some rare cases, end tags were handled
incorrectly.
Addition: In Netchannels, there are now delegation classes. Useful
if one wants only to redefine individual methods, and not whole
classes.
Addition: Netchannels.lift_in and lift_out is a simplified interface
to lift a class from raw_in/out_channel to in/out_obj_channel.
Improvement: Netmime.basic_mime_header avoids unnecessary modifications
of the order of existing header fields. It is also faster.
Additions: Mimestring.split_mime_type, split_uri.
Netbuffer.add_char, insert_string, insert_sub_string, insert_char.
Addition: Netulex is a support module for ulex
Improvement: For bytecode, ocamlnet includes now "accelerators",
i.e. C implementations of some time-intensive auxiliary functions.
Currently, the character set conversions from ISO-8859-1 and from
UTF-8 are accelerated.
Enhanced Netsendmail module: It is now possible to create much
more complicated mails, e.g. multipart/related mails.
Improvements in Neturl: New function parse_url automatically selects
the URL syntax. Support for a lot of new URL schemes. Enhanced
URL syntax: Support for userparam, and the prevention of relative
URLs.
Added charset CP-1047 (= Latin1 as EBCDIC).
Added ocamldoc to module interfaces, including a lot of tutorials.
Gerd
--
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de
------------------------------------------------------------
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2004-09-08 13:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1094650391.11084.17.camel@ares \
--to=info@gerd-stolpmann.de \
--cc=caml-list@inria.fr \
--cc=ocamlnet-devel@sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox