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

1379 Коммитов

Автор SHA1 Сообщение Дата
kin%netscape.com 88c878f24c Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h
2001-03-09 14:32:06 +00:00
kin%netscape.com 6501ce84d9 Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h
2001-03-09 14:23:59 +00:00
jfrancis%netscape.com 71a198358a renaming variable to match coding guidelines; r=fm; sr=kin 2001-03-09 14:19:14 +00:00
jfrancis%netscape.com bf6a0f6378 bug 57863: pasting multiple table cells outside of table doens't work. r=cmanske;sr=kin 2001-03-09 01:36:38 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
jfrancis%netscape.com f89d314aee fix for 70602: selection not properly reset when joining nodes. {r,sr}={kin,sfraser} 2001-03-06 20:16:38 +00:00
brade%netscape.com 2923c3eb03 stop propagation on drop over non-editable fields (unfortunately we have to additionally catch it in the drop since someone else might have accepted the drag for us); sr=kin 2001-03-02 14:11:55 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
blakeross%telocity.com 686e5a8010 UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst 2001-03-02 03:07:53 +00:00
jfrancis%netscape.com c1879e8f7a bug 30763: splitting mailcites in plaintext mail reply was broken. r=akkana; sr=blizzard 2001-03-02 00:08:20 +00:00
dprice%netscape.com 5184a7104b # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
cmanske%netscape.com d2efc15e1b Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser 2001-02-26 22:02:58 +00:00
cmanske%netscape.com f97df559ec Fixed table editing bug 63439. r=brade,jfrancis, sr=kin 2001-02-26 22:02:06 +00:00
brade%netscape.com 1f1cc70e80 fix copy/paste error in code logic (2 cmd_scrollPage* and no cmd_movePage*); r=akkana, sr=kin 2001-02-26 15:37:25 +00:00
blakeross%telocity.com 4c8a38b2d1 Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc 2001-02-26 00:28:58 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
cmanske%netscape.com 00e45511df Part of fix for bug 57206, r=brade, sr=kin 2001-02-16 21:04:41 +00:00
blakeross%telocity.com 61e2ace39e Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser 2001-02-16 03:40:15 +00:00
cmanske%netscape.com 76c6f07271 New files for SetDocumentTitle transaction. Not part of build yet. r=kin 2001-02-16 03:15:35 +00:00
akkana%netscape.com 109f0be87c 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.
2001-02-15 21:51:25 +00:00
dprice%netscape.com fc5a7ddbf1 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
brade%netscape.com 675fa242c6 preventdefault on drag&drop over non-editable fields 2001-02-07 13:42:24 +00:00
jfrancis%netscape.com 99c9cbe27a thank heavens i'm paranoid, or i wouldn't have found prob with ancient patch 2001-02-07 10:07:59 +00:00
jfrancis%netscape.com d5e12cced2 bug 62235 All new data lost after deleting some text bug 56880 backspace can delete entire contents of style node bug 56168 Missing character after closing inline tag which spans lines r=fm; sr=kin 2001-02-07 09:26:51 +00:00
jfrancis%netscape.com 363f5937c4 bug 64152: unstyling styled text sometimes fails, r=sf; sr=kin 2001-02-07 09:24:21 +00:00
anthonyd%netscape.com a269d8a282 landing jfrancis fix for 67109 - Drag and drop to and from textfields is broken
sr=kin
r=anthonyd
2001-02-07 02:50:05 +00:00
bryner%uiuc.edu 959336880a Bug 67709 - assertions when typing in editor due to uninitialized return value. r=blake, dbaron. sr=brendan. 2001-02-06 02:55:06 +00:00
brade%netscape.com 8e5fc69dde caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
dbaron%fas.harvard.edu e0028605f5 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl 2001-02-04 19:39:56 +00:00
jfrancis%netscape.com 1490101fe9 bug 67241: regression from the mongo embedding landing. now the smarts (for adding extra br's at the end of blocks when you hit return) are turned back on for html editors. r=fm; sr=kin 2001-01-31 23:58:42 +00:00
akkana%netscape.com 8e06cb3628 66718: fix a signed/unsigned problem. r=cmanske, sr=kin 2001-01-31 22:55:15 +00:00
valeski%netscape.com abe478a9a1 r=ccarlen, sr=rpotts. 65925. making editor progress listener support weak refs 2001-01-31 21:01:41 +00:00
blakeross%telocity.com 73c5411576 Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser 2001-01-31 02:50:16 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
jfrancis%netscape.com bf744d5b0f fixing build bustage 2001-01-28 20:56:55 +00:00
jfrancis%netscape.com d9f4b4f5a9 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00
akkana%netscape.com dbb2184847 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin 2001-01-25 23:12:16 +00:00
blakeross%telocity.com aecc334f2f Fix 66500: paste is enabled for readonly textfields. r=timeless sr=sfraser 2001-01-25 21:36:51 +00:00
kin%netscape.com b24b2c40c3 Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h
2001-01-23 21:55:04 +00:00
m_kato%ga2.so-net.ne.jp e4105949af bug 65547, r=jag, sr=sfraser
delete unused line
2001-01-18 02:50:29 +00:00
blakeross%telocity.com 419564bb7e Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard 2001-01-17 20:01:11 +00:00
cmanske%netscape.com b9190e65ec Fixing Edit Page bug 65610. r=blake, sr=smfr 2001-01-16 21:57:07 +00:00
m_kato%ga2.so-net.ne.jp c9ffdd5eba bug 64983, r=nhotta, sr=sfraser
When open DBCS filename by composer, title is shown incorrectly.
This bug is the regression of sfraser's check in (nsEditorShell.cpp
v1.222).
2001-01-12 11:29:59 +00:00
cmanske%netscape.com d0762fd337 Fix bug 55991 (right click in table cell and context menus) r=mjudge, sr=sfraser 2001-01-11 04:49:42 +00:00
dbaron%fas.harvard.edu 30f21ff5af Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2001-01-10 04:12:05 +00:00
anthonyd%netscape.com cee32ef734 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com
2001-01-09 23:22:56 +00:00
sfraser%netscape.com 26f00271fe Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin. Also changing from nsIFileWidget to nsIFilePicker, bug 47553, r=cmanske, sr=kin 2001-01-09 22:47:30 +00:00
sfraser%netscape.com f01a40fc19 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
anthonyd%netscape.com 107c2088f3 bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
akkana%netscape.com d3089c475e 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
cmanske%netscape.com 1d59bb785c Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser 2001-01-04 01:10:40 +00:00
valeski%netscape.com 86e103bdf3 r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf. 2001-01-02 23:20:56 +00:00
anthonyd%netscape.com 395ac65d31 fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin
2000-12-27 00:37:01 +00:00
harishd%netscape.com e7225d1dc7 62754 - Fix meta charset that was getting ignored.
63234 - Fix up an infinite looping caused by embedded null chars.

