Commit Graph

1489 Commits

Author SHA1 Message Date
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
jfrancis%netscape.com
b5c74bb9ad more ws work - not yet part of build 2001-05-10 11:55:49 +00:00
brade%netscape.com
c6f551d382 fix rewrap problems by only outputing lf linebreak (checkin for Akkana); bug #54090 2001-05-09 13:05:05 +00:00
brade%netscape.com
4c15f893db add debug insertion to detect unexpected linefeeds (checkin for Akkana); bug #54090 2001-05-09 13:01:48 +00:00
jst%netscape.com
ea706038cf 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. 2001-05-08 17:42:36 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
jfrancis%netscape.com
1f991acbd6 fix for 77558, table cells and list items getting extra br's. r=brade;sr=kin 2001-05-04 21:49:48 +00:00
sfraser%netscape.com
419f77acfc Fix some URMs and warnings in editor code, sr=kin, no bug. 2001-05-02 23:19:29 +00:00
cmanske%netscape.com
2b11cbf638 Fixed context menu problem when > 1 cell selected, b=55991, r=akkana, sr=kin 2001-04-30 23:58:55 +00:00
cls%seawood.org
4c58c42081 Set the define to =1 as it appears to appease the WorkShop 5.0 compiler gods. 2001-04-28 20:04:44 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
jfrancis%netscape.com
4df485ccd2 groundwork for 65557. not yet part of build. 2001-04-28 12:04:45 +00:00
valeski%netscape.com
00bca056ef 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 2001-04-27 21:30:24 +00:00
sfraser%netscape.com
245d4eb76f Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com
54db7dffa3 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 2001-04-27 04:16:22 +00:00
jfrancis%netscape.com
68326016b3 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin 2001-04-26 20:14:26 +00:00
pinkerton%netscape.com
39db36c9ab wow i biffed that last checkin 2001-04-26 19:48:40 +00:00
pinkerton%netscape.com
6cc46bce58 use GetCurrentSession() instead of QI to get drag session from service. r=pchen/sr=sfraser. bug# 77380 2001-04-26 19:05:08 +00:00
shanjian%netscape.com
819a855d2b #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
2001-04-19 22:46:29 +00:00
mjudge%netscape.com
0d69ddce33 forgot 1 change sr=scc r=anthonyd 76442 2001-04-18 06:26:19 +00:00
mjudge%netscape.com
d5b4c5e196 76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares. 2001-04-18 06:17:05 +00:00
jfrancis%netscape.com
edc5638e7c 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 2001-04-17 10:15:05 +00:00
shanjian%netscape.com
0ee5ec3e5a #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
2001-04-13 22:27:18 +00:00
hewitt%netscape.com
58196589e7 72530 - oversized dialog problems, r=jag, sr=alecf 2001-04-12 05:42:05 +00:00
cmanske%netscape.com
1719c073e7 Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser 2001-04-12 03:41:06 +00:00
danm%netscape.com
04d1dedd25 moving implementation details mistakenly placed in public promptservice interface to the private one. r=hyatt,jack 2001-04-12 02:18:06 +00:00
sfraser%netscape.com
473036a7fc Fix bug 75271; ensure that we update commands properly for batched transactions. r=akkana, sr=kin 2001-04-11 23:11:29 +00:00
shaver%mozilla.org
a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
cmanske%netscape.com
a494fecfe3 Fixed property dialog launch bug 75441, r=akkana, sr=kin 2001-04-11 04:42:55 +00:00
ccarlen%netscape.com
2ad2b9adcf Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts. 2001-04-10 18:30:25 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
cmanske%netscape.com
d1f2a25587 Fixed Composer bugs 75291 and 74039. r=mjudge, sr=sfraser 2001-04-10 03:02:10 +00:00
danm%netscape.com
c223f055da commondialog service is being replaced by promptservice. bug 72112 continues 2001-04-09 01:35:41 +00:00
disttsc%bart.nl
72cea9bb38 Clean up MODULE/REQUIRES, bug=73353, r=cls 2001-04-08 08:33:11 +00:00
mjudge%netscape.com
0d5b00ec9a 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
kin%netscape.com
73ce3da023 Fix for bug #74983: Can't start Composer or MessageCompose
Add missing NS_INIT_REFCNT macro.
r=shaver@mozilla.org,mjudge@netscape.com sr=scc@mozilla.org
2001-04-06 14:38:15 +00:00
akkana%netscape.com
2f4ac4487f Reverting block-ness testing code to the old evil hardwired list,
to see whether the static handle to the parser service was the
source of the leaks.  Discussed with sfraser and anthonyd.
If this causes problems, uncomment the USE_PARSER_FOR_BLOCKNESS
on line 433.
2001-04-06 03:18:41 +00:00
akkana%netscape.com
8eb74c76a4 Forestall more win bustage -- missed a file 2001-04-06 01:19:23 +00:00
akkana%netscape.com
1bd17518bd Fix my bonehead windows bustage 2001-04-06 01:18:34 +00:00
akkana%netscape.com
097e2cd077 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
akkana%netscape.com
838b5416b8 New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
sfraser%netscape.com
4097a932ed Fix HPUX bustage 2001-04-05 02:11:57 +00:00
sfraser%netscape.com
ae21d8429d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
scc%mozilla.org
70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
jfrancis%netscape.com
4199d71c20 bug 58281: fixing mem leaks when shuffling nsISupports around in editor paste code. r=fm; sr=kin 2001-04-02 06:09:44 +00:00
kin%netscape.com
47cf337220 Fix for Normal->ViewSource->Normal dataloss bugs
73659 (TextArea tag) and 55224 (Map tag). Added
IsTextarea() and IsMap() methods, factored out
common code for Is*() methods into NodeIsType().
r=jfrancis@netscpae.com sr=sfraser@netscape.com
2001-03-30 14:39:29 +00:00
disttsc%bart.nl
dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
cmanske%netscape.com
48b706d16c Part of fix for plaintext editor bug 69536. r=brade, sr=kin 2001-03-28 21:19:47 +00:00
pinkerton%netscape.com
c3982c4c90 allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver. 2001-03-27 23:08:32 +00:00
blakeross%telocity.com
0b2dd2b2d2 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben 2001-03-22 00:59:29 +00:00
erik%netscape.com
c5bd1e8ade bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
anthonyd%netscape.com
37f2712320 bug fix for 67985 - needed methods for nsEditor impl
r=jfrancis
sr=sfraser
2001-03-13 02:48:17 +00:00
valeski%netscape.com
68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dougt%netscape.com
c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
Peter.VanderBeken%pandora.be
47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
kin%netscape.com
d6e1d32f46 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
11f8ac97cd 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
c4120e0590 renaming variable to match coding guidelines; r=fm; sr=kin 2001-03-09 14:19:14 +00:00
jfrancis%netscape.com
d916478ef5 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
8b43034cef 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
4a9c27c551 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
347aad29a1 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
277181c660 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
38794d139f 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
29396a3fed 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
199c935b04 # 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
5d262a924f 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
bc4345a9d9 Fixed table editing bug 63439. r=brade,jfrancis, sr=kin 2001-02-26 22:02:06 +00:00
brade%netscape.com
a4b177a83d 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
2d55400a1d 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
a6f2f5861a 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
9fe59f23f0 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
128f95aa9b 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
428702b810 Part of fix for bug 57206, r=brade, sr=kin 2001-02-16 21:04:41 +00:00
blakeross%telocity.com
ee47e675f3 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
0d096c6317 New files for SetDocumentTitle transaction. Not part of build yet. r=kin 2001-02-16 03:15:35 +00:00
akkana%netscape.com
57d496adcb 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
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 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
5ee3ad85eb preventdefault on drag&drop over non-editable fields 2001-02-07 13:42:24 +00:00
jfrancis%netscape.com
dd6f59dd19 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
51345bbfc9 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
b9c8fa8fba bug 64152: unstyling styled text sometimes fails, r=sf; sr=kin 2001-02-07 09:24:21 +00:00
anthonyd%netscape.com
e177704f0e 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
1f048b0080 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
075f53d3d8 caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
dbaron%fas.harvard.edu
fb225b8763 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
335dd75242 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
19a79462ba 66718: fix a signed/unsigned problem. r=cmanske, sr=kin 2001-01-31 22:55:15 +00:00
valeski%netscape.com
6c882d4bc8 r=ccarlen, sr=rpotts. 65925. making editor progress listener support weak refs 2001-01-31 21:01:41 +00:00
blakeross%telocity.com
7643d2d739 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
79713bc4c2 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
d863a1552c fixing build bustage 2001-01-28 20:56:55 +00:00
jfrancis%netscape.com
fb60392b41 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
9bb492fd88 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
5ff07f6519 Fix 66500: paste is enabled for readonly textfields. r=timeless sr=sfraser 2001-01-25 21:36:51 +00:00
kin%netscape.com
4275b833c4 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
dc83a95253 bug 65547, r=jag, sr=sfraser
delete unused line
2001-01-18 02:50:29 +00:00
blakeross%telocity.com
36f2c20b6e Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard 2001-01-17 20:01:11 +00:00
cmanske%netscape.com
a0a3f20731 Fixing Edit Page bug 65610. r=blake, sr=smfr 2001-01-16 21:57:07 +00:00
m_kato%ga2.so-net.ne.jp
12250decb0 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
cb2d225d80 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
b95efc763f 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
101cc14924 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
6906fda17c 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
a0dda75954 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
dbd36fbbfb 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
d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
cmanske%netscape.com
b6ef8c3379 Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser 2001-01-04 01:10:40 +00:00
valeski%netscape.com
b3214951df 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
795524ba64 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
f4101b2637 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
1c49ac5fbf 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
5fa3c9c558 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
c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com
a272728996 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
556384e922 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
4f62c23956 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
fa7d014c05 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
2b2160f1b0 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
a4b7a1f805 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
7e9ec3377c 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
ab5cd791f6 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
66a18fcbbf 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
2c6d578e14 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
4d2dbcae97 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
d20c260cc6 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
bryner%uiuc.edu
ab2d4076b4 Trivial change, missing "return". r/sr/a=sfraser. 2000-11-16 02:13:30 +00:00
kin%netscape.com
028f5f41e8 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
fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
attinasi%netscape.com
909d6a194e 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
cd56c0575b 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
9a6d92a433 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
a2a0e487d7 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
de0e705fe6 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
44e24f1173 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
50edd77011 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
5e66eb533d 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
cbbf0dc6ee 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
bf199577e4 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
17691505d4 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
043068f7e6 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
1a58faf2ad 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
a388c1b7dd 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