Commit Graph

5490 Commits

Author SHA1 Message Date
nisheeth%netscape.com
84cc491cb1 r=karnaze. Fix for bug 18367. We set the primary frame for table rows to be the row frame for all cases now. Earlier, the anonymous table row group frame was getting set as the primary frame of rows inserted from script. 1999-11-23 02:06:39 +00:00
nhotta%netscape.com
cb6e7f733b Added error checking (result code and null pointer), bug 19469, r=ftang. 1999-11-23 01:21:32 +00:00
pierre%netscape.com
5d2edcd002 8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur. 1999-11-23 01:08:44 +00:00
pierre%netscape.com
36d3ba78e4 18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy. 1999-11-23 01:08:20 +00:00
pierre%netscape.com
096c23050e 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge. 1999-11-23 01:07:56 +00:00
pierre%netscape.com
cf8d1c8fe2 12737: removed the 'moz-fixed' NavQuirk 1999-11-23 01:07:26 +00:00
pierre%netscape.com
93104c00ae 12520/12521 "GFX select elements need to be able to turn off text" turn off user selection inside the drop-down list. r=mjudge. 1999-11-23 01:05:45 +00:00
rpotts%netscape.com
100221faa2 Added a missing Release to prevent leaking a SupportsArrayEnumerator... 1999-11-23 00:59:41 +00:00
sfraser%netscape.com
2b2403eb47 Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me) 1999-11-22 23:46:30 +00:00
rods%netscape.com
fe1b8588fc Added NavQuirks sizing for input button 1999-11-22 22:04:53 +00:00
rods%netscape.com
d6949938f3 Added NavQuirks sizing for buttons and hidden 1999-11-22 22:03:35 +00:00
rods%netscape.com
42b71cfedb Added the correct fonts for submit,reset, input button.
set box-sizing for HTML 4 buttons
Set font in psuedo element for the input text
r=kmcclusk bug b=11285
1999-11-22 22:02:19 +00:00
kmcclusk%netscape.com
e9d5e61f46 Changed misspelled vertial-align to vertical-align for input[type=image]. bug=16370. r=rods@netscape.com 1999-11-22 21:32:22 +00:00
jdunn%netscape.com
9273f4bc9a Adding newline which is required by HPUX 1999-11-22 19:34:18 +00:00
rickg%netscape.com
e5c3b91656 landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
rbs%maths.uq.edu.au
64e4ded56d Add hook for the mroot tag in the confined MathML world 1999-11-21 22:01:56 +00:00
troy%netscape.com
cc2f4ee6df b=19280. Changed DeletingFrameSubtree() so it's order N instead of
N^2/2 in the worst case. This speeds things way up. Note that the real
problem here is that WipeContainingBlock() is repeatedly throwing away
and recreating the BODY element's frame and all its child frames
1999-11-21 04:06:44 +00:00
troy%netscape.com
79ddaa641e b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
0e0d40fa91 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
rods%netscape.com
72b3dd4e85 added boolean in DoneAddingContent method 1999-11-19 16:09:32 +00:00
rods%netscape.com
31776f0714 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 16:05:16 +00:00
rods%netscape.com
7d764bab17 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com
a21ce430dc remove SetMainChild 1999-11-19 15:45:55 +00:00
rods%netscape.com
f3d208613a added bool parm to is DoneAddingContent r=dcone bug 18241 1999-11-19 15:45:47 +00:00
rods%netscape.com
c37df010f7 added nsGfxListControlFrame.cpp commented out bug 18895 1999-11-19 15:45:07 +00:00
rods%netscape.com
b2082f8df4 added bool parm to DoneAddingContent r=dcone bug 18241 1999-11-19 15:43:06 +00:00
rods%netscape.com
be77076de6 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
rods%netscape.com
bd658d548d added nsGfxListControlFrame code ifdef'd out r=dcone bug 18241 1999-11-19 15:41:19 +00:00
troy%netscape.com
597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
45693ed36c fixed a typo that compiles on win32 but not on linux 1999-11-19 08:30:02 +00:00
buster%netscape.com
93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com
359a28d165 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
also made some improvements for future docshell work
r=rickg, travis
1999-11-19 07:25:11 +00:00
buster%netscape.com
2c36996496 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
buster%netscape.com
ab8c72f310 added nsIGfxTextControlFrame.h 1999-11-19 07:23:47 +00:00
harishd%netscape.com
c836a3ed47 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +00:00
ducarroz%netscape.com
1a31863479 Fix bug 9713. comment out some sensitive code until I rewrite it. This code isn't needed yet. r=mscott 1999-11-19 00:47:40 +00:00
rods%netscape.com
e782e5e65a initial check in, not in the build 1999-11-18 22:14:26 +00:00
kin%netscape.com
9ce2f08c0b Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
dcone%netscape.com
1b778eadc9 Thickness of side is now checked. Fixed bug 14944. r=rods 1999-11-18 16:03:45 +00:00
rods%netscape.com
6ace09adfd removing extra box sizing code that is not needed.
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
dcone%netscape.com
3c24d927ea Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
r=rods.  Bug fixed 13944
1999-11-18 15:09:02 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
vidur%netscape.com
3b0f268fc3 fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki. 1999-11-17 01:01:12 +00:00
rbs%maths.uq.edu.au
4979550535 Add hook for the msqrt tag in the confined MathML world 1999-11-17 00:41:48 +00:00
vidur%netscape.com
e45ce5d5e4 Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy 1999-11-16 23:09:31 +00:00
rods%netscape.com
854e72dc25 Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com
c93837bf2a Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized. 1999-11-16 22:47:15 +00:00
norris%netscape.com
5b4b0169aa * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
pollmann%netscape.com
aef9c79358 Fix typo during typo during previous checkin. 1999-11-16 01:20:04 +00:00
pollmann%netscape.com
b64383029b Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd 1999-11-16 01:17:54 +00:00
tbogard%aol.net
8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
brade%netscape.com
899fde519d File Removed. 1999-11-15 20:46:30 +00:00
karnaze%netscape.com
0a147c2499 removed allocation warning messages 1999-11-15 15:42:20 +00:00
dcone%netscape.com
dee8f4a5a5 DrawDashedSides now used the correct height and width for the right and bottom 1999-11-15 15:33:25 +00:00
rods%netscape.com
a324ea0624 Fixing focus & blur event dispatch (mostly having to do with native windows in embedded webshells)
Fixing the sizing issues related to box-sizing for CSS.
r=buster, bug 17196,18448
1999-11-15 15:20:03 +00:00
rods%netscape.com
8313932cd7 temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com
3989b4018f It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
tbogard%aol.net
cfc00042fa Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00
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