Commit Graph

73 Commits

Author SHA1 Message Date
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
4ceded7c68 -- CHATZILLA CHANGES ONLY --
undoing damn's misplaced changes


git-svn-id: svn://10.0.0.236/trunk@66943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 00:45:23 +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
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
rginda%netscape.com
940ee16109 Fixed lame checkin on windows. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@61576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 04:10:57 +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
mcafee%netscape.com
c8fb876e76 Adding dtd file for irc prefs, not part of build yet. r=rginda
git-svn-id: svn://10.0.0.236/trunk@61050 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:26:03 +00:00
mcafee%netscape.com
7053450270 Adding locale for irc prefs, not part of build yet. r=rginda
git-svn-id: svn://10.0.0.236/trunk@61049 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:21:02 +00:00
mcafee%netscape.com
143605f1c8 Adding files for irc prefs. Not part of build yet. r=rginda
git-svn-id: svn://10.0.0.236/trunk@61048 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:19:09 +00:00
mcafee%netscape.com
c2a7925598 Adding irc pref skeleton. r=rginda
git-svn-id: svn://10.0.0.236/trunk@61046 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:15:34 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +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
19b25283ab Add slashnet, dalnet, and undernet networks
git-svn-id: svn://10.0.0.236/trunk@58925 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:57:06 +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
sfraser%netscape.com
d54dda950e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@58279 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 01:18:09 +00:00
rginda%netscape.com
4f6efa5a96 remove munger warning, bug 22048 is fixed
git-svn-id: svn://10.0.0.236/trunk@58085 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 08:58:07 +00:00
rginda%netscape.com
1c2cd89c19 -- CHATZILLA CHANGES ONLY --
* 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)


git-svn-id: svn://10.0.0.236/trunk@58084 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 08:56:22 +00:00
rginda%netscape.com
c08a2ead97 Initial add
git-svn-id: svn://10.0.0.236/trunk@58070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 03:32:43 +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
rginda%netscape.com
006d259619 Remove the bslib from the build, r=leaf
git-svn-id: svn://10.0.0.236/trunk@57867 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:39:40 +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
norris%netscape.com
66694f8a98 Get IRCChat working without compromising security.
Fix bugs 20261, 23518
r=rginda,mstoltz


git-svn-id: svn://10.0.0.236/trunk@57437 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:02:06 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
rginda%netscape.com
402703148f -- 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.


git-svn-id: svn://10.0.0.236/trunk@57072 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:15:32 +00:00
beard%netscape.com
c060132cb3 not used by anything in the default build. r=rginda, a=leaf
git-svn-id: svn://10.0.0.236/trunk@55911 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 02:52:37 +00:00
rginda%netscape.com
692f5f92bd -- CHATZILLA CHANGES ONLY --
Raised max input history to 50 (was set to 2 for debugging, oops)


git-svn-id: svn://10.0.0.236/trunk@55623 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:25:20 +00:00
rginda%netscape.com
0f75f23440 -- CHATZILLA CHANGES ONLY --
* index.html
  Updated sll.js changes, added link to the m.o chatzilla page.

* test3-handlers.js, test3-static.js
  Added input-history stuff.


git-svn-id: svn://10.0.0.236/trunk@55552 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:04:22 +00:00
rginda%netscape.com
9d18559818 -- 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


git-svn-id: svn://10.0.0.236/trunk@55332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 03:47:18 +00:00
rginda%netscape.com
48e25b8c33 -- CHATZILLA CHANGES ONLY --
* test3-handlers.js
  Map function keys to available views

* test3-readprefs.js
  Removed debugging output.

* test3-static.js
  Wiring for fn key->view mapping
  Tweak smiley regexp to require spaces on each side.
  Ignore view change if new view == current view
  Apply munger rules on TOPIC messages in addition to PRIVMSG and ACTIONs


git-svn-id: svn://10.0.0.236/trunk@55165 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 06:24:29 +00:00
rginda%netscape.com
a839a57ff8 -- 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.


git-svn-id: svn://10.0.0.236/trunk@54550 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 03:57:45 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
rginda%ndcico.com
0da4aac936 ** NOT PART OF THE SEAMONKEY DEFAULT BUILD **
* xul/tests/index.html
Content update.

* xul/tests/test3-output-loud.css
Added ugly style.

* Makefile.in, makefile.win
Updated to install new style.


git-svn-id: svn://10.0.0.236/trunk@52182 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 03:33:01 +00:00
rginda%ndcico.com
dece5d007f **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.)


git-svn-id: svn://10.0.0.236/trunk@52004 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:42:47 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
rginda%ndcico.com
27e760dac4 * 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.


git-svn-id: svn://10.0.0.236/trunk@50318 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:26:52 +00:00
beard%netscape.com
da97767078 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +00:00
hyatt%netscape.com
04637210d9 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49595 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:49:07 +00:00
sfraser%netscape.com
3c8c71f353 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@49029 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 04:11:13 +00:00
rginda%ndcico.com
21611e908e Fix to make sure there is a user associated with the mode event before accessing the property.
git-svn-id: svn://10.0.0.236/trunk@48137 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:12:18 +00:00
rginda%ndcico.com
6f3d38c00a Forgot break;s in the select block. Please shoot me.
git-svn-id: svn://10.0.0.236/trunk@48121 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:32:05 +00:00
rginda%ndcico.com
c8dc0202c4 Fixed list onClick handlers in test1 and test2 to work with the updated
e.target.  (e.target used to be the list, now it's the option)


git-svn-id: svn://10.0.0.236/trunk@48115 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:25:47 +00:00