Commit Graph

1369 Commits

Author SHA1 Message Date
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari
b5e6628199 Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Aryeh Gregor
1abd4f03af Bug 788950 - Prevent mRules from dying in DoInsertHTMLWithContext; r=ehsan 2012-09-16 13:13:31 +03:00
Mark Capella
3ea938ca2a Bug 785091 - Remove nsIEditorObserver, r=ehsan 2012-09-17 11:14:56 -04:00
Andrew McCreight
1c528bccf1 Bug 775868 - fix more tests. r=bholley 2012-09-10 12:44:29 -07:00
Neil Deakin
59e5916a21 Bug 788404, return unconditionally from attempts to insert from drop to prevent mutliple copies of text from appearing in contenteditable areas, r=ehsan 2012-09-07 15:57:10 -04:00
Isaac Aggrey
d06a20d381 Bug 785131 - Don't process any node when aChildrenOnly is set; r=ehsan 2012-08-23 12:17:43 -05:00
Abhishek Potnis
699ad0df14 Bug 777925 : Removes HTML editor logging support; r=ehsan 2012-09-04 21:18:59 +05:30
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
50220bae33 Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky 2012-08-29 16:43:32 -04:00
Andrew McCreight
0d31841b85 Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
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
Isaac Aggrey
2538067979 Bug 711862 - Do not process the node itself in nsHTMLEditor::RemoveStyleInside if the caller requests only children to be modified; r=ehsan 2012-08-21 14:31:19 -04:00
Ian Melven
915cb4516e Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Kent James
d99d32e97c Bug 780908 - Fix crash in editor with head after body. r=ehsan 2012-08-17 08:39:52 -07:00
Neil Deakin
d75704590a Bug 775110, allow data from the same domain to be dropped in editor fields, r=ehsan 2012-08-15 15:35:08 -04:00
Aryeh Gregor
3b8242bb74 Bug 782252 - Don't return nsresult from main() (editor/); r=ehsan 2012-08-07 20:17:26 +03:00
Aryeh Gregor
3304e571cb Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor
f3f6d013cb Bug 780035 - Don't cache font-style as CSS; r=ehsan 2012-08-14 12:10:43 +03:00
Aryeh Gregor
f9b558f81c Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan 2012-08-12 21:28:26 +03:00
Ed Morley
6f3226343f Merge mozilla-central to mozilla-inbound 2012-08-09 12:51:21 +01:00
Ed Morley
991653b152 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
de02017227 Bug 780502 - Remove unsound assertion; r=ehsan 2012-08-09 09:20:11 +02:00
Ms2ger
47bb1e7649 Bug 179956 - Remove unsound assertion; r=ehsan 2012-08-09 09:20:06 +02:00
Ms2ger
def458727b Bug 461440 - Remove unsound assertion; r=ehsan 2012-08-09 09:20:01 +02:00
Aryeh Gregor
4606a0dcdd Bug 778428 - Refcount arrays of nodes in editor/; r=ehsan 2012-08-01 11:17:51 +03:00
Aryeh Gregor
d4bd5ae8f9 Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan 2012-08-01 15:22:07 +03:00
Aryeh Gregor
72ab16a773 Bug 751554 part 3 - Fix OperationID type errors; r=ehsan 2012-08-01 15:20:59 +03:00
Bobby Holley
943789da00 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
60fc0f1ee6 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Matt Brubeck
f182e2619f Bug 779551 - Mark spellcheck-superscript-2.html as failing on native Android, so reftest-3 can be unhidden; rs=edmorley 2012-08-05 13:20:23 +01:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Aryeh Gregor
5f2eb8fa49 Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan 2012-07-31 11:50:04 +03:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
15948adb1f Bug 291789 part 3 - Try not to ever delete across table boundaries; r=ehsan 2012-07-27 17:03:28 +03:00
Aryeh Gregor
50c71e5430 Bug 291789 part 2 - Clean up nsHTMLEditRules::InDifferentTableElements; r=ehsan 2012-07-27 17:03:28 +03:00
Aryeh Gregor
bcae4447b0 Bug 291789 part 1 - Make various nsHTMLEditUtils methods take nsINode instead of Element; r=ehsan 2012-07-27 17:03:28 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
43d640b048 Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
392e16dd0f Bug 777292 - exit(-1) instead of exit(NS_ERROR_FAILURE); r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
8e459312df Bug 777292 - editor/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=ehsan 2012-07-27 16:46:48 +03:00
Ehsan Akhgari
504cf60dcf Bug 778028 - Build editor/ in parallel; r=khuey 2012-07-26 22:24:27 -04: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
Ehsan Akhgari
e34d0578e3 Bug 777937 - Remove the useless EXPORTS rule from editor/public/Makefile.in; r=khuey
--HG--
extra : rebase_source : 227bc8019a86a7f114677464a905625c57b4fa94
2012-07-26 21:55:53 -04:00