Jeff Walden
98dd456fc1
Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
...
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Masayuki Nakano
d82ad83346
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Ms2ger
4538ce66ac
Bug 709523 - Part h: Remove unused variable in nsHTMLEditor::GetBodyElement; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
693d1581f3
Bug 709523 - Part g: Remove nsHTMLEditRules::{Will,Did}DeleteRange; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
776db17a69
Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
baaa328b07
Bug 709523 - Part e: Remove some overloads of TypeInState::{SetProp,ClearProp}; r=ehsan a=edmorley
2011-12-11 21:03:46 +01:00
Ms2ger
04edf4386e
Bug 709523 - Part d: Remove nsHTMLEditor::IsRootTag; r=ehsan a=edmorley
2011-12-11 21:00:28 +01:00
Ms2ger
8c6b69c5ee
Bug 709523 - Part c: Remove EditAggregateTxn::{GetCount,GetTxnAt,SetName}; r=ehsan a=edmorley
2011-12-11 21:00:27 +01:00
Ms2ger
e647b3eb40
Bug 709523 - Part b: Remove nsDOMIterator::ForEach; r=ehsan a=edmorley
2011-12-11 21:00:25 +01:00
Ms2ger
4671ebdb7a
Bug 709523 - Part a: Remove nsDOMSubtreeIterator::Init; r=ehsan a=edmorley
2011-12-11 21:00:23 +01:00
Jan Bambach
2cd6ae449b
Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao
2011-12-08 10:21:32 +01:00
Masayuki Nakano
5aaeb19ce0
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske
2011-12-07 14:13:06 +09:00
Ms2ger
ae2f0c6a74
Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan
2011-12-03 22:50:17 +01:00
Ms2ger
3ca7221ed9
Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan
2011-12-03 22:50:17 +01:00
Fabien Cazenave
67ba2ac03b
Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan
2011-12-03 22:50:15 +01:00
Masayuki Nakano
145d565bb0
Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan
2011-11-30 11:57:41 +09:00
Boris Zbarsky
b327466b66
Bug 635618 part 5. Pass an optional argument to GetPriorNode and GetNextNode to limit the search. r=ehsan
2011-11-28 07:54:32 -05:00
Boris Zbarsky
934bc3d8e0
Bug 635618 part 4. Switch GetNextNode and GetPriorNode to working with nsINode. r=ehsan
2011-11-28 07:54:14 -05:00
Boris Zbarsky
a4cebc0963
Bug 635618 part 3. Switch GetPriorNodeImpl and GetNextNodeImpl to working with nsINode. r=ehsan
2011-11-28 07:54:03 -05:00
Boris Zbarsky
100a69dffc
Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan
2011-11-28 07:53:29 -05:00
Boris Zbarsky
4d317e516c
Bug 635618 part 1. Only get computed style in IsElementVisible if we end up in a situation where we're waiting on lazy frame construction. r=ehsan
2011-11-28 07:53:15 -05:00
Masayuki Nakano
41b9f0b138
Bug 685395 part.6 Notify mouse click event on editor to widget r=roc+smaug+doug.turner
2011-11-27 20:51:53 +09:00
Masayuki Nakano
1360b0f19b
Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal
2011-11-27 20:51:53 +09:00
Masayuki Nakano
c51f522330
Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan
2011-11-27 09:36:36 +09:00
Masayuki Nakano
e5b55da467
Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan
2011-11-26 13:51:49 +09:00
Ehsan Akhgari
8e6c11ce28
Bug 674770 part.3 Add tests for middle-clicking on anchor element when the page has contenteditable element r=roc
2011-11-26 13:51:49 +09:00
Masayuki Nakano
7738b4cb1c
Bug 674770 part.2 Fix new test_bug597331.html failure and test_bug600570.html failur on Windows r=ehsan
2011-11-26 13:51:48 +09:00
Masayuki Nakano
27cba84c99
Bug 674770 part.1 Shouldn't accept click event if the event target isn't in focused editor r=ehsan
2011-11-26 13:51:48 +09:00
Ehsan Akhgari
abf9372815
Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc
2011-11-18 16:47:40 -05:00
Ms2ger
7d213b5c58
Bug 702102 - Cleanup nsHTMLEditor::GetEmbeddedObjects; r=ehsan
2011-11-16 08:50:20 +01:00
Oonishi Atsushi
ebc58fb880
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
d0aac143b2
Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz
2011-10-29 22:21:20 +02:00
Ms2ger
d559f12c63
Bug 690120 - Make nsEditor::GetAttributeValue not use attribute nodes; r=ehsan
2011-10-29 22:19:27 +02:00
Ms2ger
567f4260b6
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Jonas Sicking
0588c874fd
Bug 687400: Kill Node.isSameNode. r=smaug
2011-10-28 19:52:27 -07:00
Ehsan Akhgari
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
441646faaa
Backout changeset a4d5ca366ef1 (bug 612128 followup) because of bug 688423
2011-10-25 22:31:15 -04:00
Ehsan Akhgari
50052a640f
Bug 612128 followup - Adjust the assertion count because bug bug 695364 should be fixed now
2011-10-20 14:01:12 -04:00
Ehsan Akhgari
8cfbed187e
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
6142aabb94
Bug 688789 - Stop touching the frame tree to determine whether a node is editable or not; r=roc
2011-10-17 00:11:29 -04:00
Ehsan Akhgari
2a602a5685
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
Quentin Headen
2fe3ac75d0
Bug 364914 - Do not spell check the contents of a textarea until it's focused for the first time; r=ehsan
2011-10-16 22:06:24 -04:00
Jeff Walden
b7753477cf
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
Joel Maher
fd8629a74b
Bug 573735 - support waitForClipboard events in e10s. r=jdm,ted
2011-10-14 07:52:02 -04:00
Henri Sivonen
f0d03766ac
Bug 677050 - Return NS_ERROR_DOM_INVALID_STATE_ERR if fragment parsing is invoked re-entrantly. r=bzbarsky.
2011-10-14 13:39:19 +03:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
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