-
Notifications
You must be signed in to change notification settings - Fork 8
/
ChangeLog
7579 lines (5572 loc) · 301 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-11-10 Per Bothner <per@bothner.com>
* build.xml: Make use of new kawac task.
2010-11-04 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.11.
* build.xml (version.release): Likewise.
2010-10-28 Per Bothner <per@bothner.com>
* build.xml (slib-scm): Also compile enums.scm.
2010-10-27 Jamison Hope <jrh@theptrgroup.com>
* build.xml (slib-scm): Update for new scm files.
2010-10-11 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add more classes to skip.
2010-09-29 Per Bothner <per@bothner.com>
* build.xml: Make use of <condition> with else clause.
Move setting of preprocess-HttpServer into build-setting target.
(check-for-HttpServer): Remove target.
(select-java7): Depend on build-settings rather than build-tools.
2010-09-20 Per Bothner <per@bothner.com>
* build.xml: Add enable-android support.
(android-classes): New target.
* build.xml: Change various targets to depend on build-settings
rather than build-tools.
* build.xml: Change some targets to "internal" by prefixing
their names with '-'.
2010-08-28 Per Bothner <per@bothner.com>
* build/xml (select-java7): New target.
* Makefile.am (select-java7, selected-java-source):
Add missing jdk7 support.
* configure.in: Map --with-jave-source to JAVA_SOURCE=7 - not 6.
2010-08-27 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add some new classes.
2010-08-26 Per Bothner <per@bothner.com>
Replace ExpWalker expression-visitor API by new ExpVisitor.
Lots of little changes; a few big ones - see gnu/expr/ChangeLog.
2010-07-23 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.10.
* build.xml (version.release): Likewise.
2010-07-19 Per Bothner <per@bothner.com>
* build.xml: Pass +enable:XML or -enable:XML to PreProcess as needed.
* build.xml (slib-scm): Include srfi13.scm.
2010-05-24 Per Bothner <per@bothner.com>
* Makefile.am (PREPROCESS_XML): New mecro.
(USE_HTTPSERVER): Rename to PREPROCESS_HTTPSERVER.
(do-preprocess): Use new macros.
2010-05-19 Per Bothner <per@bothner.com>
* configure, aclocal.m4, **/Makefile.in: Re-generate.
2010-04-19 Per Bothner <per@bothner.com>
* build.xml: Update to auto-select Java5 and Java6, including
HttpServer.
2010-04-18 Per Bothner <per@bothner.com>
Add support for using the com.sun.net.httpserver web server.
* configure.in(--with-httpserver): New option.
(WITH_HTTPSERVER): New conditional.
* Makefile.am: Conditionalize pre-processing on WITH_HTTPSERVER.
2010-04-10 Per Bothner <per@bothner.com>
* configure.in: New --java-source option '6compat5': Compile assuming
a Java 6 compiler, but so .jar (with most features) can run on Java5.
This implies compiling with -target 1.5.
* Makefile.am: Various fixes for 'distclean'.
(dist-kawa-@VERSION@.jar): Build --with-java-source=6compat5.
2010-01-07 Per Bothner <per@bothner.com>
* **/Makefile.in, aclocal.m4: Regenerate using automake 1.11.1.
2009-08-31 Per Bothner <per@bothner.com>
* Makefile.am (kawart-@VERSION@.jar): Add missing $(srcdir).
2009-08-27 Per Bothner <per@bothner.com>
* build.xml (lib-scm): Update for new source files.
* Makefile.am (all): Also build kawart-@VERSION@.jar.
2009-08-27 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add more classes.
2009-08-24 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add more classes.
2009-08-13 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add more classes.
2009-08-12 Per Bothner <per@bothner.com>
* classes-to-skip-for-runtime: Add more classes and patterns.
2009-08-10 Per Bothner <per@bothner.com>
* Makefile.am (kawart-@VERSION@.jar): New rule.
* classes-to-skip-for-runtime: New file.
* Makefile.am (kawa-@VERSION@.jar): Minor optimization/simplification.
2009-08-06 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.9.10.
* build.xml (version.release): Likewise.
2009-06-02 Per Bothner <per@bothner.com>
* build.xml (lib-scm): Add unicode.scm.
2009-05-31 Per Bothner <per@bothner.com>
* build.scm: Update to also compile regex.scm and pregexp.scm.
2009-05-17 Per Bothner <per@bothner.com>
* Makefile.am (dist-kawa-@VERSION@.jar): Make copy of dist sources,
to allow re-condifure, even when "$srcdir" is ".".
Build with Java6 compiler, with target 5, and --with-javax.script,
to allowing running under Java5, but with scripting on Java6.
* configure.in (--with-java.script): New flag.
(WITH_JAVAX_SCRIPT): New conditional.
* Makefile.am: Add META-INF/services/javax.script.ScriptEngineFactory
to kawa jar file when WITH_JAVAX_SCRIPT is selected.
2009-03-16 Per Bothner <per@bothner.com>
* build.xml (lib-scm, slib-scm: Update for new modules.
(slib-scm-classes): Use fileset slib-scm rather than slib-scm-list.
(slib-scm-list): Remove duplicate filelist.
2009-01-14 Per Bothner <per@bothner.com>
* configure.in: Add configure switches-enanle-xquery.
Add conditionals ENABLE_XQUERY and WITH_ANDROID.
* Makefile.am (SUBDIRS): Make use of new conditonals.
2008-12-23 Per Bothner <per@bothner.com>
* configure.in: New --with-android option.
* Makefile.am: Add "android" as new JAVA_SOURCE version.
(set-selected-java-source): Fix minor problem which causes error
message selected-java-source is missing.
2008-11-19 Per Bothner <per@bothner.com>
* configure.in: Use AC_CHECK_TOOL to find GCJ, rather than
LT_AC_PROG_GCJ, since the latter seems to be gone now.
2008-01-26 Per Bothner <per@bothner.com>
* configure.in: The default for --with-java-source is now 5.
* Makefile.am: The default binary builds now require Java 5.
2007-11-01 Per Bothner <per@bothner.com>
* build.xml (run): Set fork to true, since otherwise we can't
"run" under NetBeans. (It gets a SecurityException.)
* nbproject: Preliminary support for developing using NetBeans.
2007-03-15 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.9.3.
This is so Marc Feeley's "snow' can detect a working version.
* build.xml (version.release): Likewise.
2007-01-30 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.9.2.
* build.xml (version.release): Likewise.
2007-01-23 Per Bothner <per@bothner.com>
* configure.in (WITH_GCJ_NO_DBTOOL): New conditional.
2007-01-22 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.9.1.
* build.xml (version.release): Likewise.
2007-01-21 Per Bothner <per@bothner.com>
No longer ship libtool. By default we don't use libtool any more
but there is a non-default option to use libtool from our path.
* configure.in (--with-libtool): New option.
Otherwise remove libtool-related macros.
* Make-rules: For building with gcj, create .o files rather than
.lo files, unless WITH_LIBTOOL.
* ltmain.sh: Remove file.
* Makefile.am (EXTRA_DIST): Remove ltmain.sh.
* kawa.cmd: Remove unused file.
2007-01-20 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.9.0.
* build.xml (version.release): Likewise.
2007-01-11 Per Bothner <per@bothner.com>
* Makefile.am (kawa-doc-$(VERSION).tar.gz): Don't build
doc/internals.xml since it has been moved to the web site.
2007-01-09 Per Bothner <per@bothner.com>
* configure.in: Make --disable-jemacs the default.
(--enable-brl): New non-default flag.
* build.xml (brl-classes): Split new target off from xml-classes.
(enable-brl): New property.
(enable-jemacs): Make default false.
* build.properties (enable-jemacs, enable-brl): Update to match.
* Makefile.am: Conditionalize on ENABLE_JEMACS and ENABLE_BRL.
* gnu/jemacs/*/Makefile.am: Remove condionalization on
ENABLE_JEMACS, since handled in top-level Makefile.
2007-01-08 Per Bothner <per@bothner.com>
* Makefile.am, build.xml: Moved the mapping from "source-version" to
"PreProcess feature list" to the single location (PrePorcess.java), so
we don't need to duplicate it Makefile.am and build.xml.
2007-01-05 Per Bothner <per@bothner.com>
* configure.in: If JAVA_SOURCE is 1|2|3 default with_sax2 to "no".
2007-01-04 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.8.95.
* build.xml (version.release): Likewise.
2007-01-02 Per Bothner <per@bothner.com>
* kawa/ChangeLog: New file.
2007-01-02 Per Bothner <per@bothner.com>
* kawa/GuiConsole.java (<init>): Update to use Path.
* kawa/TelnetRepl.java (serve): Likewise.
* kawa/GuiInPort.java (<init>): Likewise.
* kawa/standard/load.java (apply): Generalize from String name.
(apply2); Update accordingly.
* kawa/standard/require.java (lookupModuleFromSourcePath): Allow
base name (i.e. current getFileName() result) to be null.
2006-12-30 Per Bothner <per@bothner.com>
* kawa/repl.java (processArgs): Use InetAddress.getByName(null)
instead of "localhost". This avoid a problem on FC6 when localhost
is missing in /etc/hosts and seems like the Right Thing anyway.
2006-12-29 Per Bothner <per@bothner.com>
* kawa/standard/load.java: Update for move of uriSchemeLength
from InPort to Path.
* Makefile.am (JAVA4_FEATURES, NO_JAVA4_FEATURES): Set/clear
use:java.nio flag.
2006-12-20 Per Bothner <per@bothner.com>
* configure.in (--with-gcj): New option.
(WITH_GCJ_DBTOOL): New AM_CONDITIONAL.
Change some defaults depending on other options.
* Makefile.am (install-jar): Run gcj-dbtool, if so configured.
* Make-rules (EXTRA_DBTOOL_GCJFLAGS): New macro.
Compile with -findirect-dispatch only if WITH_GCJ_DBTOOL.
* Make-rules: Remove kawa1 hooks - use '$(JAVA) kawa.repl' to compile.
(GCJFLAGS): Add -findirect-dispatch.
* configure.in: Add AC_DISABLE_STATIC.
2006-12-17 Per Bothner <per@bothner.com>
* kawa/repl.java (processArgs): Use 'define' rather than 'putt' to
define variables from the command line. The former works better
when main() is inoked fter start-up, as is done by 'qalbum -R'.
2006-12-15 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (setLine): Moved to Compilation.
Compiling with gcj complained about an ambiguity and it seems
just as clean to move it to avoid the problem.
* build.xml: Update for XMLParser changes.
2006-12-14 Per Bothner <per@bothner.com>
* configure.in (SAX2_PREPROCESS): New substiution varible.
* Makefile.m (JAVA4_FEATURES, NO_JAVA4_FEATURES): Define preprocess
variable SAX2 depending on whether --with-sax2 was specified.
2006-12-12 Per Bothner <per@bothner.com>
* kawa/Shell.java (run): Only special handling of SyntaxException if
it's the same SourceMessages - rather than say from an fn:doc.
2006-12-11 Chris Wegrzyn <chris.wegrzyn@gmail.com>
* kawa/standard/syntax_case.java (rewriteForm): Make sure input form
is nested inside LetExp used to implement syntax-case.
This fixes Savannah bug #18105 "with-syntax causes
NullPointerException during compilation but not in repl".
2006-12-11 Per Bothner <per@bothner.com>
* kawa/standard/object.java (scanClassDef, rewriteForm): Handle
SyntaxForm around keywords. Fixes Savannah bug #18504.
2006-12-09 Per Bothner <per@bothner.com>
* kawa/lang/CompileFile.java: Remove unneded import.
* kawa/lang/PairPat.java: Likewise.
* kawa/lang/ListRepeatPat.java: Likewise.
* kawa/lang/VarListPat.java: Likewise.
* kawa/repl.java: Remove unused local variables.
* build.xml: Update handling of XMLParser.java to match that of make.
2006-12-06 Per Bothner <per@bothner.com>
* kawa/standard/object.java (rewriteForm, scanClassDef): Handle
SyntaxForm in member definition.
2006-12-05 Per Bothner <per@bothner.com>
* configure.in: Make --with-sax the default.
* Makefile.am (dist-kawa-@VERSION@.jar): Fix various bitrot.
* kawa/repl.java: Update copyright year printed by --version to 2007.
* Makefile.am (kawa/Version.java): Use svnversion command.
* Makefile.am (selected-java-source): Handle JAVA_SOURCE = 6.
2006-12-04 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java: Update for require.importDefinitions.
* kawa/Shell.java (run): Update for Language.run changes.
* kawa/standard/require.java (importDefinitions): Some refactoring so
we can pass the ModuleInfo from XQParser so we use the same info
without trying to load the wrong file. Combine two methods to one.
(lookupModuleFromSourcePath): New static helper method.
* kawa/repl.java (compilationDirectory): Removed static field, replaced
by non-static field in ModuleManager.
(processArgs): Use ModuleManager's new setCompilationDirectory method.
* kawa/standard/load.java (pply): Don't temporarily setBaseUri.
* Makefile.am (patch-source-list): Change pattern so we catch
files that only use #ifndef and not #ifdef,
* configure.in (WITH_XQTS): Previous change not quite right.
2006-12-02 Per Bothner <per@bothner.com>
* configure.in (WITH_XQTS): Default to false.
2006-12-01 Per Bothner <per@bothner.com>
* configure.in (AC_INIT): Set version to 1.8.91.
* build.xml (version.release): Likewise.
* configure.in: Add support for JAVA_SOURCE=6.
* Makefile.am (select-java6): New rule, which sets JAVA6 and
use:java.text.Normalizer.
2006-11-27 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (lookup): New hasNamespace.
* kawa/standard/require.java (importDefinitions): Inline getDefine.
Do check for duplicate declaration using getNamespaceOf.
Use ScopeExp.duplicateDeclarationError.
2006-11-22 Per Bothner <per@bothner.com>
* kawa/lang/SyntaxRules.java: Rename Consumer methods append->write.
* kawa/lang/Promise.java: Likewise.
* kawa/lang/Lambda.java: Likewise.
* kawa/lang/SyntaxPattern.java: Likewise.
* kawa/lang/AnyPat.java: Likewise.
* kawa/lang/PairPat.java: Likewise.
* kawa/lang/Macro.java: Likewise.
* kawa/lang/EqualPat.java: Likewise.
* kawa/lang/ListPat.java: Likewise.
* kawa/lang/ListRepeatPat.java: Likewise.
* kawa/lang/Syntax.java: Likewise.
* kawa/lang/VarListPat.java: Likewise.
2006-11-20 Per Bothner <per@bothner.com>
* kawa/lang/SyntaxRules.java (print): Update since parameter is
now a Consumer.
* kawa/lang/Promise.java (print): Likewise.
* kawa/lang/Lambda.java (print): Likewise.
* kawa/lang/AnyPat.java (print): Likewise.
* kawa/lang/PairPat.java (print): Likewise.
* kawa/lang/EqualPat.java (print): Likewise.
* kawa/lang/ListPat.java (print): Likewise.
* kawa/lang/ListRepeatPat.java (print): Likewise.
* kawa/lang/VarListPat.java (print): Likewise.
* kawa/lang/Macro.java (print): Likewise.
* kawa/lang/Syntax.java (print): Likewise.
* kawa/lang/SyntaxPattern.java (print): New method.
* kawa/lang/Pattern.java: Now implements Printable.
2006-11-19 Per Bothner <per@bothner.com>
* kawa/lang/Quote.java: Remove redundant 'implements Printable'.
* kawa/standard/location.java: Likewise.
* kawa/standard/let.java: Likewise.
* kawa/standard/define.java: Likewise.
* kawa/standard/define_variable.java: Likewise.
* kawa/standard/define_alias.java: Likewise.
* kwa/standard/fluid_let.java: Likewise.
* kawa/standard/begin.java: Likewise.
* kawa/standard/let_syntax.java: Likewise.
* kawa/standard/set_b.java: Likewise.
2006-11-13 Per Bothner <per@bothner.com>
* kawa/lang/SyntaxRules.java: Update for SourceLocation changes.
* kawa/lang/Lambda.java: Likewise.
* kawa/lang/SyntaxPattern.java: Likewise.
* kawa/lang/Eval.java: Likewise.
* kawa/lang/Macro.java: Likewise.
* kawa/standard/object.java: Likewise.
* kawa/standard/require.java: Likewise.
* kawa/standard/define_class.java: Likewise.
* kawa/standard/define_autoload.java: Likewise.
* kawa/repl.java: Likewise.
* kawa/lang/Translator.java: Likewise.
(setLine, setLine): Generalize/simplify.
2006-10-26 Per Bothner <per@bothner.com>
* kawa/standard/require.java: Error rather than warning on
duplicate declaration.
* configure.in (AC_INIT): Set version to 1.8.90.
* build.xml (version.release): Likewise.
* kawa/standard/Scheme (initScheme): Update class for 'html' prefix.
* kawa/repl.java (processArgs): Use Symbol.parse to process
parameter initialization.
2006-10-16 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (scanForm): Call rewrite to search lexical
scope, so we can also indirectly set macroScope.
This fixes Savannah bug #17993 "Unbound location exception when
require-d syntax calls some procedures".
2006-10-15 Per Bothner <per@bothner.com>
* kawa/repl.java (processArgs): Set Language.requirePedantic static
if --pedantic flag was seen.
2006-10-14 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (scanBody): Fix and simplify handling
of SyntaxForm when we need to makeList by asking recursive call
to make the list. This fixes Savannah bug #17984 "Compile time
error in expansion of hygienic macros ending in literals".
2006-09-26 Per Bothner <per@bothner.com>
* kawa/repl.java (processArgs): If we find a matching propertyField,
break instead of continue.
2006-09-18 Per Bothner <per@bothner.com>
* configure.in (WITH_XQTS): New AM_CONDITIONAL.
2006-09-14 Per Bothner <per@bothner.com>
* build.xml (java4-features): Don't use org.w3c.dom.Node by default.
2006-09-13 Per Bothner <per@bothner.com>
* Shell.java (xmlPrinterClasses): Update for changed XMLPrinter
constructors.
* Shell.java (run): Call flush.
2006-09-12 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite): Som re-arranging.
If we have a FieldLocation, use it's instance to set contextDecl.
(checkMemberContext): Inline into caller and remove.
2006-09-08 Per Bothner <per@bothner.com>
* Translator.java (reqrite): Catch missing (un-compiled) class when
loading a field - could be a missing require declaration.
2006-09-06 Per Bothner <per@bothner.com>
* kawa/lang/Macro.java: Remove unused import(s).
* kawa/standard/try_catch.java: Likewise.
* kawa/standard/module_static.java: Likewise.
* kawa/standard/require.java: Likewise.
* kawa/lang/Translator.java: Likewise.
* kawa/standard/char_ready_p.java: Likewise.
* kawa/lang/Translator.java (rewrite): Remove unused local(s).
* kawa.repl (compileFiles): Likewise.
* kawa/standard/define_syntax.java (scanForm): Remove unused local.
* kawa/standard/require.java: Likewise.
2006-09-03 Per Bothner <per@bothner.com>
* kawa/lang/loadcompiled.java: Remove unused class.
* kawa/lang/Makefile.am: Update accordingly.
* kawa/standard/read.java: Removed class, replaced by function read
in kawa/lib/ports.scm.
* kawa/standard/Makefile.am: Update accordingly.
* kawa/standard/read_line.java: No longer extend ProcedureN.
(numArgs, applyN, apply0, apply1, apply2): Remove methods.
* kawa/standard/callcc.java (callcc): New static final field.
* kawa/standard/Scheme.java: Appropriate updates.
* kawa/standard/atan.java: Removed class, replaced by function atan
in kawa/lib/numbers.scm.
* kawa/standard/string2number.java: Removed class, replaced by function
string->number in kawa/lib/numbers.scm,
* kawa/standard/Makefile.am: Update accordingly.
* kawa/standard/Scheme.java (initScheme): Update accordingly.
2006-08-23 Per Bothner <per@bothner.com>
* kawa/standard/require.java (importDefinitions): Change type paraneter
to className String. Handle appropriate exceptions.
Various tweaks to handle cycles etc.
(scanForDefinitions): Update accordingly.
* kawa/standard/require.java (importDefinitions): Minor simplification.
Also, don't make instance decl private if immediate.
Set column number of alias decl, in addition to line number.
2006-08-16 Per Bothner <per@bothner.com>
* Makefile.am (kawa/Version.java): If .svn/entries exists, extract
SVN revision number and date and add that to the Kawa version string.
(CLEANFILES): Move kawa/Version.java from -MAINTAINERCLEANFILES.
(MAINTAINERCLEANFILES): Remove since no longer needed.
2006-08-08 Per Bothner <per@bothner.com>
* kawa/standard/require.java (scanForDefinition): Handle extended
'(require [CLASS] "SOURCE")' syntax.
(importDefinitions): New overloaded method, handles above new cases.
Parse module if appropriate.
(importDefinitions): Handle non-compiled class.
Remove most special handling of immediate mode.
* configure.in (--with-XQTS): New flag.
(XQTS_PATH): New substitution variable.
2006-06-28 Per Bothner <per@bothner.com>
* kawa/standard/TracedProcedure.java (curIndentSym): Use new
Symbol.makeUninterned method.
* Makefile.am: New (always-disabled) PreProcess macro JAXP-QName.
2006-06-23 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (check_if_Syntax): Inherit macroScope
if from current TemplateScope.
2006-06-21 Per Bothner <per@bothner.com>
* kawa/Shell.java (runString): Call the other run method so that
getOutputConsumer gets called.
2006-06-16 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite_pair): Remove no-longer-needed
and non-working handling of xml namespaces.
(remove): Remove old AutoloadProcedure special handling.
(asXmlNamespace): Remove unneeded method.
* kawa/standard/Scheme.java (initSchame): Change "html" definition.
2006-06-09 Per Bothner <per@bothner.com>
* kawa/lang/Record.java: No longer implement gnu.mapping.NameMap.
* kawa/repl.java (compileFiles): Print line number if unexpected
exception.
2006-06-05 Per Bothner <per@bothner.com>
* kawa/standard/export.java (scanForDefinitions): Set and later restore
current position on exach Pair, for more precise error messages.
Also, put in partial support for SyntaxForm inputs.
2006-05-31 Per Bothner <per@bothner.com>
* kawa/Shell.java (run): Update to use new ModuleExp.evalModule call.
This handles printing of errors - and now also warnings.
Plus remove redundant runUntilDone.
* kawa/lang/Eval.java (evalBody): Update ModuleExp.evalModule call.
* kawa/standard/load.java (loadSource): Likewise.
* kawa/standard/load.java (loadCompiled): Use WrapedException.
2006-05-25 Per Bothner <per@bothner.com>
* kawa/standard/try_catch.java: Remove unneded import.
* kawa/standard/with_compile_options.java: Likewise.
* build.xml: Major simplification, since the modules in kawa/lib
can be named in any order in the compilation command.
2006-05-25 Per Bothner <per@bothner.com>
Handle module dependencies and cycles.
* kawa/lang/CompileFile.java (compile_to_files): Remove method.
* kawa/repl.java (compileFiles): New method.
(processArgs): Simplify by using compileFiles.
* kawa/lang/Eval.java (evalBody): Add now-needed cast.
* kawa/lang/Translator.java (pendingForm): New field.
(lookup): Replace call to lookupGlobal, which creates new Declaration
if needed, with call to ModuleExp.lookup, which doesn't.
(scanForm): Special-case check for begin Syntax.
(scanForm): Handle deferred processing created by require or begin.
(finishModule):: Simplification - don't need to check IS_UNKNOWN.
(resolveModule): Handle any deferred pending imports.
* kawa/standard/require.java (scanForDefinitions): If we're in the
PROLOG_PARSING state, defer handling until the next pass.
(importDefinitions): New parameter list.
Check for cycles, and if so pushPendingImport.
Various tweaks to handle the case when no class has been generated yet.
2006-05-25 Per Bothner <per@bothner.com>
* kawa/lang/Syntax.java (scanForm): Slightly better error message,
in case the ErrorEsp is erroneously compiled or evaluated.
* kawa/lang/SyntaxTemplate.java (execute): Simplify debug logic.
2006-05-25 Per Bothner <per@bothner.com>
* kawa/lang/Syntax.java (scanForm): Slightly better error message,
in case the ErrorEsp is erroneously compiled or evaluated.
* kawa/lang/SyntaxTemplate.java (execute): Simplify debug logic.
2006-05-23 Per Bothner <per@bothner.com>
* kawa/lang/SyntaxRule.java: Remove unneeded import.
* kawa/standard/IfFeature.java: Likewise.
* kawa/standard/load.java: Likewise.
* kawa/standard/set_b.java: Likewise.
* kawa/standard/sleep.java: Likewise.
* kawa/standard/syntax.java: Likewise.
* kawa/standard/try_catch.java: Likewise.
* kawa/lang/SyntaxTemplate.java (currentScope): Remove unused field.
* kawa/standard/location.java: Likewise.
* kawa/standard/prim_method.java: Likewise.
* kawa/standard/set_b.java: Likewise.
* kawa/lang/SyntaxTemplate.java: Use static syntax for static call.
* kawa/standard/with_compile_options.java: Likewise.
* kawa/lang/Eval.java: Remove unused local variable.
* kawa/lang/Lambda.java
* kawa/lang/Record.java: Likewise.
* kawa/lang/SyntaxRules.java: Likewise.
* kawa/lang/SyntaxTemplate.java: Likewise.
* kawa/standard/define.java: Likewise.
* kawa/standard/define_class.java: Likewise.
* kawa/standard/object.java: Likewise.
* kawa/standard/string2number.java: Likewise.
2006-05-21 Per Bothner <per@bothner.com>
* kawa/standard/IfFeature.java (hasFeature): Remove old testing junk.
* kawa/standard/module_name.java (scanForm): Don't set STATIC_SPECIFIED
on module Declaration - confused FindCapturedVars.capture.
2006-05-19 Per Bothner <per@bothner.com>
* kawa/standard/define_autoload.java (process): Handle Symbols.
* kawa/lang/Lambda.java (nameKeyword): New constant field.
(rewriteAttrs): Handle name: keyword.
2006-05-06 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (initScheme): Implementations of 'string',
'quantity->number', 'quantity->unit', 'make-quantity' now in kawa.lib.
* kawa/standard/make_quantity.java: Remove file.
* kawa/standard/quantity2number.java: Likewise.
* kawa/standard/quantity2unit.java: Likewise.
* kawa/standard/string_v.java: Likewise.
* Makefile.am: Update accordingly.
2006-05-02 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite): Do setLine on new ReferenceExp.
2006-05-01 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (read): Remove unused method.
(getLexer): Remove - use super version.
(createReadTable): Update called method name.
* kawa/standard/read.java (apply1): Update ScmRead -> LispReader.
2006-04-26 Per Bothner <per@bothner.com>
* kawa/lang/Macro.java (make(Declaration)): Set capturedScope.
* kawa/standard/define_syntax.java (scanForm): If immediate, generate
a call to set the capturedScope.
* kawa/standard/location.java (rewrite): Revert 2006-04-21 change.
Instead follow aliases before setting can-read/can-write flags.
2006-04-21 Per Bothner <per@bothner.com>
* kawa/standard/require.java (importDefinitions): Don't needlessly
clear simple flag for alias declaration.
* kawa/standard/location.java (rewrite): Mark declaration as non-simple.
2006-04-19 Per Bothner <per@bothner.com>
* kawa/standard/require.java (importDefinitions): Check exported
decl's isPrivate rather than field name. More robust in that it works
even if imported module hasn't been compiled yet.
2006-04-14 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (initScheme): Get "caar", "cadr" etc from
kawa.lib.lists rather than kawa.standard.cxr.
* kawa/standard/cxr.java: Remove file.
* kawa/standard/Makefile.am: Update accordingly.
2006-04-14 Per Bothner <per@bothner.com>
Various macro fixes. Most important, quasisyntax sub-templates inherit
a shared TemplateScope.
* kawa/lang/PatternScope.java (push): Set outer scope.
* kawa/lang/TemplateScope.java (make): New factory methods.
* kawa/lang/SyntaxTemplate.java (execute): Use passed-in TemplateScope
rather than allocating it.
If DEBUGGING, check if vars is null.
* kawa/lang/SyntaxRules.java (expand): Need to allocate TemplateScope
here before passing it to SyntaxTemplate.execute.
* kawa/lang/Translator.java (templateScopeDecl): New field.
* kawa/standard/let_syntax.java (rewrite): Set setCapturedScope
on new macros.
* kawa/standard/syntax.java (rewriteForm): Genrate code to allocate
and use TemplateScope, using templateScopeDecl.
* kawa/standard/let_syntax.java (rewrite): Set name of macro.
2006-04-10 Dean Ferreyra <dferreyra@igc.org>
Per Bothner <per@bothner.com>
* kawa/repl.java (processArgs): Handle new
--debug-{error,warning}-prints-stack-trace arguments,
(printOptions): List them.
2006-04-06 Dean Ferreyra <dferreyra@igc.org>
* kawa/lang/SyntaxTemplate.java: Fix typo in error message.
2006-03-26 Per Bothner <per@bothner.com>
* Makefile.am (JAVA4_FEATURES, NO_JAVA4_FEATURES): New feature flag
use:java.util.regex.
2006-03-25 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (initScheme): Bind 'slot-ref'
to new SlotGet.slotRef field.
2006-03-24 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (instance): Make public, so it can
be compiled as a literal.
2006-03-23 Per Bothner <per@bothner.com>
* kawa/standard/map.java (inline): Also inline on new ApplyExp.
2006-03-17 Per Bothner <per@bothner.com>
* kawa/standard/define_member_alias.java (scanForDefinitions):
Minor optimization.
2006-03-16 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (exp2Type): May need to InlineCalls on
type-specifier - for example for PREFIX:<>.
2006-03-13 Per Bothner <per@bothner.com>
* configure.in: Define JAVACFLAGS, and default it to -g.
* Make-rules: Remove redundant JAVACFLAGS macro.
2006-03-12 Per Bothner <per@bothner.com>
* kawa/standard/object.java (scanClassDef): Move rewrite of
list of sypertypes to ...
(rewriteClassDef): ... here.
2006-03-11 Per Bothner <per@bothner.com>
* kawa/lang/Quote.java (expand): Never call Translator.namespaceResolve
- which had become a no-op in this context.
(DATUM_DEPTH): Remove constant.
Replace most uses by QUOTE_DEPTH.
(expandColonForms): New protected method.
(expand_pair): Do namespace resolution on $lookup$ forms only if
expandColonsForms is true.
* kawa/standard/syntax.java (expandColonForms): New method.
This fixes a problem where colon forms in syntax forms got quoted,
instead than being handled when the syntax template was expanded.
2006-03-03 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (initScheme): Define "duration" function.
(createReadTable): Define "duration" reader constructor function.
2006-02-22 Per Bothner <per@bothner.com>
* Makefile.am (JAVADOC_FLAGS): Pass -use to javadoc.
2006-02-19 thomas kirk <tk@research.att.com>
Per Bothner <per@bothner.com>
* kawa/standard/load.java (loadCompiled): Get main class from
ZipLoader.loadAllClasses rather than using LambdaExp.fileFunctionName.
This fixes Savannah bug #15725.
(loadSource): Don't set module name to LambdaExp.fileFunctionname.
2006-02-19 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite): Use ClassMethods.getMethods
rather than ClassMethods.apply to we can pass in 'caller'.
It also does less useless work.
* kawa/lang/Translator.java (rewrite): When searching lexical scope,
also seach fields of methods of this class and super-types.
* kawa/standard/object.java (rewriteClassDef): Call setTypes earlier,
so we can search for inherited fields and methods.
Remove old incomplete code for matching fields and methods.
2006-02-16 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite): Handle reference to method name
by create a GetNamedExp.
* kawa/standard/map.java (inline): If evaluating procedure doesn't
have side-effects, do so inside loop, which may allow inlining.
2006-02-15 Per Bothner <per@bothner.com>
* COPYING: Change to use X11/MIT license.
* gnu/*/COPYING: Remove redundant files.
* configure.in: Oops. Partly go back to original handling
of --{with,enable}-servlet.
2006-02-14 Per Bothner <per@bothner.com>
* kawa/standard/define.java (scanForm): Fix oops in previous check-in.
* kawa/lang/Quote.java (expand_pair): Use GetNamedPair.combineName
to resolve '($lookup$ part1 'part2) to 'part1:part2 - as in source.
* kawa/lang/Translator.java (namespaceResolve): Likewise.
Remove no-longer needed code to resolve actual namespace declaration.
* kawa/standard/define.java (scanForm): Fix wrong test for a function
definition - which failed when the name was a Symbol.
* kawa/standard/define.java: Fix incorrect comment.
2006-02-13 Per Bothner <per@bothner.com>
* kawa/lang/Quote.java (expand_pair): Translate (%lookup$ PART1 'PART2)
to 'PART1:PART2.
* kawa/lang/Translator.java (namespaceResolve): Remove two overloads.
(namespaceRewriteResolve): Remove method. Just inline it.
(rewrite): Remove a namespaceResolve call.
Always inline getNamedPart.
* kawa/standard/Scheme.java (getNamedPartDecl): New static field.
(makeApply): Change return type. Check if function is getNamedPartDecl.
* kawa/standard/define.java (scanForn): Always call tr.namespaceResolve.
* kawa/standard/define_syntax.java (scanForm): Likewise.
* configure.in: Fix recent breakage in --{with,enable}-servlet.
Also make a simplification.
2006-02-12 Per Bothner <per@bothner.com>
* configure.in: Fix/simplify handling with --with-awt and --with-swing.
2006-02-10 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite_body): No longer need to call
mustCompileHere().
* kawa/lang/Lambda.java (rewriteFormals): For anonymous functions
do setSourceLocation.
* kawa/standard/syntax_case.java (rewriteClauses): Fix to use
correct PrimProcedure constructor, taking a Language.
2006-02-09 Per Bothner <per@bothner.com>
* kawa/lang/Lambda.java (rewriteBody): No longer need to
mustCompleHere.
* kawa/lang/Eval.java (evalBody): Use new pushNewModule method.
* kawa/standard/map.java (inline): Use existing IsEq from Scheme.
2006-02-07 Per Bothner <per@bothner.com>
* kawa/standard/Scheme.java (initScheme): The R5RS functions
integer?, max, min, gcd, lcm, logand, logior, logxor are now
implemented in Scheme in kawa.lib.numbers.
(define_proc): Remove two no-longer-needed methods.
* kawa/standard/gcd.java: Remove no-longer-needed file.
* kawa/standard/integer_p.java: Likewise.
* kawa/standard/lcm.java: Likewise.
* kawa/standard/logand.java: Likewise.
* kawa/standard/logior.java: Likewise.
* kawa/standard/logxor.java: Likewise.
* kawa/standard/max.java: Likewise.
* kawa/standard/min.java: Likewise.
* Makefile.am: Update accordingly.
2006-02-06 Per Bothner <per@bothner.com>
* kawa/lang/Translator.java (rewrite_pair): Update checking for xml
namespaces to match namespace changes.
(namespaceResolve, namespaceRewriteResolve): New/rewritten methods.
(scanForm): Do namespaceRewriteResolve first.
* kawa/standard/Scheme.java (applyToArgs, setApplyToArgs,
applyFieldDecl): New static fields.
(makeApply): New method, overrides LispLanguage.
(createReadTable): Change postfixLookupOperator to ':'.
* kawa/standard/define.java (scanForm): Some changes to handle
namespace resolution. Set type of functions to Procedure.
* kawa/standard/export.java (scanForDefinitions): Since namespace
prefixes are now in the regular namespace, we no longer need
to export 'namespace:PREFIX'.
* kawa/standard/location.java (makeProcLocation$V): Remove needless
ApplyToArgs application.
* kawa/standard/set_b.java (rewriteForm): Check for ApplyToArgs.
2006-02-06 Per Bothner <per@bothner.com>
* kawa/standard/object.java (scanClassDef): Specify that method
Declarations have Procedure type.
2006-02-03 Per Bothner <per@bothner.com>
* kawa/standard/cxr.java (caar, cadr, etc): New static fields.
(cxr): New constructor.
(program): Make private.
(apply1, set1): No longer need to call program, since done by <init>.
* kawa/standard/Scheme.java (initScheme): Modify definitions of
caar, cadr, etc to use nwe static fields.