Commit Graph

6978 Commits

Author SHA1 Message Date
attinasi%netscape.com
d21b6a133e Checkin patch for Robert O'Callahan: fixed HandlePostedDOMEvents and HandlePostedAttributeChanges to deal with re-entrant calls. b=45510,45361[nsb2+] r=evaughan,attinasi
git-svn-id: svn://10.0.0.236/trunk@74471 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 20:09:59 +00:00
mscott%netscape.com
d8174a05f7 Bug #44397 --> quick fix to the bookmarks problem with create new profile, if the
url is about:blank then don't try to instantiate bookmarks just to get a charset!
i'm not sure this bookmarks code belongs here anyway. We'll file another bug to get it moved out.
r,a=waterson


git-svn-id: svn://10.0.0.236/trunk@74467 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 19:51:20 +00:00
waterson%netscape.com
48a15edd1c Doh! Botched patch application. Sorry!
git-svn-id: svn://10.0.0.236/trunk@74448 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:23:09 +00:00
waterson%netscape.com
b92de9cfda Bug 21456. Support for 'alt=' attribute on applet frames. Patch submitted by edburns@acm.org, r=waterson, nisheeth, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@74446 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:06:55 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
attinasi%netscape.com
9883f75dbb Checkin for timeless@bemail.org: Fixed rounding error making LARGER work for font sizes less than 9px. b=12461, r=attinasi@netscape.com,disttsc@bart.nl a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74390 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:48:51 +00:00
valeski%netscape.com
9f98974650 updating a comment
git-svn-id: svn://10.0.0.236/trunk@74304 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 15:05:31 +00:00
jfrancis%netscape.com
6d22c9ff81 making the text frame use nsIEditorObserver (instead of nsIDocumentObserver). this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm
git-svn-id: svn://10.0.0.236/trunk@74300 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 06:43:34 +00:00
waterson%netscape.com
4b0eb75e6e Bug 45568. Don't flush notifications while looking for the nsIEditor object! The content sink may be in a crazy state where it's trying to rotate the content model. r=mozbot, because this is a smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@74298 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 20:51:01 +00:00
dbaron%fas.harvard.edu
d8fbca3fa0 Fix bug 42895 (nsbeta2+), a huge leak whenever a text input receieves an event, by propogating SetDocument(null,...) calls to the anonymous content in ender-lite widgets so that script objects for that content are unrooted. r=hyatt, mjudge
git-svn-id: svn://10.0.0.236/trunk@74276 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:20:48 +00:00
sfraser%netscape.com
90b67a19b8 Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis.
git-svn-id: svn://10.0.0.236/trunk@74262 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:58:50 +00:00
kin%netscape.com
19eb078c58 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

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

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

r=brade@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74257 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 20:26:09 +00:00
mjudge%netscape.com
d6fdcca880 storing the factory as a weak reference. speeding up ender-lite. r= anthonyd, r= jfrancis
git-svn-id: svn://10.0.0.236/trunk@74203 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:20:15 +00:00
mjudge%netscape.com
1e328a1b18 removing unnecessary ifdef
git-svn-id: svn://10.0.0.236/trunk@74202 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:19:21 +00:00
mjudge%netscape.com
58aa190a55 making the element factory support weak references. needed to make ender-lite faster.
git-svn-id: svn://10.0.0.236/trunk@74201 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:18:37 +00:00
hyatt%netscape.com
c23002ba84 Fix for 43467. r=bryner
git-svn-id: svn://10.0.0.236/trunk@74192 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:00:59 +00:00
evaughan%netscape.com
10a4df8c45 Fix for ender clip widget bug #42451
git-svn-id: svn://10.0.0.236/trunk@74171 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:51:39 +00:00
kin%netscape.com
d848b855b4 Fix for bug #43208: readonly text fields are not readonly
Modified CreateAnonymousContent() and AttributeChanged()
to set the editor's readonly and disabled flags.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74165 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 13:51:37 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
hyatt%netscape.com
5882acb105 Fix for smoketest blocker. r=saari, bug#=35952
git-svn-id: svn://10.0.0.236/trunk@74110 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:24:29 +00:00
jst%netscape.com
ce446bb897 Fixing nsbeta2+ bug 38610, don't throw a JS exception when .complete is accessed on an Image created in JS. r=pollman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74081 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:35:13 +00:00
jst%netscape.com
eb460aaa2a Fixing nsbeta2+ bug 44115, properly handle area elements even if the href is a relative url, r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74077 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:42:28 +00:00
jst%netscape.com
97c25ed004 Fixing nsbeta2+ bug 44434, problems with width and height properties on preloaded images. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74075 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:30:42 +00:00
mcafee%netscape.com
1112918ea1 Checking in null pointer fix for bugscape:1205, netscape nsbeta2+ bug. r=saari
git-svn-id: svn://10.0.0.236/trunk@74072 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:22:41 +00:00
jst%netscape.com
a607a900c8 Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:15:27 +00:00
ericb%neoplanet.com
ecef542f84 resizers and titlebars r:hyatt a:hyatt
git-svn-id: svn://10.0.0.236/trunk@74047 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:34:44 +00:00
av%netscape.com
16b5150046 #44422, r=buster
git-svn-id: svn://10.0.0.236/trunk@74040 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:10:29 +00:00
rods%netscape.com
d804eae647 setting parent to null to make sure there are no dnagling pointers from children
to their parents
b=44266, r=jst


