[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] latest CVS changes

From: Gaius Mulley
Subject: [Gm2] latest CVS changes
Date: 03 Oct 2008 14:57:33 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4


here are the latest CVS changes taken from the ChangeLog:

   * gm2/examples/iso/socket/client.mod:  improved
     example program.
   * gm2/gm2-libs/FIO.mod:  tidied up increment and
     removed InstallTerminationProcedure as the
     module uses FINALLY instead.
   * gm2/gm2-libs-iso/ClientSocket.mod:  bug fixes.
   * gm2/gm2-libs-iso/IOLink.mod:  UnMakeChan
     call doFlush and doFree.
   * gm2/gm2-libs-iso/RTdata.mod:  fixed typo bug
     md should be m.
   * gm2/gm2-libs-iso/RTfio.mod:  iserror must not
     call EOF.
   * gm2/gm2-libs-iso/RTgen.mod:  checkPostRead call
     checkErrno.  doLook call doUnReadChar.
   * gm2/gm2-libs-iso/wrapsock.c:  fixed
     getPushBackChar and setPushBackChar.

   * gm2/gm2-libs-iso/ClientSocket.def:  new file.
   * gm2/gm2-libs-iso/ClientSocket.mod:  new file.
   * gm2/gm2-libs-iso/wrapsock.def:  new file.
   * gm2/gm2-libs-iso/wrapsock.c:  new file.
   * gm2/gm2-libs-iso/ChanConsts.h:  new file.
   * gm2/  added wrapsock.c to list of
     GM2-LIBS-ISO-C files.  Also added ClientSocket.mod
     to GM2-LIBS-ISO-MODS.
   * gm2/gm2-libs/sckt.def:  tidied up comments.
   * gm2/gm2-libs-iso/ErrnoCategory.c:  use ChanConsts.h.
   * gm2/gm2-libs-iso/SimpleCipher.def:  RemoveCipherLayer
     new function and fixed destructors.
   * gm2/gm2-libs-iso/Strings.def:  tidied up comments.
   * gm2/examples/iso/socket/Makefile:  new file.
   * gm2/examples/iso/socket/client.mod:  new file.

   * gm2/  added ProgramArgs, SimpleCipher,
     RTData modules to be installed as part of the ISO
   * gm2/TODO:  updated TODO with outstanding bugs.
   * gm2/gm2.texi:  updated modification date to reflect
     new modules.
   * gm2/gm2-libs/Args.mod:  updated dates.
   * gm2/gm2-libs-iso/M2RTS.mod:  fixed bug regarding
     whether an application is terminating.
   * gm2/gm2-libs-iso/ProgramArgs.def:  updated dates.
   * gm2/gm2-libs-iso/README.texi:  updated list of
     completed modules and their licence.
   * gm2/gm2-libs-iso/RTgen.mod:  fixed bug when
     examining pre read status.
   * gm2/gm2-libs-iso/RawIO.def:  tidied up comments.
   * gm2/gm2-libs-iso/RawIO.mod:  fixed read results
   * gm2/gm2-libs-iso/STextIO.mod:  tidied up comments.
   * gm2/gm2-libs-iso/SimpleCipher.{def,mod}:  new files.
   * gm2/gm2-libs-iso/ProgramArgs.mod:  new file.
   * gm2/examples/iso/hello:  new directory for example.
   * gm2/examples/iso/hello/hello.mod:  new file.
   * gm2/examples/iso/files:  new directory for example.
   * gm2/examples/iso/files/rot13.mod:  new file.

I confess now that I've started to implement the ISO libraries I
becoming to admire the overall structure.  In particular I like the
ability to override the fundamental read/write primitives in the
IOLink.  The object orientation seems to work well, albeit that the
usual caveats apply in that the deallocation method looks cool but
actually is a headache to work out exactly when it is called!  Anyway
also included is an example of how one might possibly write a
transformation layer which sits underneath a channel.  The example
performs Caesar cipher.  Also is an additional channel module
ClientSocket (ServerSocket is not finished yet).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]