Commit Graph

2880 Commits

Author SHA1 Message Date
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
b4ea38686f Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
kin%netscape.com
ef2a32649c Fix for bug #91310 (Align Right splits table) and
bug #91288 (Aligning blank table cell in show all tags mode splits table)

Modified WillAlign to prevent unnecessary splitting:

  - Don't execute emptyDiv special case code when start container of the
    selection is a table cell element, but not a table cell or caption.
  - Prevent processing of whitespace between list/table structure nodes.
  - Prevent splitting when processing sub lists.

r=brade@netscape.com  sr=attinasi@netscape.com
2001-07-25 00:10:34 +00:00
akkana%netscape.com
60ca326658 Remove some more no-op debug code. sr=kin 2001-07-24 23:45:32 +00:00
akkana%netscape.com
659cfe92fa Remove debug code which should not have been there and were causing asserts. sr=kin 2001-07-24 23:39:17 +00:00
stephend%netscape.com
8a46da1d7e 60669. Javascript strict warnings in EdDialogCommon.js r=gemal@gemal.dk, sr=kin@netscape.com 2001-07-24 19:47:27 +00:00
stephend%netscape.com
af90d99283 86706. Javascript strict warning in EdPageProps.js. r=akkana@netscape.com sr=blaker@netscape.com 2001-07-24 07:01:09 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
kin%netscape.com
fec513fa55 Fix for bug #91378: "Find" doesnt find in some cases
Prevent FindInString() from skipping over current char
when eating additional whitespace.

r=brade@netscape.com  rs=blake@telocity.com
2001-07-20 14:39:07 +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
kin%netscape.com
45c8f49930 Fix for bug #90499: Can't delete selection if end of selection contains "<br>\n"
Modified nsHTMLEditRules::WillDeleteSelection() so that it uses
an nsAutoTxnsConserveSelection auto-variable to prevent the
call to nsWSRunObject::PrepareToDeleteRange() from changing
the selection.

r=brade@netscape.com  sr=waterson@netscape.com
2001-07-18 21:22:31 +00:00
akkana%netscape.com
290a4f4313 90741: Whack the rest of the <box> tags in editor.
Contributed by andersma@luther.edu (Mark Anderson).
  r=cmanske sr=kin
