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

7489 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 35c782073e b=#17315. Changed DeletingFrameSubtree() to also look at the continuing
frames.
1999-11-04 05:23:11 +00:00
rods%netscape.com 2df9ef8d4c added two more tests 1999-11-03 22:14:42 +00:00
rods%netscape.com 1aa7651c32 Initial checkin of test 1999-11-03 22:14:25 +00:00
kipp%netscape.com f4f952bf1f r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly 1999-11-03 22:09:00 +00:00
kipp%netscape.com c2d9013dcc updated document regardling block and line-layout operation; this is html documents that are not part of the build nor part of any install process, etc. 1999-11-03 21:11:37 +00:00
joki%netscape.com d5c05ea133 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
buster%netscape.com 5009a9b5f2 fixed bug 17792 (text set via DOM displays in HTL password control)
r=myself, I'll take the heat if this goes bad.  It's a very simple change.
The text control optimization was turned on for single line text controls,
and turned off for text areas.  With this change, the optimization is also
turned off for password fields.  This shouldn't effect performance in any
noticable way, because there are very rarely more than one or two password
controls on a single page.  The optimization in the case of password fields
isn't worth the extra code and complexity for dealing with replacing
characters with '*'
1999-11-03 06:53:07 +00:00
dcone%netscape.com 9afa584921 Fixed a divide by zero crasher, and cleaned up borders. r=buster 1999-11-03 05:46:01 +00:00
pierre%netscape.com ebbae25c8c Fix from py8ieh=bugzilla@bath.ac.uk for bugs 12765 and 12766. Updated link/visited/out-of-date declarations for hover/focus/active. r=me 1999-11-03 03:19:04 +00:00
akkana%netscape.com 2274aa9a8f Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana 1999-11-03 03:08:04 +00:00
nisheeth%netscape.com 0db470912b r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered. 1999-11-03 01:48:54 +00:00
rods%netscape.com 711ce3c68a put quotes around all button i.e. type="button"
rearranged all focus,hover & active rules and put them in that order.
r=kmcclusk, part of 14951
1999-11-03 01:01:55 +00:00
kipp%netscape.com ec28ac0c5c r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
kipp%netscape.com bfb8a951ea r=troy; Removed old garbage code that referred to an unused symbol from nsHTMLParts.h 1999-11-03 00:41:42 +00:00
mjudge%netscape.com c4fafc566c small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com 89ebbd5bc1 Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates
multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
1999-11-03 00:11:40 +00:00
rods%netscape.com dcb84d1cc1 Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
rods%netscape.com f47c6d02f7 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
rods%netscape.com 9600847e2c Combos now size correctly when the size is specified via style
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
kmcclusk%netscape.com c90004966e Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com.
1999-11-03 00:01:13 +00:00
rods%netscape.com 4e35b1b763 removed a line that wasn't needed and caused a warning r=kmcclusk 1999-11-02 23:54:40 +00:00
norris%netscape.com 209ec05bae Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
kipp%netscape.com 474c54bfba Fixed up comments in test file list 1999-11-02 23:43:25 +00:00
kipp%netscape.com 2bacd78cfe r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property 1999-11-02 23:42:52 +00:00
pinkerton%netscape.com f18c0fe485 rewrote item detection code to handle the case where the toolbar isn't in a frame that is at 0,0 (like windows with the menu bar above the personal toolbar). (r=saari, bug #17800). 1999-11-02 23:42:16 +00:00
kipp%netscape.com 9d26ed588b r=troy; Added a new frame property atom 1999-11-02 23:42:13 +00:00
pollmann%netscape.com f4891ec6b4 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com f3a1d70ede Fixed bug 17698 - prepended srcdir to each of the resources being installed 1999-11-02 15:53:17 +00:00
kipp%netscape.com 4b3b48640c fixed bug 15316 by tweaking the html style sheet as the author of the bug suggested 1999-11-02 15:49:50 +00:00
kipp%netscape.com d4c6233f05 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
karnaze%netscape.com 725609234f ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +00:00
buster%netscape.com b51aaa4e61 bug 17727 ([dogfood] Password not showing stars for default values unless we click inside the field.)
r=brade

