1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

274 Commits

Author SHA1 Message Date
Timo Sirainen
355e7dd841 theme->default_color is now used again, added default_bold_color which
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do
anything with curses..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 10:19:47 +00:00
Timo Sirainen
5ab27ea604 /SAVEWINDOWS saves now split windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 07:26:54 +00:00
Timo Sirainen
5061783f4c added descriptions for left_window and right_window
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:34:46 +00:00
Timo Sirainen
0de0499fd8 /WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.
After setting window to sticky non-sticky windows can't replace the
active sticky one. Each main window can have it's own sticky window
group.

/WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current
sticky window group, or if there's no sticky windows go to
previous/next non-sticky window. Alt-Left/Right keys default to these
commands now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:43:21 +00:00
Timo Sirainen
3f113f51b9 make deinitialization between screen_refresh_freeze() and
screen_refresh_thaw() so screen won't get redrawn needlessly


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-05 01:06:42 +00:00
Timo Sirainen
e2acaaa067 Added gui_printtext() function for printing text in printtext() format
to screen in specified position.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
b24243e45a /SB STATUS: for debugging mostly, displays number of lines and used kBs
of memory per window and totally


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:11:47 +00:00
Timo Sirainen
2a31ecaa32 Ugly quick hack to make act: never disappear but print as much activity
to statusbar as fits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 11:23:29 +00:00
Timo Sirainen
4339c9a7ed WINDOW_REC: added width and height variables
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:44:29 +00:00
Timo Sirainen
96512a3d6a /SB END: Don't do anything when already at the bottom (it was broken if
there was empty space at bottom)

Horizontal resizing now keeps window position. Also some fixes to
vertical resizing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:16:22 +00:00
Timo Sirainen
1157ed5800 mainwindows_recreate() should be declared always
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:58:16 +00:00
Timo Sirainen
ae2bb54a42 screen resizing fixes when resizeterm() isn't supported
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:47:51 +00:00
Timo Sirainen
0807bafbe8 no, bugfix done wrong :) reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:25:49 +00:00
Timo Sirainen
24dd6d0917 Compiling with --disable-curses-windows was broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:20:30 +00:00
Timo Sirainen
a5d88f4db1 #undef some things term.h #defines that break irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:18:09 +00:00
Timo Sirainen
1698500f80 $[.10]var truncates the var to 10 chars, but doesn't pad if var is
shorter than 10 chars


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-12 17:05:05 +00:00
Timo Sirainen
1a3c700838 Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 10:15:34 +00:00
Timo Sirainen
c5832fdc56 Fixed, added comment what it does so I wouldn't forget again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:29:00 +00:00
Timo Sirainen
d256f71a00 Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:06:45 +00:00
Timo Sirainen
1de2aade40 In core/module-formats.h: IRCTXT_ -> TXT_
Added "message irc ctcp" signal to print CTCPs


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 19:42:59 +00:00
Timo Sirainen
64dcb756b6 /BIND comment updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
59d46dcadf MIRC colors >=16 changed to work as in MIRC (color %= 16)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:20:09 +00:00
Timo Sirainen
596ef586b2 Added keyboard_entry_redirect() function to keyboard.[ch] which sends
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.

/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
4a33801669 Added/moved several "typedef struct _XXX XXX;" to common.h so that
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
2001-01-01 07:45:54 +00:00
Timo Sirainen
d130d80696 bugfix for displaying 128-160 ascii chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1010 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 19:24:21 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00
Timo Sirainen
aac80846b8 Settings are now stored in module-specific blocks. Irssi complains
about all unknown settings that are found inside those blocks.

Left backwards compatibility kludge which should be removed in 0.7.98.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 05:44:45 +00:00
Timo Sirainen
fc491c5f8d Some minor query fixes. Nick changes are also detected by checking if
query with another nick from same address if found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 02:20:22 +00:00
Timo Sirainen
346808789c net_gethostbyname_nonblock(): don't crash if net_gethosterror() returns
error message as NULL.

