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

511 Коммитов

Автор SHA1 Сообщение Дата
danm%netscape.com ca335d3315 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 702a05ff10 Fix bug 75271; ensure that we update commands properly for batched transactions. r=akkana, sr=kin 2001-04-11 23:11:29 +00:00
cmanske%netscape.com f34bdb415f Fixed property dialog launch bug 75441, r=akkana, sr=kin 2001-04-11 04:42:55 +00:00
ccarlen%netscape.com 7720f48f12 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 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
danm%netscape.com d881c56eac commondialog service is being replaced by promptservice. bug 72112 continues 2001-04-09 01:35:41 +00:00
mjudge%netscape.com d8ad0a43f1 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 b3367d336d 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
sfraser%netscape.com 4b63b80f88 Not part of build. In-progress work on editor session 2001-04-05 23:57:22 +00:00
akkana%netscape.com 97414320ad 66345: New unix/win makefiles for new editor directories,
anticipating the move of files from editor/base.
  Not built yet, needs Mac project.  r=jfrancis, sr=kin/sfraser
2001-04-05 23:51:30 +00:00
akkana%netscape.com 77bd006639 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
akkana%netscape.com a82b0338ad New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00
blakeross%telocity.com 6573419a09 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
sfraser%netscape.com edcfb4d486 Fix HPUX bustage 2001-04-05 02:11:57 +00:00
sfraser%netscape.com 687359c2ed Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
scc%mozilla.org c355507eda landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
cmanske%netscape.com e922fe1f55 Part of fix for plaintext editor bug 69536. r=brade, sr=kin 2001-03-28 21:19:47 +00:00
blakeross%telocity.com eaa6754a0a 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
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dougt%netscape.com 9c5d760307 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
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
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
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
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
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
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
valeski%netscape.com abe478a9a1 r=ccarlen, sr=rpotts. 65925. making editor progress listener support weak refs 2001-01-31 21:01:41 +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 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
attinasi%netscape.com a4e0fe11f6 Put link color: blue back in for composer. b=66578 r=beppe 2001-01-27 07:16:33 +00:00
sfraser%netscape.com 7479f4c393 Work in progress on editor embedding, NOT PART OF THE BUILD. 2001-01-26 02:16:14 +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
cmanske%netscape.com b9190e65ec Fixing Edit Page bug 65610. r=blake, sr=smfr 2001-01-16 21:57:07 +00:00
cmanske%netscape.com 154f13842c Show underline for links in editor, b=63528, r=mjudge, sr=sfraser 2001-01-12 22:32:44 +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
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
akkana%netscape.com d3089c475e 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +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
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
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 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
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
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
hyatt%netscape.com e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +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
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
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
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
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 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
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jfrancis%netscape.com ed5ef690db fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org a08356d867 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 04:59:07 +00:00
ftang%netscape.com 7afbf44a3d fix 51432. r=cata while we set the document charset, we also set the force charset so it
will stronger than the charset in the cache.
2000-09-09 01:23:36 +00:00
cmanske%netscape.com 188ad78869 Refinements to make Composer context menus work and remove unused entities, b=43307, r=akkana 2000-09-08 01:45:06 +00:00
dbaron%fas.harvard.edu 7bb3956df6 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
cmanske%netscape.com cd6e884c07 Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth) 2000-09-05 23:26:48 +00:00
sfraser%netscape.com cb3b4525d3 Fix for 51132 -- don't crash updating remove list command, and don't leak teh string. r=akkana 2000-09-02 01:44:57 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
cmanske%netscape.com 08508c8980 Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc 2000-08-30 22:49:08 +00:00
cmanske%netscape.com a6004c027e nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +00:00
akkana%netscape.com 9f7d296467 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
sfraser%netscape.com e709e5e99e Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd 2000-08-24 01:20:29 +00:00
cmanske%netscape.com 5eafc0feeb Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
scc%mozilla.org 6dc0b1da8f fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet. 2000-08-20 00:34:08 +00:00
jfrancis%netscape.com 008d4be4c9 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
sfraser%netscape.com 7223f26df2 Final part of fix for 25161 -- use the new user-select: _moz_all that pierre just checked in. 2000-08-12 01:26:39 +00:00
sfraser%netscape.com f510087c95 Part of fix for 47855 -- don't show title prompt when saving from mail or plaintext. r=ducarroz 2000-08-12 00:16:10 +00:00
cmanske%netscape.com f1c77b50d1 Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser 2000-08-11 04:59:37 +00:00
cmanske%netscape.com 479cdf9bee Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
sfraser%netscape.com 59ee00ee6a Fix for 25161 -- allow editor to handle pages with form elements. Avoid infinite loop in editor, and add some CSS for form elements in editor. r=jfrancis 2000-08-08 23:37:51 +00:00
anthonyd%netscape.com a25ca036a2 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske
2000-08-07 21:12:18 +00:00
brade%netscape.com f41f9eac47 remove save and saveas commands (now in JS); submitted by rcassin@supernova.org (bug #16359) 2000-07-28 10:15:28 +00:00
brade%netscape.com b7d24e6838 remove unused function 2000-07-27 21:48:06 +00:00
brade%netscape.com e6b702e50a add static to two methods to remove warnings 2000-07-27 21:46:26 +00:00
mjudge%netscape.com cdba084e96 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
mcafee%netscape.com deb01365ed Backing out last change to fix linux bustage. r=cmanske 2000-07-12 01:47:00 +00:00
cmanske%netscape.com cb19927b0b Tweaked previous fix -- sfraser suggested a more efficient fix 2000-07-12 01:05:35 +00:00
cmanske%netscape.com fce6160b81 Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!) 2000-07-12 01:00:58 +00:00
cmanske%netscape.com 97dee49a22 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
ftang%netscape.com 54819fb47f fix 40739 (dup as 45048. the fix is in 45048)
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.
2000-07-11 07:50:00 +00:00
cmanske%netscape.com 4442172bcd Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
dougt%netscape.com 799ac22e54 Change nsIDOMXULDocument --> nsIDOMDocument
bug 43424
r=akkana@netscape.com
a=phil@netscape.com ?
2000-06-24 01:29:58 +00:00
cmanske%netscape.com 6a24bee40a Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske 2000-06-22 05:24:42 +00:00
cmanske%netscape.com b3f240a618 Checking for brade: Use PreventDefault instead of returning NS_ERROR_BASE to stop event processing in mouse listners. b=42510, r=cmanske 2000-06-22 04:54:55 +00:00
danm%netscape.com 40f3672db1 tracking change of name of window.content to _content. (bug 33650) r=hyatt 2000-06-22 00:48:45 +00:00
cmanske%netscape.com 9af7bfa239 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
cmanske%netscape.com 0efac2575c Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana 2000-06-15 14:17:13 +00:00
cmanske%netscape.com 261a085aed New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser 2000-06-14 04:58:29 +00:00
cmanske%netscape.com 1f983fa5c8 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
jfrancis%netscape.com fe753fcd2a backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
sfraser%netscape.com b858f72037 Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis 2000-05-26 23:42:25 +00:00
sfraser%netscape.com ec48bd6068 Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe 2000-05-25 21:50:46 +00:00
cmanske%netscape.com d457c4985f Fixed object properties bug 39649, including moving methods involved (without change) from ComposerCommands.js to editor.js as suggested by sfraser. r=sfraser 2000-05-25 03:35:33 +00:00
cmanske%netscape.com 6d4c9b8d5c Fixed object properties bug 39649. r=sfraser 2000-05-25 03:34:20 +00:00
jfrancis%netscape.com 18736fd80c fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
ftang%netscape.com 5ce7a8e9f6 Change the default charset of the containviewer when we set the document charset of
the nsEditorShell. fix bug 38322
2000-05-17 00:09:40 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
cmanske%netscape.com d0a972c989 Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command 2000-05-16 05:33:51 +00:00
jfrancis%netscape.com 477c543773 fixing list toolbar button updating... 2000-05-15 11:50:49 +00:00
cmanske%netscape.com e02cfe44c3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
anthonyd%netscape.com a83ef0cabb adding weak ptr support to EditorShellMouseListener 2000-05-14 05:52:56 +00:00
anthonyd%netscape.com 6b15630573 changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell
2000-05-14 05:27:17 +00:00
cmanske%netscape.com 8af8a29270 Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages 2000-05-12 02:37:33 +00:00
cmanske%netscape.com 04b50d0613 Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell. 2000-05-10 13:56:30 +00:00
cmanske%netscape.com 0c4e2853d6 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
cmanske%netscape.com fbf8413ca7 Adding new mouse listener for EditorShell. r=sfraser (not used yet) 2000-05-09 22:11:19 +00:00
sfraser%netscape.com 2a5040ef76 Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code. 2000-05-05 23:20:21 +00:00
sfraser%netscape.com e6587dd926 Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method. 2000-05-05 23:19:08 +00:00
sfraser%netscape.com da7bfa7337 Get rid of the redundant command state saving methods. 2000-05-05 23:18:15 +00:00
kin%netscape.com df150785ad Fixed spellchecker recheck bug.
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl

    - Modified StartSpellChecking() so that it no longer calls
      NextMisspelledWord().
    - Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
    - Changed prototype of GetCurrentDictionary() in the idl file.
    - Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsISpellChecker.h

    - Added NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsTextServicesCID.h

    - Removed NS_SPELLCHECKER_CID.

