jfrancis%netscape.com
d50f8babc0
bug 67241: regression from the mongo embedding landing. now the smarts (for adding extra br's at the end of blocks when you hit return) are turned back on for html editors. r=fm; sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@85907 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:58:42 +00:00
akkana%netscape.com
b6e95d2517
66718: fix a signed/unsigned problem. r=cmanske, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@85885 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:55:15 +00:00
blakeross%telocity.com
03f8780087
Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@85806 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:50:16 +00:00
jfrancis%netscape.com
655e1adfc6
fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@85667 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:56:55 +00:00
jfrancis%netscape.com
7cde2dddd5
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
...
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
akkana%netscape.com
0792fa11db
64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@85529 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:12:16 +00:00
blakeross%telocity.com
38b3a49bad
Fix 66500: paste is enabled for readonly textfields. r=timeless sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@85518 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:36:51 +00:00
kin%netscape.com
5b0c6da155
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
git-svn-id: svn://10.0.0.236/trunk@85386 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:55:04 +00:00
m_kato%ga2.so-net.ne.jp
d383f0e075
bug 65547, r=jag, sr=sfraser
...
delete unused line
git-svn-id: svn://10.0.0.236/trunk@85066 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:50:29 +00:00
blakeross%telocity.com
575affbf87
Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@85037 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:01:11 +00:00
dbaron%fas.harvard.edu
3b00bf8420
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
...
git-svn-id: svn://10.0.0.236/trunk@84707 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:12:05 +00:00
anthonyd%netscape.com
1ff5aa2292
fix for bug #59003 fix for keybindings
...
sr=kin@netscape.com
r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:22:56 +00:00
sfraser%netscape.com
4e7e05789b
Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
anthonyd%netscape.com
32339edfc0
bug fix for 62796
...
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:44:35 +00:00
akkana%netscape.com
13ae4ba935
33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
cmanske%netscape.com
fdd20299b1
Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@84352 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:10:40 +00:00
valeski%netscape.com
e4aa16de1a
r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf.
...
git-svn-id: svn://10.0.0.236/trunk@84276 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:20:56 +00:00
anthonyd%netscape.com
a1ab735a6f
fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
...
r=jst,kin
a=kin
git-svn-id: svn://10.0.0.236/trunk@84077 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:37:01 +00:00
cmanske%netscape.com
592c5876f1
Reinstating table selection work for bug 57863 now that textfield.value bug 63376 is fixed. r=kin, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@83913 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:56 +00:00
leaf%mozilla.org
758c5a8f89
backing out regression-causing changes to reopen tree
...
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
2c944be4b8
Changes for table selection enums, part of bug 57863, r=jfrancis, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@83885 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:35:27 +00:00
dbaron%fas.harvard.edu
e32189e3a4
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=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@83782 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 16:02:58 +00:00
dbaron%fas.harvard.edu
fc1d2a9cd5
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
...
git-svn-id: svn://10.0.0.236/trunk@83446 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:46:08 +00:00
jfrancis%netscape.com
b90974896f
fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@83338 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 23:11:21 +00:00
kin%netscape.com
02a2a9a6b6
Misc fixes for pedantic build warnings.
...
r=jfrancis@netscape.com a=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83078 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:06:02 +00:00
akkana%netscape.com
0eff955ec3
Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
...
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
bryner%uiuc.edu
ada2d38770
Trivial change, missing "return". r/sr/a=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@82672 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 02:13:30 +00:00
kin%netscape.com
bdf22faafc
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
git-svn-id: svn://10.0.0.236/trunk@82526 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 14:53:40 +00:00
attinasi%netscape.com
396ae97d4d
Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=akkana,rickg a=buster
...
git-svn-id: svn://10.0.0.236/trunk@82047 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:22:17 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
kin%netscape.com
b94044a814
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
git-svn-id: svn://10.0.0.236/trunk@81245 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 14:31:48 +00:00
akkana%netscape.com
3bf91f71a1
54449: Re-adding workaround for bug in delete-to-end, which was accidentally overwritten in XIF landing. r=jfrancis, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@81171 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:03:05 +00:00
jst%netscape.com
9870b6af65
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.
...
git-svn-id: svn://10.0.0.236/trunk@81129 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 11:06:05 +00:00
jst%netscape.com
d547615f19
Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
...
git-svn-id: svn://10.0.0.236/trunk@80959 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:50:14 +00:00
jfrancis%netscape.com
246c0aaeeb
fixes bug 54895: certain editor operations (like align) crashed when applied to mulit-cell table cell selections; r=kin; sr=sfraser; a=jar
...
git-svn-id: svn://10.0.0.236/trunk@80872 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:27:33 +00:00
sfraser%netscape.com
8379325c00
Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@80787 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:45:46 +00:00
anthonyd%netscape.com
2cb8cf9499
fix for bug# 54253
...
Summary: D&D causes data loss
sr=kin
r=sfraser
a=kin
git-svn-id: svn://10.0.0.236/trunk@80708 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 06:29:05 +00:00
anthonyd%netscape.com
462d2a6e10
fix for bug#54222
...
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge
git-svn-id: svn://10.0.0.236/trunk@80707 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 06:14:21 +00:00
jst%netscape.com
17e33bbc26
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
git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
kin%netscape.com
802e1193e0
Fix for bug #50570 ([MLK] Leaking PRUnichar buffer in nsHTMLEditor::InsertFromTransferable())
...
Added calls to nsMemory::Free() to free text in PasteAsPlainTextQuotation() and InsertFromTransferable().
r=brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80457 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 19:38:46 +00:00
cmanske%netscape.com
939b1716e8
Part of fix for nested tables bug 53733. r=brade, a=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@80022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:23:03 +00:00
mjudge%netscape.com
bf52251b65
r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@79792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:44 +00:00
joki%netscape.com
903d3c3634
Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst
...
git-svn-id: svn://10.0.0.236/trunk@79266 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:09:26 +00:00
kin%netscape.com
07f8c9439a
Fix for bug #33938 : Pref/reply below quoted text does not move to bottom
...
mozilla/mailnews/compose/nsMsgCompose.cpp
- Scroll the selection into view after all the reply text
is inserted and the caret is positioned.
mozilla/editor/base/nsHTMLEditor.cpp
- Added nsAutoEditBatch variable to InsertBreak() to make
sure that we reflow before returning. Without this fix,
apps like MsgCompose will not be able to scroll the
selection properly.
r=jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:04 +00:00
akkana%netscape.com
18557f06ac
Fixing solaris build bustage: substring workaround suggested by scc
...
git-svn-id: svn://10.0.0.236/trunk@79182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:27:59 +00:00
akkana%netscape.com
c4f73d88ff
51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@79162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:55:40 +00:00
mjudge%netscape.com
2fc6190bef
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
...
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
6340d3a57b
fixes for 45608, 51398, 51591; r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@79084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:59:19 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00