Commit Graph

913 Commits

Author SHA1 Message Date
jfrancis%netscape.com
7edafb59f2 fix for 95654: inserting an <hr> creates a blank line after it r=glazman sr=kin 2002-09-13 13:31:11 +00:00
cmanske%netscape.com
acad4a2734 Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt 2002-09-13 05:31:50 +00:00
cmanske%netscape.com
6c7cf97e2a Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt 2002-09-13 05:24:26 +00:00
cmanske%netscape.com
27b8578e83 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt 2002-09-13 04:19:30 +00:00
glazman%netscape.com
ccbe3b90f8 in some cases, it was impossible to unbold selection in CSS mode, b=167510, r=brade, sr=bzbarsky 2002-09-11 09:25:47 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
jfrancis%netscape.com
f06e6458ec fix for 166524: forward delete key changes line order. r=brade sr=kin a=asa 2002-09-06 04:27:06 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
jfrancis%netscape.com
a16376f8c9 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin 2002-09-03 07:36:44 +00:00
jfrancis%netscape.com
0d49c95048 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin 2002-08-29 07:49:31 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
mjudge%netscape.com
a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
jfrancis%netscape.com
062b1866b3 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
d742aa53d3 fixes for:
159924:  table split up when applying paragraph style to select all
161723: backspace through list item when at beginning of document
r=glazman; sr=kin
2002-08-23 18:11:25 +00:00
glazman%netscape.com
90b7eea68f Composer was unable to set upper-roman style to a list because it was erroneously lowercasing the html TYPE attribute; b=145311, r=brade, sr=kin 2002-08-23 09:24:47 +00:00
seawood%netscape.com
55ec62b72d Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls
2002-08-15 05:39:40 +00:00
glazman%netscape.com
99c6bd69fb fixing crash in Composer when head sub-elements are displayed; b=162062, r=brade, sr=bzbarsky 2002-08-13 10:01:52 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
akkana%netscape.com
2e2313891b 118883: Fix a leak of nsHTMLCSSUtils. r=glazman sr=kin 2002-08-07 00:02:10 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
jfrancis%netscape.com
92456dcb49 fix for 155629: deletion horked: cant delete br nodes. r=fm; sr=kin 2002-07-04 01:12:49 +00:00
jfrancis%netscape.com
8033838e4b updating 83378 work with the correct patch this time 2002-06-30 02:52:56 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
kin%netscape.com
4f9e09571b Fix for bug 152435 (Memory leak of 36 bytes from 1 block allocated in TypeInState::ClearProp)
Call Reset() in ~TypeInState() to release any data that may be in mClearedArray and mSetArray.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-06-24 20:02:25 +00:00
glazman%netscape.com
bb7379df23 nsHTMLEditor::GetInlinePropertyBase() was not detecting when the selection ends before first char of a text node; b=128401, r=brade, sr=kin 2002-06-18 09:20:07 +00:00
cmanske%netscape.com
650497023f Fixed crash when inserting column in table, b=152320, r=brade, sr=kin 2002-06-17 20:40:47 +00:00
akkana%netscape.com
6a90f201a3 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf 2002-06-14 22:10:56 +00:00
kin%netscape.com
2cc8934aad Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com
6118727dff bug 83378: plaintext mail reply editong problem in quotes 2002-06-12 14:12:32 +00:00
jfrancis%netscape.com
a110c74903 bug 146164: removing style can remove too much. r=glazman, sr=kin 2002-06-12 14:04:47 +00:00
akkana%netscape.com
6b83a065ab 132352: Use the parser service for blockness detection. r=brade sr=kin 2002-06-11 20:43:49 +00:00
alecf%netscape.com
bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
jfrancis%netscape.com
00ac1086f3 fixing 136165: crash after deleting styled text. r=cmanske sr=dveditz 2002-05-23 22:05:35 +00:00
jfrancis%netscape.com
a82c157716 fix for 144787: multiple breaks inserted on return. r=fm;sr=kin 2002-05-17 02:44:55 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
2cfab56b94 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade 2002-05-14 00:35:57 +00:00
jfrancis%netscape.com
890f83aea5 fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm 2002-05-14 00:05:37 +00:00
pinkerton%netscape.com
7d3dc95242 don't register image/jpeg, it only gets in the way of other things we do
support. r=brade/sr=alecf. bug# 69566
2002-05-01 22:02:54 +00:00
kin%netscape.com
43eb4cf116 Fix for bug 125345 (Font attributes disappear when you double click editor window)
Modified TypeInState::NotifySelectionChanged() to work around
bogus selection changed notifications (bug 140303). We now
call reset when the collapsed selection changes position, or
becomes uncollapsed.

  mozilla/editor/libeditor/html/TypeInState.cpp
  mozilla/editor/libeditor/html/TypeInState.h

