Changes from arch/CVS synchronization
[bpt/guile.git] / ice-9 / ChangeLog
index 6ae5edc..54ab417 100644 (file)
@@ -1,3 +1,481 @@
+2007-09-01  Andy Wingo  <wingo@pobox.com>
+
+       * boot-9.scm (duplicate-handlers)[warn, warn-override-core]:
+       Send warnings to `stderr' instead of `stdout'.
+
+2007-08-08  Ludovic Courtès  <ludo@gnu.org>
+
+       * boot-9.scm (%record-type-check): Renamed to
+       `%record-type-error'.
+       (record-accessor): Directly use `struct-vtable' and
+       `struct-ref', thereby avoiding indirections and procedure-call
+       overhead.
+       (record-modifier): Likewise.
+
+2007-05-05  Ludovic Courtès  <ludo@chbouib.org>
+
+       Implemented lazy duplicate binding handling.  Fixed the
+       `module-observe-weak' API.
+
+       * boot-9.scm: Updated the `module-type' documentation under "{Low
+       Level Modules}".
+       (module-type)[import-obarray]: New slot.
+       [duplicates-interface, observer-id]: Removed.
+       (make-module): Updated accordingly.  Use a weak-key hash table for
+       weak observers, so that observers aren't unregistered when the
+       observing closure gets GC'd.
+       (module-duplicates-interface, set-module-duplicates-interface!,
+       module-observer-id, set-module-observer-id!): Removed.
+       (module-import-obarray): New.
+       (module-observe-weak): Accept a new OBSERVER-ID argument allowing
+       callers control over when the observer will get unregistered.
+       (module-call-observers): Use `hash-for-each' rather than
+       `hash-fold'.
+       (module-local-variable, module-variable): Removed, now implemented
+       in C.
+       (module-make-local-var!): Simplified.  No need to check for the
+       value of a same-named imported binding since the newly created
+       variable is systematically assigned afterwards.
+       (module-use!): Check whether MODULE and INTERFACE are `eq?'.
+       (module-use-interfaces!): Simplified.  No longer calls
+       `process-duplicates'.
+       (beautify-user-module!): Use `module-use!' rather than
+       `set-module-uses!' when importing THE-SCM-MODULE.
+       (process-define-module): Added an AUTOLOADS local variable so that
+       autoloads are handled separately from regular interfaces.
+       (make-autoload-interface): Updated `module-constructor'
+       invocation.
+       (module-autoload!): New.
+       (make-duplicates-interface, process-duplicates): Removed.
+       (top-repl): Use `module-autoload!' rather than
+       `make-autoload-interface'.
+       
+2007-02-18  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * gds-client.scm (connect-to-gds): Break generation of client name
+       into ...
+       (client-name): New procedure.
+       (client-name): Put something from (program-arguments) in the
+       client name that GDS displays in Emacs.
+       (connect-to-gds, client-name): Add application-name arg to allow
+       caller to specify client name.
+
+2007-02-09  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * Makefile.am (ice9_sources): Added `i18n.scm'.
+
+2007-01-31  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * i18n.scm: Use `(ice-9 optargs)'.  Don't export `LC_*_MASK'
+       variables.  Added new exports.
+       (locale-encoding, locale-day-short, locale-day,
+       locale-month-short, locale-month, locale-am-string,
+       locale-pm-string, locale-date+time-format, locale-date-format,
+       locale-time-format, locale-time+am/pm-format, locale-era,
+       locale-era-year, locale-era-date+time-format,
+       locale-era-date-format, locale-era-time-format,
+       locale-currency-symbol, locale-monetary-fractional-digits,
+       locale-monetary-positive-sign, locale-monetary-negative-sign,
+       locale-monetary-decimal-point,
+       locale-monetary-thousands-separator,
+       locale-monetary-digit-grouping,
+       locale-currency-symbol-precedes-positive?,
+       locale-currency-symbol-precedes-negative?,
+       locale-positive-separated-by-space?,
+       locale-negative-separated-by-space?,
+       locale-positive-sign-position, locale-negative-sign-position,
+       %number-integer-part, add-monetary-sign+currency,
+       monetary-amount->locale-string, locale-digit-grouping,
+       locale-decimal-point, locale-thousands-separator,
+       number->locale-string, locale-yes-regexp, locale-no-regexp): New
+       procedures.
+       (define-vector-langinfo-mapping, define-simple-langinfo-mapping,
+       define-monetary-langinfo-mapping): New macros.
+
+2007-01-04  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (top-repl): Check (defined? 'SIGBUS) before using that
+       value, there's no such signal on mingw.  Reported by Cesar Strauss.
+
+2006-12-13  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (use-srfis, top-repl): Use process-use-modules, to
+       correctly handle duplicates between the core and other modules, in
+       particular srfi-17 which should replace `car' etc (but didn't).
+
+2006-12-09  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (top-repl): Remove module-use! of the core `(guile)'
+       module.  It's already in `(guile-user)' and the module-use! elevates
+       it making core bindings override those from elsewhere, such as `iota'
+       under a run of "guile --use-srfi=1".  Reported by Sven Hartrumpf.
+
+2006-11-13  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * boot-9.scm (environment-module): Change eval-closure-module call
+       back to procedure-property lookup.  (This completes the reversion
+       of the change made on 2005-06-10, which was only partially undone
+       by the change on 2005-08-01.)
+
+2006-10-13  Neil Jerram  <neil@ossau.uklinux.net>
+
+       Integration of Unix domain socket patch from William Xu:
+       
+       * gds-client.scm (connect-to-gds): Try to connect by Unix domain
+       socket if TCP connection fails.
+
+       * gds-server.scm (run-server): Update to support listening on a
+       Unix domain socket.
+
+2006-10-05  Kevin Ryde  <user42@zip.com.au>
+
+       * ftw.scm (visited?-proc): Use hashv since we know we're getting
+       numbers.  Incorporate stat:dev, since stat:ino is only unique within a
+       single device.  This fixes a bug where if two files with the same
+       inode on different devices where seen only the first would be returned
+       by ftw (and nftw).
+
+2006-10-03  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * gds-client.scm (run-utility): Remove unnecessary
+       `connect-to-gds' call.
+
+2006-09-30  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * debugging/ice-9-debugger-extensions.scm (debug-trap): Use
+       `debugger-command-loop' instead of `read-and-dispatch-commands',
+       which isn't actually available.  Thanks to Carlos Pita for
+       reporting this.
+       (debugger-command-loop): Define here for 1.6.x.
+
+2006-09-25  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * debugging/ice-9-debugger-extensions.scm (debugger:step):
+       Docstring improvements.
+       (debugger:next): Docstring improvements.
+       (debugger:continue): Docstring improvements.
+
+       * debugger/commands.scm (up, down): Docstring corrections.
+       (info-args, info-frame, position, evaluate): Docstring
+       improvements.
+
+2006-09-23  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (log, log10, exp, sqrt): Remove, now in
+       libguile/numbers.c.
+
+2006-09-07  Kevin Ryde  <user42@zip.com.au>
+
+       * format.scm: Module "(ice-9 threads)" no longer used, now no mutex.
+       (format:parse-float): Fix normalization of leading zeros like "02.5"
+       to "2.5".  left-zeros was zeroed before adjusting format:fn-dot,
+       resulting in the latter being unchanged.
+
+2006-08-18  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * debugging/trc.scm: New file.
+
+       * debugging/traps.scm: New file.
+
+       * debugging/trace.scm: New file.
+
+       * debugging/steps.scm: New file.
+
+       * debugging/load-hooks.scm: New file.
+
+       * debugging/ice-9-debugger-extensions.scm: New file.
+
+       * debugging/example-fns.scm: New file.
+
+       * debugging/breakpoints.scm: New file.
+
+       * debugging/Makefile.am: New.
+
+       * Makefile.am (SUBDIRS): Add debugging.
+
+2006-08-02  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (%record-type-check): New function.
+       (record-accessor, record-modifier): Use it for a strict type check of
+       the given record.  Previously an accessor returned #f on a wrong
+       record type, and modifier silently did nothing.
+
+2006-06-19  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * Makefile.am (ice9_sources): Add new files.
+
+       * gds-client.scm, gds-server.scm: New files.
+
+2006-05-28  Kevin Ryde  <user42@zip.com.au>
+
+       * documentation.scm (file-commentary): Move make-regexp into
+       file-commentary so that it's possible to get to the repl prompt when
+       regexps are not available.
+
+2006-05-09  Kevin Ryde  <user42@zip.com.au>
+
+       * threads.scm (n-par-for-each, n-for-each-par-map): Two more spots
+       where `futures' should become `threads' from Marius' change of
+       2006-01-29.
+
+2006-03-04  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * ice-9/boot-9.scm (make-autoload-interface): Don't call `set-car!' if
+       the autoload interface has already been removed from MODULE's uses.
+       This bug showed up when using a given module both with `autoload' and
+       `use-module'.
+
+2006-02-21  Kevin Ryde  <user42@zip.com.au>
+
+       * format.scm (format:out-dollar): Use format:out-inf-nan per ~f etc.
+
+2006-02-12  Marius Vollmer  <mvo@zagadka.de>
+
+       * deprecated.scm (make-uniform-array): Don't pass the prototype as
+       the fill value, dimensions->uniform-array will do the right thing
+       now.  See scm_dimensions_to_uniform_array why we need to be tricky
+       about the fill value.
+
+2006-02-04  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * boot-9.scm (try-module-autoload): Make sure that module code is
+       loaded with the default reader (current-reader #f).  Thanks to
+       Ludovic Courtès for pointing this problem out.
+
+       * stack-catch.scm (stack-catch): Use catch pre-unwind handler
+       instead of lazy-catch.
+
+       * boot-9.scm (error-catching-loop): Use catch pre-unwind handler
+       instead of lazy-catch.
+
+2006-02-01  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+        * deprecated.scm (make-uniform-array): Fill the returned vector with
+       PROT, per guile 1.6 behaviour.
+
+2006-01-30  Marius Vollmer  <mvo@zagadka.de>
+
+       * threads.scm (ice-9): Export %thread-handler.
+
+2006-01-29  Marius Vollmer  <mvo@zagadka.de>
+
+       * threads.scm: Replaced 'futures' with threads.
+
+2006-01-13  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * boot-9.scm (repl-reader): Use value of current-reader fluid to
+       do the read, if set.  (Thanks to Ludovic Courtès for the patch.)
+
+2005-12-14  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * boot-9.scm (load-module): Support an optional custom reader arg,
+       implemented by passing on to r4rs's load.
+
+       * r4rs.scm (load): Support an optional custom reader arg,
+       implemented by passing on to primitive-load.
+
+2005-12-06  Marius Vollmer  <mvo@zagadka.de>
+
+       From Stephen Compall.
+       
+       * boot-9.scm (%cond-expand-features): Add srfi-61.
+
+2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * networking.scm (sockaddr:flowinfo, sockaddr:scopeid): New functions.
+
+2005-09-01  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * debugger/utils.scm: Export write-frame-long.
+
+2005-08-01  Marius Vollmer  <mvo@zagadka.de>
+
+       * boot-9.scm (set-module-eval-closure!): Undone change from
+       2005-06-10; with the new weak hashtable semantics, cyclic
+       references are no longer a problem.
+
+2005-07-09  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * debugger.scm: Remove comments which are now incorrect.
+
+       * debugger/Makefile.am (ice9_debugger_sources): Removed
+       breakpoints.scm, behaviour.scm, trap-hooks.scm.
+       (SUBDIRS): Removed.
+
+       Changes to remove breakpoint support from CVS, as I am now
+       developing this function outside Guile core.
+       
+       * debugger/commands.scm (assert-continuable, continue, finish,
+       trace-finish, step, next): Removed.
+
+       * debugger/breakpoints/*: Removed.
+       
+       * debugger/breakpoints.scm: Removed.
+       
+       * debugger/command-loop.scm: Remove command definitions for
+       continue, finish, trace-finish, step and next.
+
+       * debugger/behaviour.scm: Removed.
+
+       * debugger.scm (debug-stack): Remove GDS related code.
+
+2005-06-10  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * boot-9.scm (set-module-eval-closure!): remove
+       set-procedure-property! closure 'module. Setting this property
+       causes un-gc-able modules.
+
+2005-06-05  Marius Vollmer  <mvo@zagadka.de>
+
+       * boot-9.scm (substring-fill!): New, for compatability.
+
+2005-04-23  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (make-list): Moved to C code in list.c
+
+2005-04-14  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (1+, 1-): Moved to numbers.c.
+
+2005-03-08  Kevin Ryde  <user42@zip.com.au>
+
+       * slib.scm (*features*): Remove 'random, need to use the slib code for
+       that module since guile doesn't provide `random:chunk'.
+
+2005-02-12  Rob Browning  <rlb@defaultvalue.org>
+
+       * boot-9.scm (%cond-expand-features): add srfi-55.
+       (require-extension): add require-extension macro for srfi-55.
+
+2005-01-29  Kevin Ryde  <user42@zip.com.au>
+
+       * regex.scm (regexp-quote): Use string-for-each, now that function is
+       in the core.
+
+2005-01-28  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm (while): Remove the unquote from do, it breaks with ice-9
+       syncase.  Reported by Pach Roman.
+
+2005-01-10  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * arrays.scm, deprecated.scm (uniform-vector-fill!,
+       make-uniform-vector, make-uniform-array, list->uniform-vector):
+       Moved from arrays.scm to deprecated.scm.
+       * arrays.scm, boot-9.scm (array-dimensions): Moved from arrays.scm
+       to boo-9.scm.
+       * Makefile.am (ice9_sources): Removed arrays.scm.
+       
+2005-01-02  Marius Vollmer  <mvo@zagadka.de>
+
+       * arrays.scm (uniform-vector-fill!, make-uniform-vector,
+       make-uniform-array,list->uniform-array): Deprecated for real.
+
+2004-12-29  Marius Vollmer  <mvo@zagadka.de>
+
+       * arrays.scm (make-array, list->array): Removed.
+       (uniform-vector-fill!): Prepared to be deprecated.
+
+2004-12-22  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * boot-9.scm (module-make-local-var!): When creating a new
+       variable, initialize it to the value of any imported variable with
+       the given name.  This allows code like (define round round) to
+       work as expected.
+
+        From Antoine Mathys <tonigonenstein@users.sourceforge.net>:
+
+       * popen.scm: Support bidirectional communication by making
+       open-pipe support OPEN_BOTH as second argument and in that case
+       return a soft input-output port which uses two pipes internally.
+       Provide open-pipe* to execute programs without using the shell
+       (and actually base open-pipe on it) and the obvious
+       open-input-output-pipe.
+
+2004-12-14  Kevin Ryde  <user42@zip.com.au>
+
+       * boot-9.scm: (string-any, string-every): Use a scheme wrapper around
+       the C code so for the final call to the predicate procedure is a tail
+       call, per SRFI-13 spec.
+
+2004-12-01  mvo  <mvo@zagadka.de>
+
+       * boot-9.scm (app, %app): Renamed former to the latter.
+       Previously, 'app' was reserved in every module.  Now '%app' is
+       reserved, which is slightly better.  The real fix is to not use
+       'local-ref' etc to find modules.  Changed all uses.
+       * syncase.scm: Changed 'app' to '%app'.
+
+2004-11-12  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * arrays.scm: Do not use prototypes, use creator functions.
+
+2004-11-10  Marius Vollmer  <mvo@zagadka.de>
+
+       * arrays.scm (uniform-vector-read!, uniform-vector-write):
+       Removed.
+
+2004-11-05  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * boot-9.scm: Do not add "." to %load-path. 'load' will still be
+       able to load files in the current directory, but 'use-modules' etc
+       will not.
+
+2004-10-29  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * arrays.scm: Do not install read-hash procedure for reading
+       arrays, this is done in libguile now.
+
+2004-10-27  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * arrays.scm (uniform-vector?, uniform-vector-set!): Removed, now
+       provided by libguile.
+
+2004-10-26  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * boot-9.scm: Added srfi-4 to cond-expand features.
+
+2004-10-18  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * format.scm (format:obj->str): Simplified considerably by using
+       object->string or display instead of implementing our own printer.
+       Handle format:read-proof here.  Unreadable objects are recognized
+       by their "#<" prefix instead of by being unknown to the custom
+       printer (which would treat keywords as unprintable, for example).
+       (format:iobj->str): Removed.
+       
+2004-10-04  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * boot-9.scm (symbol->keyword, keyword->symbol): Removed, they are
+       now implemented in C.
+
+2004-09-26  Kevin Ryde  <user42@zip.com.au>
+
+       * optargs.scm (let-optional-template, let-keywords-template): Change
+       "(begin body)" to "(let () body)" for empty bindings, since the former
+       allows "internal defines" in body leak out to the surrounding
+       environment.
+
+2004-09-23  Marius Vollmer  <mvo@zagadka.de>
+
+       * boot-9.scm (handle-system-error): Pass rest argument to
+       display-backtrace for wrong-type-arg and out-of-range errors so
+       that the bad value gets highlighted.
+
+2004-09-04  Kevin Ryde  <user42@zip.com.au>
+
+       * streams.scm (stream-for-each-many): Correction, should recurse into
+       itself, not stream-for-each-one.
+
+       * time.scm (time-proc): Make result inexact, since format ~f doesn't
+       support fractions currently.
+
+2004-09-08  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * boot-9.scm (expt): Only call integer-expt for an exact integer
+       exponent, not for an inexact integer one.  Also, let integer-expt
+       handle negative exponents instead of doing it here.
+
 2004-09-02  Kevin Ryde  <user42@zip.com.au>
 
        * format.scm (format:out): Ignore excess arguments, per common lisp.
 
 2002-01-12  Marius Vollmer  <mvo@zagadka.ping.de>
 
-       More options for pretty-print.  Thanks to Matthias Köppe!
+       More options for pretty-print.  Thanks to Matthias Köppe!
 
        * pretty-print.scm (generic-write): New per-line-prefix argument.
        (pretty-print): Check whether the new keyword argument style is
        * session.scm (arity): Use new `arglist' procedure property to
        present a more detailed argument list.
 
-       Thanks to Matthias Köppe!
+       Thanks to Matthias Köppe!
 
 2001-09-07  Thien-Thi Nguyen  <ttn@revel.glug.org>
 
        try-module-dynamic-link): Removed.
 
        (module-make-local-var!, module-ensure-local-variable!,
-       module-define!): Eliminate call to `variable-set-name-hint!´.
+       module-define!): Eliminate call to `variable-set-name-hint!'.
 
        (try-load-module, use-syntax, module-export!): Remove deprecated
        functionality.
 
        * optargs.scm (lambda*): Make sure that BODY is always put into a
        real body context so that it can contain internal definitions.
-       Thanks to Matthias Köppe!
+       Thanks to Matthias Köppe!
 
        * format.scm: Use (ice-9 and-let-star).
        (format:out): Initialize format:output-col with current column of
        `port', if it has one.  Else leave it alone.  Thanks to Matthias
-       Köppe!
+       Köppe!
 
 2001-06-05  Marius Vollmer  <mvo@zagadka.ping.de>
 
 
        * boot-9.scm (define-module): Return the new module.
        (process-define-module): Use `spec' instead of `module-name' when
-       getting the syntax transformer.  Thanks to Matthias Köppe!
+       getting the syntax transformer.  Thanks to Matthias Köppe!
 
 2001-05-21  Marius Vollmer  <mvo@zagadka.ping.de>
 
 
        * boot-9.scm (error-catching-repl): Call the E
        ("eval'er") procedure via call-with-values and call the P
-       ("printer") for each produced value.  Thanks to Matthias Köppe!
+       ("printer") for each produced value.  Thanks to Matthias Köppe!
 
 2001-05-14  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
 
 2000-08-14  Mikael Djurfeldt  <mdj@mdj.nada.kth.se>
 
        * format.scm (format:obj->str): Made tail-recursive.  (Thanks to
-       Matthias Köppe.)
+       Matthias Köppe.)
 
 2000-08-13  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
 
 2000-06-20  Mikael Djurfeldt  <mdj@mdj.nada.kth.se>
 
        * session.scm (make-fold-modules): Detect circular references in
-       module graph.  (Thanks to Matthias Köppe.)
+       module graph.  (Thanks to Matthias Köppe.)
 
 2000-06-20  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>
 
@@ -4429,3 +4907,6 @@ Fri Apr 19 13:53:08 1996  Tom Lord  <lord@beehive>
        * The more things change...
 
 
+;; Local Variables:
+;; coding: utf-8
+;; End: