Masayuki Nakano
2ed7d1345b
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc
2010-06-10 10:16:58 +09:00
Ehsan Akhgari
39534c1d71
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
b6c7f202ba
Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others)
2010-06-03 21:28:03 -04:00
Masayuki Nakano
fe3d0e12b0
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc
2010-06-02 16:24:56 +09:00
Ehsan Akhgari
bb57d7226c
Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc
2010-05-27 21:18:48 -04:00
Ehsan Akhgari
db9d404619
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Ehsan Akhgari
8928faf5db
Bug 558962 - Memoize nsPlaintextEditor::GetDefaultEditorPrefs to avoid unnecessary calls to the pref service; r=roc
2010-04-13 13:44:17 -04:00
Masayuki Nakano
0d33112480
Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug
2010-04-12 11:35:18 +09:00
Masayuki Nakano
e38734397e
Bug 543398 Drop nsTextEventReply and nsIPrivateCompositionEvent r=smaug, sr=roc
2010-04-10 18:24:35 +09:00
Craig Topper
c82a6bc194
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
5278cfe428
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
61dba9a452
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Neil Deakin
3ea1a5bd7d
Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil
2010-03-19 14:32:13 -04:00
Mats Palmgren
e5f8b2f7e8
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Masayuki Nakano
1c0b55c010
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
Ehsan Akhgari
1e119e5cfc
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
liucougar@gmail.com
b8bff67c98
Bug 502259. Make delete at end of paragraph work. r=cpearce
2009-08-04 09:46:48 +12:00
L. David Baron
ab2848ec65
Fix gcc bracing warning while I'm here. (Bug 423233)
2009-05-08 21:59:26 -07:00
Robert Sayre ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bc68124053
Add the editor to cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:25 -07:00
L. David Baron
2dc4c3c055
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
dff270d1be
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
Siddharth Agarwal
c324daf686
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
Jeremy Lea
ce80f69254
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
Theppitak Karoonboonyanan
88e1b95b7b
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Arpad Borsos
06188d3762
Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc
2008-09-04 22:32:39 +02:00
Masayuki Nakano
d504a8c50f
Bug 449955 – Remove #ifdef of nsCaret.cpp for IME r+sr=roc
2008-08-13 10:55:39 +09:00
Masayuki Nakano
dbe443ee82
Bug 449012 – Remove legacy Reconversion/QueryCaretRect Events r=ere+roc, sr=roc
2008-08-09 11:46:30 +09:00
Masayuki Nakano
4e814c49e6
Bug 447945 IME candidate list is positioned to wrong place when the caret is in <panel> r=roc+katakai, sr=roc
2008-07-31 01:12:49 +09:00
John Daniels
b006229ae6
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00
dbaron@dbaron.org
4589e85ab3
Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons
2008-04-14 18:04:18 -07:00
dbaron@dbaron.org
749f0e1e17
Fix bad reference counting of atoms so we don't manipulate garbage atom pointers. b=422546 r=timeless sr=roc a=damon
2008-03-13 11:54:01 -07:00
Olli.Pettay@helsinki.fi
69dbbd79be
Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking
2008-02-24 02:55:37 -08:00
roc+@cs.cmu.edu
709741beff
Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep
2008-02-21 18:24:04 -08:00
reed@reedloden.com
36a557fc04
Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures.
2008-02-20 03:10:16 -08:00
reed@reedloden.com
61f93061b0
Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep]
2008-02-20 02:19:31 -08:00
roc+@cs.cmu.edu
60a9f80a00
Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep
2008-02-19 18:07:48 -08:00
reed@reedloden.com
2eddcd6e28
Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745).
2008-02-15 12:20:55 -08:00
reed@reedloden.com
636da4197c
Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner]
2008-02-14 21:30:34 -08:00
martijn.martijn@gmail.com
763317bf92
Bug 396108 - Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas
2007-09-29 10:56:04 -07:00
jst@mozilla.org
83c8471b91
Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc
2007-07-25 21:14:33 -07:00
bzbarsky@mit.edu
bea1e960d8
Avoid doing some work when initializing textfields. Bug 221150, patch by
...
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
peterv@propagandism.org
2d657de1af
Fix for bug 386838 (Cannot select text twice in readonly textboxes). r/sr=jst.
2007-07-10 08:38:30 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
cvshook%sicking.cc
4692aff338
Don't use ranges when getting the value of a textfield since we get the value in the middle of tearing down a document. b=359674 r/sr=jst
2006-11-09 08:43:26 +00:00
mrbkap%gmail.com
49801f467c
Add an API on the presshell for invalidating the caret if it isn't currently
...
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc
2006-11-07 01:35:36 +00:00
smontagu%smontagu.org
35a27c6675
Make word-delete behaviour when there is a selection follow platform conventions. Bug 350564, r=glazman, sr=neil
2006-10-10 16:50:50 +00:00
sayrer%gmail.com
9395f31ee3
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
2006-09-08 04:35:17 +00:00
uriber%gmail.com
3bef115769
Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
2006-07-18 07:28:38 +00:00
masayuki%d-toybox.com
59eb9eae67
Bug 271815 GTK2 IM over-the-spot doesn't work with Chinese IM because the editor doesn't return correct caret position r=timeless, sr=roc
2006-06-19 15:00:58 +00:00
bzbarsky%mit.edu
b1ee2830dd
Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
...
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
6e8df6adb8
nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
...
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
f675dea5f2
Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
...
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag
2005-12-20 20:12:54 +00:00
neil%parkwaycc.co.uk
8943c9e329
Remove plaintext editor's outdated event listener removal code that caused dangling event listener crash (regression from bug 303713) b=319732 r+sr=dbaron
2005-12-11 09:26:29 +00:00
masayuki%d-toybox.com
837c203ca4
Bug 317782 A character is deleted on HTML Editor when running IME reconvertion with non-selected text / Bug 296686 When insert a space with EGBRIDGE(TSM(IME) of Japanese), a next character of caret is deleted / Removing nsHTMLEditor::SetCompositionString and nsHTMLEditor::GetReconversionString, Because bug 66290 has been duplicated these method in nsPlaintextEditor r=timeless, sr=sfraser
2005-11-26 22:10:03 +00:00
mats.palmgren%bredband.net
7980f99519
Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
2005-10-17 00:54:02 +00:00
bzbarsky%mit.edu
2a3fd9ee10
Remove a tad more code. r=sicking, sr=peterv, a=asa
2005-04-21 21:27:46 +00:00
bzbarsky%mit.edu
02c43f3a5e
Don't create an unneeded selection object when serializing and editor. Bug
...
290350, r=sfraser/brade, sr=peterv, a=brendan.
2005-04-18 22:14:53 +00:00
jst%mozilla.jstenback.com
006a859d7d
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
2005-03-24 19:00:01 +00:00
timeless%mozdev.org
deb268915a
Bug 278058 non-editable and disappearing character exists on password field when using ATOK
...
patch by masayuki@d-toybox.com r=timeless sr=bz
2005-03-07 12:25:26 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bryner%brianryner.com
7d1dbeb3a8
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
2004-04-30 23:55:16 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
smontagu%smontagu.org
7a8aed8d34
Make Ctrl+Delete and Ctrl+Backspace delete words in the expected direction in right-to-left text. Bug 209430, r=daniel@glazman,org, sr=dbaron@dbaron.org
2004-01-12 23:39:40 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
scott%scott-macgregor.org
2a8f81be02
fix for bug #216581
...
Rewrap is broken
thanks to Akkana (akkzilla@shallowsky.com ) for the fix
r=brade a=sspitzer for 1.5 final
2003-09-03 04:17:45 +00:00
brade%netscape.com
a2b4921bae
fix compiler warning
2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu
5fa37ec6f3
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:35:53 +00:00
brade%netscape.com
ee332541d8
cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
2003-07-28 13:13:50 +00:00
brade%netscape.com
9371323b42
editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
2003-07-08 20:22:56 +00:00
kin%netscape.com
655f4dff39
jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
...
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
- Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.
r=brade@netscape.com sr=kin@netscape.com
2003-06-25 19:21:59 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
brade%netscape.com
97e32dcb83
remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
2003-06-12 14:51:37 +00:00
timeless%mozdev.org
dad022fd58
Bug 199989 Remove gNoisy code from libeditor.
...
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu
270d3909ca
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
sfraser%netscape.com
352be220ed
Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
2003-04-22 18:11:12 +00:00
sfraser%netscape.com
28c61bb42b
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
bryner%netscape.com
d72672f317
Fix ctrl+enter in the mail compose window by getting rid of editor's key listeners in the client event pass entirely (everything now happens in the system event pass). r=brade, sr=sfraser.
2003-04-02 03:31:18 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
sfraser%netscape.com
511b311820
Fix bug 74404: show caret drag feedback. r=brade, sr=kin
2003-02-27 23:09:51 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
cb9bcc2e25
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 19:51:43 +00:00
jfrancis%netscape.com
18d72537a9
editor fixes for:
...
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field (patch courtesy of Shotaro Kamio)
r=jfrancis,brade,cmanske sr=kin
2002-12-22 01:51:14 +00:00
dbaron%fas.harvard.edu
de5585e5e7
Remove unused parser-related code. b=130439 r=harishd sr=jst
2002-11-28 19:43:51 +00:00
caillon%returnzero.com
82090ec342
Bug 181442 - Convert editor's pref usage to the new pref APIs.
...
r=brade sr=kin
2002-11-23 01:26:58 +00:00
brade%netscape.com
b57b38a037
Cut when no selection should just return NS_OK (not error which causes JS to throw an error); bug 178725, r=akkana, sr=kin
2002-11-13 21:21:28 +00:00
cmanske%netscape.com
09f188f039
Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
2002-11-12 23:30:29 +00:00
bryner%netscape.com
8beac694e3
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
2002-11-09 00:25:25 +00:00
bryner%netscape.com
be89105ec4
Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt.
2002-11-07 03:34:13 +00:00
blizzard%redhat.com
f360f72c84
Backout unapproved checkin for bug #104371 .
2002-10-23 15:18:13 +00:00
hyatt%netscape.com
cec3e61e53
Fix for 104371, SHIFT not being set correctly in the DOM, i.e., the SHIFT+space
...
keybinding didn't work. r=blizzard,brade sr=blake
2002-10-23 03:15:42 +00:00
akkana%netscape.com
753fba95f6
161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
2002-10-08 20:24:23 +00:00
cmanske%netscape.com
1010f8aeed
Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
2002-09-18 19:42:38 +00:00