Commit Graph

171455 Commits

Author SHA1 Message Date
mattwillis%gmail.com
1a12ffa5f4 bug 356722 - Fix lightning by using same jar layout as sunbird. r=ssitter 2006-10-16 13:02:38 +00:00
timeless%mozdev.org
ec43dba5a2 Bug 356182 Crash when resizing transparent window using xul:resizer [@ nsWindow::ResizeTransparencyBitmap]
patch by skrulx@gmail.com r=roc sr=roc
2006-10-16 12:13:54 +00:00
neil%parkwaycc.co.uk
57e9dc14cd Update openHelp calls to explicitly specify our help b=346605 r=IanN,db48x,KaiRo 2006-10-16 09:32:07 +00:00
mhammond%skippinet.com.au
c3de7cc900 * Allow arrays in Variants to hold elements of any type, by using
nsIVariant for each element.
* Return empty arrays as an empty list instead of None.
Not part of the default build.
2006-10-16 09:30:04 +00:00
mhammond%skippinet.com.au
2f555d2f39 When running Py2.4, take advantage of new logging module feature that
gives less ugly/misleading exceptions in some cases.
Not part of the default build.
2006-10-16 09:19:39 +00:00
timeless%mozdev.org
a8b8af80f9 Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
timeless%mozdev.org
caf7787fb9 Bug 331996 nsIBinaryInputStream.readString/nsIBinaryInputStream.readCString and nsBinaryInputStream.readString/nsBinaryInputStream.readCString don't agree
r=darin
2006-10-16 08:01:00 +00:00
timeless%mozdev.org
716c565b11 Bug 352219 potential crash [@ nsDocument::AdoptNode] dereferencing oldDocument
r=peterv sr=peterv
2006-10-16 07:56:32 +00:00
mike.morgan%oregonstate.edu
dfa0e75dfb Boundary check for submitted ratings. See bug 356781, attachment 242375. 2006-10-16 04:05:45 +00:00
alfred.peng%sun.com
1fa7b35889 Bug 356414. Firefox window/dialog accessible is still app root child after closed.
Patch by Evan.Yan@Sun.COM. r=aaronleventhal.
2006-10-16 03:06:10 +00:00
neil%parkwaycc.co.uk
f1496bd5d4 Remove obsolete image permission code from cookie manager b=356567 r=IanN sr=jag 2006-10-15 23:05:51 +00:00
bugzilla%arlen.demon.co.uk
dc027cd3ae Bug 352993 Section about preparing good password in SeaMonkey help
p=giacomo.magnini r=me
2006-10-15 22:15:46 +00:00
bugzilla%arlen.demon.co.uk
4c761b27b8 Bug 347993 Get rid of unused entities in pageInfo.dtd (SM and FF)
p=giacomo.magnini@portalis.it r=db48x sr=neil
2006-10-15 22:11:28 +00:00
bugzilla%arlen.demon.co.uk
f024742262 Bug 273619 Inconsistency Between Contents Headings and Text Headings
p=giacomo.magnini r=me
2006-10-15 21:55:28 +00:00
bugzilla%arlen.demon.co.uk
b095f21463 Bug 230314 Help text for Page Info - Privacy tab
p=giacomo.magnini r=me
2006-10-15 21:35:33 +00:00
ajschult%verizon.net
8bcfa256b8 Bug 304680: Fix shutdown crash by giving nsDownload an owning ref to nsDownloadManager. r=biesi 2006-10-15 17:16:33 +00:00
cst%yecc.com
c9bfe133ab Bug 356675 Composer is not properly detecting tab changes (temporary fix)
r+sr=neil
2006-10-15 17:13:40 +00:00
bzbarsky%mit.edu
7e3f2494c8 Fix cross-origin access to the window.window getter. Bug 356474, r+sr=jst 2006-10-15 15:42:29 +00:00
bzbarsky%mit.edu
618c586548 When setting the textfield value via the filepicker, tell it that it's not
focused so that onchange will fire as it should.  Bug 355362, r+sr=jst
2006-10-15 15:39:35 +00:00
olav%bkor.dhs.org
c9c3c05646 Bug 356206: Allow "do $file" to be used within localconfig
Patch By Olav Vitters <olav@bkor.dhs.org> r=mkanat a=justdave
2006-10-15 12:03:13 +00:00
mhammond%skippinet.com.au
8ad6cb658c Whitespace normalization - not part of the default build. 2006-10-15 10:56:05 +00:00
mhammond%skippinet.com.au
199682a085 Fix Python's handling of nsACString's with embedded null bytes.
Not part of the default build.
2006-10-15 10:53:15 +00:00
mkanat%bugzilla.org
99e9038090 Bump the version number post-release. 2006-10-15 10:11:42 +00:00
bclary%bclary.com
6508e2b128 JavaScript Test - regression test for bug 356085, by Jesse Ruderman 2006-10-15 09:57:44 +00:00
mkanat%bugzilla.org
1f1c16ac7b Bump version number pre-release for 2.23.3. 2006-10-15 08:34:16 +00:00
martijn.martijn%gmail.com
47ae4bc241 Backing out patch for bug 248612, since it may have caused 10% argo Ts regression 2006-10-14 22:26:57 +00:00
lpsolit%gmail.com
f417e3b2fe Bug 281181: [SECURITY] It's way too easy to delete versions/components/milestones etc... - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=mkanat a=myk 2006-10-14 22:02:13 +00:00
lpsolit%gmail.com
ec1f3c9922 Bug 346564: [SECURITY] timetracking deadline leaks in XML - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave 2006-10-14 21:44:05 +00:00
lpsolit%gmail.com
338a3333bb Bug 355728: [SECURITY] XSS in the "id" parameter of showdependencygraph.cgi when "doall" is set - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave 2006-10-14 21:25:33 +00:00
lpsolit%gmail.com
393bf3ee4f Bug 346086: [SECURITY] attachment.cgi lets you view descriptions of private attachments even when you are not in the insidergroup - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=myk a=justdave 2006-10-14 21:04:56 +00:00
lpsolit%gmail.com
28c4f4c0da Bug 330555: [SECURITY] H1, H2 and H3 are not filtered in global/header.html.tmpl - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=justdave a=justdave 2006-10-14 20:48:48 +00:00
lpsolit%gmail.com
f0d32bc228 Bug 206037: [SECURITY] Fix escaping/quoting in edit*.cgi scripts - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=justdave a=justdave 2006-10-14 20:26:54 +00:00
ted.mielczarek%gmail.com
6cbab69a1c bug 329593, canvas returned .fillStyle string doesn't follow the spec when it's in rgba notation. Patch by asqueella@gmail.com, r+sr=vlad 2006-10-14 19:37:59 +00:00
cst%yecc.com
8d5f2473d9 Bug 356675 Mousewheel scroll on tab bar should change tab
r+sr=neil
2006-10-14 19:35:58 +00:00
ted.mielczarek%gmail.com
d7ff061324 bug 308928, Invalid input for the canvas fillStyle/strokeStyle throws an exception but should be ignored. Patch by asqueella@gmail.com, r+sr=vlad 2006-10-14 19:28:20 +00:00
masayuki%d-toybox.com
2fbf16b2de Bug 353185 The line-height of the location bar is wrong with Japanese font r=vlad 2006-10-14 19:14:50 +00:00
ted.mielczarek%gmail.com
4d389ef1ef bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst 2006-10-14 19:14:24 +00:00
ted.mielczarek%gmail.com
394987a1f6 bug 356462, fix seamonkey win32 installer VC8 issues, patch by bugzilla@mcsmurf.de r=bsmedberg, sr=dveditz 2006-10-14 19:03:46 +00:00
masayuki%d-toybox.com
70fc53683a Bug 356670 The ASCII text rendering is broken on Linux (regression of bug 356235) r=vlad (the review is in bug 356235) 2006-10-14 19:03:01 +00:00
tor%cs.brown.edu
e0b8d42583 Fix non cairo gfx svg build bustage. 2006-10-14 13:49:27 +00:00
edburns%acm.org
118875675b M mozilla/Makefile.in
- add nspr to libs

