[/trunk] Changeset 265 by mikael
* Don't send "too big" messages in multi-line mode
* TODO & ChangeLog updates
--- a/mcabber/ChangeLog Sat Jun 25 08:40:00 2005 +0000
+++ b/mcabber/ChangeLog Sat Jun 25 08:43:24 2005 +0000
@@ -3,6 +3,7 @@
* Fix backspace handling (KEY_BACKSPACE isn't reliable)
* Change logfile date format to iso8601 (more readable!)
A script is available in contrib/ to convert the existing (old) logfiles
+ MCabber will display a warning when parsing an old-style file
* Implement Ctrl-q (jump to first/next unread message)
* Implement initial support for multi-line messages (/msay command)
* The /add command can now set the nickname
@@ -11,6 +12,7 @@
* Update INSTALL and mcabberrc.example files for better explanations
* Comment out useless code (fix a compilation error with gcc 4)
* Add Makefile for the doc subdir; the manpage will be installed now
+ * Minor fixes
-- Mikael, ?
--- a/mcabber/src/TODO Sat Jun 25 08:40:00 2005 +0000
+++ b/mcabber/src/TODO Sat Jun 25 08:43:24 2005 +0000
@@ -4,10 +4,12 @@
* We should display a warning when we can't write (any more) logs
(bad dir, no space left...)
* Colors are misnamed
+* Buggy (or inexistent) color setup makes (m)cabber crash
TODO:
+* Multi-line "verbatim" mode (with commands disabled)
* Presence notification is always accepted. We should ask...
* Resource priority
* UTF-8 support
--- a/mcabber/src/screen.c Sat Jun 25 08:40:00 2005 +0000
+++ b/mcabber/src/screen.c Sat Jun 25 08:43:24 2005 +0000
@@ -1132,7 +1132,7 @@
}
if (multiline) {
int len = strlen(multiline)+strlen(line)+2;
- if (len >= HBB_BLOCKSIZE) {
+ if (len >= HBB_BLOCKSIZE - 1) {
// We don't handle single messages with size > HBB_BLOCKSIZE
// (see hbuf)
scr_LogPrint("Your multi-line message is too big, this line has "