Commit Graph

13773 Commits

Author SHA1 Message Date
dbragg%netscape.com
bcc260038d Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa 2002-04-16 22:19:10 +00:00
waterson%netscape.com
1be2855d7e Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin. 2002-04-16 21:19:32 +00:00
bzbarsky%mit.edu
22cfba4a7c Fix crash on copy of text with embedded nulls. Bug 136278, r=brade, sr=kin. 2002-04-16 19:16:33 +00:00
hwaara%chello.se
34c91fa45e #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)
2002-04-16 18:13:13 +00:00
timeless%mac.com
7e64ad7b3d disable-bidi bustage, bug 82151
r=biesi
2002-04-16 14:49:29 +00:00
cbiesinger%web.de
c68a53eadd bug 104825 r=caillon sr=attinasi
ABBR and ACRONYM should not have arrow/question cursor
2002-04-16 14:34:23 +00:00
kin%netscape.com
fb9b52b024 Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-04-16 13:30:28 +00:00
bryner%netscape.com
2fdd9e39df Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst. 2002-04-16 05:09:35 +00:00
mjudge%netscape.com
cbca07291c 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
mjudge%netscape.com
b0f1fe2322 r= jfrancis sr= kin 2002-04-16 02:39:54 +00:00
varga%utcru.sk
75975dce87 Fix for bug 137178 - Outliner tree expanded by default, should not be.
- prevent insertions to closed containers
r=sgehani/varga, sr=hewitt, patch=sgehani,varga
2002-04-16 01:12:22 +00:00
dbaron%fas.harvard.edu
31405a1069 Remove bitrotted DEBUG_RULES code. Clean up RULE_HASH_STATS debugging code. Add comments to HasStateDependentStyle, and speed it up by making IsStateSelector match only what it needs to. Clean up GetRuleCascade by sorting the final array in non-reversed order and merging BuildStateEnum and BuildHashEnum. b=128743 r=bzbarsky sr=waterson 2002-04-15 22:49:26 +00:00
dougt%netscape.com
f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
dbaron%fas.harvard.edu
8e67539937 Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson 2002-04-15 22:28:54 +00:00
rods%netscape.com
e6ba8d44f3 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi
2002-04-15 13:39:00 +00:00
rods%netscape.com
6cc2d64532 Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com
7003507aa7 For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
joki%netscape.com
af9379992c Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst 2002-04-14 21:52:52 +00:00
bernd.mielke%snafu.de
4ce91fc502 make rtest.sh windows compatible, this allows windows gmake builds to run
*the* layout regression tests, not part of the build bug 136519 r=jkeiser sr=attinasi
2002-04-14 17:50:50 +00:00
attinasi%netscape.com
6519a05626 temporary topcrash fix: make sure stale anonymoux content is removed from the undisplayed map when a style sheet is added. b=118014 r=dbaron sr=kin
NOTE: bug 136704 has been opened for making the real fix, and reference to this patch has been noted therein.
2002-04-14 15:34:02 +00:00
attinasi%netscape.com
8c88845bfc Backout some diagnostic code. b=134962 sr=waterson r=dbaron 2002-04-14 15:16:40 +00:00
hwaara%chello.se
92f889abb0 #13702, just fixing some minor typos in the documentation. r=bzbarsky 2002-04-13 19:47:15 +00:00
dbaron%fas.harvard.edu
b878ea3fae Fix leak (within the pres shell arena) of lines from nsLineBox::DeleteLineList. b=136764 r=attinasi sr=waterson 2002-04-13 18:54:40 +00:00
sicking%bigfoot.com
f8c2ea5afa Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
tor%cs.brown.edu
cb1d9145e3 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
peterlubczynski%netscape.com
1fef229506 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com
54b90e52ee Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
pinkerton%netscape.com
bb66767179 fix build bustage 2002-04-12 15:26:05 +00:00
kin%netscape.com
13fdc1980a Fix for bug 106489 (Text entered in box does not appear)
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
  file where they could be called from my new utility method
  AdjustOutOfFlowFrameParentPtrs().

- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
  so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
  so that out-of-flow floater frames are reparented to the correct
  containing block when the placeholder is moved under the block
  created in ConstructInline().

