Masayuki Nakano
da41a520b9
Bug 825924 Input events which are dispatched by editor should be trusted always r=smaug+ehsan
2013-01-12 10:49:29 +09:00
Ehsan Akhgari
92719c116c
Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
2012-09-17 22:58:51 -04:00
Ehsan Akhgari
243c878d26
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
Neil Deakin
1e4caf64a8
Bug 775110, allow data from the same domain to be dropped in editor fields, r=ehsan
2012-08-15 15:35:08 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
e3e1225e61
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Aryeh Gregor
318c755d1f
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Luqman Aden
c671b49a3f
Bug 770814 - Make nsEditor::GetNodeLocation return already_AddRefed<nsIDOMNode> instead of having it as an out param; r=ehsan
2012-07-08 20:45:12 -04:00
Aryeh Gregor
5db48a8f85
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Ehsan Akhgari
f4bd388765
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Ryan VanderMeulen
4c71ae6d9a
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Olli Pettay
2146ee62af
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
f427a3c823
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
39a759ea47
Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan
2012-05-18 10:29:39 +02:00
Aryeh Gregor
6a21137769
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Masayuki Nakano
7232e1001c
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
Ms2ger
606df6e7a8
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Neil Deakin
e1751a6977
Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug
2012-03-20 11:21:41 -04:00
Neil Deakin
f1b322a7ac
Bug 728652, null check return value of MozGetDataAt, r=ehsan
2012-02-23 15:59:45 -05:00
Neil Deakin
deb52112b3
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
26218de78a
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
116989261d
Bug 499008, part 4, convert editor drop handling to use datatransfers instead of the drag service, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
3e84562081
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
David Zbarsky
b5b429da23
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
3741c88bfd
Bug 681229 - Sanitize the platform linebreaks to DOM linebreaks when pasting or drag-dropping text into text controls; r=roc
2011-09-15 15:32:42 -04:00
Ms2ger
717aa1d9e1
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Ehsan Akhgari
b2e94526e4
Bug 625452 - Make sure all plaintext editor commands generate trusted input events; r=roc a=blocking-final+
2011-01-15 23:16:45 -05:00
Ehsan Akhgari
223734c999
Bug 527935 - Part 4: Make sure that the input event after paste operations; r=roc a=blocking-final+
2010-12-17 14:47:11 -08:00
Ehsan Akhgari
ebfec6da3d
Bug 572618 - Make debugging the editor easier - Part 4: multiline version of part 1; r=roc
2010-06-17 16:44:35 -04:00
Ehsan Akhgari
ea32707944
Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc
2010-06-17 16:40:48 -04:00
Ehsan Akhgari
f32700d4f7
Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc
2010-06-17 15:41:16 -04:00
Ehsan Akhgari
d4ce369fca
Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc
2010-06-17 15:27:24 -04:00
Masayuki Nakano
db6dea9dfe
Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug
2010-04-12 11:35:18 +09:00
Neil Deakin
7392f40101
Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil
2010-03-19 14:32:13 -04:00
Markus Stange
ddca1dd6be
Bug 434210 - When dropping text in textfields, check the drag session's drag action instead of the event's modifier flags when determining whether to move or copy text. r=smaug
2010-03-08 13:32:53 +01:00
Tom Dyas
5d4dbbefac
Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug
2010-01-10 20:45:45 -05:00
Josh Aas
450434347b
Backed out changeset bee6729280d8
2009-12-30 17:29:26 -05:00
Tom Dyas
87caa70f37
Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug
2009-12-30 15:58:33 -05:00
Asaf Romano
bc90b6bad2
Bug 475066 attempt #2 -dragging a tab out of the browser window doesn't detach the tab (i.e. opens a window for that tab). r=enn, sr=jonas.
2009-03-27 09:50:03 +03:00
Neil Deakin
150836aeb1
Bug 454986, multiple images being dropped, r+sr=neil
2008-09-19 11:26:49 -04:00
Neil Deakin
c2a1aca520
Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc
2008-08-27 08:07:27 -04:00
Boris Zbarsky
aafb52ed89
Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux
2008-08-25 11:08:28 -04:00
Neil Deakin
81eb052ee9
Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc
2008-08-25 21:56:29 +12:00