bugfix, update
[sepia.git] / ChangeLog
blob7861e88615ca92b2930fb890b25897e66cebf29e
1 2009-11-29  Sean O'Rourke  <seano@cs.ucla.edu>
3         * sepia.el (sepia-shortcuts): update.
4         (sepia-complete-symbol): fix sigil duplication bug.
6 2009-11-26  Sean O'Rourke  <seano@cs.ucla.edu>
8         * lib/Sepia.pm: reorganize, add docs.
9         * sepia.texi (Shortcuts): document ,time
10         * Makefile.PL: optional BSD::Resource and Time::HiRes.
11         * lib/Sepia.pm (run_hook,add_hook,remove_hook): new functions.
12         (repl_time,time_pre_prompt*): print CPU times.
14 2009-11-25  Sean O'Rourke  <seano@cs.ucla.edu>
16         * sepia.el (sepia-ident-before-point): use s-i-at-point.
17         (sepia-ident-at-point): Handle punctuation variables.
18         (sepia-describe-object): add "perldoc -v" support.
20 2009-11-22  Sean O'Rourke  <seano@cs.ucla.edu>
22         * lib/Sepia.pm (location): handle special @INC entries.
23         * sepia.el (sepia-describe-object): Guess identifier-at-point in
24         the right order.
26 2009-11-18  Sean O'Rourke  <seano@cs.ucla.edu>
28         * sepia.el (sepia-describe-object): new function like
29         describe-function and friends.  Currently only "perldoc -f."
30         (sepia-init-perl-builtins): bugfix.
31         (sepia-repl-mode): turn on eldoc.
33 2009-11-02  Sean O'Rourke  <seano@cs.ucla.edu>
35         * lib/Sepia.pm (location): change to work on only one location,
36         since that's how it's used.
37         (define_shortcuts): tweak.
38         (repl_setup): fix $REPL_LEVEL bug.
39         (repl,repl_quit): make quitting from restarted REPLs.
41 2009-10-28  Sean O'Rourke  <seano@cs.ucla.edu>
43         * sepia.el (sepia-indent-or-complete): work around bug where
44         expand-abbrev returns nil even though it expanded.
45         (sepia-looks-like-module): use xref-apropos-module.
47 2009-10-19  Sean O'Rourke  <seano@cs.ucla.edu>
49         * sepia-cpan.el (sepia-cpan-mode-map): initialize in definition;
50         oops!
51         * VERSION: 0.991
53 2009-10-18  Sean O'Rourke  <seano@cs.ucla.edu>
55         * lib/Sepia/CPAN.pm (group_by_dist): better heuristic.
56         * lib/Sepia.pm (repl_reload, repl_full_reload, full_reload):
57         support "reload" and "freload" shortcuts.
58         * lib/Sepia/Debug.pm (xreturn, repl_xreturn): return-from-context,
59         not yet used.
60         * VERSION: 0.99
62 2009-10-12  Sean O'Rourke  <seano@cs.ucla.edu>
64         * sepia.el (sepia-symbol-info): tweak on module names.
65         (sepia-apropos-module): new function.
66         (sepia-perlize-region,sepia-perl-ne-region): interactive prompt fix
68 2009-07-22  Sean O'Rourke  <seano@cs.ucla.edu>
70         * sepia-cpan.el (sepia-cpan-doc): make browser pop up in other
71         window, like README.
73 2009-07-18  Sean O'Rourke  <seano@cs.ucla.edu>
75         * lib/Sepia.pm (filter_exact_prefix): new function to improve
76         completion behavior.
78 2009-07-07  Sean O'Rourke  <seano@cs.ucla.edu>
80         * lib/Sepia.pm (save,load,repl_save,repl_load): Persist
81         variables to a file.
82         * VERSION: 0.99_01
84 2009-07-05  Sean O'Rourke  <seano@cs.ucla.edu>
86         * sepia.el (sepia-rename-lexical): New function; a small wrapper
87         around query-replace(-regexp).
89 2009-05-03  Sean O'Rourke  <seano@cs.ucla.edu>
91         * t/02completion.t (ok_comp): adjust for completion changes.
92         * sepia.texi: Variable index.
94 2009-03-18  Sean O'Rourke  <seano@cs.ucla.edu>
96         * lib/Sepia.pm (repl_help): fix formatting with "help CMD"
97         (repl_size): sort by size
99 2008-12-17  Sean O'Rourke  <seano@cs.ucla.edu>
101         * sepia.texi (Completion): we do lexicals.
102         * lib/Sepia.pm (lexical_completions): new function.
103         (completions): use it.
104         * sepia.el (sepia-function-at-point): return nil outside subs.
105         (sepia-interactive-arg): fix call to xref-completions.
107 2008-07-22  Sean O'Rourke  <seano@cs.ucla.edu>
109         * sepia.el (sepia-scratch-send-line): change to use REPL printer.
111 2008-07-09  Sean O'Rourke  <seano@cs.ucla.edu>
112         * sepia.el (sepia-indent-line): new function.  Let-bind
113           beginning-of-defun-function for cperl-indent-line.
115 2008-06-29  Sean O'Rourke  <seano@cs.ucla.edu>
117         * sepia.el (sepia-cont-or-restart): new function to restart
118           quitted REPL.
119         * sepia-cpan.el (sepia-cpan-do-{desc,recommend}): oops.
120         (sepia-cpan-make-buffer): better column widths
121         * lib/Sepia.pm (repl_size): skip %SIG to avoid segfaults.
122         * lib/sepia/CPAN.pm (group_by_dist): only list "main" module in
123           each distribution, and sort them.
125 2008-06-20  Sean O'Rourke  <seano@cs.ucla.edu>
127         * VERSION: 0.97
128         * lib/Sepia.pm: fix use of defined().
130 2008-06-17  Sean O'Rourke  <seano@cs.ucla.edu>
132         * lib/Sepia.pm (repl_who,repl_size): turn off added 5.10 strictures.
134 2008-05-11  Sean O'Rourke  <seano@cs.ucla.edu>
136         * sepia.texi (Mutilation): updated CPAN documentation.
137         * sepia-cpan.el (sepia-cpan-desc): add search-by-description
138         (sepia-cpan-mode-map): fix keybindings.
139         * lib/Sepia/CPAN.pm: have ls/_ls, etc call interesting_parts
141 2008-05-10  Sean O'Rourke  <seano@cs.ucla.edu>
143         * VERSION: 0.96_02
144         * sepia-cpan.el (sepia-cpan-list, sepia-cpan-make-buffer)
145         (sepia-cpan-search): added list-by-author, refactored.
146         (sepia-cpan-readme): insert temp file rather than passing as
147         string.
148         * lib/Sepia/CPAN.pm (ls): new function to list author's modules.
149         * lib/Sepia/Debug.pm (repl_finish): mostly-working, by adding 0x10
150           to $^P and looking at sub's last line.
152 2008-01-10  Sean O'Rourke  <seano@cs.ucla.edu>
154         * lib/Sepia.pm (columnate): true -> defined
155         * VERSION: 0.96_01
156         * sepia-cpan.el: new file, experimental CPAN interface.
157         * lib/Sepia/CPAN.pm: new file.
159 2008-01-05  Sean O'Rourke  <seano@cs.ucla.edu>
161         * README: remove redundant/obsolete documentation
163 2008-01-02  Sean O'Rourke  <seano@cs.ucla.edu>
165         * lib/Sepia.pm (flow): get closer to margin.
167 2007-12-22  Sean O'Rourke  <seano@cs.ucla.edu>
169         * t/50expect.t: mysterious change to placate expect.
170         * sepia.el (sepia-shared-map): adjust bindings.
171         (sepia-complete-symbol): Fix shortcut completion.
172         * sepia-snippet.el (sepia-snippet-abbrev): make snippet optional,
173           but mention it.
175 2007-12-20  Sean O'Rourke  <seano@cs.ucla.edu>
177         * lib/Sepia.pm (who): don't apply regex to sigil.
178         (completions): fix multi-arg version (used by Emacs).
179         (html_module_list,html_package_list): return string if asked.
181 2007-12-17  Sean O'Rourke  <seano@cs.ucla.edu>
183         * sepia.el (sepia-shared-map): bind cperl-perldoc.
185 2007-12-16  Sean O'Rourke  <seano@cs.ucla.edu>
187         * Makefile.PL (test_for): use MakeMaker's prompt().
189 2007-12-13  Sean O'Rourke  <seano@cs.ucla.edu>
191         * sepia.el (sepia-complete-symbol): add shortcut completion.
192           improve XEmacs compatibility.
193         * sepia-w3m.el (sepia-w3m-create-imenu): new function, disabled by
194           default.
195         * lib/Sepia.pm (repl_*): don't look at return values; use "last
196           repl" to get out.
198 2007-11-29  Sean O'Rourke  <seano@cs.ucla.edu>
200         * t/02completion.t: new completion tests.
201         * lib/Sepia.pm (completions): rewrote to simplify.
203 2007-11-28  Sean O'Rourke  <seano@cs.ucla.edu>
205         * lib/Sepia.pm (printer): Don't sort arrays when printing.
206         * VERSION: 0.95_02
207         * lib/sepia/Debug.pm (warn,die): use Carp for 5.10 compatibility.
208         * Makefile.PL (test_for): $|=1 if prompting.
210 2007-11-27  Sean O'Rourke  <seano@cs.ucla.edu>
212         * sepia.el (sepia-perldoc-this): test for w3m when called.
214         * VERSION: 0.95_01
215         * t/01basic.t (Sepia): fix tests w/o Module::Info.
217 2007-11-26  Sean O'Rourke  <seano@cs.ucla.edu>
219         * VERSION: 0.95
220         * lib/sepia/Debug.pm (add_repl_commands): use define_shortcut.
221         (warn,die): same.
222         (add_debug_repl_commands): new function.
223         (repl): use it.
225         * lib/Sepia.pm (define_shortcut): new function.
226         (define_shortcut): new function.
227         (repl_help): auto-format help text; add arg.
228         (repl_reload): decrement $REPL_LEVEL.
229         (completions): fix abbrev completion.
230         (repl): read ~/.sepiarc; use define_shortcuts.
231         (repl_format): show current if no argument.
232         (module_info): optional dependency.
234 2007-11-08  Sean O'Rourke  <seano@cs.ucla.edu>
236         * VERSION: 0.94_01
237         * lib/Sepia/Xref.pm: POD fixup.
238         * sepia.el (sepia-ensure-process): fix stupid attachtty mistake.
240 2007-11-05  Sean O'Rourke  <seano@cs.ucla.edu>
242         * lib/sepia/Debug.pm (repl_break): allow "0" as a break condition.
244 2007-10-31  Sean O'Rourke  <seano@cs.ucla.edu>
246         * lib/Sepia.pm (repl_size): ",size" command to list variable sizes,
247         like Matlab's "whos".
249 2007-10-16  Sean O'Rourke  <seano@cs.ucla.edu>
251         * VERSION: 0.93
253         * lib/Sepia.pm (repl_pwd): add ",pwd" shortcut.
254         (repl_who): use current package when only regex given.
256         * sepia.el (sepia-repl,sepia-ensure-process): add remote
257           connection with attachtty.
258         (sepia-shared-map): bind \C-c\C-e to eval-expression.
259         (sepia-symbol-info): be more selective about "core version".
261 2007-09-25  Sean O'Rourke  <sorourke@cs.ucsd.edu>
263         * lib/Sepia.pm (printer): remove "=>" -- it's annoying.
265 2007-09-21  Sean O'Rourke  <sorourke@cs.ucsd.edu>
267         * sepia.el (sepia-load-file): disable debugger.
268         (sepia-symbol-info): be pickier about module core versions.
270 2007-09-20  Sean O'Rourke  <sorourke@cs.ucsd.edu>
272         * lib/Sepia.pm (repl_who): use current package if only one arg
273           given, and it's not an existing package.
275 2007-09-18  Sean O'Rourke  <sorourke@cs.ucsd.edu>
277         * sepia.el (sepia-watch-for-eval): fix hang with recursive sepia-eval.
279 2007-07-25  Sean O'Rourke  <sorourke@cs.ucsd.edu>
281         * sepia.el (sepia-interactive-arg): use xref-completions rather
282         than xref-apropos for working completion.
284 2007-07-25  Ye Wenbin  <wenbinye@gmail.com>
286         * sepia.el (sepia-defun-around-point): change the command to a
287         function, because as a command it does nothing.
288         (define-modinfo-function, sepia-maybe-echo): the interactive-p
289         is not true when call as function.
290         (define-modinfo-function, sepia-init): some modinfo-function
291         should eval in a list-context.
292         (sepia-mode): use cperl-mode-abbrev-table as current local-abbrev-table
294 2007-07-24  Ye Wenbin  <wenbinye@gmail.com>
296         * sepia.el (sepia-set-found): Use (OFFSET . LIST) to represent
297         things that found.
298         (sepia-next, sepia-previous): more generic move commands
299         (sepia-refiner): remove the test, because sometimes use the
300         same declaration, but found in difference place.
302         * sepia-tree.el (sepia-tree-button-cb): widget => pw and
303         xref-location return a list of posible locations.
304         (sepia-tree-tidy-buffer, sepia-tree-use-image): Let user
305         to choose whether use image or not. Set it to a buffer-local
306         variable, so that it didn't interference global values.
308         * sepia.el (sepia-extract-def): seem an argument is excessive
310         * sepia-tree.el (sepia-build-tree-buffer): In my emacs, it
311         doesn't work. The :dynargs didn't become the tree-widget
312         :expander. The tree-widget-convert-widget only receive the
313         'tree-widget, not the total list.
314         sepia-install-keys not defined.
316         * lib/Sepia/Xref.pm (file_modules): seem it is a typo error to use
317         Module::Include rather than Module::Info.
318         Module::Info::packages_inside return an array, the operator
319         || will force in a scalar context.
321         * sepia.el (sepia-lisp-to-perl): use "'" to quote string is not
322         enough, because the string may also contain "'" inside.
323         use (format "%S" string) instead.
324         (define-sepia-query): `sepia-set-found' accept a symbol as
325         argument, not (quote symbol).
327 2007-06-09  Sean O'Rourke  <sorourke@cs.ucsd.edu>
329         * VERSION: 0.92
330         * sepia.el (sepia-shared-map, etc.): fix keymap initialization.
332 2007-06-06  Sean O'Rourke  <sorourke@cs.ucsd.edu>
334         * lib/Sepia/Debug.pm: eval in lexical env when in debugger.
335         * t/50expect.t: REPL tests if you have Test::Expect.
336         * lib/Sepia/Debug.pm: use correct level when none given.
337         * lib/Sepia.pm: No longer bring in exporter (why did we?).
338         * sepia.el (sepia-init): always reinitialize sepia-mode-map.
339         * Makefile.PL: require 5.006 for warnings to quiet stupid "make
340           test".
342 2007-06-05  Sean O'Rourke  <sorourke@cs.ucsd.edu>
344         * Sepia.html: generate single-page manual instead of split.
345         * VERSION: 0.90
346         * sepia.el: docstring cleanup.
347         * lib/sepia/Debug.pm: misc usability improvements
349 2007-06-04  Sean O'Rourke  <sorourke@cs.ucsd.edu>
351         * VERSION 0.90_02
352         * test.pl: disable Module::Info tests to avoid Module::Info bug.
354 2007-06-02  Sean O'Rourke  <sorourke@cs.ucsd.edu>
356         * VERSION 0.90_01
357         * Major: replaced comint- with gud-based REPL, use real debugger.
358         * lib/Sepia/Debug.pm: "perl -d" support.
359         * lib/Sepia.pm (repl_shell): new command.
360         * sepia.el (sepia-eval-defun): detect errors, jump to first.
361         (sepia-comint-setup): don't set comint-use-prompt-regexp
362         (sepia-eval-defun,sepia-beginning-of-defun,sepia-end-of-defun): fix
364 2007-06-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>
366         * sepia.el (sepia-perldoc-this): don't mess up window
367           configuration when the page isn't found.
368         (sepia-location): use sepia-interactive-arg.
369         (sepia-perl-[np]e-region): fix.
371         * lib/Sepia.pm: fix.
372         (print_dumper): switch format based on size.
374 2007-05-30  Sean O'Rourke  <sorourke@cs.ucsd.edu>
375         * sepia.texi: shiny new manual.
376         * lib/Sepia.pm (completions): add special 'VARIABLE' type.
377         (methods): add second $qualified arg.
378         (repl_reload): new function.
379         (sig_warn,repl): override __WARN__ (and __DIE__) cautiously.
380         (repl): nicer warning format.
382         * sepia.el (sepia-eval-raw): stopwarn -> STOPWARN.
383         (sepia-load-file): Fix pop-up error buffer.
384         (sepia-lisp-to-perl): fix quoting of strings.
385         Good citizenship:
386         (sepia-mode): make a real major mode.
387         (sepia-scratchpad-mode): ditto.
389 2007-05-29  Sean O'Rourke  <sorourke@cs.ucsd.edu>
391         * lib/sepia/Xref.pm (pp_method_named): warn -> dprint.
392         * sepia.el (sepia-simple-method-before-point): new function.
393         (sepia-complete-symbol): use it to complete methods.
394         make w3m optional:
395         (sepia-perldoc-function,sepia-view-pod-function,
396           sepia-module-list-function): new variables.
397         (sepia-perldoc-this,sepia-view-pod): new functions.
398         * lib/Sepia.pm (repl): trim leading spaces.
399         (tolisp): escape metacharacters.
400         (repl): don't override "die" if someone has installed a
401         $SIG{__DIE__} handler
403 2007-05-28  Sean O'Rourke  <sorourke@cs.ucsd.edu>
405         * VERSION: 0.75+
406         * sepia.el (sepia-core-version): new function.
407         (sepia-indent-or-complete): fix abbrev expansion.
408         (sepia-symbol-info): report core version in eldoc.
409         (sepia-ident-before-point): new function.
410         (sepia-complete-symbol): use it instead of *-at-point.
411         (sepia-complete-symbol): complete arrays and hashes when '$'
412         starts a word.
413         * lib/Sepia.pm (printer): Use @::__; distinguish "last as scalar"
414           $__ from printed representation.
415         ($PRINT_PRETTY): columnate lists if this is on.
416         (columnate): fixed.
417         (repl_methods): add regex argument.
418         (repl_who): fix.
419         (completions): Add in package names.
421 2007-05-27  Sean O'Rourke  <sorourke@cs.ucsd.edu>
423         * lib/Sepia.pm (repl_methods): fixed.
425 2007-05-26  Sean O'Rourke  <sorourke@cs.ucsd.edu>
427         * VERSION: 0.74
428         * sepia.el (sepia-doc-scan-buffer): Better doc regex for
429           variables.
430         (sepia-indent-or-complete): try to expand abbrevs before
431           completion (try with snippet.el).
432         (sepia-indent-expand-abbrev): control the above feature.
433         (sepia-complete-symbol): scroll completion buffer; suggested by
434           Hilko Bengen.
435         * lib/Sepia.pm (html_package_list,html_module_list): new
436           functions.
437         (completions): '$'-completion only generates scalars.
438         * sepia-w3m.el: remove spurious sepia-module-list, improve
439           documentation.
440         (sepia-module-list,sepia-package-list): better output.
441         (sepia-package-list,sepia-module-list): move Perl code to
442           Sepia.pm, generate list in inferior perl instead of shelling
443           out.
445 2007-05-23  Sean O'Rourke  <sorourke@cs.ucsd.edu>
447         * lib/Sepia.pm (_apropos_re): handle empty completions.
448         (columnate): pretty-print ",who" output.
449         * sepia.el (sepia-complete-symbol): bury stale completions buffer;
450           suggested by Hilko Bengen.
452 2007-05-17  Sean O'Rourke  <sorourke@cs.ucsd.edu>
454         * lib/Sepia.pm (_completions1): Fix infinite recursion.
455         (repl): typo; clarify ambiguous vs. unrecognized shortcuts.
457 2007-05-15  Sean O'Rourke  <sorourke@cs.ucsd.edu>
459         * sepia.el (sepia-dwim): don't try to jump to location when
460           looking up module docs.
461         * lib/Sepia.pm: use $::__ instead of $Sepia::__
462         (repl_quit): new command.
463         (repl): add banner.
465 2007-05-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>
467         * VERSION: 0.72
468         * Makefile.PL: add license.
470 2007-05-09  Sean O'Rourke  <sorourke@cs.ucsd.edu>
472         * VERSION: 0.71
473         * sepia.el (sepia-load-file): set inhibit-read-only when
474           displaying errors.
475         * lib/Sepia.pm (repl_methods): walk ISA hierarchy looking for
476           functions (XXX: this is much too coarse).
477         (repl_help): use %REPL_DOC to hold command documentation for
478         easier extension.
479         (repl): display error on canceled continued statement.
481 2007-05-07  Sean O'Rourke  <sorourke@cs.ucsd.edu>
483         * lib/Sepia.pm (repl_strict): add 'strict mode' (thanks to
484           Lexical::Persistence) for those who swing that way (I don't),
485           inspired by Devel::REPL.
486         (repl_wantarray): Fix logic.
488 2007-04-25  Sean O'Rourke  <sorourke@cs.ucsd.edu>
490         * VERSION: 0.70
491         * README: add license.
492         * Makefile.PL: remove dependency on Sub::Uplevel, make PadWalker
493           optional.
494         * lib/Sepia.pm (who): add optional regex filter.
495         (debug_inspect): fix non-scalar printing.
496         * sepia.el (sepia-dwim): fix staleness; change to find
497           documentation for modules.
498         (sepia-find-module-file): new function to try sepia- and xref-
499         module file-finding functions.
500         (sepia-next): use it.
501         (sepia-filter-by-module,sepia-filter-by-all): remove.
502         (sepia-keymap): use `sepia-dwim' for M-.
504 2007-04-15  Sean O'Rourke  <sorourke@cs.ucsd.edu>
506         * lib/Sepia.pm (who): add optional regex argument.
508 2007-03-30  Sean O'Rourke  <sorourke@cs.ucsd.edu>
510         * sepia-w3m.el (sepia-module-list, sepia-package-list): added
511           detailed index of installed modules.
512         * VERSION: 0.68
514 2007-03-16  Sean O'Rourke  <sorourke@cs.ucsd.edu>
516         * sepia.el (sepia-set-found): filter spurious nils (XXX: this
517           really needs a fix).
518           (sepia-symbol-info): avoid eldoc errors in ecase.
520 2007-03-15  Sean O'Rourke  <sorourke@cs.ucsd.edu>
522         * sepia.el (sepia-complete-symbol): fallback completion of
523           builtins.
524         * set COPY_EXTENDED_ATTRIBUTES_DISABLE=true to avoid creating ._*
525           files (RT #25490).
527 2007-03-15  Sean O'Rourke  <sorourke@cs.ucsd.edu>
529         * VERSION: 0.67
530         * sepia-ido.el: clean up bitrot.
531         * lib/Sepia.pm (apropos): don't create new stashes during
532           completion.
533         * sepia.el (sepia-show-locations): bind inhibit-read-only; filter
534           out mysterious NILs.
535         * Makefile.PL: require PadWalker 1.0 (RT #25463)
537 2007-03-13  Sean O'Rourke  <sorourke@cs.ucsd.edu>
539         * VERSION: 0.66
540         * README (TODO): user-defined REPL abbrevs.
541         * lib/Sepia.pm (print_*): optional printing via YAML and
542           Data::Dump (from Shell::Perl).
543         (repl_wantarray): change eval context (same).
544         (repl_format): set formatter (same).
546 2007-03-09  Sean O'Rourke  <sorourke@cs.ucsd.edu>
548         * VERSION: 0.65
549         * sepia.el (sepia-keymap): add *-apropos, find-tag bindings.
550         * README: add organized function index.
551         * sepia.el (sepia-beginning-of-defun, sepia-end-of-defun):
552           fix argument to be prefix instead of point.
553         * sepia.el: documentation.
554         * sepia-ido.el: documentation.
555         * README: cleanup; note limitation of sepia-bodf and -eodf.
557 2007-02-25  Sean O'Rourke  <sorourke@cs.ucsd.edu>
559         * Makefile.PL: add Scalar::Util as prereq.
560         * sepia.el (sepia-perl5lib): new variable holding extra PERL5LIB
561           entry.
562         * sepia.el (sepia-init): use it.
563         * sepia.el (sepia-comint-setup): don't clobber keymap.
564         * sepia.el (sepia-indent-or-complete): complete first time if at
565           end of word.
566         * Sepia.pm (completions): enhanced completion -- e.g. "wtf"
567           matches "want_to_feed".
568         * Sepia.pm (printer): special-case PDL to use its stringification
569           (XXX: should test for overloaded "").
570         * Sepia.pm (who,repl_who): new functions.
572 2006-09-29  Sean O'Rourke  <sorourke@cs.ucsd.edu>
574         * Sepia.pm (Dump): wrap with eval to prevent unexpected exits.
575         * Sepia.pm (repl_chdir): expand '~' and '$HOME'
577 2006-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>
579         * Sepia.pm (tolisp): undef -> nil
580         * sepia.el (sepia-eval-raw): guess package.
581         * sepia.el (sepia-init): don't pop-to-buffer with prefix argument.
582         * sepia.el (sepia-beginning-of-defun,sepia-end-of-defun): avoid
583           recursion.
584         * sepia.el (sepia-buffer-package): look backward from point
585           instead of forward from point-min.
587 2006-05-24  Sean O'Rourke  <sorourke@cs.ucsd.edu>
589         * Makefile.PL: added missing dependencies on PadWalker,
590           Sub::Uplevel.
591         * Sepia.pm: improved ",command"
592         * sepia-w3m.el (sepia-w3m-perldoc-this): simplify.
593         * sepia.el (perl-*): rename to sepia-*.
594         * sepia.el: reorg and cleanup.
595         * VERSION: 0.63
597 2006-05-19  Sean O'Rourke  <sorourke@cs.ucsd.edu>
599         * sepia.el: fixed eldoc support.  This only works with CVS Emacs,
600           relying on `eldoc-documentation-function'.  Also fixed pod
601           scanning for eldoc.
603 2006-05-18  Sean O'Rourke  <sorourke@cs.ucsd.edu>
605         * sepia.el, Sepia.pm: improved bulk-transfer protocol.
606         * Sepia.pm: override die with simple inspector/debugger.
607         * Sepia.pm: $__ and @__ now contain results of the last
608           expression.
609         * sepia.el, Sepia.pm: primitive support for evaluating elisp sent
610           from Perl.  Turn on comint-use-prompt-regexp because the fields
611           stuff is flaky with this.
612         * sepia.el, Sepia.pm: ",cd" shortcut coordinates directory with
613           Emacs.
614         * VERSION 0.61, 0.62
616 2006-04-14  Sean O'Rourke  <sorourke@cs.ucsd.edu>
618         * generic-repl.el: replaced by comint.
619         * all: removed EPL dependency.
620         * VERSION 0.59
622 2005-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>
624         * sepia-w3m.el: fix function name so it's found.
625         * Xref.pm, Sepia.pm: cleanup and numerous bugfixes.
626         * Buffer.pm: new, but not ready for prime-time
627         * sepia.el: delete-thing-at-point removed; misc bugfixes.
628         * test.pl: disabled a bunch of location stuff.
629         * VERSION 0.58
631 2004-09-10  Sean O'Rourke  <sorourke@cs.ucsd.edu>
633         * test.pl: some real tests.
634         * Sepia.pm, Xref.pm: Separate simple symbol-table searching from
635           Xref, making the former more reliable.
636         * Xref.pm: More reliable detection of (class) method calls.
637         * sepia.el: results are not displayed for expressions ending in
638           ';' (c.f. Octave).
640 2004-04-12  Sean O'Rourke  <seano@cs.ucsd.edu>
642         * sepia.el (sepia-doc-scan-buffer): Make regular expressions a
643         bit better.
644         (sepia-ident-at-point): handle upper-case function and variable
645         names for completion (a bit hacky...).
646         (sepia-install-keys): fix keymap installation.
648 2004-04-11  Sean O'Rourke  <seano@cs.ucsd.edu>
650         * Xref.pm (guess_module_file): do like Module::Info and trust
651         %INC more than our Xref info.  But don't be _too_ smart about
652         this -- we were picking up lots of bogus exports.
653         (pp_method_named): add support for constant-named methods (cribbed
654         from B::Concise).
656 2004-04-10  Sean O'Rourke  <seano@cs.ucsd.edu>
658         * Xref.pm: update $VERSION to track Sepia release.
660         * sepia.el (sepia-indent-or-complete): only complete on the
661         second TAB.
663 2004-04-09  Sean O'Rourke  <seano@cs.ucsd.edu>
665         * sepia.el (sepia-refiner): tweak refining function a bit more.
666         I'm still not entirely happy with this, but it's getting better.
667         Time and experimentation are required.
669         * sepia-tree.el (sepia-calle[er]-tree): New file.  Use
670         caller/callee information to generate tree-view using David
671         Ponce's wonderful tree-widget.
673         * Xref.pm (_apropos_re): Add that Emacs-style multipart-word
674         completion, so e.g. D:v_d -> Devel::Xref::var_defs.  It's groovy,
675         man.
676         (%firstline): gone.  Just getting a line within the sub is good
677         enough -- we can fix it on the Emacs side of the fence later.
679 2004-04-08  Sean O'Rourke  <seano@cs.ucsd.edu>
681         * sepia-w3m.el (sepia-w3m-perldoc-this): work for functions as
682         well as modules, and try to go to correct position in manpage.
684         * sepia.el (sepia-eval-buffer): use 'BEGIN{ die }' to do Xrefs
685         for scripts without loading them.
687         * Xref.pm: Localize a bunch of things instead of stomping on
688         package lexicals.  This makes the module better handle repeated
689         use, for which it wasn't designed.
691         * Xref.pm (mod_subs): Rename package_subs for consistency.
692         (mod_decls): New function to generate decls for evaluation.
694         * sepia.el: misc bug-fixes, and better support for redefining
695         functions with sepia-eval-defun, especially preserving files and
696         line numbers.
697         (sepia-eval): remove newlines to make line-numbers make more
698         sense to user.
699         (sepia-interactive-arg): delay reading completions to speed up
700         \M-. functions.
701         (sepia-refiner): search both forward and backward, to adjust for
702         e.g. adding comments.  Still not so good, but better.
704 2004-04-06  Sean O'Rourke  <seano@cs.ucsd.edu>
706         * sepia-w3m.el: moved w3m-perldoc support here.
708         * README: added description, removed disclaimer
710         * sepia.el (sepia-symbol-info, sepia-doc-update): POD scanning
711         and cperl hackage for eldoc support.
713 2004-04-05  Sean O'Rourke  <seano@cs.ucsd.edu>
715         * Xref.pm (redefined,forget): make them take a single sub at a
716         time, and pay attention to packages.
717         (_apropos): use package info to narrow choices.
719         * sepia.el (sepia-eval-defun,sepia-eval-buffer): new functions.
721         * test.pl: satisfy the cpants Fascists.
723         * Xref.pm (use_type): try to be smarter about when something's
724         being assigned to, vs. merely used as a reference.
726         * sepia.el (sepia-repl-header): keep up with generic-repl by
727         doing header line, working dir.
728         (sepia-complete-symbol): stupid bug with modules.
729         (sepia-install-keys): new function.
730         (sepia-var-assigns): assignments are more useful than defs.
731         (sepia-init): start REPL by default.
733         * generic-repl.el (repl-cd,repl-set-header): "new" function from
734         Slime to track working dir, update header line.
736 2004-04-04  Sean O'Rourke  <seano@cs.ucsd.edu>
738         * Sepia.jpg: don't ask -- just look.
740         * sepia.el (sepia-ident-at-point): fixed bug with sigils.
741         (sepia-complete-symbol): fixed bug with undefined function
742         sepia-end-of-word.
743         Always use Data::Dumper.
745         * any-repl.el: new file implementing REPL, basically stolen from
746         Slime.
748         * pscope.el: renamed to sepia.el to go with name change.
750 2004-04-03  Sean O'Rourke  <seano@cs.ucsd.edu>
752         * pscope.el (pscope-set-found): remove locations with no
753         file in package "main", which were causing errors before.
754         (pscope-dwim): new function.  New functions
755         pscope-complete-symbol and pscope-indent-or-complete for
756         symbol completion.  Not well-tested, but they seem to work.
757         The most annoying thing is that since the Xref db isn't
758         automatically updated, it won't always know as much as you
759         expect.
760         (pscope-load-file): new function.
762         * Xref.pm: update export lists to reflect new functions.
764 2004-04-02  Sean O'Rourke  <seano@cs.ucsd.edu>
766         * Xref.pm: minor cleanup.
768         * pscope.el: pass module, file, line to Perl side (where it's
769         ignored for now); fix line number refinement to be a
770         little less over-eager; fix pscope-callees to go to sub
771         definitions instead of call sites.
773         * README: added TODO section.