saari%netscape.com
3b61368cb8
Fix more leaks bug 48126 again. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@76180 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:38:22 +00:00
saari%netscape.com
e1a79e8500
massive landing of joki changes.
...
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
heikki%netscape.com
6eacdb81c7
Bug 38647 Link clicks on nsImageFrame do not check if legal to load URI. Happened with server side image map. r=mstolz
...
git-svn-id: svn://10.0.0.236/trunk@75795 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:35:12 +00:00
rods%netscape.com
94c34e2183
check in for andreas, it now checks to make sure that the image or lowimage is not
...
null before getting the width and height
b=36902, a=waterson
git-svn-id: svn://10.0.0.236/trunk@74537 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 14:50:17 +00:00
nisheeth%netscape.com
d3c0d42db2
Fix for nsbeta2+ bug 12152. r=vidur, pollmann. Setting the src property during document load works on <IMG> and <INPUT type="image"> elements.
...
git-svn-id: svn://10.0.0.236/trunk@73619 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:26:30 +00:00
pavlov%netscape.com
56c86ec3c7
backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree)
...
git-svn-id: svn://10.0.0.236/trunk@70543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 03:05:48 +00:00
pavlov%netscape.com
a0feb91521
changes all usages of NS_NewTimer to CreateInstance
...
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
buster%netscape.com
e7bd6199bd
bug 38396, a bug in max width calculation exposed by tables
...
git-svn-id: svn://10.0.0.236/trunk@69633 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:43:52 +00:00
rods%netscape.com
98214f8267
fixes two different checks for the existence of lowsrc. al text now displays
...
correctly for net based images.
git-svn-id: svn://10.0.0.236/trunk@67722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 14:35:19 +00:00
troy%netscape.com
2831676fb5
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c
Backing out troy's changes to fix various UI blocker bugs.
...
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
troy%netscape.com
e90db6dfb9
Changes to bring clipping inline with upcoming CSS2 errata
...
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
rods%netscape.com
fbf8aca833
Add ifdef'ed Performance Reflow Counting code
...
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
rods%netscape.com
9d806d5fd4
no longer strips beginning and ending spaces of value when GetAttributeValueAt
...
is called.
Bug 33050
git-svn-id: svn://10.0.0.236/trunk@66448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:00:11 +00:00
buster%netscape.com
2fa9ad90e8
bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
...
r=buster
bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy
bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy
no bug number. performance work. reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
git-svn-id: svn://10.0.0.236/trunk@66201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:46 +00:00
troy%netscape.com
765e175504
Fixed GetIntrinsicImageSize() to return the correct size
...
git-svn-id: svn://10.0.0.236/trunk@66088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 15:49:57 +00:00
scc%netscape.com
2255fe399e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
nisheeth%netscape.com
1de20470ea
r=troy. Fix for bugs 8131, 13325.
...
- We no longer display alternate content for broken images inside image
- We only display the image loading icon during the initial load of an image not if its src attribute is changed via the DOM.
- In AttributeChanged(), se don't call ContentChanged() on the document to reflow the image frame but call the parent frame's ReflowDirtyChild() method instead.
git-svn-id: svn://10.0.0.236/trunk@64808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:13:51 +00:00
warren%netscape.com
9fa657f1cd
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
pierre%netscape.com
c84deb6d8c
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
...
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
vidur%netscape.com
f1a9c3f401
Fix for bug 9140. Area elements now have event fired for them. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
troy%netscape.com
0d18407104
b=25245 Changed Reflow() to return 0 for a max-element-width if the
...
image has a percentage based width
git-svn-id: svn://10.0.0.236/trunk@59230 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:28:38 +00:00
nisheeth%netscape.com
1a9c3b3033
Fix for bug 23781.
...
git-svn-id: svn://10.0.0.236/trunk@57721 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:32:47 +00:00
nisheeth%netscape.com
59dbaae9fb
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
...
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
vidur%netscape.com
c28ff08497
Fix for bug 23074. Implemented image.complete. r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
7bc5864a19
Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@56711 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:13 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
kmcclusk%netscape.com
d3a24645a8
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
peterl%netscape.com
bba68903df
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
troy%netscape.com
bb35a26690
Fix for bug #13341 . Changed DisplayAltFeedback() so it doesn't render the
...
recessed border unless there's room
git-svn-id: svn://10.0.0.236/trunk@47847 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 21:37:37 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
troy%netscape.com
e72fb49348
Fix for bug #12449 . Changed UpdateImageFrame() so that if the content object
...
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame
git-svn-id: svn://10.0.0.236/trunk@44573 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:55:57 +00:00
vidur%netscape.com
89bc046b3c
Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist
...
git-svn-id: svn://10.0.0.236/trunk@43722 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:22:02 +00:00
troy%netscape.com
f7adfe457d
Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
...
where LoadIconImage() is succeeding but returning NULL for the icon
git-svn-id: svn://10.0.0.236/trunk@41683 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:59:12 +00:00
troy%netscape.com
947927e816
Renamed DeleteFrame() to Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
andreas.otte%primus-online.de
aa8f29f8c5
NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
...
git-svn-id: svn://10.0.0.236/trunk@38985 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 15:46:10 +00:00
kipp%netscape.com
35b87caf87
Only pass on url to server side image map when we end up with a valid url
...
git-svn-id: svn://10.0.0.236/trunk@38806 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:44:42 +00:00
kipp%netscape.com
50e58c37d3
Fix bug #652 - made server side image maps find the proper href to base the url on by looking up the content tree of an nsIDOMHTMLAnchorElement
...
git-svn-id: svn://10.0.0.236/trunk@38805 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:38:08 +00:00
andreas.otte%primus-online.de
03e69d05c3
NECKO only: replacing GetBuffer with ToNewCString and some error checking
...
git-svn-id: svn://10.0.0.236/trunk@38458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:08:16 +00:00
andreas.otte%primus-online.de
1df7e2c156
NECKO only: fixing MakeAbsolute while loading images
...
git-svn-id: svn://10.0.0.236/trunk@38327 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 22:41:42 +00:00
troy%netscape.com
ee7e3babb8
Fix for bug #5762 . Changed DeleteFrame() to call CancelReflowCommand()
...
when a frame is destroyed
git-svn-id: svn://10.0.0.236/trunk@36833 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 04:22:15 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00