git-svn-id: svn://10.0.0.236/trunk@74036 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 22:17:38 +00:00
rods%netscape.com
03ae64ba6e removing accidental checkin
git-svn-id: svn://10.0.0.236/trunk@74030 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:00:22 +00:00
rods%netscape.com
0a4a5cf302 option elements no longer add and remove themselves from the select, the select now does all the housekeeping. b=44266, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74026 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:21 +00:00
rods%netscape.com
8fb75d5063 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@74025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:20 +00:00
bnesse%netscape.com
34aa1fbbf3 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av
git-svn-id: svn://10.0.0.236/trunk@74017 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:06:05 +00:00
shanjian%netscape.com
ff9c87f68a #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.


git-svn-id: svn://10.0.0.236/trunk@73957 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:32:54 +00:00
mkaply%us.ibm.com
c71389b6e5 r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME


git-svn-id: svn://10.0.0.236/trunk@73941 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:08:54 +00:00
evaughan%netscape.com
933f75ed4e disable gfx scrollbars #44576
grid fixes for tree bugs

-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@73930 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:10:27 +00:00
akkana%netscape.com
84c9d71b9a 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.


git-svn-id: svn://10.0.0.236/trunk@73925 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:46:59 +00:00
cls%seawood.org
50a5bb697c Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
pollmann%netscape.com
9c987c7201 Bug 4891: Allow flushes to occur outside parsing of the <script> tag. This allows us to keep content lists up to date through document.writes in event handlers r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@73861 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:19:44 +00:00
evaughan%netscape.com
bd0857d1fe Fixed body resizing bug #35681
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@73848 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:24:06 +00:00
rods%netscape.com
aa114453e4 If the click is not on on item in the dropdown and not in the comboxbox display area then
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@73804 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:35:23 +00:00
karnaze%netscape.com
10de8f5166 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@73766 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 14:07:15 +00:00
karnaze%netscape.com
14ce92879a bug 40721 - put back fix that was erroneously backed out. r=rods from before.
git-svn-id: svn://10.0.0.236/trunk@73763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:58:54 +00:00
karnaze%netscape.com
71bc897032 bug 39799 - map NS_STYLE_TEXT_ALIGN_CENTER to align=center, r=syd.
git-svn-id: svn://10.0.0.236/trunk@73762 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:42:57 +00:00
karnaze%netscape.com
0bdadeb834 bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
git-svn-id: svn://10.0.0.236/trunk@73760 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:37:28 +00:00
rods%netscape.com
1921a95c8a A "margin" variable isn't being set up in the correct spot.
b=41472 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73759 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:22:12 +00:00
waterson%netscape.com
e4de1c9239 Update regression test for 22037 to include fun new test cases.
git-svn-id: svn://10.0.0.236/trunk@73745 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:33:16 +00:00
waterson%netscape.com
ec244a11cf Bug 22037. Detect when CantRenderReplacedElement() is inserting a block frame into an inline. When this happens, 'split' the frame model to the nearest containing block. Re-arranged some of ConstructInline()'s support routines to share code with new method SplitToContainingBlock(). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@73744 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:31:33 +00:00
cmanske%netscape.com
ec6be6cf62 Fixed setting value on multiline textarea - get value from content node instead of frame. Fixed by kin, b=42646, r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@73707 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:38:26 +00:00
kin%netscape.com
682a69e783 Backout passing of PR_FALSE to GetText() in CreateAnonymousContent(). That
was a debug change in my tree that I accidentally included in my previous
checkin.


git-svn-id: svn://10.0.0.236/trunk@73690 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 21:23:35 +00:00
kin%netscape.com
b1c5d5cd44 Fix for bug #43679: lose sender when scrolling in the addressing pane
Modified CreateAnonymousContent() to use mCachedState if it exists.

r=ducarroz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73688 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 20:51:08 +00:00