-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
4482 lines (4390 loc) · 245 KB
/
NEWS
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
;;;; -*- coding: utf-8; -*-
changes in sbcl-1.0.11 relative to sbcl-1.0.10:
* incompatible change: hash-table accessor functions are no longer
automatically protected by locks. Concurrent accesses on the same hash-table
from multiple threads can give inconsistent results or even corrupt the
hash-table completely. Multi-threaded applications should do their own
locking at the correct granularity. In the current implementation it is
still safe to have multiple readers access the same table, but it's not
guaranteed that this property will be maintained in future releases.
* minor incompatible change: (SETF MUTEX-VALUE) is not longer supported,
and will signal an error at runtime.
* enhancement: SB-THREAD package now exports a semaphore interface.
* enhancement: CONS can now stack-allocate on x86 and
x86-64. (Earlier LIST and LIST* supported stack-allocation, but
CONS did not.)
* enhancement: nested lists can now be stack allocated on
platforms providing stack allocation support.
* enhancement: dynamic-extent support has been extended to support
cases where there are multiple possible sources for the stack
allocated value.
* optimization: RELEASE-MUTEX no longer needs to perform a syscall
if the mutex is uncontested on Linux.
* bug fix: symbol-macro expansion now uses the *MACROEXPAND-HOOK*
as specified by the CLHS. (thanks to Tobias Rittweiler)
* bug fix: NaN comparison now works on x86-64.
* bug fix: CLOSE :ABORT T on a stream with pending output now
works.
* bug fix: instances of non-standard metaclasses using standard
instance structure protocol sometimes missed the slot type checks
in safe code.
* bug fix: known functions can be inlined in high-debug code.
changes in sbcl-1.0.10 relative to sbcl-1.0.9:
* minor incompatible change: the MSI installer on Windows no longer
associates .lisp and .fasl files with the installed SBCL.
* minor incompatible change: :UNIX is no longer present in *FEATURES*
on Windows. (thanks to Luis Oliviera)
* new feature: SB-CLTL2 contrib module now implements
FUNCTION-INFORMATION. (thanks to Larry D'Anna)
* optimization: scavenging weak pointers is now more efficient,
requiring O(1) instead of O(N) per weak pointer to identify
scanvenged vs. unscavenged pointers. (thanks to Paul Khuong)
* optimization: typechecking (SETF SLOT-VALUE) is now ~5x faster in
method bodies using constant slot-names when the first argument is
a specializer parameter for the method.
* optimization: SLOT-VALUE &co are now ~50% faster for variable slot
names, when the class of the instance is a direct instance
STANDARD-CLASS or FUNCALLABLE-STANDARD-CLASS (making them only 3x
as slow as the constant slot-name case.)
* optimization: member type construction is now O(N) instead
of O(N^2).
* optimization: UNION and NUNION are now O(N+M) for large
inputs as long as the :TEST function is one of EQ, EQL, EQUAL, or
EQUALP.
* enhancement: DEFINE-MODIFY-MACRO lambda-list information is
now more readable in environments like Slime which display it.
(thanks to Tobias C. Rittweiler)
* bug fix: SB-EXT:COMPARE-AND-SWAP was non-atomic unless the compiler
was able to infer the correct argument type for the object on which
the CAS operation was being performed.
* bug fix: copy propagation interfered with parallel assignment
semantics in local calls. (reported by Paul Khuong)
* bug fix: the signed modular fixnum shift compiled to wrong code on
x86 and x86-64. (spotted by a slight modification to some of
PFD's random tests)
changes in sbcl-1.0.9 relative to sbcl-1.0.8:
* minor incompatible change: SB-SYS:OUTPUT-RAW-BYTES is deprecated.
* enhancement: SB-EXT:FINALIZE accepts a :DONT-SAVE keyword argument,
indicating the finalizer should be cancelled when SAVE-LISP-AND-DIE
is called.
* enhancement: default PRINT-OBJECT methods for classes, slot-definitions,
and generic function now print the object identity for anonymous
instances. (thanks to Attila Lendvai)
* enhancement: as an extension to MOP, SBCL now supports SETF of
STANDARD-INSTANCE-ACCESS and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
(thanks to Attila Lendvai)
* enhancement: sb-cover has an alternate annotation mode which puts
the form annotations at the car of the form, instead of annotating
it completely. The benefit of this mode is that it shows better
which forms were instrumented by the compiler.
* bug fix: new compiler transforms for MEMBER and ASSOC were affected
by printer control variables. (reported by Dan Corkill)
* bug fix: system leaked memory when delayed output was performed by
the OS in smaller chunks then expected. (thanks to David Smith)
* bug fix: system leaked memory when file streams were not closed
properly.
* bug fix: large objects written to slow streams that were modified
after the write could end up with the modified state written to
the underlying file descriptor.
* bug fix: multiple threads operating in parallel on the same stream
could cause buffer-overflows.
* bug fix: source location information is stored correctly
(broken since 1.0.6). This bug would generally show up as the
Slime debugger higlighting the wrong form when the sldb-show-source
command was used.
* bug fix: Branch forms are again annotated as branches in the sb-cover
annotations.
* bug fix: GCD on MOST-NEGATIVE-FIXNUM no longer causes an infinite loop
on x86-64. (reported by Gregory Vanuxem)
* bug fix: EQUALP could return wrong results for structures with raw
slots (slots with a :TYPE of SINGLE-FLOAT, DOUBLE-FLOAT, or a machine
word). (reported by Vjacheslav Fyodorov)
* bug fix: sb-sprof sampling didn't work on non-x86oid platforms. (patch
by Pierre Mai)
changes in sbcl-1.0.8 relative to sbcl-1.0.7:
* enhancement: experimental macro SB-EXT:COMPARE-AND-SWAP provides
atomic compare-and-swap operations on threaded platforms.
* enhancement: experimental function SB-EXT:RESTRICT-COMPILER-POLICY
allows assining a global minimum value to optimization qualities
(overriding proclamations and declarations).
* enhancement: closed over variables can be stack-allocated on x86
and x86-64.
* performance bug fix: GETHASH and (SETF GETHASH) are once again
non-consing.
* optimization: slot definition lookup is now O(1). This speeds up
eg. SLOT-VALUE and (SETF SLOT-VALUE) with variable slot names.
* optimization: STRING-TO-OCTETS is now up to 60% faster for UTF-8.
* optimization: ASSOC and MEMBER can now be open-coded for all
combinations of keyword arguments when second argument is constant
and SPEED >= SPACE. In other cases a specialized version is
selected.
* bug fix: using obsoleted structure instances with TYPEP and
generic functions now signals a sensible error.
* bug fix: threads waiting on GET-FOREGROUND can be interrupted.
(reported by Kristoffer Kvello)
* bug fix: backtrace construction is now more careful when making
lisp-objects from pointers on the stack, to avoid creating bogus
objects that can be seen by the GC.
* bug fix: defaulting of values in contexts expecting more than 7
variables now works on x86-64. (reported by Christopher Laux)
* bug fix: modifications to packages (INTERN, EXPORT, etc) are now
thread safe.
* bug fix: (SETF SYMBOL-PLIST) no longer allows assigning a non-list
as the property-list of a symbol.
* bug fix: DEFMETHOD forms with CALL-NEXT-METHOD in the method body,
in EVAL-WHEN forms with both :COMPILE-TOPLEVEL and :LOAD-TOPLEVEL
situations requested, are once again file-compileable. (reported
by Sascha Wilde)
changes in sbcl-1.0.7 relative to sbcl-1.0.6:
* MOP improvement: support for user-defined subclasses of
SB-MOP:SPECIALIZER has been enhanced. The experimental interface
function SB-PCL:MAKE-METHOD-SPECIALIZERS-FORM, called as part of
the expansion of DEFMETHOD, is responsible for generating a form
which creates a list of specializers when evaluated. Additional
functions SB-PCL:[UN]PARSE-SPECIALIZER-USING-CLASS provide
debugging and introspective support.
* minor incompatible change: the (unsupported) spinlock interface
has changed: free spinlock now has the value NIL, and a held spinlock
has the owning thread as its value.
* enhancement: WITHOUT-INTERRUPTS now binds ALLOW-WITH-INTERRUPTS and
WITH-LOCAL-INTERRUPTS as local macros. Refer to documentation string
for details.
* enhancement: name of a socket-stream is now "a socket" instead of
"a constant string".
* enhancement: SB-POSIX now supports lockf(). (Thanks to Zach Beane.)
* enhancement: SB-POSIX now supports getcwd(). (Thanks to Tassilo Horn.)
* enhancement: SB-INTROSPECT:FUNCTION-ARGLIST shows nicer argument lists
for generic functions. (Thanks to Tobias C. Rittweiler)
* optimization: bignum printing speed has been improved by 20-40%
(depending on the bignum size.)
* bug fix: WITH-MUTEX and WITH-RECURSIVE-LOCK are now interrupt safe
on Linux.
* bug fix: the cache used by the CLOS to store precomputed effective
methods, slot offsets, and constant return values is now thread and
interrupt safe.
* bug fix: generic function dispatch function updating is now thread
and interrupt safe (in the sense that the known issues have been
fixed.)
* bug fix: ADD/REMOVE-METHOD is now thread and interrupt safe.
* bug fix: interning EQL-specializers is now thread and interrupt safe.
* bug fix: asdf systems with dependencies to the SB-POSIX or
SB-BSD-SOCKETS contribs can be loaded with :FORCE T.
* bug fix: interrupt safety of applicable method computation has been
improved.
changes in sbcl-1.0.6 relative to sbcl-1.0.5:
* new contrib: sb-cover, an experimental code coverage tool, is included
as a contrib module.
* optimization: STRING-TO-OCTETS for unibyte encodings and UTF-8 is
significantly faster.
* optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
produce more efficient code on x86-64 if the compiler can determine
that (+ INDEX <constant>) does not require a bounds check and FOO
has an element type at least 8 bits wide.
* enhancement: a new, experimental synchronous timeout facility is
provided. Refer to SB-SYS:WITH-DEADLINE for details.
* enhancement: when a symbol name conflict error arises, the
conflicting symbols are always printed with a package prefix.
(thanks to Kevin Reid)
* enhancement: stepping is now once again supported on the SPARC and
MIPS platforms. (It is also now more likely to work on CheneyGC
builds on the PPC.)
* enhancement: sb-sprof can now also track and report accurate call
counts.
* bug fixes: the treatment of non-standard subclasses of
SB-MOP:SPECIALIZER is more correct.
* incompatible change: PURIFY no longer copies the data from the
dynamic space into the static and read-only spaces on platforms
that use the generational garbage collector
* bug fix: GETHASH, (SETF GETHASH), CLRHASH and REMHASH are now
interrupt safe.
* bug fix: GC race condition occasionally resulting in crashes with
the error message "SIG_STOP_FOR_GC blocked at a bad place" has been
fixed.
* bug fix: &ENVIRONMENT variables in macro lambda lists can now be
declared ignored.
* bug fix: DEFSETF lambda lists without &ENVIRONMENT no longer cause
a STYLE-WARNING to be signalled (regression from 1.0.4.)
* bug fix: an asynchronous interrupt could previously leave the
system running with GC inhibited.
* bug fix: a DECLARE form evaluated at top-level now causes an error
rather than silently (or verbosely) returning NIL.
* bug fix: trying to dissassemble functions compiled at high DEBUG could
result in a error being signalled due to source form lookup errors.
(reported by Peter Graves)
changes in sbcl-1.0.5 relative to sbcl-1.0.4:
* incompatible change: removed writer methods for host-ent-name,
host-ent-addresses -- changing the values did not update the DNS
information anyway.
* minor incompatible change: changed experimental JOIN-THREAD interface
* documentation: the manual now lists reader and writer methods
in class slot documentation sections. (thanks to Richard M Kreuter)
* documentation: unwinding from asyncronous events has been
documented as unsafe.
* documentation: SB-SYS:WITHOUT-GCING has been documented as unsafe
in multithreaded application code.
* optimization: GET-INTERNAL-REAL-TIME has been optimized on POSIX
platforms. (thanks to James Anderson for the optimization hint)
* optimization: REPLACE, SUBSEQ, and COPY-SEQ are now optimized in
more cases.
* optimization: STRING-{EQUAL,LESSP,GREATER-P} and their NOT-
variants no longer cons.
* optimization: Direct calls to CHAR-{EQUAL,LESSP,GREATERP} and
their NOT- variants no longer cons.
* optimization: EQUAL hash tables no longer use SXHASH for objects
of all data types, but instead use an EQL hash for types for which
EQUAL is the same as EQL.
* optimization: the non-inlined generic versions of AREF and (SETF AREF)
are significantly faster.
* optimization: new STRING-OUTPUT-STREAM implementation is much
faster for large outputs and conses 30% less on average.
* enhancement: XREF information is now collected for references made
to global variables using SYMBOL-VALUE and a constant argument.
* enhancement: SIGINT now causes a specific condition
SB-SYS:INTERACTIVE-INTERRUPT to be signalled.
* bug fix: FILE-POSITION used to signal an error in some cases where
ANSI requires it to return NIL.
* bug fix: ADJUST-ARRAY is now interrupt-safe.
* bug fix: adding and removing fd-handlers is now interrupt-safe.
* bug fix: inlined calls to C now ensure 16byte stack alignment on
x86/Darwin.
* bug fix: bad type declaration in the CLOS implementation has
been fixed. (reported by James Anderson)
* bug fix: incorrect ROOM reporting on x86-64 has been fixed.
(thanks to Lutz Euler)
* bug fix: DEFSETF now allows &ENVIRONMENT and disallows &AUX as
required by the CLHS. (reported by Samium Gromoff)
* bug fix: dead unbound variable references now signal an error.
(reported by Marco Monteiro)
* bug fix: / with an unused value was being deleted in safe code.
(thanks to Marco Monteiro and Kevin Reid)
* bug fix: number of characters that can be written onto a single
line in a file is unlimited.
* bug fix: some GC deadlocks caused by asynchronous interrupts have
been fixed by inhibiting interrupts for when GC is disbled.
* bug fix: some interrupt safety issues with GETHASH, (SETF
GETHASH), CLRHASH and REMHASH have been fixed.
* bug fix: binding *BREAK-ON-SIGNALS* to a value that is not a type
specifier no longer causes infinite recursion.
* bug fix: SB-EXT:MUFFLE-CONDITIONS declarations no longer trigger a
bogus warning in DEFMETHOD bodies. (reported by Kevin Reid)
* bug fix: an &environment argument with the correct variable information
is passed to macros that are expanded during byte compilation.
(reported by Samium Gromoff)
* bug fix: a logic error was causing the hash function for bignums to
have excessive amounts of collisions. (reported by Faré Rideau)
* bug fix: modifying the contents of an array could change the return
value of SXHASH on that array, which is only allowed for strings
and bit vectors. (bug introduced in 0.9.16)
* improvement: the x86-64/darwin port now passes all tests (except
for the debugger tests) but should still be considered
experimental until this is fixed.
* improvement: a style-warning is signaled for CASE (etc) clauses with
duplicate keys. (thanks to Kevin Reid)
* improvement: macos/x86 and macos/x86-64 now use mach exception
handlers for dealing with illegal instructions (for trapping and
error handling) and memory protection violations (for GC).
changes in sbcl-1.0.4 relative to sbcl-1.0.3:
* new platform: experimental support for x86-64/darwin (MacOS).
* incompatible change: the thread-safe (on most platforms) getaddrinfo
and getnameinfo sockets functions are used instead of gethostbyaddr
and gethostbyname, on platforms where the newer functions are available.
As a result, the ALIASES field of HOST-ENT will always be NIL on these
platforms.
* change: runtimes with embedded cores (i.e. saved with :EXECUTABLE T)
don't print the startup banner, but behave as if --noinform was passed
as a command line argument. (thanks to Kevin Reid)
* new experimental feature: added JOIN-THREAD (by NIIMI Satoshi)
* optimization: code using alien values with undeclared types is much faster.
* optimization: the compiler is now able to open code SEARCH in more cases.
* optimization: more compact typechecks on x86-64 (thanks to Lutz Euler)
* bug fix: using standardized COMMON-LISP special variables as loop
variables no longer signals bogus package lock violations. (reported
by Eric Marsden)
* bug fix: declaring local loop variables to be of a range-limited type
such as (SINGLE-FLOAT 1.0 2.0) no longer causes a compile-time error.
(reported by Andras Simon)
* bug fix: >= and <= gave wrong results when used with NaNs. (Some NaN
bugs remain on x86-64.)
* bug fix: the #= and ## reader macros now interact reasonably with
funcallable instances.
* bug fix: type-checks for function arguments were compiled using the
compiler policy settings of the wrong lexical environment (in 1.0.2
and 1.0.3).
* bug fix: SHADOW accepts characters as string designators, as required
by the spec (thanks to Eric Marsden)
* bug fix: fixed GC safety issues when foreign functions are called with
non-base strings as arguments
* bug fix: more consistent error output for fatal-compiler-warnings, like
reader errors
* bug fix: functions with proper names were showing up as NIL in
backtraces (reported by Edi Weitz, regression in 1.0.2)
changes in sbcl-1.0.3 relative to sbcl-1.0.2:
* new platform: NetBSD/PPC. (thanks to Aymeric Vincent)
* optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
produce more efficient code on the x86 if the compiler can determine
that (+ INDEX <constant>) does not require a bounds check and FOO
has an element type at least 8 bits wide.
* bug fix: references to undefined variables are handled the same way
in toplevel forms as in the normal compiler
* bug fix: the build scripts again work with non-bash /bin/sh (thanks
to Magnus Henoch)
* bug fix: use "gtar" as the asdf-install *TAR-PROGRAM* on NetBSD
(thanks to Jon Buller)
* improvement: faster compilation times for complex functions
* improvement: added readlink support to SB-POSIX (thanks to Richard
M Kreuter)
changes in sbcl-1.0.2 relative to sbcl-1.0.1:
* improvement: experimental support for mach exception handling on
x86/macos. requires building with :MACH-EXCEPTION-HANDLER feature
to use.
* improvement: support for GBK external format.
(thanks to Chun Tian (binghe))
* improvement: the debugger now displays variables that have been closed
over, in code compiled with (DEBUG 2) or higher
* improvement: support for executable cores on NetBSD (thanks to
Richard Kreuter)
* new feature: added a RESTART-FRAME debugger command
* new feature: new generic function SB-GRAY:STREAM-FILE-POSITION can
be used to provide an implementation for FILE-POSITION on Gray streams
(thanks to Eric Marsden)
* new feature: add syslog, openlog and closelog support to SB-POSIX
(thanks to Richard Kreuter)
* optimization: the function call overhead in code compiled with
a high DEBUG optimization setting is significantly
* bug fix: an error is signaled for attempts to use READ-SEQUENCE
for a (SIGNED-BYTE 8) stream and (UNSIGNED-BYTE 8) vector, or vice versa.
(thanks to Tony Martinez)
* bug fix: the initforms for DEFMETHOD &AUX parameters are only
evaluated once (reported by Kevin Reid)
* bug fix: the :SHOW-PROGRESS keyword parameter to SB-SPROF:WITH-PROFILING
works again (thanks to Kilian Sprotte)
* bug fix: an error is signaled for tagbodies with duplicate tags
(thanks to Stephen Wilson)
* bug fix: NIL can be used as a tagbody tag (thanks to Stephen Wilson)
* bug fix: Win32 port can now handle foreign code unwinding Lisp
stack frames from alien callbacks.
* bug fix: ATANH returned incorrect results on win32 (thanks to Pierre Mai)
* bug fix: SBCL works on Linux/ppc systems with a kernel configured to use
65k pages (thanks to David Woodhouse)
* bug fix: fix SB-POSIX dirent and socket on NetBSD (thanks to Richard Kreuter)
changes in sbcl-1.0.1 relative to sbcl-1.0:
* new platform: FreeBSD/x86-64, including support for threading.
* new feature: the compiler stores cross-referencing information
abount function calls (who-calls), macroexpansion (who-macroexpands)
and special variables (who-binds, who-sets, who-references) for code
compiled with (< SPACE 3). This information is available through the
sb-introspect contrib.
* new feature: users may subclass SEQUENCE, and have instances of
these classes interoperate with standard Common Lisp functions if
a number of methods are defined. (This feature is experimental
and the interface subject to change based on feedback from SBCL
users and the general community)
* improvement: sb-sprof traces call stacks to an arbitrary depth on
x86/x86-64, rather than the previous fixed depth of 8
* improvement: another pthread back-end of mutex "pthread-futex".
* bug fix: non-ascii command-line arguments are processed correctly
(thanks to Yaroslav Kavenchuk)
* bug fix: non-required arguments were not passed correctly when a method
defined using DEFMETHOD was called from a mop-generated method using
CALL-NEXT-METHOD (reported by Pascal Costanza)
* bug fix: recursion is now permitted in accessors through
SLOT-UNBOUND. (reported by Pascal Costanza)
* bug fix: an error was signaled at startup if the HOME environment
variable was defined, but had an empty value (reported by Peter Van Eynde)
* bug fix: non ordinary lambda-list keyword in ordinary lambda lists
signal a PROGRAM-ERROR, not a BUG.
* bug fix: SB-POSIX:READDIR works when built with large file support.
* bug fix: ENOUGH-NAMESTRING works relative to #p"/" as well. (thanks
to Marco Monteiro)
* enhancement: DESTRUCTURING-BIND lambda-list uses &BODY instead of &REST
for better automatic indentation support. (thanks to Matt Pillsbury)
* optimization: loading generic functions no longer takes O(n^2) time,
proportional to the amount of methods in the generic function
(reported by Todd Sabin and Jeremy Brown)
* optimization: the FIND and POSITION family of sequence functions
are significantly faster on arrays whose element types have been
declared.
* improvements to the Windows port:
** Intermittent heap corruption problems have been fixed. (thanks
to Alastair Bridgewater)
** TRACE :ENCAPSULATE NIL (and function end breakpoints)
work on Windows.
** Lisp is able to unwind foreign exception frames from alien
callbacks. (thanks to Alastair Bridgewater)
changes in sbcl-1.0 relative to sbcl-0.9.18:
* improvement: experimental support for threading on FreeBSD/x86.
(thanks to NIIMI Satoshi)
* improvement: runtime option --dynamic-space-size can be used
to set the size of the dynamic space reserved on startup.
* improvement: floating point modes in effect are now saved in
core, and restored on startup.
* improvement: GET-INTERNAL-REAL-TIME now reports the time since
startup, not time since first call to GET-INTERNAL-REAL-TIME.
* improvement: SAVE-LISP-AND-DIE explicitly checks that multiple
threads are not running after *SAVE-HOOKS* have run.
* improvement: writes to CLOS instance slots are type-checked in code
compiled with (SAFETY 3)
* improvement: floating-point exception handling on FreeBSD (thanks to
NIIMI Satoshi)
* improvement: SB-POSIX supports time(2), utime(2) and utimes(2)
(thanks to Zach Beane)
* improvement: support for files larger than 2GB for CL streams and SB-POSIX
on Linux/x86
* improvement: added support for the Shift-JIS external format.
(contributed by NIIMI Satoshi)
* improvement: callbacks are supported on Linux/PPC. (thanks to
Joshua Ross)
* bug fix: compiler bug triggered by a (non-standard) VALUES
declaration in a LET* was fixed. (reported by Kaersten Poeck)
* bug fix: file compiler no longer confuses validated and already
dumped structurres. (reported by Kaersten Poeck)
* bug fix: ADJUST-ARRAY :FILL-POINTER T on an array without a
fill-pointer signals a type-error as required. (thanks to
Lars Brinkhoff)
* bug fix: disassemly of funcallable instances works.
* bug fix: single stepping on PPC.
* bug fix: fix thread-safety problems in the type system (generally
manifesting as nonsensical errors like "STRING is a bad type specifier
for sequences" or "The value 1 is not of type FIXNUM")
* bug fix: version components are handled correctly in TRANSLATE-PATHNAME
(reported by Josip Gracin)
* bug fix: an error is signaled for attempts to displace arrays with
incompatible element types (thanks to Mario Mommer)
* bug fix: more correct handling of wide characters in debug info
(bug reported by Attila Lendvai and fixed by Juho Snellman)
* optimization: method calls with &OPTIONAL or &KEY arguments are faster
and don't cause extra consing
* optimization: MAP and MAP-INTO are significantly faster on vectors
whose elements types have been declared.
* Improvements to SB-SPROF:
** Support for allocation profiling
** Reduced profiling overhead, especially for long profiling runs
* Improvements to the Windows port:
** floating point exceptions are now reported correctly.
** stack exhaustion detection works partially.
** more accurate GET-INTERNAL-REAL-TIME.
** better RUN-PROGRAM behaviour in case of errors in the child
process.
** PROBE-FILE now simplifies pathnames correctly.
** DIRECTORY now works correctly with :WILD-INFERIORS.
** DECODE-UNIVERSAL-TIME works on times before 00:00:00 January
1st 1970 (although time timezone data will be unreliable).
** Hyperbolic functions TANH, ASINH, ACOSH, and ATANH work.
changes in sbcl-0.9.18 (1.0.beta?) relative to sbcl-0.9.17:
* enhancement: SB-POSIX now supports cfsetispeed(3), cfsetospeed(3),
cfgetispeed(3), cfgetospeed(3), and related constants. (thanks to
Max-Gerd Retzlaff)
* bug fix: two potential GC deadlocks affecting threaded builds.
* bug fix: (TYPEP #\A '(NOT (MEMBER #\" #\{ #\:))) now correctly
returns T (reported by Anton Kazennikov)
* bug fix: the STORE-VALUE restart of CHECK-TYPE works correctly
with non-variable places
* bug fix: remove a race condition in the setting of
funcallable-instance functions, this should make threaded CLOS
code more stable against memory faults.
* bug fix: corruption of specials when unbinding is interrupted by an
asynchronous unwind (reported by Hannu Koivisto)
* improvement: the debugger will now also display local variables that
are only used once, for code compiled with a DEBUG optimization quality
of 2 or higher.
changes in sbcl-0.9.17 (0.9.99?) relative to sbcl-0.9.16:
* feature: weak hash tables, see MAKE-HASH-TABLE documentation
* incompatible change: External-format support for FFI calls. The
SB-ALIEN:C-STRING no longer implies an ASCII
external-format. Instead the string is subject to external-format
conversion. Additionally return values of type SB-ALIEN:C-STRING
are by default of type (SIMPLE-ARRAY CHARACTER), not
SIMPLE-BASE-STRING. For an alien type that behaves like the old
SB-ALIEN:C-STRING type, use (SB-ALIEN:C-STRING :EXTERNAL-FORMAT
:ASCII :ELEMENT-TYPE BASE-CHAR). (thanks to Yaroslav Kavenchuk)
* incompatible change: SB-EXT package no longer contains the
following unused symbols: *GC-NOTIFY-AFTER*, *GC-NOTIFY-BEFORE*,
*GC-NOTIFY-STREAM*, *ERROR-PRINT-LENGTH*, *ERROR-PRINT-LEVEL*,
*ERROR-PRINT-LINES*
* incompatible change: the single-stepper is no longer available
on Alpha, Mips and Sparc platforms.
* minor incompatible change: the direct superclasses of
SB-MOP:FUNCALLABLE-STANDARD-OBJECT are (FUNCTION STANDARD-OBJECT),
not (STANDARD-OBJECT FUNCTION). This makes the
class-precedence-lists of GENERIC-FUNCTION and
STANDARD-GENERIC-FUNCTION comply with the requirement of ANSI
1.4.4.5.
* minor incompatible change: the default stream external format on
non-unicode SBCL is no longer detected from the locale, but is always
ISO-8859-1
* new feature: Add a version of evaluator that uses an interpreter instead
of the compiler. EVAL still uses the compiler by default, to switch it
to use the interpreter, set the value of the variable
SB-EXT:*EVALUATOR-MODE* to :INTERPRET.
* minor incompatible change: the single-stepper REPL has been merged
with the normal debugger (see the "Stepping" heading of the debugger help
for more details). The debugger command STEP will no longer switch
to the single-stepper REPL.
* bug fix: ENOUGH-NAMESTRING on pathnames with no name and a pattern
for a type now works.
* bug fix: loading of default sysinit file works. (thanks to Leonid
Slobodov)
* bug fix: better detection of circularities in the file-compiler.
(reported by Marco Monteiro)
* bug fix: the CL pathname functions now work with files that have
non-ASCII characters in their names (thanks to Yaroslav Kavenchuk)
* bug fix: The :PTY argument for RUN-PROGRAM will now work on
systems with Unix98 pty semantics.
* bug fix: ASDF-INSTALL will now work with bsd tar.
* bug fix: ASDF-INSTALL uses GNU tar on Solaris (thanks to Josip
Gracin).
* bug fix: timers expiring in dead threads no longer cause a
type-error (reported by Paul "Nonny Mouse").
* bug fix: thanks to more lightweight single-stepper instrumentation,
code compiled with (DEBUG 3) will compile and execute significantly faster,
and will have more accurate type-inferencing than before
* bug fix: SLOT-VALUE optimizations are no longer done on method parameters
whose bindings are modified
* improvements to the win32 port (thanks to Yaroslav Kavenchuk):
** bug fix: arguments to RUN-PROGRAM are escaped correctly
** replace dummy implementations of CL:MACHINE-INSTANCE and
CL:SOFTWARE-VERSION with proper version
changes in sbcl-0.9.16 relative to sbcl-0.9.15:
* feature: implemented the READER-METHOD-CLASS and
WRITER-METHOD-CLASS portion of the Class Initialization Protocol
as specified by AMOP.
* incompatible change: variable SB-EXT:*USE-IMPLEMENTATION-TYPES*
no longer exists.
* optimization: faster LOGCOUNT implementation on x86 and x86-64
(thanks to Lutz Euler)
* optimization: hashing of general arrays and vectors has been
improved. (reported by Any Fingerhut)
* enhancement: SB-INTROSPECT is now able to find definitions of
profiled functions. (thanks to Troels Henriksen)
* enhancement: compiler-macro expansion applies now to FUNCALL forms
as well, allowing compiler-macros for SETF-functions to expand.
* enhancement: step-instrumentation no longer wraps known
single-value functions with multiple-value context, allowing
better type inference.
* fixed bug #337: use of MAKE-METHOD in method combination now works
even in the presence of user-defined method classes. (reported by
Bruno Haible and Pascal Costanza)
* fixed bug #339(c): if there are applicable methods not part of any
long-form method-combination group, call INVALID-METHOD-ERROR.
(reported by Bruno Haible)
* fixed bug #361: the :FUNCTION initarg in the protocol for
initialization of methods can now be used to override
internally-produced optimized functions. (reported by Bruno
Haible)
* bug fix: extensions of MAKE-METHOD-LAMBDA which wrap the
system-provided lambda expression no longer cause warnings about
unbound #:|pv-table| symbols.
* bug fix: improved the handling of type declarations and the
detection of violations for keyword arguments with non-constant
defaults.
* bug fix: potentially erronous calls to PATHNAME and
MERGE-PATHNAMES were being flushed in some cases.
(reported by Richard Kreuter)
* bug fix: compiled calls to TYPEP were mishandling obsolete
instances. (reported by James Bielman and Attila Lendvai)
* bug fix: format strings with ~> without matching ~< no longer
trigger an AVER, but signal an understandable error instead.
(reported by Antonio Martinez)
* bug fix: specifying an output-file without a pathname-type for
COMPILE-FILE or COMPILE-FILE-PATHNAME resulted in using the type
of input-file instead of "fasl". (reported by Robert Dodier)
* bug fix: compiler-macro lambda-list parsing of FUNCALL forms.
(reported by James Y Knight).
* bug fix: compiler-macros-function did not consider the environment
argument for shadowing by local functions.
* bug fix: compiler-macros expansion was inhibited by local INLINE
declarations.
* bug fix: inline expansions of known functions were subject to
step-instrumentation in high debug policies, leading to problems
with type-inference.
* bug fix: compiler failed to differentiate between different CONS
types in some cases.
* bug fix: fixed input, output and error redirection in RUN-PROGRAM
for win32. (thanks to Mike Thomas and Yaroslav Kavenchuk)
* bug fix: #368: incorrect use of expressed vs. upgraded array
element type.
* bug fix: #306a: more precise unions of array types.
* thread-safety improvements:
** CONDITION-WAIT could return early on Linux, if the thread was
interrupted and subsequently continued with SIGCONT.
** STABLE-SORT and ADJUST-ARRAY were not reentrant.
changes in sbcl-0.9.15 relative to sbcl-0.9.14:
* added support for the ucs-2 external format. (contributed by Ivan
Boldyrev)
* minor incompatible change: pretty printing of objects of type
(cons symbol) is, in the default pprint-dispatch-table, now
sensitive to whether the symbol satisfies FBOUNDP. (thanks to
Marcus Pearce)
* minor incompatible change: SB-MOP:FINALIZE-INHERITANCE is now
called later in a class's lifetime, possibly as late as when the
first instance of the class is created. Previously,
SB-MOP:FINALIZE-INHERITANCE was called by the system as soon as a
class became finalizeable.
* fixed bug: FILE-POSITION sometimes returned inconsistent results
for multibyte external-format streams. (thanks to "vbzoli")
* fixed bug: CHANGE-CLASS would fail to preserve the values of slots
with :ALLOCATION :CLASS inherited from superclasses of the
original class.
* fixed bug: anonymous classes can now be created using the :NAME
initarg and MAKE-INSTANCE / REINITIALIZE-INSTANCE, as specified by
AMOP. (reported by Leonid Slobodov on comp.lang.lisp)
* fixed bug: core-files saved with :EXECUTABLE T can again be
executed when SBCL_HOME isn't set. (reported by James Knight)
* fixed bug: toplevel LOCALLY forms with declarations could
occasionally get miscompiled. (reported by Yaroslav Kavenchuk)
* fixed bug: printing from several different threads using different
values of *print-case* could cause invalid output, due to
some internal special variables of the printer not being bound
thread-locally (reported by Max Mikhanosha)
* fixed bug: SPECIALIZER metaobjects (including anonymous classes
and EQL-SPECIALIZERs) can be used as specializers to DEFMETHOD.
(reported by Pascal Costanza)
* fixed bug: FINALIZE-INHERITANCE is called from
REINITIALIZE-INSTANCE on classes when the class has previously
been finalized, as required by AMOP.
* minor code generation optimizations:
** better register allocation in CLOS dispatching functions
** overflow detection when coercing signed bytes to fixnums on x86-64
** is now implemented with one IMUL instruction instead of three shifts
** more efficient bit-vector access on x86 and x86-64
** more efficient access to raw structure slots on x86 and x86-64
* fixed some bugs revealed by Paul Dietz' test suite:
** ENSURE-DIRECTORIES-EXIST.8: ENSURE-DIRECTORIES-EXIST must
return its argument.
changes in sbcl-0.9.14 relative to sbcl-0.9.13:
* feature: thread support on Solaris/x86, and experimental thread support
on OS X/x86.
* feature: SBCL now tries to signal a STORAGE-CONDITION when running out
of heap.
* feature: SBCL now provides USE-VALUE and STORE-VALUE restarts in the
default method for SLOT-UNBOUND.
* minor incompatible change: prevent the user from specializing the
new-value argument to SB-MOP:SLOT-VALUE-USING-CLASS. It's
somewhat counter to the intent of the protocol, I (CSR) think, and
additionally it just doesn't work in SBCL as currently
implemented, thanks to optimizations (that are always valid for
the other three SLOT-VALUEish functions, but not for the setter).
* minor incompatible change: the :SB-LDB feature is now enabled by
default, and DISABLE-DEBUGGER and ENABLE-DEBUGGER also affect
the low-level debugger.
* enchancement: RUN-PROGRAM is now able to extract the file-descriptor
from SYNONYM-STREAM and TWO-WAY-STEAMS provided they can be decomposed
down to an SB-SYS:FD-STREAM, allowing direct communication in
more cases. Temporary files and pipes are still used as a fallback
strategy.
* thread-safety: DECODE-UNIVERSAL-TIME & GET-DECODED-TIME depended
on the non-reentrant C functions localtime(3) and gmtime(3).
* bug fix: global optimization policy was not visible in LOCALLY and
MACROLET forms.
* bug fix: class objects can be used as specializers in methods.
(reported by Pascal Costanza)
* bug fix: native unparsing of pathnames with :DIRECTORY NIL failed
with a type error. (reported by blitz_ on #lisp)
* bug fix: unparsing logical pathnames with :NAME :WILD :TYPE NIL
failed with a type error. (reported by Pascal Bourguignon)
* bug fix: merging pathnames against defaults with :DIRECTORY
starting with '(:RELATIVE :BACK) should preserve the :BACK.
(reported by James Y Knight)
* bug fix: saving large (>2GB) cores on x86-64 now works
* bug fix: a x86-64 backend bug when compiling (setf aref) with a
constant index and a (simple-array (signed-byte 32)) array
* bug fix: NAME-CHAR on an invalid symbol no longer signals an
error (patch by Robert J. Macomber)
* feature: TIME now displays the amount of run-time spent in GC
* bug fix: The debugger now does a better job of respecting
(PUSH '(*PRINT-CIRCLE* . T) SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*)
when printing SB-DEBUG:*DEBUG-CONDITION*. (This is a debugger-only
workaround for bug 403.)
* bug fix: floating point exception handling now works on FreeBSD
(thanks to NIIMI Satoshi)
* fixed some bugs revealed by Paul Dietz' test suite:
** MISC.641: LET-conversion were not supposed to work in late
compilation stages.
* improvements to the Win32/x86 port:
** GET-INTERNAL-RUN-TIME implemented, thanks to Frank Buss.
** improved SB-BSD-SOCKETS support, thanks to Timothy Ritchey.
changes in sbcl-0.9.13 relative to sbcl-0.9.12:
* new feature: source path information is generated for macro-expansion
errors for use in IDE's like Slime (thanks to Helmut Eller)
* bug fix: calls to the compiler no longer modify *RANDOM-STATE*
* bug fix: compiler does not loop forever on an invalid type in
TYPEP.
* improvement: compilation of most CLOS applications is significantly
faster
* optimization: added a limited bytecode compiler for simple toplevel
forms, speeding up compilation and FASL loading
* bug fix: the statistical profiler now properly distinguishes anonymous
functions
changes in sbcl-0.9.12 relative to sbcl-0.9.11:
* minor incompatible change: in sbcl-0.9.11 (but not earlier
versions) SB-MOP:FINALIZE-INHERITANCE would recursively descend
into subclasses of the finalized class. Now user calls to
FINALIZE-INHERITANCE finalize just the one class, and calls by the
system return before any subclasses are finalized.
* minor incompatible change: The reader no longer ignores errors
regarding non-existent packages in #+ and #- feature tests.
* new feature: command line options --no-sysinit, --no-userinit to
inhibit loading the corresponding init files
* new feature: add a generic function SOCKET-SEND to SB-BSD-SOCKETS,
for sending data through UDP sockets (thanks to François-René Rideau)
* minor incompatible change: SIGPIPE is ignored and "Broken pipe"
error is signalled instead (thanks to François-René Rideau)
* minor incompatible change: Error signalling behaviour of lexical
operations violating package locks has changed slightly. Refer to
documentation on package locks for details.
* enhancement: EVAL can process IF-expressions without resorting to the
compiler.
* bug fix: Some operations involving SIN, COS, or TAN weren't being
constant-folded properly due to missing out-of-line functions.
(reported by Mika Pihlajamäki)
* bug fix: LISTEN sometimes returned T even in cases where no data was
immediately available from the stream
* fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR
were reversed. (reported by Levente Mészáros)
* fixed bug: Tests for the (VECTOR T) type gave the wrong answer
when given a vector displaced to an adjustable array. (reported
by Utz-Uwe Haus)
* bug fix: derivation of float boundaries from numbers outside the
appropriate float range (reported by John Wiseman)
* bug fix: MAKE-LOAD-FORM-SAVING-SLOTS accepts en empty slot name
list.
* bug fix: precomputing cache entries for generic functions with
some subclasses of specializers as yet invalid does not attempt to
fill a cache line with a negative offset. (reported by Levente
Mészároz)
* improvements to DOCUMENTATION for TYPE and STRUCTURE doc-types:
allow condition class objects as arguments to DOCUMENTATION and
(SETF DOCUMENTATION); only find and set documentation for
structure names for the STRUCTURE doc-type. (suggested by Gary
King)
* improvements to the Win32/x86 port:
** (user-homedir-pathname) and default initialization file
locations now know about the user's "Documents and Settings"
directory (thanks to Yaroslav Kavenchuk)
** run-program is implemented (thanks to Mike Thomas)
** sockets support (thanks to Timothy Ritchey)
** better backtrace support (thanks to Alastair Bridgewater)
** sb-grovel supported
** asdf-install and sb-posix work somewhat
** capable of running Slime using SWANK:*COMMUNICATION-STYLE* NIL
* improvements to the Solaris/x86 port:
** works on Solaris 11/Solaris Express
** floating-point exception handling support
** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility
* fixed some bugs revealed by Paul Dietz' test suite:
** REMOVE-METHOD returns its generic function argument even when
the method is not one of the generic functions' methods.
** objects declared as MEMBER types can be admissible arguments to
structure accessors.
** printing characters should simply be printed by the FORMAT ~:C
directive.
** compiler failure when compiling functions with hairy constant
defaults for optional parameters.
** compiler produces wrong code when MAYBE-INLINE-expanding a
function, which is already optimized.
changes in sbcl-0.9.11 relative to sbcl-0.9.10:
* new platform: experimental support for SBCL x86/Darwin, including
MacOS X 10.4.5 on Intel.
* new feature: Unicode character names are now known to the system
(through CHAR-NAME and NAME-CHAR).
* new feature: the filesystem location of SBCL's core file is
exposed to lisp through the variable SB-EXT:*CORE-PATHNAME*.
* minor incompatible change: the contrib modules SB-POSIX and
SB-BSD-SOCKETS no longer depend on stub C libraries; the intent of
this change is to make it easier to distribute
location-independent binaries.
* bug fix: as implied by AMOP, standardized classes no longer have
slots named by external symbols of public packages. (reported by
Pascal Costanza)
* optimization: calling functions via constant symbols -- as in
(FUNCALL 'FOO) -- is now roughly as efficient as calling them
via the function object as in (FUNCALL #'FOO).
* optimization: on x86 and x86-64, the calling convention for the
case of dealing with an unknown number of values has been altered
to be friendlier to the prediction heuristics implemented,
particularly with reference to CALL and RET pairing. (thanks to
Alastair Bridgewater)
* optimization: on x86, the code for access to thread-local symbol
values and binding/unbinding of thread-local symbols is smaller.
(thanks to Alastair Bridgewater)
* enhancement: CONSTANTP is now able to determine constantness of
more complex forms, including calls to constant-foldable standardized
functions and some special forms beyond QUOTE.
* fixed bug: occasional GC crashes on Solaris/x86
* optimization: x86-64 supports stack allocation of results of simple
calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT
* enchancement: the PROCESS-INPUT and -OUTPUT streams created by
SB-EXT:RUN-PROGRAM can be used for both character and byte IO
(thanks to James Knight)
* fixed bug: CL:LISTEN always returns NIL at end of file, as required
by the standard (thanks to Stephen Compall)
changes in sbcl-0.9.10 relative to sbcl-0.9.9:
* new feature: new SAVE-LISP-AND-DIE keyword argument :EXECUTABLE can
be used for bundling the runtime and the core file into one
executable binary. This feature is not currently supported on all SBCL
platforms. (thanks to James Bielman and NIIMI Satoshi)
* new feature: a generational or ephemeral garbage collector is now
the default on the PowerPC platform (both Linux and Darwin). The
old Cheney (stop and copy) collector is a build-time option.
(thanks to Cyrus Harmon, after Raymond Toy)
* minor incompatible change: the method by which SBCL finds its
contributed modules has changed; it no longer relies on symbolic
links from an $SBCL_HOME/systems directory, but searches directly
in the subdirectories of $SBCL_HOME.
* enhancement: the dynamic heap size on the Linux/PPC platform is
markedly larger, even using the older Cheney garbage collector.
* fixed bug #399: full call to DATA-VECTOR-REF in accesses to
certain complicated string types. (reported by Gary King)
* fixed bug: STRING-TO-OCTETS and OCTETS-TO-STRING did not convert
character codes. (thanks to Yaroslav Kavenchuk and Ivan Boldyrev)
* fixed bug: DOCUMENTATION on structures no longer signals an
error if no structure type of the right name exists. (reported by
Glenn Ehrlich)
* fixed bug: compiled calls to MAKE-INSTANCE where there is an
applicable non-standard primary or :AROUND method on
INITIALIZE-INSTANCE or SHARED-INITIALIZE and a non-keyword initarg
no longer cause unbound variable errors. (reported by Kevin Reid)
* fixed bug: metacircle resolution in cases where methods have slots
added before the slots from STANDARD-METHOD. (reported by Jean
Bresson)
* fixed bug: the Power PC assembly code for calling into lisp
sometimes computed its return address wrongly (depending on the
15th bit of the address, fixed at link time). This used to
manifest itself in a segmentation violation while building PCL.
(reported by Kevin Rosenberg, Eric Marsden, Lars Brinkhoff and
many others over the years)
* fixed bug: ROOM no longer reports silly numbers for stack usage if
the stack pointer (treated as a signed integer) is negative.
(thanks to Peter van Eynde)
changes in sbcl-0.9.9 relative to sbcl-0.9.8:
* new platform: experimental support for the Windows operating
system has been added. (thanks to Alastair Bridgewater)
* fixed several bugs in and robustified the PPC FFI (including
callbacks). (thanks to Cyrus Harmon and Heiner Schwarte)
* bug fix: allow non-simple string symbol names (reported by Paul
Dietz)
* bug fix: interrupt handling on NetBSD (thanks to Richard M
Kreuter)
* bug fix: saving a core corrupted callbacks on x86/x86-64
* bug fix: closed a loophole in metacircularity detection and
grounding in the PCL implementation of CLOS.
* bug fix: TRUENAME on "/" no longer returns a relative pathname.
(reported by tomppa on #lisp)
* bug fix: clear the direction flag on Lisp -> C transitions, as
required by the x86-64 ABI. Fixes mysterious GC crashes on SuSE.
(reported by Andrej Grozin and Hendrik Maryns)
* optimization: major improvements to GC efficiency on GENCGC platforms
* optimization: faster implementation of EQUAL
* optimization: emit more efficient opcodes for some common
immediate->register MOV instructions on x86-64. (thanks to Lutz Euler)
* optimization: several other minor code-generation improvements on x86-64
* fixed segfaults on x86 FreeBSD 7-current. (thanks to NIIMI Satoshi)
changes in sbcl-0.9.8 relative to sbcl-0.9.7:
* minor incompatible change: (SETF CLASS-NAME) and (SETF
GENERIC-FUNCTION-NAME) are generic functions once more (reverting
the change in the 0.9.7 release). (SETF CLASS-NAME) is specified
by ANSI as a generic function, and for consistency (SETF
GENERIC-FUNCTION-NAME) is treated likewise.
* fixed bug #233.b: make constraint propagation notice when a variable
value is changed after it is referenced but before it is used
* fixed bug #296: no more arbitrary behaviour from filenames with
odd characters as --load arguments. (reported by Adam Warner)
* fixed bug #390: :CHARACTER-SET pathname components now work as
expected. (reported by Tim Daly Jr)
* fixed bug #391: complicated :TYPE intersections in slot
definitions no longer cause an error in PCL internals.
* fixed bug #392: plugged a hole in the obsolete-instance protocol.
* bug fix: FILE-STRING-LENGTH is now external-format sensitive,
returning the number of octets which would be written to the
file-stream. (thanks to Robert J. Macomber)
* bug fix: the SB-SIMPLE-STREAMS contrib passes external-format
arguments to the internal stream functions. (thanks to David
Lichteblau)
* bug fix: stack exhaustion is now handled on the x86/SunOS
platform. (thanks to Daisuke Homma)
* bug fix: more accurate ROOM results on GENCGC platforms
* optimization: improved type inference for arithmetic-for
index variables in LOOP
* optimization: faster floating-point SQRT on x86-64
* fixed some bugs revealed by Paul Dietz' test suite:
** DOCUMENTATION returns NIL instead of "" for method combinations
that don't have a docstring
changes in sbcl-0.9.7 relative to sbcl-0.9.6:
* minor incompatible change: (SETF CLASS-NAME) and (SETF
GENERIC-FUNCTION-NAME) are no longer generic functions, and
therefore are not customizeable by user code (as seems to be at
least permitted and maybe required by AMOP). As a consolation,
however, the SBCL implementation of these functions now calls
REINITIALIZE-INSTANCE as specified by AMOP.
* bug fix: slot-definition documentation is propagated as per ANSI
7.6.2 to EFFECTIVE-SLOT-DEFINITIONS.
COMPUTE-EFFECTIVE-SLOT-DEFINITION now receives a :DOCUMENTATION
argument, as do eslotd initialization methods. (from Pascal
Costanza's "Closer" project)
* bug fix: REINITIALIZE-INSTANCE on generic functions calls
COMPUTE-DISCRIMINATING-FUNCTION (almost) unconditionally, as
specified by AMOP.
* bug fix: it is now possible to have more than one subclass of
STANDARD-GENERIC-FUNCTION without causing stack overflow.
(reported by Bruno Haible, Pascal Costanza and others)
* bug fix: the dependent update protocol now works for generic
functions. (thanks to Gerd Moellmann; reported by Bruno Haible
and Pascal Costanza)
* bug fix: condition-class instances corresponding to
DEFINE-CONDITION forms are now created eagerly. (reported by
Kalle Olavi Niemitalo on comp.lang.lisp)
* bug fix: floating point printing is more accurate in some
circumstances. (thanks to Simon Alexander)
* bug fix: *COMPILE-FILE-PATHNAME* now contains the user's pathname
merged with *DEFAULT-PATHNAME-DEFAULTS*.
* bug fix: callbacks on OS X now preserve stack-alignment.
(thanks to Cyrus Harmon)
* enhancement: the x86-64 disassembler is much better at
disassembling SSE instructions. (thanks to Lutz Euler)
* enhancement: CHECK-TYPE on a variable now allows type-inference
(thanks to Vincent Arkesteijn)
* optimization: improved performance of EUC-JP external format.
(thanks to NIIMI Satoshi)
* optimization: performance improvements to IO on file streams of
:ELEMENT-TYPE CHARACTER
* optimization: much faster memory allocation on x86-64
* optimization: faster garbage collections (latency and throughput)
on gencgc
* optimization: faster bignum subtraction and division on x86 and x86-64
(thanks to Lutz Euler)
* optimization: more accurate type-inference for loops that use a
floating point index variable or a negative step.
changes in sbcl-0.9.6 relative to sbcl-0.9.5:
* bug fix: add a workaround to SBCL looping infinitely at startup on
Linux kernels with apparently buggy implementations of personality().
(thanks to Svein Ove Aas)
* bug fix: Unicode symbols are correctly printed in LDB backtraces
(thanks to David Lichteblau)
* bug fix: local bindings shadow global symbol macros for
macroexpansion. (reported by Matthew D Swank on comp.lang.lisp)
* optimization: non-open coded uses of numeric comparison operators
(e.g. >) no longer cons when called with more than one parameter
on platforms supporting dynamic-extent allocation.
* enhancement: saving cores with foreign code loaded is now supported
on MIPS/Linux in addition to the previously supported platforms.
* bug fix: FIND-RESTART now tests for activity, not applicability when given
a restart object as identifier. (reported by Helmut Eller for CMUCL)
* bug fix: division by zero in sb-sprof when no samples were collected
* bug fix: a race when a slow to arrive sigprof signal killed sbcl
* bug fix: asdf-install uses CRLF as required by the HTTP spec.
(thanks to Alexander Kjeldaas)
* new feature: ignoring the return values of destructive functions