1420 Commits

Author SHA1 Message Date
jfrancis%netscape.com
76fa344ce5 now with vitamin R for extra wholesome goodness!
(correcting snafu)


git-svn-id: svn://10.0.0.236/trunk@97359 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:43:20 +00:00
jfrancis%netscape.com
bd7c2eb18f this checkin includes diff for 61232. was supposed to be in previous checkin. r=sfraser; sr=kin; a=asa
git-svn-id: svn://10.0.0.236/trunk@97356 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:35:07 +00:00
jfrancis%netscape.com
978ab248f8 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


git-svn-id: svn://10.0.0.236/trunk@97351 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:15:43 +00:00
jfrancis%netscape.com
08caa9059f 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()


git-svn-id: svn://10.0.0.236/trunk@97252 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 22:29:07 +00:00
kin%netscape.com
3a9a2b59a4 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


git-svn-id: svn://10.0.0.236/trunk@97214 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 13:57:01 +00:00
jfrancis%netscape.com
267670ce92 fixing build bustage. editor must link with gfx now.
git-svn-id: svn://10.0.0.236/trunk@96996 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:34:59 +00:00
jfrancis%netscape.com
95dc24ae05 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


git-svn-id: svn://10.0.0.236/trunk@96992 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:17:47 +00:00
jfrancis%netscape.com
533c057d2f 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
git-svn-id: svn://10.0.0.236/trunk@96986 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:03:12 +00:00
jfrancis%netscape.com
ef088d534d 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
git-svn-id: svn://10.0.0.236/trunk@96981 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:49:09 +00:00
jfrancis%netscape.com
078688a194 fix for 46209: I overhauled nsEditor::IsEditable() to better grok the state of content for editability. r=kin; sr=sfraser; a=asa
git-svn-id: svn://10.0.0.236/trunk@96980 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:35:28 +00:00
jfrancis%netscape.com
e1d5bae29a fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin
git-svn-id: svn://10.0.0.236/trunk@96976 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:27:53 +00:00
jfrancis%netscape.com
0ed7094afa fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa
git-svn-id: svn://10.0.0.236/trunk@96972 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:21:12 +00:00
kin%netscape.com
2ea1e201ca 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


git-svn-id: svn://10.0.0.236/trunk@96964 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 20:46:57 +00:00
cmanske%netscape.com
659478e44b Don't set 'center' alignment for new hrule element, part of fix to bug 83335, r=sfraser, sr=kin, a=asa-drivers
git-svn-id: svn://10.0.0.236/trunk@96792 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 21:54:04 +00:00
cmanske%netscape.com
d930b72b5d 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
git-svn-id: svn://10.0.0.236/trunk@96754 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 23:15:15 +00:00
yokoyama%netscape.com
7ae38c7612 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


git-svn-id: svn://10.0.0.236/trunk@96481 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 01:21:05 +00:00
ftang%netscape.com
6f3d36f2d2 fix 83448. author=simon@softel.co.il
r=ftang sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@96322 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:22:36 +00:00
jdunn%netscape.com
9e88af06a8 Fixing AIX tinderbox bustage by using temps
sr= scc@mozilla.org
r= cmanske@netscape.com
a= chofmann@netscape.com
# 82523


git-svn-id: svn://10.0.0.236/trunk@95905 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 11:57:57 +00:00
sfraser%netscape.com
8ee96304cf Fix for 82243; make sure we use "html" extension when saving files, if the MIME info gives us "htm". r=jfrancis, sr=scc
git-svn-id: svn://10.0.0.236/trunk@95749 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 00:21:29 +00:00
mkaply%us.ibm.com
26a1b313fe #79954
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard


git-svn-id: svn://10.0.0.236/trunk@95677 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 14:11:17 +00:00
mkaply%us.ibm.com
0f48c5b458 #80550
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557


git-svn-id: svn://10.0.0.236/trunk@95640 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:57:55 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
mkaply%us.ibm.com
24930d2ea4 senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@95394 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 12:37:39 +00:00
sfraser%netscape.com
fdfdb16492 Fix the Windows build (doesn't like operators inside of trigraphs, or something).
git-svn-id: svn://10.0.0.236/trunk@95385 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 07:39:19 +00:00
sfraser%netscape.com
a73f7efd19 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
git-svn-id: svn://10.0.0.236/trunk@95377 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:42:37 +00:00
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
cmanske%netscape.com
82a53959b8 Fixed infinite loop problems in Table Editing, b=79462, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@95051 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 21:30:24 +00:00
jfrancis%netscape.com
565024198d hey, I misspelled "i"! That's gotta be a record of some kind.
git-svn-id: svn://10.0.0.236/trunk@94871 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 09:38:03 +00:00
jfrancis%netscape.com
b85603561b fixing bad loop index
git-svn-id: svn://10.0.0.236/trunk@94863 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 07:19:01 +00:00
rpotts%netscape.com
9c40a95650 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
git-svn-id: svn://10.0.0.236/trunk@94842 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:16:27 +00:00
kin%netscape.com
8dade4ed7b 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


git-svn-id: svn://10.0.0.236/trunk@94654 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:59:11 +00:00
kin%netscape.com
3fd1e3f83f 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


git-svn-id: svn://10.0.0.236/trunk@94653 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:58:31 +00:00
jfrancis%netscape.com
bf446e6246 fixing worms bustage
git-svn-id: svn://10.0.0.236/trunk@94641 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:32:32 +00:00
jfrancis%netscape.com
73072cd5e7 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


git-svn-id: svn://10.0.0.236/trunk@94635 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 12:43:22 +00:00
glazman%netscape.com
8c3f5497ef Format > Align menu item in Composer not reflecting justification; b=78869, r=mjudge, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94614 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 08:25:35 +00:00
jfrancis%netscape.com
0046ce8f92 more ws work - not yet part of build
git-svn-id: svn://10.0.0.236/trunk@94482 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 11:55:49 +00:00
brade%netscape.com
5fecfaee6a fix rewrap problems by only outputing lf linebreak (checkin for Akkana); bug #54090
git-svn-id: svn://10.0.0.236/trunk@94372 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 13:05:05 +00:00
brade%netscape.com
f5302c09bb add debug insertion to detect unexpected linefeeds (checkin for Akkana); bug #54090
git-svn-id: svn://10.0.0.236/trunk@94371 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 13:01:48 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
jfrancis%netscape.com
d4589ac357 fix for 77558, table cells and list items getting extra br's. r=brade;sr=kin
git-svn-id: svn://10.0.0.236/trunk@93970 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 21:49:48 +00:00
sfraser%netscape.com
c5d0cf3e92 Fix some URMs and warnings in editor code, sr=kin, no bug.
git-svn-id: svn://10.0.0.236/trunk@93706 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 23:19:29 +00:00
cmanske%netscape.com
e64ed9fc90 Fixed context menu problem when > 1 cell selected, b=55991, r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@93494 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:58:55 +00:00
cls%seawood.org
54ce5cd8c3 Set the define to =1 as it appears to appease the WorkShop 5.0 compiler gods.
git-svn-id: svn://10.0.0.236/trunk@93399 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 20:04:44 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
jfrancis%netscape.com
723ff44155 groundwork for 65557. not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@93389 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 12:04:45 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
sfraser%netscape.com
c696d9a508 Backing out valeski
git-svn-id: svn://10.0.0.236/trunk@93248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 05:53:22 +00:00
valeski%netscape.com
4aea038db2 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:16:22 +00:00
jfrancis%netscape.com
be3782bde4 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin
git-svn-id: svn://10.0.0.236/trunk@93177 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 20:14:26 +00:00