r=jfrancis@netscape.com  sr=attinasi@netscape.com
2002-04-30 20:59:43 +00:00
alecf%netscape.com
9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
glazman%netscape.com
a6527a5a7e weird crasher in |nsHTMLCSSUtils::GetElementContainerOrSelf|
b=138003, r=jfrancis, sr=kin
2002-04-29 10:13:23 +00:00
jaggernaut%netscape.com
7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com
bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
bienvenu%netscape.com
bbe508afd4 make this file build (at least on windows) after nsIFileOutputStream changes r/sr = jkeiser 2002-04-18 23:14:30 +00:00
akkana%netscape.com
fdc4ae63df 134439: Make plaintext compose wrap to window width instead of output
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs.  Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.
2002-04-16 23:11:33 +00:00
jfrancis%netscape.com
27fcb61356 fix for bug 100855: paragraph fromat feedback from editor inaccurate. r=brade; sr=kin 2002-04-14 05:57:14 +00:00
jfrancis%netscape.com
2d573cc064 fix for 135337, 132837, 136504, and a side issue from 84485. The deal here is that the editor is smarter about figuring out what dom nodes appear empty to the user (properly accounting for invisible whitespace and invisible br nodes). r=glazman; sr=kin 2002-04-14 02:37:23 +00:00
jfrancis%netscape.com
98f0f3ed8b fixing 136944: crash typing in editor. r=fm sr=kin 2002-04-13 23:54:59 +00:00
glazman%netscape.com
58271688b3 Allow Composer's users to remove named anchors w/o having to use Source View; b=80742; r=brade, r=jfrancis, sr=kin, a=asa 2002-04-11 13:33:30 +00:00
jfrancis%netscape.com
3232e07c19 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
akkana%netscape.com
36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
0ba01241e6 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
jfrancis%netscape.com
ecd36c2bed fix for 82813: tweaking editor whitespace handling to behave better when deleting in PRE
r=brade; sr=kin; a=asa
2002-03-22 04:10:25 +00:00
jfrancis%netscape.com
bc42d93bc0 fix for Bug 131757: deleting styled content in block can cause blank line insertion
r=glazman; sr=kin; a=asa
2002-03-22 00:03:10 +00:00
jfrancis%netscape.com
0703b12dd8 fix for Bug 113320: outdenting inside tables hosed.
r=glazman; sr=kin; a=asa
2002-03-21 23:44:23 +00:00
jfrancis%netscape.com
23aa8bbd40 fix for Bug 114112: indenting across separate table cells hosed.
r=glazman; sr=kin; a=asa
2002-03-21 23:40:50 +00:00
jfrancis%netscape.com
973ba7f6fa fix for 102612: making new blocks (lists, etc) in editor can get confused if nested inline styles are present.
r=glazman; sr=kin; a=asa
2002-03-21 23:24:21 +00:00
jfrancis%netscape.com
6f16f7249b fix for 82813: tweaking editor whitespace handling to behave better when deleting in PRE
r=brade; sr=kin; a=asa
2002-03-21 23:20:57 +00:00
cmanske%netscape.com
f4962c5548 Fixed busted double-click word selection in Composer, b=131739, sr=scc, a=asa 2002-03-21 02:47:52 +00:00
kin%netscape.com
7ad75bc29d Fix for bug 131820: Hitting return in an inline style doesn't advance
caret to next line

