40 Commits

Author SHA1 Message Date
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
rginda%ndcico.com
a49e599007 This didn't take in the last commit.
* index.html
Added start page for the various test clients.


git-svn-id: svn://10.0.0.236/trunk@47713 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:37:16 +00:00
rginda%ndcico.com
aabd9a726f * 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.


git-svn-id: svn://10.0.0.236/trunk@47711 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:35:00 +00:00
rginda%ndcico.com
97da3fa505 Not part of the default build.
Fixed onQuit bug.


git-svn-id: svn://10.0.0.236/trunk@47511 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:55:36 +00:00
rginda%ndcico.com
05af812f40 * 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


git-svn-id: svn://10.0.0.236/trunk@47496 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:04:24 +00:00
rginda%ndcico.com
4d57de8d39 Not part of the default build
listbox.js
'remove' fix
test3-handlers.js
outputFilter added, outbound messages echoed to display
test3-static.js
added client ID to version reply
/me commands echoed
test3.css
color changes


git-svn-id: svn://10.0.0.236/trunk@47271 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 03:57:54 +00:00
rginda%ndcico.com
dc1c8269df 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


git-svn-id: svn://10.0.0.236/trunk@47234 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 00:27:34 +00:00
rginda%ndcico.com
bec84d7988 Added test3.xul and friends
git-svn-id: svn://10.0.0.236/trunk@47203 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:23:53 +00:00
rginda%ndcico.com
e765aaa0c8 added irc-degug.js, holds eventhook used when the irc library is in debug mode.
git-svn-id: svn://10.0.0.236/trunk@47196 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:01:11 +00:00
rginda%ndcico.com
b7751d0c9f 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)


git-svn-id: svn://10.0.0.236/trunk@47195 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:59:41 +00:00
briano%netscape.com
6a32c4fd3e Cleaned it up again.
git-svn-id: svn://10.0.0.236/trunk@46421 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 22:08:40 +00:00
leaf%mozilla.org
360dfb0ea7 checking in fixes for extensions/irc windows build, not part of default
build


git-svn-id: svn://10.0.0.236/trunk@46286 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:29:07 +00:00
rginda%ndcico.com
6ed9e1d09a Modified test1.html to work in the new directory structure.
Modified unix makefile to install it by default.


git-svn-id: svn://10.0.0.236/trunk@46285 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:26:38 +00:00
briano%netscape.com
b9cce49c6d Cleaned it up.
git-svn-id: svn://10.0.0.236/trunk@46267 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 00:24:27 +00:00
leaf%mozilla.org
348f7fbaca adding makefile.win for extensions/irc
git-svn-id: svn://10.0.0.236/trunk@46213 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:11:24 +00:00
leaf%mozilla.org
34daed7424 adding windows makefile for extensions/irc/libbs
git-svn-id: svn://10.0.0.236/trunk@46212 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:10:30 +00:00
rginda%ndcico.com
170ebc192e Not part of the SeaMonkey default build.
Moved bsConnection.cpp to bsXPCConnection.cpp to prevent build collisions
with bsconnection.c on case insensitive platforms.  Moved
bsConnectionFactory.cpp to bsXPCConnectionFactory.cpp to match the new prefix.


git-svn-id: svn://10.0.0.236/trunk@46181 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 17:38:43 +00:00
rginda%ndcico.com
b45d71176d Fixed Oversight moving nick code from an alias to a function.
git-svn-id: svn://10.0.0.236/trunk@46117 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:10:22 +00:00
rginda%ndcico.com
9a0fbdcbf4 Modified test client to allow /nick changes *before* connecting to a network.
Very useful if more than person tried to use the client.
Also added /name and /desc to change /whois information (only works before connecting.)


git-svn-id: svn://10.0.0.236/trunk@46115 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:01:20 +00:00
rginda%ndcico.com
c545414d73 One last InterCap issue. Should be ok now.
git-svn-id: svn://10.0.0.236/trunk@46114 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 18:40:43 +00:00
rginda%ndcico.com
8085203ec6 Updated MPL to 1.1
git-svn-id: svn://10.0.0.236/trunk@46111 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 18:17:54 +00:00
rginda%ndcico.com
52df701cf1 Fixed InterCap problems in bsConnection.cpp, updated MPL in Makefile.in to 1.1
git-svn-id: svn://10.0.0.236/trunk@46110 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 18:11:50 +00:00
rginda%ndcico.com
4654d56247 Removing generated header
git-svn-id: svn://10.0.0.236/trunk@46106 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 17:26:19 +00:00
rginda%ndcico.com
99dbb7f403 Initial checkin of irc library and sample client. Not included in the default build.
git-svn-id: svn://10.0.0.236/trunk@46104 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 17:09:47 +00:00