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
Ms2ger
56beecce2a
Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan
2011-08-11 15:29:59 +02:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Jan Varga
a298beaa2e
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Michael Wu
b34f351453
Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith
2011-07-25 21:57:58 -07:00
Joel Maher
6659c4f8af
Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only
2011-07-21 16:21:25 -04:00
Mounir Lamouri
57fe0a2e82
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -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
Ms2ger
2213f46da8
Bug 670499 - Make nsEditor::CreateEventListeners return void; r=ehsan
2011-07-15 12:18:35 +02:00
Jonas Sicking
463d460f66
Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug
2011-06-27 16:34:54 -07: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
f7e72db3bc
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -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
Jonas Sicking
50c51df5f9
Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent
2011-06-23 19:17:58 -07:00
Ehsan Akhgari
d0dee49023
Bug 660199 - Avoid using invalid C++ casts when registering/unregistering editor event listeners; r=roc
2011-06-20 09:55:22 -04:00
Masayuki Nakano
b96a7b1afb
Bug 664437 editor should use mozilla::Preferences r=ehsan
2011-06-17 09:59:29 +09:00
Joel Maher
0dc4e1543a
Bug 663215 - move test_selection_move_commands.xul to mochitest-chrome. r=roc, a=test-only
2011-06-10 11:11:45 -04:00
Ms2ger
53c2bafa8a
Bug 657210 - Address review comment
2011-05-23 18:54:57 +02:00
Ms2ger
95946ba581
Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan
2011-05-22 14:43:13 +02:00
Ms2ger
f32c8d1912
Bug 657160 - Remove NS_NewCaret; r=ehsan,roc
2011-05-15 12:17:09 +02:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Mounir Lamouri
65155b5073
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Matt Brubeck
f7ac6dd55e
Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE.
2011-05-09 19:38:05 -07:00
Mounir Lamouri
b962186b7c
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Ed Morley
074fb0d28a
Bug 654737 - Remove WinCE code from editor/*; r=ehsan
2011-05-06 11:05:57 +02:00
David Zbarsky
a0b813679f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Ehsan Akhgari
2b93d069f5
Bug 650083 - nsEditor.cpp:1147: warning: unused variable 'rv'; r=roc
2011-04-14 23:45:24 -04:00
Ehsan Akhgari
09eee51632
Bug 617539 - Remove nsIEditor_MOZILLA_2_0_BRANCH; r=roc
2011-04-11 16:00:32 -04:00
Peter Van der Beken
75ba54d84d
Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent.
2011-03-06 12:11:31 +01:00
Ehsan Akhgari
29ecf466fa
Bug 646194 - Fix the bound checking when deleting previous words to prevent crashes when the caret is at the beginning of an editable area; r=roc
2011-04-06 11:28:08 -07:00
Ehsan Akhgari
039f2bfcf6
Bug 642588 - Clean up the drag & drop caret on the editor correctly when the mouse leaves the editable field; r=roc
2011-03-18 14:57:02 -04:00
Ehsan Akhgari
d8016a4f53
Bug 640321 - Register the mouse event handlers for the editor in the system group; r=roc
2011-03-16 15:34:30 -04:00
Ehsan Akhgari
c82a3bc6df
Bug 641466 - Correct the array bounds checking so that the last surrogate pair in a textbox can be deleted correctly; r=roc
2011-03-16 15:34:29 -04:00
Ehsan Akhgari
841f13f519
Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
...
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari
a2c435fafa
Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
54176ab085
Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
a991a93821
Bug 407127 - Part 4: Avoid using the presshell needlessly because it may not always be available; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
aa6ee6b6f9
Bug 407127 - Part 3: Get the selection controller for HTML editors from the presshell, instead of holding on to a presshell reference masked as a selection controller; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
eabc4ca754
Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
318a97fcfd
Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
76716122b8
Bug 636465 - Reset the spellchecking override status when detaching an editor object from the content node; r,a=roc
2011-03-01 15:04:42 -08:00
Neil Rashbrook
9626543cf1
Bug 635420 - Clicking on content within Normal tab of Composer and stops switching to other tabs; r=ehsan a=bsmedberg
2011-02-28 13:04:05 -08:00
Jesse Ruderman
d5953c7a20
Add bug number to comment. a=NPOTB DONTBUILD
2011-02-24 13:43:48 -08:00
Ehsan Akhgari
612a38d5d6
Bug 636074 follow-up: move the assertion count adjustment because a test was added in between
2011-02-23 15:28:33 -08:00
Kyle Huey
02e3532e3a
Bug 636107 - Part 2: Maintain better hygiene by not passing uninitialized pointer values around; r=ehsan a=blocking-final+
2011-02-23 07:20:58 -05:00
Ehsan Akhgari
e4231d6333
Bug 636074 - Part 1: Forget the transaction pointer when creating transaction objects in order to pass it to the caller instead of swapping it with random values; r=roc a=blocking-final+
2011-02-23 14:22:07 -08:00