Граф коммитов

2260 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger 354b9702e2 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger f681977423 Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger fc4eefd0ca Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Timothy Nikkel 7e7413964d Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Alexander Surkov 6823caa4ba Bug 695623 - xul:browser is subject of focus event when tabbing from chrome to content process, r=davidb, olli.pettay 2011-10-26 15:42:20 +09:00
Ehsan Akhgari 034715f393 Backout changeset 269ee0275709 (bug 688438) because of bug 688423 2011-10-25 22:32:11 -04:00
Marco Bonardo 2eda321cd6 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Olli Pettay 9680eca5eb Bug 695758 - Don't limit E10s event/focus handling to xul:browser, but allow also xul:iframe, r=felipe 2011-10-20 15:11:31 +03:00
Ehsan Akhgari 810ae57ca2 Bug 688438 - Fix the IME code to handle text controls correctly when checking for IME status; r=bzbarsky
--HG--
extra : rebase_source : 4c532f5ece3e88e907aabfef2197bced1223d9f2
2011-10-16 16:15:40 -04:00
Olli Pettay d30d7c0831 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay c3c86f516c Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari 1deb9f1504 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden 1bb2d1626a Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Brad Lassey e10ba7b125 bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst 2011-10-07 13:46:02 -04:00
Jeff Walden 1872189eac Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 37f2b96015 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Olli Pettay abb7a365d9 Bug 689128, re-enable EventListenerService tests, add a null check, handle compartments, r=bz
--HG--
extra : rebase_source : a0254eecb59adabb94737f1ca12803b712698903
2011-10-10 13:38:14 +03:00
Peter Van der Beken 2ec3430a51 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Ms2ger e014ad2421 Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug 2011-10-09 20:23:13 +02:00
Fabrice Desré fae46375be Bug 676595 - Android orientation manager is never shut down [r=dougt] 2011-10-06 10:27:41 -07:00
Joel Maher 5e578810c3 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Matheus Kerschbaum e3fcbbbc47 Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Michael Wu ac54b41b01 Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe] 5988d33707 bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug 2011-09-26 15:55:04 -05:00
Boris Zbarsky 8130668f5f Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Masayuki Nakano 3dd2eb1133 Bug 543789 part.2 Initialize data property of compositionstart event in nsEventStateManager::PreHandleEvent() r=smaug 2011-09-22 18:17:40 +09:00
Masayuki Nakano 8e5c526540 Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc 2011-09-22 18:17:40 +09:00
Luke Wagner 96a3b33700 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Boris Zbarsky 0ae2a9f762 Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
Olli Pettay dec540f721 Bug 432698 - mouseenter and mouseleave, r=masayuki
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Ms2ger de459df995 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Masayuki Nakano e1eedce5ed Bug 669028 part.7 content should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:12 +09:00
Chris Pearce d223e4369d Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug 2011-09-07 08:14:59 +12:00
Chris Pearce 5b9b6f4df1 Bug 545812 - Dispatch mozfullscreenchange event when we change full-screen mode. r=smaug 2011-09-05 08:40:11 +12:00
Chris Pearce 10465a2495 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Kyle Huey 9c4473dff5 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Kyle Huey eb6771d0fd Bug 682637: Restore null-check that got lost in the event handler IDLification. r=bz 2011-08-28 05:58:43 -04:00
Olli Pettay 30a5def5f1 Bug 682264 - Make EventListenerManager participate to the DOM Memory Reporter, r=volkmar,bz 2011-08-27 01:39:00 +03:00
Ms2ger 27e4fe41d8 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Ms2ger dbf1891b19 Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Boris Zbarsky 979144286a Bug 659350 part 6. Add various tests for the on* properties. r=smaug 2011-08-24 15:49:26 -04:00
Boris Zbarsky d7c51574df Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Bobby Holley ee742693a5 Bug 679494 - Tests. r=khuey 2011-08-18 13:36:00 -07:00
Bobby Holley dfe89cfe25 Bug 679494 - Wrap value returned from nsDOMMessageEvent::GetData. r=mrbkap 2011-08-18 12:10:00 -07:00
Jonas Sicking f4f601a6cb Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug 2011-08-18 02:45:00 -07:00
L. David Baron 914066afe4 Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Malini Das 2a2a709a34 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das 0fa2d67771 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck 993a5395d2 Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Steven Michaud 8d9fecdc0a Bug 668953 - Support two-finger horizontal swipe on OS X Lion. r=bgirard 2011-08-11 12:42:23 -05:00
Ms2ger 2817f1079f Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger ff106041e6 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri a75399b568 Bug 463491 - Do not reduce the popup blocker abuse level when using command event. r=jst 2011-08-11 18:31:33 +02:00
Pranay Choudhary 7fed3fc6d8 Bug 672577 - Crash [@ SelectionChangeEvent::Run] r=blassey 2011-08-09 19:05:00 -04:00
David Zbarsky f4e6e44142 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
Justin Wood 3562717174 Merge from m-c 2011-08-09 06:31:01 -04:00
Jan Varga e8159617e4 Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Boris Zbarsky 08da2a12f0 Bug 675405 part 3. Expand the event list to contain more information than just the name and move all the information from the tables in nsContentUtils to it. r=smaug 2011-08-07 22:30:17 -04:00
Boris Zbarsky acff3e1be9 Bug 675405 part 2. Add some events that we implement that aren't in the spec to the event list, and convert the long lists of event stuff in classinfo to using the canonical event list. r=smaug 2011-08-07 22:27:01 -04:00
Boris Zbarsky 5e7b0899fe Bug 675405 part 1. Create a header that defines the various event names in HTML5. r=smaug 2011-08-07 22:26:52 -04:00
Benoit Girard 537d46bc21 Bug 668953 - [10.7] Support new back/forward gestures in OSX Lion; r=smichaud 2011-08-05 14:36:51 -04:00
Marco Bonardo da046badd6 Backout changesets 57446cb82caa, 1c136ef5cac2 due to Tp5 regression on OSX. 2011-08-06 10:24:48 +02:00
Benoit Girard c5505c7bb5 Bug 668953 - [10.7] Support new back/forward gestures in OSX Lion; r=smichaud
--HG--
extra : rebase_source : e49091e63fb613b55d6331f1a5d9916e6de8db0d
2011-08-05 14:36:51 -04:00
Nikhil Marathe 8c3e8c793b Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : 1bcd524f639b1e79dbb461c737b6abdbc62ba606
2011-08-01 15:50:04 -07:00
Patrick McManus e032c4c7e6 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Michael Wu c1c981509d Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Nikhil Marathe 5dc60f1159 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Boris Zbarsky 70744a2baf Bug 669979. Don't do zoom or history actions for momentum scrolls, no matter what's going on with pixel scrolling. r=smaug,masayuki 2011-08-01 13:43:23 -04:00
David Zbarsky debb6a9272 Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Boris Zbarsky f872cc97b1 Bug 675267. Remove some target arguments from nsEventListenerManager APIs, since we have a perfectly good mTarget. r=smaug 2011-07-29 15:37:17 -04:00
Mounir Lamouri 5ce5715306 Bug 673291 - Show the keyboard with a magnifying glass instead of GO when in a search field. r=blassey,smaug 2011-07-25 10:16:09 -07:00
Ehsan Akhgari 7a2ee1db6e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger ddde247e90 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Masayuki Nakano 43a98b4610 Bug 658155 High resolution scrolling should be enabled even when scrolling speed is customized by prefs r=smaug+jimm 2011-07-15 07:12:20 +09:00
Jonas Sicking 9059d8ade3 Bug 661297 Part 2: Remove supporting code no longer needed once all event listeners are registered using a event name. r=smaug 2011-08-08 11:26:26 -07:00
Jonas Sicking 29d451d286 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Jonas Sicking 6d3655d986 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Felipe Gomes 0739400bda Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz 2011-06-21 17:32:43 -07:00
Josh Matthews a72ca05f51 Bug 668328 - Initialize members of nsEventListenerManager on construction. r=sicking 2011-06-29 16:40:01 -04:00
Jonas Sicking 66d2ae2b40 Bug 647603: a.replaceChild(b, b) does not remove and re-insert the affected node. r=bz 2011-06-29 23:16:09 -07:00
Doug Turner df8be532a5 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Ehsan Akhgari bb9dc8698d Bug 665858 - Part 2: Optimize nsContentEventHandler::GetFlatTextOffset; r=roc,masayuki 2011-06-27 08:59:01 -04:00
Ehsan Akhgari ec96f2cbb8 Bug 665858 - Part 1: Optimize the conversion of native and cross platform text offsets; r=roc,masayuki 2011-06-27 08:58:43 -04:00
Jonas Sicking 0af47d0f6c Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 8dbe4b2b42 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking fcfc94525f Bug 658714 Part 8: Improve the nsEventListenerManager API. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 2d5bd7162c Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking b065d276a3 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking fc78c37b4d Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking c14857b1f0 Bug 658714 Part 3: Move nsIDOMEventTarget implementation to nsINode. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking fb803f4ae4 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 680175e0d5 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Mounir Lamouri ad18ae0754 Bug 665012 - r=bz 2011-06-21 18:51:34 +02:00
Mounir Lamouri cb7ece5357 Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) ab1b3db5e6 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Doug Turner 7bf710d4a2 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Jan Varga 2d86d96b3e Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug 2011-06-19 11:23:12 +02:00
Joel Maher 1f89e9dfa9 Bug 663204 - move content/events/*.xul tests to mochitest-chrome. r=ted, a=test-only 2011-06-10 11:11:25 -04:00
Neil Deakin fbdb71b26f Bug 319929, initialize accessibility.accesskeycausesactivation preference properly, r=smaug 2011-06-03 15:38:24 -04:00
Mounir Lamouri 8ba84b2f15 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00