M mozilla/nppluglet.cpp

- make sure to store instance pointer for return to browser, this enables
  shutdown to work properly

- When HasPlugletForMimeType is called multiple times, actually check
  the mime type.

M mozilla/nsISimplePlugin.idl

- Fix this so it's callable from JavaScript

M src/PlugletsDir.cpp

- Fix bug for multiple plugin instances

Index: mozilla/Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/java/plugins/mozilla/Makefile.in,v
retrieving revision 1.1
diff -u -r1.1 Makefile.in
--- mozilla/Makefile.in	7 Oct 2006 23:31:52 -0000	1.1
+++ mozilla/Makefile.in	14 Oct 2006 12:26:06 -0000
@@ -59,7 +59,7 @@

 XPIDLSRCS = nsISimplePlugin.idl

-SHARED_LIBRARY_LIBS = $(PLUGIN_SDK)/samples/common/$(LIB_PREFIX)plugingate_s.$(LIB_SUFFIX) ../src/$(LIB_PREFIX)pluglet_s.$(LIB_SUFFIX)
+SHARED_LIBRARY_LIBS = $(PLUGIN_SDK)/samples/common/$(LIB_PREFIX)plugingate_s.$(LIB_SUFFIX) ../src/$(LIB_PREFIX)pluglet.$(LIB_SUFFIX) $(XPCOM_LIBS) $(NSPR_LIBS)

 ifeq ($(OS_ARCH),WINNT)
 DEFFILE = $(win_srcdir)/nppluglet.def
