Commit Graph

2355 Commits

Author SHA1 Message Date
Zack Weinberg
858895bdd4 Bug 1035091 part 2: disable @-moz-document in author sheets. r=heycam 2015-09-02 13:54:30 -04:00
Zack Weinberg
d89a3bcc67 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam 2015-09-02 13:52:49 -04:00
Jorg K
45b96e82a3 Bug 717433 - Make selected language stick, regardless of whether it partly matches (test). r=roc 2015-09-02 14:39:00 +02:00
Jorg K
f0af3921f9 Bug 717433 - Make selected language stick, regardless of whether it partly matches. r=roc 2015-09-01 23:12:00 -04:00
Masayuki Nakano
cb4d528a54 Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
5761c87ab2 Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
d443240a54 Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
05598ebcf2 Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Masayuki Nakano
d4d6d9f1a2 Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
e2ac3a5b13 Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
841b1687eb Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Masayuki Nakano
b81a488a6b Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
139fd7c4bd Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
fbeb8a34b6 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
56f12a5cf3 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
08c1409ff7 Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Ehsan Akhgari
354fcbf6b9 Bug 1198385 follow-up: Fix the build bustage on a CLOSED TREE 2015-08-25 16:28:40 -04:00
Ehsan Akhgari
cdcb080e36 Bug 1198385 - Use MFBT guard macros in the editor guard objects; r=froydnj 2015-08-25 16:14:45 -04:00
Ryan VanderMeulen
20b23b5be2 Backed out changeset 1904a234e142 (bug 1198385) for bustage.
CLOSED TREE
2015-08-25 16:09:05 -04:00
Ehsan Akhgari
3707ab280d Bug 1198385 - Use MFBT guard macros in the editor guard objects; r=froydnj 2015-08-25 15:57:56 -04:00
Christoph Kerschbaumer
c283d3171e Bug 1197002 - Use channel->Open2() in editor/libeditor/nsHTMLDataTransfer.cpp (r=sicking) 2015-08-21 20:33:42 -07:00
Masayuki Nakano
451161e458 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Justin Wood
8fa323c4ed Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas 2015-08-19 11:16:18 -04:00
Masayuki Nakano
27dc4cee3a Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc 2015-08-17 20:58:38 +09:00
William Chen
3332131be2 Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz 2015-08-14 10:52:38 -07:00
Aryeh Gregor
1611b3c887 Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Ehsan Akhgari
0f92a0ae08 Bug 1184689 - Remove two spammy editor warnings 2015-08-10 23:50:41 -04:00
Ehsan Akhgari
8c91b99061 Bug 1184665 - Remove a spammy editor warning 2015-08-10 23:50:40 -04:00
Ehsan Akhgari
ccebb1dff8 Bug 1184289 - Remove a spammy editor warning 2015-08-08 18:25:55 -04:00
Masayuki Nakano
a02bdf2020 Bug 1186799 part.2 Add test to check if IME selections are removed by committing composition caused by clicking outside of the focused contenteditable editor r=smaug 2015-08-08 09:23:04 +09:00
Masayuki Nakano
224dcb75b5 Bug 1186799 part.1 nsHTMLEditorEventListener should commit composition when it receives unacceptable mousedown event r=smaug 2015-08-08 09:23:04 +09:00
Aryeh Gregor
f846e5b2a9 Bug 1156062 part 1b - Convert some callers of nsEditor::SplitNodeDeep; r=ehsan 2015-08-05 18:10:09 +03:00
Aryeh Gregor
d5bdde37dc Bug 1156062 part 1a - New nsEditor::SplitNodeDeep variant; r=ehsan 2015-08-05 17:54:36 +03:00
Aryeh Gregor
afa308c66f Bug 1188180 - Fix possible uninitialized variable use; r=ehsan 2015-08-05 15:28:28 +03:00
Aryeh Gregor
3713e55caa Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj 2015-08-05 15:28:27 +03:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ting-Yu Lin
4626e33b68 Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 03:00:00 -04:00
Carsten "Tomcat" Book
32e8c042c4 Backed out changeset c5e6edadb0d1 (bug 1172382) for mulet R6 Reftest Failures 2015-07-27 08:47:23 +02:00
Ting-Yu Lin
f40c4d3ca9 Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 11:56:04 +08:00
Boris Zbarsky
21fbb68e4c 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
Kartikaya Gupta
74edb2a1fe Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
Eric Rahm
d38522a46f Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan 2015-07-22 09:24:59 -07:00
Eric Rahm
0dc8cdd770 Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan 2015-07-15 14:48:09 -07:00
Birunthan Mohanathas
47ed3a3675 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
Andrew Comminos
27be468ef5 Bug 1182494 - Set background-color to white when moz-appearance is none in editor reftests. r=mstange 2015-07-10 07:49:00 +02:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jeff Walden
74c963406d Bug 1165533 - When testing DOMRect.top for getBoundingClientRect(), test only for +0, not for -0. r=Ms2ger 2015-07-02 21:19:10 -07:00
William Chen
a3908e9075 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey 2015-06-30 11:27:57 -07:00
Michael Layzell
96985d8400 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-30 08:18:04 -04:00
Ehsan Akhgari
d917ea7752 Backout changeset d648becaa638 (bug 1170531) for test failures 2015-06-27 13:14:06 -07:00
Michael Layzell
33d515e124 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-27 12:37:44 -07:00
Blake Kaplan
c4d3d04511 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
0a17062dc6 Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html 2015-06-22 15:21:02 +02:00
Neil Deakin
ee53a88029 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
d4b27c154d Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-22 08:13:26 -04:00
Andrea Marchesini
267f106534 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
d753dc4cd7 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
47e7bddd3f Bug 1067788 - Fix non-unified bustage. r=ehsan 2015-06-04 15:03:54 -04:00
Masayuki Nakano
47c0f202ee 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
69922157e9 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
7ab4d75617 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
a2a0b90377 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
c41e8f35c0 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
ca81169ce6 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
f59df6856b Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu 2015-06-01 15:19:57 -04:00
Masayuki Nakano
e141236539 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell
c3f0b51876 Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan 2015-05-13 08:51:00 +02:00
Masayuki Nakano
b53b02cfb1 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
cb9c6c0c53 Backed out changeset 1f0306d29dec (bug 1012662) 2015-05-26 13:33:48 +02:00
Carsten "Tomcat" Book
6fb849d941 Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell
d028426485 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
bb0286ebef Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan 2015-05-13 08:51:00 +02:00
Michael Layzell
d21c1b02be 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
8ea139c10e 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
bb7ff5cd7f Bug 1166840 - Merge SpecialPowers.{copyString,clipboardCopyString}. r=ehsan 2015-05-21 21:50:04 +01:00
Birunthan Mohanathas
81f8950ec4 Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Nathan Froyd
2724ad7331 Bug 1165982 - part 2 - validate an nsRange::SelectNode call in nsHTMLEditRules::Init; r=ehsan 2015-05-19 14:08:54 -04:00
Nathan Froyd
f6a03b25ee Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan 2015-05-22 09:58:30 -04:00
Michael Layzell
4016022ad0 Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan 2015-05-21 06:37:00 -04:00
Michael Layzell
23cd225ef9 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Ms2ger
999914ad16 Bug 1145395 - Introduce an overload of nsHTMLEditor::RemoveStyleInside that takes nsIContent&; r=ehsan 2015-05-13 17:58:26 +02:00
Ms2ger
ee2a1d5e38 Bug 1145395 - Pass Element& to nsHTMLEditor::RemoveElementIfNoStyleOrIdOrClass; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
f7a6fe2c66 Bug 1145395 - Introduce an overload of nsHTMLEditor::SelElementPosition that takes an Element; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
efff968f9a Bug 1145395 - Call nsINode::Length directly in nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
4cfacd43fa Bug 1145395 - Pass nsINode& to RemoveBodyAndHead in nsHTMLDataTransfer; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
a13fb23e7f Bug 1145395 - Pass nsIContent& to nsHTMLEditor::StripFormattingNodes; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
d7dd8fdf8d Bug 1145395 - Use the local fragment variable rather than *outFragNode; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
a21fcabaac Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
797627c711 Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Jorg K
94893299c5 Bug 1140617 - Don't clear inline style when pasting image. r=ehsan 2015-05-06 16:15:00 +02:00
Kartikaya Gupta
4b1d4d7247 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
Jan Horak
d6f3caa6d1 Bug 967494 - "Preference Composition/Spelling/Language is ignored, and changing spellcheck language in one composition window affects all open and new compositions" [r=ehsan] 2015-04-28 12:01:00 +03:00
Ehsan Akhgari
0d96a01e8e Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
Anthony Tseng
c3e1645f26 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Ehsan Akhgari
97c6373a84 Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc 2015-04-29 18:35:00 -04:00
Mike Hommey
b848e4bfcf Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ehsan Akhgari
483acccf3a Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -04:00