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

4457 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com dfd3c1dd7a Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
brade%netscape.com ed3d11ddae code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 19:10:53 +00:00
brade%netscape.com b09e279a38 code cleanup continued; r=timeless, sr=kin, bug=209548 2003-06-30 18:55:06 +00:00
brade%netscape.com eb37ab13c3 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 17:28:52 +00:00
brade%netscape.com cfe03fb3da code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 15:02:48 +00:00
brade%netscape.com 446fa1708a remove unused headers, r=timeless, sr=kin, bug=209548 2003-06-30 14:59:04 +00:00
brade%netscape.com d188ae1ca0 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:57:59 +00:00
brade%netscape.com 15f77abce7 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:56:22 +00:00
brade%netscape.com 9b6d727de6 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:46:41 +00:00
brade%netscape.com d77dfe0b8d code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:41:55 +00:00
brade%netscape.com 2b032d24d7 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:39:27 +00:00
brade%netscape.com 3bad714491 code cleanup, r=timeless, sr=kin, bug 209548 2003-06-30 14:33:23 +00:00
brade%netscape.com 47c5c6c0c9 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:31:48 +00:00
brade%netscape.com f2833330f5 code cleanup; r=timeless; sr=kin; bug=209548 2003-06-30 14:24:40 +00:00
brade%netscape.com bbf1d39ea2 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:20:49 +00:00
brade%netscape.com ed5455cfe0 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:17:15 +00:00
brade%netscape.com f9845cebad code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:14:01 +00:00
brade%netscape.com 31816e5b91 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:05:25 +00:00
brade%netscape.com c8e110e87c code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 13:42:22 +00:00
brade%netscape.com 920f7b4f36 NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
kin%netscape.com 655f4dff39 jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp

    - Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.