r=ftang
sr=vidur
2000-12-21 20:46:00 +00:00
cmanske%netscape.com 6df0ed58bd Reinstating table selection work for bug 57863 now that textfield.value bug 63376 is fixed. r=kin, sr=sfraser 2000-12-20 22:13:56 +00:00
rpotts%netscape.com db03e7d830 bug #15345 (r=sfraser, sr=mscott). Removed nsIDocumentLoaderObserver and replaced it with the new nsIWebProgress notifications... 2000-12-20 22:09:55 +00:00
leaf%mozilla.org 1b004f4d02 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com 1df02261e8 Changes for table selection enums, part of bug 57863, r=jfrancis, sr=kin 2000-12-20 02:35:27 +00:00
dbaron%fas.harvard.edu 12d46e3f6a Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=brendan@mozilla.org 2000-12-17 16:02:58 +00:00
vidur%netscape.com 01bf191f42 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
dbaron%fas.harvard.edu 33c4278ab5 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu 2eea32ae2b Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
jfrancis%netscape.com 0e06a7880a fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin 2000-12-06 23:11:21 +00:00
sfraser%netscape.com bea0a7e198 Fix for 62039 -- change methods to use const PRUnichar* instead of nsStrings for NS_LITERAL_STRING loving. r=cmanske, akkana, sr=kin 2000-12-06 20:48:35 +00:00
kin%netscape.com 2f644b83f5 Misc fixes for pedantic build warnings.
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
danm%netscape.com b9887b3ac3 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
sfraser%netscape.com aa4d5be8ea Removal of some crufty old code that used to do UI udpating, and was obsolete by XUL command nodes. r=akkana 2000-11-17 01:25:28 +00:00
akkana%netscape.com f60790d279 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
bryner%uiuc.edu bb84427a7f Trivial change, missing "return". r/sr/a=sfraser. 2000-11-16 02:13:30 +00:00
kin%netscape.com 944d6228e7 Fix from katakai@japan.sun.com for bug #58698: Solaris only: cmd_cut operation fails in optimize build
Initialize result with NS_OK in CreateTxnsToDeleteContent().
r=kin@netscape.com  sr=sfraser@netscape.com
2000-11-10 14:53:40 +00:00
hyatt%netscape.com e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
attinasi%netscape.com 10e4256108 Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=akkana,rickg a=buster 2000-10-30 22:22:17 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
kin%netscape.com cdb5785192 Fix for bug #57165 (Document/Message is not spellchecked if the caret is at the end of the document)
Call nsISpellChecker::SetDocument() with a PR_TRUE to tell the spellchecker to start checking
from the start of the document.
r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-20 00:05:22 +00:00
sfraser%netscape.com cba554d878 Fix for 56136 -- when reloading the editor page because of a charset change, call the predestroy notification, so that listeners (e.g. the UI update timer) can tear themselves down. r=akkana, sr=kin 2000-10-18 20:25:49 +00:00
kin%netscape.com b5284d98bd Fix for bug #56159 (Crash when sending after copy/paste with Spell Check enabled)
mozilla/editor/base/nsEditorShell.cpp
      - Make sure mSpellChecker is zeroed in Shutdown() just in case something went wrong.

    mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
      - Added checks to prevent iterating over a collapsed selection in FistSelectedBlock() and LastSelectedBlock().

