Commit Graph

89760 Commits

Author SHA1 Message Date
sdagley%netscape.com
d3f5cce299 Updating fix for #103612 from v1.14 after comments from pinkerton & sfraser. r=pinkerton,sr=sfraser 2001-10-08 20:20:57 +00:00
ian.mcgreer%sun.com
ff98847829 make this module buildable using NSS 3.x headers; some cleanup 2001-10-08 20:19:30 +00:00
kmcclusk%netscape.com
fb44a17136 Pass back an error when allocating offscreen fails on GTK. bug=70424 r=pavlov@netscape.com, sr=attinasi@netscape.com 2001-10-08 20:17:26 +00:00
sspitzer%netscape.com
25161eec21 fix string usage in mailnews. #103412. rs=bienvenu 2001-10-08 20:10:18 +00:00
locka%iol.ie
fdfe0b65f7 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 r=jaggernaut@netscape.com sr=rpotts@netscape.com 2001-10-08 20:08:30 +00:00
rjesup%wgate.com
c29d058fec Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf 2001-10-08 20:07:04 +00:00
sspitzer%netscape.com
72a150cb60 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
2001-10-08 20:05:00 +00:00
jband%netscape.com
5992cc2572 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. 2001-10-08 19:56:25 +00:00
bryner%netscape.com
281ca9b8c3 Getting rid of a usage of xp_file.h (bug 38061). r=jkeiser, not part of the build. 2001-10-08 19:55:59 +00:00
bnesse%netscape.com
afaf69b7a2 Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf. 2001-10-08 19:52:17 +00:00
timeless%mac.com
c47a1caadc Bugzilla Bug 103343 Check for IsEmpty before more expensive value check
patch by me and bz, r=morse, sr=alecf
2001-10-08 19:48:29 +00:00
rginda%netscape.com
4d363f3ca0 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.
2001-10-08 19:44:35 +00:00
ian.mcgreer%sun.com
1bfaccd4de implement hash keyed by NSSItem; change list method names to be like hash method names; fix 99214, arena mark lists broken 2001-10-08 19:26:02 +00:00
kestes%walrus.com
04df5f8d34 better usage discription. Index.html does not list itsself and now
displays sizes.
2001-10-08 19:25:33 +00:00
ian.mcgreer%sun.com
5c602aa7e2 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) 2001-10-08 19:06:31 +00:00
jpierre%netscape.com
673f014f10 Fix Linux build 2001-10-08 18:49:17 +00:00
jpierre%netscape.com
9ab9244b7a 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 2001-10-08 18:33:04 +00:00
jpierre%netscape.com
55c3df5fdb 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 2001-10-08 18:32:00 +00:00
ian.mcgreer%sun.com
0b6ef0d9da self-testing for AES 2001-10-08 16:14:04 +00:00
ian.mcgreer%sun.com
1c483cab92 allow various ways of building AES 2001-10-08 16:11:52 +00:00
kin%netscape.com
8b7fd98bbe 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
2001-10-08 14:07:57 +00:00
ben%netscape.com
140aa22304 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
2001-10-08 12:32:14 +00:00
loadrunner%betak.net
b8094aa4c3 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 2001-10-08 09:02:57 +00:00
hyatt%netscape.com
d1a7f68f70 Fix for 102598, CTRL+T tabs should focus URL bar after opening. r=kerz, sr=hyatt, patch externally contributed. 2001-10-08 07:39:32 +00:00
bryner%netscape.com
2b0eb53ec4 Removing references to xp_file.h, for bug 38061. Patch from cls, r=bryner, sr=alecf. 2001-10-08 07:22:27 +00:00
hyatt%netscape.com
bf36059c72 Fix for 96375, make XBL extends support relative URLs. r=jag, sr=ben 2001-10-08 06:29:30 +00:00
sdagley%netscape.com
502f98a507 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. 2001-10-08 04:59:59 +00:00
mkaply%us.ibm.com
2e57e9f4a5 No bug
r=cls
Since only OS/2 needs rdf in REQUIRES, put it in the OS2 block
2001-10-08 04:17:56 +00:00
waterson%netscape.com
6d8f2a9d24 Bug 103372. Add EXPORT_LIBRARY and MODULE_NAME decls. r=cls, sr=shaver 2001-10-08 04:02:30 +00:00
naving%netscape.com
6672801cea 99168 r=bienvenu sr=mscott. fix imapUrl leaks on reading imap messages and possibly on other operations 2001-10-08 02:43:17 +00:00
bienvenu%netscape.com
c710b69ec3 more work on closing db's when changing folders, 95865 rs=sspitzer 2001-10-08 02:06:15 +00:00
bienvenu%netscape.com
11f4e3e94c 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 2001-10-08 01:05:58 +00:00
cls%seawood.org
e81378a6b3 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .
2001-10-07 23:08:41 +00:00
seawood%netscape.com
9812fbb51b Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .
2001-10-07 23:08:11 +00:00
bbaetz%cs.mcgill.ca
f192205f5a Bustage fix. Remove trailing whitespace. 2001-10-07 20:49:24 +00:00
mkaply%us.ibm.com
1001e86545 OS/2 bustage - we DO need rdf in REQUIRES 2001-10-07 19:45:42 +00:00
nboyd%atg.com
f70b7e4c78 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
2001-10-07 18:44:39 +00:00
nboyd%atg.com
6642d0e4f2 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());
    }
}
2001-10-07 18:42:09 +00:00
pavlov%netscape.com
7d17e005e1 fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated) 2001-10-07 18:02:13 +00:00
zach%zachlipton.com
2edfc29dd8 Fix for bug 98074: Attachment manager doesn't html_escape bug titles.
r1=caillon <mailto:caillon@returnzero.com>, r2=Jake
<mailto:jake@acutex.net>
2001-10-07 17:50:22 +00:00
pavlov%netscape.com
d732ddf697 fixing bug 103536. r=jag sr=hyatt 2001-10-07 17:45:00 +00:00
jband%netscape.com
71ff67ec88 use nsresult type rather than PRInt32, change param name, add some whitespace. Not part of build 2001-10-07 17:24:20 +00:00
jaggernaut%netscape.com
0c2b3bc449 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com
aa3ec222c2 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) 2001-10-07 10:23:32 +00:00
jaggernaut%netscape.com
86c2bc826c Replace "Error creating browser instance" with more helpful debug messages. 2001-10-07 10:05:33 +00:00
hyatt%netscape.com
80ff494561 Fix for 78344. r=blake, sr=ben 2001-10-07 06:32:36 +00:00
bzbarsky%mit.edu
71405e70d7 Make tabs crop title on "end", not in center. Bug 103450, patch from
Andrew <simm0@ii.net>, r=me, sr=hyatt
2001-10-07 04:26:08 +00:00
seawood%netscape.com
ccf594f1ae Update standalone xpcom build list 2001-10-07 04:03:57 +00:00
mkaply%us.ibm.com
7d54afcb24 #84548
r=law, sr=blake
Look for 4294967295 as well as -1 with DDE-WWW_Activate to maintain compatibility with 4.x
2001-10-07 03:52:40 +00:00