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
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
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org
- factor chatzilla specific code out of this file. Callbacks into chatzilla specific code are now used, making this file more generic.
- according to darinf (the current necko guy), using openOutputStream with asyncRead is a bad thing. Most of the changes in this file involve migrating from usage of openOutputStream to asyncWrite.
- Changes also include fixing the function declaration syntax to match the rest of the code (two lines, named functions.)
git-svn-id: svn://10.0.0.236/trunk@96581 18797224-902f-48f8-a5cc-f745e15eee43
ircbot.js: only check userIsOwner if we care about the result
mingus.js: update owners list, add op owners on join
git-svn-id: svn://10.0.0.236/trunk@90911 18797224-902f-48f8-a5cc-f745e15eee43
implement userIsOwner in ircbot.js
move the hook initialization into a function in mingus.js
git-svn-id: svn://10.0.0.236/trunk@90562 18797224-902f-48f8-a5cc-f745e15eee43
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
r=darin@netscape.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
The full details of the change on written up in the netlib newsgroup.
r=darin@netscape.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
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
Fix case in outputstream calls to match recently changed IDLs. Finally getting chatzilla to crash on join again. (bug 49410)
git-svn-id: svn://10.0.0.236/trunk@76979 18797224-902f-48f8-a5cc-f745e15eee43
removed dead libbs code (bug 39364)
partial fix for bug 47673, still blocked by bug 49410
fix for bug 46541
git-svn-id: svn://10.0.0.236/trunk@76910 18797224-902f-48f8-a5cc-f745e15eee43
interfaces. Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.
Bug 46771.
r=waterson.
I am in today and tomorrow.
git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
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
1) Passing the proxy hostname and port to the underlying socket
and changing all users that appeared in lxr.
2) (psm-glue) registering with the cache manager to allow local loopback so that
psm will work with a proxy.
3) (psm-glue) Storing proxy information in psmSocketInfo.
most reviewed by gagan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@70532 18797224-902f-48f8-a5cc-f745e15eee43
* chatzilla.xul
add tasksoverlay
convert starusbar from html:table to box
html:input -> textfield
* handlers.js
prompt for a new nickname if default was not changed
* readprefs.js
read network pref
* static.js
titlebutton -> menubutton
* listbox.js
convert html thingies to xul thingies. Quite broken, need to change quicklist to a tree
* chatzilla.css
deleted much, more skinnable now
git-svn-id: svn://10.0.0.236/trunk@68637 18797224-902f-48f8-a5cc-f745e15eee43
now, -chat from the command line works and brings up chatzilla.
(only win32 and unix, until I tweak the mac build.)
git-svn-id: svn://10.0.0.236/trunk@67095 18797224-902f-48f8-a5cc-f745e15eee43
* 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
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
* Makefile.in, makefile.win
Install files under chrome directory instead of bin. smfr will adjust mac next.
* connection-xpcom.js, utils.js, readprefs.js
Remove getPriv call (not needed for chrome:// url.)
* irc/xul/content/*, irc/xul/skin/*
Copied test3* files from test directory into new structure. Renamed test3* to chatzilla*.
git-svn-id: svn://10.0.0.236/trunk@58069 18797224-902f-48f8-a5cc-f745e15eee43