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

952 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Masayuki Nakano 13d4f396fe Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
MozReview-Commit-ID: Gs3oiAgJFG9

--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Trevor Saunders 256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jonathan Watt 9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Ting-Yu Lin 514007237a Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.

MozReview-Commit-ID: 7K7qr9FK784

--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
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