2001-07-17 22:44:13 +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
anthonyd%netscape.com
f88d5c6fa3 bug fix for 81288 - &nbsp removed from source when changing views
r=kin@netscape.com
sr=sfraser@netscape.com
2001-07-14 00:50:21 +00:00
akkana%netscape.com
98989d30a1 69638: Use <span> instead of <blockquote> for plaintext quotes, to fix caret motion problems. r=mcafee, sr=sfraser 2001-07-13 18:45:53 +00:00
kin%netscape.com
907212d677 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
cmanske%netscape.com
46f719f5a6 Finish fix for missing menulists in Table Properties dialog, b=89644, r=sfraser, sr=kin 2001-07-13 04:10:07 +00:00
cmanske%netscape.com
1c43fa425e Fixed color picker initialization bug 89973 (r=sfraser) and Last Picked button behavior bug (r=mjudge), sr=kin on both 2001-07-11 00:42:32 +00:00
cmanske%netscape.com
2a81718082 Fixed not clearing font color ('defaul') bug 89700, r=akkana, sr=kin 2001-07-10 23:57:04 +00:00
cmanske%netscape.com
3ec2d70e85 Fixed missing menulists in Table Properties dialog bug 89644, r=89644, r=brade, sr=sfraser 2001-07-10 04:02:32 +00:00
akkana%netscape.com
a05d3e3c8e 78727,86998: Fix a hang with rewrap introduced by the string API conversion. r=sspitzer, sr=sfraser 2001-07-10 00:40:11 +00:00
tao%netscape.com
a60ef23c40 86807: Some menu items are missing if you use incompatibly profle.
r=jbetak,sr=hyatt. Add locale version to all packages and their locale
providers.
2001-07-09 22:13:09 +00:00
timeless%mac.com
1fdeed80f7 Bugzilla Bug 70857 [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with
<boxDerivedTag orient="horizontal|vertical">
patch by andersma@luther.edu r=timeless sr=blake
2001-07-09 18:41:07 +00:00
cmanske%netscape.com
69432aadbb Fixed loss of HTML Source editing when closing window: b=86742, r=timeless, sr=sfraser 2001-07-06 20:03:41 +00:00
cmanske%netscape.com
fd1d6f9f82 Fixed layout problem in Spell Check dialog: b=57398, r=hewitt, sr=sfraser 2001-07-06 19:46:42 +00:00
cmanske%netscape.com
921ae1b103 Fix missing button in Image Properties dialog: b=89644, r=brade, sr=sfraser 2001-07-06 19:42:26 +00:00
cmanske%netscape.com
bb41c589c5 Checking in fix for adding Help button to Table Properties dialog for brade, b=88377, r=cmanske, sr=sfraser. Includes fix for missing menulist in this dialog: b=89644, r=brade, sr=sfraser 2001-07-06 19:40:22 +00:00
timeless%mac.com
f8a92c48de Bug 70857 [XUL Syntax]
Smaller CSS/JS/XBL patch, should allow XUL changes to go in easier
by andersma@luther.edu r=timeless sr=blake
2001-07-06 02:01:52 +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
cmanske%netscape.com
6820c1ef7d Fixed Join Table Cells bug 86009, r=mjudge, sr=sfraser 2001-07-05 22:35:22 +00:00
sfraser%netscape.com
f639265a14 Fix wording of dialog shown when you edit a frameset or iframe page in composer. r=brade, sr=blake. 2001-07-03 01:05:22 +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
brade%netscape.com
39966986a8 add help buttons to composer dialogs (bug #6685) 2001-06-28 13:48:52 +00:00
jfrancis%netscape.com
681b0e8a1b bug fix 84744: insert br after user creates table if table is last node in block. r=brade; sr=kin; a=blizzard 2001-06-26 23:13:01 +00:00
waterson%netscape.com
eda58e546a Bug 87346. Fix txtsvc makefile to create component DLL. r=kin, a=asa 2001-06-23 05:44:59 +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
mjudge%netscape.com
618d0012eb bad ifdef. left this out of previous checkin for middle mouse paste 2001-06-20 05:18:12 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
jfrancis%netscape.com
52eaca10e1 fixes:
69320: making new block must put selection in block
74722: pasting into a pre block should not nest pre's
82421: ubercaret after ending list
67847: deletion can put caret incorrectly at start of doc
2001-06-20 02:05:37 +00:00
brade%netscape.com
285a89a3cb partial fix for 85963 (add alt tag for images inserted via d&d from OS) 2001-06-19 23:56:22 +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
74bd8d16c5 now with vitamin R for extra wholesome goodness!
(correcting snafu)
2001-06-18 21:43:20 +00:00
jfrancis%netscape.com
57f282e844 this checkin includes diff for 61232. was supposed to be in previous checkin. r=sfraser; sr=kin; a=asa 2001-06-18 21:35:07 +00:00
jfrancis%netscape.com
bc37219a9a fixes for:
61232 - Caret comes back to previous line after creating paragraph
54520 - Extra break with list items
54539 - Disappearing numbered list with outdent
60867 - Composer adds extra break when round-tripping empty document through View Source
62347 - Selecting Body Text doesn't work inside other blocks that have embedding breaks
2001-06-18 21:15:43 +00:00
jfrancis%netscape.com
fb8d76100d fix for: 57477: merge pastes list into target list 57989: Pasting list items into list can orphan last list item 66579: copy/paste of list item into another list items causes caret mostly a refactoring and improvement of nsHTMLEditor::InsertHTMLWithCharsetAndContext() 2001-06-15 22:29:07 +00:00
kin%netscape.com
4ca51c2870 Fix for bug #62577 - Sublist content disappears when unlisting.
mozilla/editor/base/nsHTMLEditRules.cpp
      - Moved list handling code in WillRemoveList() into a new recursive
        method RemoveListStructure() which WillRemoveList() now calls.

      - Modified WillOutdent() to call MoveNode() when a sublist is encountered.

      - Made ConvertListType() recursive so that all sublists are coverted.

  mozilla/editor/base/nsHTMLEditRules.cpp

      - Added RemoveListStructure() method.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-06-15 13:57:01 +00:00
cmanske%netscape.com
cce9ebc66a Fixed Image dialog to use new 'removeEntry' method to remove image from cache before loading into preview window. b=78351, r=blake, sr=sfraser, a=asa-drivers 2001-06-15 03:34:24 +00:00
cmanske%netscape.com
67127d21aa New Advanced Properties Editor UI. Fixes bugs 71743, 71973, 71027, 73167. Fix is shown on 71743, r=brade, sr=kin, a=asa-drivers 2001-06-13 01:04:39 +00:00
cmanske%netscape.com
f702cd1d5b Remove Cell Tab in Table Properties dialog when only a table is selected. b=85254, r=jfrancis, sr=kin, a=asa-drivers 2001-06-13 00:58:56 +00:00
cmanske%netscape.com
fe00d5a4bc Fixed wrong attribute string in Insert Table dialog; part of fix to bug 77427, r=brade, sr=kin, a=asa-drivers 2001-06-13 00:17:12 +00:00
jfrancis%netscape.com
f04bd7911b fixing build bustage. editor must link with gfx now. 2001-06-12 23:34:59 +00:00
jfrancis%netscape.com
661474b8ef fix for 82612: this is just asimple refactoring of a large routine so that we need less mem to do an optimized build.
r=kin; sr=sfraser; a=asa
2001-06-12 23:17:47 +00:00
jfrancis%netscape.com
19ca66d306 fix for 54218: outdent was not enabled in many cases. Now we correctly examin parent heirarchy of selection for blockquotes. r=kin; sr=sfraser; a=asa 2001-06-12 23:03:12 +00:00
jfrancis%netscape.com
9980fb90c7 fix for 74122: distinquish between named anchors and links in deletion code. links are deleted if they become empty, but not anchors. r=brade; sr=kin; a=asa 2001-06-12 22:49:09 +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
a783e94b5e fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin 2001-06-12 22:27:53 +00:00
jfrancis%netscape.com
ce1e99c63d fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa 2001-06-12 22:21:12 +00:00
kin%netscape.com
051e33800a Fix for bug #83946 (Crash/freeze when backspacing over signature lines)
Fixed infinite loop in PriorVisibleNode() and NextVisibleNode() which would
happen when aNode was a node that could have children, but didn't have any,
and it's prior/next siblings weren't  eNormalWS.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2001-06-12 20:46:57 +00:00
cmanske%netscape.com
4956e3c3c6 Don't set 'center' alignment for new hrule element, part of fix to bug 83335, r=sfraser, sr=kin, a=asa-drivers 2001-06-09 21:54:04 +00:00
cmanske%netscape.com
47601fd028 Fixed test of empty cell in Composer table editing (b=84175, r=brade, sr=kin) and join cells should join with cell to right if only 1 cell selected (b=55991, r=mjudge, sr=kin), both a=asa-drivers 2001-06-08 23:15:15 +00:00
cmanske%netscape.com
15fa77bd76 Fixed setting of intial focus in Composer colorpicker dialog (part of fix to 64160, forgot to checkin before)r=kin, sr=hewitt, a=asa-drivers 2001-06-08 19:48:07 +00:00
cmanske%netscape.com
891904ac42 Fixed setting of attributes after using Advanced Edit in Table dialog, b=77427, r=sfraser, sr=kin, a=asa-drivers 2001-06-08 05:18:07 +00:00
cmanske%netscape.com
9a8ffaf2c3 Fixed extra separator at end of context menu, b=77596, r=sfraser, sr=kin, a=asa-drivers 2001-06-08 05:08:05 +00:00
cmanske%netscape.com
ea97cc4638 Remove 'PastAs' menu (feature not implemented), b= 41547, r=mjudge, sr=kin, a=asa; Remove separate 'Replace' menuitem and command, b=80807, r=anthonyd, sr=sfraser, a=asa-drivers 2001-06-08 05:01:59 +00:00
cmanske%netscape.com
2f9dc4f2ef Restore Composer's Debug menu for testing (remove before RTM!), fix by rcassin, b=83349, r=cmanske, sr=sfraser, a=asa-drivers 2001-06-08 04:33:49 +00:00
cmanske%netscape.com
7492e8794b Fixed initialization of HLine's align radio buttons; use 'center' as default, b=83335, r=sfraser, sr=kin, a=asa-drivers 2001-06-08 04:25:25 +00:00
nhotta%netscape.com
3c04234e4c For SaveAsCharset dialog, make sure the title string is always set if it's not null, check in for jbetak, bug 44323, r=cmanske,nhotta, sr=alecf. 2001-06-08 00:52:29 +00:00
yokoyama%netscape.com
b95d9c0083 Bug 63029: Japanese input in text area in forms confuses subsequent input
The fix is to
- maintain the index of PasswordBuf at the start of IME
- maintain the old IME text
- remove the old IME text from PasswordBuf
/r=jfrancis, /sr=kin, /a=blizzard
2001-06-06 01:21:05 +00:00
ftang%netscape.com
4dde2c3cec fix 83448. author=simon@softel.co.il
r=ftang sr=kin a=asa
2001-06-04 22:22:36 +00:00
pinkerton%netscape.com
df48a1e1cd add id for print menu so PrintPlus can attach to it. r=kerz, sr=smfr, a=selmer. bugscape 4748. 2001-06-01 23:40:40 +00:00
hwaara%chello.se
e8b65581ce #83349. Remove the Debug menu from Composer. r=cmanske, sr=sfraser, a=asa. Patch by Ryan Cassic <rcassin@supernova.org> 2001-05-31 12:14:38 +00:00
cmanske%netscape.com
40aff6c1d0 Added missing keyset overlay so Enter/Cancel keys work in Page Color and Background dialog, b=82713, r=brade, sr=kin, a=roc+moz 2001-05-29 22:23:52 +00:00
cmanske%netscape.com
19c3ed0ca6 Remove Image map editor button, b=82802, r=sfraser, sr=kin, a=selmer(pdt) and blizzard 2001-05-29 22:20:28 +00:00
cmanske%netscape.com
a00cfa254a Fixed broken Text Color menuitem, b=82273, r=brade, sr=sfraser, a=blizzard 2001-05-25 21:15:59 +00:00
jdunn%netscape.com
bceea52b52 Fixing AIX tinderbox bustage by using temps
sr= scc@mozilla.org
r= cmanske@netscape.com
a= chofmann@netscape.com
# 82523
2001-05-25 11:57:57 +00:00
sfraser%netscape.com
e0bfe4c093 Fix bug 82139; ensure that Find-related items get disabled when in view source mode. r=brade, sr=kin 2001-05-23 00:23:03 +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
cmanske%netscape.com
720e9bb26f Fix editor pref dialog layout to reduce height; also make Color and Background dialog look the same, b=77517, r=mjudge, sr=hewitt, a=beppe, L10N a=danielmc 2001-05-22 21:22:26 +00:00
gerv%gerv.net
b6a8d27686 Polish: fix alignment of a few things in preferences. Bug 81671. Patch by doronr@naboonline.com, r=gerv, sr=blake. 2001-05-22 20:42:23 +00:00
mkaply%us.ibm.com
c2673ba006 #79954
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard
2001-05-22 14:11:17 +00:00
sfraser%netscape.com
ef3b984b0f Adding nsTextEditRulesBidi.cpp for mkaply 2001-05-22 00:26:39 +00:00
mkaply%us.ibm.com
18a8225acf #80550
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
2001-05-21 23:57:55 +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
cmanske%netscape.com
7b7cadc435 Small JS changes to editor in connection with not being able to select inputfield when only 1 character, b=76346, r=mjudge, sr=hewitt 2001-05-19 01:21:04 +00:00
cmanske%netscape.com
b23a6c7250 The xul part of using 'onload' handler for Image dialog preview and natural width. b=78351, r=kin, sr=sfraser 2001-05-19 00:58:18 +00:00
cmanske%netscape.com
49ed470966 Finished Convert to table feature: fixed trashing of attributes and lists, finding just-inserted table. b=67337, r=mjudge, sr=hewitt 2001-05-19 00:49:26 +00:00
hewitt%netscape.com
6f95bde070 80179 - rename a few <window/> ids to prepare for window icons, r=law, sr=ben 2001-05-18 22:50:35 +00:00
cmanske%netscape.com
a1ba46c859 Finished Image dialog changes needed to use onload handler for preview and getting natural size. b=78351, r=kin, sr=sfraser 2001-05-18 22:44:37 +00:00
sfraser%netscape.com
493e834a55 Fix for bug 81677; update commands _after_ setting focus when switching view modes. r=timeless, sr=blizzard 2001-05-18 19:59:17 +00:00
mkaply%us.ibm.com
001ce071d8 senna REQUIRES bustage 2001-05-18 12:37:39 +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
andreww%netscape.com
a1549a4b44 bugzilla 73982 r=pinkerton sr=hewitt. Adding xbl-based image pre-caching of toolbar buttons. 2001-05-18 01:21:47 +00:00
cmanske%netscape.com
872329afea Fixed filtering of characters in Named Anchor properties dialog (characters > 127 are allowed). b=74137, r=nhotta, sr=brendan 2001-05-17 19:21:11 +00:00
loadrunner%betak.net
299c0f02df bug 33926, r=cmanske, sr=blizzard 2001-05-17 18:59:17 +00:00
stephend%netscape.com
32dd092a4a Bug 80444, putting tooltips on the throbber across the app. r=cmanske/blakeross/suresh sr=sspitzer 2001-05-17 00:42:27 +00:00
cmanske%netscape.com
84722f7afb Fixed editor HTML source bugs 81227 and 66249; pref dialog busted bug 77517; Delete table rows/columns bug 78400. r=mjudge, sr=kin 2001-05-16 23:44:56 +00:00
cmanske%netscape.com
d494092ba4 Fix to editor pref dialog layout bug 77517, r=blake, sr=ben 2001-05-16 14:23:47 +00:00