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