Commit Graph

658 Commits

Author SHA1 Message Date
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
6d1abf34cd Bug 578696 part 2. Make nsXMLEventsManager inherit from nsStubDocumentObserver. r=sicking 2010-07-21 11:33:31 -04:00
Markus Stange
b5159a8bd0 Bug 392188 - Add a XUL attribute called "clickthrough" that determines whether an element accepts mouse events when it's in a background window. r=smaug 2010-07-16 14:50:28 +02:00
Robert O'Callahan
968444e08b Bug 573933. Part 3: Fix button-state test to render a margin around the button so we don't get into any weird sampling issues. Also, use a canvas that's just as big as necessary. r=dbaron 2010-07-16 09:07:43 +12:00
Robert Kaiser
1127ddd8f5 Bug 557120 - [SeaMonkey 2.1] mochitest-plain-1: it seems test_bug457672.html "leaks the world". r=smaug
--HG--
extra : rebase_source : 002c31bd38438e88444e7578faaa065133f4b5ae
2010-06-12 15:17:00 -04:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Olli Pettay
41b6035eee Bug 568955 - Optimize nsDOMEvent::SetEventType, r=sicking
--HG--
extra : rebase_source : e98c945ce5e7b494bd2046efd6dc7b8379fabc51
2010-06-22 21:12:12 +03:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Felipe Gomes
6a58c784dc Bug 555081 - Add support for titlebar mouse interaction and address missing aero features. r=jmathies, smaug, vlad. 2010-06-28 01:04:05 -05:00
Geoff Lankow
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Timothy Nikkel
32158fa7f0 Bug 572294. Make sure the refpoint is relative to the widget we use on the drop event. r=roc 2010-06-25 16:51:17 -05:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Mounir Lamouri
a821ae13af Bug 456229 - Implement <input type="search">. r=smaug sr=sicking 2010-05-17 12:20:22 +02:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Karl Tomlinson
f48d8a05cd b=564972 Add NS_IS_MOUSE_EVENT_STRUCT to test event class and use it to correct assert r=smaug 2010-05-13 14:33:16 +12:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Ehsan Akhgari
c0245df31d Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others) 2010-06-03 21:28:03 -04:00
Masayuki Nakano
d075ac396c Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc 2010-06-02 16:24:56 +09:00
Markus Stange
5b01220cdf Bug 426082 - Fix the test to deal with focus rings correctly. 2010-05-31 21:10:55 +02:00
Markus Stange
82e6086d92 Bug 426082, part 4: Test. r=smaug 2010-05-31 19:50:55 +02:00
Markus Stange
77a4281c8d Bug 426082, part 3: Reflect a label's :hover/:active state on its associated natively themed control.
This patch adds an aFollowLabels argument to nsIEventStateManager::GetContentState which defaults to false. Setting it to true will return NS_EVENT_STATE_HOVER / _ACTIVE for labeled controls even if only their label is subject to this state. At the moment this flag is only set by native theming, so there won't be an observable change for the :hover / :active pseudoclasses.
In order to make dynamic state changes on the label work, SetContentState will now always notify the labeled control of state changes when its label changes state.
r=smaug
2010-05-31 19:49:55 +02:00
Markus Stange
5e59cfef32 Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02:00
Markus Stange
ba23dd0663 Bug 426082, part 1: Some refactoring in nsEventStateManager::Get/SetContentState. r=dbaron 2010-05-31 19:47:11 +02:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Neil Deakin
847d6ce201 Bug 564277, fix up various focus ring issues for html elements, r=smaug 2010-06-21 08:37:34 -04:00
wfernandom2004@gmail.com
eac77c5f8b Bug 562681, websockets (protocol v76), r=smaug
--HG--
extra : rebase_source : 3fd1b153d688eba6fa6ffb499bc704dd9ca2a3c2
2010-06-17 21:36:01 +03:00
Marco Bonardo
cd3778006d whoops, remove backslash 2010-06-16 12:31:25 +02:00
Marco Bonardo
f971593d97 Disable test for bug 563329 since it's timing out often 2010-06-16 12:20:28 +02:00
Vivien Nicolas
27fdccc31f Bug 563329 - Add a preference to enable/disable click hold context menus [r=smaug] 2010-06-16 09:36:11 +02:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Chris Jones
1b1a244ef5 Fix merge bustage 2010-04-16 01:58:01 -05:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Olli Pettay
38d20b75c6 Bug 558795 - speed up nsEventTargetChainItem (de)allocation, r=jst 2010-04-15 12:38:32 +03:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Olli Pettay
82feff3515 Bug 556493 - No click fired when mousedown on the text of an element and mouseup on empty area, r=jst
--HG--
extra : rebase_source : bf2257df87153638358404878d03c09193014125
2010-06-15 16:29:23 +03:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Olli Pettay
fa43aded81 Bug 548185 - Crash on event.dataTransfer, r=enn 2010-03-25 22:38:53 +02:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Masayuki Nakano
6aa99dc4be Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Theppitak Karoonboonyanan
a70764b887 Bug 353776 need the surrounding text support for some language input r=masayuki 2010-03-25 00:04:39 +09:00
Rob Arnold
6ab735510f Bug 510037 - Remove obsolete widget events r=roc r=smaug 2010-04-29 18:03:00 -04:00
Marco Bonardo
476f09781f Backing out Bug 561741 due to suspect Linux crash on startup 2010-05-12 11:14:50 +02:00
Mounir Lamouri
cbf74508a5 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Alexander Surkov
f5c4405b10 Bug 561741 - use nsAccessible outside an accessible module, r=smaug, neil, joshmoz, marcoz, davidb, smichaud, sr=roc 2010-05-12 15:47:35 +09:00
Karl Tomlinson
40600ec5f2 b=560011 only assert !eSynthesized for NS_MOUSE_EVENT r=smaug
--HG--
extra : rebase_source : ce1d5f5ad006be162471155cab300a49b7a12f93
2010-04-21 14:51:47 +12:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Masayuki Nakano
2e04f8ba90 Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc 2010-04-10 18:24:35 +09:00
Masayuki Nakano
8b0678d007 Bug 568135 IME composition string is committed unexpectedly on Gmail when editor flag was changed by some commands r=smaug 2010-05-27 11:04:14 +09:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Olli Pettay
77e641332d Bug 558773 - Reduce virtual calls during event dispatch, r=jst
--HG--
extra : rebase_source : 120097522b111c637d11b2fb0cec071fbf927f95
2010-04-16 12:04:41 +03:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Alexander Surkov
527741dff1 Bug 561741 - use nsAccessible outside an accessible module, r=smaug, neil, joshmoz, marcoz, davidb, smichaud, sr=roc 2010-05-12 15:47:35 +09:00
Doug Turner
9e52c27932 merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Jason Duell
69b885991b Merge from m-c in order to fix e10s necko hangs caused by last m-c merge. 2010-03-19 23:55:40 -07:00
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
Doug Turner
4956b23fb3 Merge with m-c 2010-03-18 21:53:17 -07:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08: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
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06: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
Olli Pettay
72dc86132d Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg 2010-02-20 19:05:20 +02: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
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05: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
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
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08: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
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Karl Tomlinson
4ae5415e56 b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug 2010-03-24 16:36:27 +13:00