Граф коммитов

205 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 955596c7ad landing 0.9.40
fixes a number of i18n issues, and the following bugs:
http://bugzilla.mozilla.org/buglist.cgi?bug_id=221068,220839,217358,207182,213782
2003-10-11 00:21:05 +00:00
rginda%netscape.com 7d7324c1ad landing chatzilla 0.9.35 2003-09-24 00:49:09 +00:00
rginda%netscape.com fa359690d1 landing CHATZILLA_COMMANDS_YOU branch, see bug 210744. a=asa 2003-08-18 21:35:33 +00:00
rginda%netscape.com e90e346426 initial add of file utility library, copied from venkman 2003-06-22 00:18:26 +00:00
rginda%netscape.com 52fa74451e landing patches for the following bugs, as 0.8.34:
193246	/list doesn't work on RFC2812 compliant IRC servers
114744 	File->Close vs. View-Close
80125 	Logging facility in Chatzilla.
198538 	Chat views tab titles are lowcase
200188 	PgDn/PgUp scroll left and right Chatzilla panes
199201 	sound settings blocks stalked messages if WAV sound file ...
114104 	messaging from private chat tab does not show the addressee
201324 	Userlist not always kept sorted as requested
202644 	Column sort behavior should parallel mailnews
184228 	Spelling error in irc.js: "function net_conenct()".
206915 	/join reports joining new channel in current window
209524 	stalk word list cannot have length one
198823 	Should be able to set Default Character Coding in Prefere...
200097 	lowcase ``<nickname> has changed the topic to...''
205792 	important text notification does not properly differentia...
86526 	chatzilla stores default prefs in prefs.js

Thanks to ssieb, kazhik ans Silver for the patches.
2003-06-22 00:17:55 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
rginda%netscape.com 179c07e5e6 bug 206639, "land latest chatzilla", a=asa
Changes between 0.8.26 and 0.8.31 are:

* bug 119746: it is now possible to change character sets per channel.
* bug 206066: auto-connect networks now open in correct order
* bug 193246: fixed /list problem on some servers
2003-05-22 21:28:13 +00:00
rginda%netscape.com 06c871bbfa - chatzilla only -
use Math.floor instead of parseInt
2003-04-22 00:34:03 +00:00
samuel%sieb.net 6929793b0e Bug 189682 - localize time units
patch by kazhik@mozilla.gr.jp
r=rginda
chatzilla only
2003-04-06 00:32:54 +00:00
rginda%netscape.com 3ea0aac96b bug 197108, land chatzilla 0.8.25, chatzilla only
160295 chatzilla doesn't display nicknames in userlist when the
194184 nickname change doesn't affect screenname
194287 ChatZilla alters taken nickname only at the very first at
169804 Blank text area + Crtl+Enter in multi-text mode shows you
162251 Chatzilla doesnt start maximized
178313 /names command fails to show output for other channels
196265 message type([info],[error]) auto wrapped after localizat
197024 Multi/Single-line input mode ought to be configurable in
198843 Spelling mistake in Prefs > Chatzilla > Stalking
2003-03-25 22:23:50 +00:00
rginda%netscape.com 52a5053411 landing chatzilla 0.8.23, bug 194241, r=samuel@sieb.net, a=asa@mozilla.org
fixes...
bug 190568, ssieb upgraded networking code that was making incorrect assumptions.
bug 191910, added a munger rule to turn `` and '' into unicode left/right double
quotes.
bug 124638, Neil's fix to keep chatzilla from stealing focus when joining channels.
bug 191500, Items in chatzilla's pref tree were hardcoded into the .xul file.
bug 194334, Adds accelerator keys to some pref panels, in places where they were missing.