Prevent AdjustSelection() from adding a MozBR when
the root node is empty so that EditAfterInner()
can add the BogusBR node.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=scc@mozilla.org
2002-03-20 01:45:55 +00:00
glazman%netscape.com
a388b13fb6 Memory leak fixed in nsHTMLCSSUtils::GetDefaultViewCSS()
b=130904, r=peterv, sr=kin, a=asa
2002-03-18 10:40:58 +00:00
cmanske%netscape.com
d5612a514e Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa 2002-03-17 20:39:16 +00:00
dbaron%fas.harvard.edu
0b816e3591 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver 2002-03-16 15:34:43 +00:00
glazman%netscape.com
72b1c305b0 It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
akkana%netscape.com
d7cbebbdc8 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
jfrancis%netscape.com
d147b2a0e7 one word fix for smoketest blocker 130103 2002-03-12 04:05:46 +00:00
ducarroz%netscape.com
14204ed73f Fix for bug 127077. If the body tag contains a background image, it must be considered as an embedded element. R=jfrancis, SR=bienvenu, A=asa 2002-03-11 14:54:59 +00:00
glazman%netscape.com
ba2410c1c7 Styles were not preserved in Composer when creating a new list item, hitting twice the Return Key
The inline styles (B I U ..) hierarchy of elements had to be recreated in the new list item.