r=brade@netscape.com  sr=kin@netscape.com
2003-06-25 19:21:59 +00:00
glazman%netscape.com dcfb7f6b44 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 09:20:07 +00:00
glazman%netscape.com 0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman%netscape.com ed71a4eb5b Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:41:51 +00:00
glazman%netscape.com 042cd298c3 Files removed, they were accidentally checked in with a non binary cvs add 2003-06-25 07:49:49 +00:00
glazman%netscape.com 269e2643a2 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 07:30:19 +00:00
jst%netscape.com abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
roc+%cs.cmu.edu 542467a8bd deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron 2003-06-24 13:39:15 +00:00
neil%parkwaycc.co.uk 210209b3e0 Bug 209823 Composer should use titletips in Preview mode r=glazman sr=alecf 2003-06-20 09:11:40 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
glazman%netscape.com 1a9f1eb39f Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv 2003-06-19 14:06:05 +00:00
stephend%netscape.com 6bbf274b5a fixing typo - s/cahced/cache 2003-06-18 23:04:50 +00:00
jfrancis%netscape.com cd0b8e3f86 bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin 2003-06-18 22:42:24 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
glazman%netscape.com b9c1830777 Was impossible to outdent a subset of an indented block in CSS mode
b=194963, r=kaie, sr=kin
2003-06-17 09:35:46 +00:00
glazman%netscape.com f73fa81318 Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose
2003-06-17 08:45:54 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
neil%parkwaycc.co.uk da612cac58 Bug 69329 Use plain text editor for HTML source (also implements find in HTML source) r=brade sr=alecf 2003-06-13 12:55:17 +00:00
glazman%netscape.com cec973c86c error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin 2003-06-13 12:39:35 +00:00
kairo%kairo.at ccd0707c81 bug 207642 - update localeVersion for 1.5a, also update contents-platform.rdf and contents-region.rdf files, r=rchen, sr=blizzard 2003-06-12 15:19:21 +00:00
brade%netscape.com 97e32dcb83 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
peterv%netscape.com ac331040e2 Fix HP-UX bustage from jfrancis checkin. 2003-06-12 11:20:00 +00:00
glazman%netscape.com 0eaa768b33 CSS indentation was not dropping non-editable nodes; b=203723, r=kaie, sr=peterv 2003-06-12 07:43:07 +00:00
jfrancis%netscape.com 592a5a8875 improvement to 140357 fix: reducing bloat of previous patch, extending functionality to css-mode editting, and improving TypeInState to recognize redundant selection change notifications.
fix for 208317: css-mode editing left empty spans around, which could cause disapearing carets
r=brade; sr=kin
2003-06-11 19:33:01 +00:00
kaie%netscape.com 5de9edf86e b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
r=jfrancis sr=kin
2003-06-11 12:02:49 +00:00
kaie%netscape.com e0c7f637b2 b=202166 Edit actions place caret on invalid position
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brade%netscape.com 917018d64b fix MOZ_COMPOSER to be specific to composer app; use plaintext flag; r=bryner, sr=smfr, bug 208132 2003-06-10 20:34:45 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
brade%netscape.com 7ee40f2dfe removing commented out includes 2003-06-10 18:57:51 +00:00
brade%netscape.com d3eaab1a27 remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:53:11 +00:00
brade%netscape.com c616a1e4e6 add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:52:31 +00:00
brade%netscape.com 44d112991f bug 208132; move required files (for html editing) out of ui/composer/content and into composer/src/res; r=byner, sr=smfr 2003-06-09 14:06:46 +00:00
brade%netscape.com 0058480b59 GetCommandState for document commands to return their boolean values; r=glazman, sr=sfraser, bug=208544 2003-06-06 19:28:25 +00:00
neil%parkwaycc.co.uk 68fde09b40 Bug 206499 Tooltips missing for Cut, Copy & Paste in Composer r=brade sr=alecf 2003-06-05 12:32:41 +00:00
shliang%netscape.com 987fbfc622 206820 - font menu in msg compose and composer doesn't work on osx. r=neil, sr=jag. 2003-06-05 00:48:49 +00:00
kairo%kairo.at 0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
jshin%mailaps.org 705c95a9ff bug 133615 : remove ISO-2022-KR/Visual Hebrew from 'Save As Charset' menu
in Composer. (r=neil, sr=jag)
2003-06-04 06:19:35 +00:00
neil%parkwaycc.co.uk dfe143f8b6 Bug 208094 Form/Image doesn't convert <img> r=brade sr=peterv 2003-06-03 14:44:05 +00:00
jfrancis%netscape.com f3491fa767 bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin 2003-06-02 22:21:06 +00:00
brade%netscape.com 3a02deb097 remove bogus comment; r=Neil; rs=sspitzer; bug 129054 2003-05-30 19:45:46 +00:00
brade%netscape.com a0b7ac4a4d remove "Midas" codename from page contents; describing as "Rich Text Editing"; NOT PART OF BUILD 2003-05-30 15:43:54 +00:00
brade%netscape.com 80aa9d0798 updated documentation for rich text editing (formerly known as midas) commands; all current commands (as of 1.5alpha today) are listed now. NOT PART OF BUILD. 2003-05-30 15:40:27 +00:00
brade%netscape.com 4d23c38a0d don't handle empty string from pref as valid background image; r=timeless, sr=jag; bug 207501 2003-05-30 13:36:48 +00:00
leon.zhang%sun.com 3363f7d0a1 patch for bug 207469: optimize timer usage in nsComposerCommandsUpdater::PrimeUpdateTimer()
sr=sfraser r=Henry.Jia
2003-05-30 06:33:47 +00:00
timeless%mozdev.org 00a02d628d Bug 206470 editing text files shouldn't have HTML features
r=brade sr=jag
2003-05-28 19:53:50 +00:00
neil%parkwaycc.co.uk 161212bb00 Bug 45495 gui for editing form elements r=glazman sr=alecf 2003-05-27 12:44:22 +00:00
timeless%mozdev.org 89d0916d06 Bug 205347 warning: `PRBool IsInlineNode(class nsIDOMNode *)' defined but not used
r=brade,jfrancis sr=sfraser
2003-05-23 22:10:06 +00:00
timeless%mozdev.org f494b74da9 Bug 204076 Remove unused variable `PRBool sameNode' from nsHTMLEditorStyle.cpp:524
r=brade sr=tor
2003-05-23 21:55:17 +00:00
timeless%mozdev.org dad022fd58 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
timeless%mozdev.org bee83d7a31 Bug 206204 `nsHTMLTag gWatchTags[3]', nsEditorParserObserver defined but not used
r=brade sr=sfraser a=dbaron
2003-05-23 14:51:04 +00:00
jaggernaut%netscape.com 75b8ea358a Bug 205083: Composer's Selection List Properties dialog appears with a XML parsing error. Patch by neil.parkwaycc.co.uk@myrealbox.com, r=jag, sr=/a=sspitzer 2003-05-23 11:24:01 +00:00
brade%netscape.com 26d8b37c37 documentation changes for editor commands; r/sr=smfr; a=asa 2003-05-22 22:03:34 +00:00
neil%parkwaycc.co.uk 1b812b958b Bug 204388 Support Ctrl++ and variants to increase font size in Composer r=brade r=bobj(l10n) sr=alecf a=asa 2003-05-22 12:35:23 +00:00
jkeiser%netscape.com d484da106e Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +00:00
timeless%mozdev.org 46bd47de9e Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
sspitzer%netscape.com c33c4c38a1 landing last bit of neil.parkwaycc.co.uk@myrealbox.com's fix for bug #54802
we now have cut/copy/paste/find icons for modern and classic, so we can
enable the pref UI that allows users to enable / disable them.
r/sr/a=sspitzer
2003-05-20 00:26:46 +00:00
glazman%netscape.com b55b32437c crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer 2003-05-16 09:08:03 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
kaie%netscape.com a3443be3ff b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:20:09 +00:00
kaie%netscape.com 684cee26a8 b=200417 backspace, enter keys have no visible impact
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:17:32 +00:00
brade%netscape.com e417c0926a api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066 2003-05-09 18:33:14 +00:00
brade%netscape.com 1e15da633f api change to insertion filter to add flag for delete selection; r=timeless; sr= kin; a=asa; bug=204066 2003-05-09 18:32:50 +00:00
brade%netscape.com 0f98e1c43e api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
brade%netscape.com d78e9d202c cmd_clearUndo implementation; r/sr=smfr a=sspitzer bug 195506 2003-05-09 18:21:00 +00:00
brade%netscape.com 167f576e22 fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr 2003-05-09 18:18:53 +00:00
timeless%mozdev.org 141a94ec6f Bug 204069 ifdef DEBUG_kin some stuff in nsTextServicesDocument.cpp to remove warnings/hide unused debug code
r=kin sr=kin a=sspitzer
2003-05-02 21:13:41 +00:00
brade%netscape.com f3e9ac1fb9 removing EditorOverride.css from jar; it's now a resource (bug 203399, r=timeless, sr=jag) 2003-04-29 13:36:31 +00:00
brade%netscape.com 070cc57df4 bug 203399; remove needless stylesheet call; r=timeless; sr=jag 2003-04-29 13:34:30 +00:00
brade%netscape.com 8795f96966 cleanup transferable hooks in editor; defer selection manipulation in plain text; ensure hooks are properly positioned (bug 203062) r=kaie, kin; sr=smfr 2003-04-25 21:05:32 +00:00
brade%netscape.com a8b6dc06df move docshell here to support hook utility methods (bug 203062; r=kin/kaie, sr=smfr) 2003-04-25 21:03:15 +00:00
neil%parkwaycc.co.uk 53fd18c7ca Bug 202338 font dropdown should be disabled unless body has focus r=brade sr=sspitzer 2003-04-23 08:25:34 +00:00
brade%netscape.com 2e6c9d5ea4 missing hook from bug 192171 (r=brian johnson, sr=sfraser) 2003-04-22 20:32:59 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
neil%parkwaycc.co.uk 9a0d217546 Bug 201693 Composer ignores tab key (list indentation/table cell navigation) r=brade sr=bryner 2003-04-22 08:26:33 +00:00
timeless%mozdev.org 1962d37dfe Bug 73748 Remove nsJSComponentManager.js and nsJSSupportsUtils.js
patch by doron@netscape.com r=timeless sr=rbs
2003-04-20 20:46:25 +00:00
leon.zhang%sun.com 526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
brade%netscape.com 8403b92e85 handle utf8 font names bug 201233; patch by taka, r=brade, sr=jag 2003-04-18 13:12:13 +00:00
jaggernaut%netscape.com 3121dbe55c Bug 145243: warning should be presented if user attempts cancellation of publish. r=kaie, sr=hewitt, moa=brade 2003-04-18 12:59:52 +00:00
seawood%netscape.com fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
kairo%kairo.at b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
alecf%netscape.com 6d56e591d2 fix for plaintext editor, fallout from bug 201982
sr=sfraser
2003-04-17 18:28:35 +00:00
kin%netscape.com 1358474efa Fix for bugzilla 91131(Cannot spellcheck selection)
First pass implementation of spellcheck selection feature:

  editor/composer/src/nsEditorSpellCheck.cpp
  editor/idl/nsIEditorSpellCheck.idl
  editor/txtsvc/public/nsITextServicesDocument.h
  editor/txtsvc/src/Makefile.in
  editor/txtsvc/src/nsTextServicesDocument.cpp
  editor/txtsvc/src/nsTextServicesDocument.h
  editor/ui/composer/content/ComposerCommands.js
  editor/ui/dialogs/content/EdSpellCheck.js
  mailnews/compose/resources/content/MsgComposeCommands.js

r=jfrancis@netscape.com,brade@netscape.com  sr=sfraser@netscape.com
2003-04-17 14:29:08 +00:00
brade%netscape.com 87edb79af7 editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:18:51 +00:00
jaggernaut%netscape.com 769b846b52 Bug 198546: Format -> Font submenu doesn't deal with "unknown" font. r=glazou, r=Neil, sr=bryner, moa=brade. 2003-04-17 07:35:55 +00:00
alecf%netscape.com f364fe0cc0 fix for bug 201982 - r=brade, sr=smfr
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.
2003-04-17 05:42:33 +00:00
kaie%netscape.com 20a1398f5c b=201974 Caret partially/completely visible with initial <p> </p>
r=jfrancis sr=sfraser
2003-04-16 20:18:41 +00:00
shliang%netscape.com 13a42d51d1 bug 107877. default font prefs for msg compose. r=neil, brade, sr=sspitzer, jag. 2003-04-16 07:07:10 +00:00
suresh%netscape.com 8e62ff1f88 fix for bug 202150 - Insert Menu lacking id attributes. r/sr-smfr. 2003-04-15 23:03:33 +00:00
kaie%netscape.com 4c382bfcd4 b=68767 extra blank space added when block level element (hr, table) is inserted at the end of a line, between two lines
r=jfrancis sr=kin
2003-04-15 20:53:15 +00:00
brade%netscape.com 97a91a162b add insertion listener; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:07:30 +00:00
brade%netscape.com 8c65e3aa3e updated insertHTML* methods; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:00:08 +00:00
brade%netscape.com 8bbe4a00b9 add new idl file; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:57:38 +00:00
brade%netscape.com 96f7a475e9 new idl file for bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:56:53 +00:00
brade%netscape.com 7ecf62dc84 add document commands for toggling image animation/plugins, clearing undo stack; r/sr=sfraser (patch in bug 195506) 2003-04-15 13:53:51 +00:00
bzbarsky%mit.edu 97c2f70759 Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
bzbarsky%mit.edu 3855c654eb MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin 2003-04-13 04:30:16 +00:00
jaggernaut%netscape.com 559fa07b93 Bug 201609: Cancelling publish doesn't really cancel currently executing uploads
. r=ssu, sr=bryner, moa=brade. Note that this bug depends on bug 201610 being fi
xed.
2003-04-11 13:20:20 +00:00
alecf%netscape.com e260f1fcce fix for bug 199170 - convert editor over to using nsStaticAtoms
r=brade, sr=sfraser
2003-04-10 21:04:07 +00:00
sfraser%netscape.com f78fc1b8d8 Appease the Windows __stdcall gods. Bug 201257. 2003-04-10 20:45:17 +00:00
sfraser%netscape.com abe53e192f Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
kin%netscape.com 117932d74b Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@
nsHTMLEditor::SetFinalSize]

  - A one line fix in HideResizers() which prevents the
    reported crash by setting mIsResizing to false. I assume
    we can't be resizing if the resize handles are being hidden.
    The assertion and null check in SetFinalSize() are just because
    I'm paranoid, but they should never be triggered if HideResizers()
    is called first.

  - The changes in StartResizing() makes it so that we don't create
    a new mouse motion listener if we already have one. We were
    creating a new listener each time we clicked on the handles, and
    never unregistering the old one ... this meant that the old
    listeners could be triggered if the editor were ever destroyed
    and the document left in tact ... allowing us to crash because the
    listeners keep an un-addref'd pointer to the HTMLEditor. Note that
    this crash is not likely to be hit in Mozilla since we always
    destroy the document and editor in Composer and MailCompose, but
    it can happen in an embedding context.

r=glazman@netscape.com  sr=sfraser@netscape.com
2003-04-09 21:10:58 +00:00
kin%netscape.com 35f69e36ef Fix for bug 200549:Double click selects just the image in a -moz-user-select:all
subtree


mozilla/editor/libeditor/html/nsHTMLEditor.cpp
    - jfrancis' fix for netscape bug 615240 (applying mozilla patch
      on branch. Fixing problems of improper handling of del and
      backspace keys with file attachments.) which was originally
      landed in revision 1.445.6.3. This patch is necessary to make
      the fix for bug 200549 work properly.

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


mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp
mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.h

    - Modified nsHTMLEditorMouseListener::MouseDown() to
      call FindUserSelectAllNode() so that the root of a
      -moz-user-select:all subtree gets selected during
      a double or context click.

    - Modified nsHTMLEditorMouseListener so that it stores an nsHTMLEditor*
      instead of an nsIEditor* so we could have access to FindUserSelectAllNode().

r=brade@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:32:23 +00:00
kin%netscape.com 85540751cd Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
neil%parkwaycc.co.uk c51143b3c6 Bug 193712 Text and highlight colours don't translate rgb in css mode r=glazman sr=kin 2003-04-07 08:11:21 +00:00
neil%parkwaycc.co.uk 3ff51b7adc Bug 192084 cannot assign multiple classes to elements r=glazman sr=kin 2003-04-07 08:09:56 +00:00
kin%netscape.com 3d15b63ab6 Fix for bug # :Hiding resize handles triggers assertion in ~nsGenericHTMLElement()
Modfied DeleteRefToAnonymousNode() so that it set the content node's document and parent to nsnull.

r=brade@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:51:36 +00:00
kin%netscape.com e665d2543f Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
kin%netscape.com 57f5813868 Fix for bug #195959: Drop causes image in -moz-user-select:all subtree to be duplicated
Prevent nsHTMLEditRules::CreateStyleForInsertText() from trying to split non-container nodes.


r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 15:29:59 +00:00
jaggernaut%netscape.com d5a82d57cc Add defined(XP_MACOSX) to bail early when !mInIMEMode. r=brade, sr=lumpy 2003-04-04 13:26:12 +00:00
jaggernaut%netscape.com 1d19525bc6 Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv 2003-04-04 12:48:23 +00:00
sfraser%netscape.com 28c61bb42b Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
neil%parkwaycc.co.uk 944d7bed6a Bug 198878 Preferences>Composer>Toolbars says Preview while Composer's toolbar says Browse r=brade sr=dmose 2003-04-03 09:08:57 +00:00
brade%netscape.com 66f3d3d732 require all users of htmleditor to have EditorOverride.css so resizing will work
; bug 196075; r=jfrancis, sr=bryner
2003-04-03 08:05:23 +00:00
brade%netscape.com 5bfd847646 make EditorOverride.css a resource; fix bug 196075; r=jfrancis, sr=bryner 2003-04-03 08:01:49 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
henry.jia%sun.com a873e7e743 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
bryner%netscape.com c5358b6362 Oops, removing ^M characters. Fixing IRIX bustage. 2003-04-02 04:52:53 +00:00
bryner%netscape.com d72672f317 Fix ctrl+enter in the mail compose window by getting rid of editor's key listeners in the client event pass entirely (everything now happens in the system event pass). r=brade, sr=sfraser. 2003-04-02 03:31:18 +00:00
dbaron%dbaron.org 66eee275cc Remove unused file. b=198627 r+sr=sfraser 2003-04-01 19:32:59 +00:00
brade%netscape.com bf5ac4b843 correct some API changes; add a few more commands; still incomplete (NOT PART OF BUILD) 2003-04-01 09:54:28 +00:00
jkeiser%netscape.com 360fff450c Fix .originalTarget problems in editor (bug 193689), r=brade@netscape.com, sr=jst@netscape.com, a=asa 2003-04-01 06:12:51 +00:00
sfraser%netscape.com 936a0dbf63 Fix for bug 199320 -- random composer crashes. Remove code that set the editor as a refCon on a controller which was created in JS, because it's unnecessary, and because the JS has no callbacks that allow it to null out the refCon when that editor is destroyed, leading to stale references which crash XPConnect. r=brade, sr=kin, a=asa. 2003-03-31 19:08:00 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
kin%netscape.com 37bbcaa643 Fix for bug 199133: mfc embed drag&drop doesn't work within same editor
Make DragOver() consume the drag event so that the default browser drag listener that is present during embedding, isn't triggered.

r=brade@netscape.com sr=dbaron@dbaron.org
2003-03-25 15:38:17 +00:00
glazman%netscape.com f720ae0368 meta-fix for image and table resizing bugs in html editor
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin
2003-03-25 15:24:08 +00:00
glazman%netscape.com 4e4971d3d2 EditorOverride.css contained slow CSS rules; b=196625, r=kin, sr=kin 2003-03-25 15:16:21 +00:00
locka%iol.ie bc732ec7f5 Add PERSIST_FLAGS_DONT_CHANGE_FILENAMES flag to prevent filename munging during composer upload. b=138832 r=brade@netscape.com sr=jaggernaut@netscape.com 2003-03-25 12:19:05 +00:00
neil%parkwaycc.co.uk e0d58a904c Bug 198264 Editor's "Toolbars" category label cannot be localised r=brade sr=alecf 2003-03-24 13:54:49 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com e1391344c6 Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
jfrancis%netscape.com 16900e023b fix for 189225: deleting text at beginning of line adds extra space.
r=brade; sr=kin
2003-03-23 20:49:49 +00:00
jfrancis%netscape.com d65a91cf65 fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
jfrancis%netscape.com 58201a353d fixes for:
178304 - deleting only char in text node places caret in previous block
174867 - caret in wrong place after delete-to-end in list
181898 - select into mailcite, type: inserted text is in cite
r=brade; sr=kin
2003-03-23 20:22:15 +00:00
jfrancis%netscape.com 96dbdb752a fix for 161969: remove empty mailcites when editting
r=brade; sr=kin
2003-03-23 19:51:03 +00:00
jfrancis%netscape.com 8e004e3c40 fix for 118912: atomic deletion of emoticons
r=glazman; sr=kin
2003-03-23 19:45:40 +00:00
sspitzer%netscape.com a924d9950c fix for bug #198624
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin
2003-03-22 17:22:22 +00:00
syd%netscape.com 872a9d4f7f http://bugzilla.mozilla.org/show_bug.cgi?id=195655
Add support for 9 new smilies, and clean up code a bit (part of multiple checkins)
2003-03-22 04:54:35 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
jaggernaut%netscape.com a1b34287d3 Bug 26288: Allow user to select system fonts in editor UI. r=Neil, sr=sspitzer, moa=brade 2003-03-21 08:36:28 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
heikki%netscape.com c15488986d Bug 172065, remove unused XIF labels, patch by stevechapel@earthlink.net, r=sgehani, sr=heikki. 2003-03-21 01:11:52 +00:00
bzbarsky%mit.edu 810930b853 Fix preview in image insertion dialog. Bug 198428, r=brade, sr=blizzard 2003-03-21 00:29:31 +00:00
brade%netscape.com c8b4fcaf90 cleanup various items like omitting needless QI, fixing case to match idl file, adding parens to JS function, fix case of doctype string; r=timeless,Neil, sr=jag; bug 198402 2003-03-20 15:37:42 +00:00
brade%netscape.com cd111f111e remove unused nsRemoveLinksCommand (it's in C++); r=timeless, Neil, sr=jag; bug 198402 2003-03-20 15:36:26 +00:00
bzbarsky%mit.edu 2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
jaggernaut%netscape.com 12df0824d1 Bug 189803: smaller images (decreased file size for various composer images), new images by Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>, r=brade, sr=jag 2003-03-19 00:14:20 +00:00
timeless%mozdev.org 6e41f0b08d Bug 132209 Many XUL documents are invalid XML (<!DOCTYPE window ...>)
patch by riceman+bmo@mail.rit.edu r=timeless sr=jag moa=brade
2003-03-17 22:55:50 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
neil%parkwaycc.co.uk 468e4a8cb9 Bug 54802 Add clipboard buttons for Composer r=brade sr=alecf 2003-03-14 15:23:53 +00:00
shliang%netscape.com adcc3950fb 147653 - page setup commands doesn't work in mail and composer. r/sr=sspitzer,jag 2003-03-14 06:27:48 +00:00
pete.zha%sun.com 8cecc7f3a6 bug=195784 Composer - New Page Settings: access key missing for background color picker
r=brade@netscape.com sr=jaggernaut@netscape.com patch=jessie.li@sun.com
2003-03-12 03:05:57 +00:00
brade%netscape.com a7e4f475f7 allow only compatible trasferable flavors (bug 196728, r=smfr, sr=kin) 2003-03-11 19:02:18 +00:00
neil%parkwaycc.co.uk 24d58d28ed Bug 195423 EdConvertToTable.js tries to SetTextboxFocus to a <radiogroup> r=brade sr=kin 2003-03-11 10:07:46 +00:00
brade%netscape.com 4f7267abed fix unlink (remove href) command; it needs to only do removal r=Neil, timeless, sr=kin; bug 193716 2003-03-04 15:42:44 +00:00
neil%parkwaycc.co.uk 52904bfec7 Bug 54802 Add clipboard buttons for Composer (backend work) r=brade sr=alecf 2003-03-04 12:12:29 +00:00
glazman%netscape.com d70ca15f52 remove a few lines of code that landed by mistake and cause trouble with embedded editor; b=195800, r=brade; sr=dbaron 2003-03-04 02:14:19 +00:00
cbiesinger%web.de 40b7826caa 195108 patch by piersc@cogs.susx.ac.uk r=dean_tessman@hotmail.com sr=dmose moa=brade Add accesskeys to editor Find and Replace dialog (editor) 2003-02-28 22:57:33 +00:00
sfraser%netscape.com e1fbf0bdbe Fix for bug 74404 -- show caret drag feedback. r=brade, sr=kin 2003-02-27 23:20:15 +00:00
sfraser%netscape.com 511b311820 Fix bug 74404: show caret drag feedback. r=brade, sr=kin 2003-02-27 23:09:51 +00:00
kin%netscape.com 3833230211 Fix for bug 191762 (dragged image doesn't land where it's dropped)
editor/libeditor/base/nsSelectionState.cpp

  - Reworked the logic in SelAdjJoinNodes() to avoid adding aOldLeftNodeLength twice to the calculated offset when the start/end node is the parent.

editor/libeditor/html/nsHTMLDataTransfer.cpp
editor/libeditor/text/nsPlaintextDataTransfer.cpp

  - Modified the InsertFromDrop() to use an nsAutoTrackDOMPoint, instead of relying on range gravity, to calculate the correct insert position after deleting the current selection.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-02-27 14:53:03 +00:00
brade%netscape.com c1ca12e17f allow editors to edit documents which contain iframes (bug 193902, r=cmanske, sr=smfr) 2003-02-27 14:06:29 +00:00
neil%parkwaycc.co.uk d35f7743b4 Bug 192013 Command updating far too slow r=brade r=cavin sr=sspitzer 2003-02-27 09:41:40 +00:00
kairo%kairo.at 661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
dbaron%dbaron.org 44d225b147 Remove extra line that seems to have broken the mac builds. b=47066 Fixing bustage. 2003-02-24 15:32:34 +00:00
neil%parkwaycc.co.uk 7e96a2b07e Bug 177055 Fix an uninitialized variable in Selection List Properties dialog r=brade sr=sfraser 2003-02-24 12:50:21 +00:00
glazman%netscape.com 7a9303b6e6 missing files for b=47066, r=brade,cmanske, sr=kin 2003-02-24 10:18:18 +00:00
glazman%netscape.com 7d058dbd34 Allow mouse-driven resizing of images and tables in all instances of editor.
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.

b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin
2003-02-24 09:37:18 +00:00
pete.zha%sun.com d1ea99b3c8 bug=193068
Missing accesskeys in preference dialogs
r=timeless sr=jaggernaut@netscape.com
2003-02-24 07:59:17 +00:00
kairo%kairo.at 82b0bb3ef0 bug 44908 - HTML Message/Compose Mnemonics: Format menu should match spec, r=brade, sr=sspitzer, checking in for piersc@cogs.susx.ac.uk 2003-02-22 13:51:13 +00:00
jkeiser%netscape.com 295267a863 Make double-click on text in composer select word again (bug 193689), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:12:11 +00:00
jkeiser%netscape.com bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
brade%netscape.com df655d18d8 register command for removing a link (bug 193716); r=mkaply, sr=smfr, a=asa 2003-02-19 15:03:49 +00:00
heikki%netscape.com 94463ab443 Fixing build bustage; added missing semicolon. 2003-02-17 22:19:43 +00:00
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 8c729040fe Bug 192299 Editing a page when browsing a named anchor should strip off anchor name from url r=brade sr=sfraser a=asa 2003-02-14 11:56:49 +00:00
neil%parkwaycc.co.uk fb9e022960 Bug 185790 Impossible to remove JavaScript Events in Composer r=brade sr=sfraser a=asa 2003-02-14 11:42:10 +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
neil%parkwaycc.co.uk d704d38a38 Bug 191127 Applying Content Alignment: Vertical to multiple cells produces broken HTML r=glazman sr=kin a=asa 2003-02-12 11:52:00 +00:00
neil%parkwaycc.co.uk 3162ce6df0 Bug 186129 SetTextboxFocus() should select textbox contents r=brade sr=kin a=asa 2003-02-12 11:50:15 +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
neil%parkwaycc.co.uk f2567d8f8b Bug 87321 Shift+Tab has duplicate behavior (event handled twice in message compose) r=brade sr=sspitzer a=asa 2003-02-04 12:12:55 +00:00
neil%parkwaycc.co.uk d0d0ce6b5b Bug 186195 Space disappears when editing a word at the end of a block p=jfrancis r=brade sr=kin a=asa 2003-02-03 11:47:13 +00:00
bzbarsky%mit.edu 593090f503 Relanding 189384 since it seems Not Guilty. Still r=sicking/sr=jst/a=asa 2003-01-31 23:21:22 +00:00
bzbarsky%mit.edu 0ec80cf1ba Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu 0a5dfa0dba Make getElementsByTagName(NS) in XUL use content lists (perf, etc). Bug
189384, r=sicking, sr=jst, a=asa
2003-01-31 06:28:14 +00:00
loadrunner%betak.net 2e91b52557 bug 190734, r=brade, sr=sfraser, a=asa 2003-01-30 11:21:41 +00:00
suresh%netscape.com f8c2a46ae0 backing out neil's checkin to bug 189384. This caused a blocker in commercial tree. r/sr-brade. a-kyle. 2003-01-27 18:41:03 +00:00
neil%parkwaycc.co.uk 5b2b80e784 Bug 189384 Composer window slow to load r=brade sr=sfraser a=asa 2003-01-24 13:33:32 +00:00
brade%netscape.com 31602b6316 force undo commands to be updated (bug 183133); r=sfraser, sr=kin 2003-01-22 00:50: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
timeless%mozdev.org 865dd1bf56 Bug 186643 del key at the end of the urlbar asserts
r=jfrancis sr=bz
2003-01-19 00:46:56 +00:00
cbiesinger%web.de 3a031bcf35 89203 r+sr=roc+moz missed a file when I did the IBMBIDI removal from editor 2003-01-18 14:42:02 +00:00
darin%netscape.com 4cde0a57b1 fixing more mac build bustage 2003-01-18 04:21:04 +00:00
neil%parkwaycc.co.uk 211e023905 Bug 189310 should retrieve composer command manager from content controllers r=brade sr=sfraser 2003-01-17 13:39:20 +00:00
neil%parkwaycc.co.uk 5670060205 Bug 187455 Table properties dialog doesn't support left or right caption side r=brade sr=sfraser 2003-01-17 13:37:20 +00:00
brade%netscape.com 98beaa83c8 register commands (bug 184719, r=mkaply, sr=sfraser) 2003-01-17 12:54:18 +00:00
cbiesinger%web.de e3e8585471 remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc 2003-01-17 11:11:10 +00:00
neil%parkwaycc.co.uk a1bc09a739 Bug 164131 Duplicate entities in editorOverlay.dtd and messengercompose.dtd r=brade (editor) r=ducarroz (msgcompose) sr=sspitzer 2003-01-17 09:58:57 +00:00
timeless%mozdev.org eafe5e1701 Bug 186668 nsWSRunObject::DeleteChars uses a constant Count() while removing elements
r=jfrancis sr=bz
2003-01-16 19:27:50 +00:00
dbaron%dbaron.org 8e9c36e6a6 Add nsComposerDocumentCommands.cpp for bugs 184718, 184719 (brade's checkin). 2003-01-16 17:01:21 +00:00
brade%netscape.com 331fad25c1 bug 145916, add GetDocument to nsITextServicesDocument; r=brade, sr=kin; submitted by Darabos Daniel (cyhawk@sch.bme.hu) 2003-01-16 15:02:33 +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
jst%netscape.com 53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
sspitzer%netscape.com c8e1ff5409 fix for #188946. crasher when you delete a smiley.
this was caused by the checkin for #114713
there is still problems with delete of smileys, but that's
an existing bug.  r/sr=bryner.
2003-01-14 22:08:42 +00:00
jfrancis%netscape.com 5d27f46889 fix for 187662: first return in empty doc does nothing. r=brade; sr=kin 2003-01-11 00:06:29 +00:00
glazman%netscape.com 8feaaee1c8 just removing useless duplicate code; b=188486, r=Neil, r=brade, sr=peterv 2003-01-10 13:46:44 +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
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org cb9bcc2e25 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:51:43 +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
neil%parkwaycc.co.uk 4a85b9e05d Bug 188038 editor background image pref has wrong default name r=brade sr=peterv 2003-01-08 15:23:35 +00:00
kairo%kairo.at a6f4446e42 change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard 2003-01-03 19:57:47 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
jfrancis%netscape.com 4735e23c71 179384 Merging blocks via forward delete sends selection to front of document
correcting snafu from prior landing.
2002-12-22 07:48:32 +00:00
jfrancis%netscape.com 18d72537a9 editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin
2002-12-22 01:51:14 +00:00
cmanske%netscape.com ecee77aa39 Backout accidental checkin related to bug 180303, fix by neil@parkwaycc.co.uk, r=cmanske, sr=kin 2002-12-21 17:29:07 +00:00
glazman%netscape.com 4fba82f4ba Text alignment feedback erroneous in Composer; b=183887, r=jfrancis, sr=peterv 2002-12-19 14:10:50 +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
nhotta%netscape.com dc755ed5d9 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
seawood%netscape.com b24b5a1d1f Forte 7 linker requires that search directories come *before* libraries that reside in those search dirs.
Fixing build bustage.
2002-12-17 22:13:01 +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
rbs%maths.uq.edu.au 008e1e2517 Remiander of bug 169590. Hook a catch-all W3C entity converter and user-prefs for custom levels of entity-zation in the editor's '<HTML> Source' and 'Save As...' 2002-12-17 00:41:25 +00:00
cmanske%netscape.com 8d01966f5a Remove 'AppendStringToMenulist' JS method. b=183055, r=neil@parkwaycc.co.uk, sr=hewitt 2002-12-16 22:35:22 +00:00
rbs%maths.uq.edu.au 5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
peterv%netscape.com 2e4d90dc23 Bustage fix. 2002-12-13 12:39:14 +00:00
glazman%netscape.com 6902e2698a part of fix bustage, peterv's on the mac side 2002-12-13 12:32:31 +00:00
glazman%netscape.com 63432076dc fixing bustage, so it was not my last checkin... 2002-12-13 10:17:42 +00:00
glazman%netscape.com 3df3751822 fixing regression in composer, it was impossible to set foreground and background color; b=184505, r=brade, sr=kin, q=is this my last checkin? 2002-12-13 08:56:21 +00:00
sfraser%netscape.com bc3050dae4 Remove duplicate text services files, which fixes a bug with the mac build picking up the wrong source and header files (bug 184935). This fixes bugscape bug 21720. 2002-12-12 22:42:53 +00:00
peterv%netscape.com 714428894a Bustage fix. 2002-12-12 20:01:59 +00:00
kin%netscape.com 932d3a3e86 sfraser's fix for commercial blocker bugscape bug 21720 (Spell checker fails find misspelled words (crash on exit from spellchecker)), which is caused by bugzilla bug 184935 (Mac build picks up the wrong nsTextServicesDocument.cpp; spell checking busted)
This patch fixes the editor project to search mozilla/editor/txtsvc before
mozilla/libeditor/, adds nsFilteredContentIterator.cpp, and adds #error to the
unused files.


r=jfrancis@netscape.com  sr=kin@netscape.com
2002-12-12 18:04:31 +00:00
jfrancis%netscape.com c42d7a17e4 fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa 2002-12-12 01:05:53 +00:00
sdagley%netscape.com 36a2413fd9 Backing out jfrancis - back to v1.67 2002-12-10 20:24:49 +00:00
jfrancis%netscape.com 0951bcb9cb fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa 2002-12-10 18:32:58 +00:00
peterv%netscape.com 9ea8b175b0 Bustage fix for rods (once more). 2002-12-10 16:58:14 +00:00
cmanske%netscape.com 6b7edca969 Backing out previous changes (relating to bug 183055) since dependend bug 118038 was not approved for checkin. Needed else Publishing and Advanced Edit doesn't work 2002-12-10 15:25:41 +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
cmanske%netscape.com 559e2a1ab5 Really fixed 'insert HTML' bug 180303 this time. r=akkana, sr=kin, a=asa 2002-12-06 03:13:39 +00:00
cmanske%netscape.com dc2136ab99 Part of fix to bug 170522 (remove unused code), r=akkana, sr=alecf, a=asa 2002-12-05 21:59:59 +00:00
cmanske%netscape.com f30b72dd5b Increase performance of 'Recent Pages' menu code. Most of the fix by neil@parkwayccc.co.uk, b=170522, r=akkana, sr=alecf, a=asa 2002-12-05 21:24:09 +00:00
cmanske%netscape.com 3c1200ca26 Missing file from checkin to fix 'insert HTML' command' b=180303, r=akkana, sr=kin, a=asa 2002-12-05 21:03:44 +00:00
timeless%mozdev.org 2146593567 Bug 175789 <dialog>s don't need dialogOverlay
r=cmanske sr=alecf
2002-12-03 13:25:59 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
cmanske%netscape.com 2fd32d5576 Reduce bloat in composer dialog JS. b=183055, r=akkana, sr=hewitt 2002-12-02 23:05:27 +00:00
cmanske%netscape.com 5da9dc7a13 Fixed conflicting insert HTML commands. b=180303, r=akkana, sr=kin 2002-12-02 23:00:54 +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
brade%netscape.com d9459060c9 documentation; not part of a build 2002-12-02 20:43:24 +00:00
cbiesinger%web.de 463ef3d5d4 103859 patch by neil@parkwaycc.co.uk r=cmanske sr=alecf controller.QueryInterface(Components.interfaces.nsICommandController) should be in goUpdateComposerMenuItems instead of goUpdateCommandState 2002-12-02 14:22:43 +00:00
cbiesinger%web.de 81443d993d 171721 patch by neil@parkwaycc.co.uk r=cmanske sr=alecf Mozilla add-ins can move the Composer taskbutton 2002-12-02 14:01:01 +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 6d49c2f2a3 Move caret to text position with rt click. b=181547, r=rods, sr=sfraser 2002-11-30 18:59:34 +00:00
dbaron%fas.harvard.edu de5585e5e7 Remove unused parser-related code. b=130439 r=harishd sr=jst 2002-11-28 19:43:51 +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
akkana%netscape.com e6706d6b93 162083: fix ctrl-delete to delete by words, not to end of line. r=brade sr=bzbarsky 2002-11-26 23:01:12 +00:00
akkana%netscape.com b0bfc05f8e 110378: Don't lose data when head is rewritten to HEAD. r=brade sr=kin 2002-11-26 22:15:30 +00:00
glazman%netscape.com eb42c1bab7 Coalesce similar inline nodes in Composer's CSS mode; b=179055, r=jfrancis, sr=peterv 2002-11-25 13:41:26 +00:00
sicking%bigfoot.com d34de45a4d Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 12:44:03 +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
jfrancis%netscape.com 0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
jfrancis%netscape.com a84b9db355 reland fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin 2002-11-22 01:03:08 +00:00
cmanske%netscape.com 59bee1edc8 Fixed command disabling/focus setting when loading page into new editor. b=181002, r=brade, sr=kin 2002-11-21 23:53:50 +00:00
cmanske%netscape.com 70a7efaddd Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser 2002-11-20 11:36:05 +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 b0aa861df0 bug 157111; handle new command (cmd_fontSize); r=cmanske, sr=sfraser 2002-11-20 01:23:40 +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
timeless%mozdev.org b1c736039e Bug 147372 Use .hidden and .collapsed instead of [GS]etAttribute
patch by neil@parkwaycc.co.uk r=cmanske sr=alecf
2002-11-19 15:51:56 +00:00
kin%netscape.com cdc1d363e4 Fix for bug 173553: flawfinder warnings in editor/libeditor/html/nsHTMLEditorLog.cpp
Changed all occurrences of sprintf() to snprintf(). Removed format arg from WriteInt().

r=brade@netscape.com  sr=sfraser@netscape.com
2002-11-18 15:43:19 +00:00
jfrancis%netscape.com feb7bc04fd 152419: Pressing ENTER after adding styles to text does not move caret to next line.
r=brade
sr=kin
2002-11-17 03:11:45 +00:00
jfrancis%netscape.com 17dd2f90ae fix for 172147: URL in composition "decoration" continues on next line
r=brade
sr=kin
2002-11-17 01:37:29 +00:00
jfrancis%netscape.com 716db33760 fix for 143338: Word wrap of double space incorrect in HTML mailcompose
r=glazman
sr=kin
2002-11-17 01:25:30 +00:00
jfrancis%netscape.com 9714ebc7da fix for 101544: Text color does not change if change is made and no text is typed then the color is changed again. Also fixes 163712: changing font takes no action.
r=brade
sr=kin
2002-11-17 01:03:20 +00:00
cmanske%netscape.com 9d8995feac Missed file from checkin for bug 169029. r=akkana, sr=sfraser 2002-11-16 04:14:12 +00:00
cmanske%netscape.com 466011238d Final removal of 'editorShell'. b=169029, r=akkana, sr=sfraser 2002-11-15 15:52:47 +00:00
cmanske%netscape.com 434a3e353f Final removal of 'editorShell' and associated files. b=169029, r=akkana, sr=sfraser 2002-11-15 15:42:22 +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
bryner%netscape.com 54d2337482 nsTextServicesDocument should be #ifdef'd out when building the plaintext editor only. Fixing phoenix build bustage. 2002-11-14 02:23:08 +00:00
bryner%netscape.com 8701185e5c Fix --enable-plaintext-editor-only build bustage by removing nsTextEditorReg.cpp (which was needless duplication and easy to forget to update) and just adding plaintext #ifdefs in nsEditorRegistration instead. Bug 177333, r=jfrancis, sr=sfraser. 2002-11-14 00:29:33 +00:00
brade%netscape.com b57b38a037 Cut when no selection should just return NS_OK (not error which causes JS to throw an error); bug 178725, r=akkana, sr=kin 2002-11-13 21:21:28 +00:00
brade%netscape.com cd7d7bf7a5 fix compiler warning introduced by bug 170353 2002-11-13 15:45:34 +00:00
cmanske%netscape.com bfda22305f String change as part of dialog cleanup, b=158881, r=brade, sr=alecf 2002-11-12 23:41:23 +00:00
cmanske%netscape.com 09f188f039 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:30:29 +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
cmanske%netscape.com 4bbeaffa3f Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser 2002-11-12 22:52:55 +00:00
cmanske%netscape.com cf75c46a9e Remove editorShell from editor dialogs. b=158881, r=brade, sr=alecf 2002-11-12 22:44:04 +00:00
bzbarsky%mit.edu 618370e4d8 ok, that didn't make the AIX compiler happy enough, and I trust it over
all our other ones, so...
2002-11-12 22:23:11 +00:00
bzbarsky%mit.edu f93df3a67a fix windows linker bustage 2002-11-12 20:35:59 +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
jfrancis%netscape.com 12635e7ebd fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin 2002-11-10 15:11:08 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
glazman%netscape.com a6e2f5dc77 show tooltip for href (links), src (images) and name (named anchors) in Composer; b=47519, fix by glazman@netscape.com and neil@parkwaycc.co.uk, r=brade, r=glazman for kin's changes, sr=kin 2002-11-08 09:14:00 +00:00
glazman%netscape.com 111e73ee7b inline styles were not merged after a SetInlineProperty() call; b=178667, r=jfrancis, sr=kin 2002-11-08 08:54:42 +00:00
jfrancis%netscape.com 51f6c73127 64647: implement "Paste without Formatting"; r=akkana; sr=sfraser 2002-11-07 13:04:37 +00:00
jfrancis%netscape.com 466d469a3f fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin 2002-11-07 11:38:08 +00:00
jfrancis%netscape.com aff3feaaf7 fix for 169586: Plaintext is always pasted in default font not the one in context. r=brade; sr=kin 2002-11-07 11:29:37 +00:00
jfrancis%netscape.com c9ea01935e fix for 164060: Drop link into list item makes cursor jump to next item; r=fm; sr=kin 2002-11-07 11:26:26 +00:00
bryner%netscape.com be89105ec4 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt. 2002-11-07 03:34:13 +00:00
cmanske%netscape.com 6ed4991151 Fixed busted 'deleteTable' feature - silly spelling error, b=174558, r=brade, sr=kin, a=asa/drivers 2002-11-01 22:20:37 +00:00
kairo%kairo.at 150568bb2e Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard 2002-10-30 12:41:38 +00:00
akkana%netscape.com 2ce455f6d4 176355: Warning fix, remove unused var. r=dmose, sr=bz, a=dbaron 2002-10-24 03:45:23 +00:00
blizzard%redhat.com f360f72c84 Backout unapproved checkin for bug #104371. 2002-10-23 15:18:13 +00:00
glazman%netscape.com 159b81a09d Composer's struct toolbar caused regression in mail composition + UI polish ; b=175276, fix by neil@parkwaycc.co.uk, r=glazman, sr=kin, a=asa 2002-10-23 12:09:02 +00:00
hyatt%netscape.com cec3e61e53 Fix for 104371, SHIFT not being set correctly in the DOM, i.e., the SHIFT+space
keybinding didn't work.  r=blizzard,brade sr=blake
2002-10-23 03:15:42 +00:00
jaggernaut%netscape.com eda4a735f0 Bug 172716: Fix composer Browse button. r=cmanske, sr=dveditz, a=drivers 2002-10-22 19:48:59 +00:00
caillon%returnzero.com 49a4d65249 Bug 175304 - Composer cannot open files via 'Open file' or 'Edit Link'.
Patch by Kathy Brade <brade@netscape.com>
r=caillon@returnzero.com
sr=bzbarsky@mit.edu
a=asa@mozilla.org
2002-10-21 01:10:06 +00:00
akkana%netscape.com 0b194fc333 174987: Don't skip the last pass through the loop (was deleting signatures). r=brade sr=kin a=asa 2002-10-18 19:25:32 +00:00
brade%netscape.com 1d64a2ee98 fix closing of Composer windows (bug 174440) r=cmanske, sr=hewitt, a=Asa 2002-10-17 12:33:00 +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
caillon%returnzero.com d9dffe0d16 Bug 162393 - Making our content area clicking and link handling more robust.
r=bzbarsky sr=jag a=asa
2002-10-17 04:09:20 +00:00
jfrancis%netscape.com f3eb2b7dd8 fix for 173818: first char typed in html mail reply lost. r=akk, sr=kin, a=asa 2002-10-17 03:16:34 +00:00
akkana%netscape.com a6144bb9e3 173953: Fix plaintext quoting. r=ducarroz sr=bzbarsky 2002-10-17 00:07:28 +00:00
leaf%mozilla.org b25d2a38f7 update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
glazman%netscape.com b4dbc82305 correct version of the file ; b=173319, r=brade, sr=peterv, a=rjesup 2002-10-16 13:19: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 233e84b959 174391: Make printing independant of editorshell. Fix from brade, r=me, sr=bryner, a=rjesup 2002-10-15 20:31:47 +00:00
dbaron%fas.harvard.edu 84f5669319 Fix leak of transactions. b=174123 r=jfrancis sr=kin a=rjesup 2002-10-14 23:48:05 +00:00
glazman%netscape.com 0fbc1a8de1 Composer was inserting charset information (meta element) after the title of the document; b=145952, r=brade, sr=peterv, a=asa 2002-10-14 20:14:40 +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
brade%netscape.com 2ec78dd9f6 fix typo (r=akkana, cmanske, sr=kin) bug 171798 2002-10-09 18:06:26 +00:00
mjudge%netscape.com 83252db51b 135774 r=cmanske sr=jag 2002-10-09 02:10:22 +00:00
akkana%netscape.com 3fc926aa45 More 161143: fix an uninitialized variable warning noticed by aleksey@nogin.org 2002-10-09 01:33:31 +00:00
cmanske%netscape.com e181e47206 More 'editorShell' removal. b=169029, r=brade, sr=kin 2002-10-09 00:26:08 +00:00
timeless%mac.com 9f9b65f9dd Bug 173258 controller.QueryInterface(Components.interfaces.nsICommandController) should be in goUpdateComposerMenuItems instead of goUpdateCommandState
r=cmanske, r=brade, sr=kin
2002-10-08 23:58:58 +00:00
jfrancis%netscape.com 5ce517c458 fix for 164054: Place selection at first visible content on editor doc load r=brade sr=kin 2002-10-08 23:08:34 +00:00
jfrancis%netscape.com 161ba68052 fix for 171243: redo broken r=brade, sr=kin 2002-10-08 23:06:38 +00:00
jfrancis%netscape.com 9d19ef9ce4 fix for 169033: deletion should delete nested empty blocks all in one action r=fm; sr=kin 2002-10-08 22:59:09 +00:00
jfrancis%netscape.com ac9f0f07f5 fix for 164054: Place selection at first visible content on editor doc load r=brade sr=kin 2002-10-08 22:53:55 +00:00
akkana%netscape.com 89f704d44c 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer 2002-10-08 21:22:27 +00:00
darin%netscape.com 37ed561c77 revising my bustage fix 2002-10-08 21:18:41 +00:00
darin%netscape.com 9665bc9f1a fixes win32 bustage from akk's last checkin 2002-10-08 21:11:59 +00:00
cmanske%netscape.com 277f54ac74 Restored previous Composer window ID, b=173257, fix by neil@parkway.cc.co.uk, r=cmanske, sr=kin 2002-10-08 20:39:05 +00:00
akkana%netscape.com 753fba95f6 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer 2002-10-08 20:24:23 +00:00
brade%netscape.com 724a8c2922 fix typo (bug 122992) sr=kin 2002-10-08 14:01:02 +00:00
cmanske%netscape.com 5f6100fa62 Fixed broken smileys in Mail Composer. b=70031, r=suresh, sr=kin 2002-10-07 20:13:09 +00:00
brade%netscape.com bdebe12666 recheckin save fix (bug 171798) which was inadvertently backed out (r=cmanske, sr=alecf) 2002-10-07 19:29:19 +00:00
brade%netscape.com f7d5f35b4a remove unused CIDs (r=mjudge/sr=kin/bug 121648) 2002-10-07 14:21:34 +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
cmanske%netscape.com e6e4343f43 More remove editorShell from dialogs work (comments added by neil as requested). b=158881, r=cmanske, sr=alecf 2002-10-05 20:44:49 +00:00
cmanske%netscape.com 4aba733bb9 Backed out changes for bugscape bug 20282, will recheckin as a mozilla bug 2002-10-05 17:35:36 +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 9eb1bf9cc2 Fix problems with styles in IM, Chat, and Mail Composers. bugscape=20282, r=brade, sr=hewitt 2002-10-05 01:20:10 +00:00
smontagu%netscape.com dd6cc75df8 Force entry fields for URI elements to be left to right even in right-to-left chrome. Bug 157607, r=jag, sr=hewitt 2002-10-03 21:16:39 +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
cmanske%netscape.com c479da42fa Remove editorShell from dialogs. b=158881, r=brade, sr=alecf 2002-10-03 04:05:34 +00:00
jfrancis%netscape.com 16165be4f9 fix for 167585: the case of the disappearing cursor.
r=cmanske; sr=kin
2002-10-02 13:52:14 +00:00
cmanske%netscape.com 06c1621bb0 Don't set focus to Composer window after publishing. b=170959, r=brade, sr=alecf 2002-10-01 21:56:39 +00:00
brade%netscape.com b1308fc696 fix some callers of editorshell's documentModified and documentEditable to use editor (bug 171798, r=cmanske, sr=alecf) 2002-10-01 18:43:04 +00:00
brade%netscape.com dc8082ace8 remove unused files (bug 171715, r=cmanske, sr=scc) 2002-10-01 13:20:55 +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 e55eff6b17 removal of files that are no longer part of Composer (bug 171715, r=cmanske, sr=scc) 2002-09-30 21:47:59 +00:00
brade%netscape.com 780df61345 bug 121648; remove unused portions of editorshell; r=glazou, sr=kin 2002-09-30 13:51:58 +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 3ea4b9f47f remove publish.js per editor embedding meeting (dead file) 2002-09-27 14:04:03 +00:00
akkana%netscape.com ab32e1d25f 169308: Make nsIEditorLogging scriptable: add idl file to the mac build 2002-09-26 00:52:18 +00:00
akkana%netscape.com 5fa10e540a 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin 2002-09-25 23:53:17 +00:00
akkana%netscape.com 6238486007 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin 2002-09-25 23:34:59 +00:00
akkana%netscape.com 0ce7189dff 169308: Make nsIEditorLogging scriptable: a couple of nicities suggested by Kin. r=brade sr=kin 2002-09-25 23:34:04 +00:00
akkana%netscape.com 45c04544f8 169308: Make nsIEditorLogging scriptable. r=brade sr=kin 2002-09-25 23:29:40 +00:00
akkana%netscape.com 523005a0be 169001: remove editorshell references. r=brade sr=kin 2002-09-25 23:20:38 +00:00
jfrancis%netscape.com 2080c294fb fix for 170344: block operations failing at certain selection points. r=akkana, sr=kin 2002-09-25 21:56:23 +00:00
aaronl%netscape.com 7926616511 Bug 170745. error occuring while opening compose or mailcompose window. r=akkana, sr=sspitzer 2002-09-25 18:35:36 +00:00
aaronl%netscape.com d618542d85 Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt 2002-09-24 22:46:50 +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 5a09a20b46 Rearrange initialization of member vars to avoid build warning, fix by walker84@yahoo.com, b=169780, r=cmanske, sr=dveditz 2002-09-23 17:34:50 +00:00
glazman%netscape.com f997bfaf78 undefined variable error in ComposerCommands.js, b=169860, r=neil@parkwaycc.co.uk, sr=kin 2002-09-20 13:28:31 +00:00
brade%netscape.com 230a1b755b remove editorshell usage and fix some commands to emit all of the params needed to work; r=akk, sr=kin (bug 169231) 2002-09-20 12:41:24 +00:00
glazman%netscape.com 9f6ec8a062 Fixes a crash when hitting backspace in Composer
b=167543, r=timeless, sr=kin
2002-09-20 08:57:04 +00:00
glazman%netscape.com b54bf782a2 attributes VALIGN on TD and WIDTH/SIZE on HR were not CSSized when the elements are created in CSS mode.
b=169824, r=akkana, sr=kin
2002-09-20 08:53:52 +00:00
jfrancis%netscape.com a338a02892 fix for 168336: block operations crossing breaks incorrectly r=fm sr=kin 2002-09-20 02:28:55 +00:00
glazman%netscape.com 401191b960 missing changes in nsHTMLEditor.cpp from bug 167712, solves minor problems in CSS mode of Composer, r=timeless, sr=kin 2002-09-20 02:09:04 +00:00
cmanske%netscape.com c701cdae5b Forgot part of fix to remove editorshell from dialogs bug: 158881, r=neil@parkwaycc.co.uk, sr=dveditz 2002-09-19 18:53:36 +00:00
cmanske%netscape.com 2355f149e9 Restoring previous accesskey since missing DTD change is now checked in. 2002-09-19 14:43:14 +00:00
cmanske%netscape.com 8033b6ca39 Part of removing editorShell from Composer dialogs, form dialog work by neil@parkwaycc.co.uk, b=158881, r=cmanske, sr=dveditz 2002-09-19 14:25:17 +00:00
glazman%netscape.com efb9e4fb45 Reverting to v1.35 of the file since 1.36 introduced a bad entity name horking Composer. r=brade 2002-09-19 13:30:23 +00:00
cmanske%netscape.com ca4919f12f Convert from nsIEditorShell to nsIHTMLEditor/nsIEditor interfaces in dialogs. Work by cmanske and neil@parkwaycc.co.uk, b=158881, r=brade,andreww,neil@parkwaycc.co.uk; sr=dveditz,sfraser 2002-09-19 03:32:23 +00:00
akkana%netscape.com cf87d389f6 67363: Undo should work for batch ReplaceAll. r=brade sr=kin 2002-09-18 23:08:59 +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
brade%netscape.com 7304fe9863 PreventDefault in html editors for normal typing (letters/numbers/etc) (bug 158672, r=timeless, sr=smfr) 2002-09-17 21:27:30 +00:00
brade%netscape.com 69c3b0aaaf fix global name change; bug 169140 (r=glazou, sr=jag) 2002-09-17 19:03:18 +00:00
glazman%netscape.com e03e047dcf fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin
2002-09-17 12:04:59 +00:00
cmanske%netscape.com 9243687fec Part of fix to table editor interface cleanup bug 166922. r=akkana, sr=hewitt 2002-09-16 17:57:17 +00:00
cmanske%netscape.com ebf2d5f9cd Load base style sheet for Composer. b=168576, r=akkana, sr=kin 2002-09-16 17:42:30 +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
akkana%netscape.com 4e642e64bd More for 124265 -- fix mac build: remove obsolete ApplyStyleSheet method from nsHTMLEditorLog (which only Mac was building). r=cmanske 2002-09-13 22:00:16 +00:00
akkana%netscape.com 80dc61a64a Related to bug 124265: remove these redundant .h files (we have idl files for these interfaces) that should have been removed long ago. r=cmanske, smfr sr'ed this months ago on some other bug 2002-09-13 20:11:58 +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
darin%netscape.com d47b2f5e65 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf
2002-09-13 19:32:45 +00:00
jfrancis%netscape.com 7edafb59f2 fix for 95654: inserting an <hr> creates a blank line after it r=glazman sr=kin 2002-09-13 13:31:11 +00:00
jfrancis%netscape.com 8f022d1476 fix for 125161: forward delete in text widget should not delete trailing blank line r=glazman sr=kin 2002-09-13 13:26:14 +00:00
jfrancis%netscape.com 6b4239f26f fix for 162874: editor actions can cause asserts in range code. r=glazman sr=kin 2002-09-13 13:12:30 +00:00
cmanske%netscape.com acad4a2734 Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt 2002-09-13 05:31:50 +00:00
cmanske%netscape.com 6c7cf97e2a Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt 2002-09-13 05:24:26 +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
andreww%netscape.com 2558b06343 bugzilla bug 164174 r=suresh, sr=hewitt. Updating skin version number due to new backwards incompatibilites. 2002-09-12 23:39:25 +00:00
cmanske%netscape.com 4a437a28c5 Fixed busted context menu commands for cut, copy, paste, etc. b=114065, r=brade, sr=hewitt 2002-09-12 19:40:52 +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
brade%netscape.com 463c60562d api changes; use nsIEditor instead of nsIEditorShell for editorController (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:07:37 +00:00
brade%netscape.com 34e9def83a use params commands in some cases; separate UI state from commands as much as possible (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:06:48 +00:00
brade%netscape.com 45ff750b45 api changes; use nsIEditor instead of nsIEditorShell for editorController; update UI here instead of in command code (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:06:33 +00:00
brade%netscape.com 0b8fb2d8b5 remove unused nsCOMPtrs (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:02:47 +00:00
glazman%netscape.com 5a24e22dc9 nobr tag was invisible in AllTags mode, b=163855, r=brade, sr=kin 2002-09-11 12:28:13 +00:00
caillon%returnzero.com b775400b9c 77315 - Make send page grab the correct document title.
r=sicking sr=bzbarsky
2002-09-11 11:45:38 +00:00
glazman%netscape.com ccbe3b90f8 in some cases, it was impossible to unbold selection in CSS mode, b=167510, r=brade, sr=bzbarsky 2002-09-11 09:25:47 +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
leaf%mozilla.org 70941124cb update localeVersion to 1.2a, a=asa 2002-09-07 01:01:49 +00:00
jfrancis%netscape.com f06e6458ec fix for 166524: forward delete key changes line order. r=brade sr=kin a=asa 2002-09-06 04:27:06 +00:00
cmanske%netscape.com d9f86f2021 Add support for 'Title' attribute in Image dialog. b=68800, r=brade, sr=hewitt 2002-09-03 23:37:58 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
cmanske%netscape.com 16bed34c44 Hide context menu items that aren't enabled in Composer. b=164647, r=brade, sr=hewitt 2002-09-03 23:35:00 +00:00
cmanske%netscape.com 60890492c0 Remove editorShell from List Properties dialog; also dialog cleanup submitted by neil@parkwaycc.co.uk. b=158881, r=brade, sr=hewitt 2002-09-03 23:32:08 +00:00
cmanske%netscape.com 177baaa248 Always edit HTML version for 'view-source' urls. b=165162, r=brade, sr=hewitt 2002-09-03 23:27:33 +00:00
jfrancis%netscape.com a16376f8c9 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin 2002-09-03 07:36:44 +00:00
jfrancis%netscape.com 0d49c95048 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin 2002-08-29 07:49:31 +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
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
alecf%netscape.com 68bb18db7f ok, re-checking in bug 156567 because it did not affect startup time 2002-08-26 20:38:52 +00:00