Commit Graph

8301 Commits

Author SHA1 Message Date
Chris Jones
42f9cd63c6 Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Ben Turner
e42a7a7726 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-16 12:47:08 -08:00
Bobby Holley
51a56c1f94 Bug 593426 - Increase image discard timer to two minutes. r,a2.0=joe
--HG--
extra : rebase_source : 1a05247ee48762636719c76ad91017da3ede5612
2011-02-15 13:18:21 -08:00
Josh Aas
76662e948c Bug 610526: Fix bug that caused Flash to not load on machines with GMA9xx GPUs. r=bsmedberg a=blocking2.0final+ 2011-02-15 15:15:08 -05:00
Chris Leary
a108919668 Merge tracemonkey to mozilla-central. (a=blockers) 2011-02-15 12:05:57 -08:00
Jacek Caban
e1f843a9e4 Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin 2011-02-15 12:30:58 +00:00
Josh Aas
80a997d5d8 Bug 633667: Per the spec, return NPRES_USER_BREAK when a plugin rejects an HTTP redirect, not NPRES_NETWORK_ERR. r=bsmedberg a=blocking2.0final+ 2011-02-14 11:50:27 -05:00
Bill McCloskey
7c5d404068 Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander) 2011-02-11 16:31:32 -08:00
Chris Leary
e72266dafd Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
Olli Pettay
11ba778204 Backout Bug 630932, a=backout, we need Bug 614347 2011-02-11 18:33:50 +02:00
Serge Gautherie
239dbe15a5 Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Bv1) s/ok(true/todo(false/ when test plugin is not OOP.
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01:00
Serge Gautherie
5dee74ac23 Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Av1a) Skip this test on Seamonkey ftb.
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01:00
gal@uci.edu
ddbfec9fde Bug 630932, change CC/GC scheduling, r=smaug, a=blocker 2011-02-11 17:12:47 +02:00
Ben Turner
5c5c52142e Backout 10ebc5ea11ac due to test failures. 2011-02-09 15:29:31 -08:00
Ben Turner
b5732806d2 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-09 12:51:16 -08:00
Jim Blandy
8ec41b7213 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
0c32b890b9 Backout bug 614347 due to test failures 2011-02-08 22:15:48 -08:00
Ben Turner
633b25f14a Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-08 18:54:14 -08:00
Dave Townsend
e3811db574 Followup to Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins. r=joshmoz, a=approval2.0 DONTBUILD 2011-02-05 21:27:31 -08:00
Phil Ringnalda
a4df5eb448 Bug 629430 - annotate border-padding-1 through -3 as random on Win7, since they have been since the January driver update, a=rhymes-with-orange 2011-02-05 15:42:35 -08:00
Phil Ringnalda
5068dbf54a Bug 631832 - mark windowless-clipping-1.html as random on Win7, since the January driver update made it so, a=slow-moving-bustage
--HG--
extra : rebase_source : 0ba6333ffa715bfcfb939f7fec3720f50edf07c8
2011-02-05 13:06:01 -08:00
Phil Ringnalda
ff38d87498 Bug 520436 - re-enable reftest that was temporarily commented out in 2009, a=ha
--HG--
extra : rebase_source : f951283378d0bab180c7cea472dc8fc4f780c87a
2011-02-05 13:05:57 -08:00
Cameron McCormack ext:(%2C%20Ehsan%20Akhgari%20%3Cehsan%40mozilla.com%3E)
95055b7bc0 Bug 593372 - Part 1: Add a hack for the Elantech touchpad so that three-finger swipe left/right performs a browser back/forward action instead of page up/down r=jmathies a=blocking-betaN 2011-01-25 10:38:41 +13:00
Ehsan Akhgari
d63e354136 Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN 2011-02-11 20:56:11 -05:00
Matt Woodrow
b50efb2dc1 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
52fa449634 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Josh Aas
ffdd139351 Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
Josh Aas
0edfba4c0a Bug 638145: Remove NPAPI plugin SDK. Replaced by npapi-sdk project on Google Code. r=bsmedberg 2011-03-23 11:44:46 -07:00
Jonathan Kew
448ebf5098 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Daniel Holbert
6b8a2d8914 Bug 614649, patch 0: In SVG-as-an-image internals, rename "mNeedsPreserveAspectRatioFlush" & friends to "mImageNeedsTransformInvalidation". r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Marco Bonardo
562557746d Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Makoto Kato
111d919f30 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Jim Mathies
29d98a0a33 merge. a=backout 2011-02-08 23:06:32 -06:00
Jim Mathies
53100f71b6 Backing out Elantech patches (bug 593372) because they broke scroll wheel functionality. a=backout 2011-02-08 23:05:43 -06:00
Chris Jones
c28917f90b Some tests for bug 626602. a=b 2011-02-08 18:44:14 -06:00
Chris Jones
bf20c14526 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-08 18:44:14 -06:00
Chris Jones
c593a45834 Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00
Cameron McCormack
409758fb86 Bug 593372 - Part 1: Add a hack for the Elantech touchpad so that three-finger swipe left/right performs a browser back/forward action instead of page up/down (v2.2) r=jmathies a=blocking-final 2011-01-25 10:38:41 +13:00
Karl Tomlinson
12712eb01f b=631978 check old icon names first for bidi icons r=roc a=blocking-betaN+ 2011-02-08 17:31:00 -05:00
Karl Tomlinson
94645befe5 b=621962 modifiy comment to address review on patch in 57536671a363; a=comment only change which blocks a hardblocker! 2011-02-08 17:30:42 -05:00
Dan Witte
21c43728f6 Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner 2011-02-08 14:16:07 -08:00
Ms2ger
319c09fc86 Bug 620357 - Fix unused variable warning in nsZipReaderCache::GetInnerZip; r=taras a=mossop
--HG--
extra : rebase_source : 2135f43636d066c09e2f67ac3009b45be5cfbcf2
2011-02-08 14:16:37 -05:00
Michael Wu
edd5c4f079 Bug 595522 - Enumerate all prefs in defaults/pref, r=bsmedberg a=blocking2.0 2011-02-08 10:54:52 -08:00
Mitchell Field
959b2c2a90 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Mitchell Field
6faf9acaef Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
1941025642 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
646d79f2db Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
timeless@mozdev.org
b775fcf91f Bug 577915 mark DEBUG only variables as ifdef DEBUG in libjar; r=dveditz a=jst 2010-07-11 15:49:52 +03:00
Ehsan Akhgari
2312c4c0f3 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
timeless@mozdev.org
4d36834811 Bug 577915 mark DEBUG only variables as ifdef DEBUG in libjar; r=dveditz a=jst
--HG--
extra : rebase_source : feb129da3b95e7f89487058b050088a74f7ee21b
2010-07-11 15:49:52 +03:00
Ehsan Akhgari
59d2ed8a5a Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB 2011-02-04 12:00:21 -05:00
Benjamin Smedberg
54b2d38ca8 Bug 631002 - Crashes in our RPC code because something is crashing (not sure what yet) and the primitive __try/__catch crash catching in the plugin host screws up the IPC invariants. Disable the __try/__catch blocks because we shouldn't need them any longer and they are covering up core problems. r=josh a=myself 2011-02-04 10:23:55 -05:00
Josh Aas
e752e3c404 Bug 626608: Make sure plugin is in a state to receive callbacks before calling NPP_UrlRedirectNotify. r=bsmedberg a=blocking2.0final+ 2011-02-03 16:45:33 -08:00
timeless@mozdev.org
b1997e15be Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins r=josh a=jst 2010-07-11 15:50:47 +03:00
Benjamin Smedberg
d1ed025b50 Bug 616400 - When a plugin returns a failure code from NPP_New, but creates JS objects in the process, anyone trying to script those objects after NPP_New fails will crash (Silverlight crash @NPObjWrapper_NewResolve). Call nsJSNPRuntime::OnPluginDestroy on a failed-init case just as we do in a normal cleanup case. r=josh a=blocker 2011-02-03 16:10:45 -05:00
Chris Jones
97685d6934 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Josh Aas
5c32597cfd Bug 629401: Carbon plugins that cannot load in X64 Mac should send an event or notifyObservers of failure. r=BenWa, a=blocks-betaN 2011-02-03 09:31:01 -08:00
Karl Tomlinson
b5811c8cb3 b=621962 convert -ltr/-rtl moz-icon stock names to gtk stock ids r=roc a=blocking-final+ 2011-02-03 12:24:33 -05:00
Karl Tomlinson
3d5cf4d376 b=621962 no longer add stock id to icon name mappings for icons found by name r=roc 2011-02-03 12:22:52 -05:00
Karl Tomlinson
b7493f1398 b=621962 rearrange nsIconChannel::Init to make what is happening clearer r=roc 2011-02-03 12:22:33 -05:00
Karl Tomlinson
de66d50ee4 b=621962 don't realize unnecessary windows for stock image widget r=roc 2011-02-03 12:22:09 -05:00
Karl Tomlinson
22515d0030 b=621962 remove support for compilation with GTK+ < 2.4.0 r=roc 2011-02-03 12:20:44 -05:00
Daniel Holbert
4f964b869d (no bug) Fix end-of-line whitespace in SVG-as-an-image code & tests. r+a=whitespace-only DONTBUILD 2011-02-02 22:36:09 -08:00
Glenn Randers-Pehrson
95c05a5e7e Bug 623796 - nsPNGDecoder.cpp:642:44: warning: passing NULL to non-pointer argument 2 of 'void MOZ_PNG_set_crc_action(png_struct*, int, int)'; r,a=joe
--HG--
extra : rebase_source : 747f5ffab5cb20bbd29f5382d214c30ee1ad87e5
2011-01-31 22:45:10 -05:00
Benoit Jacob
cfc2677fa9 Bug 628403 - rename webgl.prefer_gl to webgl.prefer-native-gl - r=vlad, a=joe 2011-01-28 21:12:25 -05:00
Benoit Jacob
d4ae4bbd2b Bug 628403 - introduce webgl.force-enabled and webgl.disabled prefs - r=vlad, a=joe 2011-01-28 21:12:24 -05:00
Sid Stamm
d2c0789cb6 Bug 628197. Implement do-not-track HTTP header to express user intent to halt tracking across site. r=dwitte, a=jst.
--HG--
extra : rebase_source : 29550c73f45bfefac311cdce4eef80e947869738
2011-01-05 11:53:21 -08:00
Ben Turner
99b179efe3 Bug 563891 - 'ReferenceError: java is not defined in XUL window'. r=joshmoz, a=blocking. 2011-01-27 10:32:43 -08:00
Alon Zakai
7ae69a27cf Bug 601723 - Fix gifs not animating on page reload. r=joe a=blocking-final 2011-01-26 10:52:42 -08:00
L. David Baron
dd6d9fe788 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:08 -08:00
Robert O'Callahan
8c98b24114 Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-24 17:16:39 -05:00
Daniel Holbert
bb9b6faeb6 Bug 627858: Use AutoSaveRestore objects in SVGDrawingCallback::operator(), rather than manually saving & restoring gfxContext state. r=jwatt a=roc 2011-01-24 10:32:34 -08:00
L. David Baron
db60dba864 Backout changeset 3248feddc867 (bug 608030). 2011-01-23 22:00:04 -08:00
Ehsan Akhgari
f419d00ddb Merge backout; a=bustage 2011-01-24 00:10:12 -05:00
Ehsan Akhgari
a716a1f775 Backed out changeset afe951130c65 because of test failure 2011-01-24 00:10:02 -05:00
Ehsan Akhgari
be09c45050 merge landing; a=... 2011-01-23 23:31:52 -05:00
Max Stepin
42bf7b4ba8 Bug 222176 - Animated GIF loops 1 time too many (additional patch); r,a=joe 2011-01-23 23:29:32 -05:00
Robert O'Callahan
f9da6d88bb Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-23 23:27:18 -05:00
L. David Baron
163d15ca63 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-23 20:21:40 -08:00
Jacek Caban
646a565cd8 Bug 627213 - nptest.rc doesn't compile with windres r=jfkthame a=test-only 2011-01-22 12:58:23 +00:00
Jacek Caban
af11ffdcd6 Bug 611984 - Compilation failure on mingw in modules/libjar after bug 598416 landing r=tglek a=benjamin 2011-01-22 12:56:28 +00:00
Max Stepin
decca79653 Bug 222176 - Animated GIF loops 1 time too many; r=bholly,joe a=joe 2011-01-21 15:18:01 -05:00
John Daggett
870cda46bb Bug 602792. Use GDI for font table loading to avoid excessive dwrite I/O. r=bas, a=blocker 2011-01-22 01:44:32 +09:00
Josh Aas
187207cb32 Bug 610015: Implement updated Cocoa NPAPI text input spec. Part of this patch written by Steven Michaud. r=josh r=smichaud a=blocking2.0betaN+ 2011-01-20 20:08:11 -05:00
Ryan VanderMeulen
fb3eafd6de Bug 586130 - Warning C4099 fixes (libpr0n). r=joedrew a=bsmedberg 2011-01-20 19:49:09 -08:00
Alon Zakai
1089711c03 Bug 610417 - Optimize eviction in bfcache. r=smaug a=blocking-fennec 2011-01-19 11:57:36 -08:00
Phil Ringnalda
c030791b49 Bug 620991 - disable test_visibility.html on Windows, in hopes that it will stop the apparent test_windowed_invalidate.html errors after shutdown, and stop letting a potentially unrelated leak sneak in under cover of those errors, a=test 2011-01-18 20:45:57 -08:00
Josh Aas
c1167c86ad Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh 2011-01-18 21:32:35 -05:00
Josh Aas
045d3cf141 Fix line endings in PluginPRLibrary.cpp (Windows -> UNIX), no bug. a=josh DONTBUILD 2011-01-18 15:05:30 -05:00
Chris Leary
04ffe6d2a0 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Jonathan Kew
28a899dd53 bug 607121 and bug 626180 - add sample non-Latin text to the test plugin description, to verify that we manage encodings properly. r+a=bsmedberg 2011-01-18 18:27:26 +00:00
Jonathan Kew
43ebc23403 bug 626180 - partial backout of bug 607121 (undo encoding-munging from changeset 3f8bee2e48a7) which broke non-ASCII plugin info. r+a=bsmedberg 2011-01-18 18:26:19 +00:00
Luke Wagner
8b5b614485 Bug 595278 - Make sure the context outlives the request in NPAPI _evaluate (r=jst) 2011-01-12 10:57:06 -08:00
Chris Leary
8faf09db9b Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-14 09:29:15 -08:00
Chris Leary
4b37828aec Merge mozilla-central into tracemonkey. 2011-01-14 01:45:33 -08:00
Josh Aas
2a8f6d2680 Bug 625164: Fix bug in which we send the wrong URL to OOP plugins via NPP_URLRedirectNotify. r=dwitte a=blocking2.0betaN+ 2011-01-13 17:52:15 -08:00
Ted Mielczarek
b6eeed94e0 bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05:00
Chris Leary
55bc290dc1 Merge mozilla-central into tracemonkey. 2011-01-12 00:07:40 -08:00
Andreas Gal
fb7ccc9f25 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Jeff Muizelaar
169ebd334c Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
This removes:
 layers.accelerate-all
 layers.accelerate-none

and adds:
 layers.acceleration.disabled
 layers.acceleration.force-enabled

This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Jonathan Kew
c841523bfc bug 607121 - convert plugin info strings from windows-1252 to unicode. r=jmathies a=roc 2011-01-11 11:17:01 +00:00
Jacek Caban
5eafd1843f Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin 2011-01-11 10:16:59 +00:00
timeless@mozdev.org
b3e43a0be8 Bug 620898 warning ... will be initialized after mWindowId in Image and imgRequest. r=joe a=joe 2011-01-10 21:59:58 -08:00
Daniel Holbert
9e71c36163 Bug 623945: Null-check animationController before using it, in SVGDocumentWrapper::StartAnimation/StopAnimation. r=roc a=joe 2011-01-10 21:58:00 -08:00
Ehsan Akhgari
f3b7d32153 Merge backout; a=beta9 CLOSED TREE 2011-01-10 19:40:56 -05:00
Ehsan Akhgari
85e121898c Backed out changeset d2856d5970b6 (bug 619487) because of bug 624514 2011-01-10 19:40:29 -05:00
Dan Witte
027a7ceb1f Bug 580790 - Connection::initialize can access preferences off of the main thread. r=sdwilsh, sr=bsmedberg, a=betaN+ 2011-01-05 16:32:31 -08:00
Patrick McManus
9979419bae bug 623921: Out of an abundance of caution back out feature: 592284 - HTTP Syn Retry r=honzab a=backout 2011-01-07 11:11:22 -05:00
Josh Aas
d1ea555568 Bug 611296: Fix bug that caused the Quicktime plugin to fail to load for some Mac OS X users. Don't require that the MIME plist locale match the current locale. r=sgreenlay a=blocking2.0betaN+ 2011-01-07 07:47:41 -05:00
Josh Aas
d9e60f2b88 Bug 623638: Fix crash in plugin stream code by adding back a NULL check. r=jst a=blocking2.0beta9+ 2011-01-07 07:51:36 -05:00
Chris Jones
49a79e3913 Test for bug 616441. a=b 2011-01-05 22:54:47 -06:00
Chris Jones
76417aec7b Bug 616414: Notify content processes when a pref has been cleared. r=dwitte 2011-01-05 22:54:47 -06:00
Doug Turner
504dcf5472 Bug 613551 - JSGC_MAX_MALLOC_BYTES is too large on mobile. Pref change. [r=jst] a=blocking-fennec
--HG--
extra : rebase_source : 91601ad63a7b29966ce3ad8e944a712bf1e93bb1
2011-01-05 15:11:14 -08:00
timeless@mozdev.org
7d3407999e Bug 619797 - imgRequest::Init should manage observer more carefully, r+a=joedrew 2011-01-09 09:48:00 -08:00
Robert O'Callahan
f70dc158f2 Bug 601064. Fix tests (and test this bug). a=tests 2011-01-04 16:56:09 +13:00
Boris Zbarsky
0ec8053d47 Bug 625256. Make the DOM timeout clamp a pref, but enforce that it's nonnegative. r=jst, a=jst 2011-01-14 21:14:41 -05:00
Phil Ringnalda
d98814f099 Disable test_xulbrowser_plugin_visibility.xul on Windows. (Bug 625651) r=roc a=tests 2011-01-14 16:42:49 -08:00
timeless@mozdev.org
2103c10f13 Bug 584969 Remove references to nsIFileSpec from the "supported" set in nsIPrefBranch
r=dveditz a=bsmedberg
2011-01-05 14:11:56 -08:00
Josh Aas
60f54d3647 Bug 475991: Tests for NPAPI redirect handling. r=dwitte a=blocking2.0betaN+ 2011-01-05 14:46:42 -05:00
Josh Aas
5d102ca06e Bug 475991: Extend NPAPI to allow plugins to participate in redirect handling. r=bsmedberg a=blocking2.0betaN+ 2011-01-05 14:44:21 -05:00
Chris Leary
cba55906d2 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Robert O'Callahan
e6205db57a Backing out 3883e79e5a9a and 0653a37b7230 (bug 601064) due to test failures, a=backout 2011-01-04 17:48:11 +13:00
Robert O'Callahan
18f5e2858b Bug 601064. Fix tests (and test this bug). 2011-01-04 16:56:09 +13:00
Doug Turner
dfcaabc729 Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Robert O'Callahan
8f4e017e3a Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Vladimir Vukicevic
ad540d7188 b=578877, reenable WebGL on Linux; r=vlad,a=b 2010-12-27 12:05:01 -08:00
Taras Glek
21a77f82ef Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh 2010-12-27 11:15:15 -08:00
Jacek Caban
3d47530588 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix 2010-12-26 22:51:06 +00:00
Robert O'Callahan
c53ca186bc Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+ 2010-12-26 22:36:33 +00:00
timeless@mozdev.org
1295ad7a69 Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh 2010-12-20 01:13:00 -08:00
Chris Leary
b83b3feb7f Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Vladimir Vukicevic
44d1f1a0b6 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Makoto Kato
ea08c7f8dc Bug 620140 - Bug 616271 causes CanLoadPlugin returns failure when plugin path is non-ASCII. r=joshmoz a=blocking-beta9+ 2010-12-20 12:52:03 +09:00
Robert O'Callahan
0a31156e28 Backing out part 5 of bug 617152. a=blocking 2010-12-24 15:15:11 +13:00
Robert O'Callahan
a7ecb74728 Backing out ade671d15514 2010-12-24 15:14:04 +13:00
Rob Campbell
d82446d36c Bug 475991 - Extend the NPAPI to allow plugins to participate in redirects - fix line endings; r=rcampbell, a=test-fix; DONTBUILD 2010-12-23 12:30:44 -04:00
Robert O'Callahan
e7ada2cb2c Bug 617152. Part 5: nsPluginHost::StopPluginInstance should skip plugin instances that are already destroyed (e.g. because the plugin was disabled). r=josh 2010-12-20 14:37:43 +13:00
Daniel Holbert
65d5175ea1 Bug 272288 Patch 3: Evaluate whether we should start animating, when SVG-as-image document finishes loading. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
901759a6ef Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Robert O'Callahan
7e680fa911 Bug 617718. Don't process invalidates if we're stopping. r=bsmedberg a=bsmedberg 2010-12-21 15:03:00 -08:00
Taras Glek
282858f1e4 Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN 2010-12-20 15:38:10 -08:00
Scott Greenlay
e942a76ff0 Bug 616271 - missing bool bits r=taras a=blocking-betaN 2010-12-20 15:38:04 -08:00
Daniel Holbert
d246c3ea00 Bug 615423: Add null-check to SVGDocumentWrapper::StartAnimation, to fix shutdown crash. r=roc a=blocking-final 2010-12-20 10:44:05 -08:00
Mihai Sucan
0a28951aa6 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Matthew Gregan
ae02f0728c Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Patrick McManus
6993d42063 Bug 613977 - Intermittent invalid certificate error prompt (partial) r=honzab a=blocking-beta9
Bug 614677 - Connection is reset message appears intermittently
Bug 614950 - Connections stall occasionally after 592284 landed

A couple of follow-on changes to 592284 rolled together to prevent
diff conflicts

1] Set the securitycallback information for unused speculative
connections in the connection manager to be the new cloned connection
rather than the one they originated on. (613977)

