summary refs log tree commit diff stats
path: root/plugins/fishlim
AgeCommit message (Expand)Author
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for allocations in all pluginsTingPing
2014-12-17More consistently include config.hTingPing
2014-12-15Don't require glib 2.40TingPing
2014-12-15fishlim: Handle server-timeTingPing
2014-12-15fishlim: Use proper filesystem encoding for filesTingPing
2014-12-15fishlim: Use standard keyfile save functionTingPing
2014-12-15fishlim: Strip whitespace when deleting keysTingPing
2014-12-15fishlim: Use hexchat_nickcmp()TingPing
2014-12-15fishlim: Improve string handlingTingPing
2014-12-15configure: Improve various build flagsTingPing
2014-07-18Fix formatting warningsTingPing
2014-06-02fishlim: Fix filename in error messagesTingPing
2014-06-02Handle a special character before "+OK", e.g. identify-msg + or -Samuel Lidén Borell
2014-06-02Use path to HexChat instead of XChat in the test programSamuel Lidén Borell
2014-06-02Add missing include in the test programSamuel Lidén Borell
2014-06-02Fix memory leak in the test programSamuel Lidén Borell
2014-06-02Fix undefined behaviour in left shiftSamuel Lidén Borell
2014-01-29osx: Silence openssl deprecated warningsTingPing
2014-01-20configure: Clean up EXTRA_DISTTingPing
2013-09-15plugins: fishlim: VS2013 comes with a working stdbool.hArnavion
2013-09-15Convert project files to vs2013Eustachy Kapusta
2013-07-24Move optimization settings from all subsequent projects to hexchat.propsEustachy Kapusta
2013-04-28Don't hardcode "plugins" as the subdirectory for plugins in manyChristoph J. Thompson
2013-04-25win32: Moved PlatformToolset configuration to individual project files. It sh...Arnavion
2013-04-01Remove another bunch of obsolete junkBerke Viktor
2012-11-04Use configdir instead of *xchatdir*Berke Viktor
2012-10-30Now some final cleanup (I hope)Berke Viktor
2012-10-30Some final rebrandingBerke Viktor
2012-10-30Rebrand get_info(xchatdir) but remain compatible for Perl and PythonBerke Viktor
2012-10-30Rebranding for the rest of plugin*Berke Viktor
2012-10-30Rebranding for XCHAT_EAT_*Berke Viktor
2012-10-30Rebranding for XCHAT_PRI_*Berke Viktor
2012-10-30Remove hexchat-plugin.h duplicateBerke Viktor
2012-10-28Further doc relocations and conversionsBerke Viktor
2012-10-24A lot more rebrandingBerke Viktor
2012-10-21Move warning level to property sheetBerke Viktor
2012-10-13Compatibility for Automake 1.12.4+Berke Viktor
2012-10-03Revert to VS2010 part4Berke Viktor
2012-10-02Use explicit project names, output filenames depend on themBerke Viktor
2012-10-02Oops, wrong find'n'replaceBerke Viktor
2012-10-02Remove hardcoding as much as possibleBerke Viktor
2012-10-02Change platform toolset to Visual Studio 2012Berke Viktor
2012-10-02Add XP (WDK) solution as a fallback optionBerke Viktor
2012-07-26Make FiSHLiM consistent with recent naming changesBerke Viktor
2012-07-21Add _AMD64_ definition for x64 builds, make Visual Studio even happierBerke Viktor
2012-07-21Add trailing backslashes to Output and Intermediate directories, make Visual ...Berke Viktor
2012-07-18Prepare FiSHLiM to use the plugin config APIBerke Viktor
2012-07-18Add make support for FiSHLiM on UnixBerke Viktor
2012-07-14get rid of *.user files and ignore themxhmikosr
See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ /* Process textevents.in with make-te < textevents.in > textevents.h 2> textenums.h * * textevents.in notes: * * - The number in the ending lines indicates the total number of arguments * a text event supports. So don't touch them unless you actually modify the * EMIT_SIGNAL commands, too. * * - The "n" prefix means the event text does not have to be translated thus * the N_() gettext encapsulation will be omitted. * * - EMIT_SIGNAL is just a macro for text_emit() which can take a total amount * of 4 event arguments, so events have a hard limit of 4 arguments. * * - $t means the xtext tab, i.e. the vertical separator line for indented nicks. * That means $t forces a new line for that event. * * - Text events are emitted in ctcp.c, dcc.c, hexchat.c, ignore.c, inbound.c, * modes.c, notify.c, outbound.c, proto-irc.c, server.c and text.c. */ #include <stdio.h> #include <string.h> #include <stdlib.h> int main() { char name[512]; char num[512]; char help[512]; char def[512]; char args[512]; char buf[512]; char *defines[512]; int i = 0, max; printf("/* this file is auto generated, edit textevents.in instead! */\n\nconst struct text_event te[] = {\n"); while(fgets(name, sizeof(name), stdin)) { name[strlen(name)-1] = 0; fgets(num, sizeof(num), stdin); num[strlen(num)-1] = 0; fgets(help, sizeof(help), stdin); help[strlen(help)-1] = 0; fgets(def, sizeof(def), stdin); def[strlen(def)-1] = 0; fgets(args, sizeof(args), stdin); args[strlen(args)-1] = 0; fgets(buf, sizeof(buf), stdin); if (args[0] == 'n') printf("\n{\"%s\", %s, %d, \n\"%s\"},\n", name, help, atoi(args+1) | 128, def); else printf("\n{\"%s\", %s, %d, \nN_(\"%s\")},\n", name, help, atoi(args), def); defines[i] = strdup (num); i++; } printf("};\n"); fprintf(stderr, "/* this file is auto generated, edit textevents.in instead! */\n\nenum\n{\n"); max = i; i = 0; while (i < max) { if (i + 1 < max) { fprintf(stderr, "\t%s,\t\t%s,\n", defines[i], defines[i+1]); i++; } else fprintf(stderr, "\t%s,\n", defines[i]); i++; } fprintf(stderr, "\tNUM_XP\n};\n"); return 0; }