b=46474; r=jfrancis; sr=kin; a=asa
2002-03-11 13:11:48 +00:00
jfrancis%netscape.com
0f7cfff93f fixes bugs 127869, 127939, and 128793: various bug with list pasting; sr=kin; r=glazman; a=asa [trunk] 2002-03-11 09:30:51 +00:00
ftang%netscape.com
17c4bdc982 fix bug 90583. r=mjudge/jfrancis sr=kin a=asa
fix chinese ime candidate window position problem.
 we need the nsAutoPlaceHolderBatch destroctor called before hitting
 GetCaretCoordinates so the states in Frame system sync with content
 therefore, we put the nsAutoPlaceHolderBatch into a inner block
  {
2002-03-07 14:34:35 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
jfrancis%netscape.com
63333b5253 fixes blocker 126558; r=brade,jrancis, sr=alecf, a=rods;
thanks to kin for cleaning up my "replace all" accident
2002-02-21 20:50:35 +00:00
alecf%netscape.com
66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
jfrancis%netscape.com
c56239e860 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin
2002-02-19 12:02:09 +00:00
jfrancis%netscape.com
f9413bd619 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin
2002-02-19 11:52:50 +00:00
glazman%netscape.com
6f35ac34ae alignment problems + removal of useless DIVs when realigning the selection; b=102547, r=jfrancis,sr=kin 2002-02-18 10:49:15 +00:00
glazman%netscape.com
afe567a59f bad test of collapsed selection, had side effect on setting background color; b=121903, r=jfrancis, r=brade, sr=kin 2002-02-18 10:06:07 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
kin%netscape.com
ad29387c80 Fix for bug 124209 (Deleting selection in plain text reply compose causes hang)
and bug 124375 (composer / editor hang when delete blank lines)

Allow start/end points to be set to empty text nodes to prevent
infinite loop.

r=glazman@netscape.com  sr=sfraser@netscape.com,shaver@mozilla.org
2002-02-08 15:20:19 +00:00
jfrancis%netscape.com
33d43dfb71 duh 2002-02-07 04:44:21 +00:00
jfrancis%netscape.com
d5f3c6a9c2 fixes:
* 113691 : Composer freezes when removing multiple ol or ul tags.
    * 113290 : Freezes when deleting some formatted text.
    * 112144 : Attempt to reply to mail freezes entire Mozilla.
    * 103685 : Caret disappears after deleting a blockquote w/ paragraph style.
    * 121282 : Pressing enter causes caret to jump from end of <p> to the<h1>.
    * 117418 : rewrote some code in nsWSRunObject.cpp: fixed warnings in GetWSNodes().
    * 114911 : can't join two lists using delete key.
    * 120000 : Indent list inside table causes table to split.
r=fm;sr=kin
2002-02-07 03:56:20 +00:00
alecf%netscape.com
fe8bbbd587 dependency update 2002-02-06 22:19:07 +00:00
glazman%netscape.com
b9ada4affb Adding noCSS flag to nsHTMLEditor; b=bugscape11956, r=brade, sr=kin 2002-02-05 15:16:14 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
alecf%netscape.com
28b3772942 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
glazman%netscape.com
8846933b69 inline styles were not saved because gElement was outside of document's tree; b=91548, r=brade, sr=kin 2002-01-28 16:00:12 +00:00
timeless%mac.com
75058d63d4 Bug 117418 nsWSRunObject.cpp:704: warning: `PRInt32 curStartOffset' might be used uninitialized in this function
r=akkana sr=brendan
2002-01-27 07:07:10 +00:00
glazman%netscape.com
fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
glazman%netscape.com
5e1af47673 Text Color well reverts to black when typing; b=112966, r/sr=kin 2002-01-25 09:53:58 +00:00
glazman%netscape.com
5499ebc254 composer background image broken source code; b=120662, r=brade, sr=kin, a=blizzard 2002-01-21 09:30:02 +00:00
glazman%netscape.com
1684a4ed1c backing out my fix for bug 119447 due to major side effect described in bug 120377; a=asa 2002-01-18 10:17:12 +00:00
cmanske%netscape.com
993c1ff2fa Link Checker dialog, b=108296, r=akkana, sr=ben 2002-01-15 15:35:58 +00:00
glazman%netscape.com
61dc732b6f [CSS] Composer should be able to unbold/unitalicize invalid markup; b=119447, r=jfrancis, sr=kin 2002-01-15 14:44:00 +00:00
brade%netscape.com
f2c8087638 remove DEAD_CODE (bug 115115) 2002-01-14 20:35:08 +00:00
brade%netscape.com
9939e28989 #ifdef out / remove DEAD_CODE per jfrancis (bug 115115) 2002-01-14 20:31:47 +00:00
brade%netscape.com
69ebeb09fe literal string cleanup (bug 26384); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115) 2002-01-14 20:31:43 +00:00
brade%netscape.com
aeee1c5e44 literal string cleanup (bug 26384); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115); remove unused statics (bug 117927) 2002-01-14 20:30:11 +00:00
glazman%netscape.com
a1a6b6b2cf oops, I erroneously left this code in my big yesterday's check-in and this belongs to another bug (118110); b=77705 2002-01-10 14:51:45 +00:00
jfrancis%netscape.com
0aa67c8c58 fix for 119053: backspace/delete can delete two br's instead of one. r=fm; sr=kin 2002-01-10 00:29:04 +00:00
glazman%netscape.com
68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
brade%netscape.com
545842f66c remove 8 static CID/IID since they are unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:50:21 +00:00
brade%netscape.com
9ac8511c17 remove kCContentIteratorCID since it's unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:40:27 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rjesup%wgate.com
2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
mjudge%netscape.com
d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com
2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
brade%netscape.com
d6ef260d9a more NS_LITERAL_STRING cleanup (bug 26384; r=cmanske, sr=alecf) 2001-12-17 15:23:51 +00:00
jaggernaut%netscape.com
e44e7d9ec8 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
jfrancis%netscape.com
a7fb7f967c fix for bug 114750 and various dups: infinite loop in editro when backspacing or forard deleting across some block boundaries. r=hwaara, sr=sfraser 2001-12-16 19:00:42 +00:00
jaggernaut%netscape.com
ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jfrancis%netscape.com
d85a2d203b fix for Bug 92331: at long last moving over to using spans instead of pre's for plaintext mailcites. Due to limited testing the pref for this is left *OFF*. we'll flip it on if everything goes well later. also fixes for: 101342 : Extraneous <br> when <td> content is <textarea> 104499 : when using the decrease indent, caret hops to the end of the previous line r=fm; sr=kin 2001-12-12 06:02:15 +00:00
cmanske%netscape.com
b6728d8c63 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin 2001-12-12 03:57:32 +00:00
hwaara%chello.se
08f5019d8d #114429, caret ignores a backspace on a line before a <HR>.
r=jfrancis, sr=kin
2001-12-11 22:22:47 +00:00
cmanske%netscape.com
cce7e572b6 Fixed deleting cells when only 1 column in table, b=99095, r=akkana, sr=kin 2001-12-11 03:21:14 +00:00
jfrancis%netscape.com
6d283d24b3 fixes bug 99523 and cast of hangers on: this patch allows the editor to backspace/forward-delete across block boundaries (other than table elements), rearranging the document content in some sensible way in response. r=fm;sr=kin 2001-12-09 09:24:33 +00:00
jdunn%netscape.com
92518c1c27 fixing AIX tinderbox
re-checking this in.  New fix that jag and I worked out (ok HE did!)
r=jaggernaut@netscape.com
2001-12-08 13:09:19 +00:00
jdunn%netscape.com
2001144c90 backing out previous checking. it is busting one of the linuxes.. 2001-12-08 11:51:27 +00:00
jdunn%netscape.com
4321756b3f fixing aix tinderbox bustage: aix can't handle NS_LITERAL_STRINGs in an
object declaration in a "() ? :" conditional.

r=cls@seawood.org
There is no bug for this incident but see 82523 for similar issue.
2001-12-08 11:19:52 +00:00
brade%netscape.com
3508890dd3 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
jst%netscape.com
d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
leaf%mozilla.org
8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
jfrancis%netscape.com
9949f0e109 fix for 106274: toolbar colorpicker feedback broken when selection is collapsed 2001-11-29 10:08:25 +00:00
jfrancis%netscape.com
3b94dd8452 fix for 97259: caret sometimes drawn on line above a blank line when it should be on blank line. r=fm; sr=kin 2001-11-29 10:01:28 +00:00
jfrancis%netscape.com
fec94c5f02 fixes for --- 45888: center followed by heading 2: text doesn't take on heading 2 102754: Lists with Headings applied do not create new list items when return entered 9835: Indent button behaves differently if <li> contains two <br> r=fm; sr=kin 2001-11-22 19:35:11 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
cmanske%netscape.com
2659ff5477 Fixed join cells table bug 103360, r=akkana, sr=kin 2001-11-14 22:22:17 +00:00
jfrancis%netscape.com
188eea09af fix for Bug#:107494, when editting in IME mode, you cannot delete last uncommitted character. r=smfr; sr=kin; a=drivers 2001-11-14 12:58:57 +00:00
bzbarsky%mit.edu
f2ee8260a0 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
kin%netscape.com
b5b14245e1 Fix for bug 106383: regression: new composer doc behaves as if empty
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.h
  mozilla/editor/libeditor/html/nsHTMLEditor.h
  mozilla/editor/libeditor/text/nsTextEditRules.h

    - Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
    - Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
    - Changed all references of kOpHTMLLoad to kOpLoadHTML to match
      function name, and added kLoadHTML.

r=jfrancis.netscape.com  sr=sfraser.netscape.com  a=asa@mozilla.org
2001-11-09 15:16:03 +00:00
dbaron%fas.harvard.edu
8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
kin%netscape.com
1908bdafba Fix for bug #99517: Text migrates past H. Line, loses formatting when converted to list
Modified WillMakeList() to clear prevListItem after adding a block
to a list item so that any inline nodes after the block are put
in a new list item.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2001-11-02 14:47:10 +00:00
brade%netscape.com
46f0483fc5 nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883) 2001-11-01 15:22:10 +00:00
glazman%netscape.com
2ef77eb271 call to GetNodesForOperation() in GetAlignment() missed a parameter indicating it should not modify the tree; b=107372, r=brade, sr=kin 2001-10-31 15:30:49 +00:00
cmanske%netscape.com
bad30a53ed Fixed setting all attributes on an inserted link, b=97455, r=jfrancis, sr=kin 2001-10-30 23:24:44 +00:00
sspitzer%netscape.com
48ce6da0fa fix for #106269. reply wasn't quoting the message body.
r/sr=kin
2001-10-26 21:21:04 +00:00
timeless%mac.com
c4eeb91d14 Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly
r=bbaetz,glazou sr=brendan
2001-10-26 10:54:15 +00:00
jfrancis%netscape.com
dfd1b5ae7c fixes following bugs:
77902: toggling from normal to source view and back in composer can leave source in normal view.
101645: big/small tags get seperately wrapped around br nodes
81315: drag and drop doesn't behave same as copy paste
90759: ascii spaces don't behave in IME mode
96328: cant outdent certain indented text
58629: some mail messages cannot be accurately quoted on reply
93088/93477: forward deletion broken
46290: relative font size controls dont play nice with absolute font size
r=various; sr=kin
2001-10-22 06:22:52 +00:00
cmanske%netscape.com
edceac121b Fixed table editing hang when spliting cell (b=102967, r=brade, sr=kin) and don't copy empty cell's <br> when joining cells (b=102930, r=brade, sr=hewitt) 2001-10-19 21:33:20 +00:00
kin%netscape.com
b27b16b597 Fix for bug 101690: Delete key at end of line deletes a line then caret freezes
Modified WillDeleteSelection() to make sure that
sibling is a TextNode before trying to join it
with startNode (which is guaranteed to be a text node).

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-10-19 13:48:43 +00:00
bernd.mielke%snafu.de
5dea5d5737 bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin
2001-10-17 14:33:50 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
alecf%netscape.com
bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
glazman%netscape.com
1e4dde6d1e Make html alignment in Composer use the align attribute and get rid of a lot of useless divs; b=102135, r=jfrancis, sr=kin 2001-10-09 10:00:33 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
seawood%netscape.com
371e27f123 Some platforms require all symbols to be linked at link-time.
r,sr,a,moa=flaming tinderboxes.
2001-10-05 08:20:31 +00:00
akkana%netscape.com
b4403064d7 Fix OBJDIR build bustage associated with 66345 editor reorg checkin 2001-10-05 01:57:05 +00:00
akkana%netscape.com
16959e1343 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron
2001-10-05 01:23:23 +00:00
akkana%netscape.com
ba56bdc789 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.
2001-10-04 23:12:09 +00:00
akkana%netscape.com
4d776da5c7 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build. 2001-10-03 00:54:12 +00:00
dbaron%fas.harvard.edu
9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
mkaply%us.ibm.com
72816bd6d4 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
glazman%netscape.com
920d2e24ac alignment status in Composer was erroneous for cells into an aligned table; b=97519, r=jfrancis, sr=kin 2001-09-27 08:44:25 +00:00
gerv%gerv.net
eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
akkana%netscape.com
32dedbc104 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build 2001-09-25 00:45:54 +00:00
jfrancis%netscape.com
b37e6c66d9 fixes bug 96676: deletion can pull text out of inline containers
fixes bug 97685: unbulleting empty bullet list item can create nested list
r=fm; sr=kin
2001-09-24 03:43:34 +00:00
jfrancis%netscape.com
1df4659ef1 fixes bug 98573: style feedback incorrect after a <br>; r=fm; sr=kin 2001-09-24 03:40:23 +00:00
cmanske%netscape.com
32e2152071 Fixed removal of empty selection ranges after joining table cells, b=96668, r=akkana, sr=hewitt 2001-09-22 18:40:58 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jfrancis%netscape.com
e317c80316 fixes 88109: caret jumps down when typing after inserting table. One liner to properly set selection after table insertion. r=fm;sr=kin 2001-09-14 21:12:35 +00:00
jfrancis%netscape.com
889a4d7485 fixes 97797: empty solo list item won't indent. Changes to nsHTMLEditRules::WillMakeList() to not outsmart itself so badly. r=fm;sr=kin 2001-09-14 21:09:55 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
rjesup%wgate.com
dfc522b372 Bug 98711: Fix misuses of string.Right(). r=jfrancis, sr=jst 2001-09-13 00:09:49 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
jfrancis%netscape.com
933d903df8 fixes 98543: backspace/delete was crossing table structure boundaries. Also fixed other flavors of this bug that had not been discovered yet.
r=fm; sr=kin
2001-09-09 20:57:46 +00:00
jaggernaut%netscape.com
3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
bryner%netscape.com
a6247d9aa1 Bug 47551 -- removing obsolete nsIFileSpecWithUI and nsIFileWidget. r=pavlov, sr=ben. 2001-09-04 22:56:38 +00:00
glazman%netscape.com
f100555f4d fix forFont element not removed in Composer; b=97083; r=brade,jfrancis; sr=kin; a=dbaron 2001-08-28 01:55:22 +00:00
jfrancis%netscape.com
bcab0f9dbc 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
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
akkana%netscape.com
b2618d9ca4 54726: Add link to W3C Validator
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin
2001-08-07 21:39:07 +00:00
akkana%netscape.com
61c245d25f Adding html URI ref object to the build. r=brade sr=kin. Work in progress. 2001-08-07 21:12:08 +00:00
kin%netscape.com
ff5cb98d51 Fix for bug #93147: NotReached Assertions when selecting text widget in a table
Modified nsHTMLEditor::GetInlinePropertyBase() to bail out of iterator
loop if current node is the body.

r=brade@netscape.com  sr=sfraser@netscape.com
2001-08-02 20:31:09 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
kin%netscape.com
ef2a32649c Fix for bug #91310 (Align Right splits table) and
bug #91288 (Aligning blank table cell in show all tags mode splits table)

Modified WillAlign to prevent unnecessary splitting:

  - Don't execute emptyDiv special case code when start container of the
    selection is a table cell element, but not a table cell or caption.
  - Prevent processing of whitespace between list/table structure nodes.
  - Prevent splitting when processing sub lists.

r=brade@netscape.com  sr=attinasi@netscape.com
2001-07-25 00:10:34 +00:00
akkana%netscape.com
60ca326658 Remove some more no-op debug code. sr=kin 2001-07-24 23:45:32 +00:00
akkana%netscape.com
659cfe92fa Remove debug code which should not have been there and were causing asserts. sr=kin 2001-07-24 23:39:17 +00:00
kin%netscape.com
45c8f49930 Fix for bug #90499: Can't delete selection if end of selection contains "<br>\n"
Modified nsHTMLEditRules::WillDeleteSelection() so that it uses
an nsAutoTxnsConserveSelection auto-variable to prevent the
call to nsWSRunObject::PrepareToDeleteRange() from changing
the selection.

r=brade@netscape.com  sr=waterson@netscape.com
2001-07-18 21:22:31 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
akkana%netscape.com
98989d30a1 69638: Use <span> instead of <blockquote> for plaintext quotes, to fix caret motion problems. r=mcafee, sr=sfraser 2001-07-13 18:45:53 +00:00
kin%netscape.com
907212d677 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
cmanske%netscape.com
6820c1ef7d Fixed Join Table Cells bug 86009, r=mjudge, sr=sfraser 2001-07-05 22:35:22 +00:00
jaggernaut%netscape.com
5a6317b8a5 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
jfrancis%netscape.com
681b0e8a1b bug fix 84744: insert br after user creates table if table is last node in block. r=brade; sr=kin; a=blizzard 2001-06-26 23:13:01 +00:00
dougt%netscape.com
758f79ff72 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
jfrancis%netscape.com
52eaca10e1 fixes:
69320: making new block must put selection in block
74722: pasting into a pre block should not nest pre's
82421: ubercaret after ending list
67847: deletion can put caret incorrectly at start of doc
2001-06-20 02:05:37 +00:00
brade%netscape.com
285a89a3cb partial fix for 85963 (add alt tag for images inserted via d&d from OS) 2001-06-19 23:56:22 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jfrancis%netscape.com
74bd8d16c5 now with vitamin R for extra wholesome goodness!
(correcting snafu)
2001-06-18 21:43:20 +00:00
jfrancis%netscape.com
57f282e844 this checkin includes diff for 61232. was supposed to be in previous checkin. r=sfraser; sr=kin; a=asa 2001-06-18 21:35:07 +00:00
jfrancis%netscape.com
bc37219a9a fixes for:
61232 - Caret comes back to previous line after creating paragraph
54520 - Extra break with list items
54539 - Disappearing numbered list with outdent
60867 - Composer adds extra break when round-tripping empty document through View Source
62347 - Selecting Body Text doesn't work inside other blocks that have embedding breaks
2001-06-18 21:15:43 +00:00
jfrancis%netscape.com
fb8d76100d fix for: 57477: merge pastes list into target list 57989: Pasting list items into list can orphan last list item 66579: copy/paste of list item into another list items causes caret mostly a refactoring and improvement of nsHTMLEditor::InsertHTMLWithCharsetAndContext() 2001-06-15 22:29:07 +00:00