guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, subr-simplification, created. release_


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, subr-simplification, created. release_1-9-5-88-gd389e96
Date: Thu, 03 Dec 2009 14:50:03 +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=d389e9661a682855e8313b37a4f08dd2d7735acc

The branch, subr-simplification has been created
        at  d389e9661a682855e8313b37a4f08dd2d7735acc (commit)

- Log -----------------------------------------------------------------
commit d389e9661a682855e8313b37a4f08dd2d7735acc
Author: Andy Wingo <address@hidden>
Date:   Sun Sep 6 17:28:23 2009 +0200

    +, -, min, lcm, gcd now documented
    
    * test-suite/tests/numbers.test: Change some xfail documented? tests to
      passes.

commit 78d3deb1d48eda3d5542e0bf05e5e3b517fb1754
Author: Andy Wingo <address@hidden>
Date:   Sun Sep 6 16:47:19 2009 +0200

    change asubrs to be gsubrs
    
    * libguile/numbers.h:
    * libguile/numbers.c (scm_i_gcd, scm_i_lcm, scm_i_logand, scm_i_logior)
      (scm_i_logxor, scm_i_min, scm_i_max, scm_i_sum, scm_i_difference)
      (scm_i_product, scm_i_divide): Change asubrs to be gsubrs.

commit 8ccd24f7bb523055dc2d75d923ff02c7b121aedc
Author: Andy Wingo <address@hidden>
Date:   Sun Sep 6 14:15:28 2009 +0200

    + is not an asubr
    
    * libguile/numbers.h:
    * libguile/numbers.c (scm_i_sum): Rework so that scm_sum is just a
      normal function. Its generic is actually provided by scm_i_sum, a
      gsubr with rest args. In that way, + is no longer an asubr.

commit b04ab0c624621acdd985861f1fb9f2c3d4f6275f
Author: Andy Wingo <address@hidden>
Date:   Sun Sep 6 13:51:31 2009 +0200

    remove scm_tc7_dsubr
    
    * libguile/tags.h: Remove scm_tc7_dsubr. There are no more users of
      this.
    
    * libguile/array-map.c:
    * libguile/eval.c:
    * libguile/eval.i.c:
    * libguile/goops.c:
    * libguile/procprop.c:
    * libguile/procs.h: Remove all dsubr cases.

commit d84765da44a0a6b28ef19b853832deebf4cfbafc
Author: Andy Wingo <address@hidden>
Date:   Thu Sep 3 22:35:01 2009 +0200

    remove "primitive numerics" from the docs
    
    * doc/ref/api-data.texi: Update for $sin deprecation.

commit ad79736c68a803a59814fbfc0cb4b092c2b4cddf
Author: Andy Wingo <address@hidden>
Date:   Thu Sep 3 22:29:10 2009 +0200

    implement transcendental sin, cos etc in c; deprecate $sin, $cos, etc
    
    * libguile/deprecated.h:
    * libguile/deprecated.c (scm_asinh, scm_acosh, scm_atanh): Deprecate
      these stand-ins for the C99 asinh, acosh, and atanh functions. Guile
      is not gnulib.
      (scm_sys_atan2): Deprecate as well, in favor of scm_atan.
    
    * libguile/numbers.h:
    * libguile/numbers.c (scm_sin, scm_cos, scm_tan)
      (scm_sinh, scm_cosh, scm_tanh)
      (scm_asin, scm_acos, scm_atan)
      (scm_sys_asinh, scm_sys_acosh, scm_sys_atanh): New functions,
      replacing the combination of dsubrs and boot-9 wrappers with C subrs
      that handle complex values. The latter three have _sys_ in their names
      due to the name conflict with the deprecated scm_asinh et al.
    
      Remove the $abs, $sin etc "dsubrs".
    
    * module/ice-9/boot-9.scm: Remove transcendental functions, as this all
      happens in C now.
    
    * module/ice-9/deprecated.scm: Add aliases for $sin et al.
    
    * test-suite/tests/ramap.test ("array-map!"): Adjust "dsubr" tests to
      use sqrt, not $sqrt. They don't actually test dsubrs now. In the
      two-source test, I'm pretty sure the dsubr array-map! should have been
      failing, as indeed it does now; I've changed the test case to expect
      the failure. I'd still like to know why it was succeeding before.

commit 6fc4d0124d633d1b3ddc5af82967f23bd17556f8
Author: Andy Wingo <address@hidden>
Date:   Thu Sep 3 12:19:39 2009 +0200

    expt implemented in C, handles complex numbers
    
    * libguile/numbers.h:
    * libguile/numbers.c (scm_expt): Rename from scm_sys_expt, and handle
      the complex cases as well.
    
    * libguile/deprecated.h:
    * libguile/deprecated.c (scm_sys_expt): Add a deprecated shim.
    
    * module/ice-9/boot-9.scm (expt): Remove definition, scm_expt does all
      we need.

commit df338a22646fa6a783d72d67f3e6c4d4aee65c72
Author: Andy Wingo <address@hidden>
Date:   Thu Sep 3 11:57:29 2009 +0200

    remove tc7_subr_* and tc7_lsubr_*
    
    * libguile/tags.h: Remove tc7 #defines for subrs, replacing them with
      placeholders. These were public, but hopfully unused. I don't see how
      to usefully deprecate them.
    
    * libguile/array-map.c (scm_array_map_x): Remove special cases for
      certain subr types. This might make things slower for the moment,
      otoh, native compilation should moot that question.
    
    * libguile/eval.i.c:
    * libguile/eval.c: Remove subr-handling cases. To regain this speed and
      more won't have to wait for native compilation, though -- this change
      smooths the way for subr dispatch in the VM.
    
    * libguile/gsubr.c (scm_i_gsubr_apply): Fix a bug in which we didn't
      detect too-many-arguments. This would only show up when using ceval,
      as only ceval called this function.
    
    * test-suite/tests/ramap.test ("array-map!"): Change the expected
      exception if passed a procedure of the wrong arity. It now gives
      wrong-num-args.
      more won't have to wait for native compilation, though -- this change
      smooths the way for subr dispatch in the VM.
    
    * libguile/goops.c (scm_class_of): Remove subr cases. No speed
      implication.
    
    * libguile/objects.c (scm_valid_object_procedure_p): Remove this public
      but undocumented, and useless, function. I do not think this will
      affect anyone at all.
      (scm_set_object_procedure_x): Replace a call to
      scm_valid_object_procedure_p with scm_procedure_p, and actually wrap
      with a scm_is_true.
    
    * module/oop/goops.scm (initialize-object-procedure): Don't call
      valid-object-procedure?.

commit df9ca8d8b2f48e7042298a9a788b749b46fc5efc
Author: Andy Wingo <address@hidden>
Date:   Thu Sep 3 11:14:24 2009 +0200

    all subrs are gsubrs
    
    * libguile/gsubr.c (create_gsubr, create_gsubr_with_generic): Always
      create gsubrs -- never the specialized tc7 types. Allow gsubrs to have
      generics, there doesn't seem to be any reason not to.
    
    * libguile/macros.c (scm_make_synt):
    * libguile/values.c (scm_init_values):
    * libguile/eval.c (scm_init_eval):
    * libguile/gc.c (scm_init_gc): Use scm_c_define_gsubr instead of
      scm_c_define_subr.
    
    * libguile/goops.c (scm_class_of): Allow gsubrs to be primitive
      generics.

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


hooks/post-receive
-- 
GNU Guile




reply via email to

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