Skip to content
Snippets Groups Projects
  1. Nov 05, 2007
  2. 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
  3. Aug 17, 2007
    • rtoy's avatar
      code/env-access.lisp: · f5c564ec
      rtoy authored
      o Let's just return all of the declarations we know of, instead of
        removing some, in DECLARATION-INFORMATION.
      o Add the known set of CL (and CMUCL) declarations to the list of
        declarations that are returned in DECLARATIONS.
      o Add support for AUGMENT-ENVIRONMENT.
      
      code/exports.lisp:
      o Export AUGMENT-ENVIRONMENT from EXT package.
      o Import AUGMENT-ENVIRONMENT into C package.
      f5c564ec
  4. Aug 02, 2007
  5. Mar 22, 2007
  6. Mar 21, 2007
  7. Dec 02, 2006
    • rtoy's avatar
      code/float-trap.lisp: · 896812b8
      rtoy authored
      o Need to clear out the individual invalid operation bits when
        clearing the invalid exception bit.
      
      code/exports.lisp:
      compiler/ppc/parms.lisp:
      o Export FLOAT-INVALID-OP-1-BYTE.  (Needs a better name.)
      896812b8
  8. Jul 07, 2006
  9. Jul 05, 2006
    • rtoy's avatar
      Fix bug about LISP::SOCKET-ERROR not being a valid class. From Craig · 1b8f6914
      rtoy authored
      Brent Ludington, cmucl-help, 2006-06-21.
      
      bootfiles/19c/boot-2006-06-3.lisp:
      o Bootstrap file to remove LISP::SOCKET-ERROR in favor of
        EXT:SOCKET-ERROR.  (Not really needed, if you just answer the
        restarts in the obvious way.)
      
      code/exports.lisp:
      o Export EXT:SOCKET-ERROR.  The LISP package already uses the EXT
        package, so we're set.
      1b8f6914
  10. Jun 30, 2006
  11. Feb 07, 2006
  12. Jan 03, 2006
    • rtoy's avatar
      Add support for sysinfo on Solaris. · 3b086fb1
      rtoy authored
      code/unix.lisp:
      o Add UNIX-SYSINFO and appropriate constants.
      
      code/exports.lisp:
      o Export UNIX-SYSINFO and corresponding constants.
      
      code/sparc-svr4-vm.lisp:
      o Use UNIX-SYSINFO to provide better values for MACHINE-TYPE and
        MACHINE-VERSION. Instead of the generic "Ultrasparc", we can return
        things like "sun4u" and "SUNW,Sun-Blade-1500".
      
      Use bootfiles/19c/boot-2005-12-2.lisp to bootstrap this change.  Only
      needed for sparc.
      3b086fb1
  13. Nov 13, 2005
  14. Nov 07, 2005
  15. Oct 05, 2005
  16. Sep 09, 2005
  17. Jun 13, 2005
    • rtoy's avatar
      Save xref information to fasls. · 624c3dc2
      rtoy authored
      This is done by faking it.  The file being compiled is compiled as
      usual, but we append fake forms to the file as if they came from the
      file.  These fake forms insert the necessary information into the xref
      databases when the fasl is loaded.
      
      To support this feature, we also updated COMPILE-FILE to recognize the
      :xref keyword arg.  Set this to non-NIL to enable computing and saving
      xref information.
      
      code/exports.lisp:
      o Update XREF exports
      
      compiler/fndb.lisp:
      o Update with new definition of COMPILE-FILE.
      
      compiler/main.lisp:
      o Append fake forms to the file being compiled to save xref
        information to the fasl.  This clears out any xref info we might
        have for the file, and inserts the necessary xref information into
        the database.
      o Add :XREF keyword arg to COMPILE-FILE.  Default value of :XREF is
        C::*RECORD-XREF-INFO*.
      
      compiler/xref.lisp:
      o Add function to invalidate xref info for a given namestring, so we
        can reset the info when a fasl with xref info is loaded.
      o Add a function to find all xref information for a given pathname.
        Used for saving xref info to a fasl.
      624c3dc2
  18. Apr 14, 2005
    • rtoy's avatar
      code/load.lisp: · 51e70805
      rtoy authored
      o Define EXT:INVALID-FASL condition
      o Signal such a condition when we try to load a fasl compiled for a
        different version of CMUCL.
      
      code/exports.lisp:
      o Export EXT:INVALID-FASL
      o Export a few other symbols we forgot.
      51e70805
  19. Apr 04, 2005
    • rtoy's avatar
      Change how the CMUCL extension enabling both character and binary I/O · 5795a2f7
      rtoy authored
      is done, based on a suggestion from Lynn Quam.
      
      o Add BINARY-TEXT-STREAM structure for streams that support binary and
        character I/O.  This is basically an FD-STREAM.
      o Export BINARY-TEXT-STREAM from the EXTENSIONS package.
      o OPEN will recognize :class 'ext:binary-text-stream to enable such
        streams.
      o Removed *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT*, since we use
        OPEN to specify that now.
      
      Use boot-2005-03-2.lisp to bootstrap this change.
      5795a2f7
  20. Mar 08, 2005
  21. Feb 06, 2005
  22. Jan 27, 2005
  23. Dec 24, 2004
  24. Nov 11, 2004
  25. Oct 16, 2004
  26. Sep 24, 2004
  27. Jul 30, 2004
  28. Jun 21, 2004
  29. Jun 20, 2004
    • pmai's avatar
      Port of the *module-provider-functions* extension to cl:require from SBCL. · d71d9d0b
      pmai authored
      The old defmodule handler and the module:*-library.* loading have been
      factored out to their own module-provider functions, which are by default
      on *module-provider-functions*.  Note however that this implies one
      functional change for defmodule defined modules:  The loading of the files
      constituting such a module are now _NOT_ wrapped with without-package-locks.
      
      Wrapping of module:*-library.* files with without-package-locks is only
      retained temporarily, until proper changes to the various modules have
      been made.
      
      Also adjusted documentation of require to correctly state the default for
      *require-verbose* which has always been t, not nil as previously claimed.
      
      This change is still missing documentation in the user manual.
      d71d9d0b
  30. Jun 01, 2004
  31. May 18, 2004
  32. May 17, 2004
  33. Mar 23, 2004
    • emarsden's avatar
      · 335ca24f
      emarsden authored
       - various package-related cleanups. PROFILE and CLX packages use
         COMMON-LISP instead of LISP.
      335ca24f
  34. Nov 05, 2003
  35. Oct 09, 2003
  36. Sep 25, 2003
  37. Sep 04, 2003
  38. Aug 25, 2003
    • gerd's avatar
      Dynamic-extent support for x86. Use boot16.lisp for · f3fe0b8d
      gerd authored
      	bootstrapping.
      
      	* src/bootfiles/18e/boot16.lisp: New file.
      
      	* src/docs/cmu-user/extensions.tex (Dynamic-Extent Declarations):
      	New section.
      
      	* src/compiler/x86/macros.lisp (dynamic-extent-allocation):
      	Rename from stack-allocation, save an instruction.
      	(allocation): Don't call trust-dynamic-extent-declaration-p.
      
      	* src/compiler/x86/alloc.lisp (%dynamic-extent-start)
      	(%dynamic-extent-end): New vops.
      	(list-or-list*): Add constant arg dynamic-extent.
      	(fixed-alloc): Likewise.
      
      	* src/compiler/generic/vm-ir2tran.lisp (do-fixed-alloc): Call
      	fixed-alloc with dynamic-extent arg.
      
      	* src/compiler/hppa/alloc.lisp (%dynamic-extent-start)
      	(%dynamic-extent-end): Add dummy vops.
      	* src/compiler/mips/alloc.lisp:
      	* src/compiler/ppc/alloc.lisp:
      	* src/compiler/alpha/alloc.lisp:
      	* src/compiler/rt/alloc.lisp: Likewise.
      
      	* src/compiler/seqtran.lisp (mapper-transform): Add dynamic-extent
      	declarations.
      
      	* src/compiler/node.lisp (continuation): Add slot
      	dynamic-extent.
      	(cleanup): Add :dynamic-extent to type of slot kind.
      
      	* src/compiler/knownfun.lisp (dynamic-extent-closure-safe):
      	New attribute.
      
      	* src/compiler/ir2tran.lisp (ir2-stack-allocate): New function.
      	(ir2-convert-closure): Handle dynamic-extent case differently.
      	(%dynamic-extent, %dynamic-extent-start, %dynamic-extent-end)
      	<ir2-convert>: New optimizers.
      	(list, list*): Handle dynamic-extent.
      
      	* src/compiler/ir1tran.lisp (*trust-dynamic-extent-declarations*)
      	(*dynamic-extent-trace*): New variables.
      	(trust-dynamic-extent-declaration-p): New function.
      	(process-dynamic-extent-declaration)
      	(dynamic-extent-allocation-p, dynamic-extent-closure-args)
      	(gen-%dynamic-extent, with-dynamic-extent): New functions/macros.
      	(ir1-convert-combination): Handle dynamic-extent closure args.
      	(ir1-convert-combination-args): Add arg dynamic-extent-args.
      	Set continuation-dynamic-extent for these args.
      	(process-dynamic-extent-declaration): Rewritten.
      	(ir1-convert-dynamic-extent-bindings): New function.
      	(ir1-convert-special-bindings): Call it.
      	(ir1-convert-lambda-body): Handle dynamic-extent rest lists.
      	(let): Handle dynamic-extent vars.
      	(let*): Call ir1-convert-dynamic-extent-bindings.
      
      	* src/compiler/globaldb.lisp (*trust-dynamic-extent-declarations*)
      	(trust-dynamic-extent-declaration-p): Remove.
      
      	* src/compiler/fndb.lisp: Add dynamic-extent-closure-safe
      	attribute to assorted functions.
      
      	* src/compiler/envanal.lisp (environment-analyze): Call
      	find-dynamic-extent-safe-closures.
      	(emit-cleanups): Handle :dynamic-extent cleanups.
      	(*suppress-dynamic-extent-closure-safe*): New variable.
      	(mark-dynamic-extent-safe-closures)
      	(find-dynamic-extent-safe-closures): New functions.
      
      	* src/compiler/byte-comp.lisp (compute-produces-and-consumes):
      	Treat :dynamic-extent like :tagbody cleanups.
      
      	* src/code/exports.lisp ("C"): Export ir2-stack-allocate,
      	%dynamic-extent, %dynamic-extent-start, %dynamic-extent-end.
      
      	* src/code/byte-interp.lisp (%dynamic-extent):
      	(%dynamic-extent-start, %dynamic-extent-end): New functions.
      	(toplevel): Enable block compilation.
      f3fe0b8d
Loading