Allows formatting to be nested, to a certain extent.  * http://foo * will
linkify http://foo AND bold it.
Lets tab characters pass through the control-code munger.
Added auto-reconnect, and a pref to control it.
Fixed URL munging so that it only creates links for valid schemes, and doesn't
include trailing punctuation in the link.
No longer strips leading and trailing whitespace from submitted lines.
2003-02-26 00:57:45 +00:00
rginda%netscape.com 0c970597e3 bug 190532, r=darin@netscape.com, a=dbaron@dbaron.org
deny irc: urls destined for questionable ports
2003-02-05 01:23:43 +00:00
rginda%netscape.com 5f1a26c873 - chatzilla only -
add James Ross'  pref panel, bug 23265
rework pref code to be table driven
add pref observer to watch for prefs changed from outside chatzilla
make the keyboard shortcut for ``Leave Channel'' and ``Close View'' Accel+W, bug 122782
add UI for the multiline input mode, bug 149588
add tab completion for channel names, bug 131633
fix bug where networks added from a startup script didn't show in the list displayed in the *client* tab at startup.
adds key= and pass= parameters to irc: urls, bug 187699
fix ``secret'' channel mode, bug 184244
2003-01-22 05:49:52 +00:00
darin%netscape.com 8f284ed984 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
samuel%sieb.net 7eded02cf7 Bug 139057 - fix chatzilla's response to certain pings
patch by twpol@aol.com
r=rginda
2002-12-16 23:28:54 +00:00
samuel%sieb.net dfa433e85b Bug 140910 - chatzilla can't handle '+' channels
patch by naitoh@be-in.org
r=rginda
2002-10-01 22:28:29 +00:00
samuel%sieb.net 4108176004 Bug 132817 - Chatzilla has problems joining channels on a pirc server
r=rginda
2002-09-25 23:40:24 +00:00
rginda%netscape.com cec2c08e47 - chatzilla only -
bug 165901, "Clicking on network/channel name has no effect"
bug 165875, "Support CTCP CLIENTINFO in Chatzilla"
bug 165868, "Support CTCP TIME in Chatzilla"
bug 137892, "Pref for new tab threshold is ignored"
fix strict warning in static.js
2002-09-03 23:33:27 +00:00
gerv%gerv.net ee117885c5 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
rginda%netscape.com 48382cacdb bug 160462 land chatzilla 0.8.9 r=me, a=rjesup
bug 131498 Can't join a channel with Japanese name
bug 133472 slow switching between channels