Initialize winsock with win32.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 19:43:12 +00:00
Timo Sirainen
d1eaeca255 Split expandos from special-vars.c to expandos.c. Added list of signals
to each expando that can might change it's value.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
1c9f45b4a4 Use GIOChannel instead of sockets directly. Helps porting to win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 22:57:18 +00:00
Timo Sirainen
e81fdd7307 /CLEAR -all - clear all windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 20:36:00 +00:00
Timo Sirainen
ba3842761e don't allow printing iso8859-1 nonprintable highascii chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 15:15:03 +00:00
Timo Sirainen
d8f07fe001 /SET scroll_page_count - how many lines to scroll with pgup/pgdn. either
an absolute value, or if the count starts with '/', it's calculated as
lines_in_screen/count, default is /2.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 13:11:44 +00:00
Timo Sirainen
d174cc6db0 Don't crash if first line in window is just a newline
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 06:07:33 +00:00
Timo Sirainen
043d9b8079 print the firsttimer info to irssi's window instead of stdout.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 05:47:50 +00:00
Timo Sirainen
e70ca21648 complain about old default.themes
notify new irssi users about startup-HOWTO


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 05:23:26 +00:00
Timo Sirainen
14dfacdb5f Don't redraw screen when trying to scroll up at the start of scrollback
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:44:36 +00:00
Timo Sirainen
4d39f311f9 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 02:28:01 +00:00
Timo Sirainen
fab312dde3 Print timestamps correctly with /SB REDRAW
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:08:07 +00:00
Timo Sirainen
d1028e2a7c Moved activity to last item in statusbar
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:03:26 +00:00
Timo Sirainen
085b938dd3 /SB REDRAW fixes, multiline formats should work now correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 20:34:00 +00:00
Timo Sirainen
df94b9a44c window_[add|remove]_item -> window_item_[add|remove]
added window_item_destroy(), window_item_remove() doesn't destroy the
item anymore

window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 19:08:21 +00:00
Timo Sirainen
1d48bc59ac window_text_find() didn't work correctly with empty find string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 01:13:34 +00:00
Timo Sirainen
cd3577ef66 fixed text buffer crash when scrollback got full
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@893 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-27 17:18:58 +00:00
Timo Sirainen
079932c405 Perl fixes and additions. theme_register() / printformat() works now
with scripts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 09:22:18 +00:00
Timo Sirainen
09f3538073 KEY_END isn't defined in all curses implementations
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 03:21:46 +00:00
Timo Sirainen
8961d23171 Still some warnings removed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:23:45 +00:00
Timo Sirainen
4e0166a44d more warning fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:06:29 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
8fb2249f07 hilight-text: whops, bugfix went wrong :)
fe-text: removed the warning that happened when calling printbeep()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22 20:01:47 +00:00
Timo Sirainen
e923b1651a /SCROLLBACK REDRAW - redraw the contents of current window according to
active formats, ie. changing theme changes scrollback.

