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

4148 Коммитов

Автор SHA1 Сообщение Дата
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