458 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f730adcfbe Bug 400208. Don't leak mScrollCnt when we take an early exit from UpdateViewAfterScroll. r+sr=bzbarsky,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@238097 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 21:44:37 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com
94bb916c3c Bug 385222: Topmost overlapping div does not scroll within the bounded area of the underlying div. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@229186 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 20:56:30 +00:00
sharparrow1%yahoo.com
909df40eba Bug 382756: ASSERTION: When exactly is this supposed to be non-zero?. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@229024 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-30 01:41:10 +00:00
sharparrow1%yahoo.com
5771933fc7 Remove assertion accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@228925 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 06:05:44 +00:00
sharparrow1%yahoo.com
2cd262b882 Bug 382595: SVG image is covered with horizonal lines when scrolled. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228924 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 06:02:05 +00:00
sharparrow1%yahoo.com
b4bdae28b7 Bug 385978: View cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228885 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 21:23:03 +00:00
roc+%cs.cmu.edu
ad78727b4f Bug 343430. Reduce the area we scroll on Windows to reduce flicker by excluding areas that shouldn't be moving. On Linux, since we can't control the area we scroll, just disable accelerated scrolling in that case and repaint everything. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227095 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 03:17:20 +00:00
sharparrow1%yahoo.com
e8f2137a9f Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226844 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:45:59 +00:00
sharparrow1%yahoo.com
da4bca5ac0 Backing out due to red tree.
git-svn-id: svn://10.0.0.236/trunk@226839 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 01:57:41 +00:00
sharparrow1%yahoo.com
adb31f492e Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226837 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 01:42:37 +00:00
dbaron%dbaron.org
60e7a2773e Remove unused variable/parameter in view code. b=371392 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:02:00 +00:00
sharparrow1%yahoo.com
57f6f646e2 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 23:28:02 +00:00
mats.palmgren%bredband.net
f3011cc4b5 Lookup the view again since WillPaint() might lead to its destruction. b=378273 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225238 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 00:46:27 +00:00
aaronleventhal%moonset.net
7fa9a0c3ac Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224685 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 13:44:28 +00:00
joshmoz%gmail.com
56401a7049 get rid of old backbuffer API and related code. b=371392 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@222450 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 06:21:57 +00:00
sharparrow1%yahoo.com
c18e568063 Bug 371528: Stop creating views for pages. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220901 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com
56d89ecadc Bug 371460: Remove clipping functions from views. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220868 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
ac106dc516 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
roc+%cs.cmu.edu
95e8ec26e9 Bug 306149. Make sure only the root view manager participates in mouse event synthesis. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215365 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:36:14 +00:00
neil%parkwaycc.co.uk
74cd7ccc2b Bug 70798 Ability to have transparent background on <popup>s r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209326 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 08:50:43 +00:00
timeless%mozdev.org
198adb9d95 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208663 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:17:01 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
martijn.martijn%gmail.com
dceee359cd Bug 333301 - [@ nsViewManager::RemoveChild] if child is null. Patch by Nickolay Ponomarev, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194005 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 16:55:19 +00:00
bzbarsky%mit.edu
8d81bda849 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192789 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:00:28 +00:00
vladimir%pobox.com
bee2f94ded Make patch for 328337 cairo gfx-only, to fix bug 329917
git-svn-id: svn://10.0.0.236/trunk@192109 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 21:17:47 +00:00
vladimir%pobox.com
e18aefc4dd b=328337, black flash often when repainting areas, r=roc
git-svn-id: svn://10.0.0.236/trunk@191924 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 21:08:48 +00:00
vladimir%pobox.com
f670d8a306 b=328384, ViewManager::DefaultRefresh paints to wrong rendering context (ignores event RC, creates its own), r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191105 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 00:54:32 +00:00
dbaron%dbaron.org
60ac5a1a1f Avoid asking the event queue service for an event queue during XPCOM shutdown. r+sr=roc b=327655
git-svn-id: svn://10.0.0.236/trunk@190773 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 00:51:35 +00:00
vladimir%pobox.com
882fa2e266 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
git-svn-id: svn://10.0.0.236/trunk@190158 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 23:35:53 +00:00
vladimir%pobox.com
a9fb4ae265 Fix thebes performance regressions from bug 326471 landing: snap clip rects to integers; remove some bogus RGB24 format checks from cairo; fix device offsets for fast text output. r=stuart
git-svn-id: svn://10.0.0.236/trunk@189542 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 02:20:35 +00:00
vladimir%pobox.com
c94d2da424 Fix for bug 326471 patch; round clip coordinates to integers, otherwise we end up hitting the slow clip-through-mask path
git-svn-id: svn://10.0.0.236/trunk@189464 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 05:19:41 +00:00
vladimir%pobox.com
38d31001d0 b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart
git-svn-id: svn://10.0.0.236/trunk@189449 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 01:24:30 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
4982a9f3c5 Bug 306426. Allow synthetic mouse events to target floating views. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186102 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 03:33:52 +00:00
dbaron%dbaron.org
475c57bebf Change GetRectVisibility so that floating views (such as combobox dropdowns and menupopups) are always considered visible, since they are visible where other views would be clipped. b=310604 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182304 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 07:10:08 +00:00
bzbarsky%mit.edu
c861aec6a9 Wallpaper for bug 311223 pending a fix of the underlying tree bug. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181808 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 02:32:03 +00:00
bzbarsky%mit.edu
64161ed2fb Fix bug 311550 -- Don't do anything in EnableRefresh if there are no pending
updates.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@181795 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 22:29:47 +00:00
roc+%cs.cmu.edu
f347fe6bd8 Bug 282750. Don't worry about over-complex opaque regions when we want to add a rect that will cover the entire region (and thus simplify it). r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181714 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 17:47:59 +00:00
wtchang%redhat.com
0eed449f64 Bugzilla Bug 281158: make WillBitBlit return nsresult instead of void to
work around an internal compiler error of Visual C++ 6.0 SP5 (without
Processor Pack) and SP6, and eMbedded Visual C++ 4.0 SP4. r=dougt,sr=dbaron
Modified files: nsViewManager.cpp nsViewManager.h


git-svn-id: svn://10.0.0.236/trunk@181363 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 23:10:09 +00:00
bzbarsky%mit.edu
801c61c364 Don't use nsRect's operator== for comparisons where different sized empty rects
should be treated as different.  But 301411, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@181263 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 02:29:43 +00:00
vladimir%pobox.com
29c620c882 b=305632, throbber not working/transparent rendering broken, r=roc. Should also fix 305612, memory leaks on balsa.
git-svn-id: svn://10.0.0.236/trunk@178767 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 03:58:15 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
dbaron%dbaron.org
caa1d1df4f Check ancestor view managers for delayed resize to fix delayed resize in framesets on Windows. b=285445 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177004 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:10:12 +00:00
dbaron%dbaron.org
b68b236805 Synthesize mouse move on NS_MOUSE_ENTER event so that mouse cursor and :hover state have a better chance of being correct on page load. b=301408 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176395 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 16:22:27 +00:00
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00