From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA10640; Wed, 8 Sep 2004 15:33:17 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA10686 for ; Wed, 8 Sep 2004 15:33:16 +0200 (MET DST) Received: from mail.npc.de (fw.npc.de [62.225.140.214]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i88DXF7J002258 for ; Wed, 8 Sep 2004 15:33:16 +0200 Received: from styx.ffm.npc.de (pD9EA7837.dip.t-dialin.net [217.234.120.55]) by mail.npc.de (Postfix) with ESMTP id 2D3D91822; Wed, 8 Sep 2004 15:33:14 +0200 (CEST) Received: from hera.ffm.npc.de (hera.f.npc.de [192.168.130.8]) by styx.ffm.npc.de (Postfix STYX NPC GmbH) with ESMTP id E144EC437; Wed, 8 Sep 2004 15:33:12 +0200 (CEST) Received: from ares.ffm.npc.de (unknown [192.168.130.32]) by hera.ffm.npc.de (Postfix HERA NPC GmbH) with ESMTP id 25AE6159C9; Wed, 8 Sep 2004 15:33:12 +0200 (CEST) Received: from [192.168.130.32] (unknown [192.168.130.32]) by ares.ffm.npc.de (Postfix ARES NPC GmbH) with ESMTP id BE0401855; Wed, 8 Sep 2004 15:33:11 +0200 (CEST) Subject: [Caml-list] Announcement: ocamlnet 0.98 From: Gerd Stolpmann To: caml-list@inria.fr Cc: ocamlnet-devel@sourceforge.net Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 08 Sep 2004 15:33:11 +0200 Message-Id: <1094650391.11084.17.camel@ares> Mime-Version: 1.0 X-Miltered: at concorde with ID 413F0A1B.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamlnet:01 0.98:01 gerd:01 stolpmann:01 ocamlnet:01 0.98:01 api:01 caml-list:01 object-based:01 jserv:01 ajp-:01 jserv:01 jakarta:01 netstring:01 decoding:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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