Граф коммитов

8398 Коммитов

Автор SHA1 Сообщение Дата
attinasi%netscape.com 4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com d29d823f98 Updated the code to use the nsIScrollableFrame interface instead of assuming the FirstChild is the scrolled-frame. r=evaughan 2000-02-11 01:23:36 +00:00
attinasi%netscape.com 1ddf942ed0 PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-11 01:23:04 +00:00
attinasi%netscape.com 0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
attinasi%netscape.com 2f46ba2ee2 PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406 2000-02-11 01:21:50 +00:00
attinasi%netscape.com 254d4b2ef3 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
attinasi%netscape.com a15ba0edf1 Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406 2000-02-11 01:21:05 +00:00
pollmann%netscape.com 04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
pollmann%netscape.com fa1dd2cd6c Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
tbogard%aol.net 152712e118 Removed unused include. 2000-02-11 01:16:30 +00:00
nhotta%netscape.com ff36f4f489 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
troy%netscape.com f15ca67f0e b=26282 r=vidur@netscape.com Now when using the alternate content for an
image that can't be rendered we ignore everything after one of: ; # ?
2000-02-11 01:00:17 +00:00
hyatt%netscape.com c9071b6195 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
evaughan%netscape.com c1c4f7681f 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com 88e4dcfccf turning off Gfx scrollbars for listboxes
b 27253 r=evaughan
2000-02-10 21:13:44 +00:00
attinasi%netscape.com 22e7312184 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com 5a8bd5c7d6 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi%netscape.com b57e81919a PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-10 19:22:00 +00:00
attinasi%netscape.com fee84adb65 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
mjudge%netscape.com 0854f001ce adding remove range for table selection and for completeness. 26460 r=cmanske 2000-02-10 09:17:02 +00:00
mjudge%netscape.com 90364fa4e5 fix for memory leak bug 24332 2000-02-10 07:55:34 +00:00
mjudge%netscape.com b3444d6801 fix for bug 18528. fixing tabs controls in selection guessing. 2000-02-10 07:48:17 +00:00
nisheeth%netscape.com f719f7a927 r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor. 2000-02-10 07:27:43 +00:00
tbogard%aol.net 4c46df4275 Made sure we set the tree item before adding it to the parent. Then we also must notify the tree owner of the addition of the content shell after it has been added. This the bugs having to do with treeOwner showing up (27087, 2719, 25951). r=hyatt 2000-02-10 07:04:09 +00:00
mjudge%netscape.com 5201749c56 this was preliminary checkin for later feature. removing offensive line of code for linux. adding back the way it was. I will continue to add this content however but it will be released when not used by nsCOMPtr 2000-02-10 05:20:55 +00:00
mjudge%netscape.com b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
pinkerton%netscape.com 283cda0dee Fix for bug 26452, context menus flashing in upper right corner of window. Wait until the very last moment before we set the menuactive attribute which causes the view to display. Also some minor cleanup. r=hyatt. 2000-02-10 04:20:30 +00:00
pavlov%netscape.com a768c9996a fix for stuff r=eric 2000-02-10 02:43:09 +00:00
mcafee%netscape.com ddcdb8463c Adding nsGfxListControlFrame.cpp for Unix, should fix zero bloat stats. a=don 2000-02-10 01:12:22 +00:00
jj%netscape.com 35e032cd79 can't use nsIFrameDebug in an optimized build, fixing with NS_DEBUG wrappers. 2000-02-10 00:38:59 +00:00
evaughan%netscape.com 60c7389fcf Fixed regression in trees. They go blank in mail when you resize the splitter.
-r hyatt, leaf
2000-02-09 23:21:57 +00:00
rods%netscape.com fab88c6406 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
pinkerton%netscape.com f9e8a0926b fix build bustages. can't use "or" as a variable. it is reserved. 2000-02-09 23:18:40 +00:00
pinkerton%netscape.com e4377c6ec6 added nsGFXListControlFrame.cpp 2000-02-09 23:17:44 +00:00
evaughan%netscape.com b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
dcone%netscape.com 404e452b75 removed un-needed widget support files. r=rods 2000-02-09 20:55:14 +00:00
rods%netscape.com e3bab71834 forgot to remove unneeded files 2000-02-09 20:49:23 +00:00
rods%netscape.com 6b41252eea ifdef'ing out some new functionality for radio buttons in standard mode
a=leaf r=self
2000-02-09 20:19:19 +00:00
rods%netscape.com 1539b1b9c3 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
karnaze%netscape.com e3fcee92f5 new regression test not affecting the build. 2000-02-09 18:17:31 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
rods%netscape.com e7e39e8162 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
karnaze%netscape.com 2474de4e75 bug 18770, no percent calcs on unconstrained width, better allocation to cols. 2000-02-09 14:22:00 +00:00
jst%citec.fi 48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
hyatt%netscape.com 833b2e0263 Fixing syntax error. 2000-02-09 11:40:48 +00:00
hyatt%netscape.com 49898cbe76 added files: mozilla/layout/xul/base/src/nsMenuListener.cpp 2000-02-09 10:14:50 +00:00
hyatt%netscape.com ac1b4dc5a9 Oops. Forgot to add another file. 2000-02-09 10:13:52 +00:00
hyatt%netscape.com bcc2d6d453 Oops. Forgot to add a file. 2000-02-09 10:13:36 +00:00
hyatt%netscape.com aff94a67c5 Fix for bug #26381 2000-02-09 09:39:15 +00:00
hyatt%netscape.com 229b94b63f Giving menus some seriously tough love. 2000-02-09 09:34:35 +00:00
karnaze%netscape.com 45dbbfffbe new regression test not affecting the build. 2000-02-09 03:30:37 +00:00
hyatt%netscape.com 0bce2fbb1d Fix for PDT+ bug #25280. r=saari 2000-02-09 01:33:22 +00:00
tbogard%aol.net 7f0033c302 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
tbogard%aol.net 840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
rods%netscape.com aa15488556 fixes memory leak.
b 26795 r=beard
2000-02-08 13:17:50 +00:00
pinkerton%netscape.com 17e1584773 correctly handle when target is in a subdocument, such as context menus in a frameSet or on toolbars. fixes bugs 16388, 21223. r=hyatt. 2000-02-08 09:30:15 +00:00
dp%netscape.com 859cc763b0 Fixing leak of observers when notification of OnSubmit(). This fixes
walletservice from being leaked. r=pollmann
2000-02-08 05:31:08 +00:00
jdunn%netscape.com 56fe6f9966 changing false to PR_FALSE... since false isn't defined on all platforms 2000-02-08 03:30:53 +00:00
joki%netscape.com 3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
hyatt%netscape.com b5b62cd858 Fix for PDT+ bug #26217.
Having to call ProcessReflowCommands within the tree widget code to bypass the
asynchronous reflow code that has busted the tree widget.  (Would call
FlushPendingNotifications, but it won't do that if I call it inside a
reflow lock.)

