r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org
- return false the first time through onClose(), and disconnect from all servers. This makes sure we keep the window around long enough to send the QUIT messages.
- close window if client.userClose is set and we disconnected from the last server.
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.
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.)
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
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
r=vishy. verified this solution works for mozilla, commercial and shrimp.
dont have bug number handy but this should be world++. basically from
now on, jar.mn rules will both create the jar and publish the flat files
to dist. the flat files are needed so that installers can compose the
files into a new naming system or delete some or whatever.
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.
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.
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.
* 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
* xul/content/MANIFEST
install new file.
* chatzilla.xul
remove old js file.
add new js file.
menu restructuring.
userlist as rdf populated tree.
* commands.js
hookup for quit, exit, clear, delete, hide, commands, names, toolbar, and statusbar commands.
* handlers.js
implement new commands.
userlist sorting.
tab completion reorg.
pgup/dn functionality.
userlist rdf related hookup.
* static.js
remove unused client.vars.
make version reply one line.
show activity in titlebar if toolbar is not visible.
fix scrolling AND redraw problems!!
userlist rdf related hookup.
* 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
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
* static.js
Adjust IMAGEDIR and CSSDIR to use chrome:// urls
Append IMAGEDIR to gifs used in smiley insertion
* chatzilla.css
Background color in userlist
(border seems to bring back bug 24195)
* 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*.