Commit Graph

485 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
41c1473144 Don't crash if views were destroyed after flushing notifications. b=421839 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255754 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 23:23:53 +00:00
roc+%cs.cmu.edu
f90d7ada52 Bug 429315. Relanding. Don't reparent widgets that are supposed to be toplevel. r+sr=bzbarsky,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250444 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 09:49:36 +00:00
roc+%cs.cmu.edu
091fb1b9cb Backout 429315
git-svn-id: svn://10.0.0.236/trunk@250359 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 11:54:14 +00:00
roc+%cs.cmu.edu
ba787556f3 Bug 429315. Don't reparent toplevel widgets when we reparent a view subtree; they should remain toplevel. r+sr=bzbarsky,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250348 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 08:17:06 +00:00
roc+%cs.cmu.edu
b554cff84e Bug 408955. UpdateViewAfterScroll shouldn't just bail out for content in popups. Instead we should do the invalidation but limit it to the correct displayRoot. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@248972 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 22:15:43 +00:00
Olli.Pettay%helsinki.fi
e9b8a89f91 Bug 421209, r=cpearce, sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248307 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 20:24:39 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
roc+%cs.cmu.edu
441c1d51be Bug 408913. Do a proper fix for pixel-aligned drawing of IFRAME contents. The secret is make ViewToWidgetOffset return correct results for the root views of subdocuments. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@246980 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 07:48:52 +00:00
mozilla%weilbacher.org
0b6db51bf7 Bug 419270: Elements with position:fixed jump while scrolling, copy the Linux solution, p=wuno@lsvw, r=me, a19a4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246786 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 08:19:05 +00:00
roc+%cs.cmu.edu
bcd6b5373f Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246659 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:46:23 +00:00
roc+%cs.cmu.edu
40c0344192 Bug 417967. Align subframe drawing so that drawing at (0,0) relative to the root view's origin is aligned to a pixel boundary. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@246427 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:39:35 +00:00
masayuki%d-toybox.com
f5a90c3d5b Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov
git-svn-id: svn://10.0.0.236/trunk@246048 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:40:06 +00:00
roc+%cs.cmu.edu
6f88448373 Bug 399852. #ifdef out logging code, since this checkin is going to stick
git-svn-id: svn://10.0.0.236/trunk@245964 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 11:08:57 +00:00
roc+%cs.cmu.edu
db33a498f3 Bug 399852. Experimental relanding to collect data from centos5.
git-svn-id: svn://10.0.0.236/trunk@245958 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 09:16:21 +00:00
roc+%cs.cmu.edu
96a2c33872 Backing out bug 399852 again, looks like it caused more focus-related mochitest failures
git-svn-id: svn://10.0.0.236/trunk@245445 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 03:04:49 +00:00
roc+%cs.cmu.edu
e5212b35b7 Bug 399852. Suppress focus changes during content updates, reboot focus after the update has finished. patch by Chris Pearce, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@245443 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 01:57:19 +00:00
roc+%cs.cmu.edu
b186cf0080 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@244074 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 23:59:51 +00:00
reed%reedloden.com
6a3f9d2982 Bug 323740 - "Crash [@ nsViewManager::UpdateWidgetsForView]" [p=hskupin@gmail.com (Henrik Skupin) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243429 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 09:10:37 +00:00
dholbert%cs.stanford.edu
d9bd33e144 Backing out 399852 due to mac mochitest failures
git-svn-id: svn://10.0.0.236/trunk@243161 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 00:56:43 +00:00
dholbert%cs.stanford.edu
c4a6851d4c Bug 399852 – Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=blocking1.9+ (re-landing; mochitest failures should be fixed)
git-svn-id: svn://10.0.0.236/trunk@243158 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 00:19:47 +00:00
roc+%cs.cmu.edu
8113c247a5 Backing out 410489 to fix test failures
git-svn-id: svn://10.0.0.236/trunk@242782 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 00:40:08 +00:00
martijn.martijn%gmail.com
d20990583c Bug 399852 – Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce, r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@242762 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 21:44:59 +00:00
reed%reedloden.com
dda31ecdc2 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@242241 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-01 10:11:08 +00:00
hwaara%gmail.com
8f36d2f127 bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
git-svn-id: svn://10.0.0.236/trunk@241781 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 19:40:20 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
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