109 Commits

Author SHA1 Message Date
martijn.martijn%gmail.com
1c3fd47fba Bug 396108 – Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas
git-svn-id: svn://10.0.0.236/trunk@236924 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:56:05 +00:00
jst%mozilla.org
daccf057ae Bug 280959: 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
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
bzbarsky%mit.edu
43d165c801 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc


git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 00:11:23 +00:00
peterv%propagandism.org
c38fe4dd36 Fix for bug 386838 (Cannot select text twice in readonly textboxes). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229607 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 15:38:30 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
cvshook%sicking.cc
ff69f339f4 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
git-svn-id: svn://10.0.0.236/trunk@215023 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 08:43:26 +00:00
mrbkap%gmail.com
10f4e54168 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


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
smontagu%smontagu.org
cc3863cd7b Make word-delete behaviour when there is a selection follow platform conventions. Bug 350564, r=glazman, sr=neil
git-svn-id: svn://10.0.0.236/trunk@213434 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 16:50:50 +00:00
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
uriber%gmail.com
635bd815f7 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
masayuki%d-toybox.com
7346dd1fa7 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
git-svn-id: svn://10.0.0.236/trunk@200297 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 15:00:58 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
fed75ccda3 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192316 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 17:12:41 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
3381bf1e44 Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag


git-svn-id: svn://10.0.0.236/trunk@186330 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 20:12:54 +00:00
neil%parkwaycc.co.uk
56ad8facc8 Remove plaintext editor's outdated event listener removal code that caused dangling event listener crash (regression from bug 303713) b=319732 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185909 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 09:26:29 +00:00
masayuki%d-toybox.com
b6ab5f2399 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
git-svn-id: svn://10.0.0.236/trunk@185291 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-26 22:10:03 +00:00
mats.palmgren%bredband.net
8827f1128a Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182353 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:54:02 +00:00
bzbarsky%mit.edu
d7f8a4affc Remove a tad more code. r=sicking, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@172578 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:27:46 +00:00
bzbarsky%mit.edu
ae597b89c4 Don't create an unneeded selection object when serializing and editor. Bug
290350, r=sfraser/brade, sr=peterv, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@172407 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:14:53 +00:00
jst%mozilla.jstenback.com
eaa2cccb13 Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@171162 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:00:01 +00:00
timeless%mozdev.org
b0cd329aef Bug 278058 non-editable and disappearing character exists on password field when using ATOK
patch by masayuki@d-toybox.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@170280 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 12:25:26 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bryner%brianryner.com
b65ef5dbc6 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.
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
smontagu%smontagu.org
5b10353aba 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
git-svn-id: svn://10.0.0.236/trunk@151225 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 23:39:40 +00:00
jst%mozilla.jstenback.com
ef67a47aab 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.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
scott%scott-macgregor.org
af440d36e0 fix for bug #216581
Rewrap is broken

thanks to Akkana (akkzilla@shallowsky.com) for the fix

r=brade a=sspitzer for 1.5 final


git-svn-id: svn://10.0.0.236/trunk@146526 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 04:17:45 +00:00
brade%netscape.com
c96a8ac9cc fix compiler warning
git-svn-id: svn://10.0.0.236/trunk@145294 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
brade%netscape.com
7b542e3e34 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +00:00
brade%netscape.com
4d8f0dad73 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144579 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:22:56 +00:00
kin%netscape.com
752b792e95 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


git-svn-id: svn://10.0.0.236/trunk@144154 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 19:21:59 +00:00
alecf%flett.org
71e5d724e5 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


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
brade%netscape.com
2d1f651343 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
git-svn-id: svn://10.0.0.236/trunk@143639 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 14:51:37 +00:00
timeless%mozdev.org
0e56e202cb Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142832 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu
dc7e857400 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.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
sfraser%netscape.com
cbc443676c 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.
git-svn-id: svn://10.0.0.236/trunk@141607 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 18:11:12 +00:00
sfraser%netscape.com
3bb2704dcc Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
git-svn-id: svn://10.0.0.236/trunk@140665 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:45:06 +00:00
bryner%netscape.com
cf55de1ca0 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.
git-svn-id: svn://10.0.0.236/trunk@140541 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:31:18 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
sfraser%netscape.com
2636d9a8d0 Fix bug 74404: show caret drag feedback. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138640 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:09:51 +00:00
bryner%netscape.com
6278746fdf 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.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00