Commit Graph

63 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari
8f397072dd 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor
794a3e5f1b Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Aryeh Gregor
3309c31f9c 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
6ed928a21d 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
1cd223ec12 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
2ab8e3fb4a 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
6139688226 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
3a318c367e Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin
de5e8ee45b Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin
cc12e59fdf Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan 2012-02-17 09:16:59 -05:00
Markus Stange
b4421e4a3b 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
3f8c5b26b0 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange
8d38301cdf 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
1360b0f19b 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
Ehsan Akhgari
0908325de2 Bug 551704 - Part 5: Move breakIsVisible to nsIHTMLEditor_MOZILLA_2_0_BRANCH to make sure that nsIHTMLEditor does not change for Gecko 2.0; r=bzbarsky a=blocking-betaN+
This patch should be backed out on trunk when Gecko 2.0 has been branched.
2010-11-09 21:00:26 -05:00
Ehsan Akhgari
844dd2ffc0 Bug 551704 - Part 3: Don't copy invisible BR nodes to the clipboard for editable elements, to make us more compatible with WebKit and Opera; r=bzbarsky a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Daniel Holbert
9617efa37c Bug 577609: Remove duplicate 'EDirection' typedef from nsIEditor.idl. r=ehsan 2010-07-13 11:50:18 -07:00
Masayuki Nakano
6a5b71a1ed Bug 564412 Remove non-scriptable internal methods from nsIEditorIMESupport r=ehsan, sr=smaug 2010-06-30 13:05:12 +09:00
Masayuki Nakano
9d9e285291 Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc 2010-06-10 10:16:58 +09:00
Ehsan Akhgari
c0245df31d Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others) 2010-06-03 21:28:03 -04:00
Masayuki Nakano
d075ac396c Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc 2010-06-02 16:24:56 +09:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Makoto Kato
b1d69bfe8c Bug 561955 - nsICiter.idl has unnecessary #ifndef. r=neil 2010-04-28 13:58:29 +09:00
Phil Ringnalda
719c769ce2 Correct spelling of independant in a CLOSED TREE 2010-04-15 21:02:56 -07:00
Masayuki Nakano
7d05909d39 Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Masayuki Nakano
2e04f8ba90 Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc 2010-04-10 18:24:35 +09:00
Masayuki Nakano
04e43f1569 Bug 544168 - nsIEditorIMESupport::endComposition shouldn't be scriptable. r+sr=smaug 2010-02-06 19:16:31 +01:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Josh Aas
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00