1 2007-05-12 Sean O'Rourke <sorourke@cs.ucsd.edu>
4 * Makefile.PL: add license.
6 2007-05-09 Sean O'Rourke <sorourke@cs.ucsd.edu>
9 * sepia.el (sepia-load-file): set inhibit-read-only when
11 * lib/Sepia.pm (repl_methods): walk ISA hierarchy looking for
12 functions (XXX: this is much too coarse).
13 (repl_help): use %REPL_DOC to hold command documentation for
15 (repl): display error on canceled continued statement.
17 2007-05-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
19 * lib/Sepia.pm (repl_strict): add 'strict mode' (thanks to
20 Lexical::Persistence) for those who swing that way (I don't),
21 inspired by Devel::REPL.
22 (repl_wantarray): Fix logic.
24 2007-04-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
27 * README: add license.
28 * Makefile.PL: remove dependency on Sub::Uplevel, make PadWalker
30 * lib/Sepia.pm (who): add optional regex filter.
31 (debug_inspect): fix non-scalar printing.
32 * sepia.el (sepia-dwim): fix staleness; change to find
33 documentation for modules.
34 (sepia-find-module-file): new function to try sepia- and xref-
35 module file-finding functions.
37 (sepia-filter-by-module,sepia-filter-by-all): remove.
38 (sepia-keymap): use `sepia-dwim' for M-.
40 2007-04-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
42 * lib/Sepia.pm (who): add optional regex argument.
44 2007-03-30 Sean O'Rourke <sorourke@cs.ucsd.edu>
46 * sepia-w3m.el (sepia-module-list, sepia-package-list): added
47 detailed index of installed modules.
50 2007-03-16 Sean O'Rourke <sorourke@cs.ucsd.edu>
52 * sepia.el (sepia-set-found): filter spurious nils (XXX: this
54 (sepia-symbol-info): avoid eldoc errors in ecase.
56 2007-03-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
58 * sepia.el (sepia-complete-symbol): fallback completion of
60 * set COPY_EXTENDED_ATTRIBUTES_DISABLE=true to avoid creating ._*
63 2007-03-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
66 * sepia-ido.el: clean up bitrot.
67 * lib/Sepia.pm (apropos): don't create new stashes during
69 * sepia.el (sepia-show-locations): bind inhibit-read-only; filter
71 * Makefile.PL: require PadWalker 1.0 (RT #25463)
73 2007-03-13 Sean O'Rourke <sorourke@cs.ucsd.edu>
76 * README (TODO): user-defined REPL abbrevs.
77 * lib/Sepia.pm (print_*): optional printing via YAML and
78 Data::Dump (from Shell::Perl).
79 (repl_wantarray): change eval context (same).
80 (repl_format): set formatter (same).
82 2007-03-09 Sean O'Rourke <sorourke@cs.ucsd.edu>
85 * sepia.el (sepia-keymap): add *-apropos, find-tag bindings.
86 * README: add organized function index.
87 * sepia.el (sepia-beginning-of-defun, sepia-end-of-defun):
88 fix argument to be prefix instead of point.
89 * sepia.el: documentation.
90 * sepia-ido.el: documentation.
91 * README: cleanup; note limitation of sepia-bodf and -eodf.
93 2007-02-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
95 * Makefile.PL: add Scalar::Util as prereq.
96 * sepia.el (sepia-perl5lib): new variable holding extra PERL5LIB
98 * sepia.el (sepia-init): use it.
99 * sepia.el (sepia-comint-setup): don't clobber keymap.
100 * sepia.el (sepia-indent-or-complete): complete first time if at
102 * Sepia.pm (completions): enhanced completion -- e.g. "wtf"
103 matches "want_to_feed".
104 * Sepia.pm (printer): special-case PDL to use its stringification
105 (XXX: should test for overloaded "").
106 * Sepia.pm (who,repl_who): new functions.
108 2006-09-29 Sean O'Rourke <sorourke@cs.ucsd.edu>
110 * Sepia.pm (Dump): wrap with eval to prevent unexpected exits.
111 * Sepia.pm (repl_chdir): expand '~' and '$HOME'
113 2006-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu>
115 * Sepia.pm (tolisp): undef -> nil
116 * sepia.el (sepia-eval-raw): guess package.
117 * sepia.el (sepia-init): don't pop-to-buffer with prefix argument.
118 * sepia.el (sepia-beginning-of-defun,sepia-end-of-defun): avoid
120 * sepia.el (sepia-buffer-package): look backward from point
121 instead of forward from point-min.
123 2006-05-24 Sean O'Rourke <sorourke@cs.ucsd.edu>
125 * Makefile.PL: added missing dependencies on PadWalker,
127 * Sepia.pm: improved ",command"
128 * sepia-w3m.el (sepia-w3m-perldoc-this): simplify.
129 * sepia.el (perl-*): rename to sepia-*.
130 * sepia.el: reorg and cleanup.
133 2006-05-19 Sean O'Rourke <sorourke@cs.ucsd.edu>
135 * sepia.el: fixed eldoc support. This only works with CVS Emacs,
136 relying on `eldoc-documentation-function'. Also fixed pod
139 2006-05-18 Sean O'Rourke <sorourke@cs.ucsd.edu>
141 * sepia.el, Sepia.pm: improved bulk-transfer protocol.
142 * Sepia.pm: override die with simple inspector/debugger.
143 * Sepia.pm: $__ and @__ now contain results of the last
145 * sepia.el, Sepia.pm: primitive support for evaluating elisp sent
146 from Perl. Turn on comint-use-prompt-regexp because the fields
147 stuff is flaky with this.
148 * sepia.el, Sepia.pm: ",cd" shortcut coordinates directory with
152 2006-04-14 Sean O'Rourke <sorourke@cs.ucsd.edu>
154 * generic-repl.el: replaced by comint.
155 * all: removed EPL dependency.
158 2005-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu>
160 * sepia-w3m.el: fix function name so it's found.
161 * Xref.pm, Sepia.pm: cleanup and numerous bugfixes.
162 * Buffer.pm: new, but not ready for prime-time
163 * sepia.el: delete-thing-at-point removed; misc bugfixes.
164 * test.pl: disabled a bunch of location stuff.
167 2004-09-10 Sean O'Rourke <sorourke@cs.ucsd.edu>
169 * test.pl: some real tests.
170 * Sepia.pm, Xref.pm: Separate simple symbol-table searching from
171 Xref, making the former more reliable.
172 * Xref.pm: More reliable detection of (class) method calls.
173 * sepia.el: results are not displayed for expressions ending in
176 2004-04-12 Sean O'Rourke <seano@cs.ucsd.edu>
178 * sepia.el (sepia-doc-scan-buffer): Make regular expressions a
180 (sepia-ident-at-point): handle upper-case function and variable
181 names for completion (a bit hacky...).
182 (sepia-install-keys): fix keymap installation.
184 2004-04-11 Sean O'Rourke <seano@cs.ucsd.edu>
186 * Xref.pm (guess_module_file): do like Module::Info and trust
187 %INC more than our Xref info. But don't be _too_ smart about
188 this -- we were picking up lots of bogus exports.
189 (pp_method_named): add support for constant-named methods (cribbed
192 2004-04-10 Sean O'Rourke <seano@cs.ucsd.edu>
194 * Xref.pm: update $VERSION to track Sepia release.
196 * sepia.el (sepia-indent-or-complete): only complete on the
199 2004-04-09 Sean O'Rourke <seano@cs.ucsd.edu>
201 * sepia.el (sepia-refiner): tweak refining function a bit more.
202 I'm still not entirely happy with this, but it's getting better.
203 Time and experimentation are required.
205 * sepia-tree.el (sepia-calle[er]-tree): New file. Use
206 caller/callee information to generate tree-view using David
207 Ponce's wonderful tree-widget.
209 * Xref.pm (_apropos_re): Add that Emacs-style multipart-word
210 completion, so e.g. D:v_d -> Devel::Xref::var_defs. It's groovy,
212 (%firstline): gone. Just getting a line within the sub is good
213 enough -- we can fix it on the Emacs side of the fence later.
215 2004-04-08 Sean O'Rourke <seano@cs.ucsd.edu>
217 * sepia-w3m.el (sepia-w3m-perldoc-this): work for functions as
218 well as modules, and try to go to correct position in manpage.
220 * sepia.el (sepia-eval-buffer): use 'BEGIN{ die }' to do Xrefs
221 for scripts without loading them.
223 * Xref.pm: Localize a bunch of things instead of stomping on
224 package lexicals. This makes the module better handle repeated
225 use, for which it wasn't designed.
227 * Xref.pm (mod_subs): Rename package_subs for consistency.
228 (mod_decls): New function to generate decls for evaluation.
230 * sepia.el: misc bug-fixes, and better support for redefining
231 functions with sepia-eval-defun, especially preserving files and
233 (sepia-eval): remove newlines to make line-numbers make more
235 (sepia-interactive-arg): delay reading completions to speed up
237 (sepia-refiner): search both forward and backward, to adjust for
238 e.g. adding comments. Still not so good, but better.
240 2004-04-06 Sean O'Rourke <seano@cs.ucsd.edu>
242 * sepia-w3m.el: moved w3m-perldoc support here.
244 * README: added description, removed disclaimer
246 * sepia.el (sepia-symbol-info, sepia-doc-update): POD scanning
247 and cperl hackage for eldoc support.
249 2004-04-05 Sean O'Rourke <seano@cs.ucsd.edu>
251 * Xref.pm (redefined,forget): make them take a single sub at a
252 time, and pay attention to packages.
253 (_apropos): use package info to narrow choices.
255 * sepia.el (sepia-eval-defun,sepia-eval-buffer): new functions.
257 * test.pl: satisfy the cpants Fascists.
259 * Xref.pm (use_type): try to be smarter about when something's
260 being assigned to, vs. merely used as a reference.
262 * sepia.el (sepia-repl-header): keep up with generic-repl by
263 doing header line, working dir.
264 (sepia-complete-symbol): stupid bug with modules.
265 (sepia-install-keys): new function.
266 (sepia-var-assigns): assignments are more useful than defs.
267 (sepia-init): start REPL by default.
269 * generic-repl.el (repl-cd,repl-set-header): "new" function from
270 Slime to track working dir, update header line.
272 2004-04-04 Sean O'Rourke <seano@cs.ucsd.edu>
274 * Sepia.jpg: don't ask -- just look.
276 * sepia.el (sepia-ident-at-point): fixed bug with sigils.
277 (sepia-complete-symbol): fixed bug with undefined function
279 Always use Data::Dumper.
281 * any-repl.el: new file implementing REPL, basically stolen from
284 * pscope.el: renamed to sepia.el to go with name change.
286 2004-04-03 Sean O'Rourke <seano@cs.ucsd.edu>
288 * pscope.el (pscope-set-found): remove locations with no
289 file in package "main", which were causing errors before.
290 (pscope-dwim): new function. New functions
291 pscope-complete-symbol and pscope-indent-or-complete for
292 symbol completion. Not well-tested, but they seem to work.
293 The most annoying thing is that since the Xref db isn't
294 automatically updated, it won't always know as much as you
296 (pscope-load-file): new function.
298 * Xref.pm: update export lists to reflect new functions.
300 2004-04-02 Sean O'Rourke <seano@cs.ucsd.edu>
302 * Xref.pm: minor cleanup.
304 * pscope.el: pass module, file, line to Perl side (where it's
305 ignored for now); fix line number refinement to be a
306 little less over-eager; fix pscope-callees to go to sub
307 definitions instead of call sites.
309 * README: added TODO section.