Bug 71565 - socks proxy doesn't work with chatzilla
Chatzilla's urls need to be standardurls, not simpleuris
r=rginda, chatzilla only
git-svn-id: svn://10.0.0.236/trunk@114766 18797224-902f-48f8-a5cc-f745e15eee43
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.
b) rename the old nsIComponentManager to nsIComponentManagerObsolete.
c) fixes callers which use to access the nsIComponentManager for component
registration functionality. These callers will temporary use the
nsIComponentManagerObsolete interface.
d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()
e) Perserves the old NS_GetGlobalComponentManager(). Note the cast usage.
r/sr = rpotts@netscape.comalecf@netscape.combrendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
bug 112606 (Ping responses are wrong)
formatDateOffset now rounds to 2 decimal places and handles an offset of 0
r=rginda
git-svn-id: svn://10.0.0.236/trunk@109776 18797224-902f-48f8-a5cc-f745e15eee43
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
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
robustify dumpObjectTree()
whitespace cleanup
fix getStackTrace to get function name from the correct place
git-svn-id: svn://10.0.0.236/trunk@101718 18797224-902f-48f8-a5cc-f745e15eee43
remove debug dump
pass URL to new window via window.openDialog argument, instead of query string.
git-svn-id: svn://10.0.0.236/trunk@101715 18797224-902f-48f8-a5cc-f745e15eee43
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