Index: mozilla/nppluglet.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/plugins/mozilla/nppluglet.cpp,v
retrieving revision 1.3
diff -u -r1.3 nppluglet.cpp
--- mozilla/nppluglet.cpp	13 Oct 2006 14:45:14 -0000	1.3
+++ mozilla/nppluglet.cpp	14 Oct 2006 12:26:07 -0000
@@ -47,6 +47,8 @@

 #include "nsServiceManagerUtils.h"

+#include "plstr.h"
+
 // service manager which will give the access to all public browser services
 // we will use memory service as an illustration
 nsIServiceManager * gServiceManager = NULL;
@@ -153,17 +155,21 @@
 // nsPluginInstance class implementation
 //
 nsPluginInstance::nsPluginInstance(nsPluginCreateData * aCreateDataStruct) : nsPluginInstanceBase(),
-  mInstance(aCreateDataStruct->instance),
   mInitialized(PR_FALSE),
   mScriptablePeer(nsnull),
   mPluglet(nsnull)
 {
+  mInstance = aCreateDataStruct->instance;
+
   mCreateDataStruct.instance = aCreateDataStruct->instance;
   mCreateDataStruct.type = aCreateDataStruct->type;
   mCreateDataStruct.mode = aCreateDataStruct->mode;
   mCreateDataStruct.argc = aCreateDataStruct->argc;
   mCreateDataStruct.argn = aCreateDataStruct->argn;
   mCreateDataStruct.saved = aCreateDataStruct->saved;
+
+  mCreateDataStruct.instance->pdata = this;
+  mInstance->pdata = this;
   mString[0] = '\0';
 }

