Skip to content
  1. May 25, 2013
    • Raymond Toy's avatar
      Remove all the extensions to string-upcase and friends. The extended · 49f041ad
      Raymond Toy authored
      functions now live in the new UNICODE package.
      
       src/code/exports.lisp::
       * Export some unicode functions and constants.
      
       src/code/string.lisp::
       * Removed the extended versions of string-upcase and friends.
       * Export surrogates function.
       * Make sure with-one-string is defined so the unicode package can use
         it.
      
       src/code/unicode.lisp:;
       * New file with extended versions of string-upcase and friends.
      
       src/code/unidata.lisp::
       * Export some unicode functions and constants.
      
       src/compiler/fndb.lisp::
       * Update defknowns for string-upcase and friends.
      
       src/tools/worldbuild.lisp::
       * Build unicode.lisp
      
       src/tools/worldcom.lisp::
       * Load unicode.lisp
      49f041ad
  2. Dec 26, 2012
    • Raymond Toy's avatar
      Add :alien-callback to *faatures* for platforms that support it. · 02f4566a
      Raymond Toy authored
      bootfiles/20d/boot-2012-12-1.lisp::
        Add :alien-callback to *features*
      
      bin/build.sh::
        Change bootstrap directory to 20d.
      
      code/lispinit.lisp::
        * Register :alien-callback feature if enabled.
        * Heap overflow checking depends on gencgc, so register that only if
          both are enabled.
      
      tools/comcom.lisp::
        Compile c-callback only if :alien-callback is a feature.
      
      tools/worldcom.lisp:
        Compile alien-callback onlf if :alien-callback is a feature.
      02f4566a
  3. Dec 23, 2012
    • Raymond Toy's avatar
      Move the alien callback support into its own files. · cf48b6dc
      Raymond Toy authored
      compiler/ppc/c-callback.lisp::
      compiler/sparc/c-callback.lisp::
      compiler/x86/c-callback.lisp::
       New file containing the callback code from c-call.lisp.
      
      compiler/ppc/c-call.lisp::
      compiler/sparc/c-call.lisp::
      compiler/x86/c-call.lisp::
       Removed the callback code.
      
      code/alien-callback.lisp::
       New file containing the alien callback code.
      
      code/alieneval.lisp::
       Removed the alien callback code.
      
      tools/comcom.lisp::
       Compile c-callback.lisp
      
      tools/worldcom.lisp:
       Compile alien-callback.lisp.
      cf48b6dc
  4. Nov 04, 2011
  5. Sep 25, 2011
  6. Jul 20, 2010
    • rtoy's avatar
      Need to precompile the ef slots for both unicode and non-unicode · a8a4f4a1
      rtoy authored
      builds.  (This was broken in the 2010-04 snapshot.)
      
      code/fd-stream-comp.lisp:
      o Precompile ef slots there for ISO8859-1.
      
      code/fd-stream-extfmts.lisp:
      o Remove the precompile stuff.
      
      tools/worldcom.lisp:
      o Compile fd-stream-comp.
      
      tools/worldload.lisp:
      o Load fd-stream-comp.
      a8a4f4a1
  7. Mar 19, 2010
  8. Jun 18, 2009
  9. Jun 16, 2009
    • rtoy's avatar
      Cleanups for non-unicode build. · 8f28c28f
      rtoy authored
      code/stream.lisp:
      o Only define (setf stream-external-format) for Unicode builds.
      o In stream-external-format, don't try to look up the external format
        from the fd-stream structure, which doesn't exist in non-unicode
        builds.
      
      code/strings.lisp:
      o Conditionalize out things that will only work if unicode is
        available.
      
      tools/worldcom.lisp:
      o Only compile fd-stream-extfmt for unicode builds.
      8f28c28f
  10. Jun 11, 2009
  11. Oct 25, 2007
    • rtoy's avatar
      Import Paul Foley's external-formats support. · e49c536b
      rtoy authored
      New files:
      o code/extfmts.lisp
      o pcl/simple-streams/external-formats/iso8859-1.lisp
      o pcl/simple-streams/external-formats/void.lisp
      
      code/exports.lisp:
      o Export the new symbols STRING-TO-OCTETS, OCTETS-TO-STRING,
        *DEFAULT-EXTERNAL-FORMAT*, ENCODE-STRING, and DECODE-STRING from the
        STREAM package
      o Make the symbols in the EXT package too.
      
      pcl/simple-streams/internal.lisp:
      o Move the implementation of STRING-TO-OCTETS and friends to a new
        file (extfmts.lisp).
      
      pcl/simple-streams/external-formats/utf-8.lisp:
      o New implementation.
      
      tools/make-main-dist.sh:
      o Create new target directory to hold external formats
      o Copy all of the external formats to the new directory.
      
      tools/pclcom.lisp:
      o Compile new code
      
      tools/worldcom.lisp:
      o Compile code/extfmts.lisp
      
      tools/worldload.lisp:
      o Load code/extfmts.lisp
      e49c536b
  12. Aug 02, 2007
    • rtoy's avatar
      Environment access functions from CLtL2. Not all of the functions · c20e6945
      rtoy authored
      specified in CLtL2 are implemented yet.  These functions live in the
      EXTENSIONS package.
      
      code/env-access.lisp:
      o The implementation.  (Based on code from SBCL)
      
      code/exports.lisp:
      o Export the symbols from the EXTENSIONS package.
      o Import them into the C package.
      
      tools/worldcom.lisp:
      o Compile env-access.lisp;
      
      tools/worldload.lisp:
      o Load env-access.
      c20e6945
  13. Jun 30, 2006
  14. Sep 08, 2005
  15. Feb 21, 2005
    • rtoy's avatar
      Apply Lynn Quam's proposed enhancements to fd-streams allowing input · d4ad6755
      rtoy authored
      streams opened with element-type (unsigned-byte 8) to be also opened
      for character input.  This gives simple-streams semantics to
      fd-streams.
      
      * code/fd-stream.lisp
        o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct
          type of input.
        o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary
          and character input.  Currently defaults to NIL, but will change
          to T.
      
      * code/stream.lisp
        o New READ-INTO-SIMPLE-STRING to allow stream element-type of
          (unsigned-byte 8).
        o Support reading and writing simple arrays of single-float and
          double-float.
        o Strings can be written to streams of element-type '(unsigned-byte
          8).
      
      * tools/worldcom.lisp
        o Compile stream-vector-io.lisp.
      
      * tools/worldload.lisp
        o Load stream-vector-io.
      
      * code/stream-vector-io.lisp
        o New file implementing READ-VECTOR and WRITE-VECTOR.
      d4ad6755
  16. Oct 14, 2004
    • rtoy's avatar
      Move the loop pretty-printer to its own file because of the MIT · becd4055
      rtoy authored
      license.
      
      pprint-loop.lisp:
        o New file containing the loop pprinter, with XP license
      
      pprint.lisp:
        o Remove loop pprinter code.
        o Call initializer to enable the loop pprinter at the right time.
      
      worldcom.lisp:
        o Compile pprint-loop
      
      worldload.lisp:
        o Load pprint-loop at the right time.
      becd4055
  17. Jul 25, 2004
  18. Jun 01, 2004
  19. Jan 09, 2004
    • toy's avatar
      TRACE was broken if CMUCL wasn't built from a version that included · 495770f3
      toy authored
      PCL, because it needed PCL's walker code.  Fix this by always building
      with PCL's walker, which is independent of PCL:
      
      code/fwrappers.lisp:
      o Always use the PCL version, assuming PCL walker is included.
      
      pcl/defsys.lisp:
      o Don't build walk.lisp here, because it's built as a part of CMUCL.
      o Fix up dependencies.
      
      tools/worldcom.lisp:
      o Compile up pcl/walk.lisp
      
      tools/worldload.lisp:
      o Load up pcl/walk.lisp
      495770f3
  20. Sep 08, 2003
  21. Jun 18, 2003
    • gerd's avatar
      * src/tools/setup.lisp, src/tools/worldcom.lisp: Move the setting · 46ca5ac1
      gerd authored
      	of *make-condition-accessor-methods* to setup.lisp, so that it
      	applies to genesis-c-header-file-changed.  This has to be done
      	because between the definition of genesis-c-header-file-changed in
      	setup.lisp and worldbuild.lisp/genesis, where the condition is
      	signaled, PCL is eradicated.
      46ca5ac1
    • gerd's avatar
      Remove package nicknames USER from COMMON-LISP-USER. Add a new · b4f2c7c7
      gerd authored
      	package COMMON-LISP which LISP uses, so that COMMON-LISP no longer
      	has the non-ANSI nickname LISP.
      
      	To bootstrap, use boot13.lisp as target:bootstrap.lisp with pmai's
      	build scripts, and do a full compile.
      
      	* src/bootfiles/18e/boot13.lisp: Change for all the package
      	changes.
      
      	* src/code/exports.lisp: New package common-lisp,
      	which lisp uses.
      
      	* src/tools/worldload.lisp:
      	* src/tools/setup.lisp: Use cl-user instead of user.
      	Use lisp:: instead of cl::.
      
      	* src/tools/worldcom.lisp:
      	* src/tools/snapshot-update.lisp:
      	* src/tools/pclcom.lisp:
      	* src/tools/mk-lisp:
      	* src/tools/hemcom.lisp:
      	* src/tools/config.lisp:
      	* src/tools/comcom.lisp:
      	* src/tools/clxcom.lisp:
      	* src/tools/clmcom.lisp:
      	* src/pcl/defsys.lisp:
      	* src/motif/lisp/initial.lisp:
      	* src/interface/initial.lisp:
      	* src/hemlock/lispmode.lisp (setup-lisp-mode):
      	Use cl-user instead of user.
      
      	* src/code/save.lisp (assert-user-package):
      	* src/code/print.lisp (%with-standard-io-syntax): Find
      	cl-user package instead of user.
      
      	* src/code/package.lisp (package-locks-init): Add lisp.
      	(package-init): Don't add user nickname to cl-user.
      
      	* src/code/ntrace.lisp (*trace-encapsulate-package-names*):
      	Add common-lisp.
      
      	* src/code/hash.lisp (toplevel):
      	* src/code/hash-new.lisp (toplevel): Use in-package :lisp
      	instead of :common-lisp.
      
      	* src/code/float-trap.lisp (sigfpe-handler): Don't
      	qualify floating-point-inexact with ext:.
      
      	* src/pcl/simple-streams/strategy.lisp (sc):
      	* src/pcl/simple-streams/null.lisp (null-read-char):
      	* src/pcl/simple-streams/internal.lisp (allocate-buffer)
      	(free-buffer):
      	* src/pcl/simple-streams/impl.lisp (%check, %read-line)
      	(%peek-char, %read-byte):
      	* src/pcl/simple-streams/file.lisp (open-file-stream)
      	(device-close):
      	* src/pcl/simple-streams/classes.lisp (simple-stream)
      	(device-close):
      	* src/pcl/macros.lisp (toplevel):
      	* src/pcl/braid.lisp (lisp::sxhash-instance):
      	* src/pcl/env.lisp (toplevel):
      	* src/compiler/generic/objdef.lisp (symbol-hash):
      	* src/code/stream.lisp (read-sequence, write-sequence):
      	* src/code/macros.lisp (defmacro, deftype):
      	* src/code/eval.lisp (interpreted-function):
      	* src/code/defstruct.lisp (defstruct):
      	* src/code/debug.lisp (debug-eval-print): Use lisp:: instead
      	of cl::.
      b4f2c7c7
  22. May 23, 2003
    • gerd's avatar
      Add fwrappers. Rewrite TRACE and PROFILE to use fwrappers. · e9211546
      gerd authored
      	To bootstrap, use boot12.lisp with pmai's scripts.
      
      	* src/bootfiles/18e/boot12.lisp: New file.
      
      	* src/tools/worldload.lisp, src/tools/worldcom.lisp:
      	* src/tools/worldbuild.lisp: Add code:fwrappers.
      
      	* src/docs/cmu-user/extensions.tex (Function Wrappers):
      	New section.
      
      	* src/code/fwrappers.lisp: New file.
      
      	* src-fw/pcl/defs.lisp (gdefinition): Don't check for profiled
      	functions.
      
      	* src-fw/code/exports.lisp: Add walker and fwrappers.
      
      	* src-fw/code/fdefinition.lisp (fdefn-init): Set
      	*valid-function-names* to nil.
      	(encapsulation): Structure removed.
      	(do-encapsulations, encapsulation, last-encapsulation)
      	(push-encapsulation, encapsulate, unencapsulate, encapsulated-p):
      	Removed.  There is a compatibility layer in fwrappers.lisp.
      	(fdefinition, %set-fdefinition): Rewritten.
      
      	* src/code/profile.lisp: Remove #+cmu and #-cmu.
      	("PROFILE"): Use fwrappers.
      	(*profile-info*): Removed.
      	(profile-info): Redefined.
      	(*existing-encapsulations*): Removed.
      	(reset-profile-info, profile-info-profiling-values): New functions.
      	(make-profile-encapsulation): Removed.
      	(profile): New function name syntax.
      	(make-profile-fwrapper-name, make-profile-fwrapper): New functions.
      	(def-profile-fwrapper): Precompute some fwrappers.
      	(ensure-profile-fwrapper, find-profile-fwrapper, pi-or-lose):
      	New functions.
      	(profile-1-function): Rewritten.
      	(unprofile-1-function): Ditto.
      	(re-profile-redefined-function): New function.
      	(toplevel): Push it on *setf-fdefinition-hook*.
      
      	* src/code/ntrace.lisp (trace-call): Removed.
      	(trace-fwrapper): New fwrapper.
      	(trace-1): Use fwrap instead of encapsulate.
      	(untrace-1): Use funwrap instead of unencapsulate.
      e9211546
  23. Apr 18, 2003
    • gerd's avatar
      Make condition readers/writers generic functions, as required by · 897b08d2
      gerd authored
      	ANSI.  Detected by Paul Dietz' ANSI test suite.
      
      	* src/tools/worldcom.lisp: Set
      	conditions::*make-condition-accessor-methods* to nil.
      
      	* src/tools/pclcom.lisp: Convert condition accessor gfs back
      	to normal functions.
      
      	* src/code/error.lisp (*make-condition-accessor-methods*)
      	(*early-condition-accessors*): New variables.
      	(make-early-condition-accessors-generic)
      	(make-condition-accessor): New functions.
      	(%define-condition): Use make-condition-accessor.
      	(define-condition): Define methods if
      	*make-condition-accessor-methods*.
      
      	* src/pcl/fixup.lisp (toplevel): Call
      	conditions::make-early-condition-accessors-generic.
      897b08d2
  24. Apr 11, 2003
    • emarsden's avatar
      · 78558530
      emarsden authored
       - the :new-compiler and :hash-new features were announced as being
         deprecated in 18e; remove them and make code that depended on them
         enabled unconditionally.
      
       - if CMUCL is built with the :no-docstrings feature, docstrings are
         discarded while building. This is intended for embedded-type images.
      78558530
  25. Feb 03, 2003
  26. Nov 05, 2002
    • cracauer's avatar
      · 65f0bdc0
      cracauer authored
      Make (time ...) and the profiler do precise measuring of space
      allocation.  It will also not overflow or bomb out when consing
      amounts cross most-positive fixnum.
      
      The new profiler also has an interface to plug in your own print
      function (also dictates sorting or results).
      
      This is written on gencgc/x86 but tests indicated the fallsbacks for
      other platforms work.
      
      The dfixnum package included here is sketchy.
      65f0bdc0
  27. Aug 27, 2002
    • moore's avatar
      · bf84be07
      moore authored
      On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
      They now go through a table -- effectively a new space in the core file.
      Function references are resolved lazily, data references are resolved on startup
      and when a .so is loaded.  The end result is that cores can be dumped that
      contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.
      
      The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
      runtime.  Several foreign symbols are now Lisp static symbols, so a cross
      compile is required whether or not the new stuff is used.  I've checked in
      boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
      a discussion on standardizing "cross compilation," not to mention the general
      build procedure.
      bf84be07
  28. Mar 03, 2001
  29. Feb 11, 2001
  30. Aug 12, 2000
  31. Aug 30, 1998
  32. May 01, 1998
  33. Dec 12, 1997
  34. Nov 04, 1997
  35. Sep 24, 1997
  36. Jan 18, 1997
  37. Oct 24, 1994