aboutsummaryrefslogtreecommitdiff
path: root/chinese/irssi
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-03-13 12:06:39 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-03-13 12:06:39 +0000
commit5dfc53c579d65f2f0005c92a6686a43ce2cb44e3 (patch)
treef7e850ae1a2bb5e7c1cbef80f646d28dea5540fb /chinese/irssi
parent820313fb80e37066624393c5e749c6d97c54e1ba (diff)
downloadports-5dfc53c579d65f2f0005c92a6686a43ce2cb44e3.tar.gz
ports-5dfc53c579d65f2f0005c92a6686a43ce2cb44e3.zip
Notes
Diffstat (limited to 'chinese/irssi')
-rw-r--r--chinese/irssi/files/patch-irssi.conf16
-rw-r--r--chinese/irssi/files/patch-src::fe-text::gui-entry.c36
2 files changed, 17 insertions, 35 deletions
diff --git a/chinese/irssi/files/patch-irssi.conf b/chinese/irssi/files/patch-irssi.conf
index 2db304df5b7b..21fa22215ed0 100644
--- a/chinese/irssi/files/patch-irssi.conf
+++ b/chinese/irssi/files/patch-irssi.conf
@@ -1,5 +1,5 @@
---- irssi.conf.orig Sun Mar 3 10:21:54 2002
-+++ irssi.conf Sun Mar 3 10:26:51 2002
+--- irssi.conf.orig Sun Mar 10 22:10:01 2002
++++ irssi.conf Wed Mar 13 19:45:27 2002
@@ -1,65 +1,17 @@
servers = (
- { address = "irc.stealth.net"; chatnet = "IRCNet"; port = "6668"; },
@@ -14,7 +14,7 @@
- { address = "irc.gnome.org"; chatnet = "GIMPNet"; port = "6667"; },
- { address = "irc.ptlink.net"; chatnet = "PTlink"; port = "6667"; },
- { address = "silc.pspt.fi"; chatnet = "SILC"; port = "706"; }
-+ { address = "irc.hinet.net"; charnet = "Hinet"; port = "6667"; },
++ { address = "irc.hinet.net"; chatnet = "Hinet"; port = "6667"; },
+ { address = "irc.seed.net.tw"; chatnet = "BSDChat"; port = "6667"; },
+ { address = "irc.csie.nctu.edu.tw"; chatnet = "BSDChat"; port = "6667"; },
+ { address = "irc.tw.freebsd.org"; chatnet = "BSDChat"; port = "6667"; }
@@ -69,15 +69,7 @@
- { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
- { name = "#irssi"; chatnet = "opn"; autojoin = "No"; },
- { name = "#silc"; chatnet = "silc"; autojoin = "No"; }
-+ { name = "#bsdchat"; chatnet = "BSDChat"; autojoin = "No"; },
++ { name = "#bsdchat"; chatnet = "BSDChat"; autojoin = "No"; }
);
aliases = {
-@@ -192,6 +144,7 @@
- position = "1";
- visible = "always";
- items = { info = { }; };
-+ disabled = "yes";
- };
-
- # we treat input line as yet another statusbar :) It's possible to
diff --git a/chinese/irssi/files/patch-src::fe-text::gui-entry.c b/chinese/irssi/files/patch-src::fe-text::gui-entry.c
index 6e4ee5362f33..5722772b29b8 100644
--- a/chinese/irssi/files/patch-src::fe-text::gui-entry.c
+++ b/chinese/irssi/files/patch-src::fe-text::gui-entry.c
@@ -1,16 +1,6 @@
---- src/fe-text/gui-entry.c.orig Sat Feb 16 19:10:11 2002
-+++ src/fe-text/gui-entry.c Sat Mar 9 00:38:18 2002
-@@ -37,7 +37,8 @@
- return;
-
- entry->text_alloc = nearest_power(entry->text_alloc+grow_size);
-- entry->text = g_realloc(entry->text, entry->text_alloc);
-+ entry->text = g_realloc(entry->text,
-+ sizeof(unichar) * entry->text_alloc);
- }
-
- GUI_ENTRY_REC *gui_entry_create(int xpos, int ypos, int width, int utf8)
-@@ -67,6 +68,27 @@
+--- src/fe-text/gui-entry.c.orig Tue Feb 26 02:10:10 2002
++++ src/fe-text/gui-entry.c Wed Mar 13 19:48:56 2002
+@@ -68,6 +68,27 @@
g_free(entry);
}
@@ -38,7 +28,7 @@
/* Fixes the cursor position in screen */
static void gui_entry_fix_cursor(GUI_ENTRY_REC *entry)
{
-@@ -84,6 +106,8 @@
+@@ -85,6 +106,8 @@
entry->scrstart = entry->pos - entry->scrpos;
}
@@ -47,7 +37,7 @@
if (old_scrstart != entry->scrstart)
entry->redraw_needed_from = 0;
}
-@@ -195,7 +219,7 @@
+@@ -196,7 +219,7 @@
}
}
@@ -56,7 +46,7 @@
{
int oldlen;
-@@ -231,7 +255,7 @@
+@@ -232,7 +255,7 @@
entry->utf8 = utf8;
}
@@ -65,7 +55,7 @@
{
g_return_if_fail(entry != NULL);
g_return_if_fail(str != NULL);
-@@ -260,7 +284,7 @@
+@@ -261,7 +284,7 @@
return buf;
}
@@ -74,9 +64,9 @@
{
unichar chr;
int i, len;
-@@ -335,11 +359,18 @@
+@@ -339,11 +362,18 @@
- void gui_entry_erase(GUI_ENTRY_REC *entry, int size)
+ void gui_entry_erase(GUI_ENTRY_REC *entry, int size, int update_cutbuffer)
{
+ int newpos;
+
@@ -90,10 +80,10 @@
+ newpos = _fix_big5_pos(entry->text, newpos-1, -1);
+ size = entry->pos - newpos;
+
- /* put erased text to cutbuffer */
- if (entry->cutbuffer == NULL || entry->cutbuffer_len < size) {
- g_free(entry->cutbuffer);
-@@ -461,10 +492,24 @@
+ if (update_cutbuffer) {
+ /* put erased text to cutbuffer */
+ if (entry->cutbuffer == NULL || entry->cutbuffer_len < size) {
+@@ -467,10 +497,24 @@
void gui_entry_move_pos(GUI_ENTRY_REC *entry, int pos)
{