patches from samuel@sieb.net and naitoh@be-in.org
samuel's changes switch from DOM manipulation to a <xul:deck>, to speed up the time it takes to switch tabs.
naitoh's changes make it possible to join channels with encoded names
change by me to load external scripts before processing startup urls, so that user-defiend networks function properly in irc: urls.
2002-08-01 21:08:59 +00:00
samuel%sieb.net 6bbf1fbf3d Bug 135937 - clean up connection status (limit decimal points)
r=rginda
a=asa
2002-07-19 05:53:27 +00:00
rginda%netscape.com 2d52b6889b bug 135455, Missing chatzilla icon in Window dropdown menu
patch=mailto:andreas.premstaller@uibk.ac.at, r=rginda,sr=ben,a=asa
2002-05-01 23:04:01 +00:00
alecf%netscape.com e4d4ba3ccb Fix for bug 138299 - switch consumers of nsIWindowMediator service to use the non-RDF contractID, in preparation for bug 132175
r=danm, sr=jag
2002-04-30 01:36:59 +00:00
seawood%netscape.com 7e99f9e47e Use debug() instead of dump() so that js component registration output only shows up in debug builds.
Bug #138726 r=rginda sr=alecf
2002-04-23 07:30:11 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
samuel%sieb.net 4c90cc3aca Bug 126109 - fixing regression from previous patch
r=rginda a=asa
chatzilla only
2002-02-22 07:12:48 +00:00
samuel%sieb.net 24727342db Bug 126109 - remove space from ctcp commands that have no parameters
r=rginda
chatzilla only
2002-02-18 06:13:33 +00:00
bbaetz%student.usyd.edu.au d43d4fbff0 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
2002-02-18 03:53:08 +00:00
samuel%sieb.net fcf903d929 Bug 115305 - clean up utils.js
r=rginda
chatzilla only
2002-02-13 00:11:57 +00:00
dougt%netscape.com 894fdcfaaf 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
2002-01-29 21:22:13 +00:00
rginda%netscape.com 76ddeb2519 add missing ; 2002-01-15 01:53:06 +00:00
rginda%netscape.com 11a745d3d7 bug 119968, strict warning cleanup, patch=jscript@pacbell.net r=walk84@yahoo.com,me 2002-01-15 01:52:33 +00:00
samuel%sieb.net 5fc0577a09 Bug 117285 - fix strict mode errors caused by previous patch
r=rginda
not in build
2001-12-29 10:10:58 +00:00
samuel%sieb.net 0ef9e45c23 Bug 117285 - add +s handling to getModeStr
r=rginda
not in the build
2001-12-29 03:58:23 +00:00
dougt%netscape.com 9a75bc4b8e 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
2001-12-19 00:12:41 +00:00
samuel%sieb.net bf15faaa46 chatzilla only
bug 112606 (Ping responses are wrong)
formatDateOffset now rounds to 2 decimal places and handles an offset of 0
r=rginda
2001-12-06 00:45:29 +00:00
samuel%sieb.net fe1578600f chatzilla only
bug 112606 (Ping responses are wrong)
removed invalid check for user
r=rginda
2001-12-06 00:35:05 +00:00
rginda%netscape.com 0d1a83beab 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.
2001-12-04 00:20:48 +00:00
darin%netscape.com c95cf54bdc 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
2001-09-13 02:21:05 +00:00
dbaron%fas.harvard.edu 6697a14c09 Clean up nsIAppShellService.idl. b=98026 r=danm sr=alecf 2001-09-10 19:42:54 +00:00
rginda%netscape.com 5420a464d9 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
2001-08-23 20:33:24 +00:00
rginda%netscape.com 73be892fa2 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
add getURL methods
add default parameter for CTCP PING
route ctcp replies properly
2001-08-23 20:31:07 +00:00
rginda%netscape.com a99ab8a306 ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa
prepare to use sockets correctly, changes not used yet
2001-08-23 20:27:24 +00:00
rginda%netscape.com 40d2559364 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.
2001-08-23 20:25:42 +00:00
andreas.otte%primus-online.de c6853783af 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 2001-08-07 20:42:57 +00:00
rginda%netscape.com b226fc4365 - chatzilla only -
massive changes to add i18n support to chatzilla, see bug 27805, "ChatZilla needs i18n"
2001-07-02 04:36:29 +00:00
rginda%netscape.com 0d5cf581b6 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
2001-06-07 00:50:20 +00:00
rginda%netscape.com c738450f77 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.
2001-06-07 00:49:47 +00:00
rginda%netscape.com f3ae1a3f2f 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.
2001-06-07 00:49:19 +00:00
rginda%netscape.com fa44a96e55 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.)
2001-06-07 00:48:45 +00:00
rginda%netscape.com b953ac7908 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
2001-06-07 00:48:03 +00:00
rginda%netscape.com ac5cbe4720 - chatzilla only -
bug 80286, channels with colon characters don't work correctly.  Patch from samuel@sieb.net.  r=me
2001-05-15 21:05:35 +00:00
rginda%netscape.com 00781c8cbf checking in irc library updates described in 74164
chatzilla only, r=ssieb
2001-04-15 00:04:32 +00:00
darin%netscape.com cc425938a3 Fixes irc bustage. 2001-04-10 07:25:55 +00:00
rginda%netscape.com b4eb7b1f68 ChatZilla 0.8 checkin. see bug 71468 for details
r=ssieb, sr=shaver
2001-03-14 02:35:29 +00:00
dougt%netscape.com eab041f43f 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
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com c6692de055 updating to new necko interfaces. r=rginda@netscape.com a=dougt 2001-02-10 00:46:19 +00:00
dougt%netscape.com 69415757ab 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
2001-02-10 00:16:26 +00:00
rginda%netscape.com 10add773ff -- 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.
2000-11-01 09:33:16 +00:00
rayw%netscape.com d39d9e6d59 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
2000-09-14 23:20:49 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
rginda%netscape.com 2bd8918f72 -- CHATZILLA ONLY --
call String(obj) instead of obj.toString() to do conversion
2000-08-30 00:30:53 +00:00
rginda%netscape.com 72bb6e8064 -- CHATZILLA CHANGES ONLY --
Fix case in outputstream calls to match recently changed IDLs.  Finally getting chatzilla to crash on join again. (bug 49410)
2000-08-23 21:41:09 +00:00
rginda%netscape.com f8adc640d1 -- CHATZILLA CHANGES ONLY --
removed dead libbs code (bug 39364)
partial fix for bug 47673, still blocked by bug 49410
fix for bug 46541
2000-08-22 23:58:02 +00:00
rayw%netscape.com d8d52c08c6 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.
2000-08-10 20:12:08 +00:00
rginda%netscape.com a2cc33af0a --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.
2000-06-01 05:31:04 +00:00
sspitzer%netscape.com c49b896301 fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.
2000-06-01 04:14:34 +00:00
dougt%netscape.com 0da3936bb1 correcting invalid port number. They should be -1, not zero. 2000-05-20 00:19:24 +00:00
dougt%netscape.com 4ea1d81354 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.
2000-05-19 22:56:12 +00:00
rginda%netscape.com 6a0a36b5f8 -- 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
2000-05-15 05:58:30 +00:00
rginda%netscape.com 88cf80cbb7 * 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.
2000-05-12 22:30:53 +00:00
rginda%netscape.com 411dff3714 -- CHATZILLA CHANGES ONLY --
Implemented supah-kewl tab completion
2000-05-10 22:23:35 +00:00
rginda%netscape.com 33d9e0d364 -- CHATZILLA CHANGES ONLY --
add /server, /quit, /exit commands
2000-05-10 07:08:33 +00:00
rginda%netscape.com da28924d15 * 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
2000-05-09 01:00:42 +00:00
rginda%netscape.com 77d94a8801 ** 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
2000-05-08 06:04:24 +00:00
sspitzer%netscape.com 2e096246ee slight cleanup. -chat doesn't pass any args when it opens the window. 2000-04-30 00:17:45 +00:00
sspitzer%netscape.com 3f17aa02db get -chat to work on the mac. 2000-04-25 06:51:17 +00:00
sspitzer%netscape.com bb92c92b21 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.)
2000-04-25 06:39:39 +00:00
rginda%netscape.com f98d2946fb -- 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
2000-04-24 00:40:56 +00:00
rginda%netscape.com 459c75206f Created irc menu item overlays under extensions/irc, in preparation for bug 28192 s fix. r=mcafee, a=jar 2000-02-24 03:38:05 +00:00
rginda%netscape.com cfac58f17b -- CHATZILLA CHANGES ONLY --
* irc.js
verify nickname after login (001)
call changeNick with mixed case nick (regression introduced by previus checkin.)
2000-01-31 22:17:36 +00:00
rginda%netscape.com 25a4151415 Remove some console debug writes 2000-01-28 23:29:28 +00:00
beard%netscape.com affc548dd4 added myself as a contributor. 2000-01-28 01:14:11 +00:00
rginda%netscape.com 24986171e9 more fixes to the ctcp regex 2000-01-27 10:13:27 +00:00
rginda%netscape.com f45210b218 fix regex in onCTCP 2000-01-27 09:49:30 +00:00
rginda%netscape.com 56419e6fff * 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
2000-01-27 09:45:11 +00:00
rginda%netscape.com 00b8fd91dd -- 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*.
2000-01-18 03:29:17 +00:00
rginda%netscape.com 61a967c222 -- 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.
2000-01-16 05:07:01 +00:00
sfraser%netscape.com 43dc74a7b7 First Checked In. 2000-01-15 01:29:00 +00:00
beard%netscape.com fe2b81f4ce Using byte array buffer to implement sock read. 2000-01-14 02:26:50 +00:00
norris%netscape.com 416a981c72 Get IRCChat working without compromising security.
Fix bugs 20261, 23518
r=rginda,mstoltz
2000-01-11 22:02:06 +00:00
rginda%netscape.com 7c3f943cb8 -- CHATZILLA CHANGES ONLY --
* connection-rhino.js
formatting changes.