r=attinasi@netscape.com  sr=waterson@netscape.com
2002-04-12 14:41:40 +00:00
dcone%netscape.com
02e7316517 b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.
2002-04-12 14:30:00 +00:00
jkeiser%netscape.com
c09f9a2e00 Fix very bad reflow problem in nsBoxToBlockAdaptor (bug 119849). r=hewitt@netscape.com, sr=attinasi@netscape.com 2002-04-12 04:39:48 +00:00
hyatt%netscape.com
e0734fa45e Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
kin%netscape.com
60b911495e Fix for bug 128136 (Printing disables keyboard movement of caret in textfields)
Added SuppressEventHandlers() utility routine, which PreDestroy()
and CreateAnonymousContent() now call to determine if the controller
unregister/register code should be executed.

r=rods@netscape.com  sr=sfraser@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:02:47 +00:00
kin%netscape.com
03b54f0b0a Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:01:11 +00:00
dbaron%fas.harvard.edu
07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
739a1a3e49 Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson 2002-04-11 03:29:40 +00:00
serge%netscape.com
014a6bcfd1 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
seawood%netscape.com
ae7c7f0de5 Error 690: "nsSelectsAreaFrame.cpp", line 149 # Nonempty source files must end with a newline that is not preceded by a backslash.
(Fixing HP-UX tinderbox bustage)
2002-04-11 03:25:58 +00:00
dbaron%fas.harvard.edu
2ee8b39604 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag 2002-04-11 03:24:18 +00:00
waterson%netscape.com
4d89367b86 Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi 2002-04-11 01:13:41 +00:00
mjudge%netscape.com
35d42a18e6 fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display 2002-04-11 01:11:23 +00:00
rods%netscape.com
57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
rods%netscape.com
56c0612f03 The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
rods%netscape.com
6afe706be3 This patch also fixes a regression from 6.2 where when printing selection it
prints in the top margin of the second (or third, etc.) page.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:34:59 +00:00
rods%netscape.com
1756fd22db Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00
alexsavulov%netscape.com
804a3c8cac fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd
2002-04-11 00:06:39 +00:00
shanjian%netscape.com
84eb514a5a #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,
2002-04-11 00:00:40 +00:00
karnaze%netscape.com
c271e5831f new regression test not affecting the build. 2002-04-10 21:40:46 +00:00
karnaze%netscape.com
253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
cbiesinger%web.de
898fb53814 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders
2002-04-10 14:45:05 +00:00
locka%iol.ie
60e32f6220 Lower limit on number of nested content frames before giving up. b=126466 r=fabian@bluishgecko.net sr=jst@netscape.com a=rjesup@wgate.com (drivers) a=jaimejr@netscape.com (adt) 2002-04-10 11:13:35 +00:00
bryner%netscape.com
93feb099b0 Fix crash if the view manager is destroyed (such as on a page change) while a menupopup is open. Bug 129785. r=ben, sr=hyatt. 2002-04-10 09:32:22 +00:00
bryner%netscape.com
19967fe712 Fix positioning of menupopups that are inside iframes (bug 129782). r=pavlov, sr=ben. 2002-04-10 09:27:11 +00:00
varga%utcru.sk
dc40b5db6b Fix for bug 135294 - Click on splitter causes semi-hang
r=hwaara, sr=ben, a=asa
2002-04-10 04:58:02 +00:00
varga%utcru.sk
272fcbb016 Fix for bug 135048 - Folder pane won't auto scroll down during drag and drop.
Covers 134889 also.
r=bryner, sr=ben, a=asa
2002-04-10 04:55:46 +00:00
rods%netscape.com
c477cf19b3 Although the front-end should be disabled and not allow the user to make any
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime
2002-04-09 14:17:56 +00:00
pinkerton%netscape.com
e5bb4fd7b3 rewrite to use a view instead of tracking frame resize/moves ourselves. when the view moves, the attached widget is moved automatically. r=ben/sr=hyatt/a=asa. bug# 135436 2002-04-09 14:11:52 +00:00
timeless%mac.com
eb41097169 Bug 135731 opening address book crashes mozilla
{__1cIDistance6FrknRnsReadingIterator4CH__2_I_: referenced symbol not found
patch by Roland.Mainz@informatik.med.uni-giessen.de
r=dcran
sr=sfraser
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
2002-04-09 02:29:21 +00:00
dbaron%fas.harvard.edu
d1afaa6ae6 Paint image background and border in the correct paint layer, depending on whether the image is block or inline, rather than always as if it were block. b=61217 r=pavlov sr=waterson a=asa 2002-04-09 01:16:48 +00:00
dbaron%fas.harvard.edu
8a37911430 Fix topcrash resulting from accidentally making DeletingFrameSubtree not null-safe. b=134508 sr=waterson r=attinasi a=asa 2002-04-09 01:11:25 +00:00
smontagu%netscape.com
b4767102a5 Make stylesheet loading recover from decoding errors. Bug 128896, r=ftang, sr=attinasi, a=asa 2002-04-09 00:29:03 +00:00
attinasi%netscape.com
13c4539d6c Backing out patch from bug 128133 due to the myriad regression - my apologies to all good Mozillans. 2002-04-08 23:57:37 +00:00
caillon%returnzero.com
fa2954d284 Bug 134927. Backing out part of the fix for 106317 in order to make text boxes stylable once again. Patch by fantasai@escape.com, r=bzbarsky, sr=hyatt, a=roc+moz 2002-04-07 23:35:24 +00:00
attinasi%netscape.com
3dd4ebc58e stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:26:35 +00:00
attinasi%netscape.com
726f525d6f stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:20:27 +00:00
waterson%netscape.com
9f45ab2b13 Bug 128855. Be sure to grow |spacing| array in the case of small caps. Patch provided by Andrew Schultz <ajschult@eos.ncsu.edu>, r=attinasi, sr=waterson, a=asa. 2002-04-07 17:37:30 +00:00
karnaze%netscape.com
ff30383040 new regression tests not affecting the build. 2002-04-06 23:55:54 +00:00
karnaze%netscape.com
739509e13e bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd 2002-04-06 22:56:45 +00:00
karnaze%netscape.com
ece225e1cc bug 133948 - don't reset HadSpecialReflow bit so that subsequent resize reflows will occur whenever a special height reflow has ever occured. a=asa, adt=jaimejr, sr=attinasi, r=bernd 2002-04-06 22:42:39 +00:00
karnaze%netscape.com
ef8486e013 bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin 2002-04-06 22:28:39 +00:00
karnaze%netscape.com
e96121a916 bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser 2002-04-06 22:16:12 +00:00
dbaron%fas.harvard.edu
0c610fadf1 Fix SunWS / OS/2 bustage. 2002-04-06 19:18:35 +00:00
dbaron%fas.harvard.edu
04a3c588f5 Make button controls paint on top of inline element backgrounds. b=107244 r=rods sr=waterson a=asa 2002-04-06 15:31:53 +00:00
rods%netscape.com
1d4852267d Clamps ShrinkTOFit to 50%
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime
2002-04-06 13:09:15 +00:00
rods%netscape.com
d2b6d22083 Stop it from calling EndPage method when printing selection
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime
2002-04-06 13:02:17 +00:00
rods%netscape.com
5d756d11b6 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 13:27:04 +00:00
rods%netscape.com
f689da2c74 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
timeless%mac.com
11003d5f59 Bug 101423 Trunk M099 N622 crash [@ nsDocElementBoxFrame::CreateAnonymousContent] search/sidebar consumers
patch by timeless r=heikki sr=scc a=asa
Bug 134374 crash going to file from xul directory listing - Trunk [@ nsTreeBodyFrame::GetImage]
patch by dbaron r=timeless sr=scc a=asa
2002-04-05 08:07:09 +00:00
hyatt%netscape.com
08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
timeless%mac.com
a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
varga%utcru.sk
d9d16949d3 Fix for bug 86532. outliner doesn't display large fonts properly.
- added |min-height: 18px| to |-moz-tree-row| pseudoelement
- changed height to |height: 1.3em|
- the final height is aligned to even number.
- GetRowHeight() moved to Init()

r=bryner, sr=hyatt, a=asa
2002-04-05 04:43:36 +00:00
jkeiser%netscape.com
8bd94cbcd7 Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-04-05 04:34:02 +00:00
jkeiser%netscape.com
20de5ef0e8 Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa 2002-04-05 04:29:05 +00:00
aaronl%netscape.com
be88fe4c6a Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa 2002-04-04 23:27:45 +00:00
jst%netscape.com
bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
rbs%maths.uq.edu.au
420e613bd4 Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa 2002-04-04 15:42:45 +00:00
rods%netscape.com
6d6859123b it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime
2002-04-04 13:04:21 +00:00
jst%netscape.com
020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com
bc7a1e56d5 Hmm, looks like the orange on linux is due to a bug in gcc 2.95, there have been issues with using nsCOMPtr's in narrow scopes with that compiler before, so maybe this'll fix this crash too. Who knows, but it's worth a try. This changes nothing, so no reviews... 2002-04-04 04:45:22 +00:00
rbs%maths.uq.edu.au
cc0c21b63a Bug 129560 - Selection doesn't display on stretchy MathML characters. This is the part of the patch that makes text frames retain an appropriate width during selection (to avoid the caret to undershot when crossing stretchy characters), r=dbaron, sr=attinasi, a=asa 2002-04-04 02:15:57 +00:00
jst%netscape.com
aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
shanjian%netscape.com
4e99a38eeb #128394 Cursor position widely off from actual text when selection is made.
Taking langGroup into consideration when selecting font for text selection, it
should be consistent with the way of rendering text.

r=rbs, sr=attinasi, a=asa, adt
2002-04-03 23:26:58 +00:00
bernd.mielke%snafu.de
7fba1e3431 show canvasframe in debug reflow logs, bug 134130 , r=jkeiser sr=attinasi a=asa 2002-04-03 04:21:20 +00:00
blakeross%telocity.com
5e34851046 108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan 2002-04-03 04:16:28 +00:00
attinasi%netscape.com
16f29f9eff Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers) 2002-04-02 21:14:43 +00:00
rbs%maths.uq.edu.au
46195cda2c Bug 129560 - Selection doesn't display on stretchy MathML characters, r=dbaron, sr=attinasi, a=asa 2002-04-02 05:05:04 +00:00
rbs%maths.uq.edu.au
bf0d684cd2 Bug 129560 - Selection doesn't display on stretchy MathML characters; Bug 133429 - dynamically created MathML content sometimes doesn't layout as expected; Bug 133814 - Improper spacing of embellished operators; Patch for each bug attached to the bug. All have: r=dbaron, sr=attinasi, a=asa 2002-04-02 04:15:22 +00:00
rbs%maths.uq.edu.au
81fcd4c706 Generous null checks to protect against crashes, and removal on a debug-only only function, b=132492, r=dbaron, sr=attinasi, a=asa 2002-04-02 03:57:56 +00:00
bryner%netscape.com
9be0e997bb Add a focus border for xbl checkboxes and radio buttons (bug 132885). r=ben, sr=blake, a=brendan. 2002-04-01 07:24:00 +00:00
karnaze%netscape.com
bdda93d978 regression tests for bug 131020, not affecting the build. 2002-04-01 06:55:31 +00:00
karnaze%netscape.com
9acf51392f bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd. 2002-04-01 06:46:17 +00:00
heikki%netscape.com
ba1bf1d780 Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa. 2002-04-01 04:27:50 +00:00
mkaply%us.ibm.com
24d9c46374 OS/2 bustage 2002-04-01 00:11:34 +00:00
karnaze%netscape.com
9601567d46 bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze. 2002-03-31 23:17:38 +00:00
karnaze%netscape.com
01deb7aea0 regression test for bug 130550, not affecting the build. 2002-03-31 22:46:59 +00:00
karnaze%netscape.com
7bb0f90ec2 bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz 2002-03-31 22:43:40 +00:00
pinkerton%netscape.com
737d3195d2 moving file to fix bustage. 2002-03-31 19:27:21 +00:00
pinkerton%netscape.com
655fc8eb3b moving file into public to fix bustage. 2002-03-31 19:26:43 +00:00
pinkerton%netscape.com
a76c660801 turn on building of native scrollbars from xbl, on for mac classic skin. r=sdagley/sr=beard/a=valeski. bug# 121440 2002-03-31 18:36:55 +00:00
pinkerton%netscape.com
d369202c6a new files for a native scrollbar frame via xbl. r=sdagley/sr=beard/a=valeski. bug#121440 2002-03-31 18:32:35 +00:00
karnaze%netscape.com
07e809b9df regression tests for bug 133756, not affecting the build. 2002-03-31 17:48:47 +00:00
karnaze%netscape.com
306b3b8eae bug 133756 - always return last height during special height reflow. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-31 17:44:57 +00:00
dbaron%fas.harvard.edu
b350a0fd0f Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
caillon%returnzero.com
bae4c3f52d Bug 106317. Allow styling of 'border-color' property on HTML selects, cleanup of rules in forms.css; Patch by fantasai@escape.com; r=rods; sr=hyatt; a=dbaron. 2002-03-31 14:24:53 +00:00
jkeiser%netscape.com
e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
aaronl%netscape.com
26c7256546 Bug 132557 - show focus on input type=file button (fix from Pete Zha). r=jkeiser, sr=jst, a=asa 2002-03-31 04:52:19 +00:00
bryner%netscape.com
a27ce8e06f Removing extra padding on XBL form buttons (bug 125460). r=jrgm, sr=ben, a=brendan. 2002-03-31 02:05:35 +00:00
karnaze%netscape.com
1b76381791 modified regression test, not affecting the build. 2002-03-29 15:10:52 +00:00
jkeiser%netscape.com
31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
hewitt%netscape.com
d8c05d69f1 fixing mac bustage (missed removed files from 110156 landing) 2002-03-29 06:01:42 +00:00
jkeiser%netscape.com
39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com
d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
cbiesinger%web.de
2cd5793471 bug 9796 r=timeless sr=tor a=asa
Viewing bad images gives bad feedback
2002-03-28 21:12:15 +00:00
caillon%returnzero.com
a8ca0e8aa8 Bug 129960. Special characters in computed URI values should be backslash escaped. r=hixie, sr=jst, a=asa 2002-03-27 07:39:54 +00:00
bryner%netscape.com
653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
joki%netscape.com
4455f0fd87 Fix for bug 108104, remaining part of fix from branch to keep user-created key events from executing menu commands. r:jst,mstoltz, sr:jst, a:asa 2002-03-27 06:29:39 +00:00
dbaron%fas.harvard.edu
3e64376a4b Remove "layout.forms.use_standard_or_quirks" pref and the old quirks-mode form control code that it enabled. (See bug 91602.) b=131452 r=rods sr=attinasi a=asa 2002-03-27 06:13:32 +00:00
seawood%netscape.com
f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
karnaze%netscape.com
5fd3b234da bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-27 05:50:24 +00:00
varga%utcru.sk
d3a6ebdf0d Fix for bug 79961 - Resizing outliner column width makes other columns collapsed to minimum.
- moved frame-CaptureMouse(PR_TRUE) from first MouseMove() to MouseDown()
to catch first MouseMove()  event directly in splitter frame.

