280 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
a71edf87de Bug 182107. Don't let negative z-index views mess up document ordering. r=kmcclusk,sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@137780 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:27:58 +00:00
locka%iol.ie
4b62a867c3 Fix mouse exit so it goes to the targetted view rather than the view the mouse may or may not be over as it leaves the main widget. b=144880 r=ccarlen@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@137474 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 12:50:35 +00:00
dbaron%dbaron.org
c5a6b17522 Prevent clicking on a tooltip from freezing the UI by ensuring that hidden views can't capture mouse events. b=156764 r=roc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@137441 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 23:10:31 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
caillon%returnzero.com
360f61e8a1 184257 - Updating pref callers. r=timeless sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135983 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 08:40:41 +00:00
roc+%cs.cmu.edu
55be3c1d27 Backing out fix for bug 170330... againr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
b997358c68 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
fbcd1c38c6 Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@135537 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 02:51:14 +00:00
roc+%cs.cmu.edu
4d55566a79 Backing out fix for bug 170330 due to Tp regression
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
30ffe3fbf2 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@134861 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:29:08 +00:00
jkeiser%netscape.com
0f735a6172 Make hidden iframes and other widgets not display sub-widgets (bug 139805), r=roc+moz@cs.cmu.edu, sr=dbaron@fas.harvard.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@132249 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 19:17:35 +00:00
roc+%cs.cmu.edu
255f58cd6b Bug 171334. r=kmcclusk,sr=kin,a=asa. Fix views crasher by eliminating content-parenting nesting assumptions.
git-svn-id: svn://10.0.0.236/trunk@131752 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 01:23:13 +00:00
roc+%cs.cmu.edu
2a762b92df Bug 153679. r=gisburn,sr=kin. Remove bogus assertion; it's OK to have no widget sometimes during scrolling or invalidation.
git-svn-id: svn://10.0.0.236/trunk@131391 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:18:05 +00:00
roc+%cs.cmu.edu
897f622cd0 Fixing bustage, checked in a bit of another patch, sorry. sr=me
git-svn-id: svn://10.0.0.236/trunk@130793 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 12:41:11 +00:00
roc+%cs.cmu.edu
e25496d35f Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
cbiesinger%web.de
3146b4d8ed bug 169483 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls/roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@130237 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 12:10:28 +00:00
alecf%netscape.com
0a6fd820f0 re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.


git-svn-id: svn://10.0.0.236/trunk@129778 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 04:49:28 +00:00
roc+%cs.cmu.edu
e5211852f5 Bug 168294. Make sure all types of clipping are applied using the zParent view chain. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@129776 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 04:16:25 +00:00
alecf%netscape.com
47f453908d backing out my fix to 166147 to see if it fixes orange
git-svn-id: svn://10.0.0.236/trunk@129761 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 23:48:12 +00:00
alecf%netscape.com
704b2afb26 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@129749 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 20:59:52 +00:00
kmcclusk%netscape.com
dbf189662a reparent the view's descendant widgets when a view is re-inserted into a new view hierarchy position by paginated reflow. b=129034 r=roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@129299 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:59:15 +00:00
roc+%cs.cmu.edu
9391d161f9 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin
git-svn-id: svn://10.0.0.236/trunk@129217 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:33:43 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
4f2eb464ee Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128736 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
f57491a922 Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128729 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:36:28 +00:00
roc+%cs.cmu.edu
45a8f7c62d Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
aaronl%netscape.com
2f2ceac598 Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst
git-svn-id: svn://10.0.0.236/trunk@126977 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:03:53 +00:00
roc+%cs.cmu.edu
60be9caaa2 Bug 159587. Force view manager to invalidate necessary areas when clipping is changed. r=kmcclusk,sr=bz
git-svn-id: svn://10.0.0.236/trunk@126716 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 01:03:57 +00:00
bzbarsky%mit.edu
99b0c67ba5 Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc


git-svn-id: svn://10.0.0.236/trunk@126424 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 03:27:05 +00:00
rginda%netscape.com
42f6f7246b bug 155328, r=bz, sr=jst
fix uninitialized return value in nsViewManager::Init


git-svn-id: svn://10.0.0.236/trunk@125905 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:09:06 +00:00
rginda%netscape.com
133a2f6ef8 bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=jst, r=roc+mozilla@cs.cmu.edu, a=asa

make sure we always post new invalidate events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.


git-svn-id: svn://10.0.0.236/trunk@125843 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:31:56 +00:00
kmcclusk%netscape.com
a1abaaf6e3 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@124486 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
0c52be1f09 backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853
git-svn-id: svn://10.0.0.236/trunk@124472 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
16fa19c5d5 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@124460 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 02:53:35 +00:00
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
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
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
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
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
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