Commit Graph

2374 Commits

Author SHA1 Message Date
Blake Kaplan
35a6d5745d Bug 1169268 - Don't crash when pasting files. r=ndeakin 2015-10-27 14:41:58 -07:00
Birunthan Mohanathas
68c551a17a Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
3c530551ba Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Jonathan Kew
898bd67059 Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Jonathan Kew
4fb932dfc3 Bug 1216427 - Tests for backspacing over a character with variation selector, and over Regional Indicator flag symbols. r=emk 2015-10-26 10:47:12 +00:00
Ryan VanderMeulen
44d95f6750 Bug 667321 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
af1f6b9b1d Bug 500847 - Remove assertion annotations from editor/composer/crashtests/removing-editable-xslt.html. 2015-10-24 15:03:19 -04:00
Bobby Holley
21c4310853 Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
This one was kinda gross.
2015-10-23 18:10:31 -07:00
Ryan VanderMeulen
a833000d2d Bug 471185 - Re-enable 428844-1.html on Windows. 2015-10-23 09:54:33 -04:00
Jeremy Chen
a97fbcf54e Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin 2015-10-19 01:53:00 +02:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Zack Weinberg
9ceb4413b1 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam 2015-10-13 17:43:16 -04:00
Jorg K
d8a54d916b Bug 1209414 - New test for manual dictionary change. r=ehsan 2015-10-11 18:13:10 +02:00
Aryeh Gregor
7fa7e19bff Bug 1156062 part 3 - New helper nsHTMLEditor::GetBlock; r=ehsan 2015-10-11 18:59:11 +03:00
Aryeh Gregor
158db25f7d Bug 1156062 part 2 - Make GetBlockNodeParent and GetEnclosingTable return regular pointers; r=ehsan 2015-10-11 18:58:47 +03:00
Aryeh Gregor
7bf421040d Bug 1156062 part 1d - Clean up nsEditor::SplitNodeDeep; r=ehsan 2015-10-11 18:57:48 +03:00
Aryeh Gregor
d8c9b945fd Bug 1156062 part 1c - Convert remaining callers of nsEditor::SplitNodeDeep; r=ehsan 2015-10-08 18:27:19 +03:00
Andrew McCreight
b6e32c07fe 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
Daniel Glazman
d35c184925 Bug 898321 - Return success from nsTableEditor::GetCellAt if frame not found; r=ehsan
Adjusted by Aryeh Gregor for review comments.
2015-10-07 16:07:12 +03:00
Ehsan Akhgari
b02b617146 Bug 1209037 - Eliminate some unneeded null checks; r=jdm 2015-10-05 16:12:26 -04:00
Jorg K
247d9868db Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-29 08:25:00 +02:00
Jorg K
2a005ffa2a Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Carsten "Tomcat" Book
ed4aed86e5 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
41c7e4642a Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Jorg K
4e7d6068c5 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-28 13:28:00 +02:00
Jorg K
a662c58539 Bug 772796 - Handle newlines correctly when joining <div> and <pre>. r=roc 2015-09-22 04:07:00 +02:00
Ehsan Akhgari
fdd3a8f151 Bug 1208884 - Fix a few null check ordering bugs in nsHTMLEditRules::SplitParagraph; r=roc
Found by Viva64.
2015-09-27 19:34:09 -04:00
Michael Layzell
9bf65e9a1b Bug 1199288 - Rename mApplyUserSelectStyle to mUserInitiated, r=smaug 2015-09-23 23:28:36 -04:00
Chris Peterson
b06d7f99a7 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher
1118311442 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Jorg K
6ba093bba2 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
a90c88f86d Bug 1193293 - Don't pick a new dictionary which checking. r=roc 2015-09-21 21:51:00 +02:00
Carsten "Tomcat" Book
f12402000f Merge mozilla-central to fx-team 2015-09-22 12:51:39 +02:00
Calixte Denizet
411dc5eec2 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
fe90c78391 Backed out 1 changesets (bug 1193293) on developers requests
Backed out changeset c79d3947c307 (bug 1193293)
2015-09-21 14:00:43 +02:00
Nigel Babu
930e152076 Backed out changeset af909b481b95 (bug 772796) for causing crashes (See bug 1206483), a=Tomcat 2015-09-21 13:57:10 +05:30
Jorg K
2ec6e0b20f Bug 1193293 - Remove checking dictionary from editor. r=roc 2015-09-18 00:52:00 +02:00
Jorg K
a251e73193 Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors (test). r=roc 2015-09-15 11:35:15 +05:30
Jorg K
63ccf24bc5 Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc 2015-09-15 11:35:10 +05:30
Masayuki Nakano
3f9841f00c Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug 2015-09-15 00:14:33 +09:00
Jorg K
fe6910d5e2 Bug 1204147 - Prevent content preferences being written when they shouldn't (test). r=roc 2015-09-14 02:35:00 +02:00
Jorg K
c524b9440a Bug 1204147 - Prevent content preferences being written when they shouldn't. r=roc 2015-09-11 23:03:00 +02:00
Michael Layzell
bca2ce7da8 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Michael Layzell
6261581c48 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Phil Ringnalda
25b03ac2e7 Bug 1202045 - Disable test_richtext2.html on Android debug for constant crashes 2015-09-12 10:21:14 -07:00
Christoph Kerschbaumer
dad4927d12 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Wes Kocher
977486c724 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
8a5d00f976 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Masayuki Nakano
3974e0e4ac Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano
8df35db954 Bug 895274 part.192 Rename NS_COMPOSITION_UPDATE to eCompositionUpdate r=smaug 2015-09-11 21:21:27 +09:00