* Compilation.java (warnVoidUsed): New option.
	(warnVoidUsed): New method.
	* InlineCalls.java (visit, visitIfExp): Use warnVoidUsed.

	* repl.java (printOptions): Sort compilation options before printing.

	* repl.java (processArgs): Fix bug in handling of '--'.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7560 5e0a886f-7f45-49c5-bc19-40643649e37f
	* misc-test.scm: New test-case from Savannah bug report #39944
	"Possible bug with omitted keyword arguments" which currently passes.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7561 5e0a886f-7f45-49c5-bc19-40643649e37f
	* lang/Quote.java (expand_pair): Check for null Translator argument.
	This fixes Savannah bug #39946 "NullPointerException when
	using syntax->datum".

	* mac-test.scm: New test for Savannah bug #39946
	"NullPointerException when using syntax->datum".


git-svn-id: http://sourceware.org/svn/kawa/trunk@7562 5e0a886f-7f45-49c5-bc19-40643649e37f
	* PrimProcedure.java (compileArgs): Better handling of varargs.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7563 5e0a886f-7f45-49c5-bc19-40643649e37f
	* PrettyWriter.java (resolveBackReferences): Copy into the GapBuffer
	any text up to the current position *before* processing
	QITEM_POSNMARKER_TYPE or QITEM_BACKREF_TYPE or other types of items.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7564 5e0a886f-7f45-49c5-bc19-40643649e37f
	* numbers.scm (quantity?, complex?, real?, rational?):
	Generalize so they return true for java.lang.Integer etc.
	(finite?, infinite?, nan?): Handle java.lang.Number objects
	that are not gnu.math.Complex.
	(java.lang.real?): New private helper method.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7565 5e0a886f-7f45-49c5-bc19-40643649e37f
	* LangObjType.java (getConstructor): Add case for bytevector.

	* bytevectors.scm ($make$bytevector$): New helper function
	for bytevector constructor function.
	(make-bytevector): Need to use U8Vector directly,
	instead of bytevector varargs constructor.

	* lib-test.scm: Fix thinko in bytevector constructor.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7566 5e0a886f-7f45-49c5-bc19-40643649e37f
	* DisplayFormat.java (schemeDisplayFormat, schemeWriteSimpleFormat,
	schemeWriteFormat, schemeWriteSharedFormat): New static fields.
	(checkSharing): Change from boolean to 3-valued int.
	(writeList, writeObject): Supports Scheme 'write' semantics,
	in which #N# label are used for cycles only, not other sharing.
	* ObjectFormat.java: Update to use new fields.

	* IntHashTable.java: Implement deletion support.
	(remove): New method.

	* PrettyWriter.java (IDHashRemove): New method.

	* standard/Scheme.java (writeFormat, sharedWriteFormat,
	displayFormat): Removed fields, replaced by fields in DisplayFormat.
	* lang/SyntaxPattern.java:  Update accordingly.
	* lang/SyntaxRules.java:  Update accordingly.
	* lang/SyntaxTemplate.java:  Update accordingly.

	* ports.scm (display, write, write-simple, write-shared,
	write-with-shared-structure): Re-implement for R7RS write semantics.

	* srfi-38-test.scm: Use write-shared to match R7RS semantics.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7567 5e0a886f-7f45-49c5-bc19-40643649e37f
New r7rs tests from chibi-scheme.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7568 5e0a886f-7f45-49c5-bc19-40643649e37f
	* numbers.scm (exact-integer-sqrt): Import
	fixed algorithm from chibi-scheme.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7569 5e0a886f-7f45-49c5-bc19-40643649e37f
	* characters.scm (digit-value): New function.
	* system.scm (get-environment-variable, get-environment-variables):
	New functions.

	* standard/Scheme.java (initScheme): Add "digit-value",
	"get-environment-variable", and "get-environment-variables".


git-svn-id: http://sourceware.org/svn/kawa/trunk@7570 5e0a886f-7f45-49c5-bc19-40643649e37f
	* testing.scm: Generalize test-approximimate to complex.
	(%test-approximimate=): Handle non-real complex numbers.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7571 5e0a886f-7f45-49c5-bc19-40643649e37f
	* strings.scm (define-compare): New non-exported helper macro.
	Use it to generalize various compare functions to varargs.
	(string=?, string<?, string>?, string<=?, string>=?): Re-implement.
	(string-ci=?, string-ci<?, string-ci>?, string-ci<=?, string-ci>=?,
	char-ci=?, char-ci<?, char-ci>?, char-ci<=?, char-ci>=?):
	Moved from unicode.scm and re-implement using define-compare.
	(char=,? char<? char>?, char<=?, char>=?): Moved from
	characters.scm and re-imlement.
	* unicode.scm (string-ci=?, string-ci<?, string-ci>?, string-ci<=?,
	string-ci>=?, char-ci=?, char-ci<?, char-ci>?, char-ci<=?,
	char-ci>=?): Moved to strings.scm, because of define-compare.
	* characters.scm (char=,? char<? char>?, char<=?, char>=?):
	Moved to strings.scm, because of define-compare.

	* standard/Scheme.java (initScheme): Various functions
	got moved to strings.scm.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7572 5e0a886f-7f45-49c5-bc19-40643649e37f
	* misc-test.scm (make-mf): Update since string<? is now less
	lenient.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7573 5e0a886f-7f45-49c5-bc19-40643649e37f
	* r7rs-tests.scm: Port to Kawa.  Disable or mark as fail-expected
	functionality that doesn;t (yet) work on Kawa.
	* Makefile.am: Update accordingly.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7574 5e0a886f-7f45-49c5-bc19-40643649e37f
Merge in more multi-argument-compare updates.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7575 5e0a886f-7f45-49c5-bc19-40643649e37f
Minor javadoc fix.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7576 5e0a886f-7f45-49c5-bc19-40643649e37f
	* Language.java (getTypeor): Don't treat ObjectExp as
	a type specifier.  This fixes  Savannah bug #39945: "Too few
	arguments" warning when declaring an anonymous class in a let block"

	* sva39945.scm: New testcase for Savannah bug #39945: "Too few
	arguments" warning when declaring an anonymous class in a let block"


git-svn-id: http://sourceware.org/svn/kawa/trunk@7577 5e0a886f-7f45-49c5-bc19-40643649e37f
	* PrimProcedure.java (mostSpecific): Moved from MethodProc.
	Limited arguments to PrimProcedure, so we can implement
	the cjeck-for-abstract-methods part of the JLS specification.
	(isAbstract): New method.

	* MethodProc.java (overrideEquivalent): New method.
	(mostSpecific(MethodProc[],int)): Moved to PrimProcedure.

	* CompileReflect.java: Update for mostSpecific metho being moved.

	* sva39947.scm: Added testcase for Savannah bug #39947
	"Bad resolution of java.util.HashSet.addAll()".
	* Makefile.am: Updated accordingly.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7578 5e0a886f-7f45-49c5-bc19-40643649e37f
	* LispPackage.java (valueOf, valueOfNoCreate, findSymbol)
	(exportPkg, importPkg, allSymbols, allExternalSymbols)
	(allInternalSymbols, signal): New methods adding extra support for
	CL packages.

	* CommonLisp.java: Added new keywords for CL: INHERITED, EXTERNAL
	and INTERNAL for use in package lookups.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7579 5e0a886f-7f45-49c5-bc19-40643649e37f