Commit Graph

17 Commits

Author SHA1 Message Date
Kevin Easton
1e81f1ed7b Rework formatting of /NAMES and /SCAN output.
The formatting of /NAMES and /SCAN output has been substantially reworked.
The old /FSETs NAMES_BOTCOLOR, NAMES_FRIENDCOLOR, NAMES_NICKCOLOR,
NAMES_OPCOLOR, NAMES_SHITCOLOR and NAMES_VOICECOLOR have been replaced
with these new /FSETs:

....................NAMES_NICK %B$[10]0
................NAMES_NICK_BOT %G$[10]0
.............NAMES_NICK_FRIEND %Y$[10]0
.................NAMES_NICK_ME %W$[10]0
...............NAMES_NICK_SHIT %R$[10]0
....................NAMES_USER %K[ %n$1-%K]
.............NAMES_USER_CHANOP %K[%C$0%n$1-%K]
..............NAMES_USER_IRCOP %K[%R$0%n$1-%K]
..............NAMES_USER_VOICE %K[%M$0%n$1-%K]

The NAMES_NICK formats control how the nick itself is displayed, depending
on the status of the nick as recognised by BitchX (the priority order is
NAMES_NICK_ME > NAMES_NICK_BOT > NAMES_NICK_FRIEND > NAMES_NICK_SHIT >
NAMES_NICK).  The NAMES_USER formats control how the overall entry appears in
the /NAMES or /SCAN line, depending on the channel status of the nick (the
priority order is NAMES_USER_CHANOP > NAMES_USER_VOICE > NAMES_USER_IRCOP >
NAMES_USER).

You'll need to update any scripts or custom formats that altered the old
formats.  If you just use the defaults, the main difference you'll see is
that your own nick is now shown in white, and voiced users are shown with
the '+' sent by the server instead of the 'v'.  You can go back to the old
look by setting these formats:

/FSET NAMES_NICK_ME %B$[10]0
/FSET NAMES_USER_VOICE %K[%Mv%n$1-%K]



git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@46 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-27 04:53:19 +00:00
Kevin Easton
0d11b0afbe Modify /scan family of commands. Now shows halfops, /scans for shitlist
works, and a few other changes.  Some things might look a bit hinky,
more work needed.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@44 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-08 14:35:15 +00:00
Kevin Easton
0ce64de737 Show % (halfops) correctly in /names.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@43 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 23:02:29 +00:00
Kevin Easton
e10dcbe7e2 If using recursive cparse, a %c character in the format string inserting
a % or $ should quote it (like %s does).


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@42 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 23:02:07 +00:00
Kevin Easton
cc9073707e Merge r22 from branches/ircii-pana-1.1
Fix spelling error in dcc.c


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@39 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 11:00:16 +00:00
Kevin Easton
ee2fe058c2 Merge r11,r12,r13 from branches/ircii-pana-1.1
Implements new method to find vhosts (fixes CVE-2007-5839).


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@38 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 10:57:26 +00:00
Kevin Easton
9beb1dcd55 Merge r6 & r7 from branches/ircii-pana-1.1
This is the convert_output_format_raw changes that fix CVE-2007-4584.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@37 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 10:48:02 +00:00
Kevin Easton
a9267d0716 Merge r5 from branches/ircii-pana-1.1 (fixes for CVE-2007-3360).
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@36 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 10:26:50 +00:00
Kevin Easton
285b02c36a Add $ishalfop(<nick> <channel>) scripting function, as per EPIC.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@34 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 08:48:49 +00:00
Kevin Easton
5bfda51bce Simplify fixes to /fe, /fec (put /fe and /fec back into one loop).
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@32 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-07 08:38:12 +00:00
Kevin Easton
a7ba47b046 Rewrite of the /FE scripting function, fixing these four problems:
fe ( x$chr(9)y ) a { echo $a }

(Crashes)

fe ( abc def ) xyz{ echo [$xyz] [$xy] }

(Uses wrong variable name)

fe ( abc def ) x{ echo $x }

(Endless loop)

fe ( abc def ) { echo x }

(Wrong error message)


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@30 13b04d17-f746-0410-82c6-800466cd88b0
2008-05-01 08:20:42 +00:00
Kevin Easton
49feda0e9d Fix logic of version check on module load.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@27 13b04d17-f746-0410-82c6-800466cd88b0
2008-04-30 13:59:33 +00:00
Kevin Easton
3de93b1dbc Far-reaching changes to make BitchX compatible with 64 bit architectures
like x86-64, where sizeof(int) != sizeof (void *).  This involves correctly
casting every function pointer from the global table to the correct
function type, which has the added benefit of allowing type-checking of
function arguments and return values.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@26 13b04d17-f746-0410-82c6-800466cd88b0
2008-04-30 13:57:56 +00:00
Kevin Easton
7eac4a00ce Roll version number for BitchX 1.2 series.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@25 13b04d17-f746-0410-82c6-800466cd88b0
2008-04-30 13:52:22 +00:00
Kevin Easton
b0d74f970d Merge from ircii-pana-1.1 branch (removal of tparm declaration) - see rev 16
change.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@17 13b04d17-f746-0410-82c6-800466cd88b0
2008-03-10 06:38:25 +00:00
Kevin Easton
533c3dbcbf Turn on SVN keyword replacement for $Date$, $Author$, $Revision$, $Id$ for all
*.c and *.h files.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/branches/ircii-pana-1.1@3 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:49:14 +00:00
Kevin Easton
28febcfea9 Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00