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

1944 Commits

Author SHA1 Message Date
Timo Sirainen
bdf5bf9785 Removed some unused code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:18:39 +00:00
Timo Sirainen
b43f210a47 Reset QUIT and INTR keys at quit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 21:19:54 +00:00
Timo Sirainen
5f1cc94f84 Redraw was buggy if entry line didn't continue to end of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 14:13:42 +00:00
Timo Sirainen
319e852bb4 window-top-statusbars weren't working properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:57:54 +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
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:20:26 +00:00
Timo Sirainen
b2fdbd64c6 Don't print glib errors when parting a channel which isn't synced yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 21:28:16 +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
3f3ea3c1b5 Using cbreak() mode again, but disable QUIT and INTR keys.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:55:22 +00:00
Timo Sirainen
3f578b4b53 /SCRIPT without parameters now prints list of loaded scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:49:17 +00:00
Timo Sirainen
62c6a35aeb Added eval { } around the DynaLoader::dl_unload_file() calls to get rid of
the errors it's printing with perl < 5.6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:37:53 +00:00
Timo Sirainen
287df1f16a If perl linking failed, print the error message too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1899 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:30:01 +00:00
Timo Sirainen
d599f7bb99 /UNBAN -first | -last options added. Patch by fuchs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 16:01:53 +00:00
Timo Sirainen
e4f34d9cd3 When logs are rotated, automatically create the new directory where to open
the log if it has changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:26:58 +00:00
Timo Sirainen
c9f76eee75 updated colorless.theme, replaced all $0- to $* in default.theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:19:14 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1895 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 20:34:05 +00:00
Timo Sirainen
550df27558 Fixed building from objdir (symlinks irssi-version.h and in ui/textui perl
stuff)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1894 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 20:00:15 +00:00
Timo Sirainen
14092a6b25 with --prefix, use INSTALLDIRS=site, not perl. hopefully fixes some @INC problems
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1893 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 13:47:02 +00:00
Timo Sirainen
9dc3176efd just some extra check - might fix some crash..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 12:19:27 +00:00
Timo Sirainen
d4b0750d09 fixed server list - added a ',' ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 11:57:23 +00:00
Timo Sirainen
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/


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 09:33:32 +00:00
Timo Sirainen
230a51cefd Remove SYNTAX: OPER from here - it's already in core (and syntax.pl gets
twice the same syntaxes currently..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 20:11:18 +00:00
Timo Sirainen
d2edd435b8 Static perl didn't work with botti.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1888 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 19:23:11 +00:00
Timo Sirainen
905a5127f4 if \x isn't a known escape sequence, it should print just x, not \x.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 18:58:09 +00:00
Timo Sirainen
99fe282e6d Moved theme registering stuff to Themes.xs. Corrected signal "script
destroy" -> "script destroyed" - unregistering themes works now properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 18:28:42 +00:00
Timo Sirainen
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}).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 17:56:42 +00:00
Timo Sirainen
6f8a3bd08d added prompt, barstart and barend to theme. Removed mail stuff from config,
it's only a script now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 17:27:43 +00:00
Timo Sirainen
ebd0334cb6 Settings registered with Irssi::settings_add_xx() are now correctly removed
after script is unloaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 16:52:36 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 16:23:43 +00:00
Timo Sirainen
373fad3ced commented out sb_default_bg and added sb_background - now old themes that
change statusbar background should work again properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 15:22:22 +00:00
Timo Sirainen
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..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:59:07 +00:00
Timo Sirainen
ae1b5b0d50 added irssi_init_finished variable to core.h which is TRUE after "irssi init
finished" signal is sent.

Perl scripts aren't now autoloaded until irssi_init_finished is TRUE (fixes
the crash at startup).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:22:28 +00:00
Timo Sirainen
1b64509ae2 quitmsg_is_split() updated to check that top-level domains must be 2+ chars
and contain only alphabets.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:49:17 +00:00
Timo Sirainen
feaee35653 Channels weren't synced if you joined multiple channels at once and one of
the chennels couldn't be joined for some reason.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1877 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:24:24 +00:00
Timo Sirainen
3ae5080619 /TOPIC <tab> inserts the topic in active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:22:06 +00:00
Timo Sirainen
06c431bcd7 Don't autojoin channels that have already been joined in some other server
connection in same chat network. This has mostly been just annoying, and
this enables us to add eg. 20 channels autojoinable, then create 2 server
connections and irssi will automatically join the first 10 in first
connection and 10 other in the later (well, or at least if the 10 later
channels get "not enough channels" message from server before the connection
is finished, which well might not happen .. problem :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:08:49 +00:00
Timo Sirainen
e5c9dc37dc Check time changes every half a second instead of every second.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:06:58 +00:00
Timo Sirainen
ec81d7b6fe Deinitialize perl before textui stuff.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:31: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
b5fa93c6e7 Statusbar items weren't unregistered correctly when script was unloaded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:22:55 +00:00
Timo Sirainen
a5142ec311 Initialize perl before fe_common_core_finish_init() or sending "irssi init
finished". This way if /LOAD perl is in startup-file we don't load it twice.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 09:25:29 +00:00
Timo Sirainen
e5abcdb76c fix a fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 22:02:55 +00:00
Timo Sirainen
097206878d When assiging chatnet to server connect record, always try to get the name
from chatnets list so the case will be correct.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:39:01 +00:00
Timo Sirainen
751f9672ab typofix - quit msg should be randomized if the msg isn't given (not if it is
given..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:38:40 +00:00
Timo Sirainen
bac85d3fdd Perl defaults now to static. Having it in module had too many problems.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:32:22 +00:00
Timo Sirainen
d4ef1bdd03 When printing server disconnection texts, use the server parameter for
printformat() so the texts go to correct windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:09:17 +00:00
Timo Sirainen
8433d560f0 forgot one core_sources -> common_sources change
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 20:23:07 +00:00
Timo Sirainen
ed779db220 renamed XXX_SOURCES -> xxx_sources so automake 1.5 won't complain about it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 20:14:00 +00:00
Timo Sirainen
3065583f7a Removed unwanted extra INCLUDES.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 20:07:33 +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