forked from slime/slime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
23208 lines (16774 loc) · 838 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
2015-06-01 Luís Oliveira <[email protected]>
* swank/sbcl.lisp: Added workaround for a bug in SBCL 1.2.12's
SB-EXT:RESTRICT-COMPILER-POLICY. Courtesy of Stas Boukarev.
2015-05-20 Helmut Eller <[email protected]>
* slime.el (slime-xref-mode-map): Bind . and , for compatibility.
2015-05-07 Attila Lendvai <[email protected]>
Make the inspector work more like web browsers: bind left click to
follow link, and mouse 6/7 for forward and back navigation.
* slime.el (slime-inspector-mode-map): Bind [mouse-1], [mouse-6]
and [mouse-7].
2015-05-03 Luís Oliveira <[email protected]>
Add default values for many SLDB faces as suggested by Attila
Lendvai in pull request #107.
* slime.el (define-sldb-faces): Add more default values.
2015-05-03 Luís Oliveira <[email protected]>
Remove obsolete function slime-face-inheritance-possible-p. Face
inheritance has been available since Emacs 21.1, released in 2001.
* slime.el (slime-face-inheritance-possible-p): Remove it.
(slime-inspector-value-face, slime-inspector-action-face)
(define-sldb-faces, slime-highlight-face): Remove call to
slime-face-inheritance-possible-p.
2015-05-03 Mark Evenson <[email protected]>
* swank/abcl.lisp (frame-locals frame-var-value): Fix off by one
errors in inspecting arguments across stack frames. Attempt to
match arguments to parameters recorded at compile time.
2015-04-19 Stas Boukarev <[email protected]>
* swank/sbcl.lisp (*definition-types*): Add new type, :alien-type.
2015-04-17 Stas Boukarev <[email protected]>
* swank/sbcl.lisp (*definition-types*): Add new type, :declaration.
2015-04-14 Stas Boukarev <[email protected]>
* swank/sbcl.lisp (*definition-types*): Add a new type,
:ir1-convert. SBCL now handles def-ir1-translator location
differently.
2015-04-02 Stas Boukarev <[email protected]>
* swank.lisp (format-values-for-echo-area): Present a float
representation of ratios, i.e. 1/2 will be "=> 1/2 (0.5)"
2015-03-29 Stas Boukarev <[email protected]>
* swank/source-path-parser.lisp (source-path-source-position): Do
what it actually says, return the deepest _possible_, not the
deepest subform.
2015-02-19 Luís Oliveira <[email protected]>
* slime.el (slime-cycle-connections): It's an obsolete function,
not an obsolete variable.
(slime-prev-connection): Tweak docstring.
2015-02-12 Stas Boukarev <[email protected]>
* swank/sbcl.lisp (definition-source-buffer-and-file-location):
Fix xrefs from C-c C-c. source-file-position may now return NIL,
be prepared.
2015-02-08 Adlai Chandrasekhar <[email protected]>
* slime.el (slime-next-connection, slime-prev-connection): New
functions for cycling connections in both directions, deprecating
slime-cycle-connections and adding 'C-c C-x p' (and ?p in
slime-selector) for cycling in the opposite direction.
2015-01-28 Helmut Eller <[email protected]>
* swank/source-path-parser.lisp (skip-toplevel-forms): Use the
package tracking code; return multiple values instead of a macro.
Also remove the error handling; let it crash.
(skip-one-toplevel-form): New helper.
(call-with-skipping-toplevel-forms, with-skipping-toplevel-forms):
Merged into skip-toplevel-forms.
2015-01-27 Gábor Melis <[email protected]>
* Makefile (clean-fasls): Don't fail if ~/.slime/fasl/ does not
exist.
* swank/source-path-parser.lisp: Make source parser to honor
SWANK:*READTABLE-ALIST* which makes M-. work on SBCL even if
skipping over forms requires a special readtable.
2015-01-27 Helmut Eller <[email protected]>
* lib/hyperspec.el (common-lisp-hyperspec-root): Use file://
in example.
2015-01-02 Luís Oliveira <[email protected]>
* slime.el (slime-path): Only set slime-path at load-time. Setting
at compile time is potentially premature if compilation is not
immediately followed by loading. (See gh issue #125 for more
discussion.)
(slime--changelog-file-name): New function. Computes
the location of the SLIME ChangeLog based on
byte-compile-current-file at compile time, or based on slime-path
at load time when slime.el is not compiled.
(slime-changelog-date): Use slime--changelog-file-name. No longer
looks at slime-path at compile time.
2015-01-05 Christian Schafmeister <[email protected]>
* swank/clasp.lisp: New file.
* swank-loader.lisp (*sysdep-files*, *implementation-features*)
(clasp-version-string, lisp-version-string): Added CLASP backend.
2014-12-23 Daniel Kochmański <[email protected]>
* swank-loader.lisp (*architecture-features*): Add ARM architectures
as reported by ECL (armv5l, armv6l and armv7l) to mentioned variable.
2014-12-17 Luís Oliveira <[email protected]>
* swank-loader.lisp (delete-packages): Robustify in case some
package outside the set returned by LIST-SWANK-PACKAGES uses one
of the SWANK packages. Previous version would enter an infinite
loop.
2014-12-15 Luís Oliveira <[email protected]>
Fix deletion of SWANK packages in swank-loader.lisp. Reported by
Ruben Vaz.
* swank-loader.lisp (list-swank-packages): Catch more SWANK
packages.
(string-starts-with): Refactored out from LIST-SWANK-PACKAGES.
(delete-packages): New function capable of
deleting interdependent packages.
(init): Use it.
2014-12-12 Luís Oliveira <[email protected]>
Don't try to save every changed buffer when compiling a file.
* slime.el (slime--maybe-save-buffer): New function adapted from
slime--save-some-buffers that maybe saves the current buffer
rather than potentially every changed buffer.
(slime-compile-file): Use it.
2014-12-04 Adlai Chandrasekhar <[email protected]>
Factor out an "AST-sugar" macro for concisely stating a condition
system idiom: restarting an operation after performing one or more
changes to its execution state and environment.
* swank.lisp (restart-loop, socket-quest): Factor out the macro, and
refactor socket-quest with it.
2014-12-04 Adlai Chandrasekhar <[email protected]>
Factor out the socket-quest function, which also incorporates a default
behavior of incrementing the port number by one.
* swank.lisp (socket-quest, setup-server): Factor out the former, and
call it from the latter.
* contrib/swank-repl.lisp (open-dedicated-output-stream): Drop in a call
to our new quest-wrapper, for good measure.
2014-12-04 Adlai Chandrasekhar <[email protected]>
Add a loop around the port number restart to allow multiple tries.
* swank.lisp (setup-server): Successful socket creation terminates
the loop through the return statement.
2014-12-04 Adlai Chandrasekhar <[email protected]>
* swank.lisp Delete trailing whitespace.
2014-11-18 Adlai Chandrasekhar <[email protected]>
Add a restart around socket creation to allow trying other ports
should the initially selected number be unavailable.
* swank.lisp (setup-server): Offer a use-value restart around the
call to backend code, which retries the call on a different port.
2014-11-28 Luís Oliveira <[email protected]>
Restore workingness for Allegro's modern mode.
* swank/allegro.lisp (gray-package-name): Let the reader decide
whether the package name is in lower or upper case.
2014-11-26 Luís Oliveira <[email protected]>
Make sure the contrib directory is pushed to load-path so that
package.el succeeds in byte compiling the contribs.
* slime.el (slime--setup-contribs): Always push the contrib
directory to load-path, even if there aren't any contribs to load.
2014-11-22 Luís Oliveira <[email protected]>
Avoid compiling a stale slime-path into slime.elc when upgrading
SLIME within an Emacs session, e.g. via MELPA. (gh issue #125)
* slime.el (slime-path): Use setq.
2014-11-18 Luís Oliveira <[email protected]>
Regression test for slime-recompile-all-xrefs.
* slime-tests.el (slime-recompile-all-xrefs): New test.
2014-11-18 Bart Botta <[email protected]>
* slime.el (slime-all-xrefs): Call forward-line directly instead
of slime-next-line/not-add-newlines.
(slime-next-line/not-add-newlines): Delete.
2014-11-17 Stas Boukarev <[email protected]>
* slime.el (slime-all-xrefs): Know when to stop iterating over
buffer lines.
2014-11-16 Bart Botta <[email protected]>
Fix source locations when recompiling from an xref buffer.
* slime.el (slime-recompile-locations): Pass full filenames to
swank:compile-multiple-strings-for-emacs.
2014-11-14 Luís Oliveira <[email protected]>
* doc/slime.texi (Installation): Reworked to add MELPA
instructions.
* doc/contributors.texi: Include this auto-generated file so that
MELPA is able to build the manual.
* README.md: Add instructions on how to use MELPA to install SLIME
and move the Git instructions to the manual and other minor
tweaks.
2014-10-10 Luís Oliveira <[email protected]>
* swank-loader.lisp (init): Delete swank/* packages.
(dump-image): use SWANK/BACKEND.
2014-10-09 Luís Oliveira <[email protected]>
* swank/backend.lisp (swank/backend): Add SWANK-BACKEND nickname
to ease the migration of external projects.
2014-10-02 Helmut Eller <[email protected]>
Can't use Gray streams for ABCL
* swank/abcl.lisp (make-output-stream, make-input-stream): Use
ext:make-slime-output-stream because ABCL's Gray streams don't
work well enough.
* swank-loader.lisp (*sysdep-files*, *swank-files*): Don't load
swank/gray.lisp for ABCL.
2014-10-01 Luís Oliveira <[email protected]>
* swank-loader.lisp (src-files): inherit src-dir's defaults,
otherwise things like the Windows drive won't be picked up.
2014-09-30 Robert P. Goldman <[email protected]>
* doc/slime.texi (Other configurables): fixed anchor and
cross-reference since makeinfo doesn't colons in reference
targets.
2014-09-30 Helmut Eller <[email protected]>
* swank/backend.lisp (codepoint-length): Deleted. No longer used.
2014-09-30 Helmut Eller <[email protected]>
Fix some compiler warnings.
* slime-tests.el (slime-tests--undefine-all): Use cl-remprop
instead of remprop.
(slime-test--compile-defun): Fix typo.
2014-09-30 Helmut Eller <[email protected]>
Fix github issue #193. Respect compilation-ask-about-save.
* slime.el (slime--save-some-buffers): New helper.
(slime-compile-file): Use it.
* slime.el (slime-echo-arglist): Renamed from slime-show-arglist
as there still users of it.
2014-09-30 Helmut Eller <[email protected]>
* swank/cmucl.lisp: Require at least version 20c and remove some
code that was there only for compatibility with older versions.
2014-09-30 Helmut Eller <[email protected]>
* swank/cmucl.lisp, swank/sbcl.lisp: Whitespace cleanup.
2014-09-30 Helmut Eller <[email protected]>
Fix github issue #192
sb-sys:enable-interrupt does not exist on SBCL +win32
so disable it on Windows.
* swank/sbcl.lisp (add-sigio-handler, remove-sigio-handlers):
Disable it on Windows along with install-sigint-handler.
2014-09-29 Helmut Eller <[email protected]>
More deadlock workaround workarounds.
* swank/sbcl.lisp (stream-force-output): Use swank/gray.
2014-09-26 Helmut Eller <[email protected]>
* slime-tests.el (compile-defun-with-backquote): Fails for
SBCL also on Travis now.
(compile-file): Works for LispWorks.
2014-09-26 Helmut Eller <[email protected]>
Fix github issue#190
* swank/clisp.lisp: Use swank/clisp as package qualifier where
needed.
2014-09-13 Helmut Eller <[email protected]>
Move backend files to new swank/ directory.
In the swank/ directory drop the swank- prefix from filenames.
To mirror the directory structure in package names use swank/
instead of swank- as prefix. (This will presumably break a lot of
code as many people seem to assume that a swank-backend package
exists.)
* swank-loader.lisp (src-files): Treat lists like (swank foo) as
the filename swank/foo.lisp.
2014-09-13 Helmut Eller <[email protected]>
Add support for MKCL
* swank-mkcl.lisp: New file. Mostly the one from MLCL's contrib/
directory.
* swank-loader.lisp (*sysdep-files*): Add swank-mkcl and move
swank-gray to the shared *swank-files*.
2014-09-13 Helmut Eller <[email protected]>
Remove no longer needed indirections.
* slime.el (slime-echo-arglist-function, slime-echo-arglist):
Deleted. slime-autodoc was the only client and the indirection
makes the code unnecessary complicated.
(slime-space): Call slime-show-arglist directly.
2014-09-12 Douglas Katzman <[email protected]>
* swank-sbcl.lisp (macroexpand-all): sb-cltl2:macroexpand-all is
preferable to using sb-walker directly
2014-09-10 Helmut Eller <[email protected]>
Fix gray stream issue for SBCL
The pretty printer seems to call the non-standard
stream-line-length generic function.
* swank-sbcl.lisp (sb-gray:stream-line-length): Implement default.
2014-09-10 Helmut Eller <[email protected]>
* swank-sbcl.lisp (frame-call): Muffle unreachable code warnings.
2014-09-09 Helmut Eller <[email protected]>
Rename destructure-case -> slime-dcase.
That keeps the namespace clean, even though it's unlikely that
anybody else would have used that name.
Do the analog destructure-case -> dcase renaming on the CL side
to keep the names similar.
* slime.el (slime-dcase): Renamed from destructure-case. Update
users accordingly.
* swank.lisp (dcase): Renamed from destructure-case. Update users
accordingly.
2014-09-09 Helmut Eller <[email protected]>
* swank-backend.lisp (gray-package-name): Fix docstring.
2014-09-09 Helmut Eller <[email protected]>
Make the ugly deadlock workaround even more ugly.
* swank-sbcl.lisp (stream-force-output): Create swank-gray package
early enough.
2014-09-09 Helmut Eller <[email protected]>
Remove non-used optional gray stream methods.
* swank-gray.lisp (stream-read-char-will-hang-p)
(stream-line-length): Deleted.
2014-09-08 Helmut Eller <[email protected]>
Use a separate package for swank-gray.lisp.
Use gray streams also for CMUCL, SCL, and ABCL.
* swank-backend.lisp (gray-package-name): New interface function.
(import-from): Deleted. No longer used.
(*gray-stream-symbols*): Moved to swank-gray.lisp.
* swank-abcl.lisp, swank-cmucl.lisp, swank-scl.lisp
(gray-package-name): Implemented and delete old implementations of
make-input-stream and make-output-stream.
* swank-allegro.lisp, swank-ccl.lisp, swank-clisp, swank-ecl.lisp,
swan-lispworks.lisp, swank-sbcl.lisp, (gray-package-name):
Implemented.
* swank-gray.lisp: Make and use swank-gray package for this file.
* swank-loader.lisp (*sysdep-files*): Load swank-gray for CMUCL,
SCL, and ABCL.
2014-09-07 Helmut Eller <[email protected]>
Replace cl-values with list because that's shorter.
* slime.el (slime-group-and-sort-notes,
(slime-insert-compilation-log)
(slime-goto-next-xref): Use list.
2014-09-07 Helmut Eller <[email protected]>
* swank-cmucl.lisp, swank-scl.lisp (*source-snippet-size*):
Remove redundant definitions.
2014-09-07 Helmut Eller <[email protected]>
* Makefile (compile-swank, run-swank): New targets.
(clean-fasls): Also remove ~/.slime/fasl/.
2014-09-07 Helmut Eller <[email protected]>
Clear all tests out at the beginning.
* slime-tests.el (slime-tests--undefine-all): New function.
2014-09-07 Helmut Eller <[email protected]>
Use one package per backend to make interfaces more explicit.
* swank-abcl.lisp, swank-allergo.lisp, swank-ccl.lisp,
swank-clisp.lisp, swank-ecl.lisp, swank-lispworks,
swank-sbcl.lisp, swank-scl.lisp, swank-source-file-cache.lisp,
swank-source-path-parser.lisp: Use packages.
* swank-backend.lisp: Export some more stuff.
2014-09-07 Helmut Eller <[email protected]>
Get rid of when-let as it conflicts with a definition subr-x.el
* slime.el (when-let): Deleted. Update all uses accordingly.
2014-09-02 Luís Oliveira <[email protected]>
* doc/slime.texi: use plain rather than typographical quotes in
code blocks so that examples from the PDF manual can be copy and
pasted directly.
2014-09-02 Helmut Eller <[email protected]>
Factor out the backquote test.
* slime-tests.el (slime-test--compile-defun): New helper.
([test] compile-defun, compile-defun-with-reader-conditionals):
Use it.
([test] compile-defun-with-backquote): New.
2014-09-02 Helmut Eller <[email protected]>
Allow partially visible lines when scrolling.
[github issue #186]
* slime.el (slime--adjust-window-start)
(slime--adjust-window-point): Relax the assertion to allow
partially vsible lines.
2014-08-26 Helmut Eller <[email protected]>
SBCL's reader changed recently. Fix some issues caused by that.
* swank-source-path-parser.lisp (make-source-recording-readtable):
Wrap the sharp-dot "#." reader before wrapping the dispatch macro
"#" because with the new reader get-dispatch-macro-character
doesn't work if "#" is wrapped first. Suggested by Paulo Madeira.
(skip-whitespace): New helper.
(read-source-form): Use it. Skipping over whitespace is a slight
improvement and seems fairly conservative.
* slime-tests.el ([test] find-definition.2-2): New test.
2014-08-18 Mark Evenson <[email protected]>
* swank-abcl.lisp: Adjust MOP symbols to publically exported
version.
* swank-abcl.lisp (frame-locals): Implement inspection of sldb
frame args. Thanks to Theam Yong Chew.
2014-08-01 Helmut Eller <[email protected]>
For CMUCL, make M-. work on condition classes.
* swank-cmucl.lisp (pcl-class-location): Renamed from
class-location.
(class-location): New.
(class-definitions): Search condition classes in infodb.
2014-07-29 Helmut Eller <[email protected]>
* Makefile (clean-fasls): Recognize more file extensions.
2014-07-29 Helmut Eller <[email protected]>
Avoid some compiler warnings.
* swank-backend.lisp (utf8-encode): Avoid unreachable code
warnings.
(%utf8-encode): New helper.
* swank-sbcl.lisp (sbcl-wrap): Add ignore declaration.
* swank.lisp (before-init): Don't call
warn-unimplemented-interfaces as it confuses first time users.
(thread-for-evaluation): Suppress unused var warnings.
2014-07-28 Helmut Eller <[email protected]>
Fix bug involving stale window-end.
Call window-end with update=t. That works better than calling
redisplay when we scroll because window-end may be wrong even
without scrolling.
* slime.el (slime--adjust-window-point): Call window-end with
update argument.
(slime--adjust-window-start): Remove explicit call to redisplay.
Stricter assertion: LAST should be visible as long as
REGION-HEIGHT <= WINDOW-HEIGHT not <.
* slime-tests.el (display-region): Actually check point ends up as
expected. The old code was buggy and only checked for non-nil.
2014-07-27 Helmut Eller <[email protected]>
Fix another off-by-one bug.
* slime.el (slime--adjust-window-start): Scroll one line more.
Also handle case when (= start end 1).
* slime-tests.el (display-region): Add test.
2014-07-27 Helmut Eller <[email protected]>
Don't use cl-labels as it is miscompiled in some Emacs versions.
* slime.el (define-slime-contrib): Get rid of cl-labels.
(slime-contrib--enable-fun, slime-contrib--disable-fun): New
helpers.
2014-07-27 Helmut Eller <[email protected]>
Update modeline more often.
The numbers in the modeline can be out of date when all RPCs
complete without user input; probably because modeline updating is
performed in some lazy way.
* slime.el (slime--recompute-modelines): Resurrected.
(slime-dispatch-event): Force modeline updates.
(slime-modeline-string): Deleted. The variable is no longer
needed.
2014-07-27 Helmut Eller <[email protected]>
Fix display related bugs.
* slime.el (slime--adjust-window-start): Consider the END argument
exclusive but count trailing newlines normally. Adjust the
assertion so that (1- END) is the last visible position.
* slime-tests.el (display-region): Add tests for the situation
when (1- END) should be visible but not END.
2014-06-17 Stas Boukarev <[email protected]>
* swank-sbcl.lisp (emacs-inspect sb-kernel:code-component):
There's no TRACE-TABLE-OFFSET slot. Don't bother showing it on
older SBCLs, since it isn't really useful.
2014-05-16 Helmut Eller <[email protected]>
Fix display related bugs.
* slime.el (slime--display-region): Renamed from slime-recenter.
Also work in the case when the condition message takes up the
entire window.
(slime--adjust-window-start, slime--adjust-window-point): New
helpers.
(slime-show-source-location): Display buffer in other window, as
it always was. Invert no-highlight-p argument to simplify
callers. Add recenter-arg to get rid of the heuristic that
detected "sldb show source" vs. "show definition".
(slime--display-position): Factored out, again.
* slime-tests.el (display-region): New test.
(slime-test--display-region-line-to-position)
(slime-test--display-region-eval-arg): New Helpers.
2014-05-15 Helmut Eller <[email protected]>
* slime-tests.el: Break long lines.
2014-05-10 Stas Boukarev <[email protected]>
* swank-rpc.lisp (prin1-to-string-for-emacs): Convert floats into
double-floats, when possible. Emacs lisp only has double floats.
2014-05-08 Gábor Melis <[email protected]>
* swank-allegro.lisp (function-name, find-source-location): New.
* swank-backend.lisp (find-source-location): Fix name in error
message.
2014-05-06 Stas Boukarev <[email protected]>
* swank-source-path-parser.lisp (make-source-recorder): Remove
FUNCTION type declaration, get-macro-character returns a
designator, not a function. Recent changes to SBCL exposed the
problem.
2014-04-27 Christophe Rhodes <[email protected]>
* slime.el (slime-eval-with-transcript): Fix typo in docstring.
2014-04-27 João Távora <[email protected]>
* slime.el (slime-init-command): Also use `slime-to-lisp-filename'
for the port-filename.
2014-04-26 João Távora <[email protected]>
* slime.el (sldb-exit): An indirect, non-interactive exit from an
*sldb* buffer should just kill the buffer.
2014-04-15 João Távora <[email protected]>
* slime-tests.el (compile-defun-with-reader-conditionals): Renamed
from `compile-defun-with-reader-characters'. Break long lines.
* .travis.yml (env): Don't overtest on Emacs 23, as per comment.
(install): No need for trailing semicolon.
2014-04-15 Phil Hargett <[email protected]>
* slime-tests.el (compile-defun): Test split into two parts.
(compile-defun-with-reader-characters): Split from `compile-defun'
as CCL does not pass this part.
* .travis.yml (env): added targets to include CCL 1.9 for Travis
builds
2014-04-12 João Távora <[email protected]>
Unbreak CCL and CLISP and cleanup ChangeLog.
* metering.lisp ("SWANK-MONITOR"): Enter SWANK-MONITOR package.
2014-04-10 Phil Hargett <[email protected]>
Using nicknames, especially short terse ones, are more likely to
create package name conflicts with othe packages. Since swank is
widely used, its better to avoid using nicknames (or at least
short ones). All package nicknames removed.
Further, the MONITOR package has been renamed SWANK-MONITOR for
the same reason: without the extra qualification, the name could
conflict with other packages.
* contrib/swank-trace-dialog.lisp (defpackage swank-trace-dialog):
removed :std nickname
* metering.lisp (defpackage "MONITOR"): removed MON nickname,
touched up references in comments
* swank-ccl.lisp (profile, profiled-functions, unprofile)
(unprofile-all, profile-report, profile-reset, profile-package):
replaced use of nickname MON with new package name SWANK-MONITOR
* swank-clisp.lisp (profile, profiled-functions, unprofile)
(unprofile-all, profile-report, profile-reset, profile-package):
replaced use of nickname MON with new package name SWANK-MONITOR
2014-04-10 Stas Boukarev <[email protected]>
* slime.el (slime-trim-whitespace): Handle multiline strings.
2014-04-01 Helmut Eller <[email protected]>
* swank.lisp (%%condition-message): Bind *print-readably* for good
measure.
* swank-sbcl.lisp (set-default-directory): Call chdir.
2014-03-29 João Távora <[email protected]>
* slime.el (slime-describe-function): Be a little more precise and
prompt for a symbol naming a function.
2014-03-28 João Távora <[email protected]>
* slime.el (slime-init-command): Use `slime-to-lisp-filename'.
2014-03-27 João Távora <[email protected]>
Previous changes broke compilation for definitions in buffers that
don't have files(like *slime-scratch*). Finding definitions in
buffers that have a file name that doens't exist in the
file-system was also broken.
Also WHO-CALLS functionality for top-level forms is unreliable in
ACL, be it for temp or other loading mechanisms. For the former,
note *TEMP-FILE-MAP* might point to dead buffers and for the
latter, there is not enough file info in the .fasl
annotations. See http://franz.com/support/documentation/ \
current/doc/cross-reference.htm#in-functions-arg-2.
Therefore, this change also deletes the previous attempt by
FSPEC-DEFINITION-LOCATIONS to reliably follow :TOP-LEVEL-FORM
references..
* swank-allegro.lisp (fspec-definition-locations): Don't attempt
to interpret :TOP-LEVEL-FORM fspecs, since file info is always
unreliable.
* swank-allegro.lisp (compile-from-temp-file): Reinstate recording
in *TEMP-FILE-MAP* for all compilations. It is still useful if we
haven't saved the buffer or are operating from a file-less buffer,
like *slime-scratch*
2014-03-27 João Távora <[email protected]>
* swank-allegro.lisp (write-tracking-preamble): New function,
rewritten from previous hunk in COMPILE-FROM-TEMP-FILE for
clarity. Also adds PATHNAME call which broke the previous
approach.
(compile-from-temp-file): In Allegro 9.0, make redefinition
warnings trigger only once now that compilation and loading from
temp files are separate steps.
2014-03-27 Paulo Madeira <[email protected]>
Improve source file recording for ACL backend.
Finding definitions compiled with SWANK:SWANK-COMPILE-STRING
relied on a hash table mapping temporary file names to buffer
names, which broke when the original buffer was closed. A new
approach imitate's Franz's own ELI/LEP's and writes a preamble to
each temp file that sets the correct values for
EXCL::*SOURCE-PATHNAME* and *EXCL::*PARTIAL-SOURCE-FILE-P*
pointing to the correct spot in the original file.
For strings compiled in buffers with no file name, the previous
temp-file-to-buffer mapping is kept.
* swank-allegro.lisp (compile-from-temp-file): Use same technique
as ELI to store source pathname and position when compiling from
file buffers. Don't store buffer mapping for file buffers. Don't
prevent redefinition warnings for different source pathnames.
(buffer-or-file, find-fspec-location) Don't use buffer mapping for
file buffers.
2014-03-27 Helmut Eller <[email protected]>
Make it easier to specify regexps as test selector.
* Makefile (check): Use ' instead of " to avoid some of the
bizarre shell quoting rules. Don't evaluate SELECTOR.
(SELECTOR): Extra quoting no longer needed.
* Makefile (test): New target.
2014-03-27 Helmut Eller <[email protected]>
Fix bug in slime-complete-restore-window-configuration.
* slime.el (slime-complete-restore-window-configuration): Don't
use a timer. That was only needed for XEmacs and it was
accidentally started multiple times.
* slime-tests.el (read-from-minibuffer): New test.
2014-03-24 João Távora <[email protected]>
* slime.el (slime-popup-buffer-mode): A SLIME popup buffer is
always read-only.
(slime-recenter): New function.
(sldb-show-frame-details, sldb-setup): Use `slime-recenter'.
2014-03-19 Paulo Madeira <[email protected]>
Fix Allegro CL backend problem with temporary files.
* swank-allegro.lisp (swank-compile-string): Don't bind
*default-pathname-defaults*.
2014-03-09 João Távora <[email protected]>
Save and restore windows that popped debugger windows.
* slime.el (sldb-setup): Save previous window.
(sldb-exit): Restore.
Corrections after comments from Helmut.
* slime.el (slime-with-popup-buffer): Restore `mode' keyword arg,
defaults to `fundamental-mode'. Compute package and connection in
calling buffer.
(slime-with-popup-buffer): Bind q to `quit-window'
(slime-popup-buffer-quit): Remove it.
(slime-show-compilation-log, slime-edit-value-callback)
(slime-show-apropos, slime-with-xref-buffer)
(slime-create-macroexpansion-buffer, slime-list-threads)
(slime-list-connections, slime-inspector-buffer): Restore mode
arg.
(slime-goto-note-in-compilation-log): Fix search and recenter
(slime-edit-value-commit, slime-goto-xref, sldb-exit)
(sldb-close-step-buffer, slime-quit-threads-buffer)
(slime-inspector-quit): Use `quit-window'
(slime-show-source-location): Fix it.
(sldb-show-frame-details): Fix it (sldb-recenter-region was gone).
(slime-list-threads): Don't `local-set-key'.
(slime-thread-control-mode-map): Bind `q' here.
(slime-inspector-mode): Restore docstring.
* slime-tests.el (narrowing): Use `quit-window'.
2014-03-07 João Távora <[email protected]>
* slime.el (slime-popup-restore-data): Delete it.
(slime-with-popup-buffer): Remove `mode' arg. Redesign.
(slime-make-popup-buffer,slime-init-popup-buffer)
(slime-display-popup-buffer, slime-close-popup-window)
(slime-save-local-variables): Remove these functions.
(slime-popup-buffer-mode-map): Define this existing map
separately.
(slime-popup-buffer-mode): Don't use :keymap arg.
(minor-mode-alist): Remove XEmacs hack
(slime-popup-buffer-quit-function): Remove it
(slime-popup-buffer-quit): Use `quit-window'
(slime-show-compilation-log, slime-edit-value-callback)
(slime-show-apropos, slime-with-xref-buffer)
(slime-create-macroexpansion-buffer, slime-list-threads)
(slime-list-connections, slime-inspector-buffer): Don't pass :mode
arg to `slime-with-popup-buffer'.
(slime-goto-note-in-compilation-log): Redesign and use `recenter'
instead of `slime-show-buffer-position'.
(slime-goto-next-xref): Don't use `slime-show-buffer-position'
(sldb-setup): Use just `pop-to-buffer'
(slime-show-buffer-position): Remove it.
(sldb-recenter-region): Remove it.
(slime-show-source-location): Use `select-window' and `recenter'.
(slime-saved-window-config): Removed.
(slime-inspector-quit): Don't use `slime-saved-window-config'
(slime-inspector-mode): Enters `slime-popup-buffer-mode' minor
mode.
(slime-inspector-mode-map): Bind `q' to `slime-inspector-quit'.
2014-03-07 João Távora <[email protected]>
Removed XEmacs portability layer, fix some FIXME's, simplify
indentation specs.
* slime.el (require): Don't require features active by default on
GNU emacs.
(slime-underline-color): Removed
(slime-error-face, slime-warning-face, slime-note-face): Don't use
`slime-underline-color'
(slime-map-alist): Removed it
(slime-indulge-pretty-colors): Removed it. Font locking done all
in one place.
(slime-rex, slime-start, sldb-in-face): Fix indentation.
(slime-recompute-modelines, slime-xemacs-recompute-modelines)
(slime-run-when-idle)
(slime-minibuffer-respecting-message)
(slime-push-definition-stack, slime-pop-find-definition-stack)
(slime-recompile-bytecode, slime-safe-encoding-p)
(slime-connection-port, slime-xref-mode-map)
(define-slime-contrib): Remove XEmacs hacks.
(slime-define-channel-type, slime-define-channel-method)
(when-let, slime-define-keys, with-struct)
(slime-propertize-region, slime-with-rigid-indentation)
(slime-with-connection-buffer, slime-def-connection-var)
(slime-rex, slime-eval-async, slime-point-moves-p): Use`declare'
form for indentation.
(slime-connection): Use `slime-auto-start'.
(slime-auto-connect): Renamed to `slime-auto-start'. Provide
obsolete alias.
(slime-dispatch-event): Don't use `slime-recompute-modelines'
(slime-kill-all-buffers): Moved to contrib/slime-repl.el
(slime-compile-file-options): Make `defcustom'
(slime-file-name-merge-source-root)
(slime-highlight-differences-in-dirname): Don't use
`slime-split-string'
(slime-complete-delay-restoration,slime-setup-command-hooks): Use
`add-hook'
(slime-complete-restore-window-configuration)
(slime-xref-recompilation-cont): Add FIXME note. note.
(slime-xref-mode-map): Don't use interactive lambdas in keymap.
(slime-xrefs): Rewrite to not use `slime-map-alist'
(sldb-debugged-continuations): Simplify.
2014-03-07 João Távora <[email protected]>
* doc/slime.texi (SLIME Trace Dialog): Correct typos.
2014-03-05 Helmut Eller <[email protected]>
* swank-ccl.lisp: Cleanup whitespace.
(set-default-directory): Call ccl:cwd which calls chdir so that
subprocess pick it up.
2014-03-05 Helmut Eller <[email protected]>
Use hashtables instead of obarrays; that's less confusing.
* lib/hyperspec.el: (common-lisp-hyperspec--symbols): Renamed from
common-lisp-hyperspec-symbols. It's now a hashtable.
(common-lisp-hyperspec--insert): Renamed from intern-clhs-symbol.
(common-lisp-hyperspec--strip-cl-package): Renamed
from common-lisp-hyperspec-strip-cl-package.
(common-lisp-hyperspec-read-symbol-name): New helper. This one
can used by SLIME.
(common-lisp-hyperspec): Use helpers and hashtable.
(common-lisp-hyperspec--get-one-line): Renamed from
hyperspec--get-one-line.
(common-lisp-hyperspec--parse-map-file): New helper.
(common-lisp-hyperspec--reader-macros): Renamed from
common-lisp-hyperspec-reader-macros.
(common-lisp-hyperspec--format-characters): Renamed from
common-lisp-hyperspec-format-characters. It's also hashtable now.
(common-lisp-hyperspec--read-format-character): New helper.
(common-lisp-hyperspec-format): Use it,
(common-lisp-hyperspec--insert-format-directive): Renamed
from intern-clhs-format-directive.
(common-lisp-hyperspec--issuex-symbols): Renamed from
common-lisp-hyperspec-issuex-symbols event though issue index is
not actually used.
(hyperspec-lookup, hyperspec-lookup-reader-macro)
(hyperspec-lookup-format): Moved to end of file and remove
odd-looking (eval-when (load eval) ...)
(cl-lib): Load cl-lib from lib/ if needed.
* slime.el (slime-hyperspec-lookup): Use
common-lisp-hyperspec-read-symbol-name.
* Makefile (compile): Seems prudent not to use
batch-byte-recompile-directory as it may pollute the compile-time
environment.
(ELFILES): Include lib/*.el
(slime.elc): Compile lib/hyperspec.el first.
2014-03-04 João Távora <[email protected]>
* slime.el (require): Move some libs out of `eval-when-compile'.
2014-03-03 João Távora <[email protected]>
* .travis.yml: Check slime-indentation contrib in travis. Notice
that tests pass for now (Emacs 24.3), but at least 5 will fail on
upcoming Emacs 24.4.
2014-03-02 João Távora <[email protected]>