2403 Commits

Author SHA1 Message Date
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
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +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
sfraser%netscape.com
df76c8f330 Fix for 62039 -- change methods to use const PRUnichar* instead of nsStrings for NS_LITERAL_STRING loving. r=cmanske, akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83326 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 20:48:35 +00:00
mkaply%us.ibm.com
86f0f8c0d2 #59895
r=timeless, a=sfraser
Check type of open dialog and use correct title


git-svn-id: svn://10.0.0.236/trunk@83157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:10:35 +00:00
disttsc%bart.nl
08dda71270 Last batch of the <titledbutton>s in xul/js... bug=57751, r=kin, a=ben
git-svn-id: svn://10.0.0.236/trunk@83131 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:07:53 +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
blakeross%telocity.com
4aaa49c0e4 Fix 57615: accesskey for print preview shows as (V) in composer. r=jag sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82980 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 21:50:08 +00:00
rcassin%supernova.org
67096f5da5 Fix for bug 53658: Pref titledbox "Default Page Colors" should be "Default Page Appearance". r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82882 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 15:19:20 +00:00
rcassin%supernova.org
3aa8002709 Fix for bug 57345: "Cancel" in Save as Charset brings up Page Title. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82881 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 15:13:34 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
danm%netscape.com
db625ff360 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode.
git-svn-id: svn://10.0.0.236/trunk@82759 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:13:42 +00:00
sfraser%netscape.com
5b710bd5de Removal of some crufty old code that used to do UI udpating, and was obsolete by XUL command nodes. r=akkana
git-svn-id: svn://10.0.0.236/trunk@82718 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 01:25:28 +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
akkana%netscape.com
15699a9838 Add nsIPlaintextEditor.
git-svn-id: svn://10.0.0.236/trunk@82713 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:19:56 +00:00
akkana%netscape.com
99c2128ff4 Plaintext editor API. sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82712 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:10:37 +00:00
brade%netscape.com
8147dc3af7 fix bugs #56139 and (partially) #57206; r=cmanske; sr=kin; remove table height until css support for it is provided; always write valign until we know how to search up the tree
git-svn-id: svn://10.0.0.236/trunk@82678 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 15:17:58 +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
brade%netscape.com
206c9d4888 fix image dimension problems (updating/constraining/etc.); r=kin; sr=sfraser; bug #57313
git-svn-id: svn://10.0.0.236/trunk@82563 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 15:06:59 +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
brade%netscape.com
2f240f910a always lowercase so alignment now works; r=kin; sr=sfraser; bug #57298
git-svn-id: svn://10.0.0.236/trunk@82464 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 14:40:57 +00:00
blakeross%telocity.com
18ad3326cc Fix 48876: make d&d and modifier-/middle-click possible throughout the app and implement selection within link (50673). Also fixes 59520, 48780, 48632, 57588, 59132. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82444 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:06:54 +00:00
hyatt%netscape.com
61b754fcae Fix for 54203. r=saari, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82310 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:21:20 +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
timeless%mac.com
d3a7a9386d fix bug 47209, "add ellipsis to send page and send link"
r=jag a=putterman


git-svn-id: svn://10.0.0.236/trunk@81784 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:22:34 +00:00
kin%netscape.com
1d1146d7b0 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


git-svn-id: svn://10.0.0.236/trunk@81491 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 00:05:41 +00:00
kin%netscape.com
b55ec9f563 Fix for bugscape bug #2730 (spellchecker language pop-up menu not localizable)
Modified InitLanguageMenu() to use languageNames.properties and regionNames.properties
instead of the now deprecated acceptlanguage.properties.
r=brade@netscape.com sr,a=sfraser@netscape.com
This fix has not been checked into the Netscape_20000922_BRANCH.


git-svn-id: svn://10.0.0.236/trunk@81467 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:09:06 +00:00
sfraser%netscape.com
be1525b091 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
git-svn-id: svn://10.0.0.236/trunk@81394 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:25:49 +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
sfraser%netscape.com
b30f139d7b Fix bug 52548, sidebar links open in composer window and nuke composer content. sr=mscott, r=vishy.
git-svn-id: svn://10.0.0.236/trunk@81186 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:44:31 +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
kin%netscape.com
712894eb72 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


git-svn-id: svn://10.0.0.236/trunk@81131 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 13:36:22 +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
ducarroz%netscape.com
f9152d9430 Fix for bug 54481. We need to escape any comma in the web page url. R=putterman, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@81117 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:16:38 +00:00
ben%netscape.com
da1f1b9702 Fix for rtm++ bug 53605, editing colour defaults for Composer writes bad data
to user preferences. patch from Steve Morse (morse@netscape.com), r=ben@netscape.com, a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81112 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:05:04 +00:00
blakeross%telocity.com
6376bd300e Fix 53189: the Print dialog comes up twice when opening it from the button's menu in Composer and MailNews. r=brendan a=ben
git-svn-id: svn://10.0.0.236/trunk@81048 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:10:26 +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
brade%netscape.com
050d7335b0 extra line removed so that Advanced Edit dialog will come up; r/sr=kin/sfraser; bug #55746
git-svn-id: svn://10.0.0.236/trunk@80935 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 13:40:09 +00:00
attinasi%netscape.com
15b59e76c0 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
git-svn-id: svn://10.0.0.236/trunk@80922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:35:06 +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
kin%netscape.com
aa34867bdf Fix for bug #52858 (Case where crash happens involving save to draft warning...)
mozilla/editor/ui/dialogs/content/EdSpellCheck.js
      - Make onClose() return true.

    mozilla/editor/ui/dialogs/content/EdSpellCheck.xul
      - Add onclose="onClose()" attribute to window tag.

r=brade@netscape.com sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80854 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:40:39 +00:00
brade%netscape.com
a4deacb317 fix format submenus and View menu items to toggle appropriately (radio) and to show the proper setting even if the selection has changed since the menu was last opened. r/sr=kin/sfraser; bug #54317
git-svn-id: svn://10.0.0.236/trunk@80830 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:15:46 +00:00
brade%netscape.com
a473e32931 fix "header" type setting to display properly (missing ()) and to apply if only one cell is selected; bug #54899; r/sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@80829 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:13:33 +00:00
brade%netscape.com
c7047db3da fix Remove Image Map button (typo); bug #55383; r=sfraser/kin
git-svn-id: svn://10.0.0.236/trunk@80828 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:11:54 +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
brade%netscape.com
c45dfef659 partial fix for setting checkmarks in Format submenus (based on selection); r=kin; sr=sfraser; submitted by cmanske; revised by brade; bug #54317
git-svn-id: svn://10.0.0.236/trunk@80729 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 14:55:04 +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