forked from downingstreet/BitchX1.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
4413 lines (3652 loc) · 216 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[Changes 1.2-final]
* Fix ANSI color support in terminal emulators. (sbalneav, VICODAN)
* Add SASL support (flashback, VICODAN)
* Update README and install files (VICODAN)
* Fix compilation on FreeBSD 10 (cpet)
* Fix compilation errors on cygwin (VICODAN, soreau)
[Changes 1.2c02]
* Bump the version to 1.2c02 and remove the svn from the version
[Changes 1.2c01]
* Messages sent to channels should use lastlog level PUBLIC, not MSG. (caf)
* panasync OK'd releasing tcl.c, so here it is. (caf)
* Fix QUIT messages with SSL connections. (flashback)
* Rename include/bitchx to include/options.h, fixes building on
case-insensitive platforms. (caf)
* Use AI_ADDRCONFIG flag to improve server address selection when client
is built for IPv6 but we don't have an IPv6 address. (caf)
* Enable SSL support by default, if OpenSSL is present at build time. (caf)
* Fix leak and potential crash in lame_resolv() using IPv6. (caf, snadge)
* Apply patch from snadge defining BIND_4_COMPAT on OpenBSD, to allow
/nslookup to build. (caf)
* Fix problem connecting to IPv4 when IPv6 enabled on FreeBSD and enable
IPv6 on all supporting platforms. Thanks to brabes, snadge and packet. (caf)
* Improve connect() error handling. (caf)
* Remove obsolete .spec files. (caf)
* configure - only create sig.inc if it's actually needed. (caf)
* configure - use the right dependencies when checking for net/if.h, i
arpa/inet.h and resolv.h. Reported by flashback. (caf)
* Fix plugin Makefiles for out-of-tree building, reported by nyet. (caf)
* Add DESTDIR support to build system, to ease rpm and deb packaging.
Reported separately by nyet and VICODAN. (caf)
* Fix /detach and wserv with IPv6 enabled. (caf, snadge, packet)
* Make default for NICK_COMPLETION_CHAR explicit. (caf)
* Reduce footprint when starting up disconnected. (caf)
* Fix /nslookup command (including fixing compilation on cygwin). (caf)
* Improve /detach error handling and remove bogus F_SETOWN use, reported
by madsage. (caf)
* Add /FSET WHOIS_SECURE for SSL connection info on ratbox, unreal and
freenode. (caf)
* Add /FSET CHANNEL_URL for services channel URL numeric. (caf)
* Fix crash bug in $mircansi() scripting function. (caf)
* Add half-op support to /topic and /untopic. (caf)
* Tidy up the URL grabber, fixing a memory leak. (caf)
* Cleanup the /BHELP code, fixing a potential crash. Apply updates to
BitchX.help from t3gah. (caf)
* [1.1s01] Sanity check color codes, fixes a potential crash. (caf)
* Add /FSET USERMODE_OTHER to correctly format user mode changes where the
source isn't the same as the target, reported by gauze. (caf)
* Improve country() and add several new TLDs, suggested by gauze. (caf)
* Apply fixes from darkfires removing non-standard use of arithmetic on
void * values, to allow building on Irix. (caf)
* Apply fix from darkfires to allow building with ICC. (caf)
* Show correct message when a socket connection is closed cleanly. (caf)
* Add /FSET WHOIS_CALLERID for +g mode notification on hybrid & ratbox. (caf)
* Build script fix to allow plugins to build on x86-64. (caf)
* Correct count in /CLONES (reported by t3gah), and format output nicely
using an /fset. (caf)
* Add definition of BIND_8_COMPAT to fix build problem on Mac OS X. (caf)
* Ensure that SHOW_AWAY_ONCE doesn't hide away status in /whois output. (caf)
* Fix the the -z command line option for specifying username. (flashback)
* Fix up /WILN, /WILC and /WILCR. (caf)
* Backport changes from epic5 to make recv_nick, sent_nick and sent_body
per-server, and apply new version of do_oops from flashback. This means
that /oops, "/query .", "/query ,", "/msg ." and "/msg ," are per-server,
along with the $. $, and $B aliases. (caf)
* Handle error return from getcwd() in /cd. (caf)
* Fix alloca warnings on freebsd. (caf)
* Fix memory leak in banlist.c. (caf)
* Apply a fix contributed by cpet for the configure script on
FreeBSD 9. (caf)
* Fix a refcounting issue in the whowas list handling, which should make
the listing of users that left in a netsplit right again. (caf)
* Improve argument-handling in /hostname command - now supports doing
/hostname 2 to switch to second vhost. (caf)
* Change the display of server stats so that the averages (eg. users per
channel) are correctly rounded. (caf)
* Reinstate RPL_WHOISACTUALLY / RPL_WHOISHOST numerics - things seem to have
stabilised in the ircd world on this. (caf)
* Fixed two cases where the client was incorrectly deciding that a numeric
originated from a remote server rather than the local server - this caused
BitchX to falsely report channel desynch and incorrectly hide some
numerics. (caf)
* Fixed $servernum() scripting function, it was returning the wrong server
reference in most cases. (caf)
* [1.1s01] Fixed .cmsg crash reported by zimzum. (caf)
* Changed the defaults for JOIN_NEW_WINDOW_TYPE and QUERY_NEW_WINDOW_TYPE
so that they work out of the box. (caf)
* Some cleanups in quit message handling, fixed a bug where a quit from an
unexpected source could crash the client. (caf)
* Cleaned up the handling of channel mode changes a little, including fixing
buggy handling of certain key and limit mode changes. (caf)
* Fix bug where you got disconnected if the server sent a 464 numeric
(bad password) that the client wasn't expecting. (caf)
* Add /HOP and /DEHOP commands for halfop. (caf)
* Removed "scan" plugin, this functionality is now covered by /SCAN -stat.
(caf)
* Change NICKSORT_OP to NICKSORT_STAT (sorts nicks by channel status -
chanop first, then halops, voices and others). Added /SCAN -stat
to sort nicks using NICKSORT_OP. Removed NICKSORT_VOICE - it was broken
anyway. (caf)
* Add halfop nick prefix to default status line, and change the voice prefix
so it appears whether or not you're opped. (caf)
* Add halfop support to $channel() scripting function. (caf)
* Rework /SCAN and /NAMES formatting. This removes the /FSETs NAMES_BOTCOLOR,
NAMES_FRIENDCOLOR, NAMES_NICKCOLOR, NAMES_OPCOLOR, NAMES_SHITCOLOR and
NAMES_VOICECOLOR and replaces them with new /FSETs. (caf)
* Add $ishalfop(<nick> <channel) scripting function, just like the
existing function in EPIC. (caf)
* Fix four bugs in the /FE scripting function. (caf)
* Fix incompatibility with 64-bit platforms. (caf)
* Fix module load version check logic. (caf)
* [1.1s01] Cleanups to allow compiling with new gcc releases. (caf)
* [1.1s01] Fix configure check for termcap.h. (caf)
* [1.1s01] Re-implement code to find available vhost addresses
(CVE-2007-5839). (caf)
* [1.1s01] Fix test for GCC >= 2.7 - fixes compiling on S390 platform. (caf)
* [1.1s01] Improve buffer handling in convert_output_format_raw
(CVE-2007-4584). (caf)
* [1.1s01] Handle negative numerics correctly (CVE-2007-3360). (caf)
[Changes 1.1-final]
* Fixed bug with using [$8] in expressions (Reported by BlackJac)
(Patch from |Rain|) (BugID: 64) (powuh)
* Fixed bug in /set show_end_of_msgs. When OFF prevented hooking
of some end_of_msg numerics. (Reported by BlackJac)
(Patch from |Rain|) (BugID: 51) (powuh)
* Fixed incorrect ordering of operations in screen.c which
caused an off-by-one access at the end ofthe buffer.
(Patch from |Rain|) (BugID: 48) (powuh)
* Fixed ischanvoice() to be compatiable with epic. Maintained
reverse functionality as not to break existing scripts.
(Patch from |Rain|) (BugID: 20) (powuh)
* Fixed segfault with convert_output_format not honoring
MAX_RECURSE. (Patch from |Rain|) (powuh)
* Fixed possble rouge server exploit:
If a rogue server sends us a ctcp request from an extremely large
nickname (over about 512 bytes), we may attempt to alloca() a
negative value, which under gcc will return a invalid pointer the
contents of which will then be overwritten. (Reported by O_6)
(Patch from |Rain|) (powuh)
* Fixed segfault with channel mode parsing. (Patch from O_6) (powuh)
* Removed auto_resume script, it's not needed any more (caf).
* Fixed string copying snafu in gtkbitchx.c (reported by Huey) (caf).
* Added STATUS_USER20 to STATUS_USER39 (patch from BlackJac) (caf).
* fixes for buffer handling problems with overlong server reponses
(reported by Timo Sirainen) (caf).
* addshit fixes for invalid nicks (reported by Huey) (caf).
* fix for alias tab-completion bug (reported by Huey) (caf).
* properly reconnect after a kill (caf).
* added check for protocol violation by server in 353 numeric (caf).
* added EPIC-style pattern-matching to $getarrays (caf).
* regex support fixed (reported by BlackJac & |Rain|) (caf).
* Fix expansion of $[$var1]var2 type expressions (reported by Blackjac) (caf).
* Some fixes for $tdiff (caf).
* Updated TLD list (caf).
* Added code to honour CONNECT_TIMEOUT for nonblocking connections (caf).
* Fix segfault in /paste (reported by O_6 & Blackjac) (caf).
* Major overhaul of the XMMS plugin, bump to version 1.0 (caf).
* Fixes and documentation update for /saveirc (caf).
* Fix segfault in /mkb (reported by Tilt & falcon10) (caf).
* Fixed dumb mode for kreca, the last user of dumb mode in the known
universe (caf).
* Stop bitchx sending PASS twice (reported by wizy & dialtone) (caf).
* Make auto-away set away on all connected servers (caf).
* /save wasn't correctly saving TIMESTAMP, TIMESTAMP_AWAYLOG_HOURLY and
TIMESTAMP_STRING variables (caf).
* Fix server password prompt (caf).
* The CHANNEL_NICK hook should only trigger on the channels that the nick
is in (caf).
* Fix for away notification being wrongly sent if you have messages
hooked (caf).
* Fix for segfault on /url -1 (reported by Kareemy) (caf).
* Cleanups in are_you_opped and fix for misleading error (caf).
* Added -INQUIET flag to /exec (caf).
* Fix /lamekick and change default NUM_KICKS to 1 (hybrid6 and up no longer
support multiple nicks in a single kick) (caf).
* Some cleanup of /bantype (caf).
* Fix /crypt segfault (caf).
* Fixed HADES formats and minor problems in default formatting of
the hold_lines status and nickname_other fset (caf).
* Added support for hybrid7 & ratbox 338 RPL_WHOISACTUALLY numeric (caf).
* Applied DCC_FORCE_PORT patch from caf.
* Applied Hebrew patches.
* Fixed problems with the definition of isalpha() and related functions.
* Fixed warnings caused by the gcc 3.0 series of compilers.
* Fixed gtkBitchX using 100% CPU when stdin was close.
[Changes 1.0c19 to 1.0a1]
* Fixed bogus improbably large awaytimes [caf].
* Added patch from caf to help with rejoining channels with keys. A dummy
key is passed for channels without keys instead of an empty string.
* Fixed a multiserver bug, where if a non-blocking connect was issued and was
attached to a window which was later destroyed, the connection would continue
to be attempted. Now if no window is available for the connect it is aborted.
* Corrected misdocumentation of the /dcc commands, and made /dcc -p <port>
use the specified port first instead of last.
* Added NOTIFY_INTERVAL although it has a minimum interval of 60 seconds.
* Applied two patches from caf for timestamping and an improved kill message.
* Fixed /lastlog -file so it works again.
* Applied patch from caf which prevents halfops from getting "not opped" message.
* Applied patch from jduck to prevent a buffer possible overrun in /away.
* Updated configure to search for valid tcl installs.
* Added a /revisions command which reports the CVS revisions of
the currently running binary.
* Applied slightly modified patch from einride to allow a comma
separated list of channels to /window bind.
* Fixed a bug where reconnect_server() sets i to -1 which causes
a buffer underrun.
* Merged in a fix for scrollback crash from epic.
* Applied a patch from caf which corrects the user count in funny.
* Applied a patch from Mourgos that corrects some errors and ommissions
from the mode list.
* Applied a fix from Tilt that allows scr-bx to work on systems
with an invalid "localhost" address.
* Huey found and fixed a bug in the GUI menu code.
* Dragoon found a bug in randomnick.
* sideshow found a bug in cycle.
* Moved over to using the global function table internally.
* Fixed DCC chat messages going to the wrong window with multiple servers.
* Fixed a problem with orphaned server connects. Orphaned connects
now get closed on issuing a new /server or /window server command.
* simoriah found a typo in mail.c, count_maildir_mail.
* Fixed the xmms plugin on FreeBSD when building console BitchX.
* Added $ovserver() function for BlackJac which returns the operview server string.
* Added a latin patch for breakage when startup ansi was off from bertogg@yahoo.com.
* More multiserver fixes, especially in the GUI code.
* Fixed SERVER_GROUPS not working from withing reconnect_server().
* Updated configure scripts from DavidW2, now requires autoconf 2.49b.
* Included nonblocking connect support.
* Added SSL support based on work done by the folks at http://hq.alert.sk
* Added DCC_AUTORESUME support from Shurdeek.
* Fixed some crashes in parse.c
* Added a fix from dLek which fixes wident and ipv4.
* Fix for the DNS bug.
* Fixes for building on QNX.
* Fixed the MDI Frame being visible when it shouldn't have on OS/2.
* Added nicklist sorting for the GUI clients.
* Miscellaneous xterm title fixes.
* Included a patch to allow /exec -o to queries from DavidW2.
* Merged Epic 0.9.7 term and window fixes.
* Dialtone noticed that &localchannel completion was broken.
* Added a -i switch to the command line to disable loading of the
autojoin list. Requested by dialtone.
* Included a modified version of ace's /orignick patch.
* Included an enhanced version of Sheik's cdns.c when using threads.
* Fixed a crash in /dns which was reported by ice^.
* Finished the /uptime code to display the number of users on the userlist.
* Included RoboHak's patch for the /invite #%s bug as well as numerous other
non remote exploitable similar problems.
* Small problem in the userlist found and corrected..
* hpknight and Robohak found/fixed an error in the /watch cmd which was
causing you to flood off if you added a nick to the watch list
* Added /m nick PASS old_pass new_pass command. If there is no password,
then password will be set to old_pass. Also,
/adduser nick chan friend pass if the user is already on your list, will
change the user's password.
* xcopy noticed and fixed /kill *.
* pixels@chez.com submitted a mircansi() patch to properly decode mirc color
codes.
* some changes made to the napster plugin. Read the dll/nap/Changelog
* Found a annoyance if you are not attached to a server, auto_away() would
still attempt to place you away
* HDClown requested a -a flag to /sc. displays ALL channels your currently
in.
* if not connected to a server, from_server = -1, which caused
get_connected() to use the last server in the list. We now use the 0th
server in the list.
* added a $z variable which is the number of servers in the serverlist.
* auto-reconnect's now check for a running auto-reconnect timer.
* changed cdcc save/load so the .cdcc.save has a header. This should help
prevent people from attempting to /cdcc load some_binary_file
* found bug in clean_split_server_list() when from_server < 0
* fixed the timer in acro plugin.
* more changes from drow. DETACH_ON_HUP and some window server changes.
* A module was contributed called qbx. it's for querying quake servers.
* /wii fixed.
* some napster dll fixes
* Daniel Jacobowitz <drow@false.org> sent in multiple patches.
a) connect to localhost BitchX nick localhost will work now.
b) autoconf patches so that we can build multiple arch's from the
same source easily.
mkdir local
cd local
../configure
make
* wojtekka@bydnet.com.pl contributed a better LATIN1 set of formats.
He also contributed a IPV6 patch for bx.
* fixed both hybrid6 and bx with a userhost problem.
* changed /load to check for .tcl extention and load the file differantly
* possible fix for wholeft problems and split servers.
* found logic problem in /kline. hybrid6 has stats k and K for temp-klines
and klines.
* small error in /nwhois found/fixed.
* Vetesgirl noticed that "/ajoin " would core.
* possible fix for a problem when recieving an invite to a channel and
becoming de-synced.
* DavidW2 can now stop bugging me about /ctcp's that do not display in the
correct window. at least according to him.
* encrypted passwd's were not quite as easy as first thought. We really don't
want to double encrypt the passwd's.
* added find_command() to the module function table. Needed by singe for his
bnc module.
* Fixed /wi with no args.. It should never whois the channel. several
people pointed this out. war-, Xavier.
* with the change for /wset name|refnum variable, came a couple of bugs.
* iblis found that /do echo $regexec(a) would core libc.
* merged in $getcap() from epic 2.5. Changed /bind so that you can specify
the actual key if you know the name to bind. ex. /bind key_f1 will
display what the key is bound to, you could also change the binding.
$getcap(TERM enter_pc_charset_mode) will return the sequence needed for
entering the pc charset. getcap() understands 3 types of names for the
termcap's, long short and termcap. We will also mangle the return so it is
displayable. $getcap(TERM capability type mangle). Type can be 0-3 and
mangle 0-1. Complete list of capabililies can be found in term.c
* fudd found problem with lookup_channel() and $numonchannel() which would
core the client
* Huey discovered that command completion was broken..
* wset will now take check a number against the window refnum.
* fixed bug in $dccitem()
* exported io() and irc_exit() functions. Added a cleanup function
add_sockettimeout(). Added $w alias for the current_window refnum. Added
additional check to function_topic(). exported lock_stack_frame() and
unlock_stack_frame() functions. These are to be used with io().
* sellfone found a bug with /help
* stupid error in history_match() would core with /!. found by azen.
* added the actual url count to the URLGRAB hook. Unfortunately this is the
first param which will cause some script problems if your using this.
* fixed/found problem with $aliasctl() when we added the second param to
functions. bestis pointed this out.
* found obscure bug which was loosing the notify list.
* found/replaced several occurances of strtoul() with my_atol() in numbers.c
* added support for DalNet's /watch command. new function $watch() based on
$notify() added.
* changed the join flood code so it uses the bantype.
* found memory leak in the JOIN_NEW_WINDOW code.
* modified 004 numeric where we do the channel auto-joins. It now checks for
server version and does the appropriate thing for broken hybrid6.
* added a add_completion_type() call which adds to the tab completion
routines. This is meant for plugin usage.
* plugin help is now available via /help. required small change to
add_module_proc() and remove_module_proc(). "func2" is now the help for
command procs. and desc is being properly used now, it was supposed to be
the command to send to the irc server.
* NOTE: major change to userlist. Password is now encrypted, there is NO way
to ensure backwards compatibility.
* added 2 new functions $strchr() and $strrchr(). $strchr(/ testing/blah)
will return the string starting at the / strrchr() starts at the end
* added a feature to /cleartab so it will remove a nick from the tabkey
array instead of ALL. /cleartab nick or /cleartab nick nick nick
* fe was using a next_arg() instead of a new_next_arg()
* found/fixed a window text leak.
* wrote a fserv plugin for serving files. This is a fairly extensive module
with ALOT of functionality. Works in 95/NT as well. Have a look at the
fserv.c code in dll/fserv and look at help_fserv() function for
documentation or loaddll fserv and /fshelp.
* found memleak in cdcc queue sends.
* Added /lastlog -append to append to the file instead of overwriting.
* changed scr-bx's re-attach code and term_init() so it passes the TERM
variable back and forth.. This will cause problems with older scr-bx.
Looks like this might fix the differing TERM types problem when switching
from X <-> console.
* fixed broken ftp command.
* several people noticed that /back would send a blank line to the server.
* KrOn found a small bug in e_pause(). missed a return; statement.
* missing a bunch of Changelog fixes due to some file corruption.
* found major nicklist bug's remember to mutex_unlock instead of
mutex_lock'g nuke.
* Merged in changes from nuke and DavidW2.
* /dcc chat ni<tab> should complete properly now. did this break anything
else? fixed /ls ~<tab> to work like bash shell.
* more configure.in/Makefile.in changes
* found a null pointer problem with /window create.
* valium/Robohak found a nick completion bug.
* added $chanwindow() for compat with openchat.
* fixed up sock4/sock5 routines. seems they were using the wrong port for
the server connection.
* buffer overrun with /set mangle found/fixed. introduced a len to
mangle_line()
* bug with /bhelp # found by whytefang
* All FORMAT_ removed from the fset array. So instead of /fset format_msg we
now use /fset msg. Numeric fsets were moved to the numeric array and
removed from the fset array.
* structure lookups added. What these allow is access to the internal
structures on a limited basis. $window(0)->log will return on/off for
example. Currently, we can use $window, $channel, $nick, and $dcc. Some of
these allow sub-structure access like $channel(#bitchx)->nick
for $channel we have channel, server, mode, topic, topic_lock, limit, key,
chop, hop, voice, bound, chanpass, connected, refnum, maxidle, tog_limit,
check_idle, do_scan, stats_ops, stats_dops, stats_bans, stats_unbans,
stats_sops, stats_sdops, stats_shops, stats_sdehops, stats_ebans,
stats_seunbans, stats_sbans, stats_unbans, stats_topics, stats_kicks,
stats_pubs, stats_parts, stats_signoffs, stats_joins, stats_ebans,
stats_unebans, stats_chanpass, stats_hops, stats_dehops, msglog,
msglog_file, totalnicks, maxnicks, maxnickstime, totalbans, maxbans,
maxbanstime, bans, exemptbans, nick, cset.
for $dcc we have user, userhost, server, encrypt, filename, othername,
bytes_read, bytes_sent, start_offset, filesize, packets, blocksize,
dcc_fast, remport, localport, dccnum
for $window we have name, refnum, server, top, bottom, cursor, line_cnt,
scroll, scratch, columns, notify_level, window_level, current_channel,
waiting_channel, bind_channel, query_nick, query_host, query_cmd, log,
logfile, lastlog_level, lastlog_size, lastlog_max, hold_mode, mangler
for $nick we have nick, host, ip, server, ip_count, userlist, shitlist, flags
idle_time, floodcount, floodtime, nickcount, nicktime, kickcount,
kicktime, joincount, jointime, kickcount, kicktime, created, stat_kicks,
stat_dops, stat_ops, stat_hops, stat_dhops, stat_eban, stat_uneban,
stat_bans, stat_unbans, stat_nicks, stat_pub, stat_topics, stat_reop,
sent_reop_time, sent_voice, sent_voice_time, sent_deop, sent_deop_time,
need_userhost
for $nick() we have two further level of redirection for the Userlist and
the shitlist. nick, host, comment, channels, password, flags, time and
filter, level, channels, reason, time.
$nick(panasync)->userlist->host
for $channel we have ->bans, ->exemptbans, ->cset and ->nick
ban has ban, setby, sent_unban, sent_unban_time, time and count.
exemptbans has the same as the above.
cset has ainv, annoy_kick, aop, auto_join_on_invite, auto_limit,
auto_rejoin, bantime, bitch, chanmode, channel_log,
channel_log_file, channel_log_level, compress_modes, ctcp_flood_ban,
deopflood, deopflood_time, deop_on_deopflood, deop_on_kickflood,
hacking, joinflood, joinflood_time, kickflood, kickflood_time,
kick_if_banned, kick_on_deopflood, kick_on_joinflood,
kick_on_kickflood, kick_on_pubflood, kick_ops, lameident,
lamelist, nickflood, nickflood_time, pubflood, pubflood_ignore_time,
pubflood_time, shitlist, userlist, channel
Some of these if it makes sense are READ/WRITE as well. So for example
$channel(#bitchx)->cset->channel_log_file[~/bitchx.log] will set the
cset channel_log_file to ~/bitchx.log.
* Seems that SNOTE level was broken. Actually not broken, just changed.
* possible fix for /whokill.
* added a /ov log feature. which will create a logfile of your ov window.
* Added a feature to hooks... a return next; in a hook will cause the next
hook in the line to be eval'd. Also plugged a memory leak in do_hook().
Now the following is possible.
on ^channel_synch "#bitchx *" { echo 1 $*;return next}
on ^channel_synch "*" { echo 2 $*;return next}
This sequence will run both possible hooks and the default handler. The
last ran hook defines what the default return is. So
on ^channel_synch "#bitchx *" { echo 1 $*;return next}
on ^channel_synch "*" { echo 2 $*;return}
would run both these hooks, but would supress the default.
* Documented a few more commands. Added /wilc and /wilcr for whois'g last
nick who ctcp'd you and the last ctcp you sent. Cleaned up my_whois()
* Fixed Makefile's and configure from DavidW2. Fixed the Fixed Makefiles
* small modification to /fset which will allow a scripter to /fset number
text for server numerics. ie /fset 001 $G $2- (default). /fset 1 will
display the setting. and /fset -001 would remove it.
* ALL commands can now use /command -help to recieve help. Internal command
table help is given preference and then BitchX.help. Removed most
references to userage() as a result.
* rewrote /kline and /tkline. Multiple hosts can be specified. comma
delimited. /kline host,host1,host2 :reason and tkline time
host,host1,host2 :reason Added support for /dline and added a /unkline.
* Re-wrote /sping. /sping . will ping the current server. /sping servername
will ping a server. Multiple servers can be specified. /sping -clear will
clear the internal sping list.
* $ischanop() will now except either (nickname #chan) or
(#chan nickname[,nickname,nickname]). Fixed $channicks() as well. We can
now do a $ischanop($C $channicks($C)) $isvoice() modified to accept comma
separated list of nicks
* Added a /set TIMESTAMP on/off TIMESTAMP_STR "%I:%M%p" and a new code for
the color parser %@. the effect of all these is the following, with /set
TIMESTAMP on, whenever a %@ is encountered in a /fset, the TIMESTAMP_STR
is used to set the timestamp for that event. TIMESTAMP_STR uses strftime()
to display the time.
* added some changes from lastest epic. new functions from epic $prefix(),
$maxlen(), $stat(), $insert(), $ttyname(), $realpath(),$indextoword(),
$functioncall() and $lastlog(). /set DCC_USE_GATEWAY_ADDR on/off added.
* a little work done on /detach.
* Re-Arranged bot_link.c, tcl_public.c and tcl.c.
* Various misc fixes in translat.c, functions.c
* Added a New plugin, qmail, which replaces the internal mail checking with
one specific to Qmail. Also added a /set qmaildir variable to define
where. Normally this will be ~/Maildir/new
* added a new module proc. With it, functions in the global_table[]
can be replaced with module functions. This can be dangerous however
and ALOT of care must be taken.. passing a (table_number | TABLE_PROC) to
add_module_proc() and a function, Will replace that function in the table.
remove_module_proc() with a (table_number | TABLE_PROC) will make that
table entry NULL.
* found 3 differant memory leaks. One in timed_server(), another in
url_grabbing and finally one in notice's.
* fixed bug with BitchX irc.server requiring a nick.
* added $LOG(text) which will add text to your /set LOGFILE if /set LOG is
on
* found bug with ircII.servers file not being read.
* more configure problems found/solved. ALL text files can be .bz2'd.
including the help files.
* wavplay.so added. plays wavfiles from BitchX.
* more tabkey problems fixed. use current_window->server instead of
from_server for finding nicks/channels for the current window.
Also found/fixed the off by one problem with files that have the same
prefix.
* found/fixed problem with ALPHA compiles and misc.c. Seems that gnu uses a
va_list structure for variable arguements. (va_list) NULL is too
small.(By-Tor_)
* added new cset and set for defining the time for a ban. two new commands
added for timed bans. /TKB and /TBK. /cset BANTIME and /set BANTIME. Patch
for this from DavidW2.
* added 2 new functions for GTK/PM scripters. Also will help in people with
.bitchxrc problems. $gtkbitchx() will return 1 if running under GTK and
$pmbitchx() for OS2. This makes it possible to make a if () in your
scripts checking for variations.
* an example of how to write a tcl c function is included in tcl_public.c
* added more pht patches.
* found and fixed core problem with /bhelp -dump
* More changes to places where files can reside. BitchX.help, BitchX.quit
BitchX.reasons, BitchX.ircnames can be anywhere on the /set LOAD_PATH for
increased flexibility. currently
~/.BitchX:~/.BitchX/plugins:~/usr/local/lib/bx/scripts:/usr/local/lib/bx
are searched in the shown order for the files that are considered extra..
* DavidW2 rewrote configure for us. Some modifications made so that dll's
are all created when --with-plugins is used on the configure. Otherwise
no plugins are compiled. You can also specify just the plugins you want.
* revamped hint module slightly. added a /hintsay. BitchX.hints can be
installed in the LOAD_PATH. This would allow system admins to create
a bxglobal with /loaddll hint and a /timer 10 hint for example.
* fixed modules. Also made /loaddll check the plugins dir. You can also
now either /loaddll amp.so or /loadll amp and the module will be loaded if
found.
* fixed a tabkey glob problem with case-sensitivity.
* fixed several problems with space's in filenames and tabkey.
* fixed a bug with ${9.9 + 4} when FLOATING_POINT_MATH is on. we weren't
actually setting up for floating point math.
* changed /window bind and unbind to support multiple channel binds.
* fixed another annoying goto wrong window output from /sping
* forgot about this, added a char * to add_timer() call which set's the whom
set the timer. This helps keep track of running timers.
* orignick modification so it will follow server changes.
* found/fixed memleak and cpu usage hog with timers.
* $getfsets() returns all fsets that have been set. including user specified
fsets with +format_blah.
* /cset auto_limit # will now do channel limiting. The formula is like this
if the limit hasn't been set by us within the last 30 seconds then we will
check to see if we need to set it. if the limit - users < autolimit/2 or
limit - users > limit + autolimit/2 then raise the limit by auto_limit.
* modified /NSLOOKUP so that -CMD {...} nick1 nick2 nick3 is possible.
* message_from() should use the window refnum instead of window ptr.
* seems ajoin was forgetting that a channel key was a possiblity. [nuke].
* added a /awaymsg which will set or reset internal auto-away msg.
* played around with #define BITCHX_LITE some more.
* DavidW2 found a small channel removal problem.
* changed add_channel() in names.c slightly. maybe this will fix the
incorrect window/channel issues.
* jmd noticed that /quote help was not outputting correctly.
* added millisecond precision timers. some other changes as well to window
levels. timers use the refnum instead of window ptr, so it can't be
deleted while the timer is running, causing a core.
* some changes including fixing a channel artifact problem, channel
join/part/join coring fixed.
* some basic changes to the bot mode added. /set BOT_MODE on will now allow
people on the userlist to auto-chat the bot. people with TCL userlist
entry can make your client do things. ie /m =nick .irc join #bitchx will
cause your client to join the channel #bitchx. ANY bx command is allowed,
so some caution is required. requested by vega.
* added $chancomp() and $filecomp() which are backdoor functions into the
internal channel and filename completion routines. requested by shade.
* DavidW2 found a small word break problem with a WORD_BREAK char as the
last char on a line. It should not be on a line by itself.
* DavidW2 created a variable url list feature. /set MAX_URLS will set the
max urls the client will store. /url - will clear the url list.
* pht created several patches. 1) implemented default channel modes /cset.
2) fixed several ts4 bugs. 3) found bug with removing a channel and
exemptbans.
* changed orignick slightly. Should now work on multiple servers.
* more PTnet changes.
* added 2 new fsets for encrypted msg and notice sends. also fixed a problem
with the send_text() which was displaying the encrypted text and not
the un-encrypted. nugget@distributed.net
* bestis noticed a small problem in the userlist on irc-net. it involves
special chars the server places in front of a username.
* added a /set SEND_CTCP_MSG which will turn on/off notices sent on response
too /ctcp userlist commands.
* nwhois and chanst changed slightly. decreased memory usage slightly in
small channels. should gain even more in large channels. Changed NickList
structure to use a bit mapped flags for various on/off flags.
* added a sent_voice to the nicklist structure. should help prevent the
double voice on join for people on the userlist.
* we used to load ~/.bitchxrc and then load ~/.BitchX/BitchX.sav. We now do
this the opposite way around. allowing .bitchxrc to override settings in
the save file.
* fixed dns problem under SunOS 64bit hardware having todo with
alignment.Thanks to ankle for helping with this.
* changed NAT support a little. -Z will still set the NAT address for dcc's
but by request /set NAT_ADDRESS ip|host will set the address. This is
useful for those who do bouncing as it's only set once. -Z would use the
address you connect too IRC with, and when bouncing this is of course
wrong.
* added a %n for status bar. it returns the number of people on your notify
list on and off of irc in 2 numbers. There's no formatting.
* icetrey found bug in "/nops " would core client.
* power noticed that /window logfile only worked in current dir.
* annoying hard too detect window scroll bug noticed by several including
drsmoke found and fixed after someone was able too determine how to
duplicate it
* Added a check for ops and kick_ops in the flood protection.
* thrad@rocks.odu.neva.ru sent a patch concerning a custom charset which is
now added. #define CHARSET_CUSTOM in config.h
* found/fixed several bugs in window scrollback. very annoying.
* fixed a term problem with libtermlib which I introduced while attempting
too clean up some compile msg's.
* found as soon as 75p3 was released, was a little bug with having a /nick
command in your .bitchxrc
[Changes 75p2]
* recalled p2. too many broken things. Servers like hybrid6 causing problems
with the client as well. Had too change a few commands too understand a
few things that the new server seems to have broken.
* singe added a command /mtopic which Mhacker had requested for setting the
topic on ALL channels which you are op'd in.
* added a NAMES_COLUMNS variable which changes the number of names
displayed. Liam Quin requested this.
* fixed epic's /help so it works again.
* epic4nr16 changes merged in. This includes the key binding code.
* fixed a few problems with window_level which was an int, but should have
been a unsigned long.
* Added a debugging window. If you /set debug will make ALL output from the
client's debugger appear on a hidden window. All normal output will
appear in the proper windows. DEBUG takes several parameters. COMMANDS,
EXPANSIONS, TCL, FUNCTIONS, ALIAS, HOOK, VARIABLE. /set -debug will clear
this. ALIAS will debug specific alias's, which are specified with
/debug name. They can be removed with /debug -name
* fixed up userhost_ban() and various /ban /kick functions which were having
trouble with nicks with a \ in them.
* DEFAULT_FONT was not working like it was supposed too... the exec needs
the args split up instead of what we were doing.
* fixed problem in get_window_bound_channel() and a NULL pointer.
* Added a /spam command which takes a channel name. If compares the channel
name with all other channels producing a list of nick@userhost's who are
common on both channels.
* ruibarreiros@usa.net sent some patches for PTnet commands to be added.
His patch was much simpler when added a little differently so he might
not recognize his work. A #define was added to config.h for enabling
this WANT_CHAN_NICK_SERV.
* server splits in rapid succession could cause a mass kick too occur. We
now do a little differant order of events within p_channel() and
add_to_channel()
* Really really fixed AUTO_RECONNECT so that if it's off, not even a timed
auto reconnect to the server will happen.
* Added timestamp logging in the /lastlog. -time will turn it off. There's
also a /fset format_lastlog for output formatting. time in seconds is the
first arg.
* Robohak noticed a problem with /exec - and no flags given.
* added /cdcc on/off commands. This will turn cddc on and off
* ajoin with a key was not being re-loaded properly from a BitchX.sav
* svobodam@eva.vsp.cz sent in some patches for bx.. Specifically adding
ircnet support. His patch for lame_ident's was already implemented. Added
some ircnet servers.
* some changes to the functions $opensocket(). Added a NOTIFY param as the
third arg, default is line mode SOCKET reading. This changes the behaviour
of the socket. instead of the SOCKET, hook returning the info, another hook
SOCKET_NOTIFY is sent instead. IT's upto the script in this case too read
the socket. So either a $readsocket() or a $readchar() can be used to read
the info from the socket. params on the hooks were changed to be a little
more sane. "socketnum servername port flags" for SOCKET_NOTIFY and
"socketnum servername port string" for SOCKET.
* another major in-compatibility in scr-bx added.. Make sure you update
scr-bx. This one adds connection cookies. Without the cookie, you can't
connect to a detached bx.
* /window 2 triple on was coring the client when window 2 was a hidden
window. this might have effected other commands as well.
* bug in wset pointed out by void fixed.
* make configure check for in_systm.h in netinet and sys directories.
* added multi-play to internal amp module. quoted filenames are played one
after another.
* small patch for HPUX modules. author of the patch said that he required
a additional -DHPUX on the CFLAGS
* small bug in tab completions fixed. Added #chan completion into tab
handling
* cosmetic changes to /cdcc involving the help.