mozilla/editor/ui/composer/content/ComposerCommands.js

    - Replaced all calls to  Start/CloseSpellChecking() with
      Init/UninitSpellChecker().
    - We now call GetNextMisspelledWord() after initing the spellchecker.

mozilla/editor/ui/dialogs/content/EdSpellCheck.js

    - Dialog now assumes the spellchecker language has been set before the
      dialog is invoked.
    - Fixed Recheck() so that it now sets the language.
2000-05-05 14:58:43 +00:00
cmanske%netscape.com 6446b2e1b0 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
kin%netscape.com b68c6a6249 Added spellchecker support for different dictionaries/languages:
mozilla\editor\base\nsEditorShell.cpp
    mozilla\editor\idl\nsIEditorSpellCheck.idl
    mozilla\editor\txtsvc\public\nsISpellChecker.h

      - Added GetDictionaryList() and Get/SetCurrentDictionary() methods.

    mozilla\editor\ui\dialogs\content\EdDialogCommon.js

      - Added AppendValueAndDataToMenulist() function.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.xul

      - We now import strres.js.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.js

      - Added InitLanguageMenu().
2000-05-04 14:37:56 +00:00
cmanske%netscape.com 997a0f430f HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com e983172b2f massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
sfraser%netscape.com 7fca5ed05b Ensure that the style buttons update as soon as you press them, so that the button reflects the type-in state properly. 2000-05-03 05:13:59 +00:00
sfraser%netscape.com efcda15f63 Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability. 2000-05-03 02:24:16 +00:00
jfrancis%netscape.com 7a8d8c9f26 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
sfraser%netscape.com 3482bd6475 Fix for bug 37898 -- can't type in editor, msg and IM compose. r=kin, a=leaf 2000-05-02 21:46:23 +00:00
cmanske%netscape.com fc2bc945aa Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +00:00
sfraser%netscape.com 9df44b2e98 Fix the case of nsHash*t*able.h include. 2000-05-01 22:11:22 +00:00
sfraser%netscape.com 29ea7a1c61 Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
sfraser%netscape.com d05c4aaf49 First Checked In. 2000-05-01 21:37:38 +00:00
mjudge%netscape.com d5503b6423 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
cmanske%netscape.com 0b1fa1f02b Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 39a76668ca Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
cmanske%netscape.com 79c27c8b3f Fixed setting title bug 36179, lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using <tree> for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com 2000-04-21 14:55:54 +00:00
scc%netscape.com 992a2f63e3 making string conversions explicit 2000-04-21 06:56:47 +00:00
sfraser%netscape.com 97d1415ea9 Fix frameset detection. An additional Notify() method was not hooked up properly. 2000-04-21 00:50:04 +00:00
akkana%netscape.com 74cc74130e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com a9942efa49 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
scc%netscape.com 23d6d5119e making string conversions explicit 2000-04-18 07:52:02 +00:00
scc%netscape.com 1d1960be1e making string conversions explicit 2000-04-18 07:44:58 +00:00
akkana%netscape.com 2d3cd3acbb 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
mjudge%netscape.com b37ba2ce4a fixing another api change on notifyt selection 2000-04-14 23:01:09 +00:00
akkana%netscape.com edb2712c30 29794: tell docshell to disable meta-refresh 2000-04-14 21:19:44 +00:00
mjudge%netscape.com fc3a2b3d76 changes to api for selection listeners 2000-04-14 11:26:18 +00:00
cmanske%netscape.com d5c3bc9965 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
jfrancis%netscape.com b7dd11f7bb Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs. 2000-04-13 21:50:19 +00:00
tbogard%aol.net 96955798a4 Changed nsEditorShell to hold on to docShells instead of webShells. Changed a number of places to use nsIDocShell instead of nsIWebShell. Removed the hold on a nsIWebShellWindow as no one should ever hold onto that. 2000-04-11 23:48:14 +00:00
cmanske%netscape.com 9ac913ea06 Fixed spell checker bug 34479. r=akkana, a=leaf 2000-04-06 01:17:54 +00:00
sfraser%netscape.com b2c09ac335 Minor cleanup, removal of some unused parameters. r=cmanske. 2000-04-05 00:06:53 +00:00
harishd%netscape.com 2ca367c06d Added the new Notify(), overloaded, method.
r=sfraser
2000-04-04 23:59:33 +00:00
cmanske%netscape.com 0bbcf3b037 Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis 2000-04-04 14:51:26 +00:00
sfraser%netscape.com 927b15e09a Fix bustage. NS_IMETHODIMP and nsresult don't mix on windows. 2000-04-04 01:43:32 +00:00
sfraser%netscape.com 4fdde3d238 Fix for 14599 -- detect attempt to edit frameset. a=akkana 2000-04-04 01:06:25 +00:00
cmanske%netscape.com 328092db3b Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser 2000-03-31 04:18:29 +00:00
sfraser%netscape.com 1d124a5671 Work in progress for bug 14599 -- handle loading frameset docs. r=cmanske 2000-03-31 02:13:00 +00:00
sfraser%netscape.com 9b692e974d Work in progress for frameset detection, bug 14599. r=cmanske 2000-03-31 01:57:28 +00:00
sfraser%netscape.com c9b420a9f8 First Checked In. 2000-03-30 05:19:01 +00:00
norris%netscape.com b1bac05243 Fix bug 7264 All JavaScript running with correct principals
r=mstoltz
2000-03-28 03:59:46 +00:00
akkana%netscape.com 3bd08fc59c 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser 2000-03-28 00:15:56 +00:00
scc%netscape.com bb71dd61c4 small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
cmanske%netscape.com 69344f40ed Fixed window title bug 30100, removed debug code in table editing. r=brade 2000-03-25 02:41:19 +00:00
norris%netscape.com c7afcfb732 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
cmanske%netscape.com e3ef5768c7 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com 6eaddd7332 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp 2000-03-20 23:13:25 +00:00
brade%netscape.com cd0bcbca28 fix memory leaks in GetString functions; written by sfraser; built by jst and brade 2000-03-20 15:44:32 +00:00
brade%netscape.com cdcdb54ff6 bug #25396; don't use title for default page name if it's a remote file with a file name (r=jst@netscape.com) 2000-03-17 15:27:05 +00:00
sfraser%netscape.com 710f3e40a3 Fix for 30301 -- don't waste time trying to update non-existent XUL nodes. r=akkana 2000-03-17 01:59:10 +00:00
cmanske%netscape.com 6d478d3a2e Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge 2000-03-16 23:45:41 +00:00
tbogard%aol.net bc533a0fef Use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver interface. 2000-03-11 01:01:39 +00:00
tbogard%aol.net 6f7b47a7db Converted to talk in terms of the docShell APIs intead of the old webShell ones where possible. HanldeUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface. 2000-03-11 01:00:48 +00:00
sfraser%netscape.com b82ca92ac8 Fix for 30894 -- crash closing compose window while loading reply. r=buster, bienvenu, akkana, a=jar 2000-03-09 22:20:56 +00:00
sfraser%netscape.com d80f56a29d Fix for the solaris compiler; I need to include nsITimer.h. r=brade 2000-03-04 00:33:15 +00:00
sfraser%netscape.com afc6a88b45 Fix for 29737 -- selecting is slow in large files in composer. r=mjudge, akkana, a=jar. 2000-03-03 23:35:11 +00:00
cmanske%netscape.com 4403bb444a Fixed bad message dialog title, PDT+ bug 28294. r=akkana 2000-02-19 01:53:59 +00:00
sfraser%netscape.com b9be999830 Register the interface state maintainer as a transaction listener, for bug 18395. r=pinkerton 2000-02-16 01:38:02 +00:00
cmanske%netscape.com 6a7034a643 Added Page Properties (26889) and Page Colors dialogs (14344), removed debug menu only in release (27237), link dialog fixes (27308), lots of dialog rewrite to use titledbox instead of fieldset, rewrote insert table dialog to use boxes. Changed font size to use CSS strings, not <font size> for ui, but other bugs prevented inserting spans for size. Other small bug fixes. r=brade. 2000-02-15 15:54:05 +00:00
cmanske%netscape.com 1d97700c18 Fixed color picker bug 27293. Initial checkin of new Color Properties dialog. Added images to show span and div tags. r=mjudge 2000-02-11 01:26:03 +00:00
tbogard%aol.net a4053d5483 Removed unused forward declaration of class nsIBrowserWindow. 2000-02-11 01:11:37 +00:00
tbogard%aol.net f2ee569a32 Removed unused include file. 2000-02-11 01:10:55 +00:00
cmanske%netscape.com 264068946d Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
mjudge%netscape.com a27771d4f5 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
tbogard%aol.net f5d81c3e9c GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
cmanske%netscape.com baac755daa More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
jfrancis%netscape.com 06d277e9ca more inline style feedback fixes (24574). r=sfraser 2000-02-02 22:47:43 +00:00
jfrancis%netscape.com ae816c1a66 make selection sticky across undo/redo (24573); get bold/italic/underline toolbar feedback working (24574); fix for 24856: unable to unbold text; fix for 24572: cant get selection between split lists 2000-01-31 10:30:12 +00:00
dcone%netscape.com 3f689be1ed put the revised print command. 2000-01-26 16:01:40 +00:00
cmanske%netscape.com 1ddb177877 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana 2000-01-26 14:57:43 +00:00
sfraser%netscape.com 9be7e50ac3 WIP for 18395, various editor command handling and updating changes. r=akkana 2000-01-18 21:50:15 +00:00
cmanske%netscape.com 179f3337c8 Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge 2000-01-13 23:33:00 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
akkana%netscape.com dca1659499 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
rpotts%netscape.com e4d36a4fca Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
tbogard%aol.net b8e4a873cb Changed to talk to webshell using the nsIBaseWindow where appropriate. 1999-12-17 23:44:43 +00:00
mjudge%netscape.com 66817a6667 adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation. 1999-12-15 03:46:27 +00:00
jfrancis%netscape.com 6b9ca53f07 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved. 1999-12-07 08:30:19 +00:00
cmanske%netscape.com b388aed160 Finished fix for 13695 (r=danm), basic table editing (bug 6256): cpp r=mjudge, related UI work r=brade 1999-12-04 01:46:23 +00:00
vidur%netscape.com a90864f224 For bug 17325. Changed signature of css loader methods. R=nisheeth. 1999-12-04 01:29:18 +00:00
brade%netscape.com 11a7132ed0 remove unused functions; r=sfraser 1999-12-03 15:18:38 +00:00
akkana%netscape.com c67e516344 18033: Editor changes to use the new nsISelectionController interface.
Triggered from key events.  Untested since the nsISelectionController
  implementation isn't in yet (bug 18046), but key events do call
  the stub routines.  r=mjudge
