Commit Graph

5482 Commits

Author SHA1 Message Date
beard%netscape.com
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
rods%netscape.com
9908d1fd0b Should always return true, the caching of the "true" value is most important. Failing on getting the
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com
744098909e Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
rods%netscape.com
1bb3e4524f Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com
1d9e5aa730 Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
karnaze%netscape.com
fcfef2de8f disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth 1999-11-12 04:41:34 +00:00
jdunn%netscape.com
d2fd69dd5d Fix for AIX build bustage. Unfortunately the compiler requires that if
a class includes other classes, then the other classes must be defined
by the time the enclosing class is.  In this case nsDST includes
NodeArena, LeafNode & TwoNode and so therefore those classes must be
defined in nsDST.h.

r troy: Note, Troy didn't APPROVE of the fix (since it isn't pretty) but
        he has graciously allowed it in order to help AIX development.
        He did believe that it wouldn't hurt to put the change in.
1999-11-12 03:52:50 +00:00
vidur%netscape.com
5c6aaac40c Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur%netscape.com
d04f1c5fe8 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
vidur%netscape.com
375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
kmcclusk%netscape.com
199bc6a632 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
waterson%netscape.com
1c3a38512c Bug 18544. Make sure to destroy mDisplayFrame before re-creating. r=buster 1999-11-11 22:40:25 +00:00
rods%netscape.com
aae00487b2 added empty impl of DoneAddingContent
b 17695, r=self
1999-11-11 22:25:23 +00:00
buster%netscape.com
28e0861f1c partial fix for bug 11537, r=kmcclusk (sucker!)
also checked in some webshell redesign work, but that is #ifdef'd out (also reviewed by kevin, double-sucker!)
1999-11-11 22:23:32 +00:00
rods%netscape.com
0e5779e8b4 notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com
dfebb59b9d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
rods%netscape.com
717706a90f Added method "DoneAddingContent" to notify the select that all the chiild are there
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com
5ea1ca4cf6 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
waterson%netscape.com
8cd7359a98 Bug 18542. Make sure that we don't over-write aContentStyle arg when GFX scrollbars are turned on. r=evaughan 1999-11-11 21:48:17 +00:00
troy%netscape.com
ca3af30424 Re-order things so we set the content object's document pointer after
initializing it. This eliminates some useless "content changed" notifications
1999-11-11 21:43:15 +00:00
jdunn%netscape.com
0c7a249849 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
troy%netscape.com
76b0c270fb b=17798. Changed WipeContainingBlock() to remove the frames it is deleting from
the content to frame map and undisplayed content map
1999-11-11 21:08:32 +00:00
karnaze%netscape.com
8811cf8314 put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
troy%netscape.com
2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
karnaze%netscape.com
9ae168b719 fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +00:00
karnaze%netscape.com
ddab7e05d7 new regression test not affecting build. 1999-11-11 00:56:50 +00:00
av%netscape.com
ca533a122e Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
evaughan%netscape.com
57b995359f Fixed gfxscrollbar bugs #16460 and #15722 1999-11-10 23:51:44 +00:00
pollmann%netscape.com
76bab40ed9 Bug 17656: Checking in jst@citec.fi fix to make Framesets resize correctly. A: chofmann R: pollmann 1999-11-10 23:50:38 +00:00
brade%netscape.com
e7a165a4c4 remove empty_doc.html (bug #15442) r:Jerry.Kirk@Nexwarecorp.com 1999-11-10 14:48:36 +00:00
gagan%netscape.com
9da0532843 Fix for 7533. The mechanism of specifying charset in content-type of a post data was breaking a lot of websites. I have changed the default to not send charset. If this has to be changed again this should go thru a pref (See bug 18431) 1999-11-10 08:58:20 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
waterson%netscape.com
2a59335d1a Bug 18257. Fix leak of nsIDocument in form submission. r=karnaze, a=chofmann 1999-11-10 00:30:09 +00:00
sspitzer%netscape.com
3c1562a510 fix warning. 1999-11-10 00:09:32 +00:00
rods%netscape.com
88270c56e5 I checked in a bad fix. This is correct. I have had Chris K. check it over.
Migrains will do that to you. for bug 18039
1999-11-09 23:49:37 +00:00
rods%netscape.com
07460b6c29 Fixes bug 18039, it doesn't call WipeContainingBlock for select frames
This needs a better fix, filed bug 18366
r=kmcclusk
1999-11-09 22:36:05 +00:00
karnaze%netscape.com
e7e62d5d31 new regression test not affecting build. 1999-11-09 21:06:13 +00:00
karnaze%netscape.com
c3802b65a6 new regression test, not affecting build. 1999-11-09 18:45:09 +00:00
rods%netscape.com
f14dbd84fb Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
nisheeth%netscape.com
ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
karnaze%netscape.com
af380a98b3 new regression tests not affecting the build. 1999-11-08 05:25:31 +00:00
karnaze%netscape.com
dc34d70b4b bug 18204 - null pointer check fixes crash. permission from chofmann. 1999-11-08 05:24:27 +00:00
karnaze%netscape.com
0652942e6a new regression tests - does not affect build. 1999-11-07 20:02:08 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com
1ac4b75dcc Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00
karnaze%netscape.com
308a8162be bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed. 1999-11-05 22:36:59 +00:00
karnaze%netscape.com
2018136f30 crash on abc - calls EnsureColumns upon entering reflow if appropriate 1999-11-05 22:33:04 +00:00
mjudge%netscape.com
cdbbab7322 fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on" 1999-11-05 22:09:16 +00:00
kin%netscape.com
69f6a5d415 Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann
1999-11-05 17:42:21 +00:00
mcafee%netscape.com
f535f208dc Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann. 1999-11-05 01:29:49 +00:00
pollmann%netscape.com
210784fe9b Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com
94cb5b1e6b Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
sfraser%netscape.com
13525c0af2 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
kipp%netscape.com
ca39ca7b10 r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued 1999-11-04 19:34:36 +00:00
troy%netscape.com
f7bc2743c0 b=#17315. Changed DeletingFrameSubtree() to also look at the continuing
frames.
1999-11-04 05:23:11 +00:00
rods%netscape.com
b9c4d5bce7 added two more tests 1999-11-03 22:14:42 +00:00
rods%netscape.com
2e1d871185 Initial checkin of test 1999-11-03 22:14:25 +00:00
kipp%netscape.com
2e252d2512 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
joki%netscape.com
1675be15e0 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
96ad89ba3a 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
d871f3d1eb Fixed a divide by zero crasher, and cleaned up borders. r=buster 1999-11-03 05:46:01 +00:00
pierre%netscape.com
1f9d8614e7 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
rods%netscape.com
757136f521 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
ef6a9e0b86 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
3a943654b4 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
cb31827195 small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com
b73baec438 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
3f9ff89e9b 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
4dc1d549b0 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
0848659bb9 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
7872e769f6 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
e673e2cab5 removed a line that wasn't needed and caused a warning r=kmcclusk 1999-11-02 23:54:40 +00:00
norris%netscape.com
0871585c3d 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
e2bb12a0bf Fixed up comments in test file list 1999-11-02 23:43:25 +00:00
kipp%netscape.com
f6d66c6b92 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
pollmann%netscape.com
056ef7fb35 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
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
697d4955cf Fixed bug 17698 - prepended srcdir to each of the resources being installed 1999-11-02 15:53:17 +00:00
kipp%netscape.com
ad96ed9b56 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
c93281e841 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
4f2e6f666e ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +00:00
buster%netscape.com
a86bb86665 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
306d555281 updated the tests 1999-11-02 14:51:20 +00:00
rods%netscape.com
f51f8d8e2d initial 1999-11-02 14:44:55 +00:00
warren%netscape.com
332749d6fa 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
9e958a94b4 Fix two more leaks that I forgot to check in. 1999-11-02 06:40:38 +00:00
troy%netscape.com
961b91838a r=pierre@netscape.com
Fix compiler warning
1999-11-02 06:07:12 +00:00
troy%netscape.com
bb6a908cf9 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
troy%netscape.com
614cbe4d17 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
waterson%netscape.com
d1e196eb07 Fix two leaks courtesy evaughan. 1999-11-02 05:36:08 +00:00
tbogard%aol.net
c2a26335bd 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
pollmann%netscape.com
d349c3eeb6 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com
fa50777353 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy%netscape.com
92397272b4 Fixed problem with GetFrameName() being defines in non-debug build 1999-11-01 23:12:32 +00:00
kipp%netscape.com
3cf5efa95b 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
7c17169764 r=troy; fixed compiliation issue for debug builds 1999-11-01 22:45:20 +00:00
kipp%netscape.com
b8f8a97ca6 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
1641ad41c1 latest and greatest tests for block dom functions 1999-11-01 22:36:42 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com
1d9434ba93 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
2ac80aba87 Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com
80998e8d8c 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
9e50fa5b4f 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
3c7c76999f Disabled debug noise I accidently checked in (whoops!) 1999-11-01 15:31:04 +00:00
kipp%netscape.com
0a512d8393 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
troy%netscape.com
b0a2b142a1 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
65dd8985c3 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
d5a8f7fbf0 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
a23d0e23c7 fix typo that was causing bustage on some compilers 1999-10-31 03:02:43 +00:00
brendan%mozilla.org
f81d5969c6 (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
6b91420f5a MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com
4912e0cea4 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
377387d8d6 added pseudo style for single line text controls
bug 14727
r=rods
1999-10-30 16:31:11 +00:00
buster%netscape.com
01db582cb9 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
3dc0567e83 added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
troy%netscape.com
a12c3d6c5d 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
bc4b9ff0f5 Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement(). 1999-10-30 01:31:49 +00:00
mjudge%netscape.com
21ff71f017 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
039be939e6 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
59f89db51f new regression test 1999-10-29 20:47:33 +00:00
karnaze%netscape.com
ffad7cd1a6 bug 17375 - better checks and casting before calling DidAppendRow 1999-10-29 20:25:13 +00:00
vidur%netscape.com
da899667a9 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
c9a4533d6e Fixed solaris build bustage 1999-10-29 15:20:20 +00:00
troy%netscape.com
d3fa427eb2 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
06f88727ca 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
3409a3e7b1 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
24eed8d0c5 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +00:00
kipp%netscape.com
1b94ea5410 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
afdbdc1c10 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
f961e4b03a 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
911d3089e8 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
c728469462 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
2895baab71 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
6a19f546f2 clears the the checked item on removal
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +00:00
kin%netscape.com
74852c1b92 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
3019dd4b7e 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
4b3c19334b r=troy; fixed code to properly remove reflowc ommands when cancelling 1999-10-29 01:53:56 +00:00
kipp%netscape.com
f50bf0e598 New tests (not part of any build) 1999-10-29 00:59:41 +00:00
rods%netscape.com
c36411b6ff Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com
5d4fb4f980 Added more diagnostic code 1999-10-28 14:38:14 +00:00
kipp%netscape.com
ea416bdb68 bug=17320; Fixed a purify warning 1999-10-28 14:33:34 +00:00
waterson%netscape.com
a62e6fb8e1 Unix filenames are case-sensitive. 1999-10-28 04:36:04 +00:00
karnaze%netscape.com
57dc1ce399 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
62b3a73832 new class for collapsing borders, extracted from nsTableFrame, r=troy 1999-10-28 03:51:55 +00:00
braddr%puremagic.com
ea13be0a26 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
9c4e5b9c15 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
8765b06796 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
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 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
860e890d75 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze%netscape.com
ca0b2282bd hello 1999-10-27 15:55:31 +00:00
vidur%netscape.com
49f38b3cca 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
2ea886f3be 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
2e4ab18e9c Change to some assertions in debug mode 1999-10-27 00:53:15 +00:00
rods%netscape.com
7670a72df2 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
0e3f575b32 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
823ba975a6 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
cc328d32e6 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
1d327f48d2 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com
94bd218ec3 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
eb5d6cfd19 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
4938e06ae1 addedmore tests 1999-10-26 14:16:15 +00:00
rods%netscape.com
b4402bf832 initial add 1999-10-26 14:15:51 +00:00
rods%netscape.com
c4669d4de5 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
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
4754f30990 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
43a23b2871 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
de4b3acaeb 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
kipp%netscape.com
7e8c54090e Added missing resources 1999-10-25 23:06:05 +00:00
kipp%netscape.com
dc8f6cd4c4 Reduce the number of cases that trigger noisy debug noise 1999-10-25 23:05:31 +00:00
kipp%netscape.com
e04f117392 Turned off some more debug noise 1999-10-25 23:05:15 +00:00
kipp%netscape.com
193727f73e 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
a91fd5fcec 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
eab55ba562 Quieted down some debug noise and added a missing newline to a printf 1999-10-25 23:02:43 +00:00
karnaze%netscape.com
a7b3246a33 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
81a5d8a988 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
d6ff834d68 Export nsIFormProcessor.h on Mac. bug=17060; r=karnaze@netscape.com 1999-10-25 22:29:22 +00:00
ftang%netscape.com
0b2a09b76d fix not enough gap between IME selection problem. r=erik 1999-10-25 22:18:41 +00:00
rods%netscape.com
4f81411311 Export nsIFormProcessor.h on Linux. bug=17060 r=karnaze@netscape.com 1999-10-25 22:14:21 +00:00
kmcclusk%netscape.com
3ed49e6d43 Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com 1999-10-25 22:06:41 +00:00
kmcclusk%netscape.com
916d25b4fb Export nsIFormProcessor.h. bug=17060. r=karnaze@netscape.com 1999-10-25 22:01:19 +00:00
kmcclusk%netscape.com
23414862b3 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
rods%netscape.com
74fbf78e8c added some more tests 1999-10-25 13:03:47 +00:00
karnaze%netscape.com
0a98c8cf5b 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
897cf81220 new regression tests 1999-10-25 04:30:54 +00:00
rods%netscape.com
f472b7f71c added more tests 1999-10-24 16:04:17 +00:00
rods%netscape.com
9549e59a9e updated test 1999-10-24 15:07:41 +00:00
rods%netscape.com
dde0ac7b3f added file 1999-10-24 15:07:25 +00:00
rods%netscape.com
0c518c26f0 added more tests 1999-10-24 14:05:44 +00:00
troy%netscape.com
29963d8875 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
e828d1c0f3 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
ff94ca16ce fixed infinite-loop bug 17045 by conditioning control loop. r=buster 1999-10-23 03:06:19 +00:00
troy%netscape.com
f5b5939e28 Changed Clear() to check for a shared node arena 1999-10-23 03:04:21 +00:00
nisheeth%netscape.com
04ee464ef6 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
troy%netscape.com
f5ba346bdc Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a Removed some more warnings 1999-10-22 14:51:41 +00:00
dcone%netscape.com
c1a0029188 Fixed warning. 1999-10-22 13:29:06 +00:00
rods%netscape.com
ba38058bd1 adding test cases for form controls 1999-10-22 12:46:13 +00:00
valeski%netscape.com
ff2d2903ad fixing build warning 1999-10-22 04:48:31 +00:00
troy%netscape.com
d64bd701d2 Fixed compiler warning about unused variable 1999-10-22 04:01:23 +00:00
rods%netscape.com
3b52acd283 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
5d86678e7b 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
mjudge%netscape.com
7d0e807931 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
karnaze%netscape.com
2c99832a1a new regression tests 1999-10-21 22:52:00 +00:00
karnaze%netscape.com
01ebcb16d0 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
c5ef1c3310 bug 12012 - RemoveFrame was using stale style display. r=dcone 1999-10-21 22:33:30 +00:00
rods%netscape.com
23ceab24e7 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
ftang%netscape.com
e1475842c4 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
864bb2e148 Added two new tests 1999-10-21 21:46:52 +00:00
rickg%netscape.com
58f36b6e55 changed default font-size for viewsource; r=none; 1999-10-21 21:05:17 +00:00
troy%netscape.com
5230acb007 Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
kipp%netscape.com
af9da2ea96 Support navigators built-in image types internal-gopher-* 1999-10-21 20:48:04 +00:00
kipp%netscape.com
a66a206556 Fixed percolation of nbsp's into the transformed buffer (bug 16886) 1999-10-21 20:47:36 +00:00
kipp%netscape.com
584976d119 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
25bfd833f4 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
b10899223c 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
0d540807d5 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
568331e355 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
e9bf26f660 Export the gopher images 1999-10-21 20:42:18 +00:00
rickg%netscape.com
364d915c6d changed default font-size for viewsource; r=none; 1999-10-21 20:34:02 +00:00
evaughan%netscape.com
b6438a44bc Fixed some warnings: reviewed -hyatt 1999-10-21 20:17:51 +00:00
kipp%netscape.com
897f9ed9f9 new 1999-10-21 16:20:53 +00:00
troy%netscape.com
0959b411de 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
karnaze%netscape.com
60c25e67d8 bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
rods%netscape.com
ef783cc295 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
441e02909f 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
bcd4fef854 #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
a00139db0c 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
scc%netscape.com
e36b183d71 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
kipp%netscape.com
7bba09da58 new 1999-10-20 15:31:51 +00:00
kipp%netscape.com
febe317076 Use local images 1999-10-20 15:31:26 +00:00
kipp%netscape.com
014a3799c6 Made test run locally without a net 1999-10-20 15:31:11 +00:00
dcone%netscape.com
8c53e876bb 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
886b682461 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
a2bcc96c08 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
kipp%netscape.com
a02022ed21 Added new test 1999-10-19 23:53:31 +00:00
pollmann%netscape.com
bfbdf41a89 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
kipp%netscape.com
c4dba8ca2e Added more tests 1999-10-19 23:04:55 +00:00
kipp%netscape.com
0f9f609d96 new 1999-10-19 23:04:33 +00:00
kipp%netscape.com
a5c69dc5af 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
a03246a1e0 update to new nsTextTransformer api 1999-10-19 23:01:58 +00:00
kipp%netscape.com
effbb5992f r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
nisheeth%netscape.com
ef75c33b3c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
dp%netscape.com
23d1ad11a9 Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +00:00
rods%netscape.com
8874e3db0c cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com
634a39119e 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
b8cbe4bec7 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
troy%netscape.com
8ed2cc1d26 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
312e7468d9 Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
troy%netscape.com
abf8a1ff80 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00