L. David Baron
49b7670edf
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Boris Zbarsky
da7352fc49
Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like
2013-02-26 15:34:25 -05:00
Boris Zbarsky
247b3cc18a
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
L. David Baron
a8ee400190
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ehsan Akhgari
e5166004a9
Bug 842892 - Block scripts while extending the selection for deletion in order to prevent a crash when changing the type of an input; r=smaug
2013-02-22 18:40:09 -05:00
Ehsan Akhgari
9d52ece477
Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
b30facb288
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Ehsan Akhgari
84ff151c43
Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
...
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Ehsan Akhgari
77ced003fc
Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc
2013-01-15 18:44:16 -05:00
Ehsan Akhgari
928051242d
Backed out changeset 4c6024d6f725 (bug 830600) because of build failures
2013-01-15 19:29:50 -05:00
Ehsan Akhgari
318e9647c7
Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc
2013-01-15 18:44:16 -05:00
Masayuki Nakano
6a5e7ea70a
Bug 825924 Input events which are dispatched by editor should be trusted always r=smaug+ehsan
2013-01-12 10:49:29 +09:00
Neil Rashbrook
0395b78f27
Bug 826479 Assertion failure: mInitialized when using Ctrl+Middle-click paste r=ehsan
2013-01-04 20:33:09 +00:00
William Chen
f34fa488f4
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Olli Pettay
194ec67167
Bug 803853, make sure to not leak mRules, r=ehsan
2012-12-07 01:31:48 +02:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Chris Peterson
5a7e488ec1
Bug 806142 - Only hide password characters if the text editor is (still) a password editor. r=ehsan
2012-11-06 10:45:58 -08:00
Olli Pettay
fb580be9be
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
9af14c557f
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Peter Van der Beken
f52e02e082
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Bobby Holley
8188b09b4e
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
db466de1ae
Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
...
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85
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
43bc42a549
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
2d1471fe5d
Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan
2012-08-12 21:28:26 +03:00
Aryeh Gregor
d75065b649
Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan
2012-08-01 15:22:07 +03:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
829da4acf9
Bug 777292 - editor/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=ehsan
2012-07-27 16:46:48 +03:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Masayuki Nakano
8191cad1be
Bug 751749 part.3 Editor should handle Win key as a modifier key r=ehsan
2012-07-19 10:28:17 +09:00
Aryeh Gregor
dde10d9130
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Makoto Kato
9d8f7a0477
Bug 772327 - Password mask timer is too short on Android. r=blassy
2012-07-13 11:26:20 +09:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Luqman Aden
cecabe4d0b
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
Makoto Kato
1e533fbd2e
Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar
2012-07-06 18:43:28 +09:00
Aryeh Gregor
538ef8bff3
Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
b24ebc320a
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Ehsan Akhgari
f4b598bf08
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
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
3768a9de7f
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Aryeh Gregor
7737d5d63f
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Aryeh Gregor
19175c3318
Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan
2012-06-07 18:00:58 +03:00
Aryeh Gregor
c7fb4c0759
Bug 757771 part 2 - Change various callers to use nsTypedSelection; r=ehsan
2012-06-05 11:10:26 +03:00
Ms2ger
55cac76b93
Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan
2012-06-06 09:35:47 +02:00
Aryeh Gregor
101bf90613
Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan
2012-06-01 14:03:17 +03:00
Mats Palmgren
e8a169f580
Bug 760080 - Use info() for log messages that aren't tests. Move SimpleTest.finish() last. r=ehsan
2012-06-01 20:52:37 +02:00
Aryeh Gregor
3163c8b65f
Bug 748307 part 3 - Clean up WillDoAction; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
6d1d67ffa0
Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
aea5e1e969
Bug 748307 part 1 - Make TypedText's second argument a named enum; r=ehsan
2012-05-22 12:37:17 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
81cb351df1
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
6e9c3f61f4
Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan
2012-05-18 10:29:39 +02:00
Aryeh Gregor
9684492a4a
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Aryeh Gregor
dfcd7c77a2
Bug 590640 part 3 - Remove unnecessary use of NodeIsTypeString; r=ehsan
2012-05-09 12:45:23 +03:00
Aryeh Gregor
ff64eb0d26
Bug 751547 - Unify action enums in editor/; r=ehsan
2012-05-05 21:52:29 +03:00
Ms2ger
bea07aa61a
Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
7b542cc079
Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan
2012-05-05 11:00:05 +02:00
Aryeh Gregor
cc7333f44f
Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan
2012-05-01 09:34:52 +03:00
Graeme McCutcheon
72830bb948
Followup nit for bug 740784. r=ehsan
2012-04-26 09:16:51 +01:00
Masayuki Nakano
5c0d118456
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Graeme McCutcheon
1d61565fd6
Bug 740784 - Don't allow old bogus nodes to trail textarea content. r=ehsan a=lsblakk
2012-04-12 21:55:48 +01:00
Kyle Huey
386200c036
No bug: Followups to my previous two commits.
2012-03-31 07:54:12 -07:00
Kyle Huey
a575f98782
Bug 718316: Disable failing tests.
2012-03-31 07:22:31 -07:00
Masayuki Nakano
0582e6722b
Bug 722961 Add tests for autocomplete with composition r=m_kato
2012-03-27 23:22:56 +09:00
Masayuki Nakano
2aa958ea0f
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
Ms2ger
ef11dcf137
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Neil Deakin
ff64a01729
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
74c89efa8b
Bug 728652, null check return value of MozGetDataAt, r=ehsan
2012-02-23 15:59:45 -05:00
Neil Deakin
990f276bb8
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
c9badf762e
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
8acdaab321
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
11d52d2eeb
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
ddf7fcd8d0
Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan
2012-02-17 09:16:59 -05:00
Masayuki Nakano
f276ee1b9f
Bug 622247 Remove hack for bug 23558 and bug 271815, and add tests for them r=ehsan
2012-02-15 10:38:07 +09:00
Panagiotis Koutsourakis
9c7dfb9706
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ms2ger
1696467ee5
Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
b206ce091e
Bug 722412 - Cleanup nsPlaintextEditor::SetDocumentCharacterSet; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
dadb2aca4b
Bug 722411 - Cleanup nsPlaintextEditor::GetAndInitDocEncoder; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
9b3a6e7944
Bug 720982 - Part b: Remove nsHTMLEditor::InsertBR; r=ehsan
2012-02-01 11:54:21 +01:00
Ms2ger
09983faae3
Bug 720982 - Part a: Remove nsHTMLEditor::CreateBRImpl; r=ehsan
2012-02-01 11:54:21 +01:00
Matthew Schranz
877f5228df
Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug
2012-01-25 13:47:50 +01:00
Ehsan Akhgari
2ce8b653cd
Bug 718316 - Try to fix the intermittent orange introduced after the landing of bug 598482 by flushing before capturing the screenshot; r=bzbarsky
2012-01-16 14:41:54 -05:00
Masayuki Nakano
2877e80cd7
Bug 717560 input events during composition should be fired after auto batch is gone r=ehsan
2012-01-13 15:19:22 +09:00
Masayuki Nakano
66e4ee7d5a
Bug 717147 part.2 Don't do autocomplete during composition r=dolske
2012-01-13 15:19:22 +09:00
Ms2ger
c635e3e706
Bug 716207 - Part b: Cleanup nsTextEditRules::RemoveRedundantTrailingBR; r=ehsan
2012-01-11 09:23:07 +01:00
Ms2ger
d7ac30b1d2
Bug 716207 - Part a: Cleanup nsTextEditRules::DidUndo; r=ehsan
2012-01-11 09:23:07 +01:00
Ms2ger
5d0b145094
Bug 716630 - Kill editor's warnings; r=ehsan
2012-01-11 09:22:16 +01:00
David Zbarsky
36d49f44a6
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Ehsan Akhgari
de715c6c21
Bug 716593 - test_bug596001.html calls SimpleTest.finish needlessly; r=roc
2012-01-09 17:07:17 -05:00
Graeme McCutcheon
50b5e738ff
Bug 471319 - Don't make incorrect assumptions about the bogus node after undo/redo. r=ehsan
2012-01-04 15:15:09 +00:00
Masayuki Nakano
bcb5aa90d8
Bug 711903 part.2 Fix new test failure r=ehsan
2011-12-31 23:04:37 +09:00
Masayuki Nakano
dc3c7ed04b
Bug 713502 Fire input event even during composition r=smaug+ehsan
2011-12-31 23:04:37 +09:00
Masayuki Nakano
efe739e3f9
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Jan Bambach
16da8f10c3
Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao
2011-12-08 10:21:32 +01:00
Masayuki Nakano
5ff35fa5ae
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske
2011-12-07 14:13:06 +09:00
Fabien Cazenave
49b2b22b70
Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan
2011-12-03 22:50:15 +01:00
Masayuki Nakano
506bc714c7
Bug 674770 part.2 Fix new test_bug597331.html failure and test_bug600570.html failur on Windows r=ehsan
2011-11-26 13:51:48 +09:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ehsan Akhgari
92064e6d3f
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
Quentin Headen
e85f53bf15
Bug 364914 - Do not spell check the contents of a textarea until it's focused for the first time; r=ehsan
2011-10-16 22:06:24 -04:00
Jeff Walden
b5e57820bf
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
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Ehsan Akhgari
a6b1175ee8
Bug 692520 - Handle the case where the frame might going away while retrieving selection properties from a text control; r=bzbarsky
2011-10-07 09:40:11 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
4ccac34eac
Merge mozilla-central and mozilla-inbound after the landing of bug 666414
2011-09-26 16:12:48 -04:00
Ehsan Akhgari
5272acdabd
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Masayuki Nakano
c3dc8121ea
Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan
2011-09-09 11:27:12 +09:00
Ehsan Akhgari
f97bdf3822
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
Felix Fung
0bc71ca85d
Bug 577266 - Correct misspellings in source code
2011-09-06 17:20:35 -07:00
Ms2ger
0b1536d069
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Ehsan Akhgari
3bf0c576f1
Bug 318065 followup - Remove the extra finish call from the test
...
DONTBUILD
2011-08-17 16:40:31 -04:00
Graeme McCutcheon
f9b46f6f4f
Bug 318065 - Don't notify editor observers until bogus node state is reset. r=ehsan
2011-08-16 13:55:23 +01:00
Ms2ger
f1ce0d69e4
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
c20b68638f
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
ea71db787e
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Graeme McCutcheon
f14955fe44
Bug 483651 - Trailing <br> node not removed when it should be; r=ehsan
2011-08-12 15:53:10 -04:00
Jonas Sicking
743f1281ec
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Ehsan Akhgari
62312843c5
Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
...
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API. This API returns true if the current selection in the document falls
inside the active editable section. The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.
There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.
This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Simon Montagu
41b695192a
Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc
2011-07-05 08:42:32 +03:00
Jonas Sicking
a326e5c69f
Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
0c346db2ed
Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
cd52437ea7
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
07c1f0b90f
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Masayuki Nakano
b96a7b1afb
Bug 664437 editor should use mozilla::Preferences r=ehsan
2011-06-17 09:59:29 +09:00
Masayuki Nakano
4a5030c91a
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Ehsan Akhgari
9db2091376
Bug 634406 - Don't select past the trailing BR node in text fields when performing the SelectAll operation; r=roc
2011-05-25 16:30:14 -04:00
Masayuki Nakano
7b13fbd2d9
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Ms2ger
95946ba581
Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan
2011-05-22 14:43:13 +02:00
Craig Topper
8a3f0ad8f7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Ms2ger
ebc1fff223
Bug 657160 - Remove NS_NewTextEditRules; r=ehsan
2011-05-15 12:16:45 +02:00
Ehsan Akhgari
e422c276a8
Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc
2011-05-12 09:52:38 -04:00
Masayuki Nakano
1ef49a007d
Bug 655918 Clean up the composition string when whole characters of it are refused due to maxlength r=ehsan
2011-05-11 13:52:45 +09:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Ehsan Akhgari
bc13895396
Bug 649797 - Rewrite the test for bug 600570 in a way that doesn't trigger the assertion which can never happen on the web; r=roc
...
--HG--
extra : rebase_source : 8f21974f360f1e9806a1b7cfefb7d1733513d22f
2011-04-21 10:25:34 -04:00
Ehsan Akhgari
2759ff18ea
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
2011-04-16 19:39:34 -04:00
Ehsan Akhgari
135eb99ddb
Backed out changeset d407ee4dabcc because it causes some tests to go orange
2011-04-16 23:47:06 -04:00
Ehsan Akhgari
d6e8bc6ecd
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
2011-04-16 19:39:34 -04:00
Sebastian Kromp
d77753a5db
Bug 633066: Remove nsICiter and make nsInternetCiter a static class. r=ehsan
2011-03-31 07:32:13 -04:00
Ehsan Akhgari
35dd938230
Bug 645914 - Do not eat the white-space when doing word selection if the eaten whitespace is a newline character and we have been instructed not to jump between lines; r=roc
...
This fixes a bug in selecting words at the end of lines in textarea's for Windows.
2011-03-30 11:56:48 -04:00
Ehsan Akhgari
389876ffaa
Test case for bug 638596; r=roc
2011-03-04 13:44:25 -08:00