Jonathan Kew
a85e67486b
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Ed Morley
bb53ce0424
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-29 00:08:58 +01:00
Olli Pettay
fe6fc67766
Bug 794694 - Make sure to trace all the gray GCthings, not only wrapper, r=mccr8
2012-09-29 01:29:37 +03:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Olli Pettay
80d2f005af
Bug 794623 - Fewer virtual GetTargetForEventTargetChain calls, r=jst
...
--HG--
extra : rebase_source : db5b18e28b2ed362e0761370b21ef74e6231a476
2012-09-28 02:15:29 +03:00
Gene Lian
cd68b13f76
Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 1). r=jlebar
2012-09-28 14:02:28 +08:00
Ed Morley
a86b50f6bc
Merge mozilla-central to mozilla-inbound
2012-09-28 16:01:22 +01:00
Ed Morley
ce04490c89
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Blake Kaplan
6be928eaf8
Bug 787552 - Expose the IP address and MAC address to content. r=vchang f=kaze
2012-09-27 14:14:06 -04:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
e79b288e75
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
6bcc0bc124
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
904da4f579
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Gene Lian
a80f860d03
Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 1). r=jlebar
2012-09-28 14:02:28 +08:00
Ryan VanderMeulen
08aa0512df
Merge m-c to inbound.
2012-09-24 21:50:14 -04:00
Ryan VanderMeulen
c964e85dd8
Merge the last PGO-green inbound changeset to m-c.
2012-09-24 20:47:13 -04:00
Chris Pearce
4ef4f3315b
Bug 782729 - Clarify pointer lock pointer-centering logic, and cancel centering mouse moves. r=smaug
2012-09-25 11:44:03 +12:00
Olli Pettay
4fd2c3ef07
Bug 793517 - Make nsDOMEventTargetHelper to unmark listeners during canSkip, r=mccr8
2012-09-24 14:05:30 +03:00
Jim Mathies
82401fdec5
Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck
2012-09-22 14:28:35 -05:00
Jim Mathies
9418b94d60
Bug 726615 - Completely remove MozTouch event support from mc. r=smaug
2012-09-22 14:28:08 -05:00
Bobby Holley
5af5a73d3d
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
c64d31c5e0
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Robert O'Callahan
6b5d54dbcc
Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
2012-09-24 16:30:33 +12:00
Robert O'Callahan
6d1e576d39
Back out bug 791616 due to test failure.
2012-09-24 21:55:16 +12:00
Robert O'Callahan
dd556aca29
Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
...
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Chris Pearce
1a1fe842d7
Bug 782729 - Ensure pointer lock code always passes screen coords to SynthesizeNativeMouseMove. r=smaug
2012-09-25 11:43:27 +12:00
Olli Pettay
f799aebc5f
bug 787704, better to remember addref/release sContent in IMEStateManager, r=masayuki
2012-09-20 19:13:18 +03:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Koosha Khajeh Moogahi
e98cd6bf45
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Peter Van der Beken
d21c8a19b6
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Robert O'Callahan
4eabb0291f
Bug 784410. Fix mousewheel scrolling to avoid scrolling frames that can't be scrolled by at least one device pixel. r=mats
2012-09-13 16:13:19 +12:00
Chris Jones
a18a2f4b69
Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc
2012-09-11 13:05:52 -07:00
Steven Lee
16761404d2
Bug 714358: Time manager implementation. r=jlebar
2012-09-11 02:05:00 -04:00
Mounir Lamouri
f5b616f8a3
Bug 787538 - Make sure the event listener is disconnected if the screen lock is rejected by the backend. r=jlebar
2012-09-11 14:15:43 +01:00
Bobby Holley
e04e482496
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-11 01:05:10 -07:00
Ryan VanderMeulen
2ff849733d
Backout bug 788914 and bug 789494 because they were backed out on inbound.
2012-09-07 19:40:57 -04:00
Bobby Holley
1aba2e3bc2
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-07 11:28:56 -07:00
Boris Zbarsky
a562efcb37
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
Ms2ger
348aa6b524
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Ms2ger
ad25144d88
Bug 788218 - Don't allow a null argument to nsEventStateManager::GetRegisteredAccessKey; r=smaug
2012-09-06 09:14:49 +02:00
Masayuki Nakano
c25f7ece0f
Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug
2012-09-04 17:39:28 +09:00
Masayuki Nakano
2cf554452a
Bug 786898 part.1 Set overflowDelta 0 if the delta is unused by overflow-x: hidden; or overflow-y: hidden; but an ancestor is scrollable along the axis r=smaug
2012-09-04 17:39:28 +09:00
Kyle Huey
a1ca1b5921
Bug 787512: Pack nsListenerStruct better on Windows. r=smaug
2012-09-02 20:22:41 -07:00
Robert O'Callahan
f3094e3987
Bug 780847. Add support for checking for event listeners with an nsIAtom* event name. r=smaug
...
--HG--
extra : rebase_source : 4efce91d9a41c39b5431c561474165ab66254e49
2012-08-18 02:12:58 +12:00
Aryeh Gregor
24369158c6
Bug 782594 - NS_ERROR_INVALID_ARG is not an accesskey; r=bz
2012-08-14 12:10:42 +03:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ms2ger
30f421bdba
Merge m-c to m-i.
2012-08-31 11:40:15 +02:00
Kyle Huey
0baaffe99f
Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz
2012-08-30 20:45:16 -07:00
Kyle Huey
ed41b5862f
Bug 687332: Part 1 - Explicitly keep track of which event listener holds the event handler. r=smaug
2012-08-30 19:52:32 -07:00
Kyle Huey
3ff74985e4
Bug 786048: Rename 'JSEventListener' to 'EventHandler' to better match the spec's terminology. r=smaug
2012-08-30 09:25:10 -07:00
Masayuki Nakano
f0eaecb549
Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug
2012-08-30 10:05:16 +09:00
Olli Pettay
9d1866c669
Bug 784256 - Generate id->event type switch case from nsEventNameList.h, r=bz
...
--HG--
extra : rebase_source : 469e03023ae333ae0e527927fbe2b3209fa93067
2012-08-29 14:24:41 +03:00
Rafael Ávila de Espíndola
fa9b9c167a
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Andrew McCreight
671b32897c
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Zoe Bellot
45603aa9ce
Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson
2012-08-26 23:16:22 -03:00
Yury
390e1cb5ac
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-25 17:18:44 -04:00
Benjamin Smedberg
a844435618
Revert bug 776208 for semi-consistent failures:
...
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
820281ab5d
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-24 16:18:16 -04:00
Benjamin Smedberg
d8f80b82e5
Revert bug 776208 for semi-consistent failures:
...
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Andrew McCreight
0d31841b85
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Yury
9044c64c6a
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
...
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Luke Wagner
ce71e55555
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Bobby Holley
d806bf9ec7
Bug 784560 - Fix more tests. r=mccr8
2012-08-23 11:45:28 -07:00
Peter Van der Beken
854457d901
Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
...
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ryan VanderMeulen
f1e04816ea
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
e1b92aea91
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Masayuki Nakano
fd524685f9
Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug
2012-08-20 11:46:08 +09:00
Masayuki Nakano
5c0eaf57ca
Bug 422132 part.2 Add new tests r=smaug
2012-08-20 11:46:08 +09:00
Masayuki Nakano
278ebaf46b
Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-20 01:46:21 +09:00
Ed Morley
96e1689d08
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Ed Morley
7435db4163
Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures
2012-08-17 12:30:02 +01:00
Zoe Bellot
d60647c1bf
Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson
2012-08-17 12:02:18 +02:00
Matthew Gregan
b3488bdea4
Bug 770945 - Back out unnecessary change. r=backout
2012-08-17 16:52:08 +12:00
Matthew Gregan
d3a4cc2185
Bug 770945 - Simple media events shouldn't be cancelable. r=roc
2012-08-14 15:26:43 +12:00
Masayuki Nakano
dc8748e3bb
Bug 422132 part.2 Reset DeltaAccumulator::mPendingScrollAmountX and DeltaAccumulator::mPendingScrollAmountY if the direction is changed r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
1d4f21b65a
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
a79bbc874a
Bug 782190 Implement onwheel attribute and onwheel property on window, document and element r=smaug, sr=jst
2012-08-16 08:09:42 +09:00
Neil Deakin
d5239674af
Bug 743975 - Remove events that are now unused, r=smaug
2012-08-15 14:52:42 -04:00
Neil Deakin
34ac541af0
Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders
2012-08-15 14:52:37 -04:00
Masayuki Nakano
87f15e6b61
Bug 782739 Handle new mousewheel prefs in browser_fullZoom.js r=smaug+dao
2012-08-16 00:51:13 +09:00
Masayuki Nakano
36cbfbe21b
Bug 782903 Set enough long timeout time in test_bug422132.html r=smaug
2012-08-15 22:28:17 +09:00
Masayuki Nakano
007d2557c9
Bug 782552 Set overflow delta values even if there is no scroll target for the wheel event r=smaug
2012-08-15 09:52:07 +09:00
Masayuki Nakano
fd3f6f47bd
Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-15 09:52:07 +09:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Masayuki Nakano
fbb457bfe6
Bug 659071 DoScrollZoom() should check if the event target is under XUL document rather than checking if it's XUL element r=smaug
2012-08-13 23:20:13 +09:00
Masayuki Nakano
8691dacf67
Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug
2012-08-13 21:11:20 +09:00
Masayuki Nakano
8074854719
Bug 719320 fix bustage r=no
2012-08-12 12:32:30 +09:00
Ryan VanderMeulen
212cdce23a
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
57cad65ed1
Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug
2012-08-12 10:42:37 +09:00
Masayuki Nakano
3ca9a6e26d
Bug 719320 part.11 Fix new test failures r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
a380d0bab6
Bug 719320 part.10 Add new tests and remove tests for old ESM's legacy mouse scroll event handler r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
f666bb683a
Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
3ceb17b583
Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
ea44597fdd
Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
68664bef80
Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
2ff571d371
Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug
2012-08-12 10:42:36 +09:00