This wants a better fix later, but for now it will have to do.
2000-02-08 01:42:20 +00:00
vidur%netscape.com 7b323ad68c Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com 0970222b53 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
hyatt%netscape.com f280862dfb Bug fixes. 2000-02-08 01:02:47 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
buster%netscape.com 2b193cb97b bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
troy%netscape.com a1ed8d02de b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
line dirty even if it also marks the preceding line dirty
2000-02-07 15:36:08 +00:00
rbs%maths.uq.edu.au 3c6bae46a2 Added some maction examples 2000-02-07 09:35:21 +00:00
rbs%maths.uq.edu.au b45922c8b1 [#ifdef MATHML]. Hook for the <maction> tag 2000-02-07 08:55:51 +00:00
rbs%maths.uq.edu.au 28487ae920 Added more atoms (actiontype, other, selection) 2000-02-07 08:52:22 +00:00
rbs%maths.uq.edu.au 69eabfc7ca Consolidation 2000-02-07 08:51:10 +00:00
rbs%maths.uq.edu.au d866cb1475 Enable the <maction> tag -- pending issue: a dynamic action that reduces the number of lines of screen does not totally erase the last line on a half-full screen 2000-02-07 08:47:48 +00:00
alecf%netscape.com 299cc6fa08 don't leak an atom (forgot NS_OK)
r=hyatt
2000-02-07 08:02:22 +00:00
jfrancis%netscape.com 28fd752530 fix for 24051: modifying password field corrupts pw text; checked in on behalf of buster; r=jfrancis 2000-02-07 02:48:36 +00:00
valeski%netscape.com 917d1539e7 26219. r=rhp. Form submission file extension to MIME type mapping was broken. The means that we weren't reporting the correct MIME type of files that were being uploaded 2000-02-05 18:37:51 +00:00
bryner%uiuc.edu c28caccf54 Adding some new mousewheel code that isn't used yet. Also removing an
unneeded comparison in the existing code, and changing several occurrences
of NS_DEFINE_IID to NS_GET_IID.  r=saari.
2000-02-05 00:58:29 +00:00
pavlov%netscape.com f3d78aee1d aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin 2000-02-04 23:14:38 +00:00
valeski%netscape.com 384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
waterson%netscape.com 0624ff054a Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
pinkerton%netscape.com 990f036b4e fix popup regression in editor. r=hyatt. 2000-02-04 07:44:43 +00:00
pinkerton%netscape.com be979f653a fix for mexican-jumping menus when menus were too large and needed to be repositioned to fit on screen. fixes bug 21477. r=hyatt. 2000-02-04 07:27:30 +00:00
hyatt%netscape.com 879e6a837e Fix for bug#26483 2000-02-04 06:46:50 +00:00
sdagley%netscape.com 64569b5154 Fix #22428 where attachments didn't work on Mac as the length of the form data wasn't being computed properly. In nsFormFrame::ProcessAsMultipart now uses an nsILocalFile to get file size rather than PR_GetFileInfo as the path to the file is in native format and PR_GetFileInfo doesn't handle native Mac paths. r=saari 2000-02-04 05:55:54 +00:00
sdagley%netscape.com 0ca8ceeaaa nsFormFrame::GetFileNameWithinPath didn't work properly for Mac or Unix paths. Found as part of investigation of bug #22428 but not a fix by itself. r=gagan 2000-02-04 04:11:51 +00:00
pinkerton%netscape.com 7d8250392f fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
karnaze%netscape.com 04e091b408 new regression tests 2000-02-04 03:17:24 +00:00
karnaze%netscape.com 3d970cf36e bug 23994 get the correct child list for a caption frame, r=attinasi 2000-02-04 03:16:47 +00:00
warren%netscape.com eb18579d03 Propagating return code. r=vidur,joki 2000-02-04 03:06:56 +00:00
warren%netscape.com 5080d81af2 Added an assertion for case when return code gets ignored. 2000-02-04 03:06:16 +00:00
pavlov%netscape.com d43191b9c1 remove the non-needed push/pop states r=sfraser 2000-02-04 03:03:08 +00:00
karnaze%netscape.com 735ae83d00 bug 7714 - better row height allocation for rows with no cells originating in them, r=attinasi 2000-02-04 02:49:27 +00:00
karnaze%netscape.com f60386c319 bug 8411 - the outer table cannot be made narrower than the captions min width, r=attinasi 2000-02-04 02:47:13 +00:00
karnaze%netscape.com 9193db6785 new regression tests 2000-02-04 00:27:26 +00:00
hyatt%netscape.com 26b01fbd37 Fix for 25103. r=danm 2000-02-03 23:42:26 +00:00
jst%citec.fi 87ab8dd44a Fixing linux build bustage, added missing .get()'s on nsCOMPtr's. r=kin@netscape.com 2000-02-03 15:41:04 +00:00
karnaze%netscape.com ad5fdfb2aa bug 7741 - handling of overlapping rowspans, r=troy. 2000-02-03 14:04:49 +00:00
dbaron%fas.harvard.edu bf2b8a41ed Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com 792c9c1053 r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
vidur%netscape.com 8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
vidur%netscape.com f77571182e Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki 2000-02-02 23:40:22 +00:00
ftang%netscape.com 2928361af0 r=nhotta, fix 24451. Change the IME hightlight code so
it won't draw out the clip boundary. It now draw by different color
instead of different hight.
2000-02-02 23:39:25 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
valeski%netscape.com 0eefca1c2f r=norris. we now pass url creation failure's into the onclick handers 2000-02-02 23:02:59 +00:00
akkana%netscape.com a06aa3ece0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me 2000-02-02 22:47:24 +00:00
brade%netscape.com 33f3444ca1 export file for rdf.mcp 2000-02-02 22:37:51 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
troy%netscape.com 67f68abf0e b=25617, r=buster@netscape.com r=karnaze@netscape.com Removed rules that specify
margin-left for right floated table/image and margin-right for left floated
table/image. This doesn't work when percentage based widths are involved
2000-02-02 15:38:01 +00:00
kin%netscape.com d33444cfb6 Fix for bug #20387 (scrollbars appearing in single line text control)
mozilla/layout/forms/src/nsGfxTextControlFrame.cpp
    mozilla/layout/forms/src/nsGfxTextControlFrame.h
      - Added GetFirstFrameWithIID() utility method.
      - Modified InitializeTextControl() so that it sets the
        single line text control's viewport overflow value
        to NS_STYLE_OVERFLOW_SCROLLBARS_NONE.

r=buster@netscape.com
2000-02-02 14:12:01 +00:00
buster%netscape.com e959bc93cd fixing linux bustage. got caught by a platform difference in handling
of nsCOMPtr and the equality operator
2000-02-02 08:28:37 +00:00
buster%netscape.com d2e420cfb4 fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
r=troy
2000-02-02 07:38:23 +00:00
buster%netscape.com c8545be1dd fixing very minor compile-time error that only shows up if you have certain
debug flags set.  r=none
2000-02-02 07:37:18 +00:00
karnaze%netscape.com 077215e7b4 bug 25148, AppendCell grows its rows before figuring the starting col index, r=attinasi 2000-02-02 01:56:46 +00:00
attinasi%netscape.com 3dcb1df4fd Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze
2000-02-02 01:15:04 +00:00
karnaze%netscape.com 10a156ca77 new regression test 2000-02-02 00:56:02 +00:00
beard%netscape.com 27796e180e the *REAL* fix for misbehaving drop-down lists. turns out z-index property value was incorrect in the style system itself. r=rods 2000-02-02 00:55:39 +00:00
karnaze%netscape.com 33cc9a9a34 bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi 2000-02-02 00:48:30 +00:00
norris%netscape.com c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
nisheeth%netscape.com ac04e405d8 Enabling async reflow after the document has loaded. 2000-02-02 00:19:52 +00:00
cmanske%netscape.com 85789e20af Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge. 2000-02-01 23:39:37 +00:00
rods%netscape.com d35e634fb8 removed all native widget frame implementations
b=(bugzilla is down, it's the one where I am suppose to remove all the extra cruft) r=dcone
2000-02-01 22:58:25 +00:00
waterson%netscape.com a26daa2f0d Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt 2000-02-01 22:57:36 +00:00
rods%netscape.com 0fc9226d56 returning the correct return code instead of NS_OK
r=dcone, no bug
2000-02-01 22:42:19 +00:00
dcone%netscape.com 360be95564 fixed backgrounds. r=rods 2000-02-01 16:03:13 +00:00
buster%netscape.com 6def713dab fixed bug 25762
r=beard
2000-02-01 05:26:27 +00:00
troy%netscape.com 2548316662 b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
reflowing an unknown frame (i.e., a frame that isn't a row group)
2000-02-01 04:30:04 +00:00
karnaze%netscape.com c7c6db129f new regression test 2000-02-01 03:28:24 +00:00
karnaze%netscape.com 9caaf2af43 bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk. 2000-02-01 03:23:29 +00:00
sfraser%netscape.com dc37943ae3 Fix for 25952, don't crash when doing Open Location from composer window. nsPresState was using a null mProperties table. r=beard 2000-02-01 02:14:29 +00:00
jdunn%netscape.com 4f4a1ab11f declaring ALL the base classes public since by default some compilers make
them private.

r= hyatt@netscape.com
2000-02-01 01:54:59 +00:00
bryner%uiuc.edu c125611b2e Removing an unneeded include. r=hyatt. 2000-02-01 00:47:58 +00:00
hyatt%netscape.com d8922c0918 Fix for 25883. 2000-02-01 00:20:26 +00:00
sfraser%netscape.com 4cdaf734cf Avoid crashing when mousing over links in teh composer window. r=brade 2000-02-01 00:00:17 +00:00
rods%netscape.com 29f4dad61e added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059
2000-01-31 23:59:55 +00:00
akkana%netscape.com 65781a368d 18033: Emacs XBL key bindings for unix. r=hyatt 2000-01-31 23:47:40 +00:00
vidur%netscape.com ee7036593f Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth 2000-01-31 23:39:19 +00:00
rods%netscape.com 6485e37aef add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00
karnaze%netscape.com ca069e57e9 new regression tests 2000-01-31 23:03:08 +00:00
rods%netscape.com bbf1942149 removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck
2000-01-31 22:46:55 +00:00
attinasi%netscape.com e88987eb6d Sorry - typo in change... 2000-01-31 14:26:25 +00:00
attinasi%netscape.com 111ba4ec67 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803
2000-01-31 14:04:41 +00:00
attinasi%netscape.com b1eb24a0ce Removed unused argument statements for elimination of warnings. No functional changes. 2000-01-31 13:54:39 +00:00
rbs%maths.uq.edu.au 838e028417 [#ifdef MATHML]. Hook for the ms tag 2000-01-30 23:33:38 +00:00
rbs%maths.uq.edu.au 0b3223675b Enable the <ms> tag 2000-01-30 23:30:54 +00:00
rbs%maths.uq.edu.au c73698ed81 First check-in 2000-01-30 23:28:51 +00:00
troy%netscape.com 1b8d3a512b b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
update the maximum width
2000-01-30 18:42:23 +00:00
troy%netscape.com 6476da726e b=25245 Changed ComputeContainingBlockRectangle() to set the containing
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly
2000-01-30 18:40:48 +00:00
troy%netscape.com 3b23873b58 b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
unconstrained reflow
2000-01-30 18:29:52 +00:00
troy%netscape.com 459938a056 b=25245 Changed Reflow() to return 0 for a max-element-width if the
image has a percentage based width
2000-01-30 18:28:38 +00:00
scc%netscape.com 7ae82df9e9 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton 2000-01-29 19:59:53 +00:00
mscott%netscape.com ee72520994 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
r=travis
2000-01-29 06:08:52 +00:00
mscott%netscape.com cc200aabd3 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
tweaks to make doc loader observer scriptable
tweaks to make doc loader observer scriptable
r=travis
2000-01-29 06:08:05 +00:00
saari%netscape.com d9e9b714fd Fix for bug 22264. r=hyatt 2000-01-29 04:05:03 +00:00
troy%netscape.com 02fc72b871 b=25223. Block code now does a better job of determing where the floater
should go before reflowing it
2000-01-29 00:47:33 +00:00
vidur%netscape.com 5dff43a188 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-29 00:34:07 +00:00
troy%netscape.com b66f1bb7e4 b=22692 Changed RemoveFloater() to return PR_FALSE if the floater is
associated with that line
2000-01-29 00:17:04 +00:00
vidur%netscape.com e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
pollmann%netscape.com c0d425d34b Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods 2000-01-28 23:29:36 +00:00
sfraser%netscape.com 667a9319d7 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf 2000-01-28 22:58:17 +00:00
leaf%mozilla.org d1f2514b8d backing out rods to fix options lists 2000-01-28 19:03:34 +00:00
karnaze%netscape.com 8b1ddd5c4d bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt) 2000-01-28 15:43:25 +00:00
rods%netscape.com 42afe24660 using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292
2000-01-28 15:24:49 +00:00
jst%citec.fi e3abebb2cc Remove delete call on an interface pointer (nsIFactory), use a nsCOMPtr in stead for proper refcounting. r=troy@netscape.com 2000-01-28 15:16:54 +00:00
rods%netscape.com 8dd52cec3d added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none
2000-01-28 15:04:19 +00:00
rods%netscape.com c56fe2a751 when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi
2000-01-28 15:03:00 +00:00
pierre%netscape.com 421af19ae9 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
rbs%maths.uq.edu.au 72c396b75e Catch up with recent changes in layout 2000-01-28 09:00:03 +00:00
warren%netscape.com 20da4f3233 Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com e455fbcd9f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver
2000-01-28 04:37:13 +00:00
saari%netscape.com 729048aef7 Something I forgot with yesterday's checkin. 2000-01-28 04:04:26 +00:00
waterson%netscape.com 39573f4597 Fix nsXBLBinding leaks. r=hyatt 2000-01-28 03:16:08 +00:00
troy%netscape.com 6e02487370 b=25049. Fixed a problem with max-element-size not being calculated
correctly for a floated table
2000-01-28 03:12:30 +00:00
rbs%maths.uq.edu.au 6f500172ae Slight rework to fix a particular situation 2000-01-28 02:31:09 +00:00
karnaze%netscape.com bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
rbs%maths.uq.edu.au 163d1d2283 Beware of copy-paste! 2000-01-28 00:58:28 +00:00
nisheeth%netscape.com 44c1cfd98b Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell. 2000-01-28 00:48:02 +00:00
kin%netscape.com b8e9916823 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com
2000-01-27 20:21:28 +00:00
rods%netscape.com c81534082f reworked reflow to better support incremental reflow
bugs 6747,18602 r=dcone
2000-01-27 15:57:30 +00:00
rbs%maths.uq.edu.au 4bc4597ad9 Cleanup and flags for debug mode 2000-01-27 12:38:03 +00:00
rbs%maths.uq.edu.au 2e258f3a44 Recognize all the attributes of the mpadded tag 2000-01-27 12:35:30 +00:00
rbs%maths.uq.edu.au de924b0358 Enable the mspace tag 2000-01-27 12:33:28 +00:00
rbs%maths.uq.edu.au 6b20391857 First checkin 2000-01-27 12:31:12 +00:00
rbs%maths.uq.edu.au c36d169e2c [#ifdef MATHML]. Hook for the mspace tag 2000-01-27 12:28:41 +00:00
rbs%maths.uq.edu.au c3137cd2a5 Added more atoms (depth, edge, height, lquote, rquote, width) 2000-01-27 12:24:21 +00:00
hyatt%netscape.com c7ba922076 Eliminating another leak. 2000-01-27 11:19:09 +00:00
hyatt%netscape.com c255736b64 Patching a leak in XBL. 2000-01-27 10:37:52 +00:00
hyatt%netscape.com 898156e279 Updating the event handler code for XBL. 2000-01-27 09:44:58 +00:00
hyatt%netscape.com 50263a6e8d Adding behavioral rules for inputs and textareas. 2000-01-27 09:44:35 +00:00
hyatt%netscape.com 1c22fd031b Making input and text area elements bindable using XBL. 2000-01-27 09:01:49 +00:00
vidur%netscape.com 94e7ff67cd Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki 2000-01-27 08:51:54 +00:00
hyatt%netscape.com 7d7f3992ca Adding controller shorthand access. 2000-01-27 07:57:29 +00:00
hyatt%netscape.com f64659a40c Improving XBL event handling. 2000-01-27 07:49:50 +00:00
troy%netscape.com 9877464fbe r=karnaze@netscape.com Removed some code that was removed but then added
again by mistake
2000-01-27 05:54:17 +00:00
vidur%netscape.com 42cdaa322f Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann 2000-01-27 05:17:11 +00:00
vidur%netscape.com 52b312047c Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann 2000-01-27 02:51:51 +00:00
jim_nance%yahoo.com a77a2365a0 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson
2000-01-27 02:28:52 +00:00
attinasi%netscape.com 85ed4c3d57 Setting GfxScrollFrame as the PrimaryFrame for scrolled content instead of the ScrollPortFrame. Also fixed some spots that were not correctly getting at the scrolled frame from the PrimaryFrame. b=23803 r=evaughan 2000-01-27 02:19:12 +00:00
attinasi%netscape.com d6004947d4 Minor reformatting and some comments added. b=none r=none 2000-01-27 02:17:04 +00:00
attinasi%netscape.com 1f1bc14154 Title is now set in the Title Bar. b=24478 r=rickg 2000-01-27 02:15:19 +00:00
kmcclusk%netscape.com eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
harishd%netscape.com 22ce02da97 Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann
2000-01-26 22:57:18 +00:00
pinkerton%netscape.com b9123fdca6 Use NS_INTERFACE_MAP_END_INHERITING macro instead of hack. r=hyatt. 2000-01-26 22:35:53 +00:00
pinkerton%netscape.com d83ae22b1d fix 14574, didn't inherit the QI from nsHTMLContainerFrame. Doh! r=hyatt. 2000-01-26 22:33:44 +00:00
troy%netscape.com db25894cff b=24936, r=nisheeth@netscape.com Changed block code to set mNextRCFrame to
NULL after reflowing the frame, so if we reflow it again we don't think it's
an incremental reflow
2000-01-26 22:18:33 +00:00
troy%netscape.com 4f738fb73f r=nisheeth@netscape.com Added asserts to help catch the case of poorly
targeted reflow commands
2000-01-26 22:11:47 +00:00
kin%netscape.com 320169c443 Fix for bug #12825: {css-moz} overflow: -moz-scrollbars-* not implemented
Added code to implement the new overflow -moz-scrollbars values.
r=evaughan@netscape.com
2000-01-26 21:56:03 +00:00
pinkerton%netscape.com 9dd1d506bb fix for bug 25092 (UMR's in drag/drop part of ESM). Again, we weren't copying the full event before redispatching. r=sfraser. 2000-01-26 21:52:47 +00:00
vidur%netscape.com bc7a946fe0 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki 2000-01-26 15:52:41 +00:00
norris%netscape.com 7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
norris%netscape.com 02dc22bf2f Fix 24217 Access to functions in chrome: protocol using IFRAME
r=pollmann
2000-01-26 15:29:43 +00:00
dcone%netscape.com e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
cmanske%netscape.com acb4eb592c Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze 2000-01-26 14:56:06 +00:00
hyatt%netscape.com 090ab3e74d More event handler fun. 2000-01-26 11:43:31 +00:00
hyatt%netscape.com e72db55f0c In theory events can be executed now. 2000-01-26 11:05:44 +00:00
hyatt%netscape.com 1f92d13290 More goodness. 2000-01-26 10:37:13 +00:00
hyatt%netscape.com ff21609316 More. 2000-01-26 10:25:55 +00:00
hyatt%netscape.com ba54aca4c1 More tweaks 2000-01-26 10:08:49 +00:00
hyatt%netscape.com 33e2d24ab7 added files: mozilla/layout/xbl/src/nsXBLEventHandler.cpp 2000-01-26 10:07:13 +00:00
hyatt%netscape.com 19ed7e4f27 Landing initial XBL event handling code. 2000-01-26 10:06:30 +00:00
rbs%maths.uq.edu.au 84a5501198 [MathML] A simplification of the code 2000-01-26 08:11:27 +00:00
rbs%maths.uq.edu.au bdab93b4ec [MathML] Added support for CSS units on numeric attributes and updated code to make use of the support 2000-01-26 06:49:38 +00:00
rbs%maths.uq.edu.au 4a29116c64 [MathML] Added four atoms (lspace, rspace, maxsize, minsize) and two operator flags. 2000-01-26 06:43:36 +00:00
pollmann%netscape.com 0cceba9172 Bug 10939: Make background of image inputs transparent (again :) ) r=harishd 2000-01-26 06:26:59 +00:00
troy%netscape.com 7747fa57f1 b=22677. Fix for the part of the bug where the second table taht is relatively
positioned flashes when the window is resized
2000-01-26 03:44:36 +00:00
pinkerton%netscape.com 29d7ccb375 fix for bug 25026 where context menus wouldn't show up on input fields because the refpoint part of the nsEvent was never copied from the clientX/Y of the nsIDOMEvent passed to us. r=akkana. 2000-01-26 02:08:02 +00:00
troy%netscape.com f8bb168c8f b=22497. Changed ReflowBlock() to better calculate the x-offset where the
table will be positioned
2000-01-26 01:45:47 +00:00
danm%netscape.com bc85a078d1 notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands 2000-01-26 01:24:41 +00:00
karnaze%netscape.com 4e780bc179 changed file notation so regression tests run again. Does not affect the build. 2000-01-25 23:33:32 +00:00
pollmann%netscape.com 47d773f8d9 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
rods%netscape.com 970f05bca6 impls the new flag to only scroll when not visible
b 18649 r=troy
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com 9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods%netscape.com 8cfebc4bd7 changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk
2000-01-25 15:38:49 +00:00
rods%netscape.com b6cc395d48 added assertion for the creation of native widgets r=dcone b=17027 2000-01-25 15:26:09 +00:00
rods%netscape.com 364d22bb8c changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
rods%netscape.com 4fb1d3ba7e changed signature of GetFont, chanhe when the webshell gets shown to reduce flicker b=905,24497 r=dcone 2000-01-25 15:25:19 +00:00
rods%netscape.com cb8300c754 changed to use new signature of GetFont r=dcone b=905 2000-01-25 15:25:07 +00:00
rods%netscape.com daeb2e4655 changed signature of GetFont,GetFrameFontFM b=905 r=dcone 2000-01-25 15:25:04 +00:00
rods%netscape.com 0403a43678 changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy 2000-01-25 15:24:48 +00:00
rods%netscape.com a1afa3cfde changed signature of GetFont b=905 r=dcone 2000-01-25 15:18:46 +00:00
rods%netscape.com d770d65d07 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905
2000-01-25 14:33:03 +00:00
rods%netscape.com f40d94ae94 Added new flag for scrolling a frame if it isn't visible
r=troy b=18649
2000-01-25 14:31:41 +00:00
hyatt%netscape.com f8d7c5370c Merge hell. Merge hell. 2000-01-25 07:31:12 +00:00
hyatt%netscape.com 9023d8a2b3 Fix more bustage. Another annoying merge conflict. 2000-01-25 07:26:02 +00:00
hyatt%netscape.com 9563e2fb60 Fix bustage. Annoying merge conflict. 2000-01-25 07:21:17 +00:00
hyatt%netscape.com 0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
norris%netscape.com 8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
troy%netscape.com 29bea1bf5f b=22325. When resizing the row groups and rows because the table has an
explict height, we need to make sure any child views are re-positioned.
This doesn't solve the flicker problem but now edit fields are all in
the right place, and it's good enough that Buster can do his clothes
shoping
2000-01-25 03:11:24 +00:00
troy%netscape.com c849a94fa7 b=24815. Make sure not to squelch NS_IMAGE_LOAD_STATUS_ERROR notifications
because the image frame needs these to call CantRenderReplacedElement()
2000-01-25 03:00:26 +00:00
sfraser%netscape.com c7f149bdf3 Work on command updating in the ender widget. r=buster 2000-01-25 02:58:25 +00:00
beard%netscape.com 7226bc7257 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
nisheeth%netscape.com 8232c12c1c r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor. 2000-01-24 19:11:02 +00:00