264 Commits

Author SHA1 Message Date
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
rginda%netscape.com
7cea9948ba * Makefile.in, makefile.win
install new file.

* command-manager.js
handle exact match case.

* chatzilla.css
remove old styles.

* output-default.css
darker bg on QUIT messages.


git-svn-id: svn://10.0.0.236/trunk@69468 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:30:53 +00:00
rginda%netscape.com
6f3a60503b -- CHATZILLA CHANGES ONLY --
Implemented supah-kewl tab completion


git-svn-id: svn://10.0.0.236/trunk@69069 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:23:35 +00:00
rginda%netscape.com
b74ebda008 -- CHATZILLA CHANGES ONLY --
add /server, /quit, /exit commands


git-svn-id: svn://10.0.0.236/trunk@69019 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:08:33 +00:00
rginda%netscape.com
0bb57aeb22 * Makefile.in, makefile.win, MAINFEST
install new image.

* chatzilla.xul
add type="checkbox" to appropriate menuitems

* handlers.js
implement onToggleToolbarIcons()

* readprefs.js
read new prefs extensions.irc.(munger, .toolbar.icons, .notify.aggressive)

* static.js
sync menu checkmarks on startup
add fix for Bug# 29301
move button code to styles

* munger.js
add MPL

* chatzilla.css
added new activity-button styles


git-svn-id: svn://10.0.0.236/trunk@68770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:00:42 +00:00
rginda%netscape.com
d51576fb18 ** CHATZILLA CHANGES ONLY **
* 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
2000-05-08 06:04:24 +00:00
sspitzer%netscape.com
927a7d44b6 slight cleanup. -chat doesn't pass any args when it opens the window.
git-svn-id: svn://10.0.0.236/trunk@67621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 00:17:45 +00:00
sspitzer%netscape.com
20ce194071 get -chat to work on the mac.
git-svn-id: svn://10.0.0.236/trunk@67096 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:51:17 +00:00
sspitzer%netscape.com
2d897f5c60 implementing the chatzilla service that I promised rginda months ago.
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
2000-04-25 06:39:39 +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
5e21eef16a Created irc menu item overlays under extensions/irc, in preparation for bug 28192 s fix. r=mcafee, a=jar
git-svn-id: svn://10.0.0.236/trunk@61566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:38:05 +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
beard%netscape.com
31aa4674b7 added myself as a contributor.
git-svn-id: svn://10.0.0.236/trunk@58984 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:14:11 +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
de6fe190b5 Initial add.
git-svn-id: svn://10.0.0.236/trunk@58919 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:45:48 +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
ef2c53da64 -- CHATZILLA CHANGES ONLY --
* 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
2000-01-18 03:29:17 +00:00
rginda%netscape.com
405224f13a -- CHATZILLA CHANGES ONLY --
* makefile.win, Makefile.in
Remove test1 and test2 files from install.

* connection-xpcom.js
replace enablePrivlege() calls with getPriv().

* utils.js
added jsenv.HAS_SECURITYMANAGER
replace enablePrivlege() calls with getPriv().
add getPriv() function.

* test3-handlers.js
fix onError funciton name.

* test3-readprefs.js
Add MPL (doh!)
replace enablePrivlege() calls with getPriv().

* test3-static.js
Adjust version reply string
Add check/error report for proper privs.
enable munger by default (Again)

* test3.xul
Show check in munger menu entry when page is loaded.


git-svn-id: svn://10.0.0.236/trunk@57963 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 05:07:01 +00:00
sfraser%netscape.com
3a74bacdbe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@57858 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:29:00 +00:00
beard%netscape.com
756707f403 Using byte array buffer to implement sock read.
git-svn-id: svn://10.0.0.236/trunk@57777 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 02:26:50 +00:00