Commit Graph

613 Commits

Author SHA1 Message Date
mjudge%netscape.com
726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
rods%netscape.com
ab52751787 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
mjudge%netscape.com
ca4de4f1e9 BUG115229 files not in build yet. checking in new files to make tree landing of editor embedded work go more smoothely 2002-01-30 04:46:54 +00:00
kin%netscape.com
adafee6bb5 Workaround fix for bug #117141 (Composer crashes when loading pages with an HTML Select element [@FrameManager::GetPrimaryFrameFor])
Removed seemingly unnecessary selection UI Style rule for -moz-dropdown-list,
to workaround the crash that happens during the restyling of the HTML Select
element when the EditorOverride.css style sheet is loaded.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-01-28 15:06:44 +00:00
glazman%netscape.com
0d36604e29 move CSS in Composer stuff from nsEditorShell to nsHTMLEditor; b=121081, r=brade, sr=kin 2002-01-25 10:20:11 +00:00
glazman%netscape.com
fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
brade%netscape.com
61c6aca727 #include cleanup to prepare for nsIDiskDocument removal (bug 102033) 2002-01-14 21:16:41 +00:00
brade%netscape.com
4413188982 #include cleanup to reduce unused statics (bug 117927) 2002-01-14 21:09:37 +00:00
brade%netscape.com
774a1fbe73 #include cleanup to lessen unused static variables (bug 117927) 2002-01-14 21:07:31 +00:00
brade%netscape.com
48f2e221fd remove unneeded #include (bug 115115) 2002-01-14 21:01:52 +00:00
cmanske%netscape.com
a223374295 Make 'sub' and 'sup' text styles mutually-exclusive, b=100825, r=jfrancis, sr=ben 2002-01-09 15:36:13 +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
locka%iol.ie
87bfcf8f7f Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com 2002-01-08 13:01:38 +00:00
rods%netscape.com
7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +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
brade%netscape.com
d6ef260d9a more NS_LITERAL_STRING cleanup (bug 26384; r=cmanske, sr=alecf) 2001-12-17 15:23:51 +00:00
jaggernaut%netscape.com
4af5bbf65c Fix bustage 2001-12-17 09:59:21 +00:00
jaggernaut%netscape.com
e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
cmanske%netscape.com
b6728d8c63 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin 2001-12-12 03:57:32 +00:00
brade%netscape.com
62e41cea2f #include cleanup; NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:21:55 +00:00
brade%netscape.com
898a0f5224 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:17:29 +00:00
cmanske%netscape.com
931c4dc848 Remove nsIEditorShell::Init(), b=110763, r=brade, sr=sfraser 2001-12-06 15:11:50 +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
rpotts%netscape.com
1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
brade%netscape.com
42b3f7502b remove unused methods; r=cmanske; sr=kin (bug #107636) 2001-11-27 13:59:57 +00:00
brade%netscape.com
dc57979608 remove string bundle code from Init; add IsSupportedTextType to api :-( and change callers; add DoAfterSave method to api; bug #107636 (r=kin; sr=sfraser) 2001-11-20 09:54:37 +00:00
brade%netscape.com
9345e2069d remove IsSupportedTextType since it is now part of idl (bug #107636 r=kin; sr=sfraser) 2001-11-20 09:54:21 +00:00
cmanske%netscape.com
78eb8d28b9 Fixed error checking and reporting when loading page in Composer and removed commented-out code, b=105561, r=akkana, sr=kin 2001-11-15 05:26:25 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
rods%netscape.com
b9ecdfca41 Added image animation mode constants to imgIContainer.IDL,
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (changes from dcone's review comments)
Bug 2586 r=dcone sr=attinasi
2001-11-14 14:03:09 +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
dbaron%fas.harvard.edu
9ab72b8bb6 Fix nsDependentString users not to pass null buffers. b=104651 r=jag rs=scc 2001-11-07 05:11:46 +00:00
brade%netscape.com
32b10a8ac0 fix build bustage from #104883; r=adamlock/jag 2001-11-01 17:00:41 +00:00
brade%netscape.com
2d518241ea factoring of SaveDocument and nsIFile->nsIURI (bug #104883) 2001-11-01 15:26:33 +00:00
brade%netscape.com
6e3598819c nsIFile->nsIURI for SaveDocument; factoring of SaveDocument (bug #104883) 2001-11-01 15:26:28 +00:00
jaggernaut%netscape.com
729180f6cd Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 11:28:06 +00:00
rpotts%netscape.com
ae53430684 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
cathleen%netscape.com
140f4fbdf5 Fix static build bustage. 2001-10-24 01:13:51 +00:00
dougt%netscape.com
d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
sfraser%netscape.com
c4da00b776 Fix bug 42817 -- overlay a Page Setup menu item for Mac, which displays the page setup dialog. r=jag/hwaara, sr=sspitzer/blake/fm 2001-10-13 02:27:35 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
waterson%netscape.com
6d912607d1 Fix static build bustage. 2001-10-05 15:29:51 +00:00
seawood%netscape.com
371e27f123 Some platforms require all symbols to be linked at link-time.
r,sr,a,moa=flaming tinderboxes.
2001-10-05 08:20:31 +00:00
akkana%netscape.com
408739ce43 dveditz says this will fix the windows bustage 2001-10-05 02:16:58 +00:00
alecf%netscape.com
a0f2cbea5c move config.mak inclusion later in the file so we pick up proper REQUIRES
(bustage fix)
2001-10-05 01:34:22 +00:00
akkana%netscape.com
543cd03d08 Fix bustage -- wrong linebreaks, descending into directory with no makefile 2001-10-05 01:10:49 +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
cmanske%netscape.com
1d7fa1672a Fixed comment spelling as suggested by kin for bug 93475, r/s=kin 2001-10-03 00:42:38 +00:00
cmanske%netscape.com
70df6cc1ac Fixed detecting NS_ERROR_FILE_NOT_FOUND case when loading URL in Composer (b=93475) and setting new document and base URL when saving file (b=101426), r=brade,akkana, sr=kin 2001-10-03 00:13:00 +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
harishd%netscape.com
6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
alecf%netscape.com
b570b3627a beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser 2001-09-26 20:26:14 +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
sspitzer%netscape.com
952fa9d0ff fix for #101061. use nsDependentString to avoid copying the body of a message (twice)
when replying.  r=sfraser@netscape.com, sr=kin@netscape.com
2001-09-24 22:30:39 +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
rpotts%netscape.com
91df4b9c17 bug #70223 (r=valeski@netscape.com, sr=mscott@netscape.com). Remove nsIURIContentListener::GetProtocol() since it is unused. 2001-09-17 23:22:00 +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
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
sspitzer%netscape.com
c5e2cc251a breaking apart EditorToolbars.css into 3 files for performance reasons.
r=manske, sr=hewitt, a=asa #97487
2001-08-31 22:04:19 +00:00
cmanske%netscape.com
c8695a1a29 Remove dialog utilities from editor c++ and nsIEditorShell interface (use nsIPromptService from JS instead). b=96649, r=brade, r=kin/sfraser, a=asa 2001-08-24 19:47:46 +00:00
cmanske%netscape.com
7805adb04c Finish fixing Fixed Width bug 79200, r=brade, sr=sfraser, a=asa 2001-08-23 00:05:53 +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
cmanske%netscape.com
f17b1686fc Don't select cell when context menu is launched, b=93322, r=brade, sr=sfraser 2001-08-10 03:50:58 +00:00
akkana%netscape.com
b2618d9ca4 54726: Add link to W3C Validator
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin
2001-08-07 21:39:07 +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
mjudge%netscape.com
fba51d0090 82993, 87662 r=glazman,cmanske,kin forgot to put r= on other part of this checkin. This will stop entry into generated content and also make the drag selection work better with variant sized text. 2001-07-19 23:33:33 +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
sfraser%netscape.com
1415f2a83f Fixing bug 85504: Crash in GetSelectedElement if loading a bad frameset page -- fix frameset detection, and add null checks. r=akkana, sr=waterson 2001-07-06 00:50:05 +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
sfraser%netscape.com
cf542e63dd Fix for bug 87910 -- allow Edit Page to work a second time. r=dougt, sr=kin 2001-06-29 22:03:10 +00:00
dougt%netscape.com
758f79ff72 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
sfraser%netscape.com
ce7d569925 Fix for 82243; make sure we use "html" extension when saving files, if the MIME info gives us "htm". r=jfrancis, sr=scc 2001-05-23 00:21:29 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
sfraser%netscape.com
1629b30c8b Fix the Windows build (doesn't like operators inside of trigraphs, or something). 2001-05-18 07:39:19 +00:00
sfraser%netscape.com
172a2ac866 Fix for bugs 23943, 47640 and 63515. Teach editor to handle plain text, and other text file types (including XUL, XML, JS etc), and, in the process, make the commands be smarter about disabling in text mode, and HTML source mode. r=brade, sr=kin 2001-05-18 06:42:37 +00:00
rpotts%netscape.com
f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
glazman%netscape.com
cab88a96ac Format > Align menu item in Composer not reflecting justification; b=78869, r=mjudge, sr=jst 2001-05-11 08:25:35 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
sfraser%netscape.com
419f77acfc Fix some URMs and warnings in editor code, sr=kin, no bug. 2001-05-02 23:19:29 +00:00
cmanske%netscape.com
2b11cbf638 Fixed context menu problem when > 1 cell selected, b=55991, r=akkana, sr=kin 2001-04-30 23:58:55 +00:00
cmanske%netscape.com
76789736de Fixed selection in links, b=65141, r=sfraser,attinasi sr=kin 2001-04-30 23:53:32 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
valeski%netscape.com
00bca056ef mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332 2001-04-27 21:30:24 +00:00
sfraser%netscape.com
245d4eb76f Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com
54db7dffa3 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332 2001-04-27 04:16:22 +00:00
cmanske%netscape.com
252a6200b6 Fixed selection of named anchor icon, b=68714, r=mjudge, sr=kin 2001-04-17 23:13:45 +00:00
sfraser%netscape.com
7e1751ab0f Fix for bug 75492 -- make <button>s selectable in composer. r=rods, sr=attinasi 2001-04-13 00:39:52 +00:00
hewitt%netscape.com
58196589e7 72530 - oversized dialog problems, r=jag, sr=alecf 2001-04-12 05:42: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
danm%netscape.com
04d1dedd25 moving implementation details mistakenly placed in public promptservice interface to the private one. r=hyatt,jack 2001-04-12 02:18:06 +00:00
sfraser%netscape.com
473036a7fc Fix bug 75271; ensure that we update commands properly for batched transactions. r=akkana, sr=kin 2001-04-11 23:11:29 +00:00
cmanske%netscape.com
a494fecfe3 Fixed property dialog launch bug 75441, r=akkana, sr=kin 2001-04-11 04:42:55 +00:00
ccarlen%netscape.com
2ad2b9adcf Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts. 2001-04-10 18:30:25 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
danm%netscape.com
c223f055da commondialog service is being replaced by promptservice. bug 72112 continues 2001-04-09 01:35:41 +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
kin%netscape.com
73ce3da023 Fix for bug #74983: Can't start Composer or MessageCompose
Add missing NS_INIT_REFCNT macro.
r=shaver@mozilla.org,mjudge@netscape.com sr=scc@mozilla.org
2001-04-06 14:38:15 +00:00
sfraser%netscape.com
90c3b17785 Not part of build. In-progress work on editor session 2001-04-05 23:57:22 +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
akkana%netscape.com
838b5416b8 New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00
blakeross%telocity.com
c9b9689e26 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
sfraser%netscape.com
4097a932ed Fix HPUX bustage 2001-04-05 02:11:57 +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
scc%mozilla.org
70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
cmanske%netscape.com
48b706d16c Part of fix for plaintext editor bug 69536. r=brade, sr=kin 2001-03-28 21:19:47 +00:00
blakeross%telocity.com
0b2dd2b2d2 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben 2001-03-22 00:59:29 +00:00
valeski%netscape.com
68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dougt%netscape.com
c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
kin%netscape.com
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
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
blakeross%telocity.com
38794d139f UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst 2001-03-02 03:07:53 +00:00
jfrancis%netscape.com
29396a3fed bug 30763: splitting mailcites in plaintext mail reply was broken. r=akkana; sr=blizzard 2001-03-02 00:08:20 +00:00
cmanske%netscape.com
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
dougt%netscape.com
128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
valeski%netscape.com
6c882d4bc8 r=ccarlen, sr=rpotts. 65925. making editor progress listener support weak refs 2001-01-31 21:01:41 +00:00
gagan%netscape.com
79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
jfrancis%netscape.com
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
attinasi%netscape.com
6079447d19 Put link color: blue back in for composer. b=66578 r=beppe 2001-01-27 07:16:33 +00:00
sfraser%netscape.com
a4e38719fe Work in progress on editor embedding, NOT PART OF THE BUILD. 2001-01-26 02:16:14 +00:00
kin%netscape.com
4275b833c4 Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h
2001-01-23 21:55:04 +00:00
cmanske%netscape.com
a0a3f20731 Fixing Edit Page bug 65610. r=blake, sr=smfr 2001-01-16 21:57:07 +00:00
cmanske%netscape.com
b13119af74 Show underline for links in editor, b=63528, r=mjudge, sr=sfraser 2001-01-12 22:32:44 +00:00
m_kato%ga2.so-net.ne.jp
12250decb0 bug 64983, r=nhotta, sr=sfraser
When open DBCS filename by composer, title is shown incorrectly.
This bug is the regression of sfraser's check in (nsEditorShell.cpp
v1.222).
2001-01-12 11:29:59 +00:00
cmanske%netscape.com
cb2d225d80 Fix bug 55991 (right click in table cell and context menus) r=mjudge, sr=sfraser 2001-01-11 04:49:42 +00:00
sfraser%netscape.com
6906fda17c Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin. Also changing from nsIFileWidget to nsIFilePicker, bug 47553, r=cmanske, sr=kin 2001-01-09 22:47:30 +00:00
akkana%netscape.com
d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
harishd%netscape.com
f4101b2637 62754 - Fix meta charset that was getting ignored.
63234 - Fix up an infinite looping caused by embedded null chars.

r=ftang
sr=vidur
2000-12-21 20:46:00 +00:00
rpotts%netscape.com
5fa3c9c558 bug #15345 (r=sfraser, sr=mscott). Removed nsIDocumentLoaderObserver and replaced it with the new nsIWebProgress notifications... 2000-12-20 22:09:55 +00:00
vidur%netscape.com
4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
dbaron%fas.harvard.edu
2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
sfraser%netscape.com
7e9ec3377c Fix for 62039 -- change methods to use const PRUnichar* instead of nsStrings for NS_LITERAL_STRING loving. r=cmanske, akkana, sr=kin 2000-12-06 20:48:35 +00:00
kin%netscape.com
ab5cd791f6 Misc fixes for pedantic build warnings.
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +00:00
sfraser%netscape.com
4d2dbcae97 Removal of some crufty old code that used to do UI udpating, and was obsolete by XUL command nodes. r=akkana 2000-11-17 01:25:28 +00:00
akkana%netscape.com
d20c260cc6 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
hyatt%netscape.com
fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +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
kin%netscape.com
a2a0e487d7 Fix for bug #57165 (Document/Message is not spellchecked if the caret is at the end of the document)
Call nsISpellChecker::SetDocument() with a PR_TRUE to tell the spellchecker to start checking
from the start of the document.
r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-20 00:05:22 +00:00
sfraser%netscape.com
de0e705fe6 Fix for 56136 -- when reloading the editor page because of a charset change, call the predestroy notification, so that listeners (e.g. the UI update timer) can tear themselves down. r=akkana, sr=kin 2000-10-18 20:25:49 +00:00
kin%netscape.com
44e24f1173 Fix for bug #56159 (Crash when sending after copy/paste with Spell Check enabled)
mozilla/editor/base/nsEditorShell.cpp
      - Make sure mSpellChecker is zeroed in Shutdown() just in case something went wrong.

    mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
      - Added checks to prevent iterating over a collapsed selection in FistSelectedBlock() and LastSelectedBlock().

r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-16 14:31:48 +00:00
sfraser%netscape.com
50edd77011 Fix bug 52548, sidebar links open in composer window and nuke composer content. sr=mscott, r=vishy. 2000-10-14 01:44:31 +00:00
kin%netscape.com
cbbf0dc6ee Fix for bugscape bug #2698 (Need to wire up Spellchecker language prefs)
mozilla/odules/libpref/src/init/all.js
      - Added "spellchecker.dictionary" default pref and removed old 4.x spellchecker prefs.

    mozilla/editor/base/nsEditorShell.cpp
      - Added code to InitSpellChecker() and UninitSpellChecker() to get and
        set the "spellchecker.dictionary" pref.

r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-13 13:36:22 +00:00
attinasi%netscape.com
043068f7e6 Part fo fix for prefs bugs: disabling forced colors and fonts for Composer shells. b=40340, r=karnaze,pierre verbal approval from k.brade, a=buster 2000-10-11 08:35:06 +00:00
sfraser%netscape.com
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
sfraser%netscape.com
6c9c67aed2 Fix for 52150; show caret in new composer/mail composer/AIM windows. If the editor is focussed on creation, show the caret instead of relying on a focus event. r, sr = kin,saari, hyatt 2000-09-28 00:31:48 +00:00
cmanske%netscape.com
b7d0c530f2 Repairing code accidentally remove by subsequent checkin: b=53377, r=mjudge, a=sfraser 2000-09-27 01:09:49 +00:00
mjudge%netscape.com
9f6d3e1303 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com 2000-09-22 00:43:44 +00:00
cmanske%netscape.com
571328430d Strip out quote character in candidate filename, b=53377, r=pnunn, sfraser 2000-09-21 04:25:09 +00:00
locka%iol.ie
b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
mjudge%netscape.com
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
jfrancis%netscape.com
86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +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
scc%mozilla.org
6621beac0d if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 04:59:07 +00:00
ftang%netscape.com
b633f71667 fix 51432. r=cata while we set the document charset, we also set the force charset so it
will stronger than the charset in the cache.
2000-09-09 01:23:36 +00:00
cmanske%netscape.com
8315aef3a4 Refinements to make Composer context menus work and remove unused entities, b=43307, r=akkana 2000-09-08 01:45:06 +00:00
dbaron%fas.harvard.edu
cfceba7dca Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
cmanske%netscape.com
0ea8fba700 Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth) 2000-09-05 23:26:48 +00:00
sfraser%netscape.com
bd14dd3fec Fix for 51132 -- don't crash updating remove list command, and don't leak teh string. r=akkana 2000-09-02 01:44:57 +00:00
vidur%netscape.com
e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
cmanske%netscape.com
2a97a514ae Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc 2000-08-30 22:49:08 +00:00
cmanske%netscape.com
5ffccc6765 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +00:00
akkana%netscape.com
d9d40942bd 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
sfraser%netscape.com
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
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
76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
sfraser%netscape.com
c82c67089f Final part of fix for 25161 -- use the new user-select: _moz_all that pierre just checked in. 2000-08-12 01:26:39 +00:00
sfraser%netscape.com
023233561d Part of fix for 47855 -- don't show title prompt when saving from mail or plaintext. r=ducarroz 2000-08-12 00:16:10 +00:00
cmanske%netscape.com
37cbf70bba Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser 2000-08-11 04:59:37 +00:00
cmanske%netscape.com
a5251f332c Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
sfraser%netscape.com
277decdb88 Fix for 25161 -- allow editor to handle pages with form elements. Avoid infinite loop in editor, and add some CSS for form elements in editor. r=jfrancis 2000-08-08 23:37:51 +00:00
anthonyd%netscape.com
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
brade%netscape.com
085ee726c0 remove save and saveas commands (now in JS); submitted by rcassin@supernova.org (bug #16359) 2000-07-28 10:15:28 +00:00
brade%netscape.com
3b91da3d74 remove unused function 2000-07-27 21:48:06 +00:00
brade%netscape.com
645979aa35 add static to two methods to remove warnings 2000-07-27 21:46:26 +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
mcafee%netscape.com
6c8757c6d2 Backing out last change to fix linux bustage. r=cmanske 2000-07-12 01:47:00 +00:00
cmanske%netscape.com
476aee1c18 Tweaked previous fix -- sfraser suggested a more efficient fix 2000-07-12 01:05:35 +00:00
cmanske%netscape.com
4b0e5559b9 Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!) 2000-07-12 01:00:58 +00:00
cmanske%netscape.com
15901d9765 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
ftang%netscape.com
c1b191599a fix 40739 (dup as 45048. the fix is in 45048)
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.
2000-07-11 07:50:00 +00:00
cmanske%netscape.com
e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
dougt%netscape.com
078a498e23 Change nsIDOMXULDocument --> nsIDOMDocument
bug 43424
r=akkana@netscape.com
a=phil@netscape.com ?
2000-06-24 01:29:58 +00:00
cmanske%netscape.com
06305fcd27 Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske 2000-06-22 05:24:42 +00:00
cmanske%netscape.com
14801600dc Checking for brade: Use PreventDefault instead of returning NS_ERROR_BASE to stop event processing in mouse listners. b=42510, r=cmanske 2000-06-22 04:54:55 +00:00
danm%netscape.com
03ea82871a tracking change of name of window.content to _content. (bug 33650) r=hyatt 2000-06-22 00:48:45 +00:00
cmanske%netscape.com
c073210b68 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
cmanske%netscape.com
a61cac632c Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana 2000-06-15 14:17:13 +00:00
cmanske%netscape.com
4f01ada9bf New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser 2000-06-14 04:58:29 +00:00
cmanske%netscape.com
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
jfrancis%netscape.com
e93fa5fecf backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
sfraser%netscape.com
2b5984adae Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis 2000-05-26 23:42:25 +00:00
sfraser%netscape.com
c2ea91a9df Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe 2000-05-25 21:50:46 +00:00
cmanske%netscape.com
bb37359bbe Fixed object properties bug 39649, including moving methods involved (without change) from ComposerCommands.js to editor.js as suggested by sfraser. r=sfraser 2000-05-25 03:35:33 +00:00
cmanske%netscape.com
517e9ae89d Fixed object properties bug 39649. r=sfraser 2000-05-25 03:34:20 +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
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
ftang%netscape.com
5f8f73c8d0 Change the default charset of the containviewer when we set the document charset of
the nsEditorShell. fix bug 38322
2000-05-17 00:09:40 +00:00
joki%netscape.com
a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
cmanske%netscape.com
44d6a93dee Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command 2000-05-16 05:33:51 +00:00
jfrancis%netscape.com
fb3be33e0c fixing list toolbar button updating... 2000-05-15 11:50:49 +00:00
cmanske%netscape.com
bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
anthonyd%netscape.com
2b8f661639 adding weak ptr support to EditorShellMouseListener 2000-05-14 05:52:56 +00:00
anthonyd%netscape.com
415649ffb7 changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell
2000-05-14 05:27:17 +00:00
cmanske%netscape.com
66180a846b Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages 2000-05-12 02:37:33 +00:00
cmanske%netscape.com
ba93f893eb Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell. 2000-05-10 13:56:30 +00:00
cmanske%netscape.com
0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
cmanske%netscape.com
a3d9e11ec5 Adding new mouse listener for EditorShell. r=sfraser (not used yet) 2000-05-09 22:11:19 +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
sfraser%netscape.com
f9a3a34695 Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method. 2000-05-05 23:19:08 +00:00
sfraser%netscape.com
a8340dd50e Get rid of the redundant command state saving methods. 2000-05-05 23:18:15 +00:00
kin%netscape.com
c4f863915d Fixed spellchecker recheck bug.
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl

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

mozilla/editor/txtsvc/public/nsISpellChecker.h

    - Added NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsTextServicesCID.h

    - Removed NS_SPELLCHECKER_CID.

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

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

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

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

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

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

      - Added AppendValueAndDataToMenulist() function.

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

      - We now import strres.js.

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

      - Added InitLanguageMenu().
2000-05-04 14:37:56 +00:00
cmanske%netscape.com
3403bfda38 HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com
ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
sfraser%netscape.com
fe26596791 Ensure that the style buttons update as soon as you press them, so that the button reflects the type-in state properly. 2000-05-03 05:13:59 +00:00
sfraser%netscape.com
57998fc84b Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability. 2000-05-03 02:24:16 +00:00
jfrancis%netscape.com
f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
sfraser%netscape.com
80719a03c9 Fix for bug 37898 -- can't type in editor, msg and IM compose. r=kin, a=leaf 2000-05-02 21:46:23 +00:00
cmanske%netscape.com
003a94051d Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +00:00
sfraser%netscape.com
11026f1bf5 Fix the case of nsHash*t*able.h include. 2000-05-01 22:11:22 +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
sfraser%netscape.com
288d009794 First Checked In. 2000-05-01 21:37:38 +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
cmanske%netscape.com
e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +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
cmanske%netscape.com
390af1fcc3 Fixed setting title bug 36179, lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using <tree> for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com 2000-04-21 14:55:54 +00:00
scc%netscape.com
8d5a2627d8 making string conversions explicit 2000-04-21 06:56:47 +00:00
sfraser%netscape.com
d15d319675 Fix frameset detection. An additional Notify() method was not hooked up properly. 2000-04-21 00:50:04 +00:00
akkana%netscape.com
c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00