mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
"complete word" signal works now with perl and it's possible to manipulate
the completion list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1542 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c9ccfcd408
commit
fdb57e148c
3 changed files with 73 additions and 10 deletions
|
|
@ -12,10 +12,13 @@ while (<STDIN>) {
|
|||
$signal = $1;
|
||||
$_ = $3;
|
||||
|
||||
s/GList \* of ([^,]*)/glistptr_\1/g;
|
||||
s/GSList of (\w+)s/gslist_\1/g;
|
||||
|
||||
s/char \*[^,]*/string/g;
|
||||
s/ulong \*[^,]*/ulongptr/g;
|
||||
s/int[^,]*/int/g;
|
||||
s/GSList of (\w+)s/gslist_\1/g;
|
||||
s/int \*[^,]*/intptr/g;
|
||||
s/int [^,]*/int/g;
|
||||
|
||||
# core
|
||||
s/CHATNET_REC[^,]*/iobject/g;
|
||||
|
|
@ -48,7 +51,7 @@ while (<STDIN>) {
|
|||
s/WINDOW_REC[^,]*/Irssi::Window/g;
|
||||
s/WI_ITEM_REC[^,]*/iobject/g;
|
||||
|
||||
s/([\w:]+)(,|$)/"\1"\2/g;
|
||||
s/([\w\*:]+)(,|$)/"\1"\2/g;
|
||||
print " { \"$signal\", { $_, NULL } },\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue