87 Commits

Author SHA1 Message Date
samuel%sieb.net
866a6e8893 Bug 132817 - Chatzilla has problems joining channels on a pirc server
r=rginda


git-svn-id: svn://10.0.0.236/trunk@130454 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:40:24 +00:00
rginda%netscape.com
4d92f7b4c4 - chatzilla only -
bug 165901, "Clicking on network/channel name has no effect"
bug 165875, "Support CTCP CLIENTINFO in Chatzilla"
bug 165868, "Support CTCP TIME in Chatzilla"
bug 137892, "Pref for new tab threshold is ignored"
fix strict warning in static.js


git-svn-id: svn://10.0.0.236/trunk@128768 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:33:27 +00:00
gerv%gerv.net
5751d43faf Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +00:00
rginda%netscape.com
2a279f7c36 bug 160462 land chatzilla 0.8.9 r=me, a=rjesup
bug 131498 Can't join a channel with Japanese name
bug 133472 slow switching between channels

patches from samuel@sieb.net and naitoh@be-in.org
samuel's changes switch from DOM manipulation to a <xul:deck>, to speed up the time it takes to switch tabs.
naitoh's changes make it possible to join channels with encoded names
change by me to load external scripts before processing startup urls, so that user-defiend networks function properly in irc: urls.


git-svn-id: svn://10.0.0.236/trunk@126179 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:08:59 +00:00
samuel%sieb.net
f144c703ef Bug 135937 - clean up connection status (limit decimal points)
r=rginda
a=asa


git-svn-id: svn://10.0.0.236/trunk@125494 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 05:53:27 +00:00
rginda%netscape.com
7a6440b27a bug 135455, Missing chatzilla icon in Window dropdown menu
patch=mailto:andreas.premstaller@uibk.ac.at, r=rginda,sr=ben,a=asa


git-svn-id: svn://10.0.0.236/trunk@120480 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:06:12 +00:00
samuel%sieb.net
56d6c62c2a Bug 126109 - fixing regression from previous patch
r=rginda a=asa
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115213 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 07:12:48 +00:00
samuel%sieb.net
9329a4002f Bug 126109 - remove space from ctcp commands that have no parameters
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114772 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 06:13:33 +00:00
rginda%netscape.com
31cd0c72b8 bug 119968, strict warning cleanup, patch=jscript@pacbell.net r=walk84@yahoo.com,me
git-svn-id: svn://10.0.0.236/trunk@112141 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:52:33 +00:00
samuel%sieb.net
b227b438b9 Bug 117285 - fix strict mode errors caused by previous patch
r=rginda
not in build


git-svn-id: svn://10.0.0.236/trunk@111158 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 10:10:58 +00:00
samuel%sieb.net
70ad8106b0 Bug 117285 - add +s handling to getModeStr
r=rginda
not in the build


git-svn-id: svn://10.0.0.236/trunk@111150 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 03:58:23 +00:00
samuel%sieb.net
2c62c55420 chatzilla only
bug 112606 (Ping responses are wrong)
removed invalid check for user
r=rginda


git-svn-id: svn://10.0.0.236/trunk@109774 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:35:05 +00:00
rginda%netscape.com
320cedffc0 landing CHATZILLA_0_8_5_BRANCH, bug 103386, r=samuel@sieb.net, rs=brendan@mozilla.org
See the ChangeLog and bug for a full list of changes, and the branch checkin log for a blow by blow.


git-svn-id: svn://10.0.0.236/trunk@109581 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:20:48 +00:00
rginda%netscape.com
b31541f4f5 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
add getURL methods
add default parameter for CTCP PING
route ctcp replies properly


git-svn-id: svn://10.0.0.236/trunk@101717 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 20:31:07 +00:00
rginda%netscape.com
a2858ebbdf - chatzilla only -
massive changes to add i18n support to chatzilla, see bug 27805, "ChatZilla needs i18n"


git-svn-id: svn://10.0.0.236/trunk@98441 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 04:36:29 +00:00
rginda%netscape.com
0a8018395b chatzilla only. bug 79311, chatzilla doesn't always connect properly
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org

- changes to work with new socket interface.
- correct isOp detection in setTopic
- remove checks for undefined exceptions
- route data-available immediatley.  inserting a data-available event to be routed later caused disconnect events to be recieved out of order.


git-svn-id: svn://10.0.0.236/trunk@96583 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 00:49:47 +00:00
rginda%netscape.com
f07bf0f8e8 - chatzilla only -
bug 80286, channels with colon characters don't work correctly.  Patch from samuel@sieb.net.  r=me


git-svn-id: svn://10.0.0.236/trunk@95049 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 21:05:35 +00:00
rginda%netscape.com
d1a42f8b35 checking in irc library updates described in 74164
chatzilla only, r=ssieb


git-svn-id: svn://10.0.0.236/trunk@92326 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 00:04:32 +00:00
rginda%netscape.com
55db3c0b63 ChatZilla 0.8 checkin. see bug 71468 for details
r=ssieb, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:35:29 +00:00
rginda%netscape.com
38698afb3f -- CHATZILLA CHANGES ONLY --
sr = scc, r = syd
fix for bug 57633, which also fixes 27805,40636,41343,51352,54145,56708,57104,57138, and some other random unfiled bugs.


git-svn-id: svn://10.0.0.236/trunk@82142 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 09:33:16 +00:00
rginda%netscape.com
a52ad6116a --CHATZILLA CHANGES ONLY--
a=brendan

* chatzilla-service.js
added components required for irc:// urls.

* command-manager.js
sort names before returning

* connection-xpcom.js
added support for async reads.

* events.js
Added "yield" event type to break out of event processing.

* irc-debug.js
add MPL
show data for "senddata" type events.

* irc.js
add password param for server.login() method.
add key param for channel.join() method.
refactoring to use the connection's async read method if it's there
(it's not in connection-rhino.js yet.)

* utils.js
add hyphenateWord function.

* chatzilla.xul
add windowtype attribute.
apply exv@randomc.com 's userlist context menu patch.

* commands.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
update join, server, and attach commands to include new params.
alias leave part.
removed bogus comments.

* handlers.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
update join, server, and attach commands to include new params.
check for pending irc urls after connection is made.

* static.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
apply exv@randomc.com 's userlist context menu patch.
add long word rule to munger.
implement parseIRCURL() and gotoIRCURL() function.
implement doURLTest() to test the other two.


git-svn-id: svn://10.0.0.236/trunk@71248 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 05:31:04 +00:00
rginda%netscape.com
21ae512e12 -- CHATZILLA CHANGES ONLY --
* irc.js
add ctcpTo(), ctcp() methods
forward unknown ctcp codes to onUnknownCTCP handler

* utils.js
add abbreviateWord function

* commands.js
add /ctcp command

* handler.js
make |this| refer to client.currentObject in /eval
implement /ctcp command
chop long hostnames onJoin
add onUnknownCTCP handler
redraw fixes in on366, onPart

* rdf.js
add getTreeRoot method

* static.js
comment fixes
add max word/nick display vars, implementations
updateTitle changes, show correct title based on client.currentObject
fix delete view issue
chop long nicks before displaying


git-svn-id: svn://10.0.0.236/trunk@69749 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:58:30 +00:00
rginda%netscape.com
aebe1cd818 -- CHATZILLA CHANGES ONLY --
checking in patch from Josh Gough, <exv@randomc.com>
muchas gracias!

irc.js
add whois, invite

utils.js
added map and mapObjFunc

chatzilla.xul
add cntxt menu for userlist

commands.js
hook up /away, op, deop, voice, devoice, echo, invite, and kick commands

hadlers.js
onload hack
whois, away, deop, op, voice, devoice, echo, invite, kick command implementations

static.js
more of the onload hack
addEventListener on toolbuttons

listbox.js
selection code

chatzilla.css
selicted list item style


git-svn-id: svn://10.0.0.236/trunk@66942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 00:40:56 +00:00
rginda%netscape.com
2e51452686 -- CHATZILLA CHANGES ONLY --
* irc.js
verify nickname after login (001)
call changeNick with mixed case nick (regression introduced by previus checkin.)


git-svn-id: svn://10.0.0.236/trunk@59285 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:17:36 +00:00
rginda%netscape.com
936f455d84 Remove some console debug writes
git-svn-id: svn://10.0.0.236/trunk@59107 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:28 +00:00
rginda%netscape.com
4604c2927d more fixes to the ctcp regex
git-svn-id: svn://10.0.0.236/trunk@58928 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 10:13:27 +00:00
rginda%netscape.com
a02eb53b1b fix regex in onCTCP
git-svn-id: svn://10.0.0.236/trunk@58920 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:49:30 +00:00
rginda%netscape.com
3a88810065 * connection-rhino.js
Various changes to make it Right

* events.js
parameterize hook functions to allow arbitrary hook arrays to be used.
search hooks in reverse order of add

* irc.js
check to see if server is connected before trying to disconnect on net.quit()
watch for exception on connect()
move auto-join-channel into on001 handler.
watch for java.lang.ThreadDeath if running under rhino.
fix onNick for the undernet network

* utils.js
define dd under rhino.
allow functions as patterns in matchObject().

* ircbot.js
define gc() for rhino.
add initPersonality hook.
add support for script line continuation with "\"

* chatzilla.xul
include globalOverlay.xul (why?)
comment out style change menu.

* handlers.js
read prefs before initialization.
add updateTitle() calls where appropriate.

* readprefs.js
Add comment to explain valid prefs.
add style prefs.

* static.js
Fix matchMyNick to match if nick is anywhere in the message (bug 24860.)
Hook up user styles in output window.
add updateTitle(), (bug 24671.)

* chatzilla.css
remove window size designation (resize issues.)

* output-default.css
remove font size attributes.
swap mark=odd and directed-to-me declaration order, to make directed-to-me take
precedence.

* output-marble.css
tab->space changes


git-svn-id: svn://10.0.0.236/trunk@58918 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:45:11 +00:00
rginda%netscape.com
402703148f -- CHATZILLA CHANGES ONLY --
* connection-rhino.js
formatting changes.

* connection-xpcom.js
Necko-only implementation courtesy peter.vanderbeken@pandora.be.

* irc.js
Fixed bug in error message.

* munger.js
Added ability to temporarily disable all rules.

* test3-handlers.js
not-implemented placeholder function.
hide, delete, and clear current view functions.
munger-toggle function.

* test3-static.js
disable munger by default.
fix rheet regex.
deleteToolbutton function.

* test3.xul
xul hookup for new functions.


git-svn-id: svn://10.0.0.236/trunk@57072 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:15:32 +00:00
rginda%netscape.com
a839a57ff8 -- CHATZILLA CHANGES ONLY --
* Makefile.in, makefile.win
Install new files: munger.js, test3-readprefs.js, and face-*.gif (9 files)

* irc.js
Update regexps to 1.5 syntax.

* test3-commands.js
Wire whois command.

* test3-handlers.js
readPrefs() on startup.
Show checkmark on debug message menu.
Clear inputbox after a /command.
Send eval output to currentobject, instead of *client*
Fix for /join #channelname joining ##channelname.
Whois command implementation.
Factor _addToUserList out of onJoin so it can be used from onNick as well.
Whois reply display code.

* test3-output-*.css
New styles for munger tags.
Assorted style changes.

* test3-static.js
Change linuxnet->moznet.
Munger hookup.
newInlineText creates spans instead of anchors.
notifyActivity blinks indicator if it is already lit.
s/parity/mark

* test3.css
Assorted ui style changes: tbuttons in groove, color changes, etc.

* test3.xul
Include new js file.
Put statusbar in a toolbox.


git-svn-id: svn://10.0.0.236/trunk@54550 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 03:57:45 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
rginda%ndcico.com
dece5d007f **NOT PART OF THE SEAMONKEY DEFAULT BUILD**
* xul/tests/test3-output-loud.css
Added css for "loud" style.

* xul/tests/blue_rock.gif
Added pic for new default style, from Eterm background collection.

* makefile.win, Makefile.in
Add blue_rock.gif to install files.

* js/lib/irc.js
Strip \r characters from input.

* xul/tests/index.html
Updated content.

* xul/tests/test3-handlers.js
Create userlist object onJoin if it isnt already there.

* xul/tests/test3-output-default.css
New default style.

* xul/tests/test3-static.js
Added irc.freei.net server to top of EFNet network.  This server does not
require the ident service, which is blocked by the NS firewall.

* xul/tests/test3.xul
Added "loud" style to menu (old default style.)


git-svn-id: svn://10.0.0.236/trunk@52004 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:42:47 +00:00
rginda%ndcico.com
27e760dac4 * Makefile.in, makefile.win
Install new css files and alternate images.

* README
Removed some rot.

* events.js
Add ability to disable a hook without uninstalling it.
Changed return value of addHook to the new hook object.
Added getHook(name) method.
Removed unused variable from routeEvent.

* http.js, irc-debug.js
Fixed spelling error.

* irc.js
network.onConnect no longer forwards the event to the server.
Added getModeStr() method to the IRCChanMode object to retrieve the entire mode string for a channel.

* utils.js
Added Clone() constructor.
Fixed problem in stringTrim.
Added getStackTrace() ... Whoopee!! ...

* bsconnection.c, bsutil.c
Stop warnings on Mac.

* index.html
Change links to buttons to avoid troubles with other methods (href="javascript:f()" | (href="javascript:(void 0)" | href="#") onclick="f()")

* test3-commands.js
Wiring for /testdisplay and /msg commands.

* test3-handlers.js
Added debug message toggle menuitem handler.
Added style change menu item handler.
Added hack to work around bad KeyUp events.
Factored out some logic from onInputCompleteLine into getObjectDetails (in test3-static.js)
Added /testdisplay and /msg implementation.
Fixed error message for unknown network passed to /network.
Added topicDate to output of /topic command.
updateNetwork and updateChannel calls sprinkled throughout to keep the statusbar current.
Added topic change handler.

* test3-static.js
Post new messages top to bottom!!
Disable the debug hook by default.
Added getObjectDetails (factored out of test3-handlers.js)
Added setOutputStyle to dynamically change the .cs file used for the output window.
Implemented updateNetwork and updateChannel.
Massive changes to .display methods make output window now display using a table, instead of spans (much faster, btw.)
Fixed addHistory to trim the correct side of the output, regardless of print direction.

* test3.css
Factored out output window styles.

* test3.xul
Added menu options for debug message toggle and style changes.
Added statusbar (table.)

* test3-output-default.css, test3-output-marble.css
Added output window stylesheets.


git-svn-id: svn://10.0.0.236/trunk@50318 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:26:52 +00:00
rginda%ndcico.com
aabd9a726f * index.html
Added start page for the various test clients.
* Makefile.in, makefile.win
Changes to install index.html.
* irc.js
Fix to stop e.meat from getting filled with the <params> when there is no
<trailing> token in the message (raw data events)
Forward server ping and pong events to the parent network.
* utils.js
Verify XPCOM is present for functions that require it.
Modified arrayInsertAt and arrayRemoveAt to use Array.prototype.splice()
* test3-handlers.js
Add various verifications to commands, report on precondition problems
Added /msg command.
* test3.css
Show message types by default, suppress only specific types.


git-svn-id: svn://10.0.0.236/trunk@47711 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:35:00 +00:00
rginda%ndcico.com
05af812f40 * Makefile.in, makefile.win:
Changes to install command related files.
connection-xpcom.js:
style changes; fix to verify the socket is open before send/recieve,
* dcc.js, http.js, events.js:
style changes
* irc-debug.js:
changes to display network events
* irc.js:
style changes, userIsMe() convenience function added.
Route events to parent network if there is no local landing spot.
add usersAffected property to onChanMode events.
* utils.js:
add jsenv.HAS_DOCUMENT
* listbox.js
add MPL (duh)
add prepend and insert methods
* test3-handlers.js
Add MPL
Use new command stuff to provide online help and error reporting.
Hook some basic server messages to output window.
Alphabetize nicks (order breaks when someone /nicks)
Added nick property to some display() lines so they can be CSS'd by user.
Listen for onChanMode event.
Modify client.viewsArray to allow for multiple view with the same name.
* test3-static.js
Add MPL
Show navigator.userAgent in VERSION reply
modify setCurrentObject to not care if there isnt a toolbutton associated
modify getTBForObject to work with multiple view w/ same name
test3.xul
Add MPL
Include command related scripts


git-svn-id: svn://10.0.0.236/trunk@47496 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:04:24 +00:00
rginda%ndcico.com
b7751d0c9f irc.js:
formatting changes; added |properNick| to CIRCUser to hold nickname with nIcKCaPs preserved.

utils.js:
optimized silly code in matchObject; fixed no-op renameProperty (it used to delete the prop)


git-svn-id: svn://10.0.0.236/trunk@47195 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:59:41 +00:00
rginda%ndcico.com
99dbb7f403 Initial checkin of irc library and sample client. Not included in the default build.
git-svn-id: svn://10.0.0.236/trunk@46104 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 17:09:47 +00:00