change is in nsGfxTextControl.cpp.  I used to just blindly set the text of the underlying text frame.
Now I check if it's a password field, and replace the display text with '*' if it is.
1999-11-02 15:12:47 +00:00
rods%netscape.com 3b737b740e updated the tests 1999-11-02 14:51:20 +00:00
rods%netscape.com 0251064ab9 initial 1999-11-02 14:44:55 +00:00
warren%netscape.com 2a827fc8c2 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
waterson%netscape.com c0f040a021 Fix two more leaks that I forgot to check in. 1999-11-02 06:40:38 +00:00
troy%netscape.com 5ba3f2f0b9 r=pierre@netscape.com
Fix compiler warning
1999-11-02 06:07:12 +00:00
troy%netscape.com abc0ac053f Real fix for my build bustage. Kipp had commened the offending code out to
keep the build going
1999-11-02 06:06:46 +00:00
nisheeth%netscape.com 9ae0c53b5f r=nisheeth. Fix for bug 12323. Thanks to Ian Hickson (py8ieh=bugzilla@bath.ac.uk) for the patch. Only lowercase chars are accepted in the stylesheet PI. 1999-11-02 05:49:57 +00:00
troy%netscape.com 29fb654d25 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
waterson%netscape.com 6bd92a7a6b Fix two leaks courtesy evaughan. 1999-11-02 05:36:08 +00:00
tbogard%aol.net e76efd1cd3 Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt. 1999-11-02 05:14:27 +00:00
pinkerton%netscape.com 6c48babf84 making the drop feedback be 2 pixels wide, not one (r=saari). 1999-11-02 03:55:44 +00:00
pinkerton%netscape.com 8e90a3e9c2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
pinkerton%netscape.com ed9d685bb0 add ability to have a sub-frame (such as an inner box) be the area which is where the draggable content resides. 1999-11-02 03:54:24 +00:00
pinkerton%netscape.com 4d46f38039 add new drop area attribute for identifying subframes of a toolbar where the real content is. 1999-11-02 03:53:58 +00:00
pollmann%netscape.com 59640f2e44 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com ce61901fde Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
pinkerton%netscape.com 54193af6af allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki). 1999-11-02 01:38:01 +00:00
troy%netscape.com aa9c75655f Fixed problem with GetFrameName() being defines in non-debug build 1999-11-01 23:12:32 +00:00
kipp%netscape.com 61db80a036 r=rods; bug=17518; I updated the html.css file to select on 'a[href]' instead of 'a' so that the focus properties and related style properties would only apply to anchors with href's 1999-11-01 22:54:14 +00:00
kipp%netscape.com f60a9be93d r=troy; fixed compiliation issue for debug builds 1999-11-01 22:45:20 +00:00
kipp%netscape.com 1169709b0f r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear 1999-11-01 22:38:17 +00:00
kipp%netscape.com 93db0c0804 latest and greatest tests for block dom functions 1999-11-01 22:36:42 +00:00
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com 6e01f6ce6e Check to see if the option being added has the "selected" property, if it
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
kipp%netscape.com c4289ca79d Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com 7bcba871ef r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker 1999-11-01 15:36:02 +00:00
kipp%netscape.com d656b82be2 r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs... 1999-11-01 15:32:37 +00:00
kipp%netscape.com 04a9e2451d Disabled debug noise I accidently checked in (whoops!) 1999-11-01 15:31:04 +00:00
kipp%netscape.com 0699f8cc22 r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737) 1999-11-01 15:24:57 +00:00
kipp%netscape.com 7c3c6240fe Added address information to the dump content diagnostic code 1999-11-01 15:23:06 +00:00
kipp%netscape.com 42d72e139f Added another frame property 1999-11-01 15:22:25 +00:00
jfrancis%netscape.com 307ac216f2 fix for bugs: 16724, 16855; r=sfraser 1999-11-01 15:15:56 +00:00
troy%netscape.com 6a6582af16 b=15742. Changed Reflow() to invalidate the child's bounds if we're forced
to do a second reflow because we didn't correctly predict whether the vertical
scrollbar was needed. Because the second reflow changes the display width we
need to repaint
1999-10-31 04:04:32 +00:00
troy%netscape.com 29baf3aea4 b=17507. Changed Reflow() to use "available height" instead of "computed
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
1999-10-31 03:39:24 +00:00
troy%netscape.com d89413c6c9 b=17573. Changed mRowIndex to be signed integer (was unsigned integer) but
field. This allows it be negative, which some of the table code is depending
on
1999-10-31 03:15:52 +00:00
jband%netscape.com d5a463b686 fix typo that was causing bustage on some compilers 1999-10-31 03:02:43 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
beard%netscape.com b7336b7219 MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com 568c1adfff huge performance work for text controls
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus.  at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
1999-10-30 16:33:00 +00:00
buster%netscape.com 6d9ca51598 added pseudo style for single line text controls
bug 14727
r=rods
1999-10-30 16:31:11 +00:00
buster%netscape.com c1b8a96276 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com 072fe15daf added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
troy%netscape.com 56620e9b5a Added nsHTMLReflowState.h 1999-10-30 16:16:45 +00:00
troy%netscape.com b513453f89 Updated to not export nsIFrameReflow.h 1999-10-30 02:53:36 +00:00
troy%netscape.com b2025a682a Changed to not export nsIFrameReflow.h 1999-10-30 02:52:43 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com e634256817 Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement(). 1999-10-30 01:31:49 +00:00
waterson%netscape.com 183624d925 '#if 0' DOM crawling code in toolbar frame to avoid over-eager generation of content model from RDF. GetElementsByTagName() is evil! r=pinkerton,hyatt 1999-10-30 01:21:44 +00:00
mjudge%netscape.com 3aec561aba reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null 1999-10-29 23:12:44 +00:00
mjudge%netscape.com 17c9ff17c4 i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set. 1999-10-29 23:07:07 +00:00
evaughan%netscape.com 86fd1321dd Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
karnaze%netscape.com a641b5aa39 new regression test 1999-10-29 20:47:33 +00:00
karnaze%netscape.com fb5f1b2e3b bug 17375 - better checks and casting before calling DidAppendRow 1999-10-29 20:25:13 +00:00
akkana%netscape.com a538ace307 Only output the xif.xif debug file if DEBUG_XIF is defined. Requested by sfraser 1999-10-29 19:36:30 +00:00
vidur%netscape.com fa9b6af7f8 Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd 1999-10-29 19:07:24 +00:00
kipp%netscape.com f5ee0b886e Fixed solaris build bustage 1999-10-29 15:20:20 +00:00
troy%netscape.com 732b6f429c Space reduction. We now save 8 bytes per row frame by eliminating the max
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
kipp%netscape.com 6f71ddcd0e r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies. 1999-10-29 14:39:48 +00:00
kipp%netscape.com 87c4e2884c r=troy; fixed a crash bug in the debug logic found while fixing 12958 1999-10-29 14:36:00 +00:00
kipp%netscape.com 5f3b41ae43 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +00:00
kipp%netscape.com 50dc6c6dba r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!) 1999-10-29 14:34:53 +00:00
kipp%netscape.com 97e2826bf2 r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right 1999-10-29 14:34:01 +00:00
kipp%netscape.com 32ee25122e r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +00:00
kipp%netscape.com c6a4f6f131 r=troy; use new line-layout api to help with some resize-reflow optimization bugs 1999-10-29 14:32:11 +00:00
rods%netscape.com e6613c94df Allows radiobuttons to remove themselves from the named radio group
when deleted factored the code
r=kmcclusk, bug 17418
1999-10-29 13:56:30 +00:00
rods%netscape.com 388b0dc47d removes itself from the radio group when it is destructed
r=kmcclusk, bug 17418
1999-10-29 13:54:58 +00:00
rods%netscape.com d7adceba3c clears the the checked item on removal
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +00:00
kin%netscape.com 46b69e20ca Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
troy%netscape.com 9b14cec570 Fix for bug #16649. Didn't actually change anything. Just restored some
code that was clobbered by revision 3.153
1999-10-29 04:57:02 +00:00
kipp%netscape.com f434122964 r=troy; fixed code to properly remove reflowc ommands when cancelling 1999-10-29 01:53:56 +00:00
waterson%netscape.com 19c45cdb0d Bug 15146. Remove usage of nsIXUL[Child|Parent]Document, nsIXULDocumentInfo. Now obsolete with brutal sharing. r=hyatt 1999-10-29 01:19:20 +00:00
kipp%netscape.com c60d777027 New tests (not part of any build) 1999-10-29 00:59:41 +00:00
rbs%maths.uq.edu.au edddebbc26 Catching up with recent changes of the nsIFrame API 1999-10-28 22:30:28 +00:00
rods%netscape.com 022efe1d62 Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com 498c519a58 Elimninated compiler warning 1999-10-28 14:46:41 +00:00
troy%netscape.com f7a1247e17 Eliminated compiler warning 1999-10-28 14:46:06 +00:00
troy%netscape.com d606fe7e0e Added more diagnostic code 1999-10-28 14:38:14 +00:00
kipp%netscape.com 050d1f0711 bug=17320; Fixed a purify warning 1999-10-28 14:33:34 +00:00
dp%netscape.com d3a1b6ca4d Removing use of mRefCnt directly. Also, removed all use of refcounted
variable as creations were always refcounted. r=kipp
1999-10-28 11:42:15 +00:00
waterson%netscape.com 80dd917abc Unix filenames are case-sensitive. 1999-10-28 04:36:04 +00:00
karnaze%netscape.com 30362f5287 simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy 1999-10-28 04:09:39 +00:00
karnaze%netscape.com 8b2eae90d5 added files: mozilla/layout/html/table/src/nsTableBorderCollapser.cpp 1999-10-28 04:06:36 +00:00
karnaze%netscape.com b9f54b1b82 new class for collapsing borders, extracted from nsTableFrame, r=troy 1999-10-28 03:51:55 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
nisheeth%netscape.com 9a3cd99292 r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny. 1999-10-28 01:50:37 +00:00
nisheeth%netscape.com c35d1635e7 r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix. 1999-10-28 01:20:34 +00:00
troy%netscape.com 574edf6941 b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +00:00
kipp%netscape.com 0c6d8445a7 r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code... 1999-10-27 23:01:16 +00:00
nisheeth%netscape.com 5de3b69218 r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations. 1999-10-27 22:45:05 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
kipp%netscape.com 2305d254f3 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze%netscape.com 990f5ccf18 hello 1999-10-27 15:55:31 +00:00
vidur%netscape.com 200fbfdedd Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki. 1999-10-27 14:03:15 +00:00
troy%netscape.com e2dfeedb8d Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com 8b70d1eabe Change to some assertions in debug mode 1999-10-27 00:53:15 +00:00
rods%netscape.com 986d740c9d At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
rods%netscape.com a1997ce8aa removed an unused variable and an extra decl and call to remove two warnings
r=none
1999-10-26 23:28:51 +00:00
rods%netscape.com 31eba9c93d changed param in the initializer to aContent instead of nsnull
r=kmcclusk,b=17015
1999-10-26 23:21:14 +00:00
norris%netscape.com b019c6ed88 Fix 16836 "Security error accessing DOM elements inside an IFrame"
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
1999-10-26 22:45:32 +00:00
vidur%netscape.com 6b60c967e8 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com 318a3694ea Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp 1999-10-26 14:55:51 +00:00
dcone%netscape.com 610d17b6f7 Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
rods%netscape.com db2be0fd32 addedmore tests 1999-10-26 14:16:15 +00:00
rods%netscape.com 3aa55edff4 initial add 1999-10-26 14:15:51 +00:00
rods%netscape.com e2899888ec The button "active" state needed one more pixel width in the border
r=dcone,b=17154
1999-10-26 14:05:49 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com 93d5a4e391 minor changes to previous checkin to handle css sizing like NavQuirks
b=6695,r=none
1999-10-26 04:29:20 +00:00
rods%netscape.com 41986a9373 Completely rewrote the the Reflow for gfx text controls, factored out separate
reflow paths for NavQuirks and Standard mode. Also, Standard mode reflow now obeys
cols rows etc. Although there may be a little code bloat, this will make maintaining
the input text and textarea much much easier.
r=kmcclusk, b=6695,7461
1999-10-26 03:46:18 +00:00
pollmann%netscape.com f538382bcf Bug 17079: URL encoding of form element values should convert + to %2B and / as needed: r=nisheeth 1999-10-26 03:08:17 +00:00
waqar%netscape.com e9ff1627d1 # 15904
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +00:00
pinkerton%netscape.com dd98b3aad0 fix leak of grippy structs when toolbox went away. (r=bienvenu). 1999-10-26 00:22:48 +00:00
kipp%netscape.com 9ffd358aad Added missing resources 1999-10-25 23:06:05 +00:00
kipp%netscape.com 599e66084e Reduce the number of cases that trigger noisy debug noise 1999-10-25 23:05:31 +00:00
kipp%netscape.com 19d24d7c81 Turned off some more debug noise 1999-10-25 23:05:15 +00:00
kipp%netscape.com 20cde21ca2 r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101) 1999-10-25 23:04:51 +00:00
kipp%netscape.com 03da21ef69 r=troy, bug=10497; we now support min/max width/height for image elements 1999-10-25 23:03:50 +00:00
kipp%netscape.com 533bdbcf57 Quieted down some debug noise and added a missing newline to a printf 1999-10-25 23:02:43 +00:00
karnaze%netscape.com 34c79207ee bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size. 1999-10-25 22:49:51 +00:00
kmcclusk%netscape.com a0fcea442f Call nsIFormProcessor service if it has been registered for each value submitted.
bug=17060 r=karnaze@netscape.com
1999-10-25 22:48:43 +00:00
kmcclusk%netscape.com f130d1b22e Export nsIFormProcessor.h on Mac. bug=17060; r=karnaze@netscape.com 1999-10-25 22:29:22 +00:00
ftang%netscape.com fa733cae47 fix not enough gap between IME selection problem. r=erik 1999-10-25 22:18:41 +00:00
rods%netscape.com 420b914574 Export nsIFormProcessor.h on Linux. bug=17060 r=karnaze@netscape.com 1999-10-25 22:14:21 +00:00
kmcclusk%netscape.com 5cab73837a Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com 1999-10-25 22:06:41 +00:00
kmcclusk%netscape.com 2a89091816 Export nsIFormProcessor.h. bug=17060. r=karnaze@netscape.com 1999-10-25 22:01:19 +00:00
kmcclusk%netscape.com 55f521c7df First time checked in. Used to provide data during form submission. bug 17060. r=karnaze@netscape.com 1999-10-25 21:59:39 +00:00
kin%netscape.com bb3caa6434 Fix for bug #16701: Editor API Log playback of Insert HRule crashes in DOM code
and     bug #16848: DOM Crash
  - Removed extra NS_RELEASE(attrPrivate) call that was releasing
    attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com
