Commit Graph

56 Commits

Author SHA1 Message Date
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ehsan Akhgari
bad20e3328 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Ms2ger
2981e8cffd Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
Ehsan Akhgari
ea32707944 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
Ehsan Akhgari
f32700d4f7 Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Josh Matthews
d5ca5355ed Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -04:00
Ehsan Akhgari
157021705f Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv 2010-01-15 12:17:48 -05:00
Olli Pettay
09c9e727a8 Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv 2009-05-07 09:27:31 +03:00
Olli Pettay
71d7ab825e Bug 481139, r+sr=peterv 2009-04-10 17:14:11 +03:00
Mats Palmgren
8710934fa5 The white-space bounding parent is the closest block within the editable subtree, or if there is none, the (inline) editable subtree root. b=455992 r+sr=peterv 2009-02-21 05:28:09 +01:00
Benjamin Smedberg
aa17adb54c Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
0c8d735b41 Fix for bug 372544 ([Midas] Tab spacing is inconsistent). Patch by Mathieu Fenniak (mfenniak-moz@mathieu.fenniak.net), r/sr=me. 2007-05-24 06:00:53 -07:00
uriber@gmail.com
8a6d163b20 Fix typo from bug 348854, causing backspace to sometimes delete the wrong character. bug=369959 r=brettw sr=bryner 2007-02-17 15:47:58 +00:00
gavin@gavinsharp.com
088aa46599 Bug 348854: Fix merge error from checkin for bug 345587, patch by Ryan VanderMeulen <ryanvm@gmail.com>, r=brettw, sr=bryner 2006-08-21 23:33:28 +00:00
brettw@gmail.com
542008ffde Bug 345587 r=bryner sr=sicking Spellchecker hangs when replacing word 2006-08-08 00:22:52 +00:00
cvshook@sicking.cc
de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
timeless@mozdev.org
66f4ec6854 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bzbarsky@mit.edu
2a1f0cedfe nsRangeUtil should be a service. Make use of it for ComparePoints() as well.
Bug 262833 and bug 262832, r=glazou, sr=jst
2004-10-10 03:30:42 +00:00
jst@mozilla.jstenback.com
3ab9c6162d Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
jst@mozilla.jstenback.com
c11c6bf27e 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
brade@netscape.com
8a384356d5 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
caillon@returnzero.com
c8a200d763 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
kaie@netscape.com
bb8cdbb68c b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
r=jfrancis sr=kin
2003-06-11 12:02:49 +00:00
timeless@mozdev.org
c7d5c5be3b Bug 205347 warning: `PRBool IsInlineNode(class nsIDOMNode *)' defined but not used
r=brade,jfrancis sr=sfraser
2003-05-23 22:10:06 +00:00
jfrancis@netscape.com
392736dcc4 fix for 189225: deleting text at beginning of line adds extra space.
r=brade; sr=kin
2003-03-23 20:49:49 +00:00
neil@parkwaycc.co.uk
659769276c Bug 186195 Space disappears when editing a word at the end of a block p=jfrancis r=brade sr=kin a=asa 2003-02-03 11:47:13 +00:00
timeless@mozdev.org
2ba77d80f0 Bug 186668 nsWSRunObject::DeleteChars uses a constant Count() while removing elements
r=jfrancis sr=bz
2003-01-16 19:27:50 +00:00
jfrancis@netscape.com
db478ab93f fix for 143338: Word wrap of double space incorrect in HTML mailcompose
r=glazman
sr=kin
2002-11-17 01:25:30 +00:00
bzbarsky@mit.edu
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
seawood@netscape.com
6b072d0019 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
jfrancis@netscape.com
5d319a6a3f updating 83378 work with the correct patch this time 2002-06-30 02:52:56 +00:00
jfrancis@netscape.com
3989879ba9 fixing 136165: crash after deleting styled text. r=cmanske sr=dveditz 2002-05-23 22:05:35 +00:00
dougt@netscape.com
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
jfrancis@netscape.com
cf563bb98c fixing 136944: crash typing in editor. r=fm sr=kin 2002-04-13 23:54:59 +00:00
jfrancis@netscape.com
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
dbaron@fas.harvard.edu
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
jfrancis@netscape.com
5a5eec2adf 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
30ddbe95f0 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
jfrancis@netscape.com
057a8a2ef7 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
kin@netscape.com
5b3043697c 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
5774ed899b 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
timeless@mac.com
6234853fd9 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
brade@netscape.com
60ac259347 remove DEAD_CODE (bug 115115) 2002-01-14 20:35:08 +00:00
jfrancis@netscape.com
0e52ee6125 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
jfrancis@netscape.com
44da113224 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
gerv@gerv.net
598067cb73 License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
gerv@gerv.net
30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
scc@mozilla.org
3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00