Commit Graph

544 Commits

Author SHA1 Message Date
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Georg Fritzsche
cce012fd58 Bug 813245 - Sanity-check for mimetype count from pluginreg.dat. r=bsmedberg 2012-12-21 16:12:46 +01:00
Bobby Holley
fe9b482b3b Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
89a6e0fc9e Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
1724ed7409 Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.

Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
4c89efeea4 bug 825281 - remove nsISupportsArray from plugins r=bsmedberg 2012-12-12 02:56:25 -05:00
Robert O'Callahan
0b770fc749 Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
74c41dab7c Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
David Keeler
c969101464 bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
Karl Tomlinson
542cae9df7 b=814200 don't redirect embedder socket window resize requests to Xt client r=stransky
--HG--
extra : rebase_source : 936d2fb8dbed72c064b158a106dde582b091454b
2013-01-04 12:37:08 +13:00
Michal Novotny
b6628fb0c0 Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in plugin code, r=joshmoz 2013-01-04 00:29:33 +01:00
Robert O'Callahan
f9b9491b81 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Neil Rashbrook
b87325632b Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Georg Fritzsche
bffe1e647d Bug 823533 - Reject plugins with a different architecture in 32bit Mac builds. r=bsmedberg,smichaud 2012-12-20 21:30:19 +01:00
Josh Matthews
4e4a7167e0 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Ed Morley
b823df0685 Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews
36ed4c8e79 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley
0c632ab2fc Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
f27802d4e8 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Jim Mathies
10c1c2ce73 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
James Willcox
8b0bdd7a65 Bug 809055 - Restore fullscreen plugins after document becomes active r=blassey 2012-12-17 10:05:59 -05:00
James Willcox
65e5a49652 Bug 821777 - Get some kind of version information into nsPluginTag for Flash on Android r=josh 2012-12-17 10:05:53 -05:00
James Willcox
a2497e5594 Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
Masayuki Nakano
eb6b871bcb Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Daniel Holbert
109d7d5784 Bug 821843: Remove no-longer-used variable 'isJava' from nsPluginHost.cpp, to fix GCC 4.7 warning (treated as error in enable-warnings-as-errors builds). r=johns 2012-12-14 13:08:49 -08:00
John Schoenick
5cc487ae7e Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
84b9c456d3 Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
2acf626c29 Bug 767633 - Bonus - Clean up whitespace in nsPluginHost. r=josh 2012-12-13 13:51:26 -08:00
John Schoenick
124e66d091 Bug 767633 - Part 3 - Remove a ton of obsolete nsPluginHost code. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
97210f5ad6 Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
James Willcox
3eb7873fa3 Bug 820905 - backout ea1643fd4285
--HG--
extra : rebase_source : 50ddda21ab6942b6397366b9823b36df257b9482
2012-12-13 14:23:07 -05:00
Kartikaya Gupta
26f478aa7c Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
Bobby Holley
b9b954824f Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff 2012-12-12 17:09:37 -08:00
James Willcox
eade793da1 Bug 800838 - Remove unnecessary delay when unscheduling plugin timers on Android r=blassey
--HG--
extra : rebase_source : 430d21db7ca1d513c1cd401f86d36a21e36e5f30
2012-12-10 10:00:44 -05:00
Robert O'Callahan
c304cb3844 Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Trevor Saunders
f1b73ccb3d bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Georg Fritzsche
c2bbde6c2f Bug 813906 - Resolve base URLs correctly for plugin streams. r=bz 2012-11-27 15:14:38 +01:00
Trevor Saunders
4d16e0db71 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
bd2d1feb84 bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Tom Schuster
12e54d9bdb Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
4f3a54421a Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Kartikaya Gupta
268082eeb3 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00