Mounir Lamouri
df73e890dd
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
7cfe3c427e
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-11 01:05:10 -07:00
Ryan VanderMeulen
5c5be9d885
Backout bug 788914 and bug 789494 because they were backed out on inbound.
2012-09-07 19:40:57 -04:00
Bobby Holley
46175f0a59
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-07 11:28:56 -07:00
Boris Zbarsky
d91716f0ab
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
Ms2ger
36d93492da
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Ms2ger
d8bab6bd97
Bug 788218 - Don't allow a null argument to nsEventStateManager::GetRegisteredAccessKey; r=smaug
2012-09-06 09:14:49 +02:00
Masayuki Nakano
36a101bd0d
Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug
2012-09-04 17:39:28 +09:00
Masayuki Nakano
8819e0f580
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
f5c9732737
Bug 787512: Pack nsListenerStruct better on Windows. r=smaug
2012-09-02 20:22:41 -07:00
Robert O'Callahan
99e948a368
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
e6ccfeb159
Bug 782594 - NS_ERROR_INVALID_ARG is not an accesskey; r=bz
2012-08-14 12:10:42 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ms2ger
5aba6627e3
Merge m-c to m-i.
2012-08-31 11:40:15 +02:00
Kyle Huey
3b42fbfcd1
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
db0c127dfa
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
20210893cb
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
6f66e83933
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
6faedbeae7
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
0b6fcd9466
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
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Zoe Bellot
5d63eeebbb
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
4d8df099e9
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-25 17:18:44 -04:00
Benjamin Smedberg
75b52bafcd
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
66d7f566fa
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-24 16:18:16 -04:00
Benjamin Smedberg
a859c5ef74
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
c063a3e54c
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
a1e1a451e4
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
ad90af9ca5
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
f978d43865
Bug 784560 - Fix more tests. r=mccr8
2012-08-23 11:45:28 -07:00
Peter Van der Beken
ee9eae3141
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
e368dc9c85
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
cbe189e0c0
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
711151788a
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Masayuki Nakano
69f752dd46
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
b618daeb4c
Bug 422132 part.2 Add new tests r=smaug
2012-08-20 11:46:08 +09:00
Masayuki Nakano
17d75f38f0
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
ffb9a0ff15
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Ed Morley
f4221cc429
Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures
2012-08-17 12:30:02 +01:00
Zoe Bellot
f5aa016a9c
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
64d46a81b1
Bug 770945 - Back out unnecessary change. r=backout
2012-08-17 16:52:08 +12:00
Matthew Gregan
7659ff2cc9
Bug 770945 - Simple media events shouldn't be cancelable. r=roc
2012-08-14 15:26:43 +12:00
Masayuki Nakano
7fbe69ed30
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
10a635820a
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
b665e4da72
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
0bfff495f2
Bug 743975 - Remove events that are now unused, r=smaug
2012-08-15 14:52:42 -04:00
Neil Deakin
fb4d59f2de
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
0b43196daa
Bug 782739 Handle new mousewheel prefs in browser_fullZoom.js r=smaug+dao
2012-08-16 00:51:13 +09:00
Masayuki Nakano
895fdeb536
Bug 782903 Set enough long timeout time in test_bug422132.html r=smaug
2012-08-15 22:28:17 +09:00
Masayuki Nakano
97b357822f
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
181defb77f
Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-15 09:52:07 +09:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Masayuki Nakano
eca377a286
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
e9bd3792e3
Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug
2012-08-13 21:11:20 +09:00
Masayuki Nakano
fdd0849afe
Bug 719320 fix bustage r=no
2012-08-12 12:32:30 +09:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
58b22f4244
Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug
2012-08-12 10:42:37 +09:00
Masayuki Nakano
1d01f06d4d
Bug 719320 part.11 Fix new test failures r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
cf816214b0
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
19179bc9fe
Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
6218b5fd40
Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
34beebf6df
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
62d29bfb7e
Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
e98c45fc9f
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
Masayuki Nakano
24a276180b
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
015a699728
Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
12fc4b119e
Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
9058c2c050
Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
77ea1504a6
Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
6a65280323
Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
2c7ce218f2
Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
0920874b2c
Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
08a826f3e2
Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
a0e8d18871
Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
adb8fea7af
Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
David Zbarsky
05903e83e6
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Simon Montagu
7b0bd7bf8b
Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz
2012-08-09 20:37:58 -07:00
Ms2ger
4c81482ae1
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ian Melven
4f3defdd1a
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Masayuki Nakano
71369d36d3
Bug 565245 Use waitForFocus() for getting the timing to start tests r=smaug
2012-08-20 23:10:34 +09:00
Matt Brubeck
3cfaa1db23
Back out bug 562169 because of Dromaeo DOM regressions
...
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Phil Ringnalda
aa790aa109
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Simon Montagu
aed3f621eb
Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz
2012-08-07 21:44:24 -07:00
Steven Lee
2a3357c97f
Bug 714358: Time manager implementation. r=jlebar
2012-08-07 19:11:00 -04:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
b5d5ebe56a
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
David Zbarsky
dca3fd6326
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Ms2ger
d8c5f9ebbf
Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
6113a6857c
Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug
2012-08-04 09:43:59 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
e7fd5a75d7
Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
eb8fc3e4fa
Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug
2012-08-04 09:43:59 +02:00
Wes Johnston
3dc27a7f5b
Bug 777706 - Backout new dom bindings for touchlists. r=smaug
2012-08-02 10:41:42 -07:00