Commit Graph

67 Commits

Author SHA1 Message Date
buster%netscape.com
4cfbd75dd7 bug 61287 (The browser crashes on signing out of hotmail and msn calendar)
r=karnaze
sr=buster
patch submitted by lsv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@84734 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:30:37 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
timeless%mac.com
5a498a6fe1 fix for bug 63475 Code Cleanup. Based on style flaws noticed in bug 61287
r=bryner, sr=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@84252 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 03:58:07 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
4920294cee more fixes for dbaron
git-svn-id: svn://10.0.0.236/trunk@81913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:28:06 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
90294b9780 Fixing rtm++ bug 53317 that caused a crash in nsFrameImageLoader::NotifyFrames() due to references to pointers that are invalidated during a callback. Patch done by bienvenu@netscape.com. r=attinasi@netscape.com and me, sr@a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80649 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:12:50 +00:00
evaughan%netscape.com
dbfd446b6e Fix for startup bug
-r waterson


git-svn-id: svn://10.0.0.236/trunk@79768 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:17:04 +00:00
evaughan%netscape.com
4e14fe3ce1 fix for bug #52663
-r hyatt -a waterson


git-svn-id: svn://10.0.0.236/trunk@79683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:20:00 +00:00
pnunn%netscape.com
126dfa95c3 bug#13718: natural img dimens. pnunn, r:sfraser
git-svn-id: svn://10.0.0.236/trunk@78532 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:47:46 +00:00
jst%netscape.com
071de302f4 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
attinasi%netscape.com
049b2a0524 Fixed NotifyFrames to handle the case where the notification callback causes the frames list to change. Patch supplied by serge@netscape.com, b=46934 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76649 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:47:47 +00:00
sfraser%netscape.com
290779695a WIP for bug 33810 -- add an image animation enum, and getters and setters in the pres context
git-svn-id: svn://10.0.0.236/trunk@69516 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:39:20 +00:00
attinasi%netscape.com
c9b017ca5a Fixed problem where the frame was not being invalidated when the image size is known. This causes problems for tiled images. b=36811, r=kmcklusk@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68767 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:48:39 +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
nisheeth%netscape.com
68adc31658 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed.
git-svn-id: svn://10.0.0.236/trunk@66183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:13:57 +00:00
troy%netscape.com
6f83cde1a2 Added GetIntrinsicSize() function
git-svn-id: svn://10.0.0.236/trunk@66087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 15:49:03 +00:00
morse%netscape.com
49ce8b7af6 fix bug 32374, block foreign images
git-svn-id: svn://10.0.0.236/trunk@64111 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 07:09:25 +00:00
bryner%uiuc.edu
857da77e99 Fix a leak of the device context. r=bruce.
git-svn-id: svn://10.0.0.236/trunk@63366 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:10:13 +00:00
dcone%netscape.com
bc91a76ba9 Put in a canonical pixel scale when images are being read in for the size. This reduces
the printer images sizes considerably.  r=kmclusk.


git-svn-id: svn://10.0.0.236/trunk@62999 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:24:21 +00:00
waqar%netscape.com
1d5c814149 #=29862
r=vidur
a=jar
d=Fixes the memory leak problem with JavaScript preloading animated gifs.


git-svn-id: svn://10.0.0.236/trunk@62413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:20:55 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
nisheeth%netscape.com
7ad60e4687 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.
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +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
nisheeth%netscape.com
fa55e685cc r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations.
git-svn-id: svn://10.0.0.236/trunk@52008 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:45:05 +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
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +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
bruce%cybersight.com
da3a78ae3e Use nsCRT::free() instead of delete[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45849 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:26:10 +00:00
vidur%netscape.com
ab86e7ff19 Enabled the frame loader to work without a specified frame. This is used for precaching images.
git-svn-id: svn://10.0.0.236/trunk@30599 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:03 +00:00
kipp%netscape.com
37b0aed644 Added code to discard wasted size updates
git-svn-id: svn://10.0.0.236/trunk@28927 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:59:13 +00:00
kipp%netscape.com
3687700b99 Added (disabled) refcnt logging
git-svn-id: svn://10.0.0.236/trunk@28321 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:49:53 +00:00
kipp%netscape.com
440012de6c Fix core dump bug
git-svn-id: svn://10.0.0.236/trunk@27470 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 22:01:17 +00:00
kipp%netscape.com
b9e3a13664 Reworked to support mulitple frames per image loader
git-svn-id: svn://10.0.0.236/trunk@27378 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:28 +00:00
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