193 Commits

Author SHA1 Message Date
masayuki%d-toybox.com
d959b44165 Bug 286804 Newline improperly getting into single-line edit field. r=timeless, sr=neil.parkwaycc.co.uk
git-svn-id: svn://10.0.0.236/trunk@171209 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 16:37:14 +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
scott%scott-macgregor.org
9880b9b613 Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
smontagu%smontagu.org
5bfc1c11d8 Test for kOpInsertIMEText as well as kOpInsertText for platforms where right-to-left text is inserted by IME. Bug 243931, patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@157163 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 12:15:21 +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
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
scott%scott-macgregor.org
0d92e4b579 Bug #229203 --> thunderbird needs new liness converted to commas when pasting into single cell text boxes.
This comes up when pasting address data from spreadsheet programs into the addressing widget. This pref cannot be turned on for seamonkey because it effects all single line text boxes.

r=glazman, moa=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@152018 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 16:55:01 +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
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
brade%netscape.com
68dc8312d3 editor cleanup; r=jfrancis, sr=blizzard, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144951 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 14:12:51 +00:00
brade%netscape.com
7a5e630789 use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144941 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:27:19 +00:00
brade%netscape.com
af9a354fea editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144581 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:35:09 +00:00
brade%netscape.com
3c2fed7e4a NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144215 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 14:19:40 +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
kaie%netscape.com
6ac32319ca b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
r=jfrancis sr=sfraser a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142433 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 13:20:09 +00:00
kin%netscape.com
d43528516f Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@140707 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:25 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
timeless%mozdev.org
ce888ded2b Bug 186643 del key at the end of the urlbar asserts
r=jfrancis sr=bz


git-svn-id: svn://10.0.0.236/trunk@136612 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:46:56 +00:00
cbiesinger%web.de
ab918f2bcc remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@136503 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 11:11:10 +00:00
dbaron%dbaron.org
daa2fa4b45 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
jfrancis%netscape.com
dab8e009ec 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


git-svn-id: svn://10.0.0.236/trunk@135560 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:51:14 +00:00
caillon%returnzero.com
9641b989dd Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
bzbarsky%mit.edu
04bc7e2dbf Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
8510bd9c34 fix for 125161: forward delete in text widget should not delete trailing blank line
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@129521 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:26:14 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jfrancis%netscape.com
c5067db88b fix for 159392: Composer add <br> to end everytime it opens a file.
r=brade; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127961 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 17:57:51 +00:00
akkana%netscape.com
8c220f972c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
f81c6987d5 fixes for bugs:
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful


git-svn-id: svn://10.0.0.236/trunk@118389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:07:47 +00:00
dbaron%fas.harvard.edu
359ad57ca1 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:08:20 +00:00
jfrancis%netscape.com
a06d58321d fixes 92124: RightArrow then Backspace causes Caret to go to previous line. r=jfrancis; sr=kin; a=roc+moz; submitted by Shotaro Kamio, skamio@netscape.net
git-svn-id: svn://10.0.0.236/trunk@116324 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 14:28:37 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
brade%netscape.com
3d5f73b579 remove DEAD_CODE (bug 115115); remove unused static (bug 117927)
git-svn-id: svn://10.0.0.236/trunk@112093 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:34:15 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
kin%netscape.com
f0f1496951 Fix for bug 114339: Mozilla fails to paste correctly into password fields
Modified WillInsertText() to call EchoInsertionToPWBuff() after
the code that filters newlines based on the editor.singleLine.pasteNewlines
pref.

r=brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@110243 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 07:21:10 +00:00
brade%netscape.com
4d6d20f598 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@110009 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:28:47 +00:00
brade%netscape.com
76d1ce8a02 #include cleanup (bug #112008, r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@109202 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:06:21 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
brade%netscape.com
18ad0f0e55 nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883)
git-svn-id: svn://10.0.0.236/trunk@106957 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:22:10 +00:00
kin%netscape.com
6fcaeaf88c Fix for bug #104692: Edit field line break didn't updated
Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:22:31 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com
234588f481 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
jfrancis%netscape.com
dc74067145 fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin


git-svn-id: svn://10.0.0.236/trunk@101631 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 05:32:44 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
524406b7fd Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@99888 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:16:32 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
yokoyama%netscape.com
7ae38c7612 Bug 63029: Japanese input in text area in forms confuses subsequent input
The fix is to
- maintain the index of PasswordBuf at the start of IME
- maintain the old IME text
- remove the old IME text from PasswordBuf
/r=jfrancis, /sr=kin, /a=blizzard


git-svn-id: svn://10.0.0.236/trunk@96481 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 01:21:05 +00:00