guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-15-110-g7


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-15-110-g79b3863
Date: Mon, 14 Feb 2011 22:22:45 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=79b3863d8c36275766c288992507252917255c62

The branch, master has been updated
       via  79b3863d8c36275766c288992507252917255c62 (commit)
       via  b47fea090fa2449e6bbda3c076edda5c38c01ba4 (commit)
      from  487bacf4ff983178adb4c963cbc5d1fe4705e741 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 79b3863d8c36275766c288992507252917255c62
Author: Andy Wingo <address@hidden>
Date:   Mon Feb 14 23:27:50 2011 +0100

    news tweak
    
    * NEWS: Tweak

commit b47fea090fa2449e6bbda3c076edda5c38c01ba4
Author: Andy Wingo <address@hidden>
Date:   Mon Feb 14 23:26:18 2011 +0100

    add more NEWS
    
    * NEWS: Add new NEWS and fold into main text.

-----------------------------------------------------------------------

Summary of changes:
 NEWS |   97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 92 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index e202a19..b6565b4 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,59 @@ latest prerelease, and a full NEWS corresponding to 1.8 -> 
2.0.
 
 Changes since the 1.9.15 prerelease:
 
+** `unquote' and `unquote-splicing' accept multiple expressions
+    
+As per the R6RS, these syntax operators can now accept any number of
+expressions to unquote.
+
+** `getopt-long' parsing errors throw to `quit', not `misc-error'
+
+This change should inhibit backtraces on argument parsing errors.
+`getopt-long' has been modified to print out the error that it throws
+itself.
+
+** New helpers: `print-exception', `set-exception-printer!'
+
+These functions implement an extensible exception printer.  Guile
+registers printers for all of the exceptions it throws.  Users may add
+their own printers.  There is also `scm_print_exception', for use by C
+programs.  Pleasantly, this allows SRFI-35 and R6RS exceptions to be
+printed appropriately.
+
+** `positions' reader option enabled by default
+    
+This change allows primitive-load without --auto-compile to also
+propagate source information through the expander, for better errors and
+to let macros know their source locations.  The compiler was already
+turning it on anyway.
+
+** `load' is a macro (!) that resolves paths relative to source file dir
+    
+The familiar Schem `load' procedure is now a macro that captures the
+name of the source file being expanded, and dispatches to the new
+`load-in-vicinity'.  Referencing `load' by bare name returns a closure
+that embeds the current source file name.
+
+This fix allows `load' of relative paths to be resolved with respect to
+the location of the file that calls `load'.
+
+** "autocompile" -> "auto-compile"
+
+The "--autocompile" and "--no-autocompile" arguments were renamed to
+have a dash, for consistency with the GUILE_AUTO_COMPILE environment
+variable, and with common conventions.  A number of variables were also
+appropriately renamed.
+    
+** `scm_primitive_load' defaults to UTF-8, not Latin-1
+    
+Like `compile-file', `primitive-load' now defaults to UTF-8.
+
+** Warning now available for auto-compiled files.
+
+See the `%auto-compilation-options' variable.  Warnings at
+auto-compilation time are preceded with the `*current-warning-prefix*'
+(a fluid).
+    
 ** Deprecated: primitive properties
 
 The `primitive-make-property', `primitive-property-set!',
@@ -519,11 +572,9 @@ In this specific case, it would be better to do:
 
   (define foo (if test 'bar 'baz))
 
-It is certainly possible to circumvent this resriction with e.g.
-`(module-define! (current-module) 'foo 'baz)'. We would appreciate
-feedback about this change (a consequence of using psyntax as the
-default expander), and may choose to revisit this situation before 2.0
-in response to user feedback.
+It is possible to circumvent this restriction with e.g.
+`(module-define! (current-module) 'foo 'baz)'.  Contact the list if you
+have any questions.
 
 ** Support for `letrec*'
 
@@ -670,6 +721,11 @@ subsequent datum: #'foo => foo. In the unlikely event that 
anyone
 actually used this, this behavior may be reinstated via the
 `read-hash-extend' mechanism.
 
+** `unquote' and `unquote-splicing' accept multiple expressions
+    
+As per the R6RS, these syntax operators can now accept any number of
+expressions to unquote.
+
 ** Scheme expresssions may be commented out with #;
 
 #; comments out an entire expression.  See SRFI-62 or the R6RS for more
@@ -705,6 +761,13 @@ different from backtraces in interpreted code. There are 
no semantic
 differences, however. Please mail address@hidden if you see any
 deficiencies with Guile's backtraces.
 
+** `positions' reader option enabled by default
+    
+This change allows primitive-load without --auto-compile to also
+propagate source information through the expander, for better errors and
+to let macros know their source locations.  The compiler was already
+turning it on anyway.
+
 ** New macro: `current-source-location'
 
 The macro returns the current source location (to be documented).
@@ -799,6 +862,16 @@ calls need to be in scope. Now we ensure that the current 
module when
 loading a module is one that has the needed bindings, instead of relying
 on chance.
 
+** `load' is a macro (!) that resolves paths relative to source file dir
+    
+The familiar Schem `load' procedure is now a macro that captures the
+name of the source file being expanded, and dispatches to the new
+`load-in-vicinity'.  Referencing `load' by bare name returns a closure
+that embeds the current source file name.
+
+This fix allows `load' of relative paths to be resolved with respect to
+the location of the file that calls `load'.
+
 ** Many syntax errors have different texts now
 
 Syntax errors still throw to the `syntax-error' key, but the arguments
@@ -1370,6 +1443,14 @@ It used to be that a new thread entering Guile would do 
so in the
 in which case it was `(guile-user)'. This has been fixed to have all
 new threads unknown to Guile default to `(guile-user)'.
 
+** New helpers: `print-exception', `set-exception-printer!'
+
+These functions implement an extensible exception printer.  Guile
+registers printers for all of the exceptions it throws.  Users may add
+their own printers.  There is also `scm_print_exception', for use by C
+programs.  Pleasantly, this allows SRFI-35 and R6RS exceptions to be
+printed appropriately.
+
 ** GOOPS dispatch in scheme
 
 As an implementation detail, GOOPS dispatch is no longer implemented by
@@ -1420,6 +1501,12 @@ Guile now use a portable implementation of 
`inet_pton'/`inet_ntop', so
 there is no more need to use `inet-aton'/`inet-ntoa'. The latter
 functions are deprecated.
 
+** `getopt-long' parsing errors throw to `quit', not `misc-error'
+
+This change should inhibit backtraces on argument parsing errors.
+`getopt-long' has been modified to print out the error that it throws
+itself.
+
 ** New primitive: `tmpfile'.
     
 See "File System" in the manual.


hooks/post-receive
-- 
GNU Guile



reply via email to

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