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

806 Коммитов

Автор SHA1 Сообщение Дата
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
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
dbaron%fas.harvard.edu de5585e5e7 Remove unused parser-related code. b=130439 r=harishd sr=jst 2002-11-28 19:43:51 +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
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
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
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
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
jfrancis%netscape.com 161ba68052 fix for 171243: redo broken r=brade, sr=kin 2002-10-08 23:06:38 +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
brade%netscape.com f7d5f35b4a remove unused CIDs (r=mjudge/sr=kin/bug 121648) 2002-10-07 14:21:34 +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
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
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
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
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
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
brade%netscape.com 1d4d545c1a api changes (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:19 +00:00
brade%netscape.com 0b8fb2d8b5 remove unused nsCOMPtrs (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:02: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
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
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
glazman%netscape.com c2e8010325 Take advantage of fix for bug 60683 (thanks bz) in ChangeCSSInlineStyleTxn and then reduce a lot the size of the transaction, keeping only property values instead of a whole style attribute ; major memory impact in CSS mode; b=162473, r=brade, sr=kin 2002-08-20 11:28:57 +00:00
glazman%netscape.com 99c6bd69fb fixing crash in Composer when head sub-elements are displayed; b=162062, r=brade, sr=bzbarsky 2002-08-13 10:01:52 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
kin%netscape.com 2cc8934aad Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

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

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

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

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

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

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jfrancis%netscape.com 890f83aea5 fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm 2002-05-14 00:05:37 +00:00
jfrancis%netscape.com a04491dcd9 more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these. 2002-04-19 07:43:19 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
jfrancis%netscape.com 98f0f3ed8b fixing 136944: crash typing in editor. r=fm sr=kin 2002-04-13 23:54:59 +00:00
glazman%netscape.com 58271688b3 Allow Composer's users to remove named anchors w/o having to use Source View; b=80742; r=brade, r=jfrancis, sr=kin, a=asa 2002-04-11 13:33:30 +00:00
jfrancis%netscape.com 3232e07c19 fixes for bugs: 90759: spaces not working in IME editting 132133: deleting last char on line can place caret incorrectly 132837: inline style and making new list items dont play nice 103867: nsSelectionState logic error r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful 2002-04-06 19:07:47 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
akkana%netscape.com 36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu 6efddef09e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:16:54 +00:00
glazman%netscape.com 72b1c305b0 It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
brade%netscape.com 5150806885 fix to use NS_LITERAL_STRING; bug 26384 r=cmanske sr=kin 2002-02-19 22:14:57 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
alecf%netscape.com fe8bbbd587 dependency update 2002-02-06 22:19:07 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
mkaply%us.ibm.com 78722660c5 HPUX bustage 2002-02-02 14:30:00 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
bzbarsky%mit.edu 68c2123b34 Bug 104480. "EqualsIgnoreCase(nsAutoString(foo)) is bad and should
die." r=alecf, sr=jag
2002-01-16 03:31:25 +00:00
brade%netscape.com 87f7abb5fa removal of methods SaveFile and DoAfterDocumentSave (bug 102033); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115) 2002-01-14 20:25:29 +00:00
brade%netscape.com 39e3fae0b3 literal string cleanup (bug 26384); removal of nsIDiskDocument and methods SaveFile and DoAfterDocumentSave (bug 102033); #ifdef out / remove DEAD_CODE per jfrancis (bug 115115) 2002-01-14 20:25:17 +00:00
glazman%netscape.com 68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
brade%netscape.com 4d0031da69 init mModCount in constructor (bug 117399; sr=kin; r=glazou) 2002-01-07 15:52:54 +00:00
brade%netscape.com 44e3f67b9b remove unused method (bug 115115; sr=smfr, r=cmanske) 2002-01-03 15:37:11 +00:00
brade%netscape.com c0a29ad624 remove kRangeCID since it's unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:34:10 +00:00
brade%netscape.com bc1c3ef759 remove kIDOMSelectionIID since it's unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:33:44 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
brade%netscape.com f4d80d28e6 implement modification count in editor; bug 112008, sr=smfr, r=akk 2001-12-10 15:23:11 +00:00
jfrancis%netscape.com 6d283d24b3 fixes bug 99523 and cast of hangers on: this patch allows the editor to backspace/forward-delete across block boundaries (other than table elements), rearranging the document content in some sensible way in response. r=fm;sr=kin 2001-12-09 09:24:33 +00:00
brade%netscape.com 898a0f5224 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:17:29 +00:00
glazman%netscape.com 6613152f00 new Transaction for CSS in Composer
NOT PART OF THE BUILD
2001-12-07 11:08:53 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
brade%netscape.com 127131e488 #include cleanup (bug #112008, r=akkana, sr=sfraser) 2001-11-29 10:14:04 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
alecf%netscape.com d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
rjesup%wgate.com f5db58443e Bug 106509: SaveSelection() doesn't delete entries from range correctly;
the test was backwards and never executed.  r=jfrancis, sr=kin
2001-11-01 15:44:26 +00:00
brade%netscape.com 0fabd3f190 nsIFile->nsIURI in nsIDiskDocument; fix SaveDocument api (bug #104883) 2001-11-01 15:27:38 +00:00
bernd.mielke%snafu.de 5dea5d5737 bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin
2001-10-17 14:33:50 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
cmanske%netscape.com 153d61338a Fix memory leak (not using nsCOMPtr) in editor, b=103317, r=rcassin, sr=kin 2001-10-10 21:29:46 +00:00
jaggernaut%netscape.com c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
akkana%netscape.com 16959e1343 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron
2001-10-05 01:23:23 +00:00
akkana%netscape.com ba56bdc789 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.
2001-10-04 23:12:09 +00:00
akkana%netscape.com 4d776da5c7 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build. 2001-10-03 00:54:12 +00:00
dbaron%fas.harvard.edu 9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
bzbarsky%mit.edu 6628c8eb8a Make ctrl-delete delete to end of line on Unix when no text is
selected. Bug 102448, r=akkana, sr=kin
2001-10-02 00:01:26 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
akkana%netscape.com 32dedbc104 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build 2001-09-25 00:45:54 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
kin%netscape.com 0ddea3904c Fix for bug 98018: Impossible to delete text in textbox
nsEditor::CreateTxnForDeleteInsertionPoint() shouldn't
use count-1 when calculating isLast, in the non-text case.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2001-09-10 14:46:57 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
cls%seawood.org b52b439829 Declare nsCOMPtrs outside of do-while loops to avoid gcc 2.x -O2 optimization bug.
Bug #96911 r=jfrancis sr=kin a=blizzard
2001-09-01 17:24:08 +00:00
kin%netscape.com 82fac65b1d Fix for bug 83607: too much backspace segfaults mozilla in textbox forms
Prevent GetPriorNode() and GetNextNode() from traversing above root
node when aCurrentNode is the rootNode.

r=brade@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-08-29 21:33:52 +00:00
kin%netscape.com b937541719 Fix for bug #96604: Deleting characters from some form input controls will allow altering page content
mozilla/editor/base/nsEditor.cpp
  mozilla/editor/base/nsEditor.h

    - Added IsRootNode() method.
    - Added calls to IsRootNode() in GetPriorNode() and GetNextNode()
      to prevent traversing above the root node.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-08-28 18:21:12 +00:00
jfrancis%netscape.com bcab0f9dbc fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jfrancis%netscape.com 617617ab7e fix for 46209: I overhauled nsEditor::IsEditable() to better grok the state of content for editability. r=kin; sr=sfraser; a=asa 2001-06-12 22:35:28 +00:00
jfrancis%netscape.com 7b2553b398 hey, I misspelled "i"! That's gotta be a record of some kind. 2001-05-14 09:38:03 +00:00
jfrancis%netscape.com 000f221fc3 fixing bad loop index 2001-05-14 07:19:01 +00:00
kin%netscape.com 729a670d51 Fix for bug #75305: Doing Undo and Redo crashes browser
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().

    editor/base/nsEditorUtils.h
    editor/base/nsPlaintextEditor.cpp

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-05-11 13:59:11 +00:00
kin%netscape.com 91d049b213 Fix for bug #79157: Resurrect plain text editor
Moved Citer/Wrap files into core editor list. Ifdef'd out HTML
specific transactions with ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY.

   editor/base/Makefile.in
   editor/base/TransactionFactory.cpp
   editor/base/makefile.win

r=akkana@netscape.com  sr=sfraser@netscape.com
2001-05-11 13:58:31 +00:00
jfrancis%netscape.com 56ac4a4d19 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for: insert text, insert break, join blocks, split block, delete Yet to be tackled is html copy & paste. r=fm; sr=kin 2001-05-11 12:43:22 +00:00
jfrancis%netscape.com 68326016b3 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin 2001-04-26 20:14:26 +00:00
shanjian%netscape.com 819a855d2b #59405 IME candidate window position is not correct in text field on New card and To field
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
2001-04-19 22:46:29 +00:00
jfrancis%netscape.com edc5638e7c fixes for bugs: 75618 CR line breaks not recognized when inserting data in a plain 76258 IsEditable() needs to be smarter 72968 browser crashes when doing REDO after doing some cut/paste i 55224 switching from HTML Source mode to Normal causes dataloss 71355 style buttons do not work from 2nd cell onwards inside table 71362 empty tables inside (otherwise) empty list item disappears w 74655 40% of reply time in mailcompose spent converting linefeeds r=fm; sr=kin 2001-04-17 10:15:05 +00:00
cmanske%netscape.com 1719c073e7 Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser 2001-04-12 03:41:06 +00:00
shaver%mozilla.org a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
mjudge%netscape.com 0d5b00ec9a 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
akkana%netscape.com e7ab6b7638 66345: New unix/win makefiles for new editor directories,
anticipating the move of files from editor/base.
  Not built yet, needs Mac project.  r=jfrancis, sr=kin/sfraser
2001-04-05 23:51:30 +00:00
akkana%netscape.com 097e2cd077 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
sfraser%netscape.com ae21d8429d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
rickg%netscape.com 169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
anthonyd%netscape.com 37f2712320 bug fix for 67985 - needed methods for nsEditor impl
r=jfrancis
sr=sfraser
2001-03-13 02:48:17 +00:00
kin%netscape.com 11f8ac97cd Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h
2001-03-09 14:23:59 +00:00
disttsc%bart.nl 8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
jfrancis%netscape.com 4a9c27c551 fix for 70602: selection not properly reset when joining nodes. {r,sr}={kin,sfraser} 2001-03-06 20:16:38 +00:00
cmanske%netscape.com 5d262a924f Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser 2001-02-26 22:02:58 +00:00
brade%netscape.com a4b177a83d fix copy/paste error in code logic (2 cmd_scrollPage* and no cmd_movePage*); r=akkana, sr=kin 2001-02-26 15:37:25 +00:00
blakeross%telocity.com 2d55400a1d Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc 2001-02-26 00:28:58 +00:00
waterson%netscape.com 9fe59f23f0 Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
cmanske%netscape.com 0d096c6317 New files for SetDocumentTitle transaction. Not part of build yet. r=kin 2001-02-16 03:15:35 +00:00
akkana%netscape.com 57d496adcb 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.
2001-02-15 21:51:25 +00:00
brade%netscape.com 075f53d3d8 caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
jfrancis%netscape.com d863a1552c fixing build bustage 2001-01-28 20:56:55 +00:00
jfrancis%netscape.com fb60392b41 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00
akkana%netscape.com 9bb492fd88 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin 2001-01-25 23:12:16 +00:00
sfraser%netscape.com a0dda75954 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
cmanske%netscape.com b6ef8c3379 Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser 2001-01-04 01:10:40 +00:00
valeski%netscape.com b3214951df r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf. 2001-01-02 23:20:56 +00:00
dbaron%fas.harvard.edu fa7d014c05 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
kin%netscape.com ab5cd791f6 Misc fixes for pedantic build warnings.
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +00:00
kin%netscape.com 028f5f41e8 Fix from katakai@japan.sun.com for bug #58698: Solaris only: cmd_cut operation fails in optimize build
Initialize result with NS_OK in CreateTxnsToDeleteContent().
r=kin@netscape.com  sr=sfraser@netscape.com
2000-11-10 14:53:40 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com bf199577e4 Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth. 2000-10-13 11:06:05 +00:00
sfraser%netscape.com a388c1b7dd Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt. 2000-10-10 01:45:46 +00:00
anthonyd%netscape.com 81741d7e83 fix for bug#54222
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge
2000-10-08 06:14:21 +00:00
jst%netscape.com 6ea631e28c Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
heikki%netscape.com 5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
jfrancis%netscape.com 0202119f78 fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
anthonyd%netscape.com 112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
sfraser%netscape.com 1b144a56a0 Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd 2000-08-24 01:20:29 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
cmanske%netscape.com 3afb7bab79 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
scc%mozilla.org 7a18ea22f2 fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet. 2000-08-20 00:34:08 +00:00
jfrancis%netscape.com 03c675c33c fix for 48132: editor observer list maintainance was even less safe than i would have guessed... 2000-08-17 04:50:04 +00:00
jfrancis%netscape.com d25d7bd494 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
ducarroz%netscape.com bc46f1e467 Part of fix for bug 36480. I check in this fix for jfrancis. The function EndOfDocument which wasn't used yet was setting the selection on the wrong node. R=ducarroz 2000-08-08 04:05:26 +00:00
anthonyd%netscape.com 562e4bc652 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske
2000-08-07 21:12:18 +00:00
shanjian%netscape.com de23b7e7a9 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
brade%netscape.com 55c95531cb add missing move/selection command (cmd_selectBottom); bug #22529 2000-07-28 10:53:27 +00:00
brade%netscape.com c8475ad994 remove registration of save and saveas commands (now handled in JS); submitted by rcassin@supernova.org (bug #16360) 2000-07-28 10:14:22 +00:00
kin%netscape.com 918f55d913 Fix for bug #42263: Unable to invoke IME in the receipient and subject field on plain text mail composer
Replaced GetDeepestWidget() with new function GetEditorContentWindow().
Modified ForceCompositionEnd() to call GetEditorContentWindow().

r=sfraser@netscape.com
2000-07-18 22:11:31 +00:00
jfrancis%netscape.com b043301d96 adding in support for nsIEditorObserver. this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm 2000-07-16 06:36:27 +00:00
kin%netscape.com baa1e3d567 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

    editor/public/nsIHTMLEditor.h
      - Added DisableForcedUpdates and DisableForcedRefreshes flags.

    editor/base/nsEditor.cpp
      - Modified EndUpdateViewBatch() so that it uses the new
        DisableForcedUpdates and DisableForcedRefreshes flags.
      - We now also close the reflow batch before we close the
        update batch.

r=brade@netscape.com
2000-07-14 20:26:09 +00:00
anthonyd%netscape.com 706f605d27 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose
2000-07-14 18:38:24 +00:00
mjudge%netscape.com aea4ff3323 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
jfrancis%netscape.com 209a7ca3fa fix for 43366; r=kin 2000-07-11 19:51:36 +00:00
cmanske%netscape.com e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
jfrancis%netscape.com 20d4516bf6 fix for undo in ender-lite (text fields, url bar, etc) 2000-06-30 04:58:34 +00:00
jfrancis%netscape.com 56d058dd39 bug fixes: 41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is; 41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block; 41971 - using alignment inside table cells gives unexpected results. 2000-06-29 09:23:41 +00:00
mjudge%netscape.com ec56b60700 wrong ifdef. 25% increase in editor typing on windows r=ftang 2000-06-28 03:41:32 +00:00
mjudge%netscape.com f92fecf1e5 fix for 42188, r=akkana 42347. use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:00:45 +00:00
cmanske%netscape.com 7193e676db Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana 2000-06-22 05:39:54 +00:00
cmanske%netscape.com c073210b68 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
sfraser%netscape.com 246949d32b Belt-and-braces check for bug 42145; check for null args. r=akkana 2000-06-16 06:06:55 +00:00
rbs%maths.uq.edu.au 26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
dbaron%fas.harvard.edu 50432067a5 Fix leaks of nsHTMLHeadElement. r=waterson@netscape.com 2000-06-15 02:14:16 +00:00
cmanske%netscape.com 8bdae7a16a Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe 2000-06-14 01:32:27 +00:00
shanjian%netscape.com 5ca3f53ba7 #39726 typo in IMETextTxn.cpp
r=ftang a=waterson
2000-06-08 23:40:31 +00:00
mjudge%netscape.com 9703a755f8 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
cmanske%netscape.com 946b869f76 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mjudge%netscape.com 6a340adf28 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
jfrancis%netscape.com f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
mjudge%netscape.com 0e61917f36 no point in turning off the link handler if we are allready in text only mode. 2000-05-15 05:18:45 +00:00
mjudge%netscape.com e1ad6bd23a changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
cmanske%netscape.com 0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
jfrancis%netscape.com 658fa56fa3 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
mjudge%netscape.com 693b7801f1 we get selection controller not from pres shell. we get it from GetSelectionController 2000-05-08 04:01:26 +00:00
sfraser%netscape.com 1ebf5439a6 Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code. 2000-05-05 23:20:21 +00:00
jfrancis%netscape.com b109f8dbd6 fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
mjudge%netscape.com e08e0cd08f merge error. my fault. fix 2000-05-04 09:32:40 +00:00
mjudge%netscape.com ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
jfrancis%netscape.com f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
sfraser%netscape.com 035965297d Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
mjudge%netscape.com 67a72ebc1e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
mjudge%netscape.com 2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 5709d8739f Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
jfrancis%netscape.com c207f78168 lots of improvements to block transformations: 1) looks inside inlines for breaks; 2) fixes the "extra break when unlisting" bug 3) changing paragraph style to normal consistently gets breaks 4) any splitting needed occurs when blocks inserted plus a lot of small bug fixes 2000-04-24 11:51:12 +00:00
danm%netscape.com d0d8c4d5c3 dist...chrome restructuring 2000-04-19 21:42:30 +00:00
scc%netscape.com 04b44006ee making string conversions explicit 2000-04-18 07:52:02 +00:00
scc%netscape.com 9ac6c4fb06 making string conversions explicit 2000-04-18 07:44:58 +00:00
nisheeth%netscape.com 7b7f9d1021 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
akkana%netscape.com b92f151eba 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com 55e2ac48d1 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
jfrancis%netscape.com 0254b96365 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs. 2000-04-13 21:50:19 +00:00
sfraser%netscape.com b7f4874e82 No need to #include nsIGfxTextControlFrame.h any more. 2000-04-13 04:49:52 +00:00
jfrancis%netscape.com af4644e7c8 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
scc%netscape.com fd8de8008f small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
akkana%netscape.com 94b179c77e 33208: Fix problem of editor not initializing on pages with JS. r=sfraser 2000-03-25 02:27:57 +00:00
jim_nance%yahoo.com bebfa35340 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
jfrancis%netscape.com f07861250d fixing iid 2000-03-24 00:45:44 +00:00
jfrancis%netscape.com 0b23120401 improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:26:47 +00:00
jfrancis%netscape.com a43e1b1c64 improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:13:30 +00:00
dbaron%fas.harvard.edu 40a16fc16b Fix miscellaneous editor leaks. r=jfrancis@netscape.com 2000-03-23 01:14:49 +00:00
dbaron%fas.harvard.edu dc59bf9530 Fix leak by giving base class a virtual destructor (and counting the constructor). r=jfrancis@netscape.com 2000-03-23 01:13:38 +00:00
cmanske%netscape.com 901944bd23 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com 912ca59eba Warning fix -- remove unused variable 2000-03-17 02:10:55 +00:00
ftang%netscape.com 6ea7fbcc1c fix crashing bug 30120. check in for tajima@eng.sun.com since the crash is
verified and test on my machine. r=ftang, a=bobj. Will check into the beta
branch also.
2000-03-13 02:33:19 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tajima%eng.sun.com 3ecba57c7d Fix for 17419. a=bobj@netscape.com, r=ftang@netscape.com 2000-03-10 01:30:07 +00:00
blizzard%redhat.com a6d97b2321 fix spelling of hander to handler. bug #29407. r=sspitzer 2000-02-27 20:51:11 +00:00
sspitzer%netscape.com 7cb570ad1b fix for #28911, r=alecf, a=jar. avoid loading in unnecessary dlls at startup. 2000-02-26 03:52:06 +00:00
sspitzer%netscape.com 56fb0c4bb2 clean up -help output. fix bug #26959, make it so when you start
a browser window, the right page (home, blank or last page visted) gets
loaded.  clean up tasksOverlay.js, navigator.js and Ensure1Window()
use the browser's command line handler (remove duplicate code).
remove uri dispatching ui and js.  r=mscott
2000-02-16 06:22:03 +00:00
akkana%netscape.com 7a79937c2f Fix build bustage -- case sensitivity error, apparently 2000-02-16 02:36:27 +00:00
sspitzer%netscape.com 901a6ea5f1 not part of the build, yet. 2000-02-16 02:21:30 +00:00
sfraser%netscape.com 57de6e6cd7 Give the controller an Init method, and implement a bunch of commands the New Way. for bug 18395. r=pinkerton 2000-02-16 01:37:12 +00:00
sfraser%netscape.com 096edb7034 Expose the transaction manager to outside, for bug 18395. r=akkana 2000-02-16 01:36:30 +00:00
sfraser%netscape.com 6d1f8c6acb First Checked In. 2000-02-16 01:33:03 +00:00
akkana%netscape.com db4cd55837 27144: make sure the editor bogus node starts with _moz, and strip it out in html output. r=smfr 2000-02-12 01:58:40 +00:00
cmanske%netscape.com afecaab477 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jfrancis%netscape.com c9505c0fa5 implementing font increase/decrease size for html editor (bug 18774) r=floppy moose 2000-02-08 12:53:34 +00:00
jfrancis%netscape.com 5816b366ff fixing warning; r=akkana 2000-02-03 23:29:09 +00:00
jfrancis%netscape.com ac019d7deb fix for 26299 - editor now uses reflow batching. Long live refow batching! r=kin 2000-02-03 23:17:08 +00:00
cmanske%netscape.com 894a83b297 More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
buster%netscape.com a3ce5e7f22 fixed bug 25767
r=beard
2000-02-01 05:12:25 +00:00
jfrancis%netscape.com f91098d0f6 make selection sticky across undo/redo (24573); get bold/italic/underline toolbar feedback working (24574); fix for 24856: unable to unbold text; fix for 24572: cant get selection between split lists 2000-01-31 10:30:12 +00:00
akkana%netscape.com a3dbe39403 22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis 2000-01-26 00:57:37 +00:00
kin%netscape.com ee76e82f41 Forgot to remove bogus NS_NOTREACHED line in IsMozEditorBogusNode(). 2000-01-18 23:52:23 +00:00
kin%netscape.com 9ef6758595 Fix for bug #24253: [REGRESSION] Redo adds newlines instead of redoing.
mozilla/editor/base/nsEditor.cpp
    mozilla/editor/base/nsEditor.h
      - Added IsMozEditorBogusNode() method.

    mozilla/editor/base/nsTextEditRules.cpp
      - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
        MozEditorBogusNode so that it doesn't create more than one.
      - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().

r=sfraser@netscape.com
2000-01-18 23:45:35 +00:00