Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | nick_strip: accept null irc parameter | dequis | 2016-12-25 | -1/+1 |
| | | | | Sometimes I'm randomly reminded that we have a test suite. | |||
* | Add nick_lowercase and nick_underscores settings | dequis | 2016-12-25 | -4/+16 |
| | ||||
* | nick_gen: retry g_convert_with_fallback without //TRANSLIT if it fails | dequis | 2015-06-04 | -2/+10 |
| | | | | | | | | | | Based on patch from trac ticket #1152. Quoting: >NetBSD's implementation of iconv does not appear to support //TRANSLIT. >This means g_convert_with_fallback() called with //TRANSLIT will always fail Removed the log_message part of the patch since that's daemon level logging and it's unlikely to fail twice anyway (even if it did, it wouldn't crash) | |||
* | teach nick_lc to handle # and other non-letters correctly | Evan Klitzke | 2015-05-28 | -1/+5 |
| | ||||
* | irc: split bee_irc_chat_name_hint in a few functions | dequis | 2015-04-06 | -11/+18 |
| | | | | Also split underscore_dedupe from nick_dedupe. | |||
* | Reindent everything to K&R style with tabs | Indent | 2015-02-20 | -246/+210 |
| | | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame. | |||
* | Merging random other fixes/cleanups. | Wilmer van der Gaast | 2015-01-17 | -4/+8 |
|\ | ||||
| * | Fix UTF8 nick truncation issues | dequis | 2015-01-16 | -4/+8 |
|/ | | | | | | | | | | | | | | When nicks exceeded the length limit, they were cut at 24 bytes and that sometimes left invalid utf8 at the end, which made the nick_ok() validation fail and often broke those nicks completely. This adds a truncate_utf8 function to cut the string at a safe place Also, the method to deduplicate nicks when there's no more place to add underscores was changed to add "_XX" at the end, where XX are two random hex chars. The previous method in those cases was increasing the value of the first character of the nick... which leads to silly and confusing results (i.e. FacebookUser -> GacebookUser) | |||
* | Replace isdigit/isalpha/.../tolower/toupper with glib variants | dequis | 2015-01-16 | -5/+5 |
| | | | | | | | | | | | This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c | |||
* | Fix incorrect Free Software Foundation address | Matej Cepl | 2015-01-16 | -2/+2 |
| | ||||
* | nick_lc: use unsigned chars to avoid unicode issues | dequis | 2014-10-11 | -2/+2 |
| | ||||
* | Fix for null pointer in nick_gen (Ticket #1101) | Daniel Albers | 2014-02-27 | -1/+1 |
| | ||||
* | #1067: Restore nickname truncation. | Wilmer van der Gaast | 2013-06-22 | -2/+18 |
| | ||||
* | Merging utf8-nicks branch. This adds a utf8_nicks setting which removes the | Wilmer van der Gaast | 2013-06-16 | -94/+113 |
|\ | | | | | | | | | ASCII restriction on contact nicknames. Use at your own risk! | |||
| * | Simple (and possibly still fragile) support for UTF-8 nicknames. | Wilmer van der Gaast | 2013-04-23 | -80/+101 |
| | | ||||
| * | Add irc_t* argument to all relevant nick_*() functions. | Wilmer van der Gaast | 2013-04-20 | -15/+12 |
|/ | ||||
* | I'm still bored on a long flight. Wrote a script to automatically update | Wilmer van der Gaast | 2013-02-21 | -1/+1 |
| | | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file. | |||
* | Fixed one potential memory leak, and re-remembered that for GLib + valgrind | Wilmer van der Gaast | 2012-11-25 | -0/+4 |
| | | | | | you REALLY need to set G_SLICE=always-malloc. Argh! | |||
* | rename irc_usermsg to irc_rootmsg. | unknown | 2011-10-03 | -4/+4 |
| | | | | | | add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user. | |||
* | Fix use of g_convert(), thanks to an anonymous person who opened #676. | Wilmer van der Gaast | 2010-09-29 | -2/+2 |
| | ||||
* | Some fixes for compiler warnings that only show up when compiling with -O2, | Wilmer van der Gaast | 2010-08-05 | -1/+1 |
| | | | | | and some additions to the Debian package description. | |||
* | Allow including account tags in nicknames, and be a bit more clever about | Wilmer van der Gaast | 2010-07-28 | -0/+6 |
| | | | | | the default tags (recognize AIM/ICQ/GTalk/Facebook). | |||
* | Making nick_format a tiny bit more complicated: Allow truncating a variable | Wilmer van der Gaast | 2010-07-17 | -1/+10 |
| | | | | | to a certain length. | |||
* | Fixed bug in r712. Check part, not *part. | Wilmer van der Gaast | 2010-07-17 | -1/+1 |
| | ||||
* | nick_gen() should also insert an underscore if the first character of a nick | Wilmer van der Gaast | 2010-07-17 | -0/+3 |
| | | | | | would otherwise be a digit. | |||
* | Reformat nicks whenever fullname/nick/group changes (but at least for now | Wilmer van der Gaast | 2010-07-13 | -2/+13 |
| | | | | | still only for offline users). | |||
* | Added %nick and %group. They don't work yet since nick_gen() is only called | Wilmer van der Gaast | 2010-07-12 | -0/+13 |
| | | | | | once. | |||
* | First version of the nick_format setting. | Wilmer van der Gaast | 2010-07-12 | -7/+79 |
| | ||||
* | Use bee_user structs in all nick_* functions. Prepare for a nick_get() with | Wilmer van der Gaast | 2010-07-11 | -17/+27 |
| | | | | | more flexible nickname generation. | |||
* | nogaim.c is close to doing something useful again without speaking any IRC | Wilmer van der Gaast | 2010-03-31 | -12/+13 |
| | | | | | itself. | |||
* | Added privmsg handlers to users/channels. root commands are coming back. | Wilmer van der Gaast | 2010-03-27 | -1/+1 |
| | ||||
* | One total mess that doesn't do much yet, but reorganised some stuff and | Wilmer van der Gaast | 2010-03-26 | -2/+2 |
| | | | | | untying the IRC and the core parts a little bit. Lots of work left to do. | |||
* | Fixed a bug with nickname handling. I really should kill all fixed-length | Wilmer van der Gaast | 2008-06-24 | -0/+1 |
| | | | | | strings in BitlBee... | |||
* | More consistency in error/warning errors. Until now "WARNING:" was usually | Wilmer van der Gaast | 2008-01-06 | -1/+1 |
| | | | | | in upper case while "Error:" wasn't .... that doesn't really make sense. | |||
* | Don't allow nicks that start with a number. | Wilmer van der Gaast | 2007-12-10 | -5/+14 |
| | ||||
* | Added imcb_buddy_nick_hint so the Jabber conference module can suggest sane | Wilmer van der Gaast | 2007-06-04 | -3/+11 |
| | | | | | | | | nicknames for chatroom participants. There'll probably be a lot of underscores now, but this is by far the cleanest way to implement this, I think. At least now whispers will work properly. Also using this function call to set names for ICQ contacts in a slightly saner way. | |||
* | New code to use nicknames stored in ICQ contact lists. | Wilmer van der Gaast | 2007-04-19 | -9/+16 |
| | ||||
* | Implemented per-account nick lists instead of per-protocol nick lists. | Wilmer van der Gaast | 2006-07-03 | -64/+47 |
| | | | | | | | | | | nick_t is dead, instead nicks are just saves in a per-account_t GLib hash table. While doing this, the import_buddies command finally died and text_save() disappeared, because the old file format can't handle most of the new features in this branch anyway. Still have to implement support for the new nick lists in text_load()! | |||
* | Made set.c API more generic so it's not specific to irc_t structures anymore, | Wilmer van der Gaast | 2006-06-30 | -1/+1 |
| | | | | | but can be used for account_t structures too, for example. | |||
* | Add checks for nick functions as well, fix bug where nick lengths weren't | Jelmer Vernooij | 2006-06-16 | -2/+2 |
| | | | | | being honored. | |||
* | Merge my pluginable branch | Jelmer Vernooij | 2005-12-14 | -2/+2 |
|\ | ||||
| * | Migrate my pluginable branch to use Wilmers' branch as parent | Jelmer Vernooij | 2005-11-07 | -2/+2 |
| | | ||||
* | | Add some const | Jelmer Vernooij | 2005-12-08 | -13/+8 |
|/ | ||||
* | Initial repository (0.99 release tree)0.99 | Wilmer van der Gaast | 2005-11-06 | -0/+263 |