Commit graph

  • 1ca2218e46 separated the different /RAWLOG commands with empty lines - otherwise irssi would join those lines into one when printing it.. Timo Sirainen 2001-11-07 14:10:13 +00:00
  • 90285425a8 Removed " = " in /SET autolog_path example - it really shouldn't be there :) Timo Sirainen 2001-11-07 11:54:44 +00:00
  • 6a82e806b4 Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory. Timo Sirainen 2001-11-05 14:48:03 +00:00
  • a6e9d7dfb7 Terminfo is now the default, always. Timo Sirainen 2001-11-05 14:13:52 +00:00
  • 6197339b8d /CHANNEL xxx - don't crash if not connected to server. Timo Sirainen 2001-11-05 11:47:52 +00:00
  • d589ac85ce Still messing up with colors. Timo Sirainen 2001-11-04 21:47:37 +00:00
  • 5397b33d2d removed, not needed. Timo Sirainen 2001-11-04 20:13:24 +00:00
  • f4e98cc936 Looks like I went and broke /PART accidentally.. Timo Sirainen 2001-11-04 18:11:59 +00:00
  • dd04f35cc6 Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP, /NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is now treated as active target. Timo Sirainen 2001-11-04 14:36:51 +00:00
  • c5e2b28d2c Added missing irc-commands.h Timo Sirainen 2001-11-03 22:52:49 +00:00
  • e69f081127 * works now as active channel with /NOTICE, /CTCP and /NCTCP. Timo Sirainen 2001-11-03 18:36:40 +00:00
  • 3578cea258 Virtualized cursor movement and clearing to end of line. Now neither is done unless really needed. Timo Sirainen 2001-11-03 15:31:13 +00:00
  • d4d72e5583 Don't clear the window before redrawing, it's faster to do it at the same time window is being redrawn. Timo Sirainen 2001-11-03 14:50:43 +00:00
  • 25b04419d4 Reset the color before clearing screen. Set the cursor invisible when moving around in screen and set it visible again when it's in wanted position. Timo Sirainen 2001-11-03 14:42:28 +00:00
  • 67a9ad0598 /OP, /DEOP, /VOICE and /DEVOICE fixed not to print glib error if used in non-channel window. Timo Sirainen 2001-11-03 13:31:33 +00:00
  • 655e111007 update_cmd_color() updated colors wrong. Timo Sirainen 2001-11-03 13:28:06 +00:00
  • 6e24ac82ed Commands that accepeted * parameter as active channel didn't work properly - active channel was used but the * wasn't removed from parameters. Timo Sirainen 2001-11-03 13:16:36 +00:00
  • ab99ca7231 Quit if terminal gets lost. Timo Sirainen 2001-11-03 13:12:15 +00:00
  • 06435bea22 /RECONNECT ALL crashed irssi (typofix - s/unref/ref/ :) Timo Sirainen 2001-11-03 12:58:36 +00:00
  • 8f65188776 Some fixes to drawing lines & handling long lines. Timo Sirainen 2001-11-03 12:54:29 +00:00
  • 806ab849bf Yet another fix of /UPTIME alias - maybe it finally works now :) Timo Sirainen 2001-11-03 10:54:04 +00:00
  • 585527b979 compile fix - patch by manoj@io.com Timo Sirainen 2001-11-02 14:53:39 +00:00
  • f354fe54c7 Moved some stuff from irc to core. Added command_bind_proto() function to bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. Timo Sirainen 2001-11-02 01:05:14 +00:00
  • 95b94ed83c server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added #define server_ischannel(server, data) and it's now used everywhere.. Timo Sirainen 2001-11-01 22:52:23 +00:00
  • 9833844f38 Buffer overflow fix (read-only, might have caused some crashes). Timo Sirainen 2001-11-01 22:30:45 +00:00
  • f6fea30ff5 Check that it's IRC-channel we're destroying before doing any IRC-specific deinitialization. Timo Sirainen 2001-11-01 21:04:26 +00:00
  • 083bdc74be indent_always setting was wrongly set when configuration was changed. Timo Sirainen 2001-11-01 17:55:49 +00:00
  • 00f94a93a5 Crashfix when module didn't contain deinit() function. Timo Sirainen 2001-10-31 23:30:34 +00:00
  • ee93268315 changed default log directory mode to 0700 and file mode to 0600. Timo Sirainen 2001-10-31 15:18:18 +00:00
  • 91d1be7e67 updated for $cumode_space Timo Sirainen 2001-10-30 12:14:01 +00:00
  • 6bc16fc0ed added $cumode_space expando. Like $cumode, but gives " " if there's no mode. Timo Sirainen 2001-10-30 12:12:25 +00:00
  • 8b6d6b086e typofix :) Timo Sirainen 2001-10-29 21:46:46 +00:00
  • f68c48bcec Link with $LDFLAGS when trying to compile one of the test programs.. Timo Sirainen 2001-10-29 21:32:32 +00:00
  • 7b7b235ce8 forgot to define TI_rep for repeat() command. Timo Sirainen 2001-10-29 20:44:45 +00:00
  • 6d1d0208fe bug in last commit :) background color was broken Timo Sirainen 2001-10-29 19:17:54 +00:00
  • 3d50a058b9 when colors aren't used, don't save last_fg and last_bg. This helps at least clrtoeol(). Timo Sirainen 2001-10-29 19:16:14 +00:00
  • 3cdedf5b4b terminfo's term_clrtoeol() uses the clrtoeol() command only when using the default colors. otherwise it just goes and fills the line with spaces. Timo Sirainen 2001-10-29 19:13:52 +00:00
  • 2500457729 Windows weren't created with correct size. When setting statusbar lines for windows, irssi didn't resize the window properly. Timo Sirainen 2001-10-29 18:42:42 +00:00
  • 4f58b17ecb /WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server. Timo Sirainen 2001-10-29 16:15:47 +00:00
  • 59e310c723 stuff in LIBS moved to PROG_LIBS again. Otherwise linking perl module (and maybe some other stuff as well) tries to link all that with the module. Timo Sirainen 2001-10-29 13:43:46 +00:00
  • 6729317cac not needed anymore, code is in term*.[ch] now. Timo Sirainen 2001-10-29 13:04:15 +00:00
  • 92ec922637 clrtoeol() wasn't called always when drawing buffer, so some garbage could have been left to screen. Timo Sirainen 2001-10-28 23:52:36 +00:00
  • 801e593718 term_getch() -> term_gets() which can be used to read multiple keypresses at once. Also fixes keyboard not working with netbsd. Timo Sirainen 2001-10-28 23:47:47 +00:00
  • 09ca58961b Removed unused default_real_color, updated default_color's value to "-1" (didn't work without quotes) Timo Sirainen 2001-10-28 23:17:38 +00:00
  • 856e1de779 added a "const" to cvtchar() to get rid of compiler warnings Timo Sirainen 2001-10-28 23:08:40 +00:00
  • 6e38cc2645 Even if curses was found, we still need to check if it has terminfo code or just termcap.. Timo Sirainen 2001-10-28 23:01:22 +00:00
  • 0229a2bd84 Change that should have been committed already Timo Sirainen 2001-10-28 22:06:07 +00:00
  • 20e1de5ae1 terminfo_resize() updated - new terminal width can't be taken by reading it from capabilities. Have to figure out something else (setupterm()?) Timo Sirainen 2001-10-28 21:49:35 +00:00
  • 858ed4b1ef Some resize fixes. With terminfo + /SET indent_always OFF, doubleclicking long words (URLs mostly) that get split into two lines, selects the word fully. Timo Sirainen 2001-10-28 21:17:34 +00:00
  • 3826079dba Use TCSADRAIN option when changing terminfo settings. Timo Sirainen 2001-10-28 19:20:59 +00:00
  • 83324a0ed5 color forcing stuff left from previous commit Timo Sirainen 2001-10-28 18:51:00 +00:00
  • fb439b5c2a Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen. Most of the code now just marks the window/statusbar/etc. as dirty, and lets the dirty-checker handle it later. Timo Sirainen 2001-10-28 18:40:12 +00:00
  • 44b12481d6 Fixes for the updated configure. Timo Sirainen 2001-10-28 18:30:17 +00:00
  • 2ba339a26b Added support for using terminfo/termcap instead of curses. By default, configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. Timo Sirainen 2001-10-28 11:30:26 +00:00
  • 8567481fd0 When scrolling window with eg. scroll_page_count /2, irssi didn't remove window's statusbars lines when calculating number of lines to scroll. Timo Sirainen 2001-10-27 11:47:59 +00:00
  • 67cee57fb9 Irssi crashed if script died in statusbar handler. Timo Sirainen 2001-10-25 19:45:29 +00:00
  • d9b6bb152a Added flags option for Irssi::UI::Theme::format_expand(). Timo Sirainen 2001-10-25 18:17:21 +00:00
  • 39b66ab883 forward_word and backward_word now move only to next/prev non-alphanumeric character. added forward_to_space and backward_to_space. transpose_characters moves the cursor to right. patch by peder@linpro.no. Timo Sirainen 2001-10-25 14:39:36 +00:00
  • d4178292e5 Renamed /FORMAT whois_oper_type to whois_oper which is now removed. whois_oper wasn't really used anywhere AFAIK. Timo Sirainen 2001-10-25 12:02:10 +00:00
  • be48bdc22c Added Irssi::current_theme() and Irssi::Theme::format_expand() Timo Sirainen 2001-10-25 11:21:18 +00:00
  • c5c2242ee3 Boot dynaloader too even if perl libraries are compiled statically in irssi. Timo Sirainen 2001-10-25 10:00:33 +00:00
  • a2289ab8ae typofix - s/per/perl/ Timo Sirainen 2001-10-24 23:36:06 +00:00
  • feff2b1adc bugfix Timo Sirainen 2001-10-24 23:29:48 +00:00
  • ddf1b27c04 Added --with-perl-staticlib option to configure. If used, irssi's perl libraries are compiled statically into irssi binary. Timo Sirainen 2001-10-24 23:17:27 +00:00
  • bbd4b47306 Removed unfinished code that was not supposed to go to cvs.. Timo Sirainen 2001-10-24 23:12:55 +00:00
  • 2a75c88f99 Added support for changing indentation behaviour with modules. Timo Sirainen 2001-10-24 22:52:15 +00:00
  • f7683c0423 Added a bit better error reporting. Timo Sirainen 2001-10-24 22:24:14 +00:00
  • bdf5bf9785 Removed some unused code. Timo Sirainen 2001-10-24 22:18:39 +00:00
  • b43f210a47 Reset QUIT and INTR keys at quit. Timo Sirainen 2001-10-24 21:19:54 +00:00
  • 5f1cc94f84 Redraw was buggy if entry line didn't continue to end of line. Timo Sirainen 2001-10-24 14:13:42 +00:00
  • 319e852bb4 window-top-statusbars weren't working properly. Timo Sirainen 2001-10-24 13:57:54 +00:00
  • 8a5cda6167 Always set the newly created entry active. Currently we don't support multiple, but if the entry moves between statusbars sometimes we first create new one then destroy the old one and there's no active then.. Timo Sirainen 2001-10-24 13:47:13 +00:00
  • 1c9a8ab897 /SET perl_use_lib setting to specify the path for irssi's perl libraries. Default should work usually, but if you for some reason want to use different then change this. May contain multiple paths separated with space. Timo Sirainen 2001-10-24 13:20:26 +00:00
  • b2fdbd64c6 Don't print glib errors when parting a channel which isn't synced yet. Timo Sirainen 2001-10-23 21:28:16 +00:00
  • 7793f2fe73 Activity list colors are now configurable. Timo Sirainen 2001-10-23 21:26:03 +00:00
  • 3f3ea3c1b5 Using cbreak() mode again, but disable QUIT and INTR keys. Timo Sirainen 2001-10-23 20:55:22 +00:00
  • 3f578b4b53 /SCRIPT without parameters now prints list of loaded scripts. Timo Sirainen 2001-10-23 20:49:17 +00:00
  • 62c6a35aeb Added eval { } around the DynaLoader::dl_unload_file() calls to get rid of the errors it's printing with perl < 5.6. Timo Sirainen 2001-10-23 20:37:53 +00:00
  • 287df1f16a If perl linking failed, print the error message too. Timo Sirainen 2001-10-23 20:30:01 +00:00
  • d599f7bb99 /UNBAN -first | -last options added. Patch by fuchs. Timo Sirainen 2001-10-23 16:01:53 +00:00
  • e4f34d9cd3 When logs are rotated, automatically create the new directory where to open the log if it has changed. Timo Sirainen 2001-10-22 21:26:58 +00:00
  • c9f76eee75 updated colorless.theme, replaced all $0- to $* in default.theme Timo Sirainen 2001-10-22 21:19:14 +00:00
  • 857d2055b6 Yet another objdir fix. Changed the way how irssi figures out where irssi's perl libraries are installed - maybe this will finally stop those @INC problems. Timo Sirainen 2001-10-22 20:34:05 +00:00
  • 550df27558 Fixed building from objdir (symlinks irssi-version.h and in ui/textui perl stuff) Timo Sirainen 2001-10-22 20:00:15 +00:00
  • 14092a6b25 with --prefix, use INSTALLDIRS=site, not perl. hopefully fixes some @INC problems Timo Sirainen 2001-10-22 13:47:02 +00:00
  • 9dc3176efd just some extra check - might fix some crash.. Timo Sirainen 2001-10-22 12:19:27 +00:00
  • d4b0750d09 fixed server list - added a ',' .. Timo Sirainen 2001-10-22 11:57:23 +00:00
  • 89794348b1 Checking that autojoined channels weren't already joined in same chatnet had a typo so it checked all servers that the channel wasn't joined. s/servers/chatnet_servers/ Timo Sirainen 2001-10-22 09:33:32 +00:00
  • 230a51cefd Remove SYNTAX: OPER from here - it's already in core (and syntax.pl gets twice the same syntaxes currently..) Timo Sirainen 2001-10-21 20:11:18 +00:00
  • d2edd435b8 Static perl didn't work with botti. Timo Sirainen 2001-10-21 19:23:11 +00:00
  • 905a5127f4 if \x isn't a known escape sequence, it should print just x, not \x. Timo Sirainen 2001-10-21 18:58:09 +00:00
  • 99fe282e6d Moved theme registering stuff to Themes.xs. Corrected signal "script destroy" -> "script destroyed" - unregistering themes works now properly. Timo Sirainen 2001-10-21 18:28:42 +00:00
  • bc8ee2d26c Don't expand %{ and %} in themes to { and } - they could be treated as abstracts again. Printing %{ and %} now prints just { and }. This fixes printing {stuff} in statusbar (eg. {nick}). Timo Sirainen 2001-10-21 17:56:42 +00:00
  • 6f8a3bd08d added prompt, barstart and barend to theme. Removed mail stuff from config, it's only a script now. Timo Sirainen 2001-10-21 17:27:43 +00:00
  • ebd0334cb6 Settings registered with Irssi::settings_add_xx() are now correctly removed after script is unloaded. Timo Sirainen 2001-10-21 16:52:36 +00:00
  • 388d2e1f44 deinit() function is now checked and saved when loading module. Unloading modules that had module_deinit() function (not module_core_deinit()) wasn't called before. Also, error message wasn't printed if module didn't have the _core part and wasn't really irssi module. Timo Sirainen 2001-10-21 16:23:43 +00:00
  • 373fad3ced commented out sb_default_bg and added sb_background - now old themes that change statusbar background should work again properly. Timo Sirainen 2001-10-21 15:22:22 +00:00
  • 1256621041 Added reference counter to SERVER_CONNECT_REC. Since it's being moved around a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. Timo Sirainen 2001-10-21 13:59:07 +00:00
  • ae1b5b0d50 added irssi_init_finished variable to core.h which is TRUE after "irssi init finished" signal is sent. Timo Sirainen 2001-10-21 13:22:28 +00:00
  • 1b64509ae2 quitmsg_is_split() updated to check that top-level domains must be 2+ chars and contain only alphabets. Timo Sirainen 2001-10-21 11:49:17 +00:00