* connection-xpcom.js
Necko-only implementation courtesy peter.vanderbeken@pandora.be.

* irc.js
Fixed bug in error message.

* munger.js
Added ability to temporarily disable all rules.

* test3-handlers.js
not-implemented placeholder function.
hide, delete, and clear current view functions.
munger-toggle function.

* test3-static.js
disable munger by default.
fix rheet regex.
deleteToolbutton function.

* test3.xul
xul hookup for new functions.
2000-01-07 05:15:32 +00:00
beard%netscape.com 5137c1d14a not used by anything in the default build. r=rginda, a=leaf 1999-12-12 02:52:37 +00:00
rginda%netscape.com 8f4b4ac5cf -- CHATZILLA CHANGES ONLY --
* events.js, utils.js
Clean up "Function does not always return a value" errors.

* ircbot.js
Got rid of literal tabs
Assorted anti-bit-rot changes
1999-12-05 03:47:18 +00:00
rginda%netscape.com 131db27bf6 -- CHATZILLA CHANGES ONLY --
* Makefile.in, makefile.win
Install new files: munger.js, test3-readprefs.js, and face-*.gif (9 files)

* irc.js
Update regexps to 1.5 syntax.

* test3-commands.js
Wire whois command.

* test3-handlers.js
readPrefs() on startup.
Show checkmark on debug message menu.
Clear inputbox after a /command.
Send eval output to currentobject, instead of *client*
Fix for /join #channelname joining ##channelname.
Whois command implementation.
Factor _addToUserList out of onJoin so it can be used from onNick as well.
Whois reply display code.