r=bryner, sr=blake, a=roc+moz
2002-03-27 05:49:56 +00:00
ftang%netscape.com
6818ce0f80 fix bug 130441 and 122584
support surrogate in text-align: jutify , selection and cusor movement
r=shanjian/smontagu sr=kin a=asa
2002-03-27 03:28:34 +00:00
rods%netscape.com
565d88ab19 Reads the "brand name" property and then caches it so it can use it on documents with no title.
Bug 133193 r=dcone sr=attinasi a=dbaron
2002-03-27 03:02:42 +00:00
hewitt%netscape.com
a6c6743038 133426 - can't get coordinates from popup events, r=jgaunt, sr=jst, a=asa 2002-03-27 02:59:39 +00:00
rods%netscape.com
27c318e746 Add SetVisibility method to Scroll Views
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:58:56 +00:00
hewitt%netscape.com
dad18c654a 120863 - Crashing in tooltips, when closing a tab (recursion), r=jag, sr=blake, a=asa 2002-03-27 02:51:03 +00:00
dbaron%fas.harvard.edu
861b60dbb5 Refix bug 116038 without reducing effectiveness of outliner style cache and outliner image cache by using the fix to 121055. Fix leak when clearing outliner image cache. b=130693 r=varga sr=hyatt a=asa 2002-03-27 02:42:59 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0 Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa 2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
058a33eded Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
kmcclusk%netscape.com
19f8d94b2c give an explicit height to <input type=file> elements when printing to prevent the input file control from expanding vertically to fill the entire page during printing and print preview bug 112156 r=rods sr=attinas a=asa 2002-03-26 21:36:22 +00:00
attinasi%netscape.com
23630d30e8 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
alexsavulov%netscape.com
aad66d2ce9 fix for bug 100963 r= kmcklusk sr= attinasi a= asa
added region invalidation to cause repainting of areas previously
occupied by a removed line
2002-03-26 20:03:41 +00:00
rods%netscape.com
ca589fdb8d Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
6c0a3b4f5d Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa 2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
656e798f68 Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc 2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
0152f1f7f1 Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa 2002-03-26 06:33:48 +00:00
mscott%netscape.com
86a6d0814b Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance 2002-03-26 05:01:49 +00:00
attinasi%netscape.com
bd64a22806 Patched topcrash sites: checking for null before deref. b=121444 r=kmcclusk sr=roc+moz a=asa (drivers) 2002-03-26 01:22:31 +00:00
akkana%netscape.com
09db554fe7 70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa 2002-03-26 01:05:03 +00:00
mjudge%netscape.com
e03712c3fb 123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside 2002-03-25 23:44:46 +00:00
akkana%netscape.com
36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
karnaze%netscape.com
121df3998f bug 132130 - Get correct starting row on collapsing border iterator. a=scc, sr=attinasi, r=alexsavulov 2002-03-25 15:03:14 +00:00
bryner%netscape.com
f9924338ba Fixing crash in navigating context menu, caused by my checkin for bug 130778. r=pavlov, sr=scc, a=asa. 2002-03-25 05:30:50 +00:00
rods%netscape.com
b3a87921ff This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in
DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using
them yet.
Bug 132827 r=dcone sr=attinasi a=asa
2002-03-25 03:19:32 +00:00
bryner%netscape.com
54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu
e7a27b479e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 01:08:17 +00:00
dbaron%fas.harvard.edu
a68d8f9629 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +00:00
dbaron%fas.harvard.edu
66238732c8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
rods%netscape.com
e3c71475b1 Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
Bug 128449 r=dcone sr=attinasi a=asa
2002-03-23 18:07:51 +00:00
rods%netscape.com
dbb633ac74 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +00:00
cbiesinger%web.de
0604302118 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
2002-03-23 13:21:33 +00:00
kmcclusk%netscape.com
6ae53f54f8 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa 2002-03-23 04:33:37 +00:00
caillon%returnzero.com
94df471169 Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa 2002-03-22 20:18:42 +00:00
cmanske%netscape.com
9e19a12bad Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa 2002-03-22 15:26:18 +00:00
cmanske%netscape.com
426077e8ff Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa 2002-03-22 15:25:08 +00:00
dcone%netscape.com
c0b90242cd 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2002-03-22 14:49:29 +00:00
seawood%netscape.com
1599b0f9c7 Filling out win32 gmake embed build. 2002-03-22 08:27:26 +00:00
dp%netscape.com
aa74baaa2e bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
sr=sfraser, a=asa
2002-03-22 06:28:16 +00:00
rbs%maths.uq.edu.au
2dac49c58b bug 130886 - caret doesn't respect character position within certain <mo> elements, r=roc+moz, sr=attinasi, a=asa 2002-03-22 04:49:33 +00:00
bryner%netscape.com
35bcae8f41 More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa. 2002-03-22 04:22:19 +00:00
av%netscape.com
90ee4e2b2f Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc 2002-03-22 04:19:10 +00:00
rods%netscape.com
a165972d6f Backing out changes for Bug 131174 2002-03-22 00:42:48 +00:00
dbaron%fas.harvard.edu
f2fe98207b Fix dynamic style changes to the background of the root element or the BODY element by doing the necessary extra invalidation for backgrounds that are propagated to an ancestor. Restructure ApplyRenderingChangeToTree so it does less work in recursive calls, and remove old hack to invalidate for background changes that happen through attribute changes. b=63863 sr=attinasi r=bzbarsky a=scc 2002-03-21 23:51:17 +00:00
dbaron%fas.harvard.edu
f18dc50973 Fix theme switching crash related to menus by regenerating the style contexts in children of menus (which are hidden from ReResolve) after the rest of the ReResolve so that they don't have ancestor style contexts pointing to the old rule tree. b=121055 r=bzbarsky sr=hyatt a=scc 2002-03-21 23:44:45 +00:00
bryner%netscape.com
02cdf487ea Implement HTML radio button in XBL (bug 112715). r=pavlov, sr=ben, a=brendan. 2002-03-21 09:16:17 +00:00
bryner%netscape.com
2a55a8bbfb Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase. 2002-03-21 07:33:51 +00:00
dean_tessman%hotmail.com
4c7cd9ffba bug 128983 - F4 to dismiss selects and menulists causes beep
Now only beeps if the popup has a tag of "menu"
r=aaronl  sr=jag  a=asa
2002-03-21 02:58:52 +00:00
rods%netscape.com
b4898103a0 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron
2002-03-20 22:50:42 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bryner%netscape.com
65ba075a1d Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa. 2002-03-20 22:48:24 +00:00
karnaze%netscape.com
01e4335ebe new regression test not affecting the build. 2002-03-20 22:18:38 +00:00
karnaze%netscape.com
3a172cbd87 bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov. 2002-03-20 22:14:27 +00:00
rods%netscape.com
aa1233cc10 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc
2002-03-20 12:43:13 +00:00
rods%netscape.com
ebc1a45637 The patch in nsPageFrame.cpp is insurance to help keep a problem like this from
hanging the browser again.
The patch in nsSimplePageSequence.cpp is the actual fix. I verified that
nsPageFrame patch will stop it from happening.
Bug 132022 r=dcone a=attinasi a=scc
2002-03-20 12:34:18 +00:00
hewitt%netscape.com
2d12b99bdd 124668 - crash moving mouse over outliner, r=sgehani/dbaron, a=asa 2002-03-20 02:27:25 +00:00
kin%netscape.com
9b16927a2b Fix for bug 102615: After changing font color, backspacing
to a previous line does not let caret
                    update position

