85 Commits

Author SHA1 Message Date
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +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
bbaetz%student.usyd.edu.au
ac0812f472 Bug 109600 - PAC script breaks chatzilla
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
2002-02-18 03:53:08 +00:00
samuel%sieb.net
c7498c424d Bug 115305 - clean up utils.js
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114341 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:11:57 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
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
2002-01-29 21:22:13 +00:00
rginda%netscape.com
be53614e41 add missing ;
git-svn-id: svn://10.0.0.236/trunk@112142 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:53:06 +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
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
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.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
samuel%sieb.net
97a02fb21d chatzilla only
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
2001-12-06 00:45:29 +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
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
dbaron%fas.harvard.edu
fdc3365574 Clean up nsIAppShellService.idl. b=98026 r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102655 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:42:54 +00:00
rginda%netscape.com
cbb6d621f1 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
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
2001-08-23 20:33:24 +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
529ff78392 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
prepare to use sockets correctly, changes not used yet


git-svn-id: svn://10.0.0.236/trunk@101716 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 20:27:24 +00:00
rginda%netscape.com
f4d5d24d79 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
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
2001-08-23 20:25:42 +00:00
andreas.otte%primus-online.de
e9654a3ac3 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100515 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 20:42:57 +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
ff0e0fd11a - not built -
- add dummy escape/unescape if it isn't there


git-svn-id: svn://10.0.0.236/trunk@96585 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 00:51:00 +00:00
rginda%netscape.com
7e93e0e57d chatzilla only. bug 79311, chatzilla doesn't always connect properly
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org

- fix HAS_XPCOM test (XPCDOM broke it.)
- add jsenv.HAS_NSPR_EVENTQ


git-svn-id: svn://10.0.0.236/trunk@96584 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 00:50:20 +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
399a21d3f0 chatzilla only. bug 79311, chatzilla doesn't always connect properly
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org

check nextLine before using it.


git-svn-id: svn://10.0.0.236/trunk@96582 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 00:49:19 +00:00
rginda%netscape.com
76f5994d9f chatzilla only. bug 79311, chatzilla doesn't always connect properly
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
2001-06-07 00:48:45 +00:00
rginda%netscape.com
f7d7c43317 chatzilla only.
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org

- Add stub allowPort method.
- Fix signature for handleContent method, bug 80993


git-svn-id: svn://10.0.0.236/trunk@96580 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 00:48:03 +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
darin%netscape.com
26bb2c7e3c Fixes irc bustage.
git-svn-id: svn://10.0.0.236/trunk@91861 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 07:25:55 +00:00
rginda%netscape.com
a5ff3d3128 -- NOT PART OF ANY BUILD --
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
2001-03-30 21:05:24 +00:00
rginda%netscape.com
261775c9c1 -- NOT PART OF ANY BUILD --
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
2001-03-27 22:10:33 +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
dougt%netscape.com
175245e2de Relanding Necko Changes.
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.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
dbb7bc5232 updating to new necko interfaces. r=rginda@netscape.com a=dougt
git-svn-id: svn://10.0.0.236/trunk@86721 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:46:19 +00:00
dougt%netscape.com
7af79c83df 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.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +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
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
rginda%netscape.com
410e7af544 -- CHATZILLA ONLY --
call String(obj) instead of obj.toString() to do conversion


git-svn-id: svn://10.0.0.236/trunk@77525 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:30:53 +00:00
rginda%netscape.com
18a073fa44 -- CHATZILLA CHANGES ONLY --
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
2000-08-23 21:41:09 +00:00
rginda%netscape.com
a02a7d27b3 -- CHATZILLA CHANGES ONLY --
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
2000-08-22 23:58:02 +00:00
rayw%netscape.com
b02b43d396 Changed case of nsIFactory.idl methods to start with lower case to be like other
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
2000-08-10 20:12:08 +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
sspitzer%netscape.com
828044e035 fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.


git-svn-id: svn://10.0.0.236/trunk@71244 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:14:34 +00:00
dougt%netscape.com
1ed14ca24a correcting invalid port number. They should be -1, not zero.
git-svn-id: svn://10.0.0.236/trunk@70534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 00:19:24 +00:00
dougt%netscape.com
afe2f43f12 Fix for 31164, possibly 35658, and prep work for 31174.
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
2000-05-19 22:56:12 +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