Commit Graph

1466 Commits

Author SHA1 Message Date
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
kin%netscape.com
0ddea3904c Fix for bug 98018: Impossible to delete text in textbox
nsEditor::CreateTxnForDeleteInsertionPoint() shouldn't
use count-1 when calculating isLast, in the non-text case.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2001-09-10 14:46:57 +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
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +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
cls%seawood.org
b52b439829 Declare nsCOMPtrs outside of do-while loops to avoid gcc 2.x -O2 optimization bug.
Bug #96911 r=jfrancis sr=kin a=blizzard
2001-09-01 17:24:08 +00:00
sspitzer%netscape.com
c5e2cc251a breaking apart EditorToolbars.css into 3 files for performance reasons.
r=manske, sr=hewitt, a=asa #97487
2001-08-31 22:04:19 +00:00
kin%netscape.com
82fac65b1d Fix for bug 83607: too much backspace segfaults mozilla in textbox forms
Prevent GetPriorNode() and GetNextNode() from traversing above root
node when aCurrentNode is the rootNode.

r=brade@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-08-29 21:33:52 +00:00
kin%netscape.com
b937541719 Fix for bug #96604: Deleting characters from some form input controls will allow altering page content
mozilla/editor/base/nsEditor.cpp
  mozilla/editor/base/nsEditor.h

    - Added IsRootNode() method.
    - Added calls to IsRootNode() in GetPriorNode() and GetNextNode()
      to prevent traversing above the root node.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-08-28 18:21:12 +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
cmanske%netscape.com
c8695a1a29 Remove dialog utilities from editor c++ and nsIEditorShell interface (use nsIPromptService from JS instead). b=96649, r=brade, r=kin/sfraser, a=asa 2001-08-24 19:47:46 +00:00
cmanske%netscape.com
7805adb04c Finish fixing Fixed Width bug 79200, r=brade, sr=sfraser, a=asa 2001-08-23 00:05:53 +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
cmanske%netscape.com
f17b1686fc Don't select cell when context menu is launched, b=93322, r=brade, sr=sfraser 2001-08-10 03:50:58 +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
dbaron%fas.harvard.edu
b4ea38686f 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
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
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
mjudge%netscape.com
fba51d0090 82993, 87662 r=glazman,cmanske,kin forgot to put r= on other part of this checkin. This will stop entry into generated content and also make the drag selection work better with variant sized text. 2001-07-19 23:33:33 +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
anthonyd%netscape.com
f88d5c6fa3 bug fix for 81288 - &nbsp removed from source when changing views
r=kin@netscape.com
sr=sfraser@netscape.com
2001-07-14 00:50:21 +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
akkana%netscape.com
a05d3e3c8e 78727,86998: Fix a hang with rewrap introduced by the string API conversion. r=sspitzer, sr=sfraser 2001-07-10 00:40:11 +00:00
sfraser%netscape.com
1415f2a83f Fixing bug 85504: Crash in GetSelectedElement if loading a bad frameset page -- fix frameset detection, and add null checks. r=akkana, sr=waterson 2001-07-06 00:50:05 +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
sfraser%netscape.com
cf542e63dd Fix for bug 87910 -- allow Edit Page to work a second time. r=dougt, sr=kin 2001-06-29 22:03:10 +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
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
mjudge%netscape.com
618d0012eb bad ifdef. left this out of previous checkin for middle mouse paste 2001-06-20 05:18:12 +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
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
kin%netscape.com
4ca51c2870 Fix for bug #62577 - Sublist content disappears when unlisting.
mozilla/editor/base/nsHTMLEditRules.cpp
      - Moved list handling code in WillRemoveList() into a new recursive
        method RemoveListStructure() which WillRemoveList() now calls.

      - Modified WillOutdent() to call MoveNode() when a sublist is encountered.

      - Made ConvertListType() recursive so that all sublists are coverted.

  mozilla/editor/base/nsHTMLEditRules.cpp

      - Added RemoveListStructure() method.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-06-15 13:57:01 +00:00