Commit Graph

101071 Commits

Author SHA1 Message Date
rjesup%wgate.com
0eab7b7d6e Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:07:04 +00:00
sspitzer%netscape.com
00d94a82b5 fix for #103681 (no status messages when doing pop).
back out my bad fix for #102978.  we set the msg window on the folder datasource
and we've got a folder datasource per msg window.  by moving this from js to xul,
it made it so we'd set the msg window on one folder ds, and we'd be using the other one.

r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:05:00 +00:00
jband%netscape.com
029cf25395 fix bug 103259. Avoid crasher by correctly marking sharedscriptable object so that JSClasses don't get collected prematurely even when wrapper is 'stillborn' and not reflected into JS. r=dbradley sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@104812 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:56:25 +00:00
bryner%netscape.com
2c6b5ae2fd Getting rid of a usage of xp_file.h (bug 38061). r=jkeiser, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@104811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:55:59 +00:00
bnesse%netscape.com
c95be0de1b Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:52:17 +00:00
timeless%mac.com
e6ac72aa4d Bugzilla Bug 103343 Check for IsEmpty before more expensive value check
patch by me and bz, r=morse, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104809 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:48:29 +00:00
rginda%netscape.com
9e5dd4fe59 bug 102785, r=dp, sr=shaver, a=asa
remove venkman startup listener so we don't have to load the dll at startup.
checking into 0.9.5 branch also.


git-svn-id: svn://10.0.0.236/trunk@104808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:44:35 +00:00
ian.mcgreer%sun.com
b65474fbb3 implement hash keyed by NSSItem; change list method names to be like hash method names; fix 99214, arena mark lists broken
git-svn-id: svn://10.0.0.236/trunk@104806 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:26:02 +00:00
kestes%walrus.com
48bf26a38d better usage discription. Index.html does not list itsself and now
displays sizes.


git-svn-id: svn://10.0.0.236/trunk@104805 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:25:33 +00:00
ian.mcgreer%sun.com
a7f07ef9a6 reuse intermediate multiplication values when decrypting; speeds up decryption in the RIJNDAEL_GENERATE_VALUES case by 60%. (todo: something similar with RIJNDAEL_GENERATE_VALUES_MACRO)
git-svn-id: svn://10.0.0.236/trunk@104804 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:06:31 +00:00
jpierre%netscape.com
15289e2464 Fix Linux build
git-svn-id: svn://10.0.0.236/trunk@104803 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:49:17 +00:00
jpierre%netscape.com
8422d239af Fix for 81246 - add default storage functions for the PKCS#12 decoder if no callbacks or objects are provided to it. In that case memory storage is automatically used
git-svn-id: svn://10.0.0.236/trunk@104802 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:33:04 +00:00
jpierre%netscape.com
8e55af1b91 Fix for 81246 - do not use a temporary /tmp/Pk12uTemp file anymore in pk12util . This is achieved by using new default functions in the PKCS#12 decoder that use memory storage
git-svn-id: svn://10.0.0.236/trunk@104801 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:32:00 +00:00
ian.mcgreer%sun.com
96738acb83 self-testing for AES
git-svn-id: svn://10.0.0.236/trunk@104797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:14:04 +00:00
ian.mcgreer%sun.com
2e7fdaccef allow various ways of building AES
git-svn-id: svn://10.0.0.236/trunk@104796 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:11:52 +00:00
kin%netscape.com
4f48522594 Make original patch for bug 99920 (hitting enter in any text field submits form without submit button passed as param)
work in OPT builds, by moving QI() call out of NS_ASSERTION macro.

