Граф коммитов

497 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu c069aefb35 Don't paint floating views unless the root view for the repaint is floating. This ensures that if we paint a window under a transient, the actual window contents are painted and not the transient's contents. Fix for new view manager bug 69346. r=kmcclusk, sr=attinasi 2001-03-03 06:18:11 +00:00
dprice%netscape.com 5184a7104b # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
roc+%cs.cmu.edu 3e4a0bc2e3 Fix for new view manager bug 69146. Changed the way we compute the 'opaque region' consisting of widgets that cover the widget being painted. r=kmcclusk, sr=attinasi 2001-02-24 20:29:58 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
roc+%cs.cmu.edu 2b978573a7 Force nsViewManager to respect DONT_BITBLT flags on descendant views when we scroll a parent view. Fix for bug 68499. r=kmcclusk,sr=attinasi 2001-02-16 21:41:52 +00:00
dprice%netscape.com fc5a7ddbf1 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kmcclusk%netscape.com 81862e3601 Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com 2001-02-01 06:00:02 +00:00
dbaron%fas.harvard.edu d25c3d0092 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
rods%netscape.com 9c6f7ccade This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
kmcclusk%netscape.com 2ce02c4b57 Removed code which cleared the backbuffer to white before rendering. bug 49779 sr=roc+moz r=rods@netscape.com 2001-01-26 05:09:37 +00:00
kmcclusk%netscape.com 00f44bbe67 Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com 2001-01-20 04:59:39 +00:00
mkaply%us.ibm.com 42b0f95821 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:53:33 +00:00
bryner%uiuc.edu 6862b07fb9 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
dbaron%fas.harvard.edu 03855ea1ce Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965 2000-11-08 03:04:02 +00:00
blizzard%redhat.com 3213a8d637 fix bustage 2000-11-07 06:17:38 +00:00
scc%mozilla.org 3d3c0bfa4a bug #39621, r=kmcclusky@netscape.com, sr=blizzard@mozilla.org. Enable the new view manager with a pref "nglayout.debug.enable_scary_view_manager". Just being the mac buddy for blizzard and roc. 2000-11-07 05:22:03 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 4e1ac5ce9d Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mkaply%us.ibm.com a1e3b1f4e1 #56164
r=kmcclusk, a,sr=roc+moz@cs.cmu.edu
Comboboxes positioning incorrect on OS/2
2000-10-17 14:54:03 +00:00
kmcclusk%netscape.com 8d64023edc Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:03:45 +00:00
kmcclusk%netscape.com 3c200a5ad8 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com 2000-09-26 05:04:53 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
kmcclusk%netscape.com 7d81913b4d Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com 2000-08-31 02:31:17 +00:00
roc+%cs.cmu.edu e0e2eb7518 Bug 49175. Change O(n^2) child view traversal to O(n). Trim unused view painting code. O(n^2)->O(n) change submitted by alex@cendio.se. r=kmmclusk,a=brendan 2000-08-24 19:54:46 +00:00
roc+%cs.cmu.edu 224b1f0733 NOT PART OF THE BUILD. Bringing nsViewManager up to speed with nsViewManager2 changes. Also ensures all pixels are cleared even if some pixels are not covered by any opaque view. Bug 39621. 2000-08-24 02:35:00 +00:00
roc+%cs.cmu.edu 083cb4ee6b NOT PART OF BUILD. Checking in nsViewManager2 semi-rewrite as nsViewManager. Bug 39621. r=kmcclusk,a=waterson 2000-08-23 14:58:22 +00:00
kmcclusk%netscape.com 3f34406c57 Clear the backbuffer to white before rendering to it and copying forward b=34283 r=attinasi@netscape.com 2000-08-22 04:20:40 +00:00
kmcclusk%netscape.com 8b9332a035 Destroy offscreen surfaces using a singleton nsIRenderingContext instance instead of creating a nsIRenderingContext during shutdown b=48190 r=attinasi@netscape.com
Allways destroy the global array of ViewManager's when last view manager instance is destroyed b=45921 r=attinasi@netscape.com
2000-08-17 21:05:16 +00:00
roc+%cs.cmu.edu d854e17240 Adding new nsIView/nsIViewManager APIs so that a view can have a different parent for Z-order/clipping purposes than its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:05:52 +00:00
saari%netscape.com 00ad136b80 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
2000-08-08 21:31:05 +00:00
dcone%netscape.com eef57439bf took ViewManager.cpp out of build. b=42845 r=kmcclusk. 2000-08-04 13:55:36 +00:00
kmcclusk%netscape.com 5705d1a18f Removed references to viewmanager1 in nsViewFactory. Removed ViewManager1 from the build on WIN32, and Linux. b=42845 r=attinasi@netscape.com. tested=win32,linux 2000-08-03 03:36:10 +00:00
pollmann%netscape.com b31bc7c547 Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!) 2000-07-20 06:02:41 +00:00
mkaply%us.ibm.com 1641092c0c r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME
2000-07-10 21:08:54 +00:00
dcone%netscape.com ebd5695542 Printing now calls RenderViews instead of just the top view. R=rods. b= 44547 2000-07-06 14:06:47 +00:00
cls%seawood.org 33938e6100 Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
kmcclusk%netscape.com b9815aff40 Nested divs with overflow now correctly position their child divs which have negative translations (patch from Robert O'Callahan) b=41153 r=attinasi@netscape.com tested on WIN32, Linux 2000-06-23 00:27:12 +00:00
pinkerton%netscape.com ee612cb05b Add drag auto-scrolling to trees. bug#28226, r=hyatt. 2000-06-22 08:40:37 +00:00
kmcclusk%netscape.com e6ba9c479f Removed clipwidget used by ender-lite widgets. b=35740 r=rods@netscape.com 2000-06-16 22:11:43 +00:00
sspitzer%netscape.com f7da3358e6 workaround for smoketest blocker #42686
now we assert and gracefully continue, instead of crashing.
I'll go give this bug to a better owner.  a=brade, r=mscott
2000-06-15 21:20:19 +00:00
bryner%uiuc.edu 8258dead08 Fix bug 41270 - problems with the bounds checks for nsScrollingView. This
was causing mousewheel scrolling to "wrap around" in list boxes. r=pavlov.
2000-06-05 21:57:44 +00:00
mjudge%netscape.com ec271241d9 this was supposed to be checked in for someones pdt+ bug. this alters the view's destructor to remove itself from the viewmanagers mouse capture code. r= hyatt the bug had to do with OnClick on a view causing a web page reload. this became a must fix when joki checked in his event changes. 2000-06-01 00:38:57 +00:00
evaughan%netscape.com 4ab93afb2e fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
sfraser%netscape.com 5dc891f626 Remove linkage with NetworkModular.shlb 2000-05-17 07:16:17 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
mjudge%netscape.com 5b5583ec0a debug code for myself 2000-05-14 03:44:17 +00:00
kmcclusk%netscape.com f0ee8f96b4 Allow global offscreen to size bigger than a screen without creating a new offscreen each time and asserting. b=38847 r=rods@netscape.com tested=WIN32,Linux Removed compiler warnings in nsViewManager2 2000-05-10 22:45:33 +00:00
anthonyd%netscape.com 99457ba207 review: kmcclusk, mjudge
fix for invalid rootWidget in nsViewManager::GetWidgetBounds
2000-04-26 00:53:31 +00:00
evaughan%netscape.com d16b7355c7 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com 8b0eb04e08 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com 96f16854ec backing out troy's changes to fix various ui not working blocker bugs. 2000-04-24 22:05:39 +00:00
troy%netscape.com 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com 464132e50a Offscreen drawing surface now shrinks and expands in discrete increments of the screen size. b=20741 r=rods@netscape.com. tested on WIN32, Mac, Linux
Applied second half of patch to prevent invisible views from being painted (patch from Tomi.Leppikangas@oulu.fi) b=34466 r=rods@netscape tested on WIN32, Mac, Linux
2000-04-21 23:02:02 +00:00
kmcclusk%netscape.com fb31d1a466 Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac
2000-04-13 21:56:27 +00:00
evaughan%netscape.com f03ff8d62c Grid fixes.
Memory leak fixes.
box cleanup.

-a ftang
2000-04-11 23:55:15 +00:00
cls%seawood.org b1f0544a6d Ugh, forgot another EXTRA_DSO_LIBS. 2000-04-04 11:06:30 +00:00
cls%seawood.org 372343f97f Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
putterman%netscape.com 374e79203e fix for bugs 34303, 34301, 34296. a=leaf. r=evaughan. 2000-04-03 21:30:09 +00:00
evaughan%netscape.com b5b67ff285 Turned on widget move coelescing in view manager.
-r troy, kevin m
2000-04-03 04:57:42 +00:00
evaughan%netscape.com 36425cfe40 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget
2000-04-03 03:55:38 +00:00
beard%netscape.com 79885a762f bug #33219: blendRect was incorrect, damageRect is sufficient. r=pavlov 2000-03-29 00:58:11 +00:00
kmcclusk%netscape.com a164aa00bf Added MOZ_PERF timer code to viewmanager to time rendering b=29308 r=attanasi@netscape.com 2000-03-27 22:00:19 +00:00
beard%netscape.com d350826a44 bug #33091, be more conservative about blend buffer dimensions, r=kmcclusk 2000-03-24 21:35:07 +00:00
kmcclusk%netscape.com 4fcfd42b15 Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com 2000-03-23 23:49:18 +00:00
dbaron%fas.harvard.edu fd5dc605d2 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
kmcclusk%netscape.com 8a4e27edea Initialize the result value in nsViewManager::SetFrameRate b=32381 r=rods@netscape.com 2000-03-21 21:47:50 +00:00
kmcclusk%netscape.com 21a6371d36 #ifdef'ed out timer used to flush paints. It is not needed b=31407 r=attanasi@netscape.com
Changed mVMCount from PRUint32 to PRInt32 to make ASSERTION checking for a negative value in mWMCount valid
b=11674 r=attanasi@netscape.com
2000-03-17 22:27:26 +00:00
beard%netscape.com 5fe9a8c26e bug 25050, fix incorrect usage of mPainting variable. r=jband 2000-03-16 22:55:42 +00:00
dcone%netscape.com 6aef4d77aa Support for Blending added. r=beard 2000-03-16 05:05:12 +00:00
kmcclusk%netscape.com 229a971907 Added code to prevent invalidation of non-visible rectangles.
This is a performance enhancement for platforms where toolkit invalidate calls
are expensive. b=29847 r=rods@netscape.com.
2000-03-15 01:20:07 +00:00
mkaply%us.ibm.com 3e11163089 # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 22:07:34 +00:00
beard%netscape.com 8bb41a82a3 bug 20185 [PDT+], landing nsViewManager2, r=sfraser 2000-02-16 05:52:44 +00:00
beard%netscape.com b04083c75e bug 25336, fixes incorrect usage of unsigned integer causing an infinite loop, r=jst@citec.fi (he originated the patch). 2000-02-15 22:11:31 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
beard%netscape.com 4171449e71 added blending logic 2000-02-09 02:53:09 +00:00
beard%netscape.com d5b6fe133f OptimizeDisplayList() changes. 2000-02-08 03:05:00 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
beard%netscape.com 14557e7e19 removed unused enums, turned double buffering back on, added test for opaque views that occlude other views. r=pavlov 2000-02-05 04:13:29 +00:00
beard%netscape.com a68ee30490 changed test of mClip from (left == right) && (top == bottom) to (left == 0) && (right == 0) && (top == 0) && (bottom == 0). Added test for empty clip rect, to avoid painting. Added an assert to make sure mClip is set to reasonable values. r=pavlov 2000-02-05 04:11:55 +00:00
beard%netscape.com aa3e59a88c made using nsViewManager2 depend on the preference "nglayout.view.useViewManager2". r=pavlov, kmcclusk 2000-02-05 03:02:10 +00:00
brade%netscape.com b174bf571d fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
beard%netscape.com 856295af2a added IsClipView() predicate, preliminary support for the new front-to-back display list partitioner. 2000-02-02 01:00:23 +00:00
beard%netscape.com 1e3fbe74f7 added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint(). 2000-02-02 00:58:22 +00:00
waterson%netscape.com dc8e227e93 Undo the optimization: it breaks the addressing widget :-(. 2000-02-01 08:13:12 +00:00
waterson%netscape.com f20d35770f Optimize MoveViewTo() to only move the view if aX != oldX and aY != oldY. This cuts out about 10% on large web pages that slam the status bar, because boxes seem to want to reposition the widget at the same place over and over. r=pavlov 2000-02-01 01:14:49 +00:00
jdunn%netscape.com c895e4df41 changing static_cast to use NS_STATIC_CAST instead... 2000-01-31 15:37:51 +00:00
dbaron%fas.harvard.edu 5f259d3cf0 Fix bug 16200 (mostly) for both GFX and native scrollbars by rounding scroll requests to the nearest pixel and, from then on, only using that rounded value. Previously, disagreements (of a fraction of a pixel) between what was on the screen and what was supposed to be there caused rounding problems (particularly at less common logical resolutions). There is a chance this may not be necessary in the future, because transform changes may fix this.
r=dcone
2000-01-31 02:44:10 +00:00
kmcclusk%netscape.com 06e11f665b Added missing nsIViewManager methods to nsViewManager2.h and nsViewManger2.cpp.
bug=22069; r=attinasi@netscape.com
2000-01-27 02:23:34 +00:00
kmcclusk%netscape.com dc23d344e1 Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
beard%netscape.com 84cbca2516 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
michael.lowe%bigfoot.com 3326c2959e Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
beard%netscape.com 3363634a2a USE_NEW_COMPOSITOR=1 for M13. r=vidur,troy a=jar 2000-01-21 02:06:22 +00:00
joki%netscape.com 21ac95443d Fix bug 24310 by backing out fix for 21304. a:chofmann 2000-01-19 22:34:47 +00:00
joki%netscape.com 5748dae41f fix bug 21304, hidden views stealing events. r:rods 2000-01-18 15:15:23 +00:00
beard%netscape.com 748854756f turned on usage of nsViewManager2, which seems to fix some important bugs on linux, such as #20185, and definitely #21405. r=pavlov 2000-01-17 00:52:39 +00:00