Commit Graph

315 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
ade15da63c 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
28555691e6 Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Jorg K
0a2a158744 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-28 13:28:00 +02:00
Wes Kocher
5b68e141b5 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Jorg K
020aae0663 Bug 1204540 - Fix up spell checker tests so no content preferences are left behind. r=roc 2015-09-15 10:34:00 +02:00
Jorg K
432d0dcd6f Bug 1193293 - Don't pick a new dictionary which checking. r=roc 2015-09-21 21:51:00 +02:00
Calixte Denizet
11df8e4fbc 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
7d40232ae9 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
7ce27372c0 Bug 1193293 - Remove checking dictionary from editor. r=roc 2015-09-18 00:52:00 +02:00
Jorg K
b4062493fb Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors (test). r=roc 2015-09-15 11:35:15 +05:30
Jorg K
2a850a5d22 Bug 1204147 - Prevent content preferences being written when they shouldn't (test). r=roc 2015-09-14 02:35:00 +02:00
Jorg K
2105c4ce1c Bug 1204147 - Prevent content preferences being written when they shouldn't. r=roc 2015-09-11 23:03:00 +02:00
Jorg K
98dc551ad1 Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K
482b8491b2 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K
3aec111e4b Bug 1200533 - Fix spellchecker dictionary logic (test changes); r=smaug 2015-09-04 11:29:00 +02:00
Carsten "Tomcat" Book
bb6e0717e6 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
0af23baa27 Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K
7eb6fb5f28 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K
3665c6e379 Bug 1200533 - Fix spellchecker dictionary logic (test changes). r=smaug 2015-09-04 11:29:00 +02:00
Jorg K
45b96e82a3 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
f0af3921f9 Bug 717433 - Make selected language stick, regardless of whether it partly matches. r=roc 2015-09-01 23:12:00 -04:00
Nicholas Nethercote
69d088e45f 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.
2015-08-27 20:44:53 -07:00
Birunthan Mohanathas
e1f0334d06 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
d38522a46f Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan 2015-07-22 09:24:59 -07:00
Eric Rahm
0dc8cdd770 Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan 2015-07-15 14:48:09 -07:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Masayuki Nakano
e141236539 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell
23cd225ef9 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Jan Horak
d6f3caa6d1 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
ee117642af 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
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f 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
7ff6a1d668 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
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Andrea Marchesini
dec2760ae9 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
46d95f7a95 Bug 1133288 - Remove nonstandard expression closures from editor. r=ehsan 2015-01-24 23:53:32 -08:00
Carsten "Tomcat" Book
5bd5760509 Merge mozilla-central to mozilla-inbound 2015-02-16 16:14:51 +01:00
Jan Horak
ef2ef99f31 Bug 1129859 - Wrong dictionary chosen when lang attribute is en-US on some Linux distros. r=roc 2015-02-13 00:38:00 +01:00
Ting-Yu Lin
a6fb8910a8 Bug 1096185 - Part 1 - Adjust caret size and shadow. r=roc
The size of the images is enlarged by 1.5x. The CSS rules in ua.css are
changed accordingly.
2015-02-11 19:55:00 +01:00
Ehsan Akhgari
4c07e3c09a Bug 1118420 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc 2015-01-07 10:08:12 -05:00
Jan Horak
fdb135f8e9 Bug 1097625 - Fallback to use LANG variable as dictionary doesn't work. r=ehsan 2014-12-09 03:22:00 -05:00
Jan Horak
408547aa0e Bug 1097550 - "System dictionaries with underscore separator are ignored when trying to find dictionary". r=ehsan 2014-12-02 04:52:00 +01:00
Aryeh Gregor
9be09f311a Bug 1088054 part 2 - Reduce nsIDOMRange use in editor/; r=ehsan 2014-11-02 14:04:13 +02:00
Jon Morton
c559dd1ab0 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Blake Kaplan
fe16c4ab95 Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Ehsan Akhgari
e22843a46d Bug 1073213 - Do not use nsIDOMWindowUtils in editor/; r=roc 2014-09-26 09:19:56 -04:00
Birunthan Mohanathas
17b20b074b Bug 1070709 - Collapse test-only moz.build files under editor/ into ancestor moz.build files. r=mshal 2014-09-26 07:20:22 +03:00
Trevor Saunders
e1a88eb1fb bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
3840a97689 Bug 1061050 - Fix more bad implicit constructors in editor; r=roc
--HG--
extra : rebase_source : 4bc00b1cf3807cfe7267cc20ed618ed2ce827a64
2014-08-31 23:49:37 -04:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00