Commit Graph

812 Commits

Author SHA1 Message Date
Ehsan Akhgari
4134b5fe70 Bug 861897 - Cleanup nsComposeTxtSrvFilter to use nsGkAtoms; r=roc 2013-04-16 00:08:04 -04:00
Boris Zbarsky
50d1b6f474 Bug 765780 part 2. Simplify the docshell code that was trying to enable script in subframes of designMode documents. r=ehsan
I'm leaving the editing session APIs for enabling/disabling script and finding out whether the editing session has done that, in case someone else is using it.
2013-04-08 17:04:20 -04:00
matekm
e28599d0e9 Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan 2013-04-02 20:13:10 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 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
334c0800cf 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
Gregory Szorc
89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
c865547d94 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
3261cd9955 Bug 784841 - Part 18l: Convert /editor; r=glandium f=Ms2ger 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
9d52ece477 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
b30facb288 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
84ff151c43 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Trevor Saunders
fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Masatoshi Kimura
238cc58022 Bug 826983 - Enable FAIL_ON_WARNINGS on MSVC in editor/. r=ehsan 2013-01-07 04:41:46 +09:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Josh Matthews
fda5be2065 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Ehsan Akhgari
8e702f60c5 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
f3c0ac7a23 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
Bobby Holley
a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Ehsan Akhgari
db466de1ae Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85 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
Ian Melven
4f3defdd1a Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
William Chen
607a319d22 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
93833269e0 Bug 778028 - Build editor/ in parallel; r=khuey 2012-07-26 22:24:27 -04:00
Ehsan Akhgari
7083d7413e Bug 777949 - Make the editor Makefile.in's splendid; r=khuey
--HG--
extra : rebase_source : cc24614034ecaa18260fdc16654d18d2ef844c7f
2012-07-26 21:57:31 -04:00
Jonathan Watt
87009fecbc Bug 776686 - Remove bogus include path from Editor. r=ehsan. 2012-07-23 21:28:30 +01:00
Ehsan Akhgari
7ce5477f9b Bug 771976 - Part 3: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc
--HG--
extra : rebase_source : 08c052ed543bbdcb8bc2c084e8aff24fbd4b40a5
2012-07-17 23:02:00 -04:00
Ehsan Akhgari
70e10e9814 Bug 771976 - Part 2: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc 2012-07-17 00:01:15 -04:00
Aryeh Gregor
dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Aryeh Gregor
4b464cdfe8 Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan 2012-06-21 15:05:24 +03:00
Ms2ger
5f4ed964fb Bug 761306 - Make nsInsertTagCommand::mTagName an nsIAtom*; r=ehsan 2012-06-06 09:42:01 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
1cf9cefdbe Bug 755314 - Make nsBaseStateUpdatingCommand::mTagName an nsIAtom*; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger
70e0a918a6 Bug 754228 - nsBaseStateUpdatingCommand::{ToggleState,GetCurrentState} shouldn't have an aTagName argument; r=ehsan 2012-05-18 10:29:40 +02:00
Aryeh Gregor
319617a63f 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
Ms2ger
9ca974ab28 Bug 750094 - Some cleanup in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
fca1032cac Bug 750093 - Cleanup SetTextProperty in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
jhorak
891876f3c8 Bug 746148 - Respect the LANG environment variable when trying to select a spell checking dictionary; r=ehsan a=mfinkle 2012-04-19 13:45:50 -04:00
Aryeh Gregor
878304397a Bug 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan 2012-04-17 13:18:08 +03:00
Ms2ger
04d6c6c601 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger
0342ac26d3 Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Ms2ger
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
bfb3cc2bb6 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger
f68fd6e853 Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Aryeh Gregor
342965bb6e Bug 317093 part 2 - execCommand() should remove <strong>, <em>, and <s> as well as <b>, <i>, <strike>; r=ehsan 2012-04-04 14:47:13 +03:00