1094 Commits

Author SHA1 Message Date
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
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
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
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
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
cls%seawood.org
dba8d90666 Replace chrome:: target with install::. Using chrome:: was causing |make -j3 install| builds to fail to execute the chrome:: target due to a suspected bug in gnu make. (|make MAKE='make -j3' install| works fine.)
git-svn-id: svn://10.0.0.236/trunk@94761 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:08: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
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
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
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
pinkerton%netscape.com
16fcfb7bb9 wow i biffed that last checkin
git-svn-id: svn://10.0.0.236/trunk@93176 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:48:40 +00:00
pinkerton%netscape.com
9afdb2b0d4 use GetCurrentSession() instead of QI to get drag session from service. r=pchen/sr=sfraser. bug# 77380
git-svn-id: svn://10.0.0.236/trunk@93168 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:05:08 +00:00
shanjian%netscape.com
656421251c #59405 IME candidate window position is not correct in text field on New card and To field
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp


git-svn-id: svn://10.0.0.236/trunk@92763 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 22:46:29 +00:00
mjudge%netscape.com
8eb3c77193 forgot 1 change sr=scc r=anthonyd 76442
git-svn-id: svn://10.0.0.236/trunk@92670 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 06:26:19 +00:00
mjudge%netscape.com
f92ab20e82 76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares.
git-svn-id: svn://10.0.0.236/trunk@92668 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 06:17:05 +00:00
jfrancis%netscape.com
9a35a75ae3 fixes for bugs:
75618   CR line breaks not recognized when inserting data in a plain 
76258 	IsEditable() needs to be smarter 
72968 	browser crashes when doing REDO after doing some cut/paste i 
55224 	switching from HTML Source mode to Normal causes dataloss 
71355 	style buttons do not work from 2nd cell onwards inside table 
71362 	empty tables inside (otherwise) empty list item disappears w 
74655 	40% of reply time in mailcompose spent converting linefeeds

r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@92547 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:15:05 +00:00
shanjian%netscape.com
6604a1b9f4 #59405 IME candidate window position is not correct in text field on New card and To field
r = kin, sr = sfraser
change the type of coordinate return for windows and unix


git-svn-id: svn://10.0.0.236/trunk@92239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:27:18 +00:00
cmanske%netscape.com
faba49aa9b Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@92060 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 03:41:06 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
cmanske%netscape.com
8dabedc82e Fixed Composer bugs 75291 and 74039. r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91821 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 03:02:10 +00:00