summaryrefslogtreecommitdiff
path: root/src/perl
AgeCommit message (Collapse)Author
2002-02-01Removed some backwards compatibility code between CVS versions that brokeTimo Sirainen
/SET use_perl_lib git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29Forgot to commit utf8 change here.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27Scripts using Irssi::printformat() might have crashed irssi, especially ifTimo Sirainen
they cought in autolog. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-23Tab-completion for /SCRIPT UNLOAD crashed irssi soon afterTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22distclean -> distclean-generic so it'll be executed before clean-am whichTimo Sirainen
removes */Makefiles. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Irssi::command_bind*() allows using hash.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21Irssi::signal_add_first() and .._last() allows hashes now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21Added Irssi::term_refresh_freeze() and ..thaw()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2333 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10g_strdup() the error message before emitting "script error" signal, sinceTimo Sirainen
perl scripting might be executed during that signal and it clears the error message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03command_bind_first() and command_bind_last() didn't work properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03Irssi::signal_emit() - make sure the parameter is a reference before tryingTimo Sirainen
to unreference it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27Irssi::version() should return the time always with 4 digits, padded withTimo Sirainen
zeros if needed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added command history groups, set them with /WINDOW HISTORY. Patch by ↵Timo Sirainen
peder@ifi.uio.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Still more version changes .. Irssi::version() now returns the version inTimo Sirainen
"date.time" format, so now it's also possible to "use Irssi 20011216.0149;". Also fixed a memory leak for Irssi::parse_special(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Added $versiontime and Irssi::version_time()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Irssi::ignores() wasn't working, it looked at the server list..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15IRSSI_VERSION_DATE is now a number, so you can do #iffing with itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14perl_timeout_add() didn't add the script pointer to the source record, soTimo Sirainen
unloading scripts didn't remove the timeouts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14Added reference counting to server record. At least now we don't accidentallyTimo Sirainen
use a destroyed server record when some /command disconnects the server (shouldn't happen really) or when irc_send_cmd() fails sending data to server and disconnects the server (I don't know if this ever happens, but if it does, it very well could have caused crashes) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared forTimo Sirainen
5.004, and changed all STRLEN n_a code to use PL_na instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11Added Irssi::settings_add_...(), patch by peder@ifi.uio.noTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Netsplit saved the NICK_REC, but didn't save the dynamically allocated stringsTimo Sirainen
which were part of it. Removed it now and replaced it with saving only op/halfop/voice status. Might have caused some crashes? (hopefully did :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Allow exporting symbols, patch by juerd@juerd.nlTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Moved Irssi::command(), Irssi::Server::command() and ↵Timo Sirainen
Irssi::Windowitem::command() from ui to core. Also, Irssi::command() now doesn't default to active server/window item, if this breaks any scripts change them use Irssi::active_win()->command() instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Added Irssi::command_set_options()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Better support for halfops, patch by yathen@web.deTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09fixed wrong hash key lengths, patch by peder@ifi.uio.noTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2224 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-08Fixed server_redirect_peek_signal() to compile again.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Removed Irssi::require_version(), we'll use "use Irssi 20011207;" style now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Added Irssi::require_version()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Added support for 326 and 327 whois numerics in OPN.Timo Sirainen
Removed keeping track of ban exceptions and invite list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07parameters types for timeout_add() and input_add() changed from void* to SV*Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Removed g_free(package) that wasn't supposed to be there.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06/UPGRADE broke reconnections to server.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06Added some max_*_in_cmd + some more stuff to Irssi::Irc::Server record.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06Irssi::signal_add() accepts now a hash, so you can do eg. signal_add('sig1'Timo Sirainen
=> 'func1', 'sig2' => 'func2'); git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06Irssi::signal_add(), Irssi::timeout_add(), Irssi::input_add() and theirTimo Sirainen
variants now also allow use of code references. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04added signal_get_emitted() and signal_get_emitted_id()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03Irssi::UI::Window's data_level and hilight_color contained wrong hashTimo Sirainen
length arguments. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03added a few asserts to make sure we don't mess up if IDs go above 16bitTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03Added processes to be extern instead of static. Also added Irssi::processes()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03a bit more proper initializing of Irssi package..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03removed unused variableTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC pathTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29Allow using Irssi::signal_add('command ...', ..) so irssi won't crash whenTimo Sirainen
the script is unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28Added Irssi::Irc::get_mask() and Irssi::Irc::MASK_*Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27max number of parameters for printformat() was calculated wrong.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25printformat_perl() crashfix was buggy :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25/SCRIPT LOAD modifies the script name so that all non-alphanumericTimo Sirainen
characters are translated to '_' char .. now this behaviour is done also when /SCRIPT UNLOAD is done, so people don't get confused why their "test-1" script can't be unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2145 dbcabf3a-b0e7-0310-adc4-f8d773084564