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

292 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 97074a34c6 munger regex modifications 2000-05-15 06:30:34 +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
axel%pike.org 057a80d6c9 Removing $(srcdir) from CHROME variables.
r=syd@netscape.com
2000-05-14 11:17:58 +00:00
danm%netscape.com e6b9efbec5 top-level chrome dirs are now packages,locales,skins 2000-05-13 21:29:08 +00:00
danm%netscape.com 11a96f9c88 no longer used 2000-05-13 21:25:36 +00:00
danm%netscape.com 76562ee155 new chrome manifest 2000-05-13 21:15:37 +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 9135440529 -- CHATZILLA CHANGES ONLY --
* xul/content/MANIFEST
install new file.

* chatzilla.xul
remove old js file.
add new js file.
menu restructuring.
userlist as rdf populated tree.

* commands.js
hookup for quit, exit, clear, delete, hide, commands, names, toolbar, and statusbar commands.

* handlers.js
implement new commands.
userlist sorting.
tab completion reorg.
pgup/dn functionality.
userlist rdf related hookup.

* static.js
remove unused client.vars.
make version reply one line.
show activity in titlebar if toolbar is not visible.
fix scrolling AND redraw problems!!
userlist rdf related hookup.
2000-05-12 22:30:21 +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
danm%netscape.com 9e41eb5be5 more chrome registration rearrangement 2000-05-10 02:17:03 +00:00
danm%netscape.com 476b766667 chrome installation manifests 2000-05-10 02:02:13 +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 def571b1d7 don't install unused file 2000-05-08 20:21:09 +00:00
rginda%netscape.com e873bb3a87 Removing unused file. 2000-05-08 20:18:00 +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
danm%netscape.com 1e2d7af6d7 adding chrome registry update directives 2000-05-05 01:43: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 f1404ad4a6 -- CHATZILLA CHANGES ONLY --
undoing damn's misplaced changes
2000-04-24 00:45:23 +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
danm%netscape.com 622d6fe83b dist...chrome restructuring 2000-04-19 21:42:30 +00:00
rginda%netscape.com 4090ddbfc2 Fixed lame checkin on windows. r=mcafee 2000-02-24 04:10:57 +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
mcafee%netscape.com 51c51372c6 Adding dtd file for irc prefs, not part of build yet. r=rginda 2000-02-16 04:26:03 +00:00
mcafee%netscape.com f9fac57119 Adding locale for irc prefs, not part of build yet. r=rginda 2000-02-16 04:21:02 +00:00
mcafee%netscape.com cd15fa296d Adding files for irc prefs. Not part of build yet. r=rginda 2000-02-16 04:19:09 +00:00
mcafee%netscape.com 2cbee83738 Ignore generated files 2000-02-16 04:17:04 +00:00
mcafee%netscape.com d7eb4a5730 Adding irc pref skeleton. r=rginda 2000-02-16 04:15:34 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +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 66569ef9e7 Add slashnet, dalnet, and undernet networks 2000-01-27 09:57:06 +00:00
rginda%netscape.com f45210b218 fix regex in onCTCP 2000-01-27 09:49:30 +00:00
rginda%netscape.com bd0975cef7 Initial add. 2000-01-27 09:45:48 +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
sfraser%netscape.com 3369b61d04 First Checked In. 2000-01-20 01:18:09 +00:00
rginda%netscape.com 6107e22d59 remove munger warning, bug 22048 is fixed 2000-01-18 08:58:07 +00:00
rginda%netscape.com b9890176c1 -- 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)
2000-01-18 08:56:22 +00:00
rginda%netscape.com 10e891ca0c Initial add 2000-01-18 03:32:43 +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
rginda%netscape.com ac7a989463 Remove the bslib from the build, r=leaf 2000-01-15 01:39:40 +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
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +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 f7476a749d -- CHATZILLA CHANGES ONLY --
Raised max input history to 50 (was set to 2 for debugging, oops)
1999-12-07 22:25:20 +00:00
rginda%netscape.com f0309f778c -- 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.
1999-12-07 07:04:22 +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 7dcab5fd9a -- 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
1999-12-03 06:24:29 +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 e2c7a685a7 ** 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.
1999-10-29 03:33:01 +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
waterson%netscape.com c7347c6be0 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 1999-10-12 03:05:10 +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
beard%netscape.com b547c2ffb0 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com 9e75934ef0 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
sfraser%netscape.com e6538cbdd7 First Checked In. 1999-09-25 04:11:13 +00:00
rginda%ndcico.com 226f2a234a Fix to make sure there is a user associated with the mode event before accessing the property. 1999-09-18 01:12:18 +00:00
rginda%ndcico.com 4b33f24439 Forgot break;s in the select block. Please shoot me. 1999-09-18 00:32:05 +00:00
rginda%ndcico.com c53112db82 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)
1999-09-18 00:25:47 +00:00
rginda%ndcico.com 454770fb5a This didn't take in the last commit.
* index.html
Added start page for the various test clients.
1999-09-16 01:37:16 +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 73b0821e65 Not part of the default build.
Fixed onQuit bug.
1999-09-15 02:55:36 +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 e0ccee51b2 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
1999-09-14 03:57:54 +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 e233592905 Added test3.xul and friends 1999-09-13 23:23:53 +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
kipp%netscape.com 2655b10bb5 new 1999-09-10 18:59:14 +00:00
briano%netscape.com 346edc26da Cleaned it up again. 1999-09-08 22:08:40 +00:00
leaf%mozilla.org 50aef07b90 checking in fixes for extensions/irc windows build, not part of default
build
1999-09-08 03:29:07 +00:00
rginda%ndcico.com fdf7a0856f Modified test1.html to work in the new directory structure.
Modified unix makefile to install it by default.
1999-09-08 03:26:38 +00:00
briano%netscape.com 92c7c938f4 Cleaned it up. 1999-09-08 00:24:27 +00:00
leaf%mozilla.org 8b2a15d4ca adding makefile.win for extensions/irc 1999-09-07 20:11:24 +00:00
leaf%mozilla.org ec934a99e7 adding windows makefile for extensions/irc/libbs 1999-09-07 20:10:30 +00:00
rginda%ndcico.com 7ee8d1cb68 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.
1999-09-07 17:38:43 +00:00
rginda%ndcico.com 8e2e5e9f6d Fixed Oversight moving nick code from an alias to a function. 1999-09-06 19:10:22 +00:00
rginda%ndcico.com e49d322f88 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.)
1999-09-06 19:01:20 +00:00
rginda%ndcico.com 383b121941 One last InterCap issue. Should be ok now. 1999-09-06 18:40:43 +00:00
rginda%ndcico.com d2605aea39 Updated MPL to 1.1 1999-09-06 18:17:54 +00:00
rginda%ndcico.com ad575bb2c4 Fixed InterCap problems in bsConnection.cpp, updated MPL in Makefile.in to 1.1 1999-09-06 18:11:50 +00:00
rginda%ndcico.com b484cfb8d9 Removing generated header 1999-09-06 17:26:19 +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