1999-12-02 21:47:30 +00:00
brade%netscape.com 7fcd34a7e6 remove some unused functions from editor shell (r=jfrancis) 1999-11-30 15:23:46 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
akkana%netscape.com 5ac4f3863a 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis
1999-11-25 04:11:51 +00:00
akkana%netscape.com 25ec09fbb0 19610: Change InsertAsQuotation API to return inserted node r=rhp 1999-11-24 20:48:59 +00:00
dp%netscape.com 34c91743fc - Converting to nsGenericModule
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com
1999-11-22 21:03:04 +00:00
cmanske%netscape.com 7ce556dca5 Fixed bug 19000: Assertion editing remote file. Fixed warning. r=sfraser 1999-11-22 14:52:21 +00:00
buster%netscape.com 5e269fcf05 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
cmanske%netscape.com f0f0ff6458 A better fix for Mac build bustage 1999-11-13 19:27:59 +00:00
cmanske%netscape.com cacb529fcf Fixing Mac build bustage 1999-11-13 19:18:37 +00:00
cmanske%netscape.com 0a01828233 Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser 1999-11-13 16:37:58 +00:00
sfraser%netscape.com 6d9136f27e Fix for 18525 -- non-scriptable accessor to get at the editor from the editor shell. r=akkana. 1999-11-11 00:58:40 +00:00
sfraser%netscape.com f846e017a7 Fix warnings, bug 15588. r=ducarroz 1999-11-11 00:24:18 +00:00
sfraser%netscape.com 46fa02a157 Fix 16653 and 18496 -- assert on non-local Edit Page, and avoid opening a second composer window for a file that is already open. r=cmanske 1999-11-11 00:12:23 +00:00
akkana%netscape.com f199a0a905 Fix mEditorType, which wasn't being set before. r=sfraser 1999-11-10 23:40:38 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
davidm%netscape.com c90a4f2a6a 8673 ShutDown() should try to close all open windows. r=sfraser set tryToClose function and proprogate out if the close was sucessfull 1999-11-03 05:28:02 +00:00
cmanske%netscape.com 25771bd9e4 Fixed bugs 17098, 17808, and a lot of UI cleanup. Rewrote Image Properties dialog so More/Fewer works and layout is better. Moved image URLs from DTD to CSS files. r=brade 1999-11-03 00:48:26 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
cmanske%netscape.com c808246711 Fixed Composer UI to adjust to latest global CSS changes. Mostly needed to add appropriate class to titled buttons. Change editorshell to stop throbber animation even if editor fails to initialize. r=sfraser 1999-10-29 22:33:34 +00:00
cmanske%netscape.com 7dd42337c0 Added 'Throbber' to Composer - more UI adjustments for new skin. Tweaked new toolbar images. r=sfraser 1999-10-29 02:33:51 +00:00
law%netscape.com 953b8b4de8 Bug #14999, removing last vestiges of app core usage; r=sfraser@netscape.com 1999-10-28 01:39:33 +00:00
cmanske%netscape.com 712a9be961 Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge 1999-10-26 23:13:00 +00:00
cmanske%netscape.com ec2d4cca17 Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser 1999-10-20 14:15:25 +00:00
law%netscape.com 95a7ea9321 Bug #14999; stop using toolkit app core; r=sfraser@netscape.com 1999-10-18 21:39:18 +00:00
cmanske%netscape.com 20470b3acc Fixed bugs 16316, 16494, 16495, all relating to editor file open, saving, and window title issues. r=law 1999-10-15 22:06:41 +00:00
cmanske%netscape.com 6df53d78e8 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
buster%netscape.com 923edc1318 fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
buster%netscape.com 588aa7f0f3 fixed some space leaks reported by kipp. no bug #, r=tague
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
jfrancis%netscape.com 62652e2962 revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com 1999-10-06 19:34:09 +00:00
cmanske%netscape.com 9da7478ff3 Added do_QueryInterface to fix build bustage for Linux 1999-09-29 23:33:45 +00:00
cmanske%netscape.com dc4f4e93aa Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode 1999-09-29 21:45:50 +00:00
sfraser%netscape.com c4b1ea02d7 Fix for bug 14640 -- unregister the selection listener when we get more than one reload in the editor. coded buster, r sfraser, a leaf. 1999-09-23 23:46:23 +00:00
cmanske%netscape.com 568234107f More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
sfraser%netscape.com 0b0799bac9 Some utility methods, and added ForceUpdate. 1999-09-22 01:22:35 +00:00
sfraser%netscape.com 0b6552c765 Implement UpdateInterfaceState 1999-09-22 01:20:24 +00:00
tao%netscape.com 8891fb2578 Move editor.properties from content/ to locale/, 1999-09-21 06:30:03 +00:00
cmanske%netscape.com 3744ca849c Editor bug fixes. List Properties dialog work. Fixed menu access keys in DTD file. Fixed using selection->Clear() cases 1999-09-21 01:36:30 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
davidm%netscape.com 06e68518d9 Change the call to shutdown to a call to quit. 1999-09-18 00:29:01 +00:00