Commit Graph

923 Commits

Author SHA1 Message Date
sharparrow1@yahoo.com
53b5d6bd32 Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc. 2007-05-22 20:45:59 -07:00
sharparrow1@yahoo.com
200370c700 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
36e7d7017d Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-22 18:42:36 -07:00
sharparrow1@yahoo.com
c6ad0c8d5f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
dbaron@dbaron.org
0ae4070e64 Remove unused variable/parameter in view code. b=371392 r+sr=roc 2007-05-17 23:02:00 -07:00
mats.palmgren@bredband.net
992d1d854a Be more careful when detaching an old window. b=374102 r+sr=roc 2007-05-13 17:43:13 -07:00
sharparrow1@yahoo.com
bb057f50e6 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
mats.palmgren@bredband.net
becfac9aaa Lookup the view again since WillPaint() might lead to its destruction. b=378273 r+sr=roc 2007-04-29 17:46:27 -07:00
aaronleventhal@moonset.net
46b5ded335 Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc 2007-04-18 06:44:28 -07:00
joshmoz@gmail.com
96c071174a get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-26 23:21:55 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
sharparrow1%yahoo.com
884351335b Bug 371528: Stop creating views for pages. r+sr=roc. 2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com
88fb576ad6 Bug 371460: Remove clipping functions from views. r+sr=roc. 2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
4862938c93 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. 2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
sharparrow1%yahoo.com
8fa9a1d89e Bug 356858: remove unused declarations. r+sr=roc 2006-11-24 08:09:28 +00:00
roc+%cs.cmu.edu
2f8f7e5581 Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(. 2006-11-23 01:12:52 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
roc+%cs.cmu.edu
86928ae28e Bug 306149. Make sure only the root view manager participates in mouse event synthesis. r+sr=dbaron 2006-11-16 18:36:14 +00:00
roc+%cs.cmu.edu
1839efdd55 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron 2006-11-13 22:59:14 +00:00
neil%parkwaycc.co.uk
0eff12bbc6 Bug 70798 Ability to have transparent background on <popup>s r+sr=roc 2006-09-07 08:50:43 +00:00
timeless%mozdev.org
6d112f0859 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
roc+%cs.cmu.edu
4a4a22c9a0 Bug 347952. Don't do expensive WidgetToScreen translations when positioning zero-sized popups. r+sr=bzbarsky 2006-08-16 01:54:30 +00:00
mark%moxienet.com
a8750b5d4b 319078 Handle smooth mousewheel (and two-finger touchpad) scrolling. r=josh sr=darin r,sr=roc 2006-07-20 15:38:43 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
roc+%cs.cmu.edu
0df069259f Bug 130078. Backing out now that I have perf. numbers 2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7a9451c41b Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron 2006-05-04 03:46:19 +00:00
sharparrow1%yahoo.com
27b115616c Bug 332746: null check to prevent crash printing select controls. r+sr=roc 2006-04-20 04:08:18 +00:00
sharparrow1%yahoo.com
9ba69b1c54 Okay, backout and try this again 2006-04-20 04:05:04 +00:00
sharparrow1%yahoo.com
065ebf7b6a *** empty log message *** 2006-04-20 04:03:01 +00:00
martijn.martijn%gmail.com
6d1550b350 Bug 333301 - [@ nsViewManager::RemoveChild] if child is null. Patch by Nickolay Ponomarev, r+sr=roc 2006-04-10 16:55:19 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
ed97753ea2 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc 2006-03-22 18:00:28 +00:00
dbaron%dbaron.org
c37d9a2cf3 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc 2006-03-15 16:55:19 +00:00
vladimir%pobox.com
fd5e4ef409 Make patch for 328337 cairo gfx-only, to fix bug 329917 2006-03-09 21:17:47 +00:00
vladimir%pobox.com
3e83e21d9d b=328337, black flash often when repainting areas, r=roc 2006-03-07 21:08:48 +00:00
cbiesinger%web.de
b768303bda bug 329140
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
vladimir%pobox.com
f86c4ac3d4 b=328384, ViewManager::DefaultRefresh paints to wrong rendering context (ignores event RC, creates its own), r+sr=roc 2006-02-24 00:54:32 +00:00
timeless%mozdev.org
426f83aecc Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
dbaron%dbaron.org
c5b8ef4d5c Avoid asking the event queue service for an event queue during XPCOM shutdown. r+sr=roc b=327655 2006-02-22 00:51:35 +00:00
vladimir%pobox.com
707e0dc2f7 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc 2006-02-15 23:35:53 +00:00
vladimir%pobox.com
8252152ff0 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 2006-02-10 02:20:35 +00:00
vladimir%pobox.com
07c2d74eae Fix for bug 326471 patch; round clip coordinates to integers, otherwise we end up hitting the slow clip-through-mask path 2006-02-09 05:19:41 +00:00
vladimir%pobox.com
567bc2281b b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart 2006-02-09 01:24:30 +00:00
dbaron%dbaron.org
35c5d07c2e Remove old native widget code that we were only keeping around for viewer. b=326417 Fixing bustage. 2006-02-08 20:50:17 +00:00
roc+%cs.cmu.edu
bc64374d98 Bug 324883. Be sure to initialize variables! Fix some cases where we weren't scrolling with bitblit when we could be. r+sr=dbaron 2006-02-06 02:41:51 +00:00
dbaron%dbaron.org
5c4f5f9567 Another attempt at the Windows bustage. b=317375 2006-01-26 07:06:26 +00:00
roc+%cs.cmu.edu
77bca74243 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 2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
542465aa79 Bug 306426. Allow synthetic mouse events to target floating views. r+sr=dbaron 2005-12-15 03:33:52 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
158ddd874d Bug 281709. When Show()ing a widget, unconditionally reset its bounds *right now* even if updates are suppressed. patch by bzbarsky, r+sr=roc 2005-10-21 02:40:04 +00:00
dbaron%dbaron.org
d0872eefe9 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 2005-10-15 07:10:08 +00:00
bzbarsky%mit.edu
3c55a21288 Wallpaper for bug 311223 pending a fix of the underlying tree bug. r+sr=roc 2005-10-08 02:32:03 +00:00
bzbarsky%mit.edu
f02a33078c Fix bug 311550 -- Don't do anything in EnableRefresh if there are no pending
updates.  r+sr=roc
2005-10-07 22:29:47 +00:00
roc+%cs.cmu.edu
a4ae92ddf9 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 2005-10-06 17:47:59 +00:00
wtchang%redhat.com
1005114369 Bugzilla bug 281158: put a Windows file pathname inside Doxygen's
@verbatim/@endverbatim block to prevent Doxygen from interpreting the
backslashes as commands. r=cbiesinger,sr=bzbarsky.
2005-10-04 22:46:31 +00:00
wtchang%redhat.com
e40408c33b 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
2005-09-30 23:10:09 +00:00
dbaron%dbaron.org
b4a7e11390 Back out bug 281709 since it makes tabbed browsing unusable on at least GTK2. 2005-09-30 19:25:42 +00:00
bzbarsky%mit.edu
68b4c7ba1a Don't use nsRect's operator== for comparisons where different sized empty rects
should be treated as different.  But 301411, r+sr=roc
2005-09-30 02:29:43 +00:00
silver%warwickcompsoc.co.uk
fcc2117fe0 Bug 281709 - Buffer view visibility changes like resizes. r/sr=roc 2005-09-28 08:59:36 +00:00
vladimir%pobox.com
61c7746bf2 b=305632, throbber not working/transparent rendering broken, r=roc. Should also fix 305612, memory leaks on balsa. 2005-08-24 03:58:15 +00:00
bryner%brianryner.com
1844b50360 Force any mouse grabs pointing into the old page to be dropped when we cache the page in session history. Bug 304288, r+sr=roc. 2005-08-23 21:52:59 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
9d85e378b2 moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc 2005-08-23 02:11:54 +00:00
dbaron%dbaron.org
a0772c8a33 Check ancestor view managers for delayed resize to fix delayed resize in framesets on Windows. b=285445 r+sr=roc a=bsmedberg 2005-08-02 20:10:12 +00:00
dbaron%dbaron.org
68373c1777 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 2005-07-21 16:22:27 +00:00
roc+%cs.cmu.edu
ba0eb45c1a Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa 2005-07-19 23:24:30 +00:00
roc+%cs.cmu.edu
802e2cda75 Bug 296491. Mouse event synthesis needs to account for cases where the view origin is not at the origin of its widget. r+sr=dbaron,a=bsmedberg 2005-07-19 22:01:19 +00:00
masayuki%d-toybox.com
2af8267b63 Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard 2005-07-11 05:27:10 +00:00
roc+%cs.cmu.edu
395052f857 Bug 290428. Mouse clicks go to the center of the pixel, because the frame covering the center of the pixel is the frame that gets to draw the pixel. r+sr=dbaron,a=benjamin 2005-07-10 23:50:32 +00:00
masayuki%d-toybox.com
8f458edf50 Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa 2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
17da1f0409 Backing out fix for bug 296838 to see how it's hurting Tp 2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
53259eb945 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann 2005-06-21 04:07:04 +00:00
roc+%cs.cmu.edu
3876d7f8c7 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
90518d0020 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver 2005-06-02 09:00:48 +00:00
roc+%cs.cmu.edu
067fa3135c Bug 286955. Force the entire subtree of widgets to redraw when we scroll a view that doesn't have an associated scrolling widget. r+sr=bzbarsky,a=shaver 2005-06-02 08:53:26 +00:00
bzbarsky%mit.edu
08321182c8 Fix memory leak if a viewmanager has a child viewmanager. Bug 295656,
r+sr=roc, a=shaver
2005-06-01 15:43:08 +00:00
roc+%cs.cmu.edu
b4e308b124 Bug 293543. RenderOffscreen needs to create a surface sized in pixels, not twips. r+sr=bzbarsky,a=shaver 2005-05-10 04:17:56 +00:00
bryner%brianryner.com
aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
dougt%meer.net
be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
2cebcf0bca Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa 2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
e9008d4b37 Bug 290673. Restore event->point after dispatching to views, in case someone wants to use it later (Windows widget appears to). r+sr=bzbarsky,a=asa 2005-04-28 22:03:28 +00:00
roc+%cs.cmu.edu
84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
977c43081f Bug 291222. Sort display list elements before we lose information about relative ordering by overwriting the topmost bit. r+sr=bzbarsky,a=asa 2005-04-26 02:31:19 +00:00
roc+%cs.cmu.edu
fb94e41d41 Bug 290102. Don't flush pending invalidates when we are about to paint if the window has translucency, because on some platforms Invalidate will immediately call OnPaint even if it's supposed to be asynchronous, causing us to reenter and die. r+sr=me,a=dbaron, patch by pavlov 2005-04-21 20:53:00 +00:00
bzbarsky%mit.edu
c5cc24631e Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
a=asa
2005-04-15 03:17:13 +00:00
roc+%cs.cmu.edu
eef5322ee4 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa 2005-04-14 22:41:52 +00:00
roc+%cs.cmu.edu
596fb50b2f Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa. 2005-04-07 03:59:02 +00:00
bzbarsky%mit.edu
482ef684eb Do a sync invalidate of the areas dirtied by the reflow we do before painting,
not an async one.  This will keep us from dropping animation frames quite as
much if events take a long time to process.  Bug 288369, r+sr=roc
2005-03-31 20:42:30 +00:00
roc+%cs.cmu.edu
350a41b241 Bug 288222. fixing up variable name as Boris requested. 2005-03-30 20:26:54 +00:00
roc+%cs.cmu.edu
5281e0b914 Bug 288222. resync widgets with views before trying to paint. r+sr=bzbarsky 2005-03-30 20:25:15 +00:00
aaronleventhal%moonset.net
72422f2793 Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc 2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu
74aa22c5f3 Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron 2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
2602b90da1 Fixing missing return value. r+sr=me 2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu
c012476918 Fix build bustage AGAIN. 2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu
d222975881 Fixing build bustage on Windows. 2005-03-07 02:31:42 +00:00