33 Commits

Author SHA1 Message Date
alecf%netscape.com
8021fac986 purify fix from bruce@cybersight.com - use delete[] rather than delete
git-svn-id: svn://10.0.0.236/trunk@23429 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:36:18 +00:00
kipp%netscape.com
83f6d724e1 Support desired image size during loading
git-svn-id: svn://10.0.0.236/trunk@22126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:02:37 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3e41dda406 Cleaned the code up a bit
git-svn-id: svn://10.0.0.236/trunk@19918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:24:47 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
wtc%netscape.com
d45ab8ecf7 This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.


git-svn-id: svn://10.0.0.236/trunk@15625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:45:20 +00:00
michaelp%netscape.com
25149e78ea changes for pixel scaling/printing.
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +00:00
troy%netscape.com
d0270485ee Changed Notify() to call NotifyError() if the notification type is
nsImageNotification_kAborted. This ensures that the NS_IMAGE_LOAD_STATUS_ERROR
load status bit is set and that the frame gets repainted


git-svn-id: svn://10.0.0.236/trunk@14613 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:21:15 +00:00
troy%netscape.com
a0ba51c52c Changed Notify() to handle nsImageNotification_kAborted and set the image load
status to NS_IMAGE_LOAD_STATUS_ERROR


git-svn-id: svn://10.0.0.236/trunk@14588 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 06:24:33 +00:00
troy%netscape.com
b261b06be6 Fixed DamageRepairFrame() to correctly handle the case where the
target frame has a view


git-svn-id: svn://10.0.0.236/trunk@14223 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 02:00:21 +00:00
kipp%netscape.com
1bf34c11eb Use callback to trigger frame reflows instead of hardwiring in a content-changed reflow
git-svn-id: svn://10.0.0.236/trunk@11161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:35:21 +00:00
kipp%netscape.com
10b6617c48 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
troy%netscape.com
fd0d7ccb59 Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions


git-svn-id: svn://10.0.0.236/trunk@8848 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 19:16:11 +00:00
troy%netscape.com
b9f04152ae Changed call to UpdateView() to be synchronous. This keeps us from
going re-entrant


git-svn-id: svn://10.0.0.236/trunk@8193 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:45:28 +00:00
troy%netscape.com
06a522099a Change to object lifetime management. Views are no longer ref counted
git-svn-id: svn://10.0.0.236/trunk@7605 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:23:33 +00:00
troy%netscape.com
dcdf341134 Added NS_IF_RELEASE of mImage
git-svn-id: svn://10.0.0.236/trunk@7082 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 17:03:08 +00:00
peterl%netscape.com
ac2ec1a340 rounding support
git-svn-id: svn://10.0.0.236/trunk@6999 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:34:45 +00:00
troy%netscape.com
918e7f33f8 Removed assertion in image complete code that assumed we have gotten at
least one pixmap update notification


git-svn-id: svn://10.0.0.236/trunk@6891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:24:11 +00:00
troy%netscape.com
484403779a Changed it so image frames don't have a view, and turned on transparent
images


git-svn-id: svn://10.0.0.236/trunk@5930 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 05:48:46 +00:00
troy%netscape.com
ae75899844 Eliminated some unnecessary image rendering
git-svn-id: svn://10.0.0.236/trunk@5889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 15:26:03 +00:00
troy%netscape.com
71a267fe0b Added a #if 0 around the code to turn on transparent images
git-svn-id: svn://10.0.0.236/trunk@5791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:41:35 +00:00
troy%netscape.com
29a03e020f Sets the frame's view to indicate transparency if an image
associated with the frame is transparent


git-svn-id: svn://10.0.0.236/trunk@5787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 03:43:46 +00:00
troy%netscape.com
1648bbf5e6 Added background color to image loading member functions
git-svn-id: svn://10.0.0.236/trunk@5690 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 04:34:59 +00:00
troy%netscape.com
03207dfebf Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created


git-svn-id: svn://10.0.0.236/trunk@5680 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:32:08 +00:00
rpotts
333af92193 Some reference counting to make things go away...
git-svn-id: svn://10.0.0.236/trunk@4312 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:40:18 +00:00
kipp
5d5168f17a Sprinkled SizeOf methods around
git-svn-id: svn://10.0.0.236/trunk@3371 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:06:24 +00:00
kipp
5dcf2afa80 removed blather code
git-svn-id: svn://10.0.0.236/trunk@3249 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:41:14 +00:00
kipp
10477b257e Added logging events
git-svn-id: svn://10.0.0.236/trunk@3088 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:55:23 +00:00
kipp
13f033e4fe Tell document that content changed not shell's
git-svn-id: svn://10.0.0.236/trunk@3039 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:46:04 +00:00
kipp
41b2b93fa7 Implement stop and abort; stop properly breaks circular link to image request
git-svn-id: svn://10.0.0.236/trunk@1432 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:29:29 +00:00
kipp
164321faf9 new
git-svn-id: svn://10.0.0.236/trunk@1413 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:52:40 +00:00