547 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f955e1d4be Fixing bustage. In time, the C++ standards committee will pay for their crimes.
git-svn-id: svn://10.0.0.236/trunk@116834 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:32:01 +00:00
roc+%cs.cmu.edu
cd6104bd5c Bug 124554. Make intelligent decisions about when to scroll using bitblit and when we need to do complete repaints. r=kmcclusk,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@116830 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:34:10 +00:00
roc+%cs.cmu.edu
6cdda0389f Bug 130263. Don't add children of hidden views to any display list. r=kmcclusk,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@116826 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 02:48:38 +00:00
kin%netscape.com
89fd8b91ad Fix for bug 127368 (Can't type in textfields in pages with an iframe and body with marginheight and marginwidth=0)
Modified HandleEvent() to prevent forwarding KeyEvents to views with a different ViewManager.

r=roc+moz@cs.cmu.edu  sr=sfraser@netscape.com  a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115508 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:30:01 +00:00
roc+%cs.cmu.edu
b87aae1f18 Bug 91516. FIXING BUSTAGE AGAIN
git-svn-id: svn://10.0.0.236/trunk@114973 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:19:11 +00:00
roc+%cs.cmu.edu
5d7bbba33d Fixing bustage. Bug 91516.
git-svn-id: svn://10.0.0.236/trunk@114964 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:26:50 +00:00
roc+%cs.cmu.edu
d392c57939 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
roc+%cs.cmu.edu
a1398fd8fe Bug 123755. Fix Gtk crasher when drawing surface cannot be locked. r=pavlov,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114589 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:14:32 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
roc+%cs.cmu.edu
6e50de9fe3 Bug 96832. Reorganize event handling in the view manager to use the display list code. This means we take account of z-index properly. r=kmcclusk,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114242 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:46:35 +00:00
bzbarsky%mit.edu
ec01351fa8 Make scrollbar thumbs for selects size correctly in GTK builds. Bug
45731, patch by Michiel van Leeuwen <hmvleeuwen@altavista.com>,
r=blizzard, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114081 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:16:43 +00:00
roc+%cs.cmu.edu
71e04391bf Bug 122325. Repaint correct areas when a view is resized. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113394 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 03:10:59 +00:00
sfraser%netscape.com
2d6d3a935e Back out a change that I commited by mistake, which turned double-buffering off. Thanks to jrgm for catching this.
git-svn-id: svn://10.0.0.236/trunk@113294 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 05:15:56 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
roc+%cs.cmu.edu
f52124fa77 Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@112991 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:56:23 +00:00
roc+%cs.cmu.edu
b4249b6891 Bug 120934. Deal with nonzero (x,y) in the aCombinedRect passed into nsViewManager::RefreshView(). r=kmcclusk,sr=waterson,a=asa
git-svn-id: svn://10.0.0.236/trunk@112573 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 03:32:45 +00:00
aaronl%netscape.com
f0e007cdfc Bug 120176. Active Accessibility: tweaks to STATE_OFFSCREEN. r=kmcclusk, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112276 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:07:03 +00:00
rods%netscape.com
63c4896929 Getting rid of event processor, it is no longer needed and will fix this problem
109566  r=kmcclusk sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112270 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:02:35 +00:00
kmcclusk%netscape.com
1953238089 Use damage rect size for backbuffer instead of widget size for paint updates to reduce usage of offscreen memory r=dcone sr=attinasi b=114082
git-svn-id: svn://10.0.0.236/trunk@110860 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:25:01 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
pavlov%netscape.com
b7d549610f bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
kmcclusk%netscape.com
fdd55454e0 Move management of the backbuffer from the viewmanager to the rendering context and make the backbuffer transient on WIN32 and GTK. bug 95952 sr=attinasi r=karnaze
git-svn-id: svn://10.0.0.236/trunk@110332 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:35:31 +00:00
ccarlen%netscape.com
9bff26e3d9 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110179 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:20:58 +00:00
kmcclusk%netscape.com
f3e4763baa Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109790 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:40:41 +00:00
kmcclusk%netscape.com
c03de93934 Check aHandled after event dispatch before accessing the view's children. b=113121 r=roc+moz sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109574 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:37:09 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
kmcclusk%netscape.com
a91bf4a68d Make the backbuffer transitory based on a pref. This does not have any effect unless you set (layout.transitory.backbuffer", true) bug 95952 sr=attinasi r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@109319 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:12:36 +00:00
kmcclusk%netscape.com
303a5331d9 Replace the O(n^2) call to GetChild in nsViewHandleEvent to substantially improve page load performance and interactivity on pages with lots of comboboxes. bug 112525 r=roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@109318 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:09:36 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
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