Doc updates.
Steve Kemp
Gerfried Fuchs
Dani Carbonell
+Christian Hammond
+2003-03-17 Jordi Mallach <jordi@sindominio.net>
+
+ * src/fields.c (gmsginput_activate): Patch from Robert Cheramy, to
+ workaround segfaults when trying to input characters not supported
+ by the current locale.
+ * src/partyline.c (textentry): Likewise.
+
+ * AUTHORS, TODO: Updated.
+ * README: Changed contact address.
+
2003-03-17 Jordi Mallach <jordi@sindominio.net>
* configure.in (ALL_LINGUAS): Added "ru" (Russian).
http://gtetrinet.sourceforge.net/
-E-Mail suggestions, bug reports, etc to kswong@zip.com.au
+E-Mail suggestions, bug reports, etc. to gtetrinet-list@gnome.org.
- Get server list from http://www.tetrinet.org/ip/ (see #104323)
-- GNOME2 port issues:
- + detaching and reattaching the Menu Bar causes two Bonobo-CRITICAL
- + if you use the C locale and input an 8bit character, gtetrinet segfaults
-
- Make gtetrinet resizeable (at least the fields messages bit)
- Hide mouse cursor when game is in progress
/* post /me thingy */
g_snprintf (buf, sizeof(buf), "* %s %s", nick, s+4);
locale_s = g_locale_from_utf8 (buf, -1, NULL, NULL, NULL);
+ /* FIXME : if there is an error while converting from UTF8 to current locale, we ignore the message */
+ if (locale_s == NULL) return;
client_outmessage (OUT_GMSG, locale_s);
g_free (locale_s);
}
/* post message */
g_snprintf (buf, sizeof(buf), "<%s> %s", nick, s);
locale_s = g_locale_from_utf8 (buf, -1, NULL, NULL, NULL);
+ /* FIXME : if there is an error while converting from UTF8 to current locale, we ignore the message */
+ if (locale_s == NULL) return;
client_outmessage (OUT_GMSG, locale_s);
g_free (locale_s);
}
/* convert from UTF-8 to the current locale, will work with ISO8859-1 locales */
iso_text = g_locale_from_utf8 (text, -1, NULL, NULL, NULL);
+ /* FIXME : if there is an error while converting from UTF8 to current locale, we ignore the message */
+ if (iso_text == NULL) return;
+
tetrinet_playerline (iso_text);
GTET_O_STRCPY (plhistory[plh_end], iso_text);
gtk_entry_set_text (GTK_ENTRY(widget), "");