1999-10-25 14:15:34 +00:00
rods%netscape.com 4278a38c5d added some more tests 1999-10-25 13:03:47 +00:00
karnaze%netscape.com b82e04d3b3 bug 5799 - considers percentage width of multiple cells when figuring width of auto table. 1999-10-25 04:34:28 +00:00
karnaze%netscape.com 5c43ee06ff new regression tests 1999-10-25 04:30:54 +00:00
sdagley%netscape.com 28c140b8cf Pre-emptive fix for Mac (and possibly some ports) build bustage - if you're going to use a variable to contain a debug output file name it helps if the variable is declared on all platforms the code compiles for. 1999-10-25 00:29:15 +00:00
rickg%netscape.com 9aeb6d28f8 fixed FMM (in debug code); r=kmcclusk 1999-10-24 23:48:00 +00:00
dp%netscape.com 861e340f92 bug#16742 Fixing delete on nsISupports. Thanks for patch from
<heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing
operating on refcnt directly. r=troy r=dp
1999-10-24 16:19:42 +00:00
rods%netscape.com 7386bbcbfe added more tests 1999-10-24 16:04:17 +00:00
rods%netscape.com 8899b58896 updated test 1999-10-24 15:07:41 +00:00
rods%netscape.com f5031d89a9 added file 1999-10-24 15:07:25 +00:00
rods%netscape.com 3208016f28 added more tests 1999-10-24 14:05:44 +00:00
troy%netscape.com dac6d1119c Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com ce952b6207 Space reductions for nsTableRowFrame. Changed mInitializedChildren to be a
frame state bit, and changed mMinRowSpan and mRowIndex to be packed into
one 32-bit field. Total savings of 8 bytes per row frame
1999-10-23 23:08:30 +00:00
rickg%netscape.com cb13f11556 fixed infinite-loop bug 17045 by conditioning control loop. r=buster 1999-10-23 03:06:19 +00:00
troy%netscape.com eeb0bee550 Changed Clear() to check for a shared node arena 1999-10-23 03:04:21 +00:00
nisheeth%netscape.com 2b68bfc6a2 r=troy. Siblings of frames get traversed iteratively during capturing/restoring of state. Earlier they were traversed recursively which was causing the call stack to grow too large. 1999-10-23 01:43:49 +00:00
beard%netscape.com cc072e2878 MLK: Fixed implementations of QueryInterface, AddRef, and Release to perform correct reference counting. bug=15380, r=evaughan 1999-10-22 22:50:01 +00:00
troy%netscape.com 918255682c Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp%netscape.com 705faaa709 Removed some more warnings 1999-10-22 14:51:41 +00:00
dcone%netscape.com 32f1e6a663 Fixed warning. 1999-10-22 13:29:06 +00:00
rods%netscape.com 480f8f104a adding test cases for form controls 1999-10-22 12:46:13 +00:00
braddr%puremagic.com bf95f832dd Change NS_COMFALSE to NS_ERROR_ABORT throughout the space manager.
r=smfr for these two files, and r=scc for the previous file
1999-10-22 06:49:50 +00:00
braddr%puremagic.com d4abf23615 Change NS_COMFALSE instances to NS_ERROR_ABORT's 1999-10-22 05:32:31 +00:00
valeski%netscape.com 918bac3736 fixing build warning 1999-10-22 04:48:31 +00:00
troy%netscape.com 88bfd78da3 Fixed compiler warning about unused variable 1999-10-22 04:01:23 +00:00
rods%netscape.com e9d10db2dd Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
1999-10-22 03:14:03 +00:00
troy%netscape.com d0190a7f34 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
evaughan%netscape.com 2694a59eba Fixed bug 9442. reviewed by Hyatt. 1999-10-22 00:38:22 +00:00
mjudge%netscape.com 3d3eb16f9a massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
kipp%netscape.com 1685387656 Whoops, missed this during my checkin :-( 1999-10-22 00:11:31 +00:00
karnaze%netscape.com 0a7d92fd24 new regression tests 1999-10-21 22:52:00 +00:00
karnaze%netscape.com 29a25a3900 bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone 1999-10-21 22:36:21 +00:00
karnaze%netscape.com b11b6cf67e bug 12012 - RemoveFrame was using stale style display. r=dcone 1999-10-21 22:33:30 +00:00
rods%netscape.com 6bd1234f0f changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
jst%citec.fi fc1c8f3ca2 Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com. 1999-10-21 22:20:37 +00:00
ftang%netscape.com 548649505f change the input method highligh code from 2 style to 4 styles. r=mjudge 1999-10-21 22:01:18 +00:00
kipp%netscape.com 54443e086b Added two new tests 1999-10-21 21:46:52 +00:00
mcafee%netscape.com c653aaccde Fixing evaughan's last change. r=law 1999-10-21 21:14:59 +00:00
brade%netscape.com 53bd007a4d add nsTextContentDataChange.cpp a=leaf@mozilla.org 1999-10-21 21:14:19 +00:00
rickg%netscape.com a774cf92d7 changed default font-size for viewsource; r=none; 1999-10-21 21:05:17 +00:00
mcafee%netscape.com 86f1e0d6ca Backing out evaughan's change which broke linux/solaris. a=mcafee 1999-10-21 21:05:02 +00:00
troy%netscape.com 57034a907a Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
kipp%netscape.com 29c7b60e60 r=troy; added nsTextContentChangeData to the build 1999-10-21 20:48:43 +00:00
kipp%netscape.com 5d9162ce80 Support navigators built-in image types internal-gopher-* 1999-10-21 20:48:04 +00:00
kipp%netscape.com a74943d540 Fixed percolation of nbsp's into the transformed buffer (bug 16886) 1999-10-21 20:47:36 +00:00
kipp%netscape.com 5ff3bcc409 r=troy; Optimize append text reflows to only reflow the new part of the text 1999-10-21 20:46:05 +00:00
kipp%netscape.com d6547a4baf moved debug logic for dumping reflow commands so that we can dump them without requiring the incremental reflow verification logic to run 1999-10-21 20:45:39 +00:00
kipp%netscape.com 870c8ad174 r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly 1999-10-21 20:44:58 +00:00
kipp%netscape.com d61d8f50a4 r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:44:22 +00:00
kipp%netscape.com 3587210728 r=troy; bugs: 15153, 13196; fixed problem with style-change reflows not being propogated properly; also fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:43:48 +00:00
kipp%netscape.com 8ed5e4e472 Export the gopher images 1999-10-21 20:42:18 +00:00
kipp%netscape.com 8ea39cafa7 Use nsTextContentChangeData to pass down to the reflow logic the effect on the text 1999-10-21 20:40:51 +00:00
kipp%netscape.com 70376de659 new file for text reflow optimiziation 1999-10-21 20:40:25 +00:00
rickg%netscape.com 78febf230b changed default font-size for viewsource; r=none; 1999-10-21 20:34:02 +00:00
kipp%netscape.com dadfeff627 r=troy; Added a property for max-element-size storage for fixing bug 13196 1999-10-21 20:23:05 +00:00
kipp%netscape.com 6485ca4fb3 r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
evaughan%netscape.com b50e520eca Fixed some warnings: reviewed -hyatt 1999-10-21 20:17:51 +00:00
kipp%netscape.com 6da34edb78 new 1999-10-21 16:20:53 +00:00
pierre%netscape.com fc6e72a505 Enabled MOZ_PERF_METRICS in the Mac build: - updated DefinesMozilla.h - fixed stopwatch.cpp - created libutilIDL.mcp - added StopWatch exports to libutil.exp - added xpcom.shlb to libutil.mcp - added libutil.shlb to htmlparser.mcp, layout.mcp, webshell.mcp 1999-10-21 05:41:45 +00:00
troy%netscape.com 01cf059769 r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
nisheeth%netscape.com 749dc60e08 Should not affect build. Include stopwatch object code if MOZ_PERF is defined. 1999-10-21 02:47:56 +00:00
karnaze%netscape.com f6bb8a295b bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
rods%netscape.com 65832c10f9 removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
rods%netscape.com 7e0d0084d1 added check for null frame. The child frame can be null when a comment node exists as
one of the children of the select. r=kmcclusk, Bug #16355
1999-10-20 23:35:38 +00:00
pierre%netscape.com a4d21ee991 #15636 "Cleanup build warnings". Some compilers issued a "hidden virtual method" warning because only one of the two implementations of GetDesiredSize() was overridden. r=slamm. 1999-10-20 23:30:29 +00:00
rods%netscape.com 7c9efc7940 added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
akkana%netscape.com c17c0e1ed8 15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee 1999-10-20 20:20:38 +00:00
mcafee%netscape.com a2b128caf0 Reviewing and applying pavlov's fix for extra row in color palette. (14315) 1999-10-20 20:14:13 +00:00
putterman%netscape.com d23f1aee54 Fixes 15771 and 10603. Scrolling up in tree widget doesn't lose treeitems. r=hyatt. 1999-10-20 19:48:58 +00:00
scc%netscape.com fcc6a10651 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
kipp%netscape.com 6a175cffab new 1999-10-20 15:31:51 +00:00
kipp%netscape.com 4c8e33c6e4 Use local images 1999-10-20 15:31:26 +00:00
kipp%netscape.com 6c78bec768 Made test run locally without a net 1999-10-20 15:31:11 +00:00
dcone%netscape.com f7a59c1299 Fixed the rounded border rendering code to obey solid, and none style types.
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
karnaze%netscape.com 6c97985da7 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
evaughan%netscape.com 0dc0b76629 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
kipp%netscape.com 82503e1e88 Added new test 1999-10-19 23:53:31 +00:00
pollmann%netscape.com 3f7f96a925 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
kipp%netscape.com 806ab6962c Added more tests 1999-10-19 23:04:55 +00:00
kipp%netscape.com 82ba23d0a5 new 1999-10-19 23:04:33 +00:00
kipp%netscape.com db2e83b3f1 Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297) 1999-10-19 23:04:19 +00:00
kipp%netscape.com c0b2e2a313 update to new nsTextTransformer api 1999-10-19 23:01:58 +00:00
kipp%netscape.com 0c68b7cb66 r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
kipp%netscape.com aae6798a39 Init text-transformer during module setup to save cycles (bug 7455) 1999-10-19 23:01:23 +00:00
nisheeth%netscape.com f485a1ad04 Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
rods%netscape.com 9903fdab4a The code that checked to see whether it should explicitly set focus on the gfx's containing widget
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
dp%netscape.com 9874dc7ab6 Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +00:00
tbogard%aol.net 28353ad9de Ooops, last night removing one warning uncovered another. r=gimpy 1999-10-19 21:34:21 +00:00
rods%netscape.com 4c51b590ad cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com 62c0f338c7 fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770 1999-10-19 19:58:07 +00:00
rods%netscape.com 55cea5cd58 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
troy%netscape.com 2b99b1cbdc b=16781, r=vidur@netscape.com
Re-ordered destructor to delete maps after destroying the frame hierarchy
1999-10-19 19:06:37 +00:00
pollmann%netscape.com 08340e215a Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
troy%netscape.com fb99c83e01 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
rods%netscape.com 7f93cd8c0e changed font-family and margin settings for input text and textareas
r-kmcclusk, Bug #4072
1999-10-19 13:39:59 +00:00
rods%netscape.com eae2d12d66 Changed the sizing comparison for NavQuirks in debug mode to get the font family and size
for the input text  and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
1999-10-19 11:59:01 +00:00
rods%netscape.com 5a4c5ae518 Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com 8815aee70f Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com 354b09bef7 Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
tbogard%aol.net fae096b67f Removing gimpy's warnings. r=gimpy. This brings us down to 200. :) 1999-10-19 07:50:55 +00:00
troy%netscape.com 665c1e8f05 Changed a comment 1999-10-19 05:00:30 +00:00
troy%netscape.com c327acc8a4 Change to code that's not currently being used. Before it gets used it
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com a5b7c8db19 Didn't actually change anything. Just moved two functions up higher in the
file to make the Solaris compiler happy...
1999-10-19 04:50:34 +00:00
pierre%netscape.com 5832ec669f Fix a crash in Mac embedding apps: HasGfxScrollBars() checks for null pointer after calling GetPrefs(). 1999-10-19 03:00:47 +00:00
pierre%netscape.com c070ed6434 Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann. 1999-10-19 00:31:45 +00:00
troy%netscape.com a5e197eace r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
the frame manager
1999-10-18 22:20:37 +00:00
rods%netscape.com 64684fc9a3 Links will now scroll into view when they get focus and anchors now respond
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com 5c139a65a1 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
troy%netscape.com 6b4f6dbd3b Removed delete operators (they had no implementation, they were private so
they wern't accidently called), because HP compiler generated an error if
new operator was public but delete operator was private
1999-10-18 20:16:49 +00:00
troy%netscape.com f8566a0efb b=16615. Two line change. Added check for case of root node being a leaf.
The rest of the changes are NOT yet in use. They willbe reviewed by Kipp before
they're turned on
1999-10-18 19:02:09 +00:00
akkana%netscape.com f4660ce231 Remove two ifdef DEBUG_akkana lines that were left in when someone
changed the implementation of ConvertContentToXIF, so that I can
compile again.  This won't affect anyone but me.  r=kipp
1999-10-18 19:01:56 +00:00
troy%netscape.com a0b9c5845c b=16652, r=troy@netscape.com
Patch from Johnny Stenback that breaks a weak link reference
1999-10-18 19:00:49 +00:00
karnaze%netscape.com 67538f07ec added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze%netscape.com a5e6b0502a bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response. 1999-10-18 13:47:01 +00:00
karnaze%netscape.com c6317a41b4 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
rickg%netscape.com 91b4e307f9 forgot to check this in for viewsource; bug13536; r=harish 1999-10-18 00:46:33 +00:00
karnaze%netscape.com 486b3db316 new regression tests. does not affect build. 1999-10-17 23:26:02 +00:00
karnaze%netscape.com ff810222da new regression test, doesn't affect build. 1999-10-17 21:46:13 +00:00
shaver%netscape.com e8f524a3ed Added support for type="radio" (pick-one) XP menus.
Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)
1999-10-17 21:37:37 +00:00
karnaze%netscape.com ab7db6cc60 new regression test. does not affect code. 1999-10-17 05:17:41 +00:00
karnaze%netscape.com 7ae2b118d8 new regression test 1999-10-17 03:42:37 +00:00
troy%netscape.com 14ee1a1932 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze%netscape.com d26165e530 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
karnaze%netscape.com 4df052cd47 bug 11321 - the frame constructor sets the primary frame when an anonymous table or row group frame is involved. 1999-10-17 03:15:13 +00:00
rickg%netscape.com 230bcb8c24 WIP bug13536; r=peterl; this code is not used yet 1999-10-16 18:22:24 +00:00
troy%netscape.com 43e1137d33 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
karnaze%netscape.com 07b28b0fdf added 2 additional file lists to regression tests to work around new javascript bug. 1999-10-16 05:26:22 +00:00
peterl%netscape.com 1634c730fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com 6e47ab221b Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
rickg%netscape.com 8bdd92edf1 WIP for bug13536; r=plinss 1999-10-16 00:39:24 +00:00
kipp%netscape.com ad778d6889 r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com 88cf2d89c8 r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem 1999-10-15 23:35:10 +00:00
kipp%netscape.com df637716d1 Wiped out another warning 1999-10-15 23:29:21 +00:00
kipp%netscape.com f1de715e5e new 1999-10-15 23:25:02 +00:00
peterl%netscape.com 757c0b5f01 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com dd4552d22a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
peterl%netscape.com 65ccea28a4 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
troy%netscape.com 113e2f5178 Added some new code that isn't being used 1999-10-15 22:53:24 +00:00
waqar%netscape.com 6f1456a88d #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
1999-10-15 22:18:23 +00:00
kipp%netscape.com 0d3284929f Nuke some more warnings 1999-10-15 21:18:32 +00:00
shaver%netscape.com e220469f04 Add support for type="checkbox" in <menuitem>.
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt
1999-10-15 21:13:24 +00:00
kipp%netscape.com 96a343d96c Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com 019d25a0ef nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com 9d23a1dcea bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1.  This saves a few allocations and about 60 bytes per text control.

bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:38:29 +00:00
buster%netscape.com a43629a285 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com cd84903c09 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
buster%netscape.com 27c06f0a19 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
rods%netscape.com f83fa03f9d Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
hyatt%netscape.com 91b6e1598b Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com 2c6c5d65d1 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
karnaze%netscape.com af1a63e33f new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com 7c57ea6ff0 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy%netscape.com 9c8c55333f Patch from jst@citec.fi r=troy@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
1999-10-15 03:37:10 +00:00
troy%netscape.com 04abe430df Space savings. r=kipp@netscape.com
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node
1999-10-15 03:18:28 +00:00
troy%netscape.com 688c155440 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
peterl%netscape.com 31e48e3bdc moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com f9c3c010dc Removed two more warnings 1999-10-15 00:29:28 +00:00
shaver%netscape.com e362bed5fa Fix for 15480 (menu reflow from content change).
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)
1999-10-14 23:59:18 +00:00
mjudge%netscape.com 9cf7094f5f oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kmcclusk%netscape.com 601d5e377d Set vertical-align:baseline for input[type=image] to make it compatible with Nav 4.x
bug #16370; r=rods@netscape.com
1999-10-14 23:48:02 +00:00
pollmann%netscape.com 7c60c9a28d Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd 1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com 2122c10911 When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com
1999-10-14 23:45:02 +00:00
kmcclusk%netscape.com 8216078009 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pepper%netscape.com 4655f53a5f Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
kipp%netscape.com 540d7bc136 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com 5bf72a1120 Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines 1999-10-14 23:10:59 +00:00
kipp%netscape.com ec14991303 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed 1999-10-14 23:10:03 +00:00
kipp%netscape.com 444b9e431c r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data 1999-10-14 23:08:58 +00:00
kipp%netscape.com 11fc60f14d r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes 1999-10-14 23:08:31 +00:00
kipp%netscape.com 8c6fbed636 r=troy; Added a #define to prevent future code crashes 1999-10-14 23:08:04 +00:00
kipp%netscape.com 6afbea515b Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com bd9000ea54 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
rods%netscape.com 65cddaa40f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
hyatt%netscape.com 270cb15012 Fixing warnings. r=travis 1999-10-14 12:02:32 +00:00
tbogard%aol.net 3b567a8691 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt. 1999-10-14 10:58:04 +00:00
tbogard%aol.net 49c910aa7a Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
tbogard%aol.net 9839174e85 Adding new XUL tags, "iframe", "browser", "editor". r=hyatt. 1999-10-14 10:54:32 +00:00
troy%netscape.com a71b08f611 b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
troy%netscape.com 8f6a874ca9 b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
1999-10-14 04:47:18 +00:00
troy%netscape.com dde4d695d7 Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
karnaze%netscape.com 48636f76cd bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com 17bd205286 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com 777ed186ad new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com e9c78ceb0d moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com f479d5d074 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
peterl%netscape.com eee3a86181 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56:30 +00:00
rbs%maths.uq.edu.au 8da96e7a6e [MathML] Fix to get the scriptlevel style context back, and minor cleanups. 1999-10-13 15:10:14 +00:00
karnaze%netscape.com 6603bb1392 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty. 1999-10-13 14:44:22 +00:00
karnaze%netscape.com 0ca94b84af removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk 1999-10-13 14:39:33 +00:00
karnaze%netscape.com a97d9c7bca added comments 1999-10-13 14:36:28 +00:00
waterson%netscape.com be3ea9dd42 Factor out dirtying of tree, fixed bug with dynamic column creation due to row addition. r=hyatt 1999-10-13 08:53:57 +00:00