2] When adding unused speculative connections to the connection
manager, due so with a short timeout (<= 5 seconds) as some servers
get grumpy if they haven't seen a request in that time. Most will
close the connection, but some will just sit there quietly and RST
things when the connection is used - so if you don't use the
connection quickly don't use it at all. This is probably a L4 load
balancer issue, actually. Mozillazine illustrates the
problem. Connections are made in bursts anyhow, so the reuse optimization is
likely still quite useful. (614677 and 614950)

3] mark every connection in the connection manager persistent
conneciton pool as "reused". This allows the transaction to be
restarted if a RST is recvd upon sending the requests (see #2) - with
the conservative timeout this is now a rare event, but still possible
so recovery is the right thing to do. (614677 and 614950)

4] obtain an nshttpconnection object from the connection manager,
subject to the max connection constraints, at the same time as
starting the backup conneciton. If we defer that until recycling time
the exceeded limits of the SocketService can cause problems for other
connections.

also re-enables the syn retry feature by default.

r+ honzab
2010-12-16 08:50:36 -05:00
Shawn Wilsher
7cd8f091ad Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
4d4634434f Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Steven Michaud
7dcde2114e Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Daniel Holbert
b0db35142b Bug 614392 patch 2: Update concrete imgIContainer::GetType() implementations with NS_IMETHOD_(). r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:40:28 -08:00
Daniel Holbert
f715fd8c32 Bug 614392: Use [noscript, notxpcom] instead of "%{C++" for convenience method imgIContainer::GetType. r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:38:21 -08:00
Shawn Wilsher
aeffa1f8c7 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
7a35d860e3 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Marco Bonardo
7cf190f78d Fix a broken permission due to a bug in merging execute permission on Windows. a=bustage 2010-11-18 22:21:22 +01:00
Shawn Wilsher
f1db0ae444 Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Daniel Holbert
81cf8876e1 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Daniel Holbert
a2c43c8b3e Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
061141f4a4 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
a8277ced14 Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
0f8a89b3b5 Bug 610491: Preemptively stop SVG animations in SVG-as-an-image in OnStartRequest. r=roc a=roc 2010-11-16 10:35:59 -08:00
Ryan VanderMeulen
5de9ca5fd4 Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Mounir Lamouri
e8e286244a Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Scott Greenlay
e77d3901bf Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Scott Greenlay
419ff2d1cd Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+ 2010-11-15 14:21:18 -08:00
Neil Rashbrook
e46ac7eb5d Bug 608958 Omnijar doesn't load preference files in reverse alphabetical order r=dwitte a=bsmedberg 2010-11-10 08:20:52 +00:00
Daniel Holbert
6c15ec8375 Bug 610748: Stop SVGDocumentWrapper from trying to unregister as a shutdown observer (and spamming a failure warning) *during* shutdown. r=roc a=roc 2010-11-09 21:50:29 -08:00
Josh Aas
fd750ae218 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Walter Meinl
859a94a18d Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Taras Glek
f7478bd248 Bug 610040 - OOM abort under nsBufferedStream::Init. r=dtownsend
--HG--
extra : rebase_source : 52ef8d0c9333d75e5e67e2ca042131159102b15f
2010-11-09 11:12:46 +01:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
52d0f01838 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
a3e7d64ff6 Test for bug 598862. r=karlt a=blocking 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
f401254d50 Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Daniel Holbert
229960c414 Bug 609814: Unregister SVGDocumentWrapper as XPCOM shutdown observer when we're done with it. r=roc a=blocking-final 2010-11-08 09:45:18 -08:00
Steven Michaud
f6c175b300 Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg
059d0f7ab2 Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg
91d075c8dc Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -05:00
Benjamin Smedberg
1af0711964 Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst 2010-11-15 09:41:19 -05:00
Benjamin Smedberg
252c343281 Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Karl Tomlinson
a8fd94a4b7 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01:00
Simon Montagu
5ee7fc30e6 Make the 'More Encodings' submenus non-localizable. Bug 610638, r=emk, a=bsmedberg 2010-11-14 16:41:43 +02:00
Brad Lassey
96c0116dd7 bug 608896 - update in-tree freetype from 2.4.1 to 2.4.3 r=stuart a=blocking-fennec 2010-11-11 17:30:52 -05:00
Brad Lassey
0fea0b5a66 bug 609114 - use freetype's configure script configure its build rather than hard coding the makefile r=ted a=blocking-fennec 2010-11-03 08:50:53 -04:00
Ehsan Akhgari
6c2e6b0a79 Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Matt Woodrow
ced3693cdf Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Taras Glek
23936101cc Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN 2010-11-11 12:13:57 -08:00
Taras Glek
82ac2d11bf Bug 598416: add try/catch in places in nsZipReader.cpp that access mmaped memory directly r=bsmedberg a=blocking2.0-betaN 2010-11-11 12:13:48 -08:00
Phil Ringnalda
b78fd053ad Bug 608657 - Remove misplaced and unused "network.hosts.(pop|smtp)_server" prefs, r=bienvenu, a=bsmedberg 2010-10-31 17:56:16 -07:00
Benjamin Smedberg
abe5e4d05f Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
d55dd1e25b Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52. 2010-11-10 08:35:46 -05:00
Benjamin Smedberg
404d17afff Address review comments for the test in bug 583109 by polling for visibility changes in the plugins. 2010-11-09 11:41:59 -05:00
Benjamin Smedberg
214fdc2150 Bug 607958 - Opacity rounding of 0.5 is different when using a layer and painting directly. Use a value of 0.8 which divides evenly into 255 to avoid rounding differences. Bug 602200 did not fix this rounding difference. r=roc 2010-11-08 14:40:11 -05:00
Benjamin Smedberg
b4c1905756 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
3c717e39c6 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jory A. Pratt
dfa15fbaa9 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt
62693166cc Bug 591145 - Remove option to not clobber when changing encoder. r=khuey a=bsmedberg 2010-11-05 18:22:56 +01:00
Benjamin Smedberg
2adb16d327 With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it. 2010-11-05 10:52:41 -04:00
Benjamin Smedberg
3aab32a483 Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt 2010-11-05 10:43:14 -04:00