Commit Graph

542 Commits

Author SHA1 Message Date
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Olli Pettay
25059611b9 Bug 535887, Change an assertion to warning in nsEventDispatcher.cpp, r=sicking
--HG--
extra : rebase_source : 249d9d86d8918e53fae0cfeb7bae766462353efe
2010-03-19 12:52:48 +02:00
Masayuki Nakano
bb7a62d1cf Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Mats Palmgren
1b3dbe3473 Disable broken test for bug 299673. Fixing bug 553344, bug 524361 and bug 521355. Filed bug 553417 to write a new test. 2010-03-18 23:25:31 +01:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Mike Hommey
9b07b8b0ad Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Mats Palmgren
549893b6d7 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Masayuki Nakano
788bb1a791 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Robert O'Callahan
f3e9a6b5c7 Bug 545268. Decide whether to suppress a mouse event by looking at the suppression state of the document where the event is going to be delivered. r=smaug 2010-03-05 13:10:32 +13:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Neil Deakin
52f2006039 Bug 546425, add mozSourceNode to access the source node of the drag, r=jonas,sr=roc 2010-03-02 06:21:20 -08:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Shawn Wilsher
c0d498ce5d Bug 461199 (Part 4) - Add NS_EVENT_STATE_UNVISITED that describes an unvisited link.
Add the new state so we can then just call IntrinsicState to determine the
visitedness of an nsIContent node.
r=bz
2009-11-09 10:00:53 -08:00
Justin Dolske
7af7ad098a Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron 2010-02-09 17:05:31 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Neil Deakin
40511b2e0e Bug 541520, don't fire dragleave on successful drop, but do fire it when drop fails or is cancelled, r=jonas,smichaud 2010-02-01 10:11:08 -05:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay
72d240fc9b Bug 534833 - click event is occasionally lost in text form controls when focus event changes the value of the control, r=roc
--HG--
extra : rebase_source : 9c90b0ed41ab12c38d264edc839227cdd0d8817f
2010-01-25 11:21:33 +02:00
Olli Pettay
866fa05bf4 nsDOMDataTransfer::ConvertFromVariant leaks, r=enndeakin 2010-01-21 19:47:19 +02:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Henri Sivonen
6edbf4cf09 Bug 539423 - Remove bogus assertion: Mouse move must have some target content. r=Olli.Pettay. 2010-01-14 15:58:33 +02:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan
07db346518 Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Robert O'Callahan
ae8ce9d0eb Bug 526394. Part 6: Fix up nsEventStateManager. r=smaug 2010-01-12 10:45:02 +13:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Masayuki Nakano
95a1048ab6 Bug 537041 "ASSERTION: Wrong document somewhere" with contenteditable, stylesheet r=bz 2010-01-06 14:55:54 +09:00
Josh Aas
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Phil Lacy
fa34110016 Bug 536920 - Cursor flashes and doesn't update during drag and drop operations. r=enndeakin. 2009-12-30 11:06:07 -06:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
L. David Baron
e3e86676fd Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 14:10:31 -05:00
Benjamin Smedberg
c2bbf9c677 Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
cef8b7a5f8 Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 06:35:46 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Olli Pettay
030763f552 Bug 528196 - Optimize nsEventTargetChainItem::HandleEvent, r=jst
--HG--
extra : rebase_source : 0399c7922f80ed1775b0fb154dc2342bd146f519
2009-12-18 20:50:49 +02:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Masayuki Nakano
34b513f2b4 Bug 531810 Right clicking on Google Maps broken after leaving Street View (Windows only) r=roc 2009-12-04 17:03:27 +09:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Makoto Kato
d37efc17c2 Bug 530939 - New crash [@ GenerateFlatTextContent] in Firefox 3.6b3. r=Olli.Pettay 2009-11-26 17:41:32 +09:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Olli Pettay
cab5358845 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 16:22:23 +02:00
Olli Pettay
d0250ab7c3 Backout Bug 523356 2009-11-17 13:56:49 +02:00
Olli Pettay
cc2bb5ab11 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 10:43:39 +02:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Masayuki Nakano
aa06237084 Bug 529282 Firefox 3.6b2 Crash [@ nsIMEStateManager::OnTextStateFocus(nsPresContext*, nsIContent*) ] r=roc 2009-11-17 21:40:59 +09:00
Masayuki Nakano
ab0f2e9ba1 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Peter Van der Beken
7e0a012c40 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Ginn Chen
a71f9dd073 Bug 526174 ERROR TEST-UNEXPECTED-FAIL | /tests/content/events/test/test_bug299673-1.html on Solaris r=enndeakin 2009-11-10 18:24:56 +08:00
Neil Deakin
858ddbf525 Bug 482070, stop mousemove event propagation when a drag has began, r=smaug 2009-11-09 09:55:53 -05:00
Olli Pettay
e719a185ca Bug 526286 - Detaching a tab by dragging it down into its content area stopped working, r=enndeakin, sr=jonas
--HG--
extra : rebase_source : bf3177dfb5a0947b66eb0c929c24ad46818f8d08
2009-11-05 16:39:18 +02:00
Olli Pettay
2c424b3794 Bug 526286 - Detaching a tab by dragging it down into its content area stopped working, r=enndeakin, sr=jonas
--HG--
extra : rebase_source : 7b04c1dc00bb1e55eba73222d185b37cbbb125be
2009-11-05 16:39:18 +02:00
Markus Stange
5e147c7052 Bug 517816 - We don't ever create DOM events for NS_PAINT events, so don't pretend we do. r=smaug
--HG--
extra : rebase_source : 860fbdffa9c96071effb997cf6b0b6b38f9819ce
2009-11-02 20:20:20 +01:00
Nochum Sossonko
bed500c3ec Bug 516372 - random failure in test_bug322588.html | unexpected events - got " unload", expected " unload load", r=matspal 2009-11-01 14:12:48 -08:00
Gijs Kruitbosch
f812694584 Followup fix for bug 524995, r=gavin 2009-10-30 10:57:36 +01:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Olli Pettay
ef18da75f3 Additional fix for Bug 517879 2009-10-24 20:20:00 +03:00
Olli Pettay
8d1c7e6a29 Bug 517879 - Move JS context pusher to event dispatcher, r=jst 2009-10-24 18:52:29 +03:00
Olli Pettay
1c736700d4 Bug 517851 - nsJSEventListener's string/atom handling can be optimized a bit, r=jst 2009-10-24 18:39:28 +03:00
Olli Pettay
63b621774f Bug 517844 - nsDOMEvent::GetType could cache the return value, r=jst 2009-10-24 18:06:01 +03:00
Boris Zbarsky
5ca7066094 Bug 523817. Make optional out params actually work and allow [retval] after [optional]. r=shaver 2009-10-23 16:24:47 -04:00
Olli Pettay
d02481b0d6 Bug 523569 - remove initXXXEventNS methods, r=sicking
--HG--
extra : rebase_source : fa251f645567f0bc63c1debbc64062d7145c5374
2009-10-21 21:35:42 +03:00
Olli Pettay
3a8a4c432f Bug 523111 - DOMEvent implementations should inherit first the base class, r=jwatt, sr=jst
--HG--
extra : rebase_source : 81cba369792644a99f42c1901dbf04196d007d53
2009-10-21 12:38:39 +03:00
Olli Pettay
79701a2085 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Olli Pettay
7e40ce018a Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
Jim Mathies
ffffc4dbe4 Bug 483776 - Update original data transfer mozCursor state during drags. r=bz. 2009-10-06 21:51:02 -05:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Masayuki Nakano
d01fa130dd Bug 518745 Two-finger trackpad scrolling triggers "ASSERTION: aAllowScrollSpeedOverride is true but the quantity isn't by-line scrolling." r=roc 2009-09-25 12:51:17 +09:00
Masayuki Nakano
dc3936158f Bug 513817 Switch scrolling to 6 lines in the default case for 3.6 on windows r=roc, ui=faaborg 2009-09-24 19:58:04 +09:00
Roy Frostig
049a9fbdc8 Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc 2009-09-11 16:13:56 -07:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Josh Aas
2dbe5949ee Replace usage of "::StillDown" with "CGEventSourceButtonState", 64-bit fix for layout. b=517392 r=mstange r=bz 2009-09-18 12:34:37 -04:00
Markus Stange
55aca69596 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Mats Palmgren
4da22c487b Make the test for bug 299673 use waitForFocus, and disable it on Linux. b=506175 r=enndeakin 2009-09-15 18:00:41 +02:00
Matin Movassate
f340c1fc76 Bug 515821: Make it possible to detect the presence of files during drags, even when we don't let you get to the actual File objects. Patch by Matin Movassate <matinm1@gmail.com>. r=Enn sr=sicking 2009-09-14 15:14:13 -07:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Masayuki Nakano
46e7090dcf Bug 512235 bug 462809 should be implemented in content/events, not widget/src/* r=roc+vlad 2009-09-03 16:07:18 +09:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00