*** empty log message ***
[bpt/guile.git] / libguile / ChangeLog
index 9bc2915..9a567e9 100644 (file)
@@ -1,3 +1,178 @@
+Sun Dec 12 19:39:00 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * Makefile.am: Fix ETAGS_ARGS to recognize GUILE_PROC,
+       GUILE_PROC1.  Build guile-procedures.txt, and add that file to
+       pkgdata_DATA.
+
+       * load.c: Added `pkgdata-dir', `site-dir', `library-dir'
+       primitives.
+
+       * guile-doc-snarf.awk: Drop trailing space when no arguments:
+       e.g., "(foo )" is now "(foo)".
+
+       * *.c, alist.c: moved all the documentation for primitives from
+       guile-doc/ref/{appendices,posix,scheme}.texi into the source code.
+       This leaves about half of the primitives undocumented.  Also, all
+       the markup is currently still texinfo.  I don't have a problem
+       with texinfo per se, but the markup is not very descriptive or
+       accurate.
+
+Sun Dec 12 16:50:26 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * scm_validate.h: Drop the SCM_DOCSTRING_SNARF for turning off
+       SCM_VALIDATE macros; the SCM_VALIDATE macros should be checked for
+       argument mismatches (along with the FUNC_NAME macro checking) by a
+       static tool that runs directly over the .c files.
+
+       * snarf.h: Handle SCM_REGISTER_PROC better when snarfing.  The
+       docstring is still missing from the .doc file;  it just gives the
+       name of the C function that gets called instead.
+
+       * guile-doc-snarf.awk: Be sure to touch the output files to help
+       make out.  Also handle SCM_REGISTER_PROC better, and change the
+       output format slightly.
+
+Sun Dec 12 15:33:40 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * snarf.h: Drop SCM_PROC, SCM_PROC1. Added extra output for
+       guile-doc-snarf script.
+
+       * guile-doc-snarf.in, guile-doc-snarf.awk: New, simple doc
+       extraction system.  Builds foo.x, foo.doc from foo.{c,cc}.
+       There are dependencies between these files and snarf.h.  This
+       replaces guile-snarf.
+
+       * guile-snarf.in: Drop everything after $$$ for the new snarf.h
+       macros.  This is obsoleted by guile-doc-snarf, but kept here for
+       now for good measure.
+
+       * Makefile.am: Added guile-doc-snarf, guile-doc-snarf.awk to
+       bin_SCRIPTS.  Added .doc to SUFFIXES, and give rule for creating
+       .doc files to use guile-doc-snarf.  Update the rule for creating
+       .x files to use guile-doc-snarf.
+
+Sun Dec 12 12:31:38 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * *.c: Finish replacing K&R style prototypes with ANSI C
+       prototypes.
+
+       * eval.c: Make scm_m_mody's 3rd argument be a const char *, not a
+       char *.  ANSI prototypes caught this.
+
+       * strorder.c: Use GUILE_PROC1 for the couple SCM_PROC1 expansions
+       that I missed.
+
+       * scm_validate.h: Use SCM_BOOLP for validating bools.  Do not
+       expand macros if SCM_DOCSTRING_SNARF.
+
+Sun Dec 12 11:23:22 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * *.c, srcprop.h: Use SCM_BOOL(f) instead of (f? SCM_BOOL_T:
+       SCM_BOOL_F) and use SCM_NEGATE_BOOL(f) instead of (f? SCM_BOOL_F:
+       SCM_BOOL_T).
+
+Sun Dec 12 11:08:51 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * boolean.h: Added SCM_BOOL, SCM_NEGATE_BOOL, SCM_BOOLP to here,
+       from scm_validate.h.
+
+       * scm_validate.h: Moved above out into boolean.h, fix typo in
+       SCM_VALIDATE_NIM macro.
+
+Sun Dec 12 10:29:12 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * *.c, scm_validate.h: Use SCM_VALIDATE_NIM, not SCM_VALIDATE_NIMP
+       (none of the other validate macros have the trailing P).
+
+Sun Dec 12 10:07:29 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * scm_validate.h: Added the FSF copyright to the top.
+
+       * strings.c: Use SCM_ASSERT_RANGE in a couple of places instead of 
+       SCM_ASSERT w/ SCM_OUT_OF_RANGE.
+
+Sat Dec 11 18:34:12 1999  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * Makefile.am: Added scm_validate.h to modinclude_HEADERS.
+
+       * *.c: Pervasive software-engineering-motivated rewrite of
+       function headers and argument checking.  Switched SCM_PROC,
+       SCM_PROC1 macros to be GUILE_PROC, GUILE_PROC1 (may change names
+       later, but was useful to keep old versions around while migrate)
+       that has docstrings and argument lists embedded in the GUILE_PROC
+       macro invocations that expand into a function header.  Use lots of
+       new SCM_VALIDATE_* macros to simplify error checking and reduce
+       tons of redundancy.  This is very similar to what I did for Scwm.
+
+       Note that none of the extraction of the docstrings, nor software
+       engineering checks of Scwm is yet added to Guile.  I'll work on
+       that tomorrow, I expect.
+
+       * chars.c: Added docstrings for the primitives defined in here.
+
+       * snarf.h:  Added GUILE_PROC, GUILE_PROC1.  Added
+       SCM_REGISTER_PROC to be like old SCM_PROC, though old SCM_PROC
+       still remains for now.  Changed naming convention for the s_foo
+       string name of the primitive to be s_scm_foo for ease of use with
+       the macro.
+
+       * scm_validate.h: Lots of new SCM_VALIDATE macros to simplify
+       argument checking through guile.  Maybe some of these should be
+       folded into the header file for the types they check, but for now
+       it was easiest to just stick them all in one place.
+
+1999-12-10  Greg Harvey  <Greg.Harvey@thezone.net> (applied --12/10/99 gjb)
+
+       * smob.c (scm_smob_prehistory): initialize allocated smob
+
+       * tags.h: new tag: scm_tc16_allocated
+
+       * gc.c (scm_gc_for_newcell): set the car of the new cell
+       to scm_tc16_allocated
+       * pairs.h (SCM_NEWCELL): set the car to scm_tc16_allocated
+       (scm_gc_mark): mark allocated cells.
+
+1999-12-09  Greg J. Badros  <gjb@cs.washington.edu>
+
+       * strports.h, strports.c (scm_eval_0str): Fix constness.  Some
+       thanks to Dirk Hermann.
+
+       * gh_eval.c (gh_eval_str, gh_eval_file, gh_eval_str_with_catch,
+       gh_eval_str_with_standard_handler,
+       gh_eval_str_with_stack_saving_handler): Fix constness.  Some
+       thanks to Dirk Hermann.
+
+       * gh_data.c (gh_str02scm): Fix constness.
+
+       * gh.h: Fix constness of prototypes for the above.
+
+       * vectors.c: Include "unif.h" to avoid a warning about missing
+       prototype for scm_uniform_element_size().
+
+1999-12-09  Mikael Djurfeldt  <mdj@mdj.nada.kth.se>
+
+       * vectors.c (scm_vector_length, scm_vector_ref, scm_vector_set_x):
+       Turned into primitive generics. 
+
+1999-12-04  Gary Houston  <ghouston@freewire.co.uk>
+
+       * ports.c (scm_port_closed_p): new procedure, implements 
+       "port-closed?" suggested by Bernard Urban.
+       ports.h: added prototype, removed the SCM_P macros.
+
+1999-11-30  Gary Houston  <ghouston@freewire.co.uk>
+
+       * unif.h: added some comments, removed the SCM_P macros.
+
+1999-11-29  Gary Houston  <ghouston@freewire.co.uk>
+
+       * vports.c (sf_write): use scm_makfromstr, not scm_makfrom0str
+       (thanks to Daniel Skarda).
+
+1999-11-22  Jim Blandy  <jimb@savonarola.red-bean.com>
+
+       * gscm.c, gscm.h: Deleted.  They were unused.
+
 1999-11-20  Gary Houston  <ghouston@freewire.co.uk>
 
        * unif.c (scm_list_to_uniform_array): call