r=rods@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 14:07:57 +00:00
ben%netscape.com
24a7c1046e 101131 - Bookmarks Menu on personal toolbar is empty.
Not the best fix but will do for short term. Comments added
detailing proposed better solution.
r=kerz, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@104792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 12:32:14 +00:00
loadrunner%betak.net
ce6d03c125 bug 97171, startup perf- remove the need of loading of langGroups.properties files at startup time to speed up startup performance, r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104791 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 09:02:57 +00:00
hyatt%netscape.com
39a9dc156f Fix for 102598, CTRL+T tabs should focus URL bar after opening. r=kerz, sr=hyatt, patch externally contributed.
git-svn-id: svn://10.0.0.236/trunk@104790 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:39:32 +00:00
bryner%netscape.com
7b761d8a36 Removing references to xp_file.h, for bug 38061. Patch from cls, r=bryner, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104789 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:22:27 +00:00
hyatt%netscape.com
437a6cdb76 Fix for 96375, make XBL extends support relative URLs. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@104788 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 06:29:30 +00:00
sdagley%netscape.com
66d6f135e2 Fix #103612 - work around bug in Mac OS X 10.1 Internet prefs panel when setting DL folder. r=dbaron. I'd wait for an sr= but I need trunk verification on this so I can get PDT approval for checking into the 0.9.4 branch.
git-svn-id: svn://10.0.0.236/trunk@104787 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:59:59 +00:00
mkaply%us.ibm.com
c72818832b No bug
r=cls
Since only OS/2 needs rdf in REQUIRES, put it in the OS2 block


git-svn-id: svn://10.0.0.236/trunk@104786 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:17:56 +00:00
waterson%netscape.com
cf8fdc8b0a Bug 103372. Add EXPORT_LIBRARY and MODULE_NAME decls. r=cls, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104785 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:02:30 +00:00
naving%netscape.com
2d0b47e9a0 99168 r=bienvenu sr=mscott. fix imapUrl leaks on reading imap messages and possibly on other operations
git-svn-id: svn://10.0.0.236/trunk@104783 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 02:43:17 +00:00
bienvenu%netscape.com
cc1ca118da more work on closing db's when changing folders, 95865 rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104782 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 02:06:15 +00:00
bienvenu%netscape.com
3d52bb98a3 part of fix for 95685 reduce bloat by closing db if a folder is unselected, r=naving (who did part of this patch), sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104781 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 01:05:58 +00:00
cls%seawood.org
52b9f60b72 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .


git-svn-id: svn://10.0.0.236/trunk@104780 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 23:08:41 +00:00
seawood%netscape.com
258876efd3 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .


git-svn-id: svn://10.0.0.236/trunk@104777 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 23:08:14 +00:00
bbaetz%cs.mcgill.ca
8aec115e62 Bustage fix. Remove trailing whitespace.
git-svn-id: svn://10.0.0.236/trunk@104776 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 20:49:24 +00:00
mkaply%us.ibm.com
35554e1cde OS/2 bustage - we DO need rdf in REQUIRES
git-svn-id: svn://10.0.0.236/trunk@104775 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 19:45:42 +00:00
nboyd%atg.com
581316da9c Fix for problem:
There is a bug in JavaScriptException which prevents it from being used with
out a Rhino Context.  When the getMessage() method is invoked on it, the
exception goes to the ScriptRuntime to toString the value.  If you have
already exited your context, the runtime will throw an error.  The solution
is to simply remove the overridden getMessage method from
JavaScriptException.  JavaScriptException's constructor calls the Exception
constructor with the toString'ed value.  The default implementation of
getMessage will return the exception message.

Jeff


git-svn-id: svn://10.0.0.236/trunk@104772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:44:39 +00:00
nboyd%atg.com
64e89c6e99 Fix for the following problem:
I'm having problems getting inner class objects with Rhino.

I create a Hashmap, which is an implementation of Map. Map.Entry is an
inner interface of Map with key-value pairs. If I have a Map object,
"property", I should be able to get the key element with the expression
"property.key".

When I look at the "property" class name that Rhino returns I get:
"java.util.HashMap$Entry". I don't believe Rhino has a notion of the
inner Map.Entry object. The expression "property" succeeds. The
expression "property.key", which should retrieve the Map.Entry
keyValue(), fails with a "unexpected IllegalAccessException accessing
Java field".

I'm including a simple example that illustrates the problem. I hope you
can shed some light on this. Thanks!

Justyna
< Justyna.Horwat@Sun.com >

----
import java.io.*;
import java.util.*;
import org.mozilla.javascript.*;


public class MapTest {

    public static void main(String argv[]) {
        Test test = new Test();
        test.testMap();
    }
}

class Test {
    Map map;
    Set set;
    Iterator it;
    Map.Entry entry;

    public void testMap() {
System.out.println("testMap");
        map = new HashMap();

        populate();

        set = map.entrySet();
        it = set.iterator();

        // let's see if Map is populated correctly
        while (it.hasNext()) {
            entry = (Map.Entry) it.next();
            System.out.println("entry: " + entry.getClass().getName());
            System.out.println("key: " + entry.getKey());
            System.out.println("value: " + entry.getValue());
        }

        evaluate();
    }

