# # ChangeLog for / # # Generated by Trac 1.2.3 # 2024-11-26T06:47:05Z Sun, 07 Mar 2010 18:43:23 GMT Wilmer van der Gaast [fb020ac] * account.c (modified) * account.h (modified) * configure (modified) * doc/user-guide/commands.xml (modified) * doc/user-guide/misc.xml (modified) * irc.c (modified) * irc_commands.c (modified) * protocols/jabber/jabber.c (modified) * protocols/jabber/jabber.h (modified) * protocols/jabber/jabber_util.c (modified) * protocols/jabber/presence.c (modified) * protocols/msn/msn.c (modified) * protocols/msn/msn.h (modified) * protocols/msn/msn_util.c (modified) * protocols/msn/ns.c (modified) * protocols/msn/tables.c (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/oscar/oscar.c (modified) * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) Merging in mainline, including improved away/status stuff. Sun, 07 Mar 2010 18:41:45 GMT Wilmer van der Gaast [c32f492] * account.c (modified) * account.h (modified) * doc/user-guide/commands.xml (modified) * doc/user-guide/misc.xml (modified) * irc.c (modified) * irc_commands.c (modified) * protocols/jabber/jabber.c (modified) * protocols/jabber/jabber.h (modified) * protocols/jabber/jabber_util.c (modified) * protocols/jabber/presence.c (modified) * protocols/msn/msn.c (modified) * protocols/msn/msn.h (modified) * protocols/msn/ns.c (modified) * protocols/msn/tables.c (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/oscar/oscar.c (modified) * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) Merging in improved away/status message code. Sun, 07 Mar 2010 18:37:23 GMT Wilmer van der Gaast [0e99548] * doc/user-guide/commands.xml (modified) * doc/user-guide/misc.xml (modified) Doc update. Sun, 07 Mar 2010 18:32:31 GMT Wilmer van der Gaast [63770b4] * irc_commands.c (modified) * protocols/jabber/jabber.c (modified) Changed formatting of Jabber buddy info response. Sun, 07 Mar 2010 00:31:34 GMT Wilmer van der Gaast [68198e9] * protocols/oscar/oscar.c (modified) Two more fixes in OSCAR to avoid NULL pointers being passed to ... Sun, 07 Mar 2010 00:22:33 GMT Wilmer van der Gaast [58adb7e] * account.c (modified) * irc.c (modified) * irc_commands.c (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) Added global and per-account settings "away" and "status" so the user ... Sat, 06 Mar 2010 18:22:20 GMT Wilmer van der Gaast [34fbbf9] * protocols/nogaim.c (modified) Adapted nogaim.c. Pretty nice cleanup of away state alias handling, ... Sat, 06 Mar 2010 18:19:31 GMT Wilmer van der Gaast [be915f5] * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) Yahoo! fixes. Turns out the protocol really is somewhat odd. Sat, 06 Mar 2010 17:41:01 GMT Wilmer van der Gaast [0714d51] * protocols/msn/tables.c (modified) Put AWY at the beginning of the list since it's used as a fallback. Sat, 06 Mar 2010 17:10:32 GMT Wilmer van der Gaast [4049061] * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) Fixed up Yahoo! I'll have to do some more thorough testing of this ... Sat, 06 Mar 2010 16:17:23 GMT Wilmer van der Gaast [17f9522] * protocols/oscar/oscar.c (modified) OSCAR cleanup. Sat, 06 Mar 2010 15:44:46 GMT Wilmer van der Gaast [b051d39] * protocols/msn/msn.c (modified) * protocols/msn/msn.h (modified) * protocols/msn/ns.c (modified) * protocols/msn/tables.c (modified) MSN module updated to deal with the new API. Not many changes since ... Sat, 06 Mar 2010 14:55:12 GMT Wilmer van der Gaast [2bc8ac0] * protocols/nogaim.h (modified) Away with this stupid GAIM_AWAY_CUSTOM constant. Let's see what still ... Sat, 06 Mar 2010 14:50:52 GMT Wilmer van der Gaast [840bba8] * protocols/jabber/jabber.c (modified) * protocols/jabber/jabber.h (modified) * protocols/jabber/jabber_util.c (modified) * protocols/jabber/presence.c (modified) The Jabber part of the change. Also made representation of not-away a ... Sat, 06 Mar 2010 14:15:14 GMT Wilmer van der Gaast [d1ad6f0] * account.h (modified) Preparing for per-account status/away messages. Convert some #defines ... Wed, 17 Feb 2010 00:17:04 GMT Wilmer van der Gaast [1c2eaa3] * configure (modified) Also disable Yahoo! module if SSL support is missing since it also ... Mon, 04 Jan 2010 12:16:18 GMT Wilmer van der Gaast [e08e53c] * configure (modified) * protocols/purple/Makefile (modified) Fixed build system: Run pkg-config at configure-time instead of just ... Sat, 26 Dec 2009 15:14:52 GMT Wilmer van der Gaast [a19ea7a] * protocols/purple/purple.c (modified) Use purple_buddy_get_name, not purple_buddy_get_contact_alias. Makes ... Thu, 17 Dec 2009 00:42:25 GMT Wilmer van der Gaast [ccba980] * protocols/msn/msn_util.c (modified) * protocols/yahoo/libyahoo2.c (modified) A few fixes for bugs that caused coredumps on testing.bitlbee.org (or ... Mon, 07 Dec 2009 22:11:40 GMT Wilmer van der Gaast [ec29351] * protocols/msn/ns.c (modified) Committing some >1y old change. This seems to fix a small leak in the ... Sat, 28 Nov 2009 19:51:39 GMT Wilmer van der Gaast [5674207] * irc.c (modified) * unix.c (modified) Reshuffled initialization sequence a little bit. Most important ... Sat, 28 Nov 2009 00:47:20 GMT Wilmer van der Gaast [3e7b640] * protocols/purple/purple.c (modified) Look up a buddy in the contact list on incoming msgs. This seems to ... Thu, 26 Nov 2009 00:04:40 GMT Wilmer van der Gaast [487f555] * protocols/purple/purple.c (modified) Support for sending zomg-im-typing notifications. Wed, 25 Nov 2009 00:45:27 GMT Wilmer van der Gaast [e5d8d21] * help.c (modified) * help.h (modified) * protocols/purple/purple.c (modified) Added in-memory help info, which I wanted to implement for ages ... Wed, 25 Nov 2009 00:19:45 GMT Wilmer van der Gaast [0ac1a375] * protocols/purple/purple.c (modified) Added enough code to handle one class of queries (action-based), ... Mon, 23 Nov 2009 23:38:31 GMT Wilmer van der Gaast [45a19e5] * protocols/purple/purple.c (modified) Oops, forgot to change one protocol name string pointer.. Mon, 23 Nov 2009 23:23:37 GMT Wilmer van der Gaast [cd741d8] * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/purple/purple.c (modified) Fixed compatibility with non-libpurple version: oscar is now ... Mon, 23 Nov 2009 23:00:54 GMT Wilmer van der Gaast [4e04194] * account.c (modified) * bitlbee.h (modified) * chat.c (modified) * chat.h (modified) * doc/CHANGES (modified) * doc/user-guide/commands.xml (modified) * doc/user-guide/misc.xml (modified) * irc_commands.c (modified) * lib/misc.c (modified) * protocols/jabber/iq.c (modified) * protocols/jabber/jabber.h (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) * protocols/yahoo/yahoo2.h (modified) * protocols/yahoo/yahoo2_callbacks.h (modified) * protocols/yahoo/yahoo2_types.h (modified) * root_commands.c (modified) * storage_xml.c (modified) * user.c (modified) * user.h (modified) Merging BitlBee 1.2.4+ Mon, 23 Nov 2009 22:58:20 GMT Wilmer van der Gaast [b3117f2] * protocols/purple/purple.c (modified) Adding/removing contacts now works. Thu, 12 Nov 2009 11:41:54 GMT Wilmer van der Gaast [36cf9fd] * configure (modified) Proper detection of a usable libresolv.so or libresolv.a. glibc 2.9 ... Fri, 23 Oct 2009 23:57:41 GMT Wilmer van der Gaast [fb51d85] * doc/user-guide/misc.xml (modified) "chat add", not chat_add Fri, 23 Oct 2009 10:43:15 GMT Wilmer van der Gaast [4cf80bb] * lib/misc.c (modified) * protocols/jabber/jabber.h (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) Shuffling a few more #includes. Much more shuffling will be needed. Thu, 22 Oct 2009 21:55:23 GMT Wilmer van der Gaast [b75acf6] * account.c (modified) * bitlbee.h (modified) * chat.c (modified) * chat.h (modified) * irc_commands.c (modified) * protocols/nogaim.h (modified) * root_commands.c (modified) * storage_xml.c (modified) Don't include chat.h from bitlbee.h. make install-dev doesn't install ... Sat, 17 Oct 2009 15:43:12 GMT Wilmer van der Gaast [2e44b1f] * bitlbee.h (modified) Hah. Forgot to update the version number in bitlbee.h. I really ... Sat, 17 Oct 2009 15:25:41 GMT Wilmer van der Gaast [3650088] * doc/CHANGES (modified) I call you BitlBee 1.2.4. I hope. :-) Sat, 17 Oct 2009 15:13:40 GMT Wilmer van der Gaast [74349eb] * protocols/jabber/iq.c (modified) If you can't find what you expect in an IQ packet, it doesn't mean ... Sat, 17 Oct 2009 15:04:30 GMT Wilmer van der Gaast [57d8421] * doc/user-guide/commands.xml (modified) Document password-protected rooms. Sat, 17 Oct 2009 14:48:21 GMT Wilmer van der Gaast [99c8f13] * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) Valgrind pointed me at some memory leaks in the Yahoo! codek, ... Wed, 14 Oct 2009 21:36:09 GMT Wilmer van der Gaast [6967d01] * protocols/purple/purple.c (modified) I think daemon mode and libpurple won't go together very well for now ... Tue, 13 Oct 2009 22:33:12 GMT Wilmer van der Gaast [e71cfbc] * protocols/yahoo/libyahoo2.c (modified) Turns out I *did* implement HTTPS auth for Yahoo! myself already, but ... Mon, 12 Oct 2009 22:37:28 GMT Wilmer van der Gaast [4524f66] * protocols/purple/purple.c (modified) Store real names in /whois. Mon, 12 Oct 2009 22:23:49 GMT Wilmer van der Gaast [e248c7f] * configure (modified) * protocols/nogaim.c (modified) Automatically try prpl-$proto if $proto doesn't exist, and disable ... Mon, 12 Oct 2009 22:19:41 GMT Wilmer van der Gaast [dd0d57b1] * protocols/purple/purple.c (modified) Oops, forgot to drop a printf() of all away states for debugging. Mon, 12 Oct 2009 00:00:24 GMT Wilmer van der Gaast [ec5e57d] * protocols/purple/purple.c (modified) Support for setting away states. Somewhat hackish but this stuff is ... Sun, 11 Oct 2009 21:08:26 GMT Wilmer van der Gaast [b74b287] * protocols/purple/purple.c (modified) * set.c (modified) * set.h (modified) Fixed account cleanup (use remove, not destroy) and now using user's ... Sun, 11 Oct 2009 12:57:29 GMT Wilmer van der Gaast [0f7ee7e5] * protocols/purple/purple.c (modified) * set.c (modified) * set.h (modified) Copy all the string/bool/int account settings with their defaults to ... Sun, 11 Oct 2009 12:22:23 GMT Wilmer van der Gaast [db4cd40] * protocols/purple/purple.c (modified) Some valgrind cleaning/type safety fixes. Sun, 11 Oct 2009 11:26:09 GMT Wilmer van der Gaast [4f103ea] * protocols/purple/purple.c (modified) Added handing of away states/messages of contacts. Sun, 11 Oct 2009 10:40:40 GMT Wilmer van der Gaast [4164e62] * protocols/purple/purple.c (modified) Fixing a few compiler warnings and cleaning up the last remains of ... Sat, 10 Oct 2009 23:57:26 GMT Wilmer van der Gaast [c5c18c1] * lib/events.h (modified) * lib/events_glib.c (modified) * lib/events_libevent.c (modified) * protocols/purple/purple.c (modified) Hacked up a B_EV_FLAG_FORCE_REPEAT event handler flag to make ... Sat, 10 Oct 2009 23:25:54 GMT Wilmer van der Gaast [e046390] * bitlbee.c (modified) * ipc.c (modified) * irc.c (modified) * lib/events.h (modified) * lib/events_glib.c (modified) * lib/events_libevent.c (modified) * lib/http_client.c (modified) * lib/proxy.c (modified) * lib/ssl_bogus.c (modified) * lib/ssl_client.h (modified) * lib/ssl_gnutls.c (modified) * lib/ssl_nss.c (modified) * lib/ssl_openssl.c (modified) * lib/ssl_sspi.c (modified) * protocols/jabber/io.c (modified) * protocols/msn/ns.c (modified) * protocols/msn/sb.c (modified) * protocols/oscar/oscar.c (modified) * protocols/purple/purple.c (modified) * protocols/yahoo/yahoo.c (modified) Make purple use BitlBee's event handling API. Since the APIs never ... Sat, 10 Oct 2009 15:00:16 GMT Wilmer van der Gaast [7ea8697] * protocols/yahoo/libyahoo2.c (modified) Setting Yahoo! away states works again. Sat, 10 Oct 2009 14:57:05 GMT Wilmer van der Gaast [037b66a] * protocols/yahoo/yahoo.c (modified) Fixed an ugly bug in the write handler that may have caused many ... Sat, 10 Oct 2009 13:48:44 GMT Wilmer van der Gaast [ba16895] * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo.c (modified) * protocols/yahoo/yahoo2.h (modified) * protocols/yahoo/yahoo2_callbacks.h (modified) * protocols/yahoo/yahoo2_types.h (modified) More Yahoo! fixes: Adding and removing buddies works, and for the ... Sat, 10 Oct 2009 13:39:51 GMT Wilmer van der Gaast [fa295e36] * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * user.c (modified) * user.h (modified) Added imcb_ask_auth() instead of reimplementing authorization ... Wed, 07 Oct 2009 23:37:32 GMT Wilmer van der Gaast [0cbef26] * protocols/purple/purple.c (modified) Added some debugging stuff and handling (better said, ignoring) of ... Tue, 06 Oct 2009 22:55:46 GMT Wilmer van der Gaast [389f7be] * protocols/purple/purple.c (modified) Support for sending messages. Tue, 06 Oct 2009 22:26:01 GMT Wilmer van der Gaast [d250b2a] * protocols/purple/purple.c (modified) Receive messages. Tue, 06 Oct 2009 21:49:42 GMT Wilmer van der Gaast [7da726b] * protocols/purple/purple.c (modified) Getting a contact list and online status now. Time to handle messages. Mon, 05 Oct 2009 23:32:34 GMT Wilmer van der Gaast [860ba6a] * protocols/purple/purple.c (modified) Moved some stuff around, got something that logs in and reports ... Sun, 04 Oct 2009 23:28:11 GMT Wilmer van der Gaast [796da03] * configure (modified) * protocols/nogaim.c (modified) * protocols/purple/Makefile (added) * protocols/purple/purple.c (added) Something that compiles and runs, but otherwise utterly useless. ... Sun, 04 Oct 2009 19:00:53 GMT Wilmer van der Gaast [e59b4f6] * irc_commands.c (modified) Fixed embarassing early free() bug that sat in the WATCH command ... Sun, 04 Oct 2009 18:28:41 GMT Wilmer van der Gaast [bdad407] * protocols/jabber/conference.c (modified) Fixing a crash bug that causes crashes only with buggy Jabber ... Sat, 03 Oct 2009 22:25:36 GMT Wilmer van der Gaast [c3e349e] * protocols/yahoo/libyahoo2.c (modified) Cleaned up Yahoo! fix: Error handling, and also not crashing when the ... Sat, 03 Oct 2009 19:27:50 GMT Wilmer van der Gaast [4fefb77] * protocols/yahoo/libyahoo2.c (modified) * protocols/yahoo/yahoo2_types.h (modified) Yahoo! can log in again. This code still needs major cleanups, use it ... Mon, 20 Jul 2009 13:42:11 GMT Wilmer van der Gaast [0182773] * lib/ini.c (modified) Fixed fd leak in ini.c. How could I miss this one.. :-( Wed, 24 Jun 2009 21:48:44 GMT Wilmer van der Gaast [2ea8736] * root_commands.c (modified) Fixed another crash bug (this one was triggered by just typing "chat ... Wed, 24 Jun 2009 21:44:39 GMT Wilmer van der Gaast [8a08d92] * root_commands.c (modified) Fixed crash on setting an unknown setting. Wed, 17 Jun 2009 23:17:15 GMT Wilmer van der Gaast [b9369b5] * protocols/oscar/aim.h (modified) Fixed compatibility with AIM mobile messages. Should work according ... Wed, 03 Jun 2009 16:10:36 GMT Wilmer van der Gaast [19176513] * protocols/jabber/conference.c (modified) Fixed a bug that caused crashes when joining certain kinds of Google ... Tue, 13 Jan 2009 18:59:28 GMT Wilmer van der Gaast [9e768da] * doc/user-guide/commands.xml (modified) Fixed an embarassing typo that even fooled me into believing BitlBee ... Thu, 25 Dec 2008 11:05:11 GMT Wilmer van der Gaast [489f996] * conf.c (modified) * lib/ini.c (modified) Simplified ini parser code a bit more. Not using strtok() after all ... Wed, 24 Dec 2008 09:00:42 GMT Wilmer van der Gaast [72b6783e] * lib/ini.c (modified) * lib/ini.h (modified) First version of new ini parser. Will just attempt to simplify code a ... Sun, 14 Dec 2008 15:04:48 GMT Wilmer van der Gaast [5469952] * protocols/oscar/oscar.c (modified) Detect disconnects caused by concurrent logins or rate limiting, and ... Sun, 14 Dec 2008 13:39:02 GMT Wilmer van der Gaast [71d45c2] * protocols/jabber/presence.c (modified) Dropping warnings about unknown JIDs since they're spammy (mostly ... Sun, 14 Dec 2008 10:40:17 GMT Wilmer van der Gaast [ac46218] * lib/proxy.c (modified) Removed a double g_free() in proxy.c (that couldn't actually ever be ... Sun, 14 Dec 2008 10:31:49 GMT Wilmer van der Gaast [c0c43fb] * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/oscar/oscar.c (modified) * protocols/yahoo/yahoo.c (modified) Fixed ic->away leaking memory. This var is only used by OSCAR and ... Sun, 14 Dec 2008 10:19:41 GMT Wilmer van der Gaast [939370c] * lib/events_libevent.c (modified) events_libevent now detects when the event currently being handled is ... Sun, 14 Dec 2008 01:38:59 GMT Wilmer van der Gaast [e1720ce] * irc.c (modified) Fixed a bug in the IRC parser where lines that start with a colon and ... Sun, 14 Dec 2008 01:14:55 GMT Wilmer van der Gaast [6d5eb72] * chat.c (modified) Added more chat.c sanity checks that were (embarassingly) missing so far. Sat, 13 Dec 2008 20:02:55 GMT Wilmer van der Gaast [549545b] * chat.c (modified) Checking if acc->prpl->chat_join actually exists before using it. :-/ Sat, 13 Dec 2008 19:46:56 GMT Wilmer van der Gaast [77fc000c] * root_commands.c (modified) Added argument count check to "add -tmp" to prevent NULL dereference. Sat, 13 Dec 2008 12:08:05 GMT Wilmer van der Gaast [de49316] * tests/Makefile (modified) * tests/check_set.c (modified) Killed the test for setting non-existing variables since I killed ... Mon, 29 Sep 2008 21:53:05 GMT Wilmer van der Gaast [c05eb5b] * root_commands.c (modified) Checking account setting's flags again before changing them. Sun, 28 Sep 2008 13:09:36 GMT Wilmer van der Gaast [fb98634] * lib/http_client.c (modified) * lib/http_client.h (modified) Fixed crappy memory management in http_client. Sun, 28 Sep 2008 11:21:55 GMT Wilmer van der Gaast [b2c062d] * protocols/jabber/conference.c (modified) Adding the password to the right part of the stanza so ... Sun, 28 Sep 2008 11:18:19 GMT Wilmer van der Gaast [94acdd0] * chat.c (modified) * chat.h (modified) * irc_commands.c (modified) * lib/xmltree.c (modified) * lib/xmltree.h (modified) * protocols/jabber/conference.c (modified) * protocols/jabber/jabber.c (modified) * protocols/jabber/jabber.h (modified) * protocols/nogaim.c (modified) * protocols/nogaim.h (modified) * protocols/oscar/oscar.c (modified) Restored support for password-protected chatrooms (for now only by ... Sun, 28 Sep 2008 10:56:46 GMT Wilmer van der Gaast [e180c59] * irc_commands.c (modified) Fixed irc_cmd_join(). Giving a more proper response to invalid ... Sun, 28 Sep 2008 00:18:21 GMT Wilmer van der Gaast [2bebe15] * protocols/yahoo/yahoo.c (modified) Fixed one crash bug in Yahoo! chatroom invitation handling. Sun, 07 Sep 2008 14:34:50 GMT Wilmer van der Gaast [ced1e17] * bitlbee.h (modified) * doc/CHANGES (modified) * doc/user-guide/Makefile (modified) * doc/user-guide/help.xml (modified) * doc/user-guide/user-guide.xml (modified) * irc.c (modified) * root_commands.c (modified) * storage.c (modified) * storage.h (modified) * storage_text.c (modified) * storage_xml.c (modified) Merging BitlBee 1.2.3 release. Sun, 07 Sep 2008 14:24:16 GMT Wilmer van der Gaast [ba3a8a5] * bitlbee.h (modified) * doc/CHANGES (modified) Finished BitlBee 1.2.3 Sun, 07 Sep 2008 13:03:51 GMT Wilmer van der Gaast [76b6521] * doc/user-guide/Makefile (modified) * doc/user-guide/help.xml (modified) * doc/user-guide/user-guide.xml (modified) Switched docs to UTF-8, using XHTML DocBook template instead of old ... Sat, 06 Sep 2008 23:10:47 GMT Wilmer van der Gaast [15d1469] * storage_xml.c (modified) Really removing the gstdio.h include now to fully fix GLib 2.4 ... Sat, 06 Sep 2008 22:59:32 GMT Wilmer van der Gaast [3183c21] * irc.c (modified) * root_commands.c (modified) * storage.c (modified) * storage.h (modified) * storage_text.c (modified) * storage_xml.c (modified) Completely reviewed all uses of irc->password, irc_setpass() and ... Tue, 02 Sep 2008 07:48:56 GMT Wilmer van der Gaast [d4810df] * root_commands.c (modified) Fixed check for set -del arguments. Mon, 01 Sep 2008 10:21:01 GMT Wilmer van der Gaast [f86a3d5] * account.c (modified) Fixed ugly looping bug in chatroom list cleanup code. Sun, 31 Aug 2008 23:37:56 GMT Wilmer van der Gaast [35529ae] * doc/user-guide/commands.xml (modified) * doc/user-guide/misc.xml (modified) Updated "help groupchats" and removed help information on the ... Sun, 31 Aug 2008 23:19:32 GMT Wilmer van der Gaast [c1333754] * doc/user-guide/commands.xml (modified) Added documentation on the "chat" command. Sun, 31 Aug 2008 22:49:32 GMT Wilmer van der Gaast [07054a5] * root_commands.c (modified) "chat add" can generate a channel name by itself if necessary. Also ... Sun, 31 Aug 2008 15:41:51 GMT Wilmer van der Gaast [3b99524] * root_commands.c (modified) Added a MIN_ARGS() macro instead of stupidly copy-pasting the same ...