1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
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
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
aae1efa61a Moved screen_refresh_thaw() in initialization before the
fe_common_core_finish_init() so that if it prints something it gets printed
to screen immediately. Also doing it afterwards triggered some screen
updating bug and the printed lines were left blank until screen was
refreshed..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:24:52 +00:00
Timo Sirainen
7ffe6ace97 removed fe-perl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:27:02 +00:00
Timo Sirainen
75543048b5 Added -v / --version command line option. Moved POPT_AUTOHELP option to
fe-common from fe-text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
5ddb29fb33 if perl is compiled statically, initialize it after the "irssi init
finished" signal so for example ~/.irssi/startup is run before the perl
autorun scripts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-21 07:10:25 +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
c2b2d45bd6 Getting rid of gettext, moved some _(..) texts to themes and left some error
messages hard coded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +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
6b4a838813 Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:23:04 +00:00
Timo Sirainen
1117638b52 Moved autoconnects and command line parameter parsing from irc to core.
Added not_initialized parameter to chat protocols that are created
using chat_protocol_get_unknown(). /CONNECT doesn't crash now with
non-initialized protocols but instead complains about them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:50:08 +00:00
Timo Sirainen
abe4ddb52a /LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.

Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
76605ad0ae Added bot plugin, it also has almost-functional botnet.
Changed configure.in's functionality so that you could tell what modules you
want to build in main irssi binary and it will create automatically the .c
files that need to call the module_init()/deinit() functions.

Fixed several minor things..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:30:47 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
a5a66264de Perl working again, better than ever (unless there's bugs :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:07:42 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00