    void populate() {
        map.put("firstKey", "firstValue");
        map.put("secondKey", "secondValue");
        map.put("thirdKey", "thirdValue");
        map.put("fourthKey", "fourthValue");
    }

    public void evaluate() {

        Context cx = Context.enter();
        Scriptable scope = cx.initStandardObjects(null);

        set = map.entrySet();
        it = set.iterator();

        while (it.hasNext()) {
            entry = (Map.Entry) it.next();
            scope.put("property", scope, cx.toObject(entry,scope));
        }

        Object eval = null;

        try {
            // attempt to get Map.Entry key value using Rhino
            eval = cx.evaluateString(scope, "property.key", "", 0,
null);
            // Unwrap scoped object
            if (eval instanceof Wrapper)
                eval = ((Wrapper) eval).unwrap();

        } catch (JavaScriptException jse) {
            System.out.println("EXCEPTION: " + jse.getMessage());
        }

        // DELETE
        System.out.println("RHINO result: " + eval + ":");
        System.out.println("RHINO class: " + eval.getClass().getName());
    }
}


git-svn-id: svn://10.0.0.236/trunk@104769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:42:09 +00:00
pavlov%netscape.com
6befe588de fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
git-svn-id: svn://10.0.0.236/trunk@104768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:02:13 +00:00
zach%zachlipton.com
37b58034bd Fix for bug 98074: Attachment manager doesn't html_escape bug titles.
r1=caillon <mailto:caillon@returnzero.com>, r2=Jake
<mailto:jake@acutex.net>


git-svn-id: svn://10.0.0.236/trunk@104767 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:50:22 +00:00
pavlov%netscape.com
05d3a42d24 fixing bug 103536. r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104766 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:45:00 +00:00
jband%netscape.com
4663f4729a use nsresult type rather than PRInt32, change param name, add some whitespace. Not part of build
git-svn-id: svn://10.0.0.236/trunk@104765 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:24:20 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com
2f43fa3e5a Bug 97067: focus changes windows when background window finally loads. patch by saari, slightly modified by me, r=jag,ben, sr/rs=hyatt (sr on the original patch)
git-svn-id: svn://10.0.0.236/trunk@104762 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:23:32 +00:00
jaggernaut%netscape.com
ab7b513654 Replace "Error creating browser instance" with more helpful debug messages.
git-svn-id: svn://10.0.0.236/trunk@104761 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:05:33 +00:00
hyatt%netscape.com
78e615c6f7 Fix for 78344. r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@104760 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 06:32:36 +00:00
bzbarsky%mit.edu
3f05566481 Make tabs crop title on "end", not in center. Bug 103450, patch from
Andrew <simm0@ii.net>, r=me, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@104759 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 04:26:08 +00:00
seawood%netscape.com
4df25fbe3a Update standalone xpcom build list
git-svn-id: svn://10.0.0.236/trunk@104758 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 04:03:57 +00:00
mkaply%us.ibm.com
a0d39df587 #84548
r=law, sr=blake
Look for 4294967295 as well as -1 with DDE-WWW_Activate to maintain compatibility with 4.x


git-svn-id: svn://10.0.0.236/trunk@104757 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 03:52:40 +00:00
mkaply%us.ibm.com
813f42c962 No bug
r=pedemont, sr=blizzard
OS/2 only - bitmap fonts don't display at all if DPI is neither 96 nor 120


git-svn-id: svn://10.0.0.236/trunk@104756 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 03:48:05 +00:00
bzbarsky%mit.edu
03eeb2e9f4 Fix JS error opening view source. Checking in for timeless
<timeless@mac.com>, r=me, sr=darin


git-svn-id: svn://10.0.0.236/trunk@104753 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:51:36 +00:00
hyatt%netscape.com
876bd88124 fix for 101746. r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:19:01 +00:00
jake%acutex.net
351aff7b88 Allow compile tests for files that run in taint mode
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104751 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:22:48 +00:00
stephend%netscape.com
071d73a9e2 Bug 46812. File > Save As... should have A as accesskey, not S. Patch by James Green <jg@cyberstorm.demon.co.uk> r=bzbarsky, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104750 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:11:35 +00:00