Commit Graph
190 Commits
Author SHA1 Message Date
[email protected] 6137fb57c2 Test for kOpInsertIMEText as well as kOpInsertText for platforms where right-to-left text is inserted by IME. Bug 243931, patch by Lina Kemmel [email protected], r=smontagu, sr=roc. 2004-05-31 12:15:21 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] a8738ca2df 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
2004-01-29 16:55:01 +00:00
[email protected] a4ceb4251c Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. [email protected], [email protected] 2004-01-24 00:46:17 +00:00
[email protected] c11c6bf27e Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected], [email protected]. 2003-09-27 04:18:26 +00:00
[email protected] 8b2fac2edd editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
[email protected] 95e27af745 use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
[email protected] fabcee859f editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:35:09 +00:00
[email protected] 6e64a359bd NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] 9a25caff41 b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:20:09 +00:00
[email protected] a0287a8e83 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.

[email protected]  [email protected]
2003-04-04 20:50:25 +00:00
[email protected] 92a3737c5c Bug 106386 rid source of misspellings
patch by [email protected] r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
[email protected] 13e7a56b52 Bug 186643 del key at the end of the urlbar asserts
r=jfrancis sr=bz
2003-01-19 00:46:56 +00:00
[email protected] 5703d63566 remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc 2003-01-17 11:11:10 +00:00
[email protected] f214c6bf25 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
[email protected] 40d0a8e481 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
[email protected] 1808fd8363 Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin
2002-11-23 01:26:58 +00:00
[email protected] 8949215966 Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
[email protected] d7c81af27e fix for 125161: forward delete in text widget should not delete trailing blank line r=glazman sr=kin 2002-09-13 13:26:14 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] 52f8c6761f fix for 159392: Composer add <br> to end everytime it opens a file.
r=brade; sr=kin
2002-08-23 17:57:51 +00:00
[email protected] 8c8cd96e9c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from [email protected] (Shotaro Kamio), r=akkana, sr=alecf 2002-06-14 22:10:56 +00:00
[email protected] 00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
[email protected] d968ba44aa 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 2002-04-06 19:07:47 +00:00
[email protected] 6ae2708a2b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:08:20 +00:00
[email protected] a1fa90b09b fixes 92124: RightArrow then Backspace causes Caret to go to previous line. r=jfrancis; sr=kin; a=roc+moz; submitted by Shotaro Kamio, [email protected] 2002-03-11 14:28:37 +00:00
[email protected] 9a4edc1569 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
2002-01-30 06:04:29 +00:00
[email protected] d90bbeb1b5 remove DEAD_CODE (bug 115115); remove unused static (bug 117927) 2002-01-14 20:34:15 +00:00
[email protected] a1c9cb1d53 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
[email protected] bd31223f0b 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.

[email protected]  [email protected]
2001-12-11 07:21:10 +00:00
[email protected] 79d2bbabec NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
[email protected] d6472cf593 #include cleanup (bug #112008, r=akkana, sr=sfraser) 2001-11-29 10:06:21 +00:00
[email protected] aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
[email protected] 9321a99f7e nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883) 2001-11-01 15:22:10 +00:00
[email protected] e852b5d9f1 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.

[email protected]  [email protected]
2001-10-26 14:22:31 +00:00
[email protected] 3e8e9e62af #79798
r=ftang, [email protected]
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
[email protected] 598067cb73 License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
[email protected] 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
[email protected] 3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
[email protected] bc21507846 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
[email protected] 204801cef3 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
2001-08-22 05:32:44 +00:00
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] 63ca8a324a Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
[email protected] baba14c5c8 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 :-)
2001-06-30 11:02:25 +00:00
[email protected] 0d98018ef0 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
2001-06-06 01:21:05 +00:00
[email protected] 222c48c8dd #80550
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
2001-05-21 23:57:55 +00:00
[email protected] 2c9616ef62 fix bug 80552 r=ftang r/sr=jst
check in for [email protected]
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
[email protected] 461cd082e3 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin 2001-04-26 20:14:26 +00:00