[1760] in BarnOwl Developers
[nelhage/barnowl] 9e5b5f: Export skiptokens to perl.
daemon@ATHENA.MIT.EDU (noreply@github.com)
Thu Oct 29 18:21:33 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 07:01:28 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com
Branch: refs/heads/unicode-fixes
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: 1f848c27ecf364c8b24fea954c43a2e93a1828a9
http://github.com/nelhage/barnowl/commit/1f848c27ecf364c8b24fea954c43a2e93a1828a9
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
A t/unicode.t
Log Message:
-----------
Some simple tests for perlglue functions handling Unicode properly.
Commit: ae9930330d02c10ae6d460d2fdb73ab5102c71c3
http://github.com/nelhage/barnowl/commit/ae9930330d02c10ae6d460d2fdb73ab5102c71c3
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M Makefile.am
M perlglue.xs
A typemap
Log Message:
-----------
Return unicode strings to perl.
Define a new typedef, 'utf8', in perlglue.xs, and use a typemap that
indicates that values of type utf8* should be returned to perl as
Unicode strings.
There is no good reason that get_{data,config}_dir should not also
return unicode, except that making them do so crashes my barnowl in
some extremely strange and hard-to-debug manner.
Commit: c86aff8904189af1c0be57d957572ddcade6c507
http://github.com/nelhage/barnowl/commit/c86aff8904189af1c0be57d957572ddcade6c507
Author: Nelson Elhage <nelhage@mit.edu>
Date: 2009-10-03 (Sat, 03 Oct 2009)
Changed paths:
M perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
Log Message:
-----------
IRC: Encode outgoing messages as utf-8.
I believe this closes #87. It's possible in the future we'll want a
way to use a different encoding, but I believe IRC has largely
standardized on utf-8, at least insofar as anyone uses non-ASCII.