* test3-output-*.css
New styles for munger tags.
Assorted style changes.

* test3-static.js
Change linuxnet->moznet.
Munger hookup.
newInlineText creates spans instead of anchors.
notifyActivity blinks indicator if it is already lit.
s/parity/mark

* test3.css
Assorted ui style changes: tbuttons in groove, color changes, etc.

* test3.xul
Include new js file.
Put statusbar in a toolbox.
1999-11-29 03:57:45 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
rginda%ndcico.com 581b05d2f5 **NOT PART OF THE SEAMONKEY DEFAULT BUILD**
* xul/tests/test3-output-loud.css
Added css for "loud" style.

* xul/tests/blue_rock.gif
Added pic for new default style, from Eterm background collection.

* makefile.win, Makefile.in
Add blue_rock.gif to install files.

* js/lib/irc.js
Strip \r characters from input.

* xul/tests/index.html
Updated content.

* xul/tests/test3-handlers.js
Create userlist object onJoin if it isnt already there.

* xul/tests/test3-output-default.css
New default style.

* xul/tests/test3-static.js
Added irc.freei.net server to top of EFNet network.  This server does not
require the ident service, which is blocked by the NS firewall.

* xul/tests/test3.xul
Added "loud" style to menu (old default style.)
1999-10-27 22:42:47 +00:00
rginda%ndcico.com 5fa188bc05 * Makefile.in, makefile.win
Install new css files and alternate images.

* README
Removed some rot.

* events.js
Add ability to disable a hook without uninstalling it.
Changed return value of addHook to the new hook object.
Added getHook(name) method.
Removed unused variable from routeEvent.

* http.js, irc-debug.js
Fixed spelling error.

* irc.js
network.onConnect no longer forwards the event to the server.
Added getModeStr() method to the IRCChanMode object to retrieve the entire mode string for a channel.

* utils.js
Added Clone() constructor.
Fixed problem in stringTrim.
Added getStackTrace() ... Whoopee!! ...

* bsconnection.c, bsutil.c
Stop warnings on Mac.

* index.html
Change links to buttons to avoid troubles with other methods (href="javascript:f()" | (href="javascript:(void 0)" | href="#") onclick="f()")

