summaryrefslogtreecommitdiff
path: root/src/common.h
AgeCommit message (Collapse)Author
2009-01-08Add defines for memory slices functions for compatibility with glibEmanuele Giaquinta
versions older than 2.10. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14Do not check for standard C headers.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11Move lib-config typedefs in iconfig.h.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10Remove unused macros.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16Rename config.h to irssi-config.h to avoid collisions.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02Fix indentation.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-14Replace last occurrence of IRSSI_DIR_SHORT with get_irssi_dir() and remove it.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-21Fixes for srcdir != builddir.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-25Compile fix for gcc 4 (Bug 219)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10A few fixes to make irssi work with garbage collected GLIB.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21Irssi now uses 64bit file offets if it's only supported by system. Also didTimo Sirainen
a few changes to DCC so that it should be possible to send >4GB files. DCC protocol uses 32bit "n bytes transferred" notifications, so I had to bend the protocol a bit to allow 64bit files by truncating the value to lowest 32bits. I'm not sure how other clients handle those notifications, but irssi uses it only to figure out when the DCC SEND transfer is complete, so it's quite safe to assume that if we've managed to write() all the bytes and we receive the last 32bit of file size, it means the total file size instead of the total - (n+1)*4GB. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21Added #define DEFAULT_SERVER_ADD_PORT to common.h which /SERVER ADD uses asTimo Sirainen
default port. Fixed autoconnecting to use port 0 (default) instead of forced 6667. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10broke CHAT_PROTOCOL_REC into struct + typedef.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09separated author emailTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01tss@iki.fi -> cras@irssi.orgTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Added IRSSI_GLOBAL_CONFIG as wellTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10added #define IRSSI_HOME_CONFIGTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added WINDOW_REC declaration to common.h, removed unneeded #include ↵Timo Sirainen
"servers.h" from fe-windows.h which broke several files, added the #include in them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28g_free_not_null() is now equal to g_free() - didn't notice before this wasTimo Sirainen
allowed.. :) I'll remove this macro entirely when I get around rewriting irssi.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Removed memory debugging code. It's a lot easier to check for bufferTimo Sirainen
overflows with electric fence and memory leaks with memprof. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Added --home and --config command line parameters to irssi to specifyTimo Sirainen
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17Getting rid of gettext, moved some _(..) texts to themes and left some errorTimo Sirainen
messages hard coded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-29http://irssi.org -> http://irssi.org/Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory andTimo Sirainen
at connect() time it's decided which one should be used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23#include "config.h", not "../config.h" so building from objdir worksTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16Check if libtool creates libraries in .libs dir. Check if -lgmoduleTimo Sirainen
doesn't work. #include "../config.h" instead of <config.h>, this should fix problems when config.h is found in some -I dir. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04Use GIOChannel instead of sockets directly. Helps porting to win32 :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23s/enum GInputCondition/int/ - enums aren't supposed to orred together iTimo Sirainen
think.. at least MIPSpro gave warnings about it and it also feels wrong :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26Some fixes for compiling with Win32 :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01Keyboard should never get stuck again when receiving huge amounts ofTimo Sirainen
text from server that irssi doesn't handle fast enough. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-30Object type checking fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15Some changes handling g_input_add() - maybe this helps to problemsTimo Sirainen
where irssi sometimes eats all the cpu. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16Cleaned up code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02Changed irssi's url to http://irssi.orgTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26rest of the ~rewrite?Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-14Sorry for a big update - I still don't have internet connection at homeTimo Sirainen
and this is what I've been doing a few weeks now.. :) You really shouldn't upgrade to this version without keeping a backup of the working one, since this will break everything and at least notify list is broken - probably something else too. * On the way to 0.8.0 .. Major rewriting/rearranging code. There's some changes in behaviour because I'm trying to make Irssi a bit more compatible with EPIC. * libPropList isn't needed anymore - I'm using my own configuration library. This is mostly because different proplists worked a bit differently everywhere and several people had problems with it. It's also yet another extra library that you needed to compile Irssi. New configuration library has several advantages: You can add comments to configuration file and they also stay there when it's saved. It's not nearly as vulnerable as proplist. If some error occurs, instead of just not reading anything it will try to continue if possible. Also the error messages are written to irssi's text window instead of stdout. It can be managed more easily than proplist - setting/getting the configuration is a lot more easier. * Coding style changes - I'm not using gint, gchar etc. anymore, they're just extra pain when moving code to non-glib projects and syntax hilighting doesn't work by default with most editors ;) Indentation style was also changed to K&R because of some political reasons ;) And I'm already starting to like it.. :) It forces me to split code to different functions more often and the result is that the code gets more readable. And finally I'm also using nst' all over the place. + /EVAL <commands> - Expand all the special variables from string and run it. Commands can be split with ; character. See docs/SPECIAL_VARS for more info. + Aliases are parsed just like /EVAL - arguments are in $0..$9. + Text formats are also parsed like /EVAL, arguments used to be in $1..$9, now they're in $0..$8 so it messes up existing themes.. + /SET [key [value]] - no more the '=' character. Boolean values also need to be changed with ON/OFF/TOGGLE values (not yes/no). Settings aren't saved to disk until you use /SAVE. + /TOGGLE <key> [ON/OFF] - same as /SET <key> TOGGLE git-svn-id: http://svn.irssi.org/repos/irssi/trunk@163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19Removed as many warnings as possible when compiling with -ansi -pedanticTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18Merged in i2k's networking codeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18Remove gui_timeout_add/remove, gui_input_add/remove and lib-nongui, useTimo Sirainen
Glib instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-25Irssi 0.7.27 released.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@130 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-16Fix for building with objdirTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@57 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09popt-gnome.h isn't used anymoreTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@39 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-06libpopt is now distributed with irssi since it's small enough and I gotTimo Sirainen
tired of installing it to every computer when I tried to run irssi.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@37 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-03Command line argument handling works.Timo Sirainen
-c server [-p port] : connects to server at startup -n : don't autoconnect to any servers git-svn-id: http://svn.irssi.org/repos/irssi/trunk@33 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-03Initial revisionTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3 dbcabf3a-b0e7-0310-adc4-f8d773084564