@@ -256,19 +262,27 @@
                                                       PRBool *outResult)
 {
     nsresult rv = NS_ERROR_FAILURE;
-
-    nsCOMPtr<nsIPlugin> plugletEngine =
-	do_GetService(PLUGLETENGINE_ContractID, &rv);
     *outResult = PR_FALSE;
+    nsCOMPtr<nsIPlugin> plugletEngine = nsnull;
     nsIID scriptableIID = NS_ISIMPLEPLUGIN_IID;
+
+    if (!mPluglet) {
+        plugletEngine = do_GetService(PLUGLETENGINE_ContractID, &rv);

-    if (NS_SUCCEEDED(rv)) {
-        rv = plugletEngine->CreatePluginInstance(nsnull, scriptableIID,
-                                                 aMimeType,
-                                                 getter_AddRefs(mPluglet));
-        if (NS_SUCCEEDED(rv) && mPluglet) {
+        if (NS_SUCCEEDED(rv)) {
+            rv = plugletEngine->CreatePluginInstance(nsnull, scriptableIID,
+                                                     aMimeType,
+                                                     getter_AddRefs(mPluglet));
+            if (NS_SUCCEEDED(rv) && mPluglet) {
+                *outResult = PR_TRUE;
+            }
+        }
+    }
+    else {
+        if (0 == PL_strcmp(aMimeType, mCreateDataStruct.type)) {
             *outResult = PR_TRUE;
         }
+		rv = NS_OK;
     }

     return rv;
Index: mozilla/nsISimplePlugin.idl
===================================================================
RCS file: /cvsroot/mozilla/java/plugins/mozilla/nsISimplePlugin.idl,v
retrieving revision 1.2
diff -u -r1.2 nsISimplePlugin.idl
--- mozilla/nsISimplePlugin.idl	12 Oct 2006 21:22:47 -0000	1.2
+++ mozilla/nsISimplePlugin.idl	14 Oct 2006 12:26:07 -0000
@@ -40,5 +40,5 @@

 [scriptable, uuid(482e1890-1fe5-11d5-9cf8-0060b0fbd8ac)]
 interface nsISimplePlugin : nsISupports {
-  void hasPlugletForMimeType(in string aMimeType, out boolean isSupported);
+  boolean hasPlugletForMimeType(in string aMimeType);
 };
Index: src/PlugletsDir.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/plugins/src/PlugletsDir.cpp,v
retrieving revision 1.10
diff -u -r1.10 PlugletsDir.cpp
--- src/PlugletsDir.cpp	12 Oct 2006 21:22:47 -0000	1.10
+++ src/PlugletsDir.cpp	14 Oct 2006 12:26:07 -0000
@@ -124,6 +124,9 @@
     if(!mMimeTypeToPlugletFacoryHash) {
 	res = LoadPluglets();
     }
+    else {
+	res = NS_OK;
+    }
     if (NS_SUCCEEDED(res) && mMimeTypeToPlugletFacoryHash) {
 	*plugletFactory = (PlugletFactory *)
 	    PL_HashTableLookup(mMimeTypeToPlugletFacoryHash,
2006-10-14 12:28:15 +00:00
bclary%bclary.com
b1537a43d4 JavaScript Test - regression test for bug 356250, by Jesse Ruderman 2006-10-14 10:12:09 +00:00
vladimir%pobox.com
bd92787b5a b=356235, implement textrun cache (landing #2) (for real this time), r+sr=roc,sr=stuart 2006-10-14 07:26:36 +00:00
vladimir%pobox.com
1a223fbafb b=356235, implement textrun cache (landing #2), r+sr=roc,sr=stuart 2006-10-14 05:37:40 +00:00
vladimir%pobox.com
c13ee71991 b=351561, fix thebes/cairo linking issues 2006-10-14 04:46:04 +00:00
brendan%mozilla.org
fb2f436548 Fix 356250, r=mrbkap. 2006-10-14 04:39:26 +00:00
mattwillis%gmail.com
4f974399c6 bug 353437 - Localize file filter label for Alarm dialog. r=ctalbert/dmose 2006-10-14 00:11:07 +00:00
mattwillis%gmail.com
972cbbeca2 bug 350406 - Moves items common to Sb and Ln to a common jar.mn. r=ctalbert/dmose 2006-10-13 23:35:42 +00:00
ghendricks%novell.com
065ff6bdd6 Added ability to delete cases, runs and plans. 2006-10-13 23:10:03 +00:00
cvshook%sicking.cc
f7d4a5a20e Bug 355451: Be more efficient when creating HTML elements. r/sr=jst 2006-10-13 22:54:12 +00:00