[1763] in BarnOwl Developers
[nelhage/barnowl] 9e5b5f: Export skiptokens to perl.
daemon@ATHENA.MIT.EDU (noreply@github.com)
Thu Oct 29 18:21:37 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@lunatique.mit.edu
Date: Sat, 3 Oct 2009 13:31:19 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com
Branch: refs/heads/master
Home: http://github.com/nelhage/barnowl
Commit: 9e5b5fdef1dac8b4eeaeaf49810ab65f616de7c0
http://github.com/nelhage/barnowl/commit/9e5b5fdef1dac8b4eeaeaf49810ab65f616de7c0
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perlglue.xs
Log Message:
-----------
Export skiptokens to perl.
Commit: e97c5d051441fc88462b69a71e396bcbabef078e
http://github.com/nelhage/barnowl/commit/e97c5d051441fc88462b69a71e396bcbabef078e
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Completion/Context.pm
M t/completion.t
Log Message:
-----------
Implement a shift_words method on completion contexts.
This allows completion methods to easily pass on the remainder of a
command-line to another completer if appropriate.
Commit: b06a888b5e93b01770d3acf31f21dc733e817c3f
http://github.com/nelhage/barnowl/commit/b06a888b5e93b01770d3acf31f21dc733e817c3f
Author: David Benjamin <davidben@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Complete/Client.pm
Log Message:
-----------
Complete startup by forwarding to main completer
Commit: 76e0e4ae0f90385f64ad98aea055345207b81204
http://github.com/nelhage/barnowl/commit/76e0e4ae0f90385f64ad98aea055345207b81204
Author: David Benjamin <davidben@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Complete/Client.pm
Log Message:
-----------
Reimplement complete_filter using shift_words
Fixes bug with -c and -b appearing in completion suggestions.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: 60350081f3e14da7c34cd6543d348dad6674303d
http://github.com/nelhage/barnowl/commit/60350081f3e14da7c34cd6543d348dad6674303d
Author: David Benjamin <davidben@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Complete/Client.pm
Log Message:
-----------
Drop start argument to complete_filter_expr
Use context slicing instead. For now, the private functions will retain
the index for efficiency and to avoid complexity. They're private, so we
don't need to conform to any interface.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: a3a9eb73bf0972305a6b4df90ea6e4d482d6b4e0
http://github.com/nelhage/barnowl/commit/a3a9eb73bf0972305a6b4df90ea6e4d482d6b4e0
Author: David Benjamin <davidben@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Complete/Client.pm
A perl/lib/BarnOwl/Complete/Filter.pm
Log Message:
-----------
Move complete_filter_{expr,name} to own module
Moved to Complete::Filter to aviod cluttering up Complete::Client with
private functions for complete_filter_expr.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: 69c27e6211624978c76b0f196e79d063e4d143d3
http://github.com/nelhage/barnowl/commit/69c27e6211624978c76b0f196e79d063e4d143d3
Author: David Benjamin <davidben@mit.edu>
Date: 2009-09-29 (Tue, 29 Sep 2009)
Changed paths:
M perl/lib/BarnOwl/Completion/Util.pm
M t/completion.t
Log Message:
-----------
Don't suggest repeated flags in complete_flags
For most commands, it doesn't make sense to provide an option twice, so
we avoid offering it again as a completion. Note: if the user happened
to pass the flag again, we'll still attempt to complete it.
To disable, use the repeat_flags keyword option. Tests update, with
complete_zwrite testing non-repeating and complete_word testing the old
behavior.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: 42ad91716a0f429f02385235acffa71546e28caa
http://github.com/nelhage/barnowl/commit/42ad91716a0f429f02385235acffa71546e28caa
Author: David Benjamin <davidben@mit.edu>
Date: 2009-10-02 (Fri, 02 Oct 2009)
Changed paths:
M .gitignore
M Makefile.am
A perl_tester.c
M runtests.sh
M t/mock.pl
Log Message:
-----------
Add perl_tester to run perl in barnowl environment
Main function shameless borrowed from perldoc perlembed.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: e4f4287c66bb5c0e7b9fa5205aeb53d636aec84b
http://github.com/nelhage/barnowl/commit/e4f4287c66bb5c0e7b9fa5205aeb53d636aec84b
Author: David Benjamin <davidben@mit.edu>
Date: 2009-10-02 (Fri, 02 Oct 2009)
Changed paths:
M t/completion.t
Log Message:
-----------
Enable Context::shift_words tests and add one
Now that the tester can run XS code, we can test shift_words. Also added
a new test that ensures we die when we shift away the point.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: 5fdc56247c5d5b114e51cd431657f3c187fddc5d
http://github.com/nelhage/barnowl/commit/5fdc56247c5d5b114e51cd431657f3c187fddc5d
Author: David Benjamin <davidben@mit.edu>
Date: 2009-10-02 (Fri, 02 Oct 2009)
Changed paths:
M perl/lib/BarnOwl/Complete/Filter.pm
Log Message:
-----------
Fix typo in _complete_filter_expr
Forgot to fully switch to the new index variable.
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: 1167bf1098ad511a9390361dd5b88a090b872377
http://github.com/nelhage/barnowl/commit/1167bf1098ad511a9390361dd5b88a090b872377
Author: David Benjamin <davidben@mit.edu>
Date: 2009-10-02 (Fri, 02 Oct 2009)
Changed paths:
M t/completion.t
Log Message:
-----------
Add tests for complete_filter_expr
Tests:
- initial setup
- not forwards back to initial
- offers and/or
- offers and/or OR ) when in parens
- parse some vaguely complicated filter
- type, direction, login argument completion
Signed-off-by: David Benjamin <davidben@mit.edu>
Commit: e2f7963568918f41e7b65c6eeaed2a1cd8b032d7
http://github.com/nelhage/barnowl/commit/e2f7963568918f41e7b65c6eeaed2a1cd8b032d7
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M perl/lib/BarnOwl/Hooks.pm
Log Message:
-----------
Fix missing commands from command completion.
If even a command is shadowed from the BarnOwl:: namespace by an
existing sub, we should include it in the list of all commands that is
used by the completion code.
Commit: 40bda849e3445a8d5240f9d206ad074001764a2c
http://github.com/nelhage/barnowl/commit/40bda849e3445a8d5240f9d206ad074001764a2c
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M global.c
M owl.c
M owl.h
M select.c
Log Message:
-----------
Catch ^Z and display a message instead of suspending.
Commit: 340c3e79617a8c1179a58118a0f7adbb87fc40d4
http://github.com/nelhage/barnowl/commit/340c3e79617a8c1179a58118a0f7adbb87fc40d4
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M functions.c
Log Message:
-----------
owl_function_error: Bail out early in the case of recursive errors.
owl_function_adminmsg triggers a lot of code, and so it is possible that
whatever caused an error will also cause owl_function_adminmsg to error
out. Watch for recursive calls to owl_function_error, and bail out early
to prevent infinite looping.
Commit: 8830f79f53d5aa2fcf07ca1c06630fc6c8797f76
http://github.com/nelhage/barnowl/commit/8830f79f53d5aa2fcf07ca1c06630fc6c8797f76
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M .gitignore
M Makefile.am
M perl/lib/BarnOwl/Complete/Client.pm
A perl/lib/BarnOwl/Complete/Filter.pm
M perl/lib/BarnOwl/Completion/Context.pm
M perl/lib/BarnOwl/Completion/Util.pm
A perl_tester.c
M perlglue.xs
M runtests.sh
M t/completion.t
M t/mock.pl
Log Message:
-----------
Merge branch 'davidben/context-slice'
Conflicts:
perlglue.xs