1190 Commits

Author SHA1 Message Date
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
brade%netscape.com
ba68668ea3 ForceCompositionEnd when focus is lost (Blur); bug #81356; patch from Masaki Katakai (katakai@japan.sun.com); r=brade/ftang; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@108303 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:04:17 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
akkana%netscape.com
b0c5a7f34a 104195: fix some problems with rewrap. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@108107 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 00:04:26 +00:00
cmanske%netscape.com
02b45c471c Fixed join cells table bug 103360, r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@108089 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 22:22:17 +00:00
jfrancis%netscape.com
86581dbcfa fix for Bug#:107494, when editting in IME mode, you cannot delete last uncommitted character. r=smfr; sr=kin; a=drivers
git-svn-id: svn://10.0.0.236/trunk@108051 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 12:58:57 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
kin%netscape.com
d7e3258a81 Fix for bug 106383: regression: new composer doc behaves as if empty
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.h
  mozilla/editor/libeditor/html/nsHTMLEditor.h
  mozilla/editor/libeditor/text/nsTextEditRules.h

    - Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
    - Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
    - Changed all references of kOpHTMLLoad to kOpLoadHTML to match
      function name, and added kLoadHTML.

r=jfrancis.netscape.com  sr=sfraser.netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@107735 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 15:16:03 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
kin%netscape.com
9ec5334640 Fix for bug #99517: Text migrates past H. Line, loses formatting when converted to list
Modified WillMakeList() to clear prevListItem after adding a block
to a list item so that any inline nodes after the block are put
in a new list item.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@107105 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 14:47:10 +00:00
akkana%netscape.com
11ad61a35d 106111: heed --enable-plaintext-editor-only for editor build.
r=cls sr=kin


git-svn-id: svn://10.0.0.236/trunk@106998 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:29:13 +00:00
rjesup%wgate.com
ba5d380603 Bug 106509: SaveSelection() doesn't delete entries from range correctly;
the test was backwards and never executed.  r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@106969 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:44:26 +00:00
brade%netscape.com
74f5fa0887 nsIFile->nsIURI in nsIDiskDocument; fix SaveDocument api (bug #104883)
git-svn-id: svn://10.0.0.236/trunk@106965 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:27:38 +00:00
brade%netscape.com
18ad0f0e55 nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883)
git-svn-id: svn://10.0.0.236/trunk@106957 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:22:10 +00:00
brade%netscape.com
f7cc2deb3c add necko requires (makefile.win already has this); bug #104883
git-svn-id: svn://10.0.0.236/trunk@106956 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:09:56 +00:00
glazman%netscape.com
833d6a353e call to GetNodesForOperation() in GetAlignment() missed a parameter indicating it should not modify the tree; b=107372, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@106831 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 15:30:49 +00:00
cmanske%netscape.com
6f8a23045c Fixed setting all attributes on an inserted link, b=97455, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@106733 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 23:24:44 +00:00
mkaply%us.ibm.com
90f5b9c725 OS/2 bustage - ugly I know - I'm opening a bug with the compiler folk
git-svn-id: svn://10.0.0.236/trunk@106478 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:47:08 +00:00
jaggernaut%netscape.com
38717bd097 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:28:06 +00:00
sspitzer%netscape.com
e651048da1 fix for #106269. reply wasn't quoting the message body.
r/sr=kin


git-svn-id: svn://10.0.0.236/trunk@106402 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:21:04 +00:00
kin%netscape.com
6fcaeaf88c Fix for bug #104692: Edit field line break didn't updated
Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:22:31 +00:00
timeless%mac.com
f65d10305d Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly
r=bbaetz,glazou sr=brendan


git-svn-id: svn://10.0.0.236/trunk@106350 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 10:54:15 +00:00
alecf%netscape.com
6dc7d8d1e8 final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon
git-svn-id: svn://10.0.0.236/trunk@106320 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:18:09 +00:00
alecf%netscape.com
93701a7f68 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls
git-svn-id: svn://10.0.0.236/trunk@105956 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:44:02 +00:00
jfrancis%netscape.com
c64143d012 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


git-svn-id: svn://10.0.0.236/trunk@105922 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 06:22:52 +00:00
cmanske%netscape.com
36402f49d3 Fixed table editing hang when spliting cell (b=102967, r=brade, sr=kin) and don't copy empty cell's <br> when joining cells (b=102930, r=brade, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@105825 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:33:20 +00:00
kin%netscape.com
b343a978fe Fix for bug 101690: Delete key at end of line deletes a line then caret freezes
Modified WillDeleteSelection() to make sure that
sibling is a TextNode before trying to join it
with startNode (which is guaranteed to be a text node).

r=jfrancis@netscape.com   sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@105768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:48:43 +00:00
bernd.mielke%snafu.de
67e3a6751d bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin


git-svn-id: svn://10.0.0.236/trunk@105623 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:33:50 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
alecf%netscape.com
f7b48fa3b1 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:16:32 +00:00
cmanske%netscape.com
221efe8850 Fix memory leak (not using nsCOMPtr) in editor, b=103317, r=rcassin, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105089 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:29:46 +00:00
glazman%netscape.com
31f862f14e Make html alignment in Composer use the align attribute and get rid of a lot of useless divs; b=102135, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104906 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:00:33 +00:00
waterson%netscape.com
cf8fdc8b0a Bug 103372. Add EXPORT_LIBRARY and MODULE_NAME decls. r=cls, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104785 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:02:30 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
seawood%netscape.com
885c78d437 Some platforms require all symbols to be linked at link-time.
r,sr,a,moa=flaming tinderboxes.


git-svn-id: svn://10.0.0.236/trunk@104650 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 08:20:31 +00:00
akkana%netscape.com
5e09c9e971 Fix OBJDIR build bustage associated with 66345 editor reorg checkin
git-svn-id: svn://10.0.0.236/trunk@104628 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:57:05 +00:00
akkana%netscape.com
2f854aee16 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104623 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:23:23 +00:00
akkana%netscape.com
c28d2b3bb1 66345: Flipping the switch on the editor reorg.
base will no longer be built (and will be cvs removed soon);
  libeditor and composer are now built, building separate libraries.
  Doing unix/windows now; mac will follow shortly.
  r=cmanske,jfrancis sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104606 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:37:04 +00:00
akkana%netscape.com
231ff86dce 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.


git-svn-id: svn://10.0.0.236/trunk@104600 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 23:12:09 +00:00
akkana%netscape.com
3efc64b83d 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@104498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:54:12 +00:00
dbaron%fas.harvard.edu
c7ecd0425e Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +00:00
bzbarsky%mit.edu
452c9306b0 Make ctrl-delete delete to end of line on Unix when no text is
selected. Bug 102448, r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@104359 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:01:26 +00:00
roc+%cs.cmu.edu
5548bcecb4 Bug 56696. Let ctrl-enter escape from multiline editors. r=brade, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@104279 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:11:19 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
glazman%netscape.com
b0f0ef596c alignment status in Composer was erroneous for cells into an aligned table; b=97519, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103933 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 08:44:25 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
akkana%netscape.com
3c9ba5b911 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@103671 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:45:54 +00:00
jfrancis%netscape.com
fe8d36a5da fixes bug 96676: deletion can pull text out of inline containers
fixes bug 97685: unbulleting empty bullet list item can create nested list
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@103605 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 03:43:34 +00:00