1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

62 Commits

Author SHA1 Message Date
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 11:30:26 +00:00
Timo Sirainen
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..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:47:13 +00:00
Timo Sirainen
7793f2fe73 Activity list colors are now configurable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1903 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 21:26:03 +00:00
Timo Sirainen
79212504ec Lag statusbar item isn't anymore displayed always
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:25:37 +00:00
Timo Sirainen
76c6e9ab83 Dependencies finally work correctly in perl libraries (they're each compiled
separately now). Added statusbar code to available to perl, it's now
possible to create new statusbar items with perl scripts.

statusbar_items_redraw(char *name) can now be used to easily redraw all
named statusbar items in screen.

Probably several other changes I've already forgotten :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 19:52:07 +00:00
Timo Sirainen
f86da8c0e5 Window-statusbars are created correctly with /RELOAD, some input line
fixes related to /RELOAD.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:17:13 +00:00
Timo Sirainen
dbe49236d2 Configurable statusbar - see default config file (irssi.conf) for example
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
3deb0a7b66 --more-- checker uses now "gui print text finished" signal. "gui " part was
missing from signal_remove("gui print text finished") in gui-printtext.c..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 01:19:34 +00:00
Timo Sirainen
51b1d80fbe Removed trigraphs by adding "" in the middle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:53:56 +00:00
Timo Sirainen
c54646cad9 "mail counter" signal is now sent when mail counter is updated in statusbar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:12:38 +00:00
Timo Sirainen
45bb5c3cee Restoring layout for split windows works betters now. Some sticky window
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
af4d6bebe3 Added $cumode expando which works like $P, but prints voices/halfops also.
Changed statusbar to use $cumode. Patch by fuchs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 19:27:26 +00:00
Timo Sirainen
8b733e0568 special-vars: added flag PARSE_FLAG_ESCAPE_THEME to escape { and } chars
with % char. Used this with statusbar items - now for example "{error xxx}"
topic won't print it with error color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 15:33:07 +00:00
Timo Sirainen
05777636a7 Replaced all direct curses calls with screen_xx() wrappers. This should
enable us to optionally use termcap directly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 21:49:07 +00:00
Timo Sirainen
f89d89b0e7 statusbar was a bit broken when using split windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:35:38 +00:00
Timo Sirainen
adb7eced39 Rewrote text buffer handling in windows - try #3.
/SET scrollback_save_formats + /SB REDRAW is broken currently. There's some
other minor things that might need to be changed.

This time it allows the same window to be visible multiple times in screen,
like you could make a new split window where to scroll back and find
something while still seeing the new messages at the other window, this
however doesn't work yet but it should be quite easy to make it :)

I've tested that pretty much everything should work with this, new lines can
be added at any position and lines can be removed from any position and
screen should be updated properly. Screen resizing should also work
perfectly now (maybe it did previously too, not sure) and hopefully now we
won't see any of those ugly strange bugs some people were having. Also this
time the same code isn't written 2-3 times to do some specific thing, like
scrolling has now only one view_scroll() function instead of the 3 separate
functions it used to have :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:24:56 +00:00
Timo Sirainen
c3da7fa8ab Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
99e7b28eef minor cleanup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:48:04 +00:00
Timo Sirainen
87777968c3 Beginnings of configurable statusbar. The existing items can be configured
in default.theme.

If some abstract isn't set in theme, it fallbacks to the one in
default.theme now. This should help with old themes, and maybe themes
that don't change something should just keep those parts commented out..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:26:12 +00:00
Timo Sirainen
1d453ed92c %n+bg color change doesn't anymore set foreground black. changed theme's
default_bold_color to default_real_color.

Activity list printed first item with white always. Color redrawed itself
every second.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 19:43:32 +00:00
Timo Sirainen
4d5da596c9 Statusbar rewrites. Colors are currently not configurable at all, but other
than that, it should work better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:33:13 +00:00
Timo Sirainen
24e36e0081 More statusbar size fixes. Shouldn't corrupt entry line anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:52:17 +00:00
Timo Sirainen
4718edf055 added format_get_length() for getting length of text part in a format
string. gui_printtext() now works like printtext_string() so %s won't
accidentally crash it. /SET prompt can now have %formats.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 04:21:15 +00:00
Timo Sirainen
c1c7674ae2 Highlight colors can now have background color set with fg,bg. Works
with activity list too, useful for example blinking.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:25:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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