Modified RemoveFrame() so that it generates a reflow
command when removing a <br> from an inline with a next-in-flow.

r=dbaron@fas.harvard.edu  sr=attinasi@netscape.com  a=scc@mozilla.org
2002-03-20 01:44:43 +00:00
bzbarsky%mit.edu
e74dfd3b5a |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.
2002-03-19 22:38:08 +00:00
bnesse%netscape.com
d49b1fa6d2 Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa. 2002-03-19 22:10:45 +00:00
smontagu%netscape.com
2ef941a509 Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa 2002-03-19 21:57:45 +00:00
bryner%netscape.com
2863ac5493 - Removing modern theme versions of the XBL form controls
- Moving classic theme versions of the controls into forms.jar, so we don't rely on classic.jar
- Updating xpinstall packages to reflect this

Bug 130236, r=ben, sr=hyatt, a=brendan.
2002-03-19 21:47:46 +00:00
peterlubczynski%netscape.com
3c5ced0393 Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa 2002-03-19 15:39:45 +00:00
alecf%netscape.com
f27670c9df fixing non-IBMBIDI builds 2002-03-19 10:58:41 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
karnaze%netscape.com
9521fe61a2 regression tests not affecting the build 2002-03-19 04:50:36 +00:00
karnaze%netscape.com
2fd42e9ea3 new regression tests not affecting the build 2002-03-19 04:49:12 +00:00
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
sgehani%netscape.com
078dd6ace1 Delay morphing window when entering print preview mode.
b=126675; r=law; sr=alecf; a=asa
2002-03-19 03:23:31 +00:00
dbaron%fas.harvard.edu
76bec44a9f Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.) 2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu
822db5374e Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa 2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu
21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00
smontagu%netscape.com
e481c0045e Fix for bug 81032, "nsOutlinerBodyFrame.cpp need to be bidi enable". r=mkaply, sr=hyatt, a=asa 2002-03-19 00:45:50 +00:00