Commit Graph

1841 Commits

Author SHA1 Message Date
Daniel Holbert
d7bc9bd2fc Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
snigdha
90f0f64d5b Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Jon Coppeard
bb2e7cbea1 Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Makoto Kato
0a1067c1fd Bug 986930 - QuickTime plugin shows garbled text for mime type descriptions in about:plugins and about:addons. r=bsmedberg 2014-03-31 22:56:40 +09:00
John Schoenick
6e3494979d Bug 985859 - navigator.mimeTypes access should be case-insensitive. r=bsmedberg 2014-03-21 10:50:25 -07:00
Masatoshi Kimura
017a04a06a Bug 981237 - Remove DataContainerEvent dependency from Plugin crash handler. r=jst,johns 2014-03-21 13:00:00 +09:00
Bob Owen
895bbf5cdd Bug 978042 - Part 6: AutoPushJSContext in nsNPAPIPlugin.cpp _evaluate. r=bholley 2014-03-09 18:35:52 +00:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Birunthan Mohanathas
fdd8ac908b Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz 2014-03-19 13:05:04 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Nathan Froyd
61a6f7901d Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
Andrew McCreight
0a2339ab32 Bug 983990 - Remove all trailing whitespace from nsPluginStreamListenerPeer. rs=bsmedberg 2014-03-18 14:25:40 -07:00
Anuj Agarwal
d7d87afa3b Bug 983990 - Convert nsPluginStreamListenerPeer::mDataForwardToRequest to nsDataHashtable. r=johns 2014-03-18 14:25:40 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Ehsan Akhgari
46f1ef97d9 Trial fix for bug 886782 2014-03-15 17:52:58 -04:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
John Schoenick
1ba7f072f7 Bug 980625 - Fix more test plugin leaks found by LSAN. r=josh 2014-03-12 11:47:47 -07:00
John Schoenick
30a91e09e6 Bug 980625 - Fix minor leak in PluginModuleChild::Init found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
c7c08f52a8 Bug 980625 - Fix minor leak in nptest found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
b5739a7094 Bug 980625 - Strip trailing whitespace plague from nptest.cpp. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
545721bfc3 Bug 971279 - Followup, patch folding fail. r=me 2014-03-12 11:47:46 -07:00
John Schoenick
ea07f4efe4 Bug 836786 - Allow mousemove events to propagate from windowless plugins. r=josh 2014-03-12 11:47:45 -07:00
Vaibhav Agarwal
086e8d6332 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Ehsan Akhgari
98311f51be Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
John Schoenick
b3506a6c7a Bug 977955 - Cleanup PluginModule shutdown r=bsmedberg 2014-03-06 15:51:12 -08:00
Ryan VanderMeulen
760e2a311f Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
ef5d7c4e73 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Carsten "Tomcat" Book
4124791bb3 merge mozilla-inbound to mozilla-central 2014-03-05 13:04:39 +01:00
L. David Baron
af015e471f Bug 621618 patch 4: Make conditions in Element::RemoveFromIdTable match those in AddToIdTable, to avoid asymmetric calls to the document's functions. r=bzbarsky 2014-03-04 20:13:20 -08:00
Ryan VanderMeulen
291eff6624 Merge m-c to fx-team. 2014-03-04 17:24:28 -05:00
Benjamin Smedberg
fc175da9d1 Bug 778866 - Abort from the I/O thread on abnormal shutdown of a plugin-process, in case the main thread is wedged and the Firefox process has already been killed, r=cjones 2014-03-04 12:17:01 -05:00
Ehsan Akhgari
f4686ac699 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00
John Schoenick
4f8394db1d Bug 976861 - nsPluginTag::GetLastModifiedTime should use NS_IMETHODIMP. r=gfritzsche 2014-03-04 12:18:09 +01:00
Ehsan Akhgari
bf09c6f469 Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
cfe6f6fd0a Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
John Schoenick
0adbf0d887 Bug 976924 - Ensure we're not racing with async plugin teardown events. r=gfritzsche 2014-03-04 13:58:27 -08:00
Jeff Walden
5a7db86560 Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Andrew McCreight
537eb6fa81 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
John Schoenick
c66de5423f Bug 852315 - Test. r=bsmedberg 2014-02-25 13:30:05 -08:00
John Schoenick
4604b7386b Bug 406541 - Test. r=bsmedberg 2014-02-25 13:30:04 -08:00
John Schoenick
da49aa3298 Bug 738396 - Test. r=bsmedberg 2014-02-25 13:30:04 -08:00
John Schoenick
c4eec01cb3 Bug 971279 - Add nptest java plugin. r=bsmedberg 2014-02-25 13:30:04 -08:00
John Schoenick
940c023e49 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-25 13:30:03 -08:00
Ehsan Akhgari
f594359272 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Carsten "Tomcat" Book
d4e2894197 Backed out changeset 9112c3abc3ea (bug 926830) for mochitest memory leak on a CLOSED TREE 2014-02-21 14:31:31 +01:00
Georg Fritzsche
c61dcea8ae Bug 964272 - Expose last modified time on plugin tags. r=bsmedberg 2014-02-18 11:45:47 +01:00
Georg Fritzsche
dc3d2344cc Bug 926830 - Test cleanup for plugin enabledState usage, dom/plugins. r=bsmedberg 2014-02-17 15:57:37 +01:00
Chris Peterson
62f1c3dc89 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Oleg Romashin
e5c33da3e3 Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Oleg Romashin
b85dd22b92 Bug 974335 - Refactor Qt Widget Backend implementation. Plugins cleanup. r=josh 2014-02-20 18:08:36 -08:00
Wes Kocher
a5dcf6f444 Backed out 7 changesets (bug 406541, bug 738396, bug 852315, bug 971273, bug 971279) for various java/plugin-related failures on a CLOSED TREE
Backed out changeset 13cc8a7ee925 (bug 852315)
Backed out changeset 23dfc36f99d4 (bug 852315)
Backed out changeset fb56bd7c0feb (bug 406541)
Backed out changeset b24d1437c6f3 (bug 738396)
Backed out changeset 5028e1290b45 (bug 971279)
Backed out changeset 34ecdab0cfc2 (bug 971279)
Backed out changeset 95b4aa01923d (bug 971273)
2014-02-20 16:19:30 -08:00
John Schoenick
21020b1d94 Bug 852315 - Test. r=bsmedberg 2014-02-20 14:38:03 -08:00
John Schoenick
cd8a7ac51b Bug 406541 - Test. r=bsmedberg 2014-02-20 14:38:02 -08:00
John Schoenick
fd650dfafa Bug 738396 - Test. r=bsmedberg 2014-02-20 14:38:02 -08:00
John Schoenick
2e78a944a7 Bug 971279 - Add nptest java plugin. r=bsmedberg 2014-02-20 14:38:02 -08:00
John Schoenick
d0fbe23ec1 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-20 14:38:02 -08:00
Andrew McCreight
57d072a733 Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Chris Peterson
544486a631 Bug 712873 - Part 1: Replace JS_ASSERT with MOZ_ASSERT outside js/ directory. r=luke 2014-02-17 22:09:06 -08:00
Chris Peterson
065c214bf6 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
ae4ab82a1d Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Chris Peterson
f212bd7ffe Bug 712873 - Part 1: Replace JS_ASSERT with MOZ_ASSERT outside js/ directory. r=luke 2014-02-17 22:09:06 -08:00
Masatoshi Kimura
dfb3f0e76b Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Ehsan Akhgari
b4cdb0beeb Bug 784739 follow-up: Use NULL in npruntime.h 2014-02-14 18:49:59 -05:00
Jon Coppeard
8136579d75 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
John Schoenick
bf4f7f7755 Bug 967694 - Fix tests that expect old behavior. r=bsmedberg 2014-02-11 12:14:42 -08:00
John Schoenick
2a15567ec7 Bug 967694 - Test. r=bsmedberg 2014-02-11 12:14:41 -08:00
Ehsan Akhgari
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Martin Stransky
086e8824ab Bug 968193 - flash-plugin freezes when window allocation size is 0x0. r=karlt 2014-02-11 09:22:45 -05:00
Ehsan Akhgari
fbe321aed6 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Jon Coppeard
60baf94ae8 Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
fb23854e8f Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Ehsan Akhgari
96a8226f5a Bug 969868 - Use fallible allocations in some places in our plugin code; r=bsmedberg
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 16:04:09 -05:00
Phil Ringnalda
ef3a438040 Back out ed6e04e6fc0c (bug 968642) for breaking Windows plugin tests
CLOSED TREE
2014-02-07 21:26:02 -08:00
Ehsan Akhgari
e506f7f137 Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-07 23:22:31 -05:00
Martin Stransky
54d0c1ec74 Bug 624422 - Build plugin-container for Gtk2 and Xt plugins, nsPluginNativeWindowGtk part. r=karlt
--HG--
rename : dom/plugins/base/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk.cpp
2014-02-05 17:04:41 -05:00
Jon Coppeard
50e1f34d5a Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Terrence Cole
c4fa4e802d Bug 963738 - Fix an exact rooting hazard false positive in NPAPI; r=bsmedberg 2014-01-29 09:31:09 -08:00
Carsten "Tomcat" Book
2a6caad1f0 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00
Jon Coppeard
858370c616 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Benoit Jacob
3991287fb7 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Jon Coppeard
cb8c659700 Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz 2014-01-25 09:29:12 +00:00
Boris Zbarsky
c6541ce7fe Bug 962605 part 1. Remove a broken attempt to disable test_hang_submit.xul. r=ted 2014-01-24 22:52:10 -05:00
Bobby Holley
094cd93292 Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Tom Schuster
796494f0a6 Bug 961490 - Some cleaner rooting in NPAPI _eval. r=terrence,bsmedberg 2014-01-23 20:49:40 +01:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3846defaec Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00