514 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
57363b125c Fix for bug 108940. r=kmcclusk,sr=attinasi. Initialize nsZPlaceholderView correctly.
git-svn-id: svn://10.0.0.236/trunk@107702 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 23:11:01 +00:00
roc+%cs.cmu.edu
a38af362a7 Bug 73382. Let the view code work with nsView*/nsViewManager* internally and migrate some methods from public to private to the view module. Also deCOMify those methods for speed. r=kmmclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107555 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:05:38 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
kmcclusk%netscape.com
b2b179a8ba fix crash by removing DisplayZTreeNode's from the mMapPlaceholderViewToZTreeNode hashtable in DestroyZTreeNode. bug 78661. r=roc+moz sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107057 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 03:59:28 +00:00
kmcclusk%netscape.com
c06f67e167 Wrap nsViewManager::ShowDisplayList in DEBUG #ifdef to reduce footprint a bit. bug 78661. r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107056 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 03:53:22 +00:00
bryner%netscape.com
58bf936788 When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@106814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 05:06:31 +00:00
bryner%netscape.com
2a49cc581f Adding a newline to the warning printf. r=jag.
git-svn-id: svn://10.0.0.236/trunk@106464 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:45:29 +00:00
dbaron%fas.harvard.edu
b6abdf1de4 Remove nsViewManager2.cpp for roc. b=73382
git-svn-id: svn://10.0.0.236/trunk@106242 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:52:07 +00:00
roc+%cs.cmu.edu
72aa716fbe Bug 73382. Cleaning up view manager; remove nsViewManager2 from build. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106240 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:43:28 +00:00
roc+%cs.cmu.edu
ce8322ef4c Bug 73382. Cleaning up view manager; remove nsViewManager2, it's ueless. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106239 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:42:39 +00:00
roc+%cs.cmu.edu
19217a44fb Bug 106355. Regression where paint requests entirely outside the widge area caused copying of bogus bits from the backbuffer. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106237 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:36:01 +00:00
roc+%cs.cmu.edu
9f4555ddb6 Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@106010 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:29 +00:00
roc+%cs.cmu.edu
44f839f120 Bug 73382. View manager cleanup: eliminate Refresh(nsRect) path in favour of Refresh(nsIRegion), plus other minor cleanups. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@106008 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:35:50 +00:00
kmcclusk%netscape.com
0c68b26d29 Added code to UpdateCoveringWidgets to take into account hidden views when considering whether a view completely covers the invalidated rect. bug 100652 r=roc+moz@mozilla.org sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105869 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 03:09:36 +00:00
kin%netscape.com
ffde4a4364 Fix for bug 97674: Parts of Mail composition/Composer window left blank after deleting text
If a paint event is received while refresh is disabled,
DispatchEvent() will now call UpdateView() to add the
area specified by the paint event, to the dirty region of
the view. This will insure that the area will get painted
properly when refresh is enabled.

r=kmcclusk@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@105535 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:41:42 +00:00
roc+%cs.cmu.edu
0a3c4015a5 Cleaning up nsViewManger code (whitespace and comments). Bug 73382. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105137 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 02:57:31 +00:00
aaronl%netscape.com
002395cb27 Bug 102192. Active Accessibility: Support STATE_OFFSCREEN for accessible objects. r=kmcclusk, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104488 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:18:48 +00:00
vidur%netscape.com
ec7aeceee0 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
kmcclusk%netscape.com
02709e4dd7 Force the backbuffer to be reallocated when the display depth is changed. bug 6061 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104027 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:16:57 +00:00
kmcclusk%netscape.com
86a48adb0f Check for null scrolled view before accessing it. b=98270 patch from duraid@fl.net.au. r=karnaze@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103908 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 01:05:14 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
kmcclusk%netscape.com
0b16a7e103 Protect against null-pointer in nsViewManager::ProcessPendingUpdates. bug 97664 sr=mscott@netscape.com r=peterl@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102983 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 17:22:06 +00:00
jaggernaut%netscape.com
937638062c Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
rjesup%wgate.com
23c9a74723 Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@102805 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
rjesup%wgate.com
288182f644 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.


git-svn-id: svn://10.0.0.236/trunk@101822 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
bryner%netscape.com
bf9fa1fa2f Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@101405 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 07:25:52 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
pollmann%netscape.com
997383cc5d Bug 43410: Correct z-index ordering of iframes. This change redundantly sets the widget's z-index, and should be cleaned up later. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99481 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 08:46:04 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
kmcclusk%netscape.com
f60e0756df Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@98243 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 04:01:26 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
roc+%cs.cmu.edu
4404d25a96 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
pinkerton%netscape.com
50bcb65c7f add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665.
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00
kmcclusk%netscape.com
c1fbab5f73 Fixed viewmanager refresh problem on WIN32. Added a line of code to set the status to nsEventStatus_eConsumeNoDefault for NS_PAINT messages in nsViewManager::DispatchEvent. This line was inadvertently removed by the checkin for bug 75591; bug 80847 sr=roc+moz r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95042 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 20:50:11 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
joki%netscape.com
c7e531a65c Fix for 64442, make views give up mouse capture when they become hidden since they can no longer get mouse messages. sr:jst r:saari
git-svn-id: svn://10.0.0.236/trunk@93884 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 03:02:55 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
roc+%cs.cmu.edu
a841bac02b Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@92978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu
67f2bfdbac Backing myself out ... IDIOT.
git-svn-id: svn://10.0.0.236/trunk@92932 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu
980b62ea0a Adding view manager API for specifying background color for the document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@92926 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 18:14:46 +00:00
morse%netscape.com
8d0292bd09 bug 75661, crash when image-manager alert box appears, r=kmcclusk, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@92429 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:40:08 +00:00
blizzard%redhat.com
aee13ac6e9 Part of bug #5569. Make sure that areas that get an NS_PAINT event we always paint the default color when the view manager has refreshes disabled. This should fix the problem where before pages start loading in mail/news and the browser some areas aren't repainted. r=bryner sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@91978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:52:06 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00