/[cmucl]/src/code/commandline.lisp
ViewVC logotype

Log of /src/code/commandline.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.27 - (view) (annotate) - [select for diffs]
Tue May 31 13:26:40 2011 UTC (2 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09
Changes since 1.26: +5 -1 lines
Diff to previous 1.26
Add -unidata option to specify unidata.bin file.

This change requires a cross-compile.  Use boot-2011-04-01-cross.lisp
as the cross-compile script.

bootfiles/20b/boot-2011-04-01-cross.lisp:
o New cross-compile bootstrap file

lisp/lisp.c:
o Recognize -unidata option and setup *UNIDATA-PATH* appropriately.

code/commandline.lisp:
o Add defswitch for unidata so we don't get complaints about unknown
  switch.

code/unidata.lisp:
o Rename +UNIDATA-PATH+ to *UNIDATA-PATH*, since it's not a constant
  anymore.
o Update code to use new name.

code/print.lisp:
o Update code to use *UNIDATA-PATH*

compiler/sparc/parms.lisp:
o Add *UNIDATA-PATH* to list of static symbols.
o Add back in spare-9 and spare-8 static symbols since we need to do a
  cross-compile for this change anyway.

compiler/x86/parms.lisp:
o Add *UNIDATA-PATH* to list of static symbols.
o Reorder the static symbols in a more logical arrangment so that the
  spare symbols are at the end.

i18n/local/cmucl.pot:
o Update

Revision 1.26 - (view) (annotate) - [selected]
Tue Nov 2 18:30:04 2010 UTC (3 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04
Branch point for: cross-sol-x86-branch, cross-sparc-branch
Changes since 1.25: +10 -1 lines
Diff to previous 1.25
Command line processing didn't handle -- properly if it is the first
option.

Bug noted by Didier Verna, cmucl-help, 2010-11-02.

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Jul 14 13:19:03 2010 UTC (3 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, release-20b-pre1, release-20b-pre2, snapshot-2010-08, snapshot-2010-11, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, sparc-tramp-assem-branch
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 , to selected 1.26
commandline.lisp:
debug-int.lisp:
load.lisp:

Put the OS- and/or arch-specific items in the correct textdomain.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun May 16 14:51:55 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2010-06, snapshot-2010-07
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 , to selected 1.26
o Forgot to mark one translatable string.
o Gettext doens't work with NIL.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sun May 16 12:29:32 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
Changes since 1.22: +8 -4 lines
Diff to previous 1.22 , to selected 1.26
Support localization for the docstrings for the switches.

Revision 1.22 - (view) (annotate) - [select for diffs]
Sat May 15 19:36:30 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
Changes since 1.21: +18 -17 lines
Diff to previous 1.21 , to selected 1.26
Make the docstrings follow the CMUCL convention so that they are lined
up neatly when describe prints them.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat May 15 12:52:19 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
Changes since 1.20: +125 -28 lines
Diff to previous 1.20 , to selected 1.26
code/commandline.lisp:
o Update DEFSWITCH to allow docstrings (and argument names)
o Add docstrings to the available switches
o Add -help (and --help) switches to print out usage information and
  exit.

code/save.lisp:
o If the command line includes -help or --help, disable loading of the
  user init and site init files.  We don't want to process them if
  we're going to just print out help and exit.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:44 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2010-05
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 , to selected 1.26
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are
installed.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Apr 19 02:18:03 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.18: +11 -11 lines
Diff to previous 1.18 , to selected 1.26
Remove _N"" reader macro from docstrings when possible.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:18:58 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.17: +16 -13 lines
Diff to previous 1.17 , to selected 1.26
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.17.16.1 - (view) (annotate) - [select for diffs]
Thu Feb 25 20:34:48 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-2-branch
Changes since 1.17: +16 -13 lines
Diff to previous 1.17 , to next main 1.27 , to selected 1.26
Restart internalization work.  This new branch starts with code from
the intl-branch on date 2010-02-12 18:00:00+0500.  This version works
and

LANG=en@piglatin bin/lisp

works (once the piglatin translation is added).

Revision 1.17.14.2 - (view) (annotate) - [select for diffs]
Tue Feb 9 14:56:38 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-2010-03-18-1300, intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000
Changes since 1.17.14.1: +13 -13 lines
Diff to previous 1.17.14.1 , to branch point 1.17 , to next main 1.27 , to selected 1.26
Mark translatable strings; update cmucl.pot and ko/cmucl.po
accordingly.

Revision 1.17.14.1 - (view) (annotate) - [select for diffs]
Mon Feb 8 17:15:47 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 , to selected 1.26
Add (intl:textdomain "cmucl") to the files to set the textdomain.

Revision 1.15.20.2 - (view) (annotate) - [select for diffs]
Wed Mar 18 15:37:28 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11
Changes since 1.15.20.1: +10 -1 lines
Diff to previous 1.15.20.1 , to branch point 1.15 , to next main 1.27 , to selected 1.26
Sync to utf16 branch, tag unicode-utf16-sync-label-2009-03-16.

Revision 1.15.18.2 - (view) (annotate) - [select for diffs]
Mon Mar 16 21:10:55 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-sync-label-2009-03-16
Changes since 1.15.18.1: +10 -1 lines
Diff to previous 1.15.18.1 , to branch point 1.15 , to next main 1.27 , to selected 1.26
Sync to CVS HEAD, tag label-2009-03-16.

But don't sync Config.FreeBSD_gencgc, Config.x86_freebsd,
FreeBSD-os.c, and FreeBSD-os.h.  Let Alex sync those later.

The result seems to work as expected on Solaris and x86/linux.
Darwin (ppc or x86) untested.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Jan 6 01:11:23 2009 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_19f, RELEASE_20a, amd64-dd-start, intl-2-branch-base, intl-branch-base, label-2009-03-16, label-2009-03-25, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, pre-merge-intl-branch, release-19f-base, release-19f-pre1, release-20a-base, release-20a-pre1, snapshot-2009-01, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-19F-BRANCH, RELEASE-20A-BRANCH, amd64-dd-branch, intl-2-branch, intl-branch, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.16: +11 -2 lines
Diff to previous 1.16 , to selected 1.26
code/commandline.lisp:
o Command line parsing now recognizes "--" and disables any further
  processing by CMUCL itself.  Everything after "--" is placed in the
  new variable EXT:*COMMAND-LINE-APPLICATION-ARGUMENTS*, which is a
  list of strings.

code/exports.lisp:
o Export EXT:*COMMAND-LINE-APPLICATION-ARGUMENTS*.

general-info/release-19f.txt:
o Update.

Revision 1.15.20.1 - (view) (annotate) - [select for diffs]
Fri Dec 19 01:31:32 2008 UTC (5 years, 4 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-utf16-extfmts-sync-2008-12
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 , to selected 1.26
Merge changes from utf16 branch to update to snapshot 2008-12.

Revision 1.15.18.1 - (view) (annotate) - [select for diffs]
Thu Dec 18 21:50:17 2008 UTC (5 years, 4 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-12
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 , to selected 1.26
Merge Snapshot 2008-12 to this branch.  Some tweaks needed in
boot-2008-05-cross-unicode-x86.lisp and the Config files.  FreeBSD and
Darwin/x86 untested, but Linux and Solaris build ok.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Nov 12 15:04:23 2008 UTC (5 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: merge-sse2-packed, snapshot-2008-12
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 , to selected 1.26
Merge in SSE2 changes from sse2-packed-branch (tag
sse2-packed-2008-11-12).

Revision 1.15.22.1 - (view) (annotate) - [select for diffs]
Sat Sep 27 05:24:44 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
CVS Tags: sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base
Branch point for: sse2-packed-branch
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 , to next main 1.27 , to selected 1.26
Recognize the -fpu switch.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Aug 17 20:24:37 2004 UTC (9 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, ppc_gencgc_snap_2005-05-14, ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06, pre-telent-clx, release-19b-base, release-19b-pre1, release-19b-pre2, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2004-09, snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05, snapshot-2007-06, snapshot-2007-07, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, snapshot-2008-10, snapshot-2008-11, sse2-base, unicode-utf16-base, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, ppc_gencgc_branch, release-19b-branch, release-19c-branch, release-19d-branch, release-19e-branch, sse2-branch, unicode-utf16-branch, unicode-utf16-extfmt-branch
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 , to selected 1.26
Recognize -debug-lisp-search switch.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sun Jun 20 17:00:36 2004 UTC (9 years, 10 months ago) by pmai
Branch: MAIN
CVS Tags: prm-before-macosx-merge-tag, snapshot-2004-07, snapshot-2004-08
Changes since 1.13: +2 -12 lines
Diff to previous 1.13 , to selected 1.26
Special case the processing of the -quiet command-line flag in order to
ensure that its effects kick in early enough during startup, thus silencing
loading of siteinit, siteinit-loaded files, etc.  Reported by JBThiel
against the OS X port.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Jan 29 19:47:47 2003 UTC (11 years, 2 months ago) by toy
Branch: MAIN
CVS Tags: amd64-merge-start, cold-pcl-base, dynamic-extent-base, lisp-executable-base, mod-arith-base, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, remove_negative_zero_not_zero, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05, snapshot-2004-06, sparc_gencgc, sparc_gencgc_merge
Branch point for: cold-pcl, dynamic-extent, lisp-executable, mod-arith-branch, release-18e-branch, release-19a-branch, sparc_gencgc_branch
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 , to selected 1.26
o Adds support for searching for the lisp.core file based on the
  location of the lisp C binary, when CMUCLLIB is not given, and the
  core file is not specified.
o Add support for a CMUCLCORE envvar, and a -lib option for setting
  the path for the library: search-list.
o Added some spare static symbols for the sparc port so we don't have
  to cross-compile again for a while.

See cmucl-imp archives for some more details.

Revision 1.6.2.5 - (view) (annotate) - [select for diffs]
Sat Mar 23 18:49:54 2002 UTC (12 years ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18d
Changes since 1.6.2.4: +3 -1 lines
Diff to previous 1.6.2.4 , to branch point 1.6 , to next main 1.27 , to selected 1.26
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sat Dec 8 18:42:39 2001 UTC (12 years, 4 months ago) by pmai
Branch: MAIN
CVS Tags: LINKAGE_TABLE, PRE_LINKAGE_TABLE, UNICODE-BASE
Branch point for: UNICODE-BRANCH
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 , to selected 1.26
Added -nositeinit commandline switch, that suppresses loading of the
site-init file.

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Mar 4 23:37:32 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 , to selected 1.26
A few well placed inhibit-warnings declarations to suppress noise in
compile-lisp.log. Only 46/130 notes left.

Revision 1.6.2.4 - (view) (annotate) - [select for diffs]
Mon Nov 6 17:15:10 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
CVS Tags: RELEASE_18c
Changes since 1.6.2.3: +11 -1 lines
Diff to previous 1.6.2.3 , to branch point 1.6 , to selected 1.26
Add a -quiet command line switch which clears the various -verbose*
flags and the *herald-items*. From Eric Marsden.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Nov 6 17:13:27 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.9: +11 -1 lines
Diff to previous 1.9 , to selected 1.26
Add a -quiet command line switch which clears the various -verbose*
flags and the *herald-items*. From Eric Marsden.

Revision 1.6.2.3 - (view) (annotate) - [select for diffs]
Tue Oct 24 13:33:33 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
Changes since 1.6.2.2: +2 -1 lines
Diff to previous 1.6.2.2 , to branch point 1.6 , to selected 1.26
o Add the command line switch -dynamic-space-size for setting the size
  of the dynamic space.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Oct 24 13:31:37 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 , to selected 1.26
o Add the command line switch -dynamic-space-size for setting the size
  of the dynamic space.

Revision 1.6.2.2 - (view) (annotate) - [select for diffs]
Mon Oct 16 17:32:21 2000 UTC (13 years, 6 months ago) by dtc
Branch: RELENG_18
Changes since 1.6.2.1: +2 -7 lines
Diff to previous 1.6.2.1 , to branch point 1.6 , to selected 1.26
Define batch mode early in the C startup code.

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Oct 16 17:30:06 2000 UTC (13 years, 6 months ago) by dtc
Branch: MAIN
Changes since 1.7: +2 -7 lines
Diff to previous 1.7 , to selected 1.26
Define batch mode early in the C startup code.

Revision 1.6.2.1 - (view) (annotate) - [select for diffs]
Thu Aug 24 19:55:53 2000 UTC (13 years, 7 months ago) by dtc
Branch: RELENG_18
Changes since 1.6: +12 -3 lines
Diff to previous 1.6 , to selected 1.26
o Based on suggestions from Martin Cracauer, flush commonly used output
  streams during the processing of command line switches and upon exit.
  This is a convenience for typical usage, and not all output streams
  are flushed, so important streams should still be flushed but user code.

o Add a new function finish-standard-output-streams to finish output on
  the commonly used output streams. Called after the processing
  of each command line switch, and before the %end-of-the-world.

o Extend the eval switch to process multiple forms, flushing the common
  output streams between each.

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Aug 24 19:55:29 2000 UTC (13 years, 7 months ago) by dtc
Branch: MAIN
Changes since 1.6: +12 -3 lines
Diff to previous 1.6 , to selected 1.26
o Based on suggestions from Martin Cracauer, flush commonly used output
  streams during the processing of command line switches and upon exit.
  This is a convenience for typical usage, and not all output streams
  are flushed, so important streams should still be flushed but user code.

o Add a new function finish-standard-output-streams to finish output on
  the commonly used output streams. Called after the processing
  of each command line switch, and before the %end-of-the-world.

o Extend the eval switch to process multiple forms, flushing the common
  output streams between each.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed May 8 02:03:08 1996 UTC (17 years, 11 months ago) by ram
Branch: MAIN
CVS Tags: RELEASE_18a, RELEASE_18b
Branch point for: RELENG_18
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 , to selected 1.26
defswitch for batch-mode should be at top level.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Aug 18 17:03:03 1995 UTC (18 years, 8 months ago) by phg
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 , to selected 1.26
*** empty log message ***

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Jul 26 16:43:37 1995 UTC (18 years, 8 months ago) by phg
Branch: MAIN
Changes since 1.3: +13 -4 lines
Diff to previous 1.3 , to selected 1.26
Added command line switch -batch to support batch mode where input is read from
standard input and an error code of 0 is returned if an EOF is encountered, and 1
otherwise.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Oct 31 04:11:27 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.2: +0 -2 lines
Diff to previous 1.2 , to selected 1.26
Fix headed boilerplate.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Feb 8 13:31:31 1991 UTC (23 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.1: +8 -4 lines
Diff to previous 1.1 , to selected 1.26
New file header with RCS header FILE-COMMENT.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Feb 22 11:56:03 1990 UTC (24 years, 2 months ago) by ram
Branch: MAIN
Diff to selected 1.26
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5