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

555 Коммитов

Автор SHA1 Сообщение Дата
mkaply%us.ibm.com 8d61d5c090 #193719
r=brade, sr=kin, a=dbaron
Midas - crash - handle unexpected empty parameters
2003-02-17 21:02:43 +00:00
brade%netscape.com 61f5799369 add comments, remove warnings, cancel mLoadBlankDocTimer to prevent crash, disable animation of images (bugs 191392, 192976, 191166) r=smfr, kin, brade; a=asa (mLoadBlankDocTimer portion originally submitted by cmanske@netscape.com) 2003-02-14 14:56:32 +00:00
neil%parkwaycc.co.uk a9c0a6ad41 Bug 82547 patch allows Composer to catch mouse events on some form elements r=glazman sr=kin a=asa 2003-02-14 09:59:51 +00:00
mkaply%us.ibm.com 8722e3bb55 #192024
r=brade, sr=kin, a=asa
domSelection can be null if there is no presShell - don't dereference it
2003-02-06 05:34:47 +00:00
brade%netscape.com c26e9bdaf8 fix bug 187351 by cancelling docshell refresh timers; fix bug 182290 by changing destruction order and cleaning up error checking (don't let some failures stop destruction sequence); r=sfraser, sr=kin 2003-01-22 00:46:38 +00:00
brade%netscape.com d4c59e3e06 fixes for bug 182290 (cancelling timer during destruction) and bug 183133 (enabling undo after typing a letter); r=sfraser, sr=kin 2003-01-22 00:41:32 +00:00
brade%netscape.com 98beaa83c8 register commands (bug 184719, r=mkaply, sr=sfraser) 2003-01-17 12:54:18 +00:00
brade%netscape.com 941f48eece split nsComposerCommands.cpp to separate out document commands from content commands; add commands to set "useCSS" flag and readonly flag (bugs 184718, 184719), r=mkaply, sr=sfraser 2003-01-16 14:59:09 +00:00
brade%netscape.com 83f430e53c bug 186054 and others; disable JS and plugins in Composer (r=smfr, sr=kin) 2003-01-10 13:13:25 +00:00
dbaron%dbaron.org 098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
ducarroz%netscape.com 7591f728ed Fix for bug 173046. fix initialization of the text filter service. Editor commands also takes care of msg compose spell button. R=rods, SR=sspitzer 2002-12-18 02:23:10 +00:00
brade%netscape.com 695f629d17 fix insert HR command for Midas (bug 183793; r=cmanske, sr=smfr) 2002-12-17 19:41:00 +00:00
rods%netscape.com 338d74b952 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa
2002-12-10 15:03:04 +00:00
brade%netscape.com f4b88392a3 remove dead code; cleanup command params for a few commands; standardize QI calls (bug 180745, r=cmanske, sr=smfr) 2002-12-02 22:20:12 +00:00
glazman%netscape.com feeca8bf35 Table of Contents management in Composer (lives under Insert menu); b=170050, r=cmanske, sr=peterv 2002-12-02 13:54:41 +00:00
cmanske%netscape.com 411cfc84da Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser 2002-11-27 00:35:09 +00:00
caillon%returnzero.com 82090ec342 Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin
2002-11-23 01:26:58 +00:00
cmanske%netscape.com b590877b92 Fixed nsDocShell leak and nsEditingSession init after forced reload of document. b=180146, r=cmanske, sr=sfraser 2002-11-20 06:23:05 +00:00
brade%netscape.com c56d42162b bug 157111; register new commands; r=cmanske, sr=sfraser 2002-11-20 01:20:19 +00:00
brade%netscape.com aba0befae8 bug 157111; add some new commands; r=cmanske, sr=sfraser 2002-11-20 01:18:48 +00:00
brade%netscape.com 71fb2a730d bug 157111; add some new commands, cleanup do_QI assignments and some other cleanup; r=cmanske, sr=sfraser 2002-11-20 01:18:23 +00:00
cmanske%netscape.com bc4a112d1e Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser 2002-11-15 15:36:44 +00:00
brade%netscape.com cd7d7bf7a5 fix compiler warning introduced by bug 170353 2002-11-13 15:45:34 +00:00
cmanske%netscape.com 722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu fe11056d5d Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
akkana%netscape.com c90a5da673 168999: don't uninit the spellchecker twice, and eliminate the non-thread-safe asserts 2002-10-17 04:22:27 +00:00
glazman%netscape.com b122e87cb4 Add a tag selector to Composer's status bar. It allows to view the whole hierarchy of the current selection, from the deepest element container up to the body.
Each element in the bar is selectable and a context menu allows to select the element, remove the element preserving its contents, changing the element into another one (regardless of DTD), and open the advanced properties dialog for the element.

When "Change tag" is requested, a textbox appears in the status bar. Changes are discarded if Escape key is pressed, and performed if CR/Enter key is pressed.

b=173319, r=brade, sr=peterv, a=rjesup@wgate.com
2002-10-16 08:07:35 +00:00
akkana%netscape.com 3a4e8d5779 168999: Make nsEditorSpellCheck an independant object instead of part of editorshell. r=brade sr=kin a=asa 2002-10-11 23:46:57 +00:00
mjudge%netscape.com 83252db51b 135774 r=cmanske sr=jag 2002-10-09 02:10:22 +00:00
cmanske%netscape.com e181e47206 More 'editorShell' removal. b=169029, r=brade, sr=kin 2002-10-09 00:26:08 +00:00
cmanske%netscape.com 4351a45e74 Removed arg test not needed - part of fix to bug 64647, r=mjudge, sr=darin 2002-10-06 01:35:51 +00:00
cmanske%netscape.com be8799bf71 Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin 2002-10-06 01:23:18 +00:00
bryner%netscape.com 1bb489617c Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2002-10-05 02:49:02 +00:00
cmanske%netscape.com cf361191e0 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf 2002-10-03 04:07:10 +00:00
bryner%netscape.com 97334d8f6e Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser. 2002-10-01 00:16:51 +00:00
brade%netscape.com 8525438c18 bug 121648; remove unused portions of editorshell (r=glazou, sr=kin) 2002-09-30 13:51:35 +00:00
brade%netscape.com ad12f508e6 remove EditingHTML() stub and its usage; bug 169514, r=mjudge, sr=kin (with clean requested by kin) 2002-09-24 13:29:28 +00:00
cmanske%netscape.com 1010f8aeed Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz 2002-09-18 19:42:38 +00:00
cmanske%netscape.com 33f206ae1a Removing unsused files from tree 2002-09-17 23:46:12 +00:00
dbaron%fas.harvard.edu 0b1d62b9af Fix OS/2 bustage from Akkana's checkin by removing extraneous |const|. r=akkana b=124265 2002-09-14 01:10:33 +00:00
cmanske%netscape.com b5b5192ae1 Checking in fix by stephend: remove 'done' status message in mail Composer. b=90691, r=cmanske, sr=sfraser 2002-09-13 20:03:05 +00:00
akkana%netscape.com 7ae5c1cecb 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf 2002-09-13 19:47:38 +00:00
cmanske%netscape.com 27b8578e83 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt 2002-09-13 04:19:30 +00:00
brade%netscape.com 1d4d545c1a api changes (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:19 +00:00
brade%netscape.com 06938e9e85 remove editorShell; remove UI state; use nsIEditor instead of nsIEditorShell for refcon (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:01 +00:00
brade%netscape.com 596f340e12 use nsIEditor instead of nsIEditorShell for refCon; editorshell removal; nsIStateUpdatingControlelrCommand removal; remove duplicate API (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:46 +00:00
brade%netscape.com 89382f875d add mComposerController (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:13 +00:00
brade%netscape.com 394d7d3613 setup mComposerController; use nsIEditor instead of nsIEditorShell to initialize editorControllers (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:04 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
alecf%netscape.com 03f69e9a10 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt
2002-08-20 18:12:51 +00:00
glazman%netscape.com 896e391414 make CSS mode the default in Composer and hide text highlight button when not in CSS mode; b=161303, r=neil@parkwaycc.co.uk, sr=kin 2002-08-14 13:12:52 +00:00
bzbarsky%mit.edu 27a736b73a Remove stray printf. Bug 161984, patch by ajschult@eos.ncsu.edu (Andrew
Schultz), r=akkana, sr=bzbarsky
2002-08-10 09:32:08 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
glazman%netscape.com b9599b1617 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky 2002-08-06 14:39:55 +00:00
cmanske%netscape.com 68474e263b Superscript and Subscript text styles should be mutually exclusive, b=100825, r=jfrancis, sr=kin, a=asa/drivers 2002-07-24 03:53:14 +00:00
alecf%netscape.com 47b3f07056 more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
akkana%netscape.com efa18def7e 126312: Remove the obsolete old find code. r=brade, sr=alecf. 2002-07-09 20:24:37 +00:00
bryner%netscape.com a06a9565aa Removing this file, it's dead. r=sfraser. 2002-06-24 19:45:41 +00:00
kin%netscape.com 2cc8934aad Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
jfrancis%netscape.com 8bddd6f53e fix for 140484: tagStr incorrectly freed in nsListCommand::GetCurrentState; r=jfrancis; sr=kin; ceckin in on behalf of Dan McGuirk 2002-05-20 10:48:31 +00:00
rpotts%netscape.com 73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
harishd%netscape.com d6971b20c1 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
alecf%netscape.com fba198f16c fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
kin%netscape.com 772ad9c920 Fix for bug 136408 (Crash editing pages with text widgets)
Use :canvas as selector to avoid triggering layout crash bug 123049.
Added isindex and textarea to list of items to use default cursor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
adt=syd@netscape.com  a=rjesup@wgate.com
2002-04-10 22:01:02 +00:00
cmanske%netscape.com 7d29866b4b Cursor over links in Composer should be an I-beam, b=135847, r=akkana, sr=kin, a=asa, adt=jaime 2002-04-06 06:31:31 +00:00
brade%netscape.com ac0a0bb682 remove checkOpenWindowForURLMatch (now in JS, editorApplicationOverlay.js) bug 104908, r=cmanske, sr=hewitt, a=asa, adt=jaime 2002-04-06 00:47:21 +00:00
kin%netscape.com c57263e211 Fix for bug 135234 (Cursor is an I-beam when over scrollbar)
Use "*:scrolled-content" instead of "*" for text cursor rule to limit the impact to the content area.

r=glazman@netscape.com  sr=sfraser@netscape.com
a=asa@mozilla.org  adt=jaimejr@netscape.com
2002-04-05 15:27:38 +00:00
akkana%netscape.com 36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu df8e0b2f1e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:52:27 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
cmanske%netscape.com d5612a514e Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa 2002-03-17 20:39:16 +00:00
cmanske%netscape.com 2aadd2a4c1 Composer must always bypass cache when loading URLs, b=128134, r=brade, sr=darin, a=asa 2002-03-16 18:13:32 +00:00
glazman%netscape.com 52ff92502a caret was disappearing in non-empty named anchors because of
'-moz-user-input: none;' declaration attached to a[name] selector.

Selector removed from the corresponding rule and cursor changed to text I-beam for non-empty named anchors

b=84095, r=bryner, sr=kin, a=asa
2002-03-15 13:12:15 +00:00
akkana%netscape.com d7cbebbdc8 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
cmanske%netscape.com 6dfe019d1f Use text cursor over most of Composer's content window. b=128534, r=brade, sr=sfraser, a=asa 2002-03-13 01:35:15 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bryner%netscape.com 5b25aa8efe Adding missing .cvsignore files. a=leaf. 2002-02-27 23:53:14 +00:00
rods%netscape.com 785aacab83 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
brade%netscape.com 5150806885 fix to use NS_LITERAL_STRING; bug 26384 r=cmanske sr=kin 2002-02-19 22:14:57 +00:00
mjudge%netscape.com 4bd6ce5363 small change for STATE_STrIng to STATE_ATTRIBUTE only embedding will notice. 2002-02-18 09:55:58 +00:00
cmanske%netscape.com 98bb38ac3e Don't try to show empty name on Composer caption, b=121684, r=brade, sr=hewitt 2002-02-16 02:24:04 +00:00
cmanske%netscape.com 46cc62e9ab Update for publishing UI, b=88208, r=brade, sr=ben 2002-02-15 06:07:40 +00:00
alecf%netscape.com fe8bbbd587 dependency update 2002-02-06 22:19:07 +00:00
jst%netscape.com cb926125b8 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
mcafee%netscape.com e27d04dce9 Fixing more bustage. r=mjudge 2002-02-02 08:10:55 +00:00
mcafee%netscape.com cc426c292f Fixing build bustage, tab lossage 2002-02-02 07:58:39 +00:00
mjudge%netscape.com fb4db1f323 file from previous checkin 2002-02-02 05:14:25 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
rods%netscape.com ab52751787 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
mjudge%netscape.com ca4de4f1e9 BUG115229 files not in build yet. checking in new files to make tree landing of editor embedded work go more smoothely 2002-01-30 04:46:54 +00:00
kin%netscape.com adafee6bb5 Workaround fix for bug #117141 (Composer crashes when loading pages with an HTML Select element [@FrameManager::GetPrimaryFrameFor])
Removed seemingly unnecessary selection UI Style rule for -moz-dropdown-list,
to workaround the crash that happens during the restyling of the HTML Select
element when the EditorOverride.css style sheet is loaded.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-01-28 15:06:44 +00:00
glazman%netscape.com 0d36604e29 move CSS in Composer stuff from nsEditorShell to nsHTMLEditor; b=121081, r=brade, sr=kin 2002-01-25 10:20:11 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
brade%netscape.com 61c6aca727 #include cleanup to prepare for nsIDiskDocument removal (bug 102033) 2002-01-14 21:16:41 +00:00