It's still a bit buggy (can crash) with multiline formats, need to fix
it as soon as I figure out where the problem is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 03:00:05 +00:00
Timo Sirainen
e3084d3ffa Win32 fixes - Irssi now compiles with MSVC++ :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:32:59 +00:00
Timo Sirainen
df3da57de2 Don't crash if MAIL environment isn't set.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 18:02:17 +00:00
Timo Sirainen
39630c3d58 windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] to
fe-windows.[ch]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:27:14 +00:00
Timo Sirainen
d1330fff6d Text printing changes. Formats are now optionally saved to each line so
later if you used /format it would change the old lines too. However
the actual line changing doesn't work yet :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12 20:20:05 +00:00
Timo Sirainen
86840d61cd Ctrl-T = transpose_characters
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 01:46:15 +00:00
Timo Sirainen
527aada63a Use nodelay() instead of halfdelay()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-10 01:23:50 +00:00
Timo Sirainen
990e2741aa Removed useless part of code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 14:54:39 +00:00
Timo Sirainen
ae06c90be1 long word handling fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-29 19:03:19 +00:00
Timo Sirainen
78064ed161 Don't indent the next line when long word is split. Also we try not to
do any cursor movement so that terminals could notice that the word
continues to next line .. however terminfo or curses or something is
being stupid and breaks this anyway, with TERM=ansi it seems to work :)
also using gnome-terminal long URLs work right too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-29 00:35:28 +00:00
Timo Sirainen
4dcbe05c0f Cleaned up printtext.c, split part of it to formats.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 20:14:19 +00:00
Timo Sirainen
80dd793c60 Updated new default.theme to module-formats files.
default.theme still contains the abstracts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 01:52:16 +00:00
Timo Sirainen
35fd48a0b4 use sigaction() instead of signal(). With some OSes the signal handler
is set back to default after each time signal is raised if signal() is
used (by norpan).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 18:37:32 +00:00
Timo Sirainen
228c1d7f36 Some hilight+window activity related fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 18:04:06 +00:00
Timo Sirainen
b61e210389 removed warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 21:10:43 +00:00
Timo Sirainen
11f2accbb1 --disable-curses-windows option to configure
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-08 12:54:26 +00:00
Timo Sirainen
5e97ea1549 --enable-perl=[yes|no|static]
Allows building perl support either as loadable irssi module or
statically linked to irssi binary.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 22:57:14 +00:00
Timo Sirainen
0158782b02 Keyboard should never get stuck again when receiving huge amounts of
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-10-01 22:12:01 +00:00
Timo Sirainen
a3accf4bbe Also moving windows and changing refnum updates activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:11:06 +00:00
Timo Sirainen
407ee2bd1b Closing window didn't update window activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:08:03 +00:00
Timo Sirainen
886ca98e11 Don't show statusbar with bold color
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 17:19:37 +00:00
Timo Sirainen
cb9c32d981 Bugfix for checking if user mode was empty (don't show (+) in statusbar)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-24 16:31:45 +00:00
Timo Sirainen
17bb7faf2f Perl works now only as a runtime loadable module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-07 21:55:58 +00:00
Timo Sirainen
9870fbe92e No, SILC stuff still shouldn't be here :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@652 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 22:05:01 +00:00
Timo Sirainen
2d1ac3059a /set autocreate_query -> /set autocreate_query_level
fixes to /ircnet, /server and /channel commands
other updates and fixes


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:30:56 +00:00
Timo Sirainen
28a7908e73 Added chat protocol register. Changed all chat_type fields to use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-01 00:26:46 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
c084cfc5ca send "irssi init finished" _after_ setting up perl support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-24 01:49:10 +00:00
Timo Sirainen
6415f506de Call idlok() for all new subwindows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-23 02:06:38 +00:00
Timo Sirainen
08c6484b6b Using blinking/bright background colors would crash irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 21:39:18 +00:00
Timo Sirainen
67cc9af1bd Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-20 07:17:13 +00:00
Timo Sirainen
c8ff099563 Parameters to key_bind() with scroll_end was given in wrong order.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-19 19:28:04 +00:00
Timo Sirainen
2e3a056110 /LAST - didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:48:29 +00:00
Timo Sirainen
ab316612d5 Added i18n initialization.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@605 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 23:15:05 +00:00
Timo Sirainen
1e88ec7dcd Mail counter fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@604 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 22:02:32 +00:00
Timo Sirainen
9fe81dcaf0 bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 23:51:53 +00:00
Timo Sirainen
9e5926c207 Don't trigger window activity if window is already visible in some
other split window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 16:40:39 +00:00
Timo Sirainen
32851fcfe3 Entry line scrolling works better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 22:13:27 +00:00
Timo Sirainen
3a2cc3b937 Topic bar doesn't get erased anymore after resize.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 20:50:06 +00:00
Timo Sirainen
92e0995223 Still some fixes for curseses without wresize() or resizeterm().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 20:01:32 +00:00
Timo Sirainen
a900cb580f Windowing system fixes, doesn't crash anymore after window resizes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 19:13:54 +00:00
Timo Sirainen
bcd7b636ed When server is disconnected, change to use some other server in windows
where the server was active, instead of just setting the server to NULL.

Ctrl-X didn't work right if there was no active server in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-04 15:52:32 +00:00
Timo Sirainen
674d240718 You can change the default line indentation with /SET indent
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:16:56 +00:00
Timo Sirainen
059c0f715d Don't draw the last character in entry line, this doesn't work right
with some terminals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 21:46:31 +00:00
Timo Sirainen
8c6bfaac6a Mail check: the also file size changes as well as modify time changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 20:15:48 +00:00
Timo Sirainen
9fbc842c7b Bugfixes for the windowing system.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29 17:59:22 +00:00
Timo Sirainen
7832572cdc We want to ignore SIGPIPE *ALWAYS*, don't set it back to SIG_DFL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-27 01:09:12 +00:00
Timo Sirainen
091292e079 Mainwindows use now real curses WINDOWs, this should fix irssi with some
curseses that didn't like setscrreg() (solaris 8).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 23:29:34 +00:00
Timo Sirainen
3969c61040 No, we still don't want silc_init() here..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 18:00:22 +00:00
Timo Sirainen
94c4d228fd Call key_unbind()s at deinit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:46:41 +00:00
Timo Sirainen
66dccee7f9 Display bolds with the current_theme->default_color color, not with the
"default color" (0) since it doesn't seem to work right with all
terminals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:41:47 +00:00
Timo Sirainen
c529fe0096 Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
6a3881ce5c Changed the names of /BIND commands to be epic-compatible. Also added
several new commands.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 00:29:31 +00:00
Timo Sirainen
39ed5066f2 /LASTLOG ignored LINE_CMD_COLOR0 commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 22:54:05 +00:00
Timo Sirainen
04c5baf637 Don't ever add \0\0 to text queue - this might break things. Use \0 +
LINE_CMD_COLOR0 instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 17:08:53 +00:00
Timo Sirainen
6f111a7987 Ctrl-L calls now irssi_redraw() instead of the curses' default..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:32:51 +00:00
Timo Sirainen
5e8fd055fe When redrawing screen, refresh the screen after clear() so that curses
won't try to "optimize" the refresh out.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:21:13 +00:00
Timo Sirainen
b3523dd4f8 Print the text with the "default" color (whatever is set with xterm -fg) -
not the theme->default_color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 15:35:08 +00:00
Timo Sirainen
92e5447ca7 Small bugfix with resizing window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 14:30:59 +00:00
Timo Sirainen
767aadfb7f Ctrl-K also puts the deleted text to cutbuffer which can be recovered
with Ctrl-Y. /eval $U prints the cutbuffer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@461 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 09:44:38 +00:00
Timo Sirainen
e43c300e78 KEY_LL = end key
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 09:25:09 +00:00
Timo Sirainen
1475e38417 Ctrl-Y fixed when there was no text to undelete. Added CTRL() macro for
defining control keys easier.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 00:25:50 +00:00
Timo Sirainen
dcc2e89b2e Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:00:56 +00:00
Timo Sirainen
eaf49f020a Removed a warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 15:28:17 +00:00
Timo Sirainen
ac0f82ecc6 We're fe-text module, not gui-text
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:22:12 +00:00
Timo Sirainen
92bce7e219 You can change statusbar colors with /SET statusbar_xxx.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 12:51:33 +00:00
Timo Sirainen
0fcb26a955 Ctrl-Y undeletes the last ^U'd line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 11:39:21 +00:00
Timo Sirainen
3164aecad0 Implemented /BIND [<key> [<action> [<data>]]] command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 22:31:11 +00:00
Timo Sirainen
7074381bea Reading and saving keyboard configuration actually works now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 21:47:05 +00:00
Timo Sirainen
20e88f4210 Ahem. still broken ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:07:45 +00:00
Timo Sirainen
4737da10a1 whops. broke it accidentally.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:06:26 +00:00
Timo Sirainen
e4a63db280 (zZzZ) wasn't displayed in statusbar if you didn't have any user mode set.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@426 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:03:57 +00:00
Timo Sirainen
f41dc62570 Don't redraw screen after EVERY /SET, just when /SET colors has changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 00:44:45 +00:00
Timo Sirainen
68994bd738 Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 22:01:36 +00:00
Timo Sirainen
39282a342f If joined channel had some low-ascii (color codes), they were displayed
wrong in statusbar and prompt. Also, if you're invited to some channel,
print the lowascii so that you can see them (^B, etc.)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:54:34 +00:00
Timo Sirainen
e90cdaf4ca Lots of /HILIGHT changes. You can use color names with -color. Window
numbers are colored with the highlight color in activity statusbar
item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:50:56 +00:00
Timo Sirainen
4faf4d1303 /SCROLLBACK HOME/END/GOTO commands weren't working right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:45:28 +00:00
Timo Sirainen
dc22d8830d Setting lag_min_show to -1 disables displaying lag entirely.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 21:06:17 +00:00
Timo Sirainen
d4f8ad2c3f Don't count messages that have "FOLDER INTERNAL DATA" text in their
subject.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:46:46 +00:00
Timo Sirainen
6757207328 The "max. count" parameter in /LAST didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 19:20:23 +00:00
Timo Sirainen
1ba308c26c When scrollback buffer got full and you hadn't done /LAST or /AWAY,
Irssi crashed..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:20:45 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.

Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
234e95ef94 Rewrite Tab-completion to work with signals - now it should be easy to
add completion to whatever command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 11:53:45 +00:00
Timo Sirainen
bc8848f965 /LAST -away checks only lines that came after last time you went away.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 23:00:52 +00:00
Timo Sirainen
84efea6a6a Remove line cache from memory after 10 minutes of inactivity.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 20:12:51 +00:00
Timo Sirainen
72b32ff175 Ctrl-W deletes word in left - patch from
Kjetil �degaard <kjetilod@orakel.ntnu.no>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 18:02:13 +00:00
Timo Sirainen
db8918ae61 /SET mail_counter on|off. Also, it doesn't anymore read through the file
if it's modification time hasn't changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:48:13 +00:00
Timo Sirainen
c5d1dab0bc tab-completion in the middle of line left the cursor in wrong place.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:44:03 +00:00
Timo Sirainen
b44acaf46e Displays Mail counter in statusbar. Read the FIXME for more info :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 00:42:37 +00:00
Timo Sirainen
ff86916dc3 Ctrl-X changes IRC server in stats/msgs/empty windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 19:16:25 +00:00
Timo Sirainen
3fd3a03402 Beeps should work(?). ANSI colors had some bugs, bolds weren't working and
blinking crashed irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:58:52 +00:00
Timo Sirainen
27b82cea35 Maybe I should have tried to run irssi after the ignore_signals "fix" ..
now really fixed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05 17:38:27 +00:00
Timo Sirainen
a53aa269c2 ignore_signals setting wasn't read at startup..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05 17:32:29 +00:00
Timo Sirainen
7755aae26b 0.7.90 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 16:01:19 +00:00
Timo Sirainen
ba69fc3ae7 ..and cvsignores for new binaries..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:59:19 +00:00
Timo Sirainen
3225399ce6 Changed binary names: irssi-text -> irssi, irssi-bot -> botti
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:58:52 +00:00
Timo Sirainen
65a6e49964 If we used /SB GOTO 23:59 or something, we wanted to jump to
previous day's 23:59 time instead of into future..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:49:10 +00:00
Timo Sirainen
397def0d3c if you were at the top of the scrollback buffer and the first line line
was removed from buffer, ypos was updated wrong and it messed up some things.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@271 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:27:57 +00:00
Timo Sirainen
f3e4224748 --more-- in statusbar should now work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:19:11 +00:00