Birunthan Mohanathas
ea76f4de7b
Bug 1028565 - Part 3: Flatten editor/txtsvc/{public,src}/ directories. r=ehsan
...
--HG--
rename : editor/txtsvc/src/nsFilteredContentIterator.cpp => editor/txtsvc/nsFilteredContentIterator.cpp
rename : editor/txtsvc/src/nsFilteredContentIterator.h => editor/txtsvc/nsFilteredContentIterator.h
rename : editor/txtsvc/public/nsIInlineSpellChecker.idl => editor/txtsvc/nsIInlineSpellChecker.idl
rename : editor/txtsvc/public/nsISpellChecker.h => editor/txtsvc/nsISpellChecker.h
rename : editor/txtsvc/public/nsITextService.h => editor/txtsvc/nsITextService.h
rename : editor/txtsvc/public/nsITextServicesDocument.h => editor/txtsvc/nsITextServicesDocument.h
rename : editor/txtsvc/public/nsITextServicesFilter.idl => editor/txtsvc/nsITextServicesFilter.idl
rename : editor/txtsvc/src/nsTSAtomList.h => editor/txtsvc/nsTSAtomList.h
rename : editor/txtsvc/public/nsTextServicesCID.h => editor/txtsvc/nsTextServicesCID.h
rename : editor/txtsvc/src/nsTextServicesDocument.cpp => editor/txtsvc/nsTextServicesDocument.cpp
rename : editor/txtsvc/src/nsTextServicesDocument.h => editor/txtsvc/nsTextServicesDocument.h
rename : editor/txtsvc/src/nsTextServicesFactory.cpp => editor/txtsvc/nsTextServicesFactory.cpp
2014-06-23 16:27:43 -07:00
Birunthan Mohanathas
067407ac47
Bug 1028565 - Part 2: Flatten editor/txmgr/{idl,public,src}/ directories. r=ehsan
...
--HG--
rename : editor/txmgr/idl/nsITransaction.idl => editor/txmgr/nsITransaction.idl
rename : editor/txmgr/idl/nsITransactionList.idl => editor/txmgr/nsITransactionList.idl
rename : editor/txmgr/idl/nsITransactionListener.idl => editor/txmgr/nsITransactionListener.idl
rename : editor/txmgr/idl/nsITransactionManager.idl => editor/txmgr/nsITransactionManager.idl
rename : editor/txmgr/src/nsTransactionItem.cpp => editor/txmgr/nsTransactionItem.cpp
rename : editor/txmgr/src/nsTransactionItem.h => editor/txmgr/nsTransactionItem.h
rename : editor/txmgr/src/nsTransactionList.cpp => editor/txmgr/nsTransactionList.cpp
rename : editor/txmgr/src/nsTransactionList.h => editor/txmgr/nsTransactionList.h
rename : editor/txmgr/src/nsTransactionManager.cpp => editor/txmgr/nsTransactionManager.cpp
rename : editor/txmgr/src/nsTransactionManager.h => editor/txmgr/nsTransactionManager.h
rename : editor/txmgr/public/nsTransactionManagerCID.h => editor/txmgr/nsTransactionManagerCID.h
rename : editor/txmgr/src/nsTransactionManagerFactory.cpp => editor/txmgr/nsTransactionManagerFactory.cpp
rename : editor/txmgr/src/nsTransactionStack.cpp => editor/txmgr/nsTransactionStack.cpp
rename : editor/txmgr/src/nsTransactionStack.h => editor/txmgr/nsTransactionStack.h
2014-06-23 16:27:43 -07:00
Birunthan Mohanathas
328492001a
Bug 1028565 - Part 1: Flatten editor/composer/{public,src}/ directories. r=ehsan
...
--HG--
rename : editor/composer/src/crashtests/351236-1.html => editor/composer/crashtests/351236-1.html
rename : editor/composer/src/crashtests/407062-1.html => editor/composer/crashtests/407062-1.html
rename : editor/composer/src/crashtests/419563-1.xhtml => editor/composer/crashtests/419563-1.xhtml
rename : editor/composer/src/crashtests/428844-1-inner.xhtml => editor/composer/crashtests/428844-1-inner.xhtml
rename : editor/composer/src/crashtests/428844-1.html => editor/composer/crashtests/428844-1.html
rename : editor/composer/src/crashtests/461049-1.html => editor/composer/crashtests/461049-1.html
rename : editor/composer/src/crashtests/crashtests.list => editor/composer/crashtests/crashtests.list
rename : editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/crashtests/removing-editable-xslt-inner.xhtml
rename : editor/composer/src/crashtests/removing-editable-xslt.html => editor/composer/crashtests/removing-editable-xslt.html
rename : editor/composer/src/nsComposeTxtSrvFilter.cpp => editor/composer/nsComposeTxtSrvFilter.cpp
rename : editor/composer/src/nsComposeTxtSrvFilter.h => editor/composer/nsComposeTxtSrvFilter.h
rename : editor/composer/src/nsComposerCommands.cpp => editor/composer/nsComposerCommands.cpp
rename : editor/composer/src/nsComposerCommands.h => editor/composer/nsComposerCommands.h
rename : editor/composer/src/nsComposerCommandsUpdater.cpp => editor/composer/nsComposerCommandsUpdater.cpp
rename : editor/composer/src/nsComposerCommandsUpdater.h => editor/composer/nsComposerCommandsUpdater.h
rename : editor/composer/src/nsComposerController.cpp => editor/composer/nsComposerController.cpp
rename : editor/composer/src/nsComposerController.h => editor/composer/nsComposerController.h
rename : editor/composer/src/nsComposerDocumentCommands.cpp => editor/composer/nsComposerDocumentCommands.cpp
rename : editor/composer/src/nsComposerRegistration.cpp => editor/composer/nsComposerRegistration.cpp
rename : editor/composer/src/nsEditingSession.cpp => editor/composer/nsEditingSession.cpp
rename : editor/composer/src/nsEditingSession.h => editor/composer/nsEditingSession.h
rename : editor/composer/src/nsEditorSpellCheck.cpp => editor/composer/nsEditorSpellCheck.cpp
rename : editor/composer/src/nsEditorSpellCheck.h => editor/composer/nsEditorSpellCheck.h
rename : editor/composer/public/nsIEditingSession.idl => editor/composer/nsIEditingSession.idl
rename : editor/composer/src/res/EditorOverride.css => editor/composer/res/EditorOverride.css
rename : editor/composer/src/res/grabber.gif => editor/composer/res/grabber.gif
rename : editor/composer/src/res/table-add-column-after-active.gif => editor/composer/res/table-add-column-after-active.gif
rename : editor/composer/src/res/table-add-column-after-hover.gif => editor/composer/res/table-add-column-after-hover.gif
rename : editor/composer/src/res/table-add-column-after.gif => editor/composer/res/table-add-column-after.gif
rename : editor/composer/src/res/table-add-column-before-active.gif => editor/composer/res/table-add-column-before-active.gif
rename : editor/composer/src/res/table-add-column-before-hover.gif => editor/composer/res/table-add-column-before-hover.gif
rename : editor/composer/src/res/table-add-column-before.gif => editor/composer/res/table-add-column-before.gif
rename : editor/composer/src/res/table-add-row-after-active.gif => editor/composer/res/table-add-row-after-active.gif
rename : editor/composer/src/res/table-add-row-after-hover.gif => editor/composer/res/table-add-row-after-hover.gif
rename : editor/composer/src/res/table-add-row-after.gif => editor/composer/res/table-add-row-after.gif
rename : editor/composer/src/res/table-add-row-before-active.gif => editor/composer/res/table-add-row-before-active.gif
rename : editor/composer/src/res/table-add-row-before-hover.gif => editor/composer/res/table-add-row-before-hover.gif
rename : editor/composer/src/res/table-add-row-before.gif => editor/composer/res/table-add-row-before.gif
rename : editor/composer/src/res/table-remove-column-active.gif => editor/composer/res/table-remove-column-active.gif
rename : editor/composer/src/res/table-remove-column-hover.gif => editor/composer/res/table-remove-column-hover.gif
rename : editor/composer/src/res/table-remove-column.gif => editor/composer/res/table-remove-column.gif
rename : editor/composer/src/res/table-remove-row-active.gif => editor/composer/res/table-remove-row-active.gif
rename : editor/composer/src/res/table-remove-row-hover.gif => editor/composer/res/table-remove-row-hover.gif
rename : editor/composer/src/res/table-remove-row.gif => editor/composer/res/table-remove-row.gif
rename : editor/composer/src/res/text_caret.png => editor/composer/res/text_caret.png
rename : editor/composer/src/res/text_caret@1.5x.png => editor/composer/res/text_caret@1.5x.png
rename : editor/composer/src/res/text_caret@2.25x.png => editor/composer/res/text_caret@2.25x.png
rename : editor/composer/src/res/text_caret@2x.png => editor/composer/res/text_caret@2x.png
rename : editor/composer/src/res/text_caret_tilt_left.png => editor/composer/res/text_caret_tilt_left.png
rename : editor/composer/src/res/text_caret_tilt_left@1.5x.png => editor/composer/res/text_caret_tilt_left@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_left@2.25x.png => editor/composer/res/text_caret_tilt_left@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_left@2x.png => editor/composer/res/text_caret_tilt_left@2x.png
rename : editor/composer/src/res/text_caret_tilt_right.png => editor/composer/res/text_caret_tilt_right.png
rename : editor/composer/src/res/text_caret_tilt_right@1.5x.png => editor/composer/res/text_caret_tilt_right@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_right@2.25x.png => editor/composer/res/text_caret_tilt_right@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_right@2x.png => editor/composer/res/text_caret_tilt_right@2x.png
rename : editor/composer/src/res/text_selection_handle.png => editor/composer/res/text_selection_handle.png
rename : editor/composer/src/res/text_selection_handle@1.5.png => editor/composer/res/text_selection_handle@1.5.png
rename : editor/composer/src/res/text_selection_handle@2.png => editor/composer/res/text_selection_handle@2.png
2014-06-23 16:27:43 -07:00
Masayuki Nakano
f850719aaf
Bug 1028485 Don't set caret position over actual inserted string at commiting composition r=ehsan
2014-06-24 10:06:20 +09:00
Benoit Jacob
f157151cfb
Bug 1028588 - Fix dangerous public destructors in editor/ - r=ehsan
2014-06-23 18:40:02 -04:00
Geoff Brown
99eba27f48
Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame
2014-06-23 08:35:52 -06:00
Masayuki Nakano
9ab10590fc
Bug 1026397 part.2 Shouldn't separate input string between a surrogate pair at handling maxlength r=smontagu+ehsan
2014-06-21 12:17:48 +09:00
Masayuki Nakano
697372c4ac
Bug 1026397 part.1 Add tests for inputting surrogate pair character r=ehsan
2014-06-21 12:17:47 +09:00
Yuki Sekiguchi
f7ce3d30ca
Bug 664104 - Part 2: Make ruby related element HTMLElement. r=wchen
2014-06-20 17:08:31 -07:00
Ms2ger
bad4ca4d29
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
451c7edf83
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
9fb7f507f0
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Birunthan Mohanathas
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Wes Kocher
1416242684
Merge inbound to m-c a=merge
2014-06-13 17:00:46 -07:00
Andrew Halberstadt
2aa6a20e6b
Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley
2014-06-13 10:05:52 -04:00
Ehsan Akhgari
7e6164be6a
Bug 998532 - Fix a crash in nsEditor::DetermineCurrentDirection(); r=roc
2014-06-12 19:53:36 -04:00
Brian Birtles
9247e28790
Bug 77992 part 2 - Make event.timeStamp use TimeStamp value based on a pref; r=smaug
...
Note that this pref isn't fully live since the timeStamp member of the event
interface is [Pure] and so values will be cached.
2014-06-06 14:29:49 +09:00
Morris Tseng
5d9e036945
Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc
2014-06-04 22:58:00 +02:00
David Zbarsky
dce20d18a7
Bug 1015433: Backout bug 828169 for regressing text editing
2014-06-04 23:51:34 -04:00
Masayuki Nakano
d0367270e1
Bug 1008772 part.3 Fix new orages caused by tabbrowser consuming some key events at keydown r=smaug
2014-06-05 11:57:54 +09:00
Phoebe Chang
4286f5c0d3
Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs
2014-06-03 15:08:54 +08:00
Phoebe Chang
a37fc5efe4
Bug 924692 - Part 1: Add touch caret rendering support; r=roc
2014-06-03 15:08:25 +08:00
Carsten "Tomcat" Book
d11f7b8a5e
Backed out changeset e2a22ba1d1e4 (bug 1015433) for build bustages
2014-05-31 17:06:29 +02:00
David Zbarsky
ebbde442da
Bug 1015433: Backout bug 828169 for regressing text editing
2014-05-31 10:49:38 -04:00
Birunthan Mohanathas
d9e420fc7c
Bug 869836 - Part 12: Use `Assign('c')` instead of `AssignLiteral("c")`. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Carsten "Tomcat" Book
5f4bdd154a
merge b2g-inbound to mozilla-central
2014-05-26 15:26:11 +02:00
Wes Kocher
4fef3cddfb
Merge m-c to b2g-inbound
2014-05-23 17:39:48 -07:00
Vincent Chen
c53b5f77a8
Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal
2014-05-23 15:56:15 -04:00
Alex Henrie
d02aeda7e5
Bug 997921 - Restore pre-FF29 XUL textbox padding. r=roc
2014-05-23 22:03:54 -06:00
Ehsan Akhgari
52accff3a3
Bug 1013664 - Fix bad implicit conversion constructors in XPCOM; r=froydnj
...
--HG--
extra : rebase_source : e3260a536292175cb1ad23a53dfe9e3f4bb8ff10
2014-05-21 21:33:28 -04:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan
2014-05-22 06:48:51 +03:00
Daniel Holbert
5b3b530dc0
backout c3f1ab75ea51 (bug 421436) for regressing bug 439462
2014-05-22 15:10:20 -07:00
Ehsan Akhgari
1059d7a2eb
Bug 1014246 - Don't drop the newline handling preference for the editor on the floor when it gets reinitialized; r=roc
2014-05-22 18:06:44 -04:00
Simon Montagu
93df14c3c1
Remove the hack making all <br> frames 1 app unit wide. Bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Carsten "Tomcat" Book
1210c78f20
Backed out changeset 0aaa18232af4 (bug 421436) for causing reftest failures
2014-05-19 13:11:59 +02:00
Simon Montagu
8f5665ccfa
Remove the hack making all <br> frames 1 app unit wide, bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Aryeh Gregor
758f1e547a
Bug 1004522 part 14 - Clean up nsWSRunObject::GetWSPointBefore/After; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
37f53ee89d
Bug 1004522 part 13 - Clean up nsWSRunObject::GetAsciiWSBounds; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
e0ba52c041
Bug 1004522 part 12 - Clean up nsWSRunObject::DeleteChars; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
37717a0d9a
Bug 1004522 part 11 - Convert nsWSRunObject.mNodeArray to nsTArray<nsRefPtr<Text>>; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
1f80f52434
Bug 1004522 part 10 - Clean up nsWSRunObject::CheckLeading/TrailingNBSP, ConvertToNBSP; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
495f2197a8
Bug 1004522 part 9 - Clean up nsWSRunObject::FindRun; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
101fee1b4a
Bug 1004522 part 8 - Clean up nsWSRunObject::GetCharBefore/After; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
0809e3eb56
Bug 1004522 part 7 - Clean up nsWSRunObject::Prior/NextVisibleNode; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
82ab56c87a
Bug 1004522 part 6 - Clean up nsWSRunObject::InsertText; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
6730b80305
Bug 1004522 part 5 - Clean up nsWSRunObject::PrepareToSplitAcrossBlocks; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
5eb1f59ef7
Bug 1004522 part 4 - Clean up nsWSRunObject::PrepareToDeleteNode; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
f0240016ee
Bug 1004522 part 3 - Clean up nsWSRunObject::PrepareToDeleteRange; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
9ec4f69a16
Bug 1004522 part 2 - Clean up nsWSRunObject::DeleteWSForward; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
c2263d595b
Bug 1004522 part 1 - Clean up nsWSRunObject::PrepareToJoinBlocks; r=ehsan
2014-05-02 15:15:26 +03:00
Carsten "Tomcat" Book
548f936766
Backed out changeset 1bcdb4573884 (bug 1004522) for bustage on a CLOSED TREE
2014-05-12 14:13:17 +02:00
Carsten "Tomcat" Book
69a6986aad
Backed out changeset 4b6e7f88a2ed (bug 1004522)
2014-05-12 14:12:56 +02:00
Carsten "Tomcat" Book
81a6e2bdbd
Backed out changeset d50b5064f930 (bug 1004522)
2014-05-12 14:12:55 +02:00
Carsten "Tomcat" Book
554b15cba3
Backed out changeset ae46dc18288d (bug 1004522)
2014-05-12 14:12:53 +02:00
Carsten "Tomcat" Book
07188e0b5a
Backed out changeset 6081479204a0 (bug 1004522)
2014-05-12 14:12:52 +02:00
Carsten "Tomcat" Book
7979498a48
Backed out changeset 774ba83e548f (bug 1004522)
2014-05-12 14:12:50 +02:00
Carsten "Tomcat" Book
94ae20d951
Backed out changeset 6cc778964f67 (bug 1004522)
2014-05-12 14:12:47 +02:00
Carsten "Tomcat" Book
077cfcbca2
Backed out changeset 59107353aa68 (bug 1004522)
2014-05-12 14:12:44 +02:00
Carsten "Tomcat" Book
fc1f764e7f
Backed out changeset c5a647958511 (bug 1004522)
2014-05-12 14:12:42 +02:00
Carsten "Tomcat" Book
e90181e54f
Backed out changeset a30efac96e5e (bug 1004522)
2014-05-12 14:12:40 +02:00
Carsten "Tomcat" Book
5f746a4576
Backed out changeset e905f03505e3 (bug 1004522)
2014-05-12 14:12:39 +02:00
Carsten "Tomcat" Book
a986dadf6e
Backed out changeset 79a84a415709 (bug 1004522)
2014-05-12 14:12:38 +02:00
Carsten "Tomcat" Book
75a708858b
Backed out changeset 9804226ea5cc (bug 1004522)
2014-05-12 14:12:36 +02:00
Carsten "Tomcat" Book
df1ef420c5
Backed out changeset 31c65c736f32 (bug 1004522)
2014-05-12 14:12:34 +02:00
Aryeh Gregor
1bf0a89ab7
Bug 1004522 part 14 - Clean up nsWSRunObject::GetWSPointBefore/After; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
e186271f6e
Bug 1004522 part 13 - Clean up nsWSRunObject::GetAsciiWSBounds; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
bce8f0f030
Bug 1004522 part 12 - Clean up nsWSRunObject::DeleteChars; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
8874f62969
Bug 1004522 part 11 - Convert nsWSRunObject.mNodeArray to nsTArray<nsCOMPtr<Text>>; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
ba7d0c9171
Bug 1004522 part 10 - Clean up nsWSRunObject::CheckLeading/TrailingNBSP, ConvertToNBSP; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
5e9f1f02fb
Bug 1004522 part 9 - Clean up nsWSRunObject::FindRun; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
3bc39ef1e7
Bug 1004522 part 8 - Clean up nsWSRunObject::GetCharBefore/After; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
f7f6ccd406
Bug 1004522 part 7 - Clean up nsWSRunObject::Prior/NextVisibleNode; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
df7ca0138c
Bug 1004522 part 6 - Clean up nsWSRunObject::InsertText; r=ehsan
2014-05-02 15:15:27 +03:00
Aryeh Gregor
028db4aeff
Bug 1004522 part 5 - Clean up nsWSRunObject::PrepareToSplitAcrossBlocks; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
bc64cfe2ad
Bug 1004522 part 4 - Clean up nsWSRunObject::PrepareToDeleteNode; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
bcd9c426d2
Bug 1004522 part 3 - Clean up nsWSRunObject::PrepareToDeleteRange; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
dba23e2229
Bug 1004522 part 2 - Clean up nsWSRunObject::DeleteWSForward; r=ehsan
2014-05-02 15:15:26 +03:00
Aryeh Gregor
f3ede06db7
Bug 1004522 part 1 - Clean up nsWSRunObject::PrepareToJoinBlocks; r=ehsan
2014-05-02 15:15:26 +03:00
Neil Rashbrook
8d54e5cbb7
Bug 1003894 Followup to switch from Text to nsIContent so that we can safely use do_QueryInterface r=ehsan
2014-05-10 21:16:03 +01:00
Ehsan Akhgari
ff54855fd2
Bug 1007940 - Improve the performance of editor initialization; r=bzbarsky
2014-05-09 17:02:29 -04:00
Benoit Jacob
60d536773a
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Chris Peterson
3afa325a27
Bug 1006982 - Refactor anchor tag utility functions in nsHTMLEditor.cpp. r=ehsan
2014-05-06 21:29:20 -07:00
Chris Peterson
d293903419
Bug 1006982 - Fix -Wuninitialized warning in libeditor. r=ehsan
2014-05-06 21:07:50 -07:00
Aryeh Gregor
d0d76be020
Bug 1003894 part 5 - Clean up nsWSRunObject::ScrubBlockBoundary; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
3e74b928c2
Bug 1003894 part 4 - Clean up nsWSRunObject::DeleteWSBackward; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
1c724e9858
Bug 1003894 part 3 - Clean up nsWSRunObject::InsertBreak; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
e17badd36f
Bug 1003894 part 2 - Clean up nsWSRunObject::CheckTrailingNBSPOfRun; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
558e69bc33
Bug 1003894 part 1 - Change WSPoint.mTextNode to Text; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
e4533f6658
Bug 1003808 part 10 - Clean up nsWSRunObject::GetPrevious/NextWSNode; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
171d2401f1
Bug 1003808 part 9 - Clean up nsWSRunObject::GetRuns; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
ad717818ac
Bug 1003808 part 8 - Use some more nsINode in nsWSRunObject; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
8ae50792a2
Bug 1003808 part 7 - Convert WSFragment members to nsINode; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
f23adf22a3
Bug 1003808 part 6 - Convert nsWSRunObject members to nsINode; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
3c75180fb9
Bug 1003808 part 5 - Allow nsEditor::IsEditable to take nsINode*; r=ehsan
2014-04-28 19:03:12 +03:00
Aryeh Gregor
af080de362
Bug 1003808 part 4 - Clean up nsAutoTrackDOMPoint; r=ehsan
2014-04-28 18:40:28 +03:00
Aryeh Gregor
a270270fe3
Bug 1003808 part 3 - Clean up nsRangeStore; r=ehsan
2014-04-28 18:34:05 +03:00
Aryeh Gregor
8344d42637
Bug 1003808 part 2 - Clean up nsEditorUtils::IsDescendantOf; r=ehsan
2014-04-28 18:34:05 +03:00
Aryeh Gregor
f55311b871
Bug 1003808 part 1 - Clean up DOMPoint; r=ehsan
2014-04-28 18:34:05 +03:00
Aryeh Gregor
c0b9873e08
Bug 1002429 part 9 - Clean up nsHTMLEditor::RebuildDocumentFromSource; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
3410225022
Bug 1002429 part 8 - Clean up nsHTMLEditor::CreateElementWithDefaults; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
4fbefcda9f
Bug 1002429 part 7 - Clean up nsEditor::CreateHTMLContent; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
6432779bfe
Bug 1002429 part 6 - Clean up nsHTMLEditor::ReplaceHeadContentsWithHTML; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
8af202298a
Bug 1002429 part 5 - Clean up nsHTMLEditor::TabInTable; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
b06c07ace4
Bug 1002429 part 4 - Clean up nsHTMLEditor::CollapseSelectionToDeepestNonTableFirstChild; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
c4c9d0bfa2
Bug 1002429 part 3 - Clean up nsEditor::IsContainer; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
a3d4a4be85
Bug 1002429 part 2 - Clean up nsHTMLEditor::GetEnclosingTable; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
87f00b9ef1
Bug 1002429 part 1 - Clean up nsHTMLEditor::GetElementOrParentByTagName; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
26bf69a1f0
Bug 1001351 - Allow null-safe conversion from nsINode to nsIDOMNode; r=smaug
2014-04-25 13:34:42 +03:00
Aryeh Gregor
8fb3c26d0d
Bug 1000959 - nsHTMLEditor.cpp cleanup; r=ehsan
2014-04-25 13:34:42 +03:00
Ehsan Akhgari
090e21b568
Bug 992118 - Correctly handle the underscore in the LANG environment variable; r=smaug
2014-04-30 18:01:12 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ehsan Akhgari
298702866a
Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
...
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way. This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.
But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation. Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug. And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Birunthan Mohanathas
7ac92ae5ea
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Masayuki Nakano
67b49e2809
Bug 998188 part.1 Add test for this crash on debug build r=ehsan
2014-04-26 08:52:12 +09:00
Wes Kocher
f08090e9a9
Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE
2014-04-25 15:12:22 -07:00
Ehsan Akhgari
c8f5bacca6
Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
...
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way. This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.
But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation. Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug. And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Aryeh Gregor
780bdf4c9b
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Aryeh Gregor
75660868f4
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Robert O'Callahan
38c751230b
Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
...
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.
We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.
--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
Ehsan Akhgari
62020563d8
Bug 996009 - Ensure that the richtext2 browserscope tests do not attempt to contact the external network; r=roc
2014-04-15 09:32:36 -04:00
Carsten "Tomcat" Book
41231b2a31
Backed out changeset 5a50c5065173 (bug 992944) for spellcheck mochitest test failures on a CLOSED TREE
2014-04-10 11:28:23 +02:00
Jan Horak
5e79233110
Bug 992944 - Spell checker skips current locale when pref spellchecker.dictionary or document content invalid. r=ehsan
2014-04-07 08:00:00 +02:00
Masayuki Nakano
ecab2beca9
Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan
2014-04-10 16:11:37 +09:00
Geoff Brown
df1d237299
Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey
2014-04-09 08:38:44 -06:00
Peter Van der Beken
c89c077c14
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
a5967a49cb
Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
12b990ebb7
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Carsten "Tomcat" Book
06c101e55e
Backed out changeset 1f9bd1c29a40 (bug 923376) mochitest test 4 test failures
2014-04-07 15:51:05 +02:00
Aryeh Gregor
479c3c6898
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Masayuki Nakano
d42c98a423
Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug
2014-04-03 13:18:38 +09:00
Masayuki Nakano
a648e11112
Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug
2014-04-03 13:18:37 +09:00
Masayuki Nakano
3cc4e99fc0
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Daniel Holbert
ae9419c109
Bug 984786 part 6: Mark struct nsRangeStore in /editor as MOZ_FINAL & give it a private destructor. r=ehsan
2014-04-02 09:21:12 -07:00
Ehsan Akhgari
186680d83a
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
L. David Baron
ba666ea10e
Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc
2014-03-23 18:44:50 -07:00
Robert O'Callahan
37aa0c39f6
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
...
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Ryan VanderMeulen
4bcb7700e6
Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage.
2014-03-20 16:33:54 -04:00
Robert O'Callahan
a619f60776
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Carsten "Tomcat" Book
dd70a06887
Backed out changeset e60fe593236d (bug 918189)
2014-03-19 09:45:57 +01:00
Robert O'Callahan
bcbf9ca2fe
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Neil Rashbrook
604d9a5302
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masayuki Nakano
fbf7cdeb19
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Masayuki Nakano
ecf5704455
Bug 981261 part.4 Move EventListenerFlags from mozilla::dom:: to mozilla:: r=smaug
2014-03-17 15:56:52 +09:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Masayuki Nakano
0ae5a1bafc
Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud
2014-03-14 22:13:31 +09:00
Masayuki Nakano
e8b3f28d26
Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc
2014-03-14 22:13:31 +09:00
Masayuki Nakano
2778cc48dc
Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc
2014-03-14 22:13:30 +09:00
Bill McCloskey
fd05f3eb04
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00