Ehsan Akhgari
ed95bc25f5
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
Ehsan Akhgari
1b72ad3e8b
Bug 558983 - Holding Ctrl-Backspace from the middle of a sentence causes a crash. [@ nsEditor::CreateTxnForDeleteCharacter]; r=roc
2010-06-16 12:33:13 -04:00
Ehsan Akhgari
3a6a4b139c
Bug 569559 - Intermittent failure in editor/composer/src/crashtests/removing-editable-xslt.html | assertion count 0 is less than expected 1 assertions; r=dbaron
2010-06-18 12:57:36 -04:00
Jesse Ruderman
fb054fc73e
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Masayuki Nakano
eddb1d5460
Bug 545775 part.5 Text editor in ASUS Forum doesn't work r=ehsan
2010-06-17 14:32:05 +09:00
Masayuki Nakano
16f55c793b
Bug 545775 part.4 Move mutation observer to nsHTMLEditor r=ehsan
2010-06-17 14:31:15 +09:00
Masayuki Nakano
5f41263aaf
Bug 545775 part.3 Move selection initializer into nsEditor r=ehsan
2010-06-17 14:30:42 +09:00
Masayuki Nakano
ceaf9951b3
Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan
2010-06-17 14:30:10 +09:00
Masayuki Nakano
255dc50f24
Bug 545775 part.1 Separate GetRootElement() r=ehsan
2010-06-17 14:29:40 +09:00
Masayuki Nakano
be11e1c17d
Bug 570455 Editor shouldn't do anything when ESC key is pressed because bug 471322 was marked as WONTFIX r=ehsan
2010-06-17 14:25:20 +09:00
Ehsan Akhgari
59ce9793d3
Backed out changeset 2dcce82f9d66 because of mochitest failures
2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de
Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst
2010-06-16 20:33:46 -04:00
Ehsan Akhgari
3f077eaff5
Bug 572598 - Part 6: Don't try to split a node which can't contain a list when inserting one; r=roc
2010-06-21 11:02:14 -04:00
Ehsan Akhgari
1dbef4b718
Bug 572598 - Part 5: Remove a bogus NS_ENSURE_TRUE check, and add a couple more; r=roc
2010-06-21 11:02:14 -04:00
Ehsan Akhgari
1879d1099a
Bug 572598 - Part 4: Don't attempt to check empty selections, after all, they're empty; r=roc
2010-06-18 17:43:31 -04:00
Ehsan Akhgari
e44b7de5ab
Bug 572598 - Part 3: Improve error checking in nsEditor::GetStartNodeAndOffset; r=roc
2010-06-18 17:01:08 -04:00
Ehsan Akhgari
6caa9db6f3
Bug 572598 - Part 2: Make sure not to exceed the editor's root element when promoting ranges; r=roc
2010-06-18 16:53:16 -04:00
Ehsan Akhgari
83246c59b4
Bug 572598 - Part 1: Don't attempt to inject nodes for type-in state where the container can't accept child nodes; r=roc
2010-06-18 01:37:20 -04:00
Ms2ger
8afa5fcea5
Bug 573377 - Sort nsEditPropertyAtomList.h; r=ehsan
2010-06-21 11:00:43 -04:00
Ehsan Akhgari
1d27c39d4a
Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc
2010-04-09 17:06:09 -04:00
Masayuki Nakano
6e00300d75
Bug 550434 Clicking in an empty contenteditable element that has focus causes the caret to disappear (alternative approach) r=roc
2010-06-14 12:11:30 +09:00
Ehsan Akhgari
181e117cff
Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc
2010-06-10 22:46:51 -04:00
Ehsan Akhgari
78a40d380d
Bug 550434 - Clicking in an empty contenteditable element that has focus causes the caret to disappear; r=roc
2010-06-10 22:46:51 -04:00
Josh Matthews
98ebf9fb31
Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan
2010-05-17 15:30:15 -04:00
Masayuki Nakano
9d9e285291
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc
2010-06-10 10:16:58 +09:00
Mats Palmgren
383637ca1a
Accept 0-1 assertions on gtk2 for this test.
2010-06-10 00:57:37 +02:00
Jesse Ruderman
3dbc6bd8c8
Add a bunch of crashtests
2010-06-08 17:53:08 -07:00
Jonas Sicking
1489785d0c
Bug 570258: Some more atom usage cleanup. r=jst
2010-06-08 16:25:27 -07:00
Ehsan Akhgari
583eea4860
Bug 570350 - Crash [@ nsTextServicesDocument::NodeHasOffsetEntry(nsTArray<OffsetEntry*>*, nsIDOMNode*, int*, int*) ] when enabling/disabling the spell checker; r=roc
...
--HG--
extra : rebase_source : 8e8815dc92f936545305345b7fcf20eba4f4c6db
2010-06-08 00:20:23 -04:00
Ehsan Akhgari
67c7d5d5e2
Bug 332636 - Handle backspace for Unicode plane 1 characters correctly; r=roc
...
--HG--
extra : rebase_source : a343610b06983d3328f3ddb2e7025193ab275094
2010-06-04 13:28:19 -04:00
Ehsan Akhgari
a441c36681
Bug 567701 - Don't store a view manager pointer in nsEditor; retrieve it lazily; r=roc
...
(transplanted from 752f109a5d1157b0e6d024a5e5ccf484c6437304)
--HG--
extra : transplant_source : u/%10%9A%5D%11W%B0%E6%D0%24%A5%E5%CC%F4%84%C6Cs%04
2010-05-23 22:13:00 -04:00
Ehsan Akhgari
d051ffeaed
Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
...
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)
--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -04:00
Ehsan Akhgari
52b4577569
Merge backout of changeset 634e1f2cf46c
2010-06-03 21:28:24 -04:00
Ehsan Akhgari
c0245df31d
Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others)
2010-06-03 21:28:03 -04:00
Ehsan Akhgari
18ad987816
Merge backout of changeset ae1773250d39
2010-06-03 21:27:23 -04:00
Ehsan Akhgari
f3136f68ac
Backed out changeset ae1773250d39
2010-06-03 21:26:59 -04:00
Masayuki Nakano
76940b7b4f
Bug 564669 disables test_texteditor_keyevent_handling.html on linux
2010-06-02 17:05:34 +09:00
Masayuki Nakano
d075ac396c
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc
2010-06-02 16:24:56 +09:00
Ehsan Akhgari
45f365a4d6
Bug 484181 - spellcheck broken in contenteditable DIV with preceding empty DIV within a DIV; r=roc
2010-05-31 17:40:17 -04:00
Ehsan Akhgari
5a941e7405
Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc
2010-05-27 21:18:48 -04:00
Ehsan Akhgari
ae177e1855
Bug 563859 - Intermittent editor/libeditor/base/crashtests/382527-1.html | timed out waiting for reftest-wait to be removed; r=roc
...
--HG--
extra : rebase_source : aa229c01b32ef741e88cc0b338019d1ab4aea1ae
2010-05-27 19:52:14 -04:00
Ehsan Akhgari
2981f65ebd
Bug 563639 - [Debug] crashtest: intermittent "382778-1.html | timed out waiting for ..." probably caused by "targetDocument.body is null"; r=roc
...
--HG--
extra : rebase_source : 1c202e9ea2b44a764cd6e0753e8ba79e5c1542a4
2010-05-27 19:51:59 -04:00
Masayuki Nakano
3a9f248753
Bug 564151 nsHTMLEditor::HasFocus() failed if <HTML> is editable r=smaug
2010-05-28 12:02:59 +09:00
Masayuki Nakano
8b0678d007
Bug 568135 IME composition string is committed unexpectedly on Gmail when editor flag was changed by some commands r=smaug
2010-05-27 11:04:14 +09:00
Ehsan Akhgari
e4c3143ab1
Bug 567213 - selecting editable text and the clicking on an a focusable element does weird things; r=roc
...
--HG--
extra : rebase_source : 8f4d5df18d8eb7884ced10125132e9f8eada19e4
2010-05-22 21:04:10 -04:00
timeless@mozdev.org
6977583968
Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
...
r=glazou
2010-05-24 14:20:59 +02:00
Michael Kohler
5f19df86e0
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
...
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Ehsan Akhgari
f58add9d96
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Ehsan Akhgari
b8d67340db
Back out changeset 0d2f650b8581 because of crashtest failure
2010-05-21 15:27:24 -04:00
Ehsan Akhgari
2ca79e5889
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc
2010-05-21 14:15:21 -04:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
David Bienvenu
45cbd7e1ed
Bug 554806 Html editor deletes lines below return on certain emails composed in outlook 2003. r=roc,sr=dmose
2010-05-18 09:58:38 +01:00
Craig Topper
3e0e604d67
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
2010-05-17 21:00:40 -07:00
Mitchell Field
6ad77bd6db
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
timeless@mozdev.org
170a8bf93b
Bug 563616 warning: unused variable item in TypeInState::RemovePropFromSetList
...
r=neil
2010-05-13 10:33:26 -07:00
Craig Topper
d02574b6b4
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
Ehsan Akhgari
f4e4e2ee75
Make the build step for browserscope tests silent (no bug)
2010-05-06 18:10:03 -04:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Boris Zbarsky
e98cd67374
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
L. David Baron
7c61f15cf1
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
L. David Baron
e7c9a5f7f4
Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan
2010-05-05 18:20:43 -07:00
L. David Baron
29772aa9c7
Removed unused member variable and code. (Bug 564074) r=ehsan
2010-05-05 18:20:43 -07:00
L. David Baron
d94024525a
Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49).
2010-05-05 18:20:43 -07:00
L. David Baron
4fa6a83e02
Add additional debugging code for bug 563980.
2010-05-05 15:02:31 -07:00
Masayuki Nakano
6aa99dc4be
Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug
2010-05-05 02:40:39 +09:00
Jonas Sicking
6f9aebb70a
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Boris Zbarsky
a26d92e83d
Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst
2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Michael Kohler
882385621a
Bug 260911 - fix 'hierarchy' misspellings. r=timeless
...
--HG--
extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
2010-04-29 21:01:11 +02:00
Makoto Kato
b1d69bfe8c
Bug 561955 - nsICiter.idl has unnecessary #ifndef. r=neil
2010-04-28 13:58:29 +09:00
Mounir Lamouri
dbdc60fd52
Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst]
2010-04-26 03:42:00 -04:00
Steffen Wilberg
811b2cfeae
Bug 514412: about:blank should derefence to an empty stream. r=bzbarsky
2010-04-27 23:20:55 +02:00
Masayuki Nakano
35cd0d8a5e
Bug 558970 nsEditorEventListener should store its owner as nsEditor rather than nsIEditor r=smaug
2010-04-19 21:20:42 +09:00
Masayuki Nakano
a0d8a6eea6
Bug 559754 IME Composition in password field cannot be committed by click (and forceCompositionEnd()) r=smaug
2010-04-19 21:20:30 +09:00
Neil Deakin
645fdae65c
Bug 539476, use the system event group for editor drop listeners, so that the default action can be prevented, r=smaug
2010-04-18 14:27:20 -04:00
Phil Ringnalda
719c769ce2
Correct spelling of independant in a CLOSED TREE
2010-04-15 21:02:56 -07:00
Ehsan Akhgari
856ecc5649
Bug 558962 - Memoize nsPlaintextEditor::GetDefaultEditorPrefs to avoid unnecessary calls to the pref service; r=roc
2010-04-13 13:44:17 -04:00
Ehsan Akhgari
12fba145fe
Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel
2010-04-12 02:13:17 -04:00
Ehsan Akhgari
00a641e433
Merge backout of the debugging code added for bug 557689
2010-04-12 01:08:36 -04:00
Ehsan Akhgari
bc902da3d5
Backed out changeset b501122477cc because I figured out the problem
2010-04-12 01:08:03 -04:00
Masayuki Nakano
7d05909d39
Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug
2010-04-12 11:35:18 +09:00
Ehsan Akhgari
bf02b17a63
Try to gather some debug information for bug 557689
...
--HG--
extra : rebase_source : c7f77e94f3697acbf94175f232633a83086aba98
2010-04-11 22:27:45 -04:00
Ehsan Akhgari
05b0ede6fb
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
2010-02-01 23:00:12 -05:00
Craig Topper
771eede254
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Masayuki Nakano
2e04f8ba90
Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc
2010-04-10 18:24:35 +09:00
Craig Topper
ea3edbe56c
Bug 557690: Fix uninitialized return value in nsEditor::QueryComposition. r=roc
2010-04-08 12:26:27 -07:00
Ehsan Akhgari
a7ebcd12b9
Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689
2010-04-06 21:08:58 -04:00
Ehsan Akhgari
0170b6dede
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
1381adb443
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ] (crashtest); r=peterv
...
--HG--
extra : rebase_source : 8621c95f05431946dd8bff43f6d703b53185917d
2010-04-06 14:35:25 -04:00
Jesse Ruderman
00c97be395
Add dumps to crashtest in the hope of shedding light on orange bug 471185
2010-03-31 17:00:04 -07:00
Craig Topper
7b89b159bb
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
afc6c6ca2d
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
liucougar@gmail.com
08a58993f1
Bug 507936 - Should join node when deleting at end of paragraph. r=peterv
2010-03-23 09:23:23 +01:00
Makoto Kato
9058c89126
Bug 553548 - nsEditor::GetWrapWidth() is unused. r=Olli.Pettay
2010-03-23 12:51:58 +09:00
Neil Deakin
8f3acb3041
Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil
2010-03-19 14:32:13 -04:00
Ehsan Akhgari
e03b37a6c4
Bug 484890 - Use a weak pointer for docshell in editing session; r=sicking
...
--HG--
extra : rebase_source : 4ac0aec249fb9e79d68356b28d0abbb6b65a021f
2010-03-18 12:12:37 -04:00
Mats Palmgren
b4870c9c1d
Bug 541013. r=peterv
2010-03-15 19:30:01 +01:00
Justin Wood
3659e4a8ef
Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it
2010-03-15 01:15:27 -04:00
liucougar
a571e0a828
Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
...
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Mats Palmgren
549893b6d7
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Serge Gautherie
2e527756c8
Bug 369034 - TestTXMgr has error and leaks object; (Dv1) Fix and reorder printf()s.
...
r=peterv.
2010-03-10 21:03:23 +01:00
Ehsan Akhgari
6ed1775117
Bug 550569 - Integrate BrowserScope's HTML editor test suite with Mozilla's mochitest framework; r=bzbarsky
...
--HG--
extra : rebase_source : fd9a9c69ff732dc8c1af97d120a044f34c6a70d7
2010-03-08 17:36:42 -05:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Markus Stange
6cd85ba6d1
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
Masayuki Nakano
8a42231835
Bug 545602 Unify the event listeners for editor r=smaug
...
--HG--
rename : editor/libeditor/text/nsEditorEventListeners.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/text/nsEditorEventListeners.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorMouseListener.cpp => editor/libeditor/html/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorMouseListener.h => editor/libeditor/html/nsHTMLEditorEventListener.h
2010-03-06 13:01:28 +09:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Henri Sivonen
1bc27dd8cf
Bug 546256 - Replace bogus </head> tag with </title> in test_bug471722.html. r=peterv.
...
--HG--
extra : rebase_source : 374ecbaed964aae46426cf3b65eb6ead7bcc1d24
2010-02-22 14:17:37 +02:00
Henri Sivonen
8eebbdca2a
Bug 545405 - Replace bogus </head> tag with </title> in test_bug502673.html. r=timeless.
...
--HG--
extra : rebase_source : bae05f3671d99bcac21f52a5452aa6867e6dd0f0
2010-02-22 14:17:31 +02:00
Ehsan Akhgari
50f48242c4
Backed out changeset 70b1ccb14325
2010-02-18 18:52:12 -05:00
Ehsan Akhgari
8b4d5890e9
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
c47d8c7d26
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
...
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari
4c3dd43ac1
Bug 499844; r=peterv
...
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo
aef352eae8
Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv
2010-02-11 09:34:37 +01:00
Masayuki Nakano
04e43f1569
Bug 544168 - nsIEditorIMESupport::endComposition shouldn't be scriptable. r+sr=smaug
2010-02-06 19:16:31 +01:00
Ehsan Akhgari
1000016308
Bug 542912 - Refactor the newline handling behavior in nsTextEditRules; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 92fb4649c72293253317cc5eb6fc0f10d8aa6dfb
2010-02-01 13:12:31 -05:00
Masayuki Nakano
798021118b
Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz
2010-01-20 11:22:09 +01:00
Daniel Holbert
40f5cf3a1c
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in editor directory. r=neil
2010-01-17 15:11:04 -08:00
Masayuki Nakano
6aa4de4b64
Bug 537828 crash [@ nsAString_internal::Assign(nsAString_internal const&)] r=Olli
2010-01-13 11:35:50 +09:00
Jesse Ruderman
243c9242a9
Add crashtests
2010-01-10 19:50:41 -08:00
Tom Dyas
8209cf7fbc
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
f9051ae7e3
Backed out changeset bee6729280d8
2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c
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
Masayuki Nakano
838c68560a
Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli
2009-12-30 17:17:44 +09:00
Oleg Romashin
0a396e82ab
b=536560; Freeze and OOM kill happens in gfxPangoFontGroup::CreateGlyphRunsItemizing, on password input field, r=neil
2009-12-26 10:36:11 +02:00
Boris Zbarsky
3e7aa47200
Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc
2009-12-24 16:20:06 -05:00
Masayuki Nakano
6066caf76e
Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli
2009-12-17 13:46:30 +09:00
Brad Lassey
c7d187e05b
bug 527674 - number of askterisks doesn't match the number of password charecters when user hits delete r=neil
2009-11-25 12:50:35 -05:00
Brad Lassey
926e622d2a
bug 530367 - passwords from password manager flash in clear text r=neil
2009-11-25 12:41:23 -05:00
Brad Lassey
3a3e6e7566
bug 527182 - crash entering login info on twitter, missing QI impl r=timeless
2009-11-18 13:45:26 -05:00
Masayuki Nakano
ab0f2e9ba1
Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil
2009-11-16 22:13:02 +09:00
Doug Turner
98d855d1a7
Bug 527182 - Crash when entering info on twitter. r=blassey
2009-11-07 19:01:29 -08:00
Brad Lassey
8eae6471c5
bug 514212 - Typed letters in password fields become asterisks immediately r=neil
2009-11-02 10:37:25 -05:00
Simon Montagu
cf11344722
Include bidi continuations when testing whether a frame has any width. Bug 514156, r=peterv
...
* * *
Tests for bug 514156
2009-10-19 01:01:15 -07:00
Ehsan Akhgari
42bde816bb
Bug 569504 - Fix the spell checker leaking windows and documents; r=roc
2010-06-02 14:33:47 -04:00
Neil Rashbrook
f9d476fbd9
Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst
2009-09-22 00:05:26 +01:00
Phil Ringnalda
faf27ea6f9
Bug 499071 - nsIEditorStyleSheets.idl's comments have a tenuous grasp on the concept of truth, r=neil, sr=bz
2009-08-30 09:29:18 -07:00
Jesse Ruderman
15e3a448a6
Add crashtests
2009-08-27 19:48:20 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Jesse Ruderman
22157d1ea2
Add crashtest for bug 461049
2009-08-08 16:00:35 -07:00
Jesse Ruderman
7672636f9e
Add crashtest for bug 407062
2009-08-08 15:32:56 -07:00
Serge Gautherie
19afaa3c11
Bug 444021 - Remove useless |#include "nsILocale[Service|].h"|; (Av1) Just remove them; r=smontagu
2009-08-06 20:00:41 +02:00
liucougar@gmail.com
cc07460944
Bug 502259. Make delete at end of paragraph work. r=cpearce
2009-08-04 09:46:48 +12:00
Michael Kohler
39067b5db3
Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless
2009-07-27 10:46:59 +02:00
arno renevier
ff877139b1
Bug 482481 - Commands doesn't work on contained contentEditable elements; PromoteInlineRange checks that selection is editable; r+sr=peterv
2009-07-26 07:21:04 +02:00
timeless@mozdev.org
9458b76a5d
Bug 504087 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(IMETextTxn) incorrectly used NS_INTERFACE_MAP_END_INHERITING(EditTxn)
...
r=neil
2009-07-22 17:31:02 -05:00
timeless@mozdev.org
711722cebc
Bug 504496 case eCSSEditableProperty_NONE is unreachable in nsHTMLCSSUtils::GetCSSPropertyAtom
...
r=neil
2009-07-22 17:31:01 -05:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Robert O'Callahan
60ca055fc6
Backed out changeset 4c139bbb4895
...
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan
f3245eefd5
Bug 502156. Make editor use nsContentUtils::CreateContextualFragment instead of instantiating a parser directly, when HTML content is pasted/dropped. This removes some code and lets the editor use the HTML5 parser if enabled. r+sr=peterv
2009-07-10 14:07:04 +12:00
Graeme McCutcheon
0e3e141b65
Bug 502673 - Crash @ nsEditor::NotifyDocumentListeners with multiple state listeners, if listener removes itself during notification. r=timeless
2009-07-08 19:38:13 +01:00
Blake Kaplan
7c6f6cb50c
Bug 434766 - Don't try to use the selection if we don't need one. r+sr=peterv
2009-07-01 12:12:04 -07:00
timeless@mozdev.org
fe2e37e90f
Bug 494691 nsSelectionState::DoTraverse warning: unused variable ‘item’ (shadowed by another of the same name)
...
r+sr=neil
2009-06-27 18:42:51 -07:00
Phil Ringnalda
18c0271253
Bug 499437 - nsHTMLEditor::ReplaceStyleSheet fails to replace if both sheets are loaded, r+sr=neil
2009-06-26 22:31:36 -07:00
Jesse Ruderman
139464206d
Add crashtest for bug 500847 (just filed)
2009-06-26 17:26:31 -07:00
Ginn Chen
184c5dcd50
Bug 499660 Firefox should use English dictionary by default with CJK locale r=neil
2009-06-24 14:06:58 +08:00
Olli Pettay
1a534bf2c2
Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
...
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
df6649fbc1
Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking
2009-06-23 12:13:01 +03:00
Ginn Chen
d488fd4153
Bug 442241 First time using spellchecker will use the first dictionary not locale dictionar r=neil
2009-06-18 19:16:20 +08:00
Arpad Borsos
497b2e227d
Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Jesse Ruderman
d874abb747
Add test for bug 431086, using cpearce's crashtest patch
2009-06-12 18:56:23 -07:00
Arpad Borsos
cd1887abfd
Back out bug 474369, suspected of causing dhtml and tp3 regression
2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
...
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Robert O'Callahan
679ac11f8b
Bug 497274. nsWrapUtils is unused, remove it. r+sr=peterv
...
--HG--
extra : rebase_source : 2229184a5fe9adfba4bdd21b2cc731fb1d649acf
2009-06-12 14:02:36 +12:00
Serge Gautherie
c10c566966
Bug 234844 - NS_HTMLEDITOR_COMMANDTABLE_CID and NS_HTMLEDITOR_DOCSTATE_COMMANDTABLE_CID have malformed CIDs; (Av1) nsEditingSession.cpp: (unrelated) s/as/has/; r+sr=bzbarsky
2009-06-11 19:47:32 +02:00
Neil Rashbrook
9579ae09b2
Bug 488094 Fix fallout from bug 237964 by not deleting nodes twice r+sr=peterv
2009-06-11 15:29:15 +01:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Serge Gautherie
54cef84b12
Bug 369034 - TestTXMgr has error and leaks object; (Cv1) Functional cleanup and documentation; r=peterv
2009-06-08 21:38:35 +02:00
Masayuki Nakano
a5daf397fd
Bug 489951 [TSF] Korean TIP's composition string looks like normal text r=VYV03354, sr=roc
2009-05-15 09:45:15 +09:00
Mats Palmgren
ffc3033195
Bug 487524. Joining a list to its parent should be a no-op. r+sr=peterv
...
--HG--
extra : rebase_source : bc62f18f6ef25dcabd5a48caad547be2a209662d
2009-05-13 21:45:38 +12:00
L. David Baron
375aab6e36
Fix gcc bracing warning while I'm here. (Bug 423233)
2009-05-08 21:59:26 -07:00
L. David Baron
8541a68e99
Make transaction manager unit test's output give the correct function name.
2009-05-08 21:59:26 -07:00
L. David Baron
a3f6efd2f2
Implement cycle collection for transaction manager and editor transactions. (Bug 488799) r+sr=peterv
2009-05-08 21:59:25 -07:00
Robert Sayre ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0864915da4
Add the editor to cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:25 -07:00
L. David Baron
a55b8a1b0a
Clear the weak back pointers in nsTextEditRules and nsHTMLEditRules when they are no longer valid, to prepare for editor cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:24 -07:00
Ryo Onodera
5e72993bff
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Boris Zbarsky
64b2d5e1bf
Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg
2009-05-07 15:21:53 -04:00
Olli Pettay
f01fca6fe2
Bug 424300, r+sr=peterv
...
--HG--
extra : rebase_source : 56e3b2e745fa0d648c7c5022ad8c2b6d4d98284a
2009-05-07 09:31:56 +03:00
Olli Pettay
6fa0681aee
Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
...
--HG--
extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
2009-05-07 09:27:31 +03:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Serge Gautherie
177fafd066
Bug 369034 - TestTXMgr has error and leaks object; (Av1a) Add mgr->Clear(), use ScopedXPCOM() and run this test; r=benjamin
2009-05-06 01:11:14 +02:00
Arpad Borsos
35b892b3aa
Bug 474369 - get rid of nsVoidArray, editor part; r=neil
2009-04-22 10:43:15 +02:00
Ehsan Akhgari
4cd7be8b4c
Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next
2009-05-03 22:03:40 +04:30
Ehsan Akhgari
9c75ee0759
Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc
2009-05-03 13:31:32 +04:30
L. David Baron
1db85e07d6
Remove nsTransactionFactory and most transaction CIDs. (Bug 489851) r+sr=peterv
2009-04-24 15:45:34 -07:00
L. David Baron
54fe514e17
Convert children of EditAggregateTxn from nsISupportsArray to nsTArray< nsRefPtr<EditTxn> >. (Bug 488799) r+sr=peterv
2009-04-24 15:45:34 -07:00
L. David Baron
34e7f57d3f
Convert nsTransactionManager's mListeners from nsVoidArray* to nsCOMArray<nsITransactionListener>. (Bug 488799) r+sr=peterv
2009-04-24 15:45:34 -07:00
Bob Clary
1a44d27af4
bug 403965 - crash test by Martijn Wargers.
2009-04-24 10:08:22 -07:00
Bob Clary
a5302ad04e
bug 351236 - crash test by Martijn Wargers.
2009-04-24 10:08:15 -07:00
Masayuki Nakano
3ad00a6eb6
Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc
2009-04-23 12:27:12 +09:00
Siddharth Agarwal
50384d30a3
Bug 484143 -- Remove AOLCiter, based on a patch by Phil Ringnalda <philringnalda@gmail.com>, r+sr=roc
2009-04-05 22:10:43 +05:30
Chris Pearce
b758ddf2ee
Bug 431086 - nsHTMLObjectResizer refactor.
2009-04-14 15:05:34 +12:00
Boris Zbarsky
35edb04b3a
Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv
2009-04-10 10:29:08 -04:00
Olli Pettay
93abe669f8
Bug 481139, r+sr=peterv
2009-04-10 17:14:11 +03:00
Fred Jendrzejewski
63abee270a
Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv.
...
--HG--
extra : rebase_source : 73e620aade6618aa90cebe0784754a68d5479a6d
2009-04-08 14:59:06 +02:00
Boris Zbarsky
b4295b1789
Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug
2009-04-06 13:17:37 -04:00
Jeremy D. Lea
39f62f1364
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Mats Palmgren
e4524f89a0
Move 'bDidInsert' inside the loop so it correctly reflects if the current node was inserted. b=480972 r+sr=peterv
2009-04-01 03:05:44 +02:00
Olli Pettay
dcd3c5dbc9
Bug 372284, r+sr=peterv
2009-03-30 12:59:28 +03:00
Olli Pettay
d2b90e9a8e
Bug 372284, r+sr=peterv
2009-03-30 12:58:42 +03:00
Asaf Romano
3dd3f44306
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
Graeme McCutcheon
4462f25220
Bug 483589 - PRBool problem in nsHTMLEditor::EnableExistingStyleSheet; r+sr=peterv
2009-03-18 17:02:19 +01:00
Boris Zbarsky
c6ba3c228b
Bug 416942. Give user and ua sheets the system principal. r+sr=sicking
2009-03-16 21:38:36 -04:00
SkyLined
01f1d70804
Crash tests for bug 456727.
2009-02-26 11:55:15 +01:00
Mats Palmgren
71de6922cb
The white-space bounding parent is the closest block within the editable subtree, or if there is none, the (inline) editable subtree root. b=455992 r+sr=peterv
2009-02-21 05:28:09 +01:00
Mats Palmgren
9e4ecf09b8
Stop doing special child insertions if InsertNodeAtPoint() fails, continue with the generic insertion instead. b=478725 r+sr=peterv
2009-02-21 03:51:52 +01:00
Serge Gautherie
bc94cdea22
Bug 471185 - [Windows] Intermittent "428844-1.html | timed out waiting for onload to fire"; Reenable test, except on Windows.
2009-02-21 03:09:15 +01:00
Mats Palmgren
575d767fbd
Bug 448329. Make selection code more robust when the selection boundary is not in a block ... Tests.
...
--HG--
extra : rebase_source : 4a8c3bbd202e6aa0973117b4de81e7885150f50e
2009-02-19 21:01:36 +13:00
Mats Palmgren
a2bc6f0ca1
Bug 448329. Make selection code more robust when the selection boundary is not in a block. r+sr=peterv
...
--HG--
extra : rebase_source : dc75af58f6a093298d58197c31552fac1c4b5b1d
2009-02-19 20:55:40 +13:00
Chris Pearce
e122c46837
Bug 432114. Change style sheet owner to the document being edited. r+sr=peterv
...
--HG--
extra : rebase_source : 1477b54a36bdb3c8d1f4f44801890707043b49ee
2009-02-19 20:52:54 +13:00
Jesse Ruderman
dbda4ec05a
Fix crashtests.list syntax, add bug reference
2009-02-17 10:40:50 -08:00
Ted Mielczarek
a30e7aa171
disable crashtest 428844-1.html for random failures, see bug 471185. disable media test_play.html for random failures, see bug 478868
2009-02-17 11:43:17 -05:00
Graeme McCutcheon
57f7cebb30
Bug 471722 - Plaintext editor redo handling code looks for incorrect type of bogus node; test; r=peterv
...
CLOSED TREE (test only)
2009-02-14 20:32:22 +01:00
Daniel Holbert
59d61972ae
Bug 461047 follow-up patch - Fix a number of small issues from the nsStringArray to nsTArray<nsString> switchover, mostly related to signed vs unsigned array sizes. r+sr=roc
2009-02-10 12:39:43 -08:00
Jesse Ruderman
2e1fda752f
Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744
2009-02-07 21:33:31 -08:00
Graeme McCutcheon
fd55a4bbd4
Bug 471722 - Plaintext editor redo handling code looks for incorrect type of bogus node. r+sr=peterv
2009-02-06 22:15:57 +00:00
Theppitak Karoonboonyanan
39fd2c6edd
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv.
2009-01-27 13:50:32 +01:00
Robert O'Callahan
5e04905dff
Backed out accidentally committed 192d50641f83
...
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
57feb73e0d
Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows.
2009-01-26 20:44:15 +13:00
Axel Hecht
8a52a20306
Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang.
...
--HG--
extra : rebase_source : 04df751be990ce4652f5a7d17579744ea6c64aa3
2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan
569850469d
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv
...
--HG--
extra : rebase_source : 3c393351939ad7c475604ed0bc5591e87e36b2ae
2009-01-24 22:01:05 +13:00
Fred Jendrzejewski
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Peter Van der Beken
78527f8037
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
L. David Baron
e11583f7ec
Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac).
2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855
Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv
2009-01-16 13:32:09 -08:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Peter Van der Beken
84d3eabc50
Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange.
2009-01-14 15:12:37 +01:00
Peter Van der Beken
4189af9d67
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Ginn Chen
f1d41ea3cb
Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc
2009-01-14 15:13:17 +08:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Benjamin Smedberg
720c4f5577
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Tyler [Triage]
a0ce012f99
Bug 471154 - remove editor readme from mozilla-central; r=daniel
2008-12-30 06:29:45 +01:00
Boris Zbarsky
c07452f1f9
Bug 467647. Fix editor leak in error conditions. r+sr=peterv
2008-12-28 11:10:49 -08:00
Olli Pettay
4bb69ed3fb
Bug 432025 - Crash [@ CallQueryInterface<nsIDOMElement, nsIContent>], r+sr=peterv
2008-12-27 21:13:49 +02:00
Robert O'Callahan
a3a3951684
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
Olli Pettay
74e208a642
Bug 449006, r+sr=peterv
2008-12-10 18:46:36 +02:00
Sylvain Spinelli
a5672f5802
Bug 366682 - spellCheckRange : scan only the first word of a text node and stop; r+sr=roc
2008-12-06 19:39:47 +01:00
Markus Stange
76daa5a7da
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Theppitak KaroonboonyananTheppitak Karoonboonyanan
847fd40c16
Bug 461816 - pressing Ctrl-U in password dialog asserts and then crashes; r+sr=peterv
2008-12-04 14:17:48 +01:00
Ted Mielczarek
a82f5ca414
bug 432415 - strip trailing newlines when editor.singleline.pasteNewlines == 2 (Copy pasting a cell from an xls/ods file adds an extra space at the end). r+sr=neil, a=beltzner
2008-11-19 12:12:30 -05:00
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00