/[slime]/slime/swank-source-path-parser.lisp
ViewVC logotype

Log of /slime/swank-source-path-parser.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Apr 7 10:23:39 2012 UTC (2 years ago) by heller
Branch: MAIN
CVS Tags: HEAD
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 , to selected 1.13
Even more long line breaking.

Revision 1.22 - (view) (annotate) - [select for diffs]
Tue May 19 10:51:38 2009 UTC (4 years, 11 months ago) by nsiivola
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-2, SLIME-2-3, byte-stream
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 , to selected 1.13
guard agains source path mapping hitting reader errors

  Example: compile (defun foo () (bar)) in a file. Edit
  the definition to look like (defun foo () (nopackage:bar)),
  close the file and hit M-. foo. Prior to this an error shows
  in the minibuffer, and nothing else happens.

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:19 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 , to selected 1.13
* swank-source-path-parser.lisp (make-source-recorder)
(source-path-source-position): Adjust the file-position before
entering it the table.

Revision 1.20 - (view) (annotate) - [select for diffs]
Sun Mar 23 23:34:41 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.19: +27 -12 lines
Diff to previous 1.19 , to selected 1.13
	* swank-source-path-parser.lisp

	The source parser READs in files, and if such a file contains some
	nasty #. hackery that results in an error being signalled, M-. would
	fail on anything that's defined in those files. Fix that by using
	a special #. reader function that invokes the original #. reader
	with an IGNORE-ERRORS wrapped around.

	(make-sharpdot-reader): New function.
	(make-source-recording-readtable): Use it and install it on #.

	* slime.el (find-definition.2): New test case to guard against it.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Mar 17 11:35:26 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.18: +21 -6 lines
Diff to previous 1.18 , to selected 1.13
* swank-source-path-parser.lisp:

  Multibyte characters in files could screw up compiler-notes
  highlighting on SBCL. Fix that.

  (skip-toplevel-forms): Abstracted out from READ-SOURCE-FORM.
  (source-path-file-position): Don't operate on the file stream
  directly, since CL:FILE-POSITION may not return character but
  binary offsets on such streams; instead slurp file content into a
  buffer string, and operate on that.

Revision 1.18 - (view) (annotate) - [select for diffs]
Sun Jan 27 10:15:52 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.17: +1 -14 lines
Diff to previous 1.17 , to selected 1.13
Fix source-path mapping for #+#.'(:and).
Patch by Luis Oliveira.

* swank-source-path-parser.lisp (make-source-recording-readtable):
don't suppress the #. reader macro.
(read-and-record-source-map): don't bind *read-eval* to nil.
(suppress-sharp-dot): unused, delete it.

* slime.el (test compile-defun): test with #+#.'(:and).

Revision 1.17 - (view) (annotate) - [select for diffs]
Sun Jun 25 08:33:16 2006 UTC (7 years, 10 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-2-1
Branch point for: contrib
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 , to selected 1.13
(suppress-sharp-dot): Return a unique symbol to avoid nil entries at
toplevel in the source-map.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Nov 7 08:24:32 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-3, SLIME-2-0
Branch point for: fsm
Changes since 1.15: +15 -9 lines
Diff to previous 1.15 , to selected 1.13
(make-source-recording-readtable): Suppress the #. reader-macro.
(suppress-sharp-dot): New function.
(read-source-form): Disable *read-eval*.

(*source-map*): Deleted. We can do everything with a lexical variable.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Aug 29 20:02:58 2005 UTC (8 years, 7 months ago) by lgorrie
Branch: MAIN
Changes since 1.14: +3 -0 lines
Diff to previous 1.14 , to selected 1.13
Added public domain dedication.

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed May 11 14:45:20 2005 UTC (8 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.13: +8 -2 lines
Diff to previous 1.13
(read-and-record-source-map): Ensure that at least the toplevel form
is in the source-map.

Revision 1.13 - (view) (annotate) - [selected]
Fri Apr 1 13:59:48 2005 UTC (9 years ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-2, SLIME-1-2-1
Changes since 1.12: +6 -0 lines
Diff to previous 1.12
(check-source-path): Signal an error if a source path is malformed.
SBCL sometimes gives (NIL).

(source-path-stream-position): Use it.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Mar 18 22:34:34 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 , to selected 1.13
(make-source-recording-readtable): Ignore non-ascii chars.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Dec 16 21:13:49 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.10: +11 -6 lines
Diff to previous 1.10 , to selected 1.13
(read-source-form): New function. Common code from
source-path-stream-position and form-number-stream-position.
(source-path-stream-position): Use it.

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Dec 15 22:37:32 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 , to selected 1.13
(source-path-stream-position): Bind *read-suppress* to nil before
calling read-and-record-source-map.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Oct 30 10:16:29 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: MULTIBYTE-ENCODING, SLIME-1-1
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 , to selected 1.13
(source-path-stream-position): Bind *read-suppress* only as long as we
skip over forms.  The last toplevel form in the path is read with
*read-suppress* = nil because in newer versions of CMUCL and SBCL read
will return nil if *read-suppress* is t.

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue Oct 26 00:33:13 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.7: +7 -66 lines
Diff to previous 1.7 , to selected 1.13
Remove workarounds for SBCL bugs.  The bugs are fixed in the versions
we support.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Aug 13 20:32:33 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-0
Changes since 1.6: +4 -17 lines
Diff to previous 1.6 , to selected 1.13
Removed caching of readtables and the source-map hashtable. Fresh
creation is ultra-cheap (<1ms).
The caching didn't handle modifications to readtables and generally
made me feel uneasy while tracking down an obscure bug in a reader
macro.

The cached source-map hashtable also wasn't thread-safe (ho hum).

Revision 1.6 - (view) (annotate) - [select for diffs]
Sun Jun 27 15:03:18 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-ALPHA, SLIME-1-0-BETA
Changes since 1.5: +51 -12 lines
Diff to previous 1.5 , to selected 1.13
(cmucl-style-get-macro-character): Add tests for #\space and #\\.
(Suggested by Christophe Rhodes.)

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Mar 29 17:49:38 2004 UTC (10 years ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-12, SLIME-0-13, SLIME-0-14
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 , to selected 1.13
(cmucl-style-get-macro-character): The feature is CMU not CMUCL.

Revision 1.4 - (view) (annotate) - [select for diffs]
Mon Mar 29 16:50:07 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.3: +29 -11 lines
Diff to previous 1.3 , to selected 1.13
(cmucl-style-get-macro-character): New function. Workaround for bug(?)
in SBCL.
(make-source-recording-readtable): Use it.

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Mar 9 13:55:43 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 , to selected 1.13
We are in-package :swank-backend.  Thanks to Raymond Wiker.

Revision 1.2.2.1 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:57:25 2004 UTC (10 years, 1 month ago) by heller
Branch: package-split
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 , to next main 1.23 , to selected 1.13
Implement changed backend interface and remove references to front end symbols.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sat Jan 31 09:02:22 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-11
Branch point for: package-split
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 , to selected 1.13
Patch by Robert E. Brown.  Add type declarations to keep SBCL quiet.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Dec 12 04:54:41 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
CVS Tags: SLIME-0-10, STATELESS-EMACS
Branch point for: stateless-emacs
Diff to selected 1.13
it might work better if this file were actually committed

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

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5