Ms2ger
78f9e66db8
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Tom Schuster
0b021a6fa2
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
John Schoenick
72ba75e8a5
Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc
2013-07-30 13:24:18 -07:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Bobby Holley
c00f6379ec
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Jon Coppeard
8278efd42a
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Benjamin Smedberg
4351ec27e3
Followup to bug 888510 - windowless-layers reftest should be skip-if no testplugin, not fails-if
...
--HG--
extra : rebase_source : 283a63049eb382168f64ec2b554dd4c31ad59994
2013-07-26 12:25:27 -04:00
Carsten "Tomcat" Book
8c89deb65b
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Jon Coppeard
1463e7df5b
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
John Schoenick
789270e623
Bug 889614 - Fix and cleanup plugin re-parenting tests to catch this in the future. r=josh
2013-07-25 14:02:34 -07:00
Jon Coppeard
477e4df5c5
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Ms2ger
a22dbc380e
Bug 896275 - Use MOZ_THIS_IN_INITIALIZER_LIST in dom/; r=mounir
2013-07-24 09:41:03 +02:00
Joshua Cranmer
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
fb0ab49c35
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Jon Coppeard
c561caee58
Bug 888338 - 6 - more browser post barriers r=mccr8
2013-07-23 10:58:27 +01:00
Mihnea Dobrescu-Balaur
5c9ff2843f
Bug 890098 - Cannot run dom/plugins xpcshell tests concurrently. r=bsmedberg
2013-07-18 18:01:25 -07:00
Benjamin Smedberg
f789c0245d
Bug 889480 - When NP_Initialize fails, we should not try to call NP_Shutdown later, r=gfritzsche
...
--HG--
extra : rebase_source : d6749449a9ef910b65336ce69aa0ad558711f6e7
2013-07-19 10:02:47 -04:00
Ehsan Akhgari
539f609d18
Bug 895168 - Part 2: Stop using LL_ZERO in the tree; r=jcranmer
...
--HG--
extra : rebase_source : 03a8c9d0905ceef8dde58316ee4b4c7c09b34305
2013-07-18 16:48:15 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Masatoshi Kimura
b001d00a05
Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm
2013-07-12 06:26:55 +09:00
Gregory Szorc
103574ab16
Bug 891626 - Consistent filename casing for "ipc"; r=bsmedberg
...
"ipc" and "IPC" are used to refer to the same directory. "ipc" is more
popular than "IPC" so the latter has been downcased.
--HG--
extra : rebase_source : 378d442df62b8e401ed2a10f36889cfce6e88227
2013-07-10 12:08:23 -07:00
Gregory Szorc
bcf3de711c
Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
...
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.
--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ryan VanderMeulen
c9d5a706a1
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Aaron Klotz
c87afccedc
Bug 891035: Provide mutual exclusion in Plugin Hang UI to protect against concurrent shutdown and user response. r=bsmedberg
...
--HG--
extra : rebase_source : c7960c2d74af8af57aa7e97867df61a975f4d7fe
2013-07-10 11:00:55 -06:00
Trevor Saunders
c3f96258c3
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Kyle Huey
49b422d01c
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Johnny Stenback
7209a4a1c5
Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org.
2013-07-09 06:58:21 -07:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
a6b9800cfb
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
David Zbarsky
b2b3004e5d
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Michael Brennan
a4656e32dd
Bug 837232 - Use whenDelayedStartupFinished in private mode test. r=gavin
2013-07-05 18:52:32 +02:00
Mike Shal
edeb7caf7a
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Joey Armstrong
2e19c976cc
bug 870407: move CMMSRCS to mozbuild (file batch #2 ) r=mshal
2013-07-01 12:32:40 -04:00
John Schoenick
5f2fbccd09
Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst
2013-06-27 13:59:37 -07:00
Benjamin Smedberg
d0ea1dfb67
Bug 880735 test fixups:
...
* Add a test-only setter to the center-item XBL binding
* add a head.js function to remove plugin permissions for use in cleanup functions
* browser_pluginnotification.js - lots of fixes for the core feature tests
* Alter test_bug751809 not to assume that clicking the page overlay will directly activate the plugin
* Alter browser_CTP_plugins.js because disabled plugins now do show up in the plugin doorhanger
* remove browser_CTPScriptPlugin.js and supporting files because we no longer auto-pop based on scripting
* fix browser_CTP_drag_drop.js so that active plugins still show the doorhanger icon, and other fixup
* fix browser_bug743421.js to expect the doorhanger all the time and activate it correctly
* fix browser_bug752516.js to check for doorhanger activation instead of plugin activation
* remove browser_bug818009.js and supporting files because they are testing something that no longer exists
* alter browser_bug820497.js so that it shows the popup notification before checking .centerActions, since we populate that data lazily now
* browser_plugins_added_dynamically.js: remove the "activate all" tests which are no longer relevant and fix the rest to match the new doorhanger structure.
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
84e3611c1a
Bug 880735 part B - add .getPluginTagForType and make .getBlocklistStateForType scriptable, r=johns
2013-06-24 08:51:07 -04:00
Gabor Krizsanits
756a8f8c8c
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Jon Coppeard
4b40ce1453
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Benjamin Smedberg
34af0e42e4
Bug 882339 part B - nsPluginTag::IsBlocklisted should use the cached blocklist state, since it gets called in some tight loops via plugintag.IsActive r=johns Once more with feeling!
...
--HG--
extra : rebase_source : 50342011c886109a25a7a38d18b23cde7c4e4c85
2013-06-20 15:20:14 -04:00
Bobby Holley
2fa8b1cfb0
Bug 883450 - Miscellaneous requests. r=gabor
2013-06-20 11:05:34 -07:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Benjamin Smedberg
8c67029c44
Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns
2013-06-19 11:07:28 -04:00
Jon Coppeard
c56ed4c7b6
Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz
2013-06-19 11:32:27 +01:00
Georg Fritzsche
cc930767cd
Bug 883671 - Get rid of plugin.expose_full_path. r=bsmedberg
2013-06-17 12:35:29 +02:00
Chris Peterson
09f3e2c83c
Bug 827407 - Back out Flash fullscreen video bug 809055 to test whether FlashPaintSurface crashes are correlated. r=snorp
2013-06-11 10:09:57 -07:00
Benjamin Smedberg
167df5915e
Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
...
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00