r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-16 14:31:48 +00:00
sfraser%netscape.com b401988e2a Fix bug 52548, sidebar links open in composer window and nuke composer content. sr=mscott, r=vishy. 2000-10-14 01:44:31 +00:00
akkana%netscape.com e4c8c0286a 54449: Re-adding workaround for bug in delete-to-end, which was accidentally overwritten in XIF landing. r=jfrancis, sr=kin 2000-10-14 00:03:05 +00:00
kin%netscape.com 03bc6a4d6b Fix for bugscape bug #2698 (Need to wire up Spellchecker language prefs)
mozilla/odules/libpref/src/init/all.js
      - Added "spellchecker.dictionary" default pref and removed old 4.x spellchecker prefs.

    mozilla/editor/base/nsEditorShell.cpp
      - Added code to InitSpellChecker() and UninitSpellChecker() to get and
        set the "spellchecker.dictionary" pref.

r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-13 13:36:22 +00:00
jst%netscape.com 5002b5428f Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth. 2000-10-13 11:06:05 +00:00
jst%netscape.com 2850a2c385 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst. 2000-10-11 22:50:14 +00:00
attinasi%netscape.com 103832bf34 Part fo fix for prefs bugs: disabling forced colors and fonts for Composer shells. b=40340, r=karnaze,pierre verbal approval from k.brade, a=buster 2000-10-11 08:35:06 +00:00
jfrancis%netscape.com 4962303d8f fixes bug 54895: certain editor operations (like align) crashed when applied to mulit-cell table cell selections; r=kin; sr=sfraser; a=jar 2000-10-11 00:24:23 +00:00
sfraser%netscape.com 3f76efb012 Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt. 2000-10-10 01:45:46 +00:00
anthonyd%netscape.com 4d9d0f891d fix for bug# 54253
Summary: D&D causes data loss
sr=kin
r=sfraser
a=kin
2000-10-08 06:29:05 +00:00
anthonyd%netscape.com 45c34410a7 fix for bug#54222
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge
2000-10-08 06:14:21 +00:00
jst%netscape.com b3d9cbac12 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
kin%netscape.com 3d41c0f887 Fix for bug #50570 ([MLK] Leaking PRUnichar buffer in nsHTMLEditor::InsertFromTransferable())
Added calls to nsMemory::Free() to free text in PasteAsPlainTextQuotation() and InsertFromTransferable().
r=brade@netscape.com sr=sfraser@netscape.com
2000-10-05 19:38:46 +00:00
sfraser%netscape.com ffe026ad83 Fix for 52150; show caret in new composer/mail composer/AIM windows. If the editor is focussed on creation, show the caret instead of relying on a focus event. r, sr = kin,saari, hyatt 2000-09-28 00:31:48 +00:00
cmanske%netscape.com f02d215c24 Part of fix for nested tables bug 53733. r=brade, a=sfraser 2000-09-27 22:23:03 +00:00
cmanske%netscape.com af421ce118 Repairing code accidentally remove by subsequent checkin: b=53377, r=mjudge, a=sfraser 2000-09-27 01:09:49 +00:00
mjudge%netscape.com 57f515ad9c r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com 2000-09-22 00:43:44 +00:00
cmanske%netscape.com 817aedf927 Strip out quote character in candidate filename, b=53377, r=pnunn, sfraser 2000-09-21 04:25:09 +00:00
locka%iol.ie 69fd02310b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00