85302 Commits

Author SHA1 Message Date
javi%netscape.com
ca38d51701 Checking in for pollman
Fix for Bug 68321 r=javi, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@97459 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:26 +00:00
jst%netscape.com
c9eea283ff Fixing bug 83332. Event listeners registerd with the DOM method addEventListener were being executed on the wrong context, often on the safe context (i.e. the hidden window context), this causes potential security problems and problems in cases where we use the context for figuring out the base URI when resolving relative URL's n' such... r=joki@netscape.com, sr=hyatt@netscape.com, a=drivers@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@97458 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:37:51 +00:00
oeschger%netscape.com
4e48bb8c6a context sensitive help, sr=blake, a=asa, r=sfraser, b=46226
git-svn-id: svn://10.0.0.236/trunk@97457 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:35:17 +00:00
ddrinan%netscape.com
2df130d63a Bug# 85974. r=db48x, r=ddrinan,sr=blake,a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97456 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:34:48 +00:00
waterson%netscape.com
24ef124269 Bug 83737. Fix off-by-one error when enumerating values. r=kandrot, sr=scc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97455 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:34:32 +00:00
chuang%netscape.com
5d8aa58eb9 bug57839 'Local Folders' not created after cancel Wiz & import settings, r=bhuvan
, sr=sspitzer, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@97454 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:30:30 +00:00
dmose%netscape.com
4a230f52b7 speed up LDAP autocomplete by using the new param to SearchExt() to only ask for necessary attrs (bug 74098) r=ducarroz, sr=dougt, a=asa
git-svn-id: svn://10.0.0.236/trunk@97453 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:30:15 +00:00
oeschger%netscape.com
427ca72705 help content updates per b=85925, PDT approved, r=cotter@netscape.com
git-svn-id: svn://10.0.0.236/trunk@97452 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:29:43 +00:00
ddrinan%netscape.com
da7184b1df Bug# 38782. r=db48x, r=ssaux,sr=blake,a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97451 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:28:44 +00:00
nhotta%netscape.com
b15526055e Replaced strcpy by memcpy in order to avoid copying nul terminator which the key might not have a room for it
(which causes the buffer overrun), r=ftang, sr=sfraser, a=asa.


git-svn-id: svn://10.0.0.236/trunk@97450 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:28:11 +00:00
despotdaemon%netscape.com
be6410ce34 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@97449 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:15:41 +00:00
justdave%syndicomm.com
107bf6572e Fix for bug 45918: the old password field on the userprefs page is now used to log you back in if you try to change your password with cookies turned off, which avoids the confusing login screen after entering your new password in which you used to have to enter your old password one more time in order to let it set your new password (yes, it used to be as confusing as that just sounded :)
r= tara@tequilarista.org


git-svn-id: svn://10.0.0.236/trunk@97448 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:02:53 +00:00
mcafee%netscape.com
718edfe122 comment: bloat tests need --enable-logrefcnt --enable-perf-metrics for opt. builds
git-svn-id: svn://10.0.0.236/trunk@97446 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 21:57:07 +00:00
nboyd%atg.com
f78dd4511a Hi Norris, Simon,
I looked into this somewhat and I noticed the following:

