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

3788 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 1b4d68bc0c Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert 2015-07-23 11:51:09 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jeff Walden fb6bc058ee Bug 1165533 - When testing DOMRect.top for getBoundingClientRect(), test only for +0, not for -0. r=Ms2ger
--HG--
extra : rebase_source : f8035b7443c35c82d9c79092d942091eb06ebfb8
2015-07-02 21:19:10 -07:00
William Chen e2a8b6bfa3 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey
--HG--
extra : rebase_source : 988379e48f84c04bcac181a6fc4c71325e3f0b02
2015-06-30 11:27:57 -07:00
Michael Layzell 0f9ea8b283 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-30 08:18:04 -04:00
Ehsan Akhgari da6d711504 Backout changeset d648becaa638 (bug 1170531) for test failures 2015-06-27 13:14:06 -07:00
Michael Layzell 8822471924 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-27 12:37:44 -07:00
Blake Kaplan 143fe7dc23 Bug 1168223 - Fix a crash caused by unexpected flushes under nsIEditor::SetFlags. r=ehsan 2015-06-25 13:58:01 -07:00
Carsten "Tomcat" Book 4161a5ac2b Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html
--HG--
extra : rebase_source : 9e1295d5c84bfbeed5c7c184d6d7419000fc8629
2015-06-22 15:21:02 +02:00
Neil Deakin ec3b6406c8 Bug 1153518, allow drops on editors when the source is a remote browser, r=ehsan 2015-06-22 09:00:35 -04:00
Michael Layzell a9c46a12ac Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-22 08:13:26 -04:00
Andrea Marchesini aa072e5e64 Bug 1170326 - nsHTMLCSSUtils::ParseLength should check if the input is an empty string, r=ehsan 2015-06-15 17:08:50 +01:00
Michael Layzell 293a84e371 Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-06-02 09:07:00 -04:00
Ryan VanderMeulen ee775a27a8 Bug 1067788 - Fix non-unified bustage. r=ehsan
--HG--
extra : amend_source : 012f1ae883c004b58d9b3df1e3f30dff8dab8ad1
extra : transplant_source : n%F7%AC%20%BB%DA%D1%9F%05g%83%C6%EDE%BD%82%E6%BD%FB%E1
2015-06-04 15:03:54 -04:00
Masayuki Nakano 29e56f5a88 Bug 1162818 part.6 Don't notify IME of anything during reframing the editor r=smaug 2015-06-05 02:06:10 +09:00
Masayuki Nakano a04cfb9c91 Bug 1162818 part.5 The offset of nsEditor::InsertTextImpl() should be minimum offset of IME selections if there is r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano e7292e052c Bug 1162818 part.4 Restore IME selection at initializing selection of the editor r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 50063a41f4 Bug 1162818 part.3 nsEditor should store actual composition string length in it r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 5364cd6821 Bug 1162818 part.2 Make it possible to set IME selection from outside of IMETextTxn r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 0453e65380 Bug 1162818 part.1 nsEditor shouldn't release/forget mComposition becuase it should be handled by it after reframing r=ehsan 2015-06-05 02:06:09 +09:00
Ted Clancy 20737c09c6 Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
--HG--
extra : rebase_source : e7800dac174b1bd155dc2630a410f55eadef0f6b
2015-06-01 15:19:57 -04:00
Masayuki Nakano 274f4c6cb1 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell eb959a2cdf Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
--HG--
extra : rebase_source : 1e7a8ff1ae6e243d8ac7a6a5a8efe2ef86a83dc3
2015-05-13 08:51:00 +02:00
Masayuki Nakano adc1af7a1e Bug 1168079 nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded() should ensure that there is a selection before calling nsEditor::GetStartNodeAndOffset() r=ehsan 2015-05-28 13:50:44 +09:00
Carsten "Tomcat" Book 65790b8959 Backed out changeset 1f0306d29dec (bug 1012662) 2015-05-26 13:33:48 +02:00
Carsten "Tomcat" Book a71e0153ee Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell c0bb6f08c3 Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-05-14 06:46:00 +02:00
Michael Layzell 35b7d65ef0 Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
--HG--
extra : rebase_source : cbdb141ce6be7c1f3ad77e031c8e282e47379d22
2015-05-13 08:51:00 +02:00
Michael Layzell c13b8f3ee6 Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan 2015-05-25 10:09:00 +02:00
Ehsan Akhgari 99f5d83f31 Bug 1166932 - Part 1: Copy the editor observers array before iterating over it; r=roc 2015-05-23 09:59:45 -04:00
Birunthan Mohanathas 33d00f98a4 Bug 1166840 - Merge SpecialPowers.{copyString,clipboardCopyString}. r=ehsan 2015-05-21 21:50:04 +01:00
Birunthan Mohanathas 3ffa8d565d Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Nathan Froyd 06a216ef04 Bug 1165982 - part 2 - validate an nsRange::SelectNode call in nsHTMLEditRules::Init; r=ehsan 2015-05-19 14:08:54 -04:00
Nathan Froyd a587185972 Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan 2015-05-22 09:58:30 -04:00
Michael Layzell c748c62a51 Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan 2015-05-21 06:37:00 -04:00
Michael Layzell 4e252b0ed5 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Ms2ger 2eb9170e70 Bug 1145395 - Introduce an overload of nsHTMLEditor::RemoveStyleInside that takes nsIContent&; r=ehsan 2015-05-13 17:58:26 +02:00
Ms2ger f1fd90a52d Bug 1145395 - Pass Element& to nsHTMLEditor::RemoveElementIfNoStyleOrIdOrClass; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger 6c69218669 Bug 1145395 - Introduce an overload of nsHTMLEditor::SelElementPosition that takes an Element; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger 75cc8673ff Bug 1145395 - Call nsINode::Length directly in nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger 646341aecf Bug 1145395 - Pass nsINode& to RemoveBodyAndHead in nsHTMLDataTransfer; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger 54e8e23135 Bug 1145395 - Pass nsIContent& to nsHTMLEditor::StripFormattingNodes; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger e72fde474e Bug 1145395 - Use the local fragment variable rather than *outFragNode; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger 5829c12a8a Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger f547a68b93 Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Jorg K d149dbdc08 Bug 1140617 - Don't clear inline style when pasting image. r=ehsan 2015-05-06 16:15:00 +02:00
Kartikaya Gupta 253b49cced Bug 1163640 - Fix the test for bug 417418 to not leave the widget in a drag session. r=ehsan 2015-05-11 17:21:30 -04:00
Anthony Tseng 6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Ehsan Akhgari c8e40d05a1 Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc
--HG--
extra : rebase_source : 41de38057faf9d3b7831c61e126ff14e39b2f0cd
2015-04-29 18:35:00 -04:00