Robert O'Callahan
299ea95ae7
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
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Drew Willcoxon
7b004ec642
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 1: core changes). r=ehsan, sr=gavin
2013-06-05 17:07:54 -07:00
Gregory Szorc
c1b865f669
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
1f468ac521
Bug 784841 - Part 18l: Convert /editor; r=glandium f=Ms2ger
2013-02-25 12:47:20 -08:00
Daniel Glazman
e8b28e1b27
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08:00
Ehsan Akhgari
78b2656cbc
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Mark Capella
3ea938ca2a
Bug 785091 - Remove nsIEditorObserver, r=ehsan
2012-09-17 11:14:56 -04:00
Abhishek Potnis
699ad0df14
Bug 777925 : Removes HTML editor logging support; r=ehsan
2012-09-04 21:18:59 +05:30
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
fe6dab4157
Bug 777949 - Make the editor Makefile.in's splendid; r=khuey
...
--HG--
extra : rebase_source : cc24614034ecaa18260fdc16654d18d2ef844c7f
2012-07-26 21:57:31 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
1fffe1dc4d
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Aryeh Gregor
3c77c5664c
Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
c7d23199c4
Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz
2012-04-24 09:06:11 +03:00
Aryeh Gregor
2a90e237d9
Bug 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan
2012-04-17 13:18:08 +03:00
Masayuki Nakano
acf546c04a
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
Olli Pettay
ae99f8a2eb
Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan
2012-02-23 22:47:37 +02:00
Neil Deakin
13c593e55b
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
bb01abe388
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
a8a864c0d2
Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan
2012-02-17 09:16:59 -05:00
Markus Stange
99c74550c0
Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc
2011-12-23 22:52:21 -05:00
Phil Ringnalda
3cce1527f8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
28d5d52e08
Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc
2011-12-23 22:52:21 -05:00
Masayuki Nakano
10df4c7960
Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal
2011-11-27 20:51:53 +09: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
Jesper Kristensen
90f5bdbe17
Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan
2011-09-13 14:58:54 -04:00
Ed Morley
4923d068c0
Backout a422b9ff0a9e (bug 591780 part 1) for causing 8% Ts regression on multiple platforms; a=khuey
2011-09-06 14:32:26 +01:00
Jesper Kristensen
ffe4248d12
Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan
2011-09-05 18:44:34 -04:00
arno renevier
c6489843bc
bug 678842: remember spell check setting per site; r=ehsan
2011-08-23 15:03:33 -04:00
Fabien Cazenave
4862d93606
Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan
...
* adding an `isSelectionEditable' readonly attribute in <nsIEditor>;
* modified all ::IsCommandEnabled methods in editor/ to take it into account:
./libeditor/base/nsEditorCommands.cpp (15 commands)
nsUndoCommand 'undo'
nsRedoCommand 'redo'
nsClearUndoCommand 'clearUndo'
nsCutCommand 'cut'
nsCutOrDeleteCommand ?
nsCopyCommand 'copy'
nsCopyOrDeleteCommand ?
nsPasteCommand 'paste'
nsPasteTransferableCommand ?
nsSwitchTextDirectionCommand ?
nsDeleteCommand 'delete'
nsSelectAllCommand 'selectAll'
nsSelectionMoveCommands ?
nsInsertPlaintextCommand ?
nsPasteQuotationCommand ?
./composer/src/nsComposerCommands.cpp (15 commands)
nsBaseStateUpdatingCommand ?
nsPasteNoFormattingCommand ?
nsRemoveListCommand ?
nsIndentCommand 'indent'
nsOutdentCommand 'outdent'
nsMultiStateCommand ?
nsHighlightColorStateCommand 'hiliteColor'
nsAbsolutePositioningCommand ?
nsDecreaseZIndexCommand ?
nsIncreaseZIndexCommand ?
nsRemoveStylesCommand 'removeFormat'
nsIncreaseFontSizeCommand 'increaseFontSize'
nsDecreaseFontSizeCommand 'decreaseFontSize'
nsInsertHTMLCommand 'insertHTML'
nsInsertTagCommand ?
./composer/src/nsComposerDocumentCommands.cpp (3 commands)
nsSetDocumentOptionsCommand ?
nsSetDocumentStateCommand ?
nsDocumentStateCommand n/a (unpatched)
2011-08-17 13:28:03 -04:00
arno renevier
b8d63b5677
Bug 338427 followup - fix Get/SetCurrentDictionary signature; r=ehsan
2011-08-15 13:55:02 -04:00
arno renevier
2485241198
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
Michael Wu
ccaba60ed1
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Kyle Huey
fc7ab154c4
Bug 675627: Fix unrecognized directive error in nsIURIRefObject.idl and make this error fatal in the future. r=bsmedberg
2011-08-01 14:26:13 -04:00
Ehsan Akhgari
4153f12b55
Bug 617539 - Remove nsIEditor_MOZILLA_2_0_BRANCH; r=roc
2011-04-11 16:00:32 -04:00
Sebastian Kromp
c90dd3913b
Bug 633066: Remove nsICiter and make nsInternetCiter a static class. r=ehsan
2011-03-31 07:32:13 -04:00
Benjamin Smedberg
92bd44c461
Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan
2011-03-25 11:03:33 -04:00
Ehsan Akhgari
c06813a2c5
Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
b1d2463ed9
Bug 629172 - Fix the regression in switching the text input direction using Cmd/Ctrl+Shift+X; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 57471865db00c1efa07bb746df42de8278027b36
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
393e54e609
Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+
2010-12-07 01:30:05 -05:00