1) There is a bug in Interpreter.java, line 1695. It sets the variable "i" to
the line number of the special call, but overwrites it on line 1699.  It then
passes this value to ScriptRuntime.callSpecial
2) In "generateScriptICode" in Interpreter.java the variable
itsData.itsSourceFile fails to be set to itsSourceFile.  This causes a null
source file name to be passed to handleCompilationDone when "Widget.js" is
compiled.  That is why you
initially see "<stdin>, line 6" when the debugger comes up (the debugger
interprets a null source name as "stdin").  I simply modified it as follows
(this might not be the right thing to do?):

  private InterpretedScript generateScriptICode(Context cx,
                                                  Scriptable scope,
                                                  Node tree,
                                                  Object securityDomain)
    {
        itsSourceFile = (String) tree.getProp(Node.SOURCENAME_PROP);
        itsData.itsSourceFile = itsSourceFile;
        ...

and that corrected the problem.

However there seems to be no way for the debugger to detect that the script
passed to handleCompilationDone() is the argument of an "eval()". So I modifed
NativeGlobal.evalSpecial() to munge the filename to indicate this (by appending
"(eval)" to it).  That way a separate window is created in the debugger to hold
the compiled eval code.  This is probably not be the best way to solve the
problem.

I have attached the files I modified.

Cheers,

Chris

Simon Massey wrote:

> Christopher,
>
> Attached is the code that trips the debugger up. The debugger comes up. You
minimize the console to reveal Widget.js file window. You click 'Go'. The
Widget.js window looses all the code in it and is just replaced by the evaluated
code:
>
>   this.invokedByEval()
>
> The rhino tip I have is rhino15R2pre.zip
>
> I am running it with the command:
>
> start javaw org.mozilla.javascript.tools.debugger.JSDebugger -f Widget.js -f
Main.js
>
> using the JVM:
>
>   java version "1.3.0"
>   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
>   Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
>
> on Win2k.
>
> Just in case you are wondering why on earth my code wants to do this, it is
because I want to do some introspection. The real Widget invokes all its methods
that have a particular substring in their names:
>
>         for( key in this ){
>                 if( key.indexOf('reflect') == 0 ){
>                         var evalStr = "this."+key+"()";
>                         eval(evalStr);
>                 }
>         }
>
> Thanks for the great code. I have the real Widget stabilized and am happily
using the debugger on my other files.
>
> Thanks again!
>
> Simon Massey
>


git-svn-id: svn://10.0.0.236/trunk@97443 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 19:27:21 +00:00
mcgreer%netscape.com
e54c751922 final checkin of NSCP roots to mozilla. changed USPS roots per request.
git-svn-id: svn://10.0.0.236/trunk@97439 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 17:12:04 +00:00
cls%seawood.org
1d9ec060d7 This should've gone in with yesterday's checkin. Should fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@97438 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 17:07:12 +00:00
leaf%mozilla.org
de436b478e resurrect lost file
git-svn-id: svn://10.0.0.236/trunk@97436 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:58:03 +00:00
brade%netscape.com
acdec3b8bd removing file that was added by accident (typo in file name).
git-svn-id: svn://10.0.0.236/trunk@97435 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:58:00 +00:00
leaf%mozilla.org
7b3a2eba95 resurrecting lost file
git-svn-id: svn://10.0.0.236/trunk@97434 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:55:51 +00:00
brade%netscape.com
9dedab6141 restore
git-svn-id: svn://10.0.0.236/trunk@97433 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:52:02 +00:00
leaf%mozilla.org
ac0486e642 resurrecting some lost files
git-svn-id: svn://10.0.0.236/trunk@97432 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:51:05 +00:00
brade%netscape.com
5391ce5c0d restore
git-svn-id: svn://10.0.0.236/trunk@97431 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:46:04 +00:00
leaf%mozilla.org
8e45cc4f7b readding dead file
git-svn-id: svn://10.0.0.236/trunk@97430 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:36:11 +00:00
brade%netscape.com
de4b19cd1a restored
git-svn-id: svn://10.0.0.236/trunk@97429 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:35:44 +00:00
leaf%mozilla.org
9da6d573a1 readding files from the cvs-file-eating
git-svn-id: svn://10.0.0.236/trunk@97428 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 14:34:30 +00:00
pavlov%netscape.com
c467894387 readding shit to the trunk since cvs ate it.
git-svn-id: svn://10.0.0.236/trunk@97425 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 11:16:54 +00:00
pavlov%netscape.com
2e8b025fe4 removing libimg
git-svn-id: svn://10.0.0.236/trunk@97418 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 08:51:27 +00:00
pollmann%netscape.com
a71639eba6 Bug 68012: Allow frames in a frameset to be manually resized by dragging the border. This is accomplished by changing the reflow from a ResizeReflow, which was blocked by block to box adapter optimizations as the window had not changed size, to a ReflowDirtyChild. r=jst@netscape.com, sr=attinasi@netscape.com, a=drivers@mozilla.org (blizzard)
git-svn-id: svn://10.0.0.236/trunk@97414 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 08:29:13 +00:00
pollmann%netscape.com
13b314bf39 Bug 68321: Remove nsSecureBrowserUIImpl from form submit observer list on destruction, and ignore failures when enumerating observer list. These failures were causing spurious NS_ERROR_INVALID_POINTER messages on the console, and preventing form submission. This is part 1 of 2, simply ignoring the error return codes in nsFormFrame when enumerating the observer list. The remaining part is in mozilla/security/manager/ssl/src/nsSecureBrowserUIImpl.cpp, to unregister the nsSecureBrowserUIImpl on destruction. r=javi@netscape,com, sr=jst@netscape.com, a=drivers@mozilla.org (asa)
git-svn-id: svn://10.0.0.236/trunk@97413 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 08:01:46 +00:00
anthonyd%netscape.com
b9ea338e2f fix for 73605: nsHTMLContentSerializer outputs <textarea> contents as attributes
r=kin@netscape.com
sr=jst@netscape.com
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@97412 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 07:37:15 +00:00
srilatha%netscape.com
2311e8fdfd Fix for bug # 80060. Fixed removedirectory() such that the selected directory gets
deleted and also it gets deleted when user clicks on ok
r=bhuvan, sr=sspitzer, a=asa


git-svn-id: svn://10.0.0.236/trunk@97410 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 06:06:21 +00:00
bryner%uiuc.edu
2bdddc306e Bug 77913 - tab focus not cycling around in dialogs. r=jag, sr=jst, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@97409 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 05:35:24 +00:00
javi%netscape.com
ac20d310d0 Get rid of compiler warnings caused by my last check-in.
git-svn-id: svn://10.0.0.236/trunk@97408 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 05:34:47 +00:00
javi%netscape.com
e1c8415b9e Fix for Bug 83675 r=mcgreer, sr=blizzard, a=asa
If a user has a PKCS11 smart card installed, then give the user
  the option of restoring a p12 file onto the smart card.


git-svn-id: svn://10.0.0.236/trunk@97407 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 05:29:56 +00:00
dmose%mozilla.org
4955447ce0 Changing despot owner to endico@mozilla.org with her permission
git-svn-id: svn://10.0.0.236/trunk@97405 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 04:04:34 +00:00
syd%netscape.com
665130c153 Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
return we found it. r=dougt, sr=mscott, a=drivers


git-svn-id: svn://10.0.0.236/trunk@97403 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 03:17:20 +00:00
srilatha%netscape.com
721d3abad3 Fix for bug 79933. Added some error messages when user enters invalid data into the
directory server properties dialog
r=mohanb, sr=sspitzer, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@97400 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 02:34:56 +00:00
jake%acutex.net
3d6379f41c Running a query using the Added Comment option was very slow (bug 57350).
Patch by Myk Melez <myk@mozilla.org> and Dave Miller <justdave@syndicomm.com>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@97396 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 02:05:08 +00:00
bnesse%netscape.com
b77b3c10e7 Fix for bug 86107. Preferences needs to implement nsISupportsWeakReference. r=mitesh, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97395 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:40:19 +00:00
peterlubczynski%netscape.com
1ab6ff7c11 Fix to allow caching of https plugin streams and also fix a leak in byte range streams bug 54689 and bug 83183 patches by peterl & dougt r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@97394 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:38:20 +00:00
jake%acutex.net
9307fd5a8a Refixing bug 71396. Each PushGlobalSQLState() needs a PopGlobalSQLState() and this file instead had two "pushes".
git-svn-id: svn://10.0.0.236/trunk@97393 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:37:02 +00:00
stephend%netscape.com
99dca26b4b Scragglers for bug 75819, I applied the patch by hand and missed a couple instances. Original patch by Bhart00@yahoo.com (Bradley Hart) r=me/robinf/jglick sr=scc a=asa
git-svn-id: svn://10.0.0.236/trunk@97392 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:27:38 +00:00
nelsonb%netscape.com
d5177f94f1 Remove #if defined(XP_WIN) since it's redundant. Bug 84584.
git-svn-id: svn://10.0.0.236/trunk@97389 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:16:22 +00:00
stephend%netscape.com
35bade65c5 75819 - Wording in HTML mail question dialog for 'Plaintext' should be 'Plain Text'. Patch by Bradley Hart <bhart00@yahoo.com> r=stephen@netscape.com, robinf@netscape.com/jglick@netscape.com sr=scc@mozilla.org a=asa@mozilla
git-svn-id: svn://10.0.0.236/trunk@97388 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:13:36 +00:00
hwaara%chello.se
e149af03a6 #70236, "new folder" button in filter-editor should be disabled if an action other than "Move to folder" is selected. r=doron, sr=sspitzer, a=asa.
#68175, fix bug where we opened the filter-editor seemingly at random sometimes when clicking around in the filter-list dialog. r=naving, sr=sspitzer, a=asa.


git-svn-id: svn://10.0.0.236/trunk@97387 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 01:08:41 +00:00
stephend%netscape.com
d8f7a6fdb8 Cleaning up whitespace that was missed with cvs diff -uw on bug 58783, that bug has r=naving, sr=sspitzer, a=asa
git-svn-id: svn://10.0.0.236/trunk@97386 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:58:15 +00:00
stephend%netscape.com
f7f6a2ac6c Bug 58783 - Title isn't cleared in a folder when the last message is deleted. r=naving@netscape.com sr=sspitzer@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97384 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:33:09 +00:00
darin%netscape.com
f857713ce6 Fixes bug 84847 "refresh displays stale content when using squid proxy"
r=gagan, sr=dougt, a=asa


git-svn-id: svn://10.0.0.236/trunk@97383 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:29:23 +00:00
danm%netscape.com
34c3029cab place clicked-link events on the current active queue, rather than the one that was active at the time of the webshell's creation. bug 71222 r=hyatt,rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@97382 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:28:10 +00:00
darin%netscape.com
a7d604012d Fixes bug 85887 "Gzip content not properly displayed when using Content-Encoding: x-gzip"
r=bbaetz, sr=dougt, a=asa


git-svn-id: svn://10.0.0.236/trunk@97381 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:25:02 +00:00