* test3-commands.js
Wiring for /testdisplay and /msg commands.

* test3-handlers.js
Added debug message toggle menuitem handler.
Added style change menu item handler.
Added hack to work around bad KeyUp events.
Factored out some logic from onInputCompleteLine into getObjectDetails (in test3-static.js)
Added /testdisplay and /msg implementation.
Fixed error message for unknown network passed to /network.
Added topicDate to output of /topic command.
updateNetwork and updateChannel calls sprinkled throughout to keep the statusbar current.
Added topic change handler.

* test3-static.js
Post new messages top to bottom!!
Disable the debug hook by default.
Added getObjectDetails (factored out of test3-handlers.js)
Added setOutputStyle to dynamically change the .cs file used for the output window.
Implemented updateNetwork and updateChannel.
Massive changes to .display methods make output window now display using a table, instead of spans (much faster, btw.)
Fixed addHistory to trim the correct side of the output, regardless of print direction.

* test3.css
Factored out output window styles.

* test3.xul
Added menu options for debug message toggle and style changes.
Added statusbar (table.)

* test3-output-default.css, test3-output-marble.css
Added output window stylesheets.
1999-10-09 21:26:52 +00:00
rginda%ndcico.com 5fa96708f0 * index.html
Added start page for the various test clients.
* Makefile.in, makefile.win
Changes to install index.html.
* irc.js
Fix to stop e.meat from getting filled with the <params> when there is no
<trailing> token in the message (raw data events)
Forward server ping and pong events to the parent network.
* utils.js
Verify XPCOM is present for functions that require it.
Modified arrayInsertAt and arrayRemoveAt to use Array.prototype.splice()
* test3-handlers.js
Add various verifications to commands, report on precondition problems
Added /msg command.
* test3.css
Show message types by default, suppress only specific types.
1999-09-16 01:35:00 +00:00
rginda%ndcico.com 1cf8797af8 * Makefile.in, makefile.win:
Changes to install command related files.
connection-xpcom.js:
style changes; fix to verify the socket is open before send/recieve,
* dcc.js, http.js, events.js:
style changes
* irc-debug.js:
changes to display network events
* irc.js:
style changes, userIsMe() convenience function added.
Route events to parent network if there is no local landing spot.
add usersAffected property to onChanMode events.
* utils.js:
add jsenv.HAS_DOCUMENT
* listbox.js
add MPL (duh)
add prepend and insert methods
* test3-handlers.js
Add MPL
Use new command stuff to provide online help and error reporting.
Hook some basic server messages to output window.
Alphabetize nicks (order breaks when someone /nicks)
Added nick property to some display() lines so they can be CSS'd by user.
Listen for onChanMode event.
Modify client.viewsArray to allow for multiple view with the same name.
* test3-static.js
Add MPL
Show navigator.userAgent in VERSION reply
modify setCurrentObject to not care if there isnt a toolbutton associated
modify getTBForObject to work with multiple view w/ same name
test3.xul
Add MPL
Include command related scripts
1999-09-15 02:04:24 +00:00
rginda%ndcico.com 98975be650 Not part of the dafult build
Makefile updates to install test3 on unix/win (win not tested)
paths fixed in test3.xul
help message added to test3-static.js
initialize the client object before the help message is displayed in test3-handlers.js
fix to keys() in utils.js to prevent trailing comma
1999-09-14 00:27:34 +00:00
rginda%ndcico.com a7dc21e83c added irc-degug.js, holds eventhook used when the irc library is in debug mode. 1999-09-13 23:01:11 +00:00
rginda%ndcico.com 7452ee7452 irc.js:
formatting changes; added |properNick| to CIRCUser to hold nickname with nIcKCaPs preserved.

utils.js:
optimized silly code in matchObject; fixed no-op renameProperty (it used to delete the prop)
1999-09-13 22:59:41 +00:00
rginda%ndcico.com 5f15cc0dd0 Initial checkin of irc library and sample client. Not included in the default build. 1999-09-06 17:09:47 +00:00