Граф коммитов

941 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin 0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Jorg K 4c0fb8f0e9 Bug 1219928 - Skip misspelled words in style blocks. r=enndeakin. 2015-11-24 08:45:00 +01:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ryan VanderMeulen 3cd44517bb Bug 500847 - Remove assertion annotations from editor/composer/crashtests/removing-editable-xslt.html.
--HG--
extra : rebase_source : 4d648808aea9ec795f6943bfbc617bf85868d0ef
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 12f11c885a Bug 471185 - Re-enable 428844-1.html on Windows. 2015-10-23 09:54:33 -04:00
Jeremy Chen f59482fa1d Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin
--HG--
extra : rebase_source : 15fdcdf119d30e1e51d98e69a1f229778aa26256
2015-10-19 01:53:00 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Jorg K 7069d64f58 Bug 1209414 - New test for manual dictionary change. r=ehsan 2015-10-11 18:13:10 +02:00
Andrew McCreight 0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Jorg K 367c572f4b Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-29 08:25:00 +02:00
Jorg K 1e378ea69e Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Carsten "Tomcat" Book 3b7a3c96c4 Backed out 2 changesets (bug 1205983) for memory leaks on a CLOSED TREE
Backed out changeset f2c49c0ab84f (bug 1205983)
Backed out changeset a81630dba992 (bug 1205983)
2015-09-29 13:58:35 +02:00
Jorg K 41a777b2d2 Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
--HG--
extra : rebase_source : 3a3375a44d16d1a4a93c670c5ed44adefe6dbb9e
2015-09-28 23:53:00 +02:00
Jorg K 92731da747 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan
--HG--
extra : rebase_source : 71701166ea470c001fba64241545b03361df8a44
2015-09-28 13:28:00 +02:00
Wes Kocher 08ffd204f8 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Jorg K d5c55e50cc Bug 1204540 - Fix up spell checker tests so no content preferences are left behind. r=roc
--HG--
rename : editor/composer/test/test_abug697981.html => editor/composer/test/test_bug697981.html
2015-09-15 10:34:00 +02:00
Jorg K 62c77a53c5 Bug 1193293 - Don't pick a new dictionary which checking. r=roc 2015-09-21 21:51:00 +02:00
Calixte Denizet d12120dc7e Bug 1205796 - "Coverity 1323784 indicates a useless passed-by-value argument in nsEditorSpellCheck::TryDictionary". r=smaug 2015-09-22 00:28:00 +02:00
Carsten "Tomcat" Book 4d29aa7e01 Backed out 1 changesets (bug 1193293) on developers requests
Backed out changeset c79d3947c307 (bug 1193293)
2015-09-21 14:00:43 +02:00
Jorg K 0b85029b3b Bug 1193293 - Remove checking dictionary from editor. r=roc 2015-09-18 00:52:00 +02:00
Jorg K 776f5bee2a Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors (test). r=roc 2015-09-15 11:35:15 +05:30
Jorg K b48912a8b8 Bug 1204147 - Prevent content preferences being written when they shouldn't (test). r=roc 2015-09-14 02:35:00 +02:00
Jorg K 0b2b0b0f41 Bug 1204147 - Prevent content preferences being written when they shouldn't. r=roc 2015-09-11 23:03:00 +02:00
Jorg K e40ddc115b Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K 6f6063dce5 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K 7f4d5f183e Bug 1200533 - Fix spellchecker dictionary logic (test changes); r=smaug 2015-09-04 11:29:00 +02:00
Carsten "Tomcat" Book a1008eb382 Backed out 3 changesets (bug 1200533) for test failures in reftests/338427-2.html
Backed out changeset 9f3ca77e2d7b (bug 1200533)
Backed out changeset b3ad852a044a (bug 1200533)
Backed out changeset 74e6798a38a4 (bug 1200533)
2015-09-08 10:29:38 +02:00
Jorg K 3c4ae9a668 Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K ac423542e8 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K 7570a51af9 Bug 1200533 - Fix spellchecker dictionary logic (test changes). r=smaug 2015-09-04 11:29:00 +02:00
Jorg K 3b81a1041c Bug 717433 - Make selected language stick, regardless of whether it partly matches (test). r=roc 2015-09-02 14:39:00 +02:00
Jorg K 57a64cbe4d Bug 717433 - Make selected language stick, regardless of whether it partly matches. r=roc 2015-09-01 23:12:00 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Eric Rahm c66df7edf8 Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan 2015-07-22 09:24:59 -07:00
Eric Rahm 9b10736358 Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan 2015-07-15 14:48:09 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Masayuki Nakano 274f4c6cb1 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell 4e252b0ed5 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Jan Horak ed82bef0cf Bug 967494 - "Preference Composition/Spelling/Language is ignored, and changing spellcheck language in one composition window affects all open and new compositions" [r=ehsan] 2015-04-28 12:01:00 +03:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd b252a27930 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Andrea Marchesini a22105261f Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Chris Peterson 48957d0e7e Bug 1133288 - Remove nonstandard expression closures from editor. r=ehsan 2015-01-24 23:53:32 -08:00
Carsten "Tomcat" Book e2399947f4 Merge mozilla-central to mozilla-inbound 2015-02-16 16:14:51 +01:00