565 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f300916895 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@123126 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:22:35 +00:00
roc+%cs.cmu.edu
eb9ced023d Bug 148350. Fix the gcc optimizer workaround. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123124 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:18:10 +00:00
kmcclusk%netscape.com
eb567220f1 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
c4d9baabad Bug 148350. Tweak code to avoid bug in gcc 2.95.3 with -O2. r=roc+moz,sr=jag
git-svn-id: svn://10.0.0.236/trunk@122648 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:55:04 +00:00
roc+%cs.cmu.edu
6be84e28ca Bug 142461. Turn off annoying debug messages. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122645 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:48:04 +00:00
roc+%cs.cmu.edu
03697b0f3a Bug 141900. Ensure that SetViewChildClip respects nsIClipView clipping. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122311 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 01:59:57 +00:00
roc+%cs.cmu.edu
d6109426ba Bug 136441. Don't let floating views get clipped by non-floating parents. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122308 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 01:42:41 +00:00
hwaara%chello.se
7b05d20c66 #138852, removing last living parts of viewmanager2.
r=kmcclusk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119621 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:53:44 +00:00
joki%netscape.com
34048fc38a Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst
git-svn-id: svn://10.0.0.236/trunk@118961 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:45:04 +00:00
pinkerton%netscape.com
f4f43a5220 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764
git-svn-id: svn://10.0.0.236/trunk@118853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
d5af536078 Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw
git-svn-id: svn://10.0.0.236/trunk@118852 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:43:32 +00:00
hyatt%netscape.com
9a2426429d Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
git-svn-id: svn://10.0.0.236/trunk@118820 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
cbd505bd3b Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag
git-svn-id: svn://10.0.0.236/trunk@118711 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:26:30 +00:00
rods%netscape.com
c73a8a4ad0 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118246 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 12:13:23 +00:00
yokoyama%netscape.com
f45e9db993 Bug fix 130122
Needed to add code for IME key event (NS_IS_IME_EVENT())
Impact only on CJK keyboard input
/r=yokoyama, /sr=roc+moz, /a=asa, /adt+=jaime


git-svn-id: svn://10.0.0.236/trunk@118153 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:34:04 +00:00
rods%netscape.com
f6de1dd3b4 Add SetVisibility method to Scroll Views
Bug 92333 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117561 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
530cbb2a98 Bug 131487. Fix semantics of GetViewFlags/SetViewFlags. r=kmcclusk,sr=attinasi,a=asa
git-svn-id: svn://10.0.0.236/trunk@117483 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 12:12:36 +00:00
roc+%cs.cmu.edu
f6a2ca2c5f Bug 128478. Don't let key events go through coordinate-based dispatching. r=kmcclusk,sr=kin,a=asa
git-svn-id: svn://10.0.0.236/trunk@117482 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 12:10:52 +00:00
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