Граф коммитов

1436 Коммитов

Автор SHA1 Сообщение Дата
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
jfrancis%netscape.com f04bd7911b fixing build bustage. editor must link with gfx now. 2001-06-12 23:34:59 +00:00
jfrancis%netscape.com 661474b8ef fix for 82612: this is just asimple refactoring of a large routine so that we need less mem to do an optimized build.
r=kin; sr=sfraser; a=asa
2001-06-12 23:17:47 +00:00
jfrancis%netscape.com 19ca66d306 fix for 54218: outdent was not enabled in many cases. Now we correctly examin parent heirarchy of selection for blockquotes. r=kin; sr=sfraser; a=asa 2001-06-12 23:03:12 +00:00
jfrancis%netscape.com 9980fb90c7 fix for 74122: distinquish between named anchors and links in deletion code. links are deleted if they become empty, but not anchors. r=brade; sr=kin; a=asa 2001-06-12 22:49:09 +00:00
jfrancis%netscape.com 617617ab7e fix for 46209: I overhauled nsEditor::IsEditable() to better grok the state of content for editability. r=kin; sr=sfraser; a=asa 2001-06-12 22:35:28 +00:00
jfrancis%netscape.com a783e94b5e fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin 2001-06-12 22:27:53 +00:00
jfrancis%netscape.com ce1e99c63d fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa 2001-06-12 22:21:12 +00:00
kin%netscape.com 051e33800a Fix for bug #83946 (Crash/freeze when backspacing over signature lines)
Fixed infinite loop in PriorVisibleNode() and NextVisibleNode() which would
happen when aNode was a node that could have children, but didn't have any,
and it's prior/next siblings weren't  eNormalWS.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-06-12 20:46:57 +00:00
cmanske%netscape.com 4956e3c3c6 Don't set 'center' alignment for new hrule element, part of fix to bug 83335, r=sfraser, sr=kin, a=asa-drivers 2001-06-09 21:54:04 +00:00
cmanske%netscape.com 47601fd028 Fixed test of empty cell in Composer table editing (b=84175, r=brade, sr=kin) and join cells should join with cell to right if only 1 cell selected (b=55991, r=mjudge, sr=kin), both a=asa-drivers 2001-06-08 23:15:15 +00:00
yokoyama%netscape.com b95d9c0083 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
ftang%netscape.com 4dde2c3cec fix 83448. author=simon@softel.co.il
r=ftang sr=kin a=asa
2001-06-04 22:22:36 +00:00
jdunn%netscape.com bceea52b52 Fixing AIX tinderbox bustage by using temps
sr= scc@mozilla.org
r= cmanske@netscape.com
a= chofmann@netscape.com
# 82523
2001-05-25 11:57:57 +00:00
sfraser%netscape.com ce7d569925 Fix for 82243; make sure we use "html" extension when saving files, if the MIME info gives us "htm". r=jfrancis, sr=scc 2001-05-23 00:21:29 +00:00
mkaply%us.ibm.com c2673ba006 #79954
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard
2001-05-22 14:11:17 +00:00
mkaply%us.ibm.com 18a8225acf #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
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
mkaply%us.ibm.com 001ce071d8 senna REQUIRES bustage 2001-05-18 12:37:39 +00:00
sfraser%netscape.com 1629b30c8b Fix the Windows build (doesn't like operators inside of trigraphs, or something). 2001-05-18 07:39:19 +00:00
sfraser%netscape.com 172a2ac866 Fix for bugs 23943, 47640 and 63515. Teach editor to handle plain text, and other text file types (including XUL, XML, JS etc), and, in the process, make the commands be smarter about disabling in text mode, and HTML source mode. r=brade, sr=kin 2001-05-18 06:42:37 +00:00
ftang%netscape.com 5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
cmanske%netscape.com 3f6ac8a05c Fixed infinite loop problems in Table Editing, b=79462, r=brade, sr=kin 2001-05-15 21:30:24 +00:00
jfrancis%netscape.com 7b2553b398 hey, I misspelled "i"! That's gotta be a record of some kind. 2001-05-14 09:38:03 +00:00
jfrancis%netscape.com 000f221fc3 fixing bad loop index 2001-05-14 07:19:01 +00:00
rpotts%netscape.com f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
kin%netscape.com 729a670d51 Fix for bug #75305: Doing Undo and Redo crashes browser
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().

    editor/base/nsEditorUtils.h
    editor/base/nsPlaintextEditor.cpp

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-05-11 13:59:11 +00:00
kin%netscape.com 91d049b213 Fix for bug #79157: Resurrect plain text editor
Moved Citer/Wrap files into core editor list. Ifdef'd out HTML
specific transactions with ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY.

   editor/base/Makefile.in
   editor/base/TransactionFactory.cpp
   editor/base/makefile.win

r=akkana@netscape.com  sr=sfraser@netscape.com
2001-05-11 13:58:31 +00:00
jfrancis%netscape.com af56a727cb fixing worms bustage 2001-05-11 13:32:32 +00:00
jfrancis%netscape.com 56ac4a4d19 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for: insert text, insert break, join blocks, split block, delete Yet to be tackled is html copy & paste. r=fm; sr=kin 2001-05-11 12:43:22 +00:00
glazman%netscape.com cab88a96ac Format > Align menu item in Composer not reflecting justification; b=78869, r=mjudge, sr=jst 2001-05-11 08:25:35 +00:00