Граф коммитов

1042 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu fa17cb13a6 Bug 402843. Don't persistently store scroll positions in device pixels, it just gets out of sync and causes bugs during full zoom. r+sr=bzbarsky 2007-11-16 01:45:21 +00:00
roc+%cs.cmu.edu 4de83d700a Bug 400208. Don't leak mScrollCnt when we take an early exit from UpdateViewAfterScroll. r+sr=bzbarsky,a=beltzner 2007-10-24 21:44:37 +00:00
bzbarsky%mit.edu ac2d663836 Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron
2007-08-22 02:57:08 +00:00
sharparrow1%yahoo.com 4d2ba6a8dd Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc 2007-08-13 20:49:35 +00:00
sharparrow1%yahoo.com b329ef5c40 Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc 2007-07-09 05:04:02 +00:00
jwalden%mit.edu ef68fcf595 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. 2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com 63e0ff03ce Bug 385222: Topmost overlapping div does not scroll within the bounded area of the underlying div. r+sr=roc. 2007-07-02 20:56:30 +00:00
sharparrow1%yahoo.com 4ce4851108 Bug 382756: ASSERTION: When exactly is this supposed to be non-zero?. r+sr=roc. 2007-06-30 01:41:10 +00:00
mconnor%steelgryphon.com fde07e07ff backing out bug 347743 due to major crasher in 386332 2007-06-29 17:25:41 +00:00
sharparrow1%yahoo.com 90b3485c23 Remove assertion accidentally checked in. 2007-06-28 06:05:44 +00:00
sharparrow1%yahoo.com 04478ab6a4 Bug 382595: SVG image is covered with horizonal lines when scrolled. r+sr=roc. 2007-06-28 06:02:05 +00:00
jst%mozilla.org d514bd490c Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org 2007-06-28 00:15:12 +00:00
sharparrow1%yahoo.com da28596a98 Update UUIDs 2007-06-27 22:15:13 +00:00
sharparrow1%yahoo.com 84a7429ed1 Bug 385978: View cleanup. r+sr=roc 2007-06-27 21:23:03 +00:00
sharparrow1%yahoo.com 0d381b42d0 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 19:07:13 +00:00
martijn.martijn%gmail.com 2577056d79 Bug 383010 - Visual glitches while scrolling pages with position:fixed elements, patch by Stephen Moehle, r+sr=roc 2007-06-05 09:39:54 +00:00
roc+%cs.cmu.edu 91130dabe7 Bug 382471. Don't crash when wigets aren't present. patch by Eli Friedman, r+sr=roc 2007-05-31 23:23:32 +00:00
roc+%cs.cmu.edu f9e9fe320a Bug 382471. Don't crash when wigets aren't present. patch by Eli Friedman, r+sr=roc 2007-05-31 23:23:05 +00:00
roc+%cs.cmu.edu d8284f76a9 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 2007-05-28 03:17:20 +00:00
sharparrow1%yahoo.com 637df8360e Bug 381746: odd and changing border in frameset (and a couple other regressions relating to black boxes). r+sr=roc. 2007-05-26 03:45:00 +00:00
sharparrow1%yahoo.com d6b14eb5b9 Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc. 2007-05-23 03:45:59 +00:00
sharparrow1%yahoo.com 1c0bcf37c2 Backing out due to red tree. 2007-05-23 01:57:41 +00:00
sharparrow1%yahoo.com c0de8f795e Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-23 01:42:37 +00:00
sharparrow1%yahoo.com 3319de9cba Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-23 00:11:05 +00:00
dbaron%dbaron.org ad6b422adb Remove unused variable/parameter in view code. b=371392 r+sr=roc 2007-05-18 06:02:00 +00:00
mats.palmgren%bredband.net a729d7dc73 Be more careful when detaching an old window. b=374102 r+sr=roc 2007-05-14 00:43:13 +00:00
sharparrow1%yahoo.com d23471dc9b Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 23:28:02 +00:00
mats.palmgren%bredband.net ab6e84a352 Lookup the view again since WillPaint() might lead to its destruction. b=378273 r+sr=roc 2007-04-30 00:46:27 +00:00
aaronleventhal%moonset.net 57b3ddaec3 Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc 2007-04-18 13:44:28 +00:00
joshmoz%gmail.com 313da89546 get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-27 06:21:57 +00:00
sharparrow1%yahoo.com 6d03e63e35 Bug 371528: Stop creating views for pages. r+sr=roc. 2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com 90d1fd161d Bug 371460: Remove clipping functions from views. r+sr=roc. 2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com 199d4d164d 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 2bdae2af37 Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
sharparrow1%yahoo.com bf2b212c90 Bug 356858: remove unused declarations. r+sr=roc 2006-11-24 08:09:28 +00:00
roc+%cs.cmu.edu 0aa728d839 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 f9da27583e 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 5aecbf0f7e 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 b56e490687 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron 2006-11-13 22:59:14 +00:00
neil%parkwaycc.co.uk 6c75d3046f Bug 70798 Ability to have transparent background on <popup>s r+sr=roc 2006-09-07 08:50:43 +00:00
timeless%mozdev.org 9975414f7c Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
roc+%cs.cmu.edu d537519d29 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 a844b938c3 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 7d3e7d7acd 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 1fe4516c9f 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 c577ddef7d Bug 130078. Backing out now that I have perf. numbers 2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu f3a912e6c7 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 372b64a72d Bug 332746: null check to prevent crash printing select controls. r+sr=roc 2006-04-20 04:08:18 +00:00
sharparrow1%yahoo.com 68743d6423 Okay, backout and try this again 2006-04-20 04:05:04 +00:00
sharparrow1%yahoo.com 678da77cb5 *** empty log message *** 2006-04-20 04:03:01 +00:00
martijn.martijn%gmail.com ca60261112 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 ac49c790c1 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 6a505ed594 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc 2006-03-22 18:00:28 +00:00
dbaron%dbaron.org 1eb1c55661 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 79537cba53 Make patch for 328337 cairo gfx-only, to fix bug 329917 2006-03-09 21:17:47 +00:00
vladimir%pobox.com 2178c397a5 b=328337, black flash often when repainting areas, r=roc 2006-03-07 21:08:48 +00:00
cbiesinger%web.de 68a16dabdd 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 d059e0d701 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 6a510cc56b Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
dbaron%dbaron.org c4fd5d52a0 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 ae97fda203 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc 2006-02-15 23:35:53 +00:00
vladimir%pobox.com b47a48ee56 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 aa7e2eebc4 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 f5a9c9dd6d 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 7a4c77da88 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 6cb985a451 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 d08b0241f8 Another attempt at the Windows bustage. b=317375 2006-01-26 07:06:26 +00:00
roc+%cs.cmu.edu 5451e97878 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 b4d152879a Bug 306426. Allow synthetic mouse events to target floating views. r+sr=dbaron 2005-12-15 03:33:52 +00:00
timeless%mozdev.org 3db428f6ac 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 dff1dea638 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 126059ec86 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 60cd251d95 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 3de1cca9d8 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 04b9190411 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 9ea7448b86 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 b64da37bb4 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 7ee682518c 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 bf28e4351e 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 324f672979 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 68197ec44d Bug 281709 - Buffer view visibility changes like resizes. r/sr=roc 2005-09-28 08:59:36 +00:00
vladimir%pobox.com 52985da319 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 a13ee2622a 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 31124c236b 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 0689d85cf0 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 8cbfb87c0c 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 3637619bd4 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 f41c3cb1f3 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 2b9edf597c 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 196a4a38f3 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 e681bbb920 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 1ffaf0e3af 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 21ec8e4859 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 fdbfe2ab6b 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 5e57c3c681 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 cee1401380 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 d2fab20214 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 cded31e74d 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 2a22298de9 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 592dbdc176 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 373d7db1ba 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 c4b8dd4f16 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 34b98c1b02 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 58a61d1f86 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 af00f217f9 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 0a03a0d604 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 7b2e16a4ac 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 12781e0d34 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 f1d51412bf 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 d6a740117e 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 50c7a97ed4 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 0fc7d6bb23 Bug 288222. fixing up variable name as Boris requested. 2005-03-30 20:26:54 +00:00
roc+%cs.cmu.edu 29784f6002 Bug 288222. resync widgets with views before trying to paint. r+sr=bzbarsky 2005-03-30 20:25:15 +00:00
aaronleventhal%moonset.net cfd66d6bcb Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc 2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu 63b60e6d63 Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron 2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu d58751de36 Fixing missing return value. r+sr=me 2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu 00dcc73d5b Fix build bustage AGAIN. 2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu 7bee79a75c Fixing build bustage on Windows. 2005-03-07 02:31:42 +00:00
roc+%cs.cmu.edu c8d3df631f Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky 2005-03-07 01:24:22 +00:00
roc+%cs.cmu.edu 55480a9b6f Bug 125386. Turn MOUSE_EXIT events into MOUSE_MOVEs when the mouse didn't actually leave the top level widget. r+sr=bzbarsky 2005-02-23 21:46:43 +00:00
bzbarsky%mit.edu 0d17b2af44 Followup to bug 281173 -- scrolling in an iframe will in fact cause us to
effectively have nested scrolls...  r+sr=roc
2005-02-18 06:11:36 +00:00
bzbarsky%mit.edu e69325f015 Don't flush out reflow while scrolling. Possible fix for crash bug 281173,
r+sr=roc, a=caillon.
2005-02-11 16:23:57 +00:00
bzbarsky%mit.edu cdc589d7c1 Make sure to not reenter painting while the mRecursiveRefreshPending flag is
still set.  Bug 278811, r+sr=roc
2005-02-05 02:47:26 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu c6aa20835d Fix win32 build bustage 2005-02-03 06:26:20 +00:00
bzbarsky%mit.edu cad0d708f5 Fix invalidation regression when scrolling. When we bit-blit, we need to
make copies of existing dirty regions, offset them by the scroll amount, and
add to our dirty region on the scrolling view.  Bug 280041, r+sr=roc
2005-02-03 05:01:54 +00:00
bzbarsky%mit.edu 95acd8f9c5 Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +00:00
bzbarsky%mit.edu 4b0b6a1704 Repost invalidate events that fire in the middle of a view update batch. Bug
280214 partial fix, r+sr=roc
2005-01-31 22:41:19 +00:00
roc+%cs.cmu.edu 271af35b03 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu cd964f3a39 Use the right view observer for events. Fixes some crashes. Bug 279205, r+sr=roc 2005-01-23 20:55:53 +00:00
bzbarsky%mit.edu d222ecb623 Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
bzbarsky%mit.edu fdcd5b0c3d Add a kungFuDeathGrip to make sure our synthetic mouse events don't kill us,
and make sure to RevokeEvent on all viewmanagers.  Bug 277234, r=dbaron,
sr=darin, a=asa
2005-01-07 03:23:34 +00:00
timeless%mozdev.org 898ebb662d Bug 273808 nsViewManager::CreateBlendingBuffers should null mBlender if it fails to init
r=roc sr=roc
2004-12-20 19:43:31 +00:00
bsmedberg%covad.net 81a0de68d5 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
aaronleventhal%moonset.net b84689e3b5 Bug 163562. Home/end keys should not affect horizontal scrolling. Patch by dmitry@kirsanov.com. r=aaronleventhal, sr=roc 2004-12-01 16:21:20 +00:00
timeless%mozdev.org 217f95879b Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
r=roc sr=roc
2004-12-01 03:04:17 +00:00
ere%atp.fi 45881dafd2 Optimization patch for bug 228399 (background-color is mishandled when -moz-opacity is less than 1.0)
r+sr=roc
2004-11-27 08:22:22 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
dbaron%dbaron.org f749b59b77 Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
neil%parkwaycc.co.uk d13fb54f7e Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu 7198a5985b Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
bzbarsky%mit.edu 6d722e7a61 Don't clear the root view manager pointer when the root view is destroyed. Bug
269402, r+sr=roc, a=asa
2004-11-22 03:06:14 +00:00
bzbarsky%mit.edu dbebdc563a Don't invalidate areas in hidden widgets, and don't subtract hidden widgets or
widgets without views or widgets in different viewmanagers out of the area we
need to invalidate.  Bugs 268090, 269736, 268252.  r+sr=roc, a=asa
2004-11-18 20:47:42 +00:00
timeless%mozdev.org ea2f3df3b9 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
roc+%cs.cmu.edu 93c8848740 Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky 2004-11-05 13:59:33 +00:00
neil%parkwaycc.co.uk df96a6a58f Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:36:49 +00:00
neil%parkwaycc.co.uk 869014801a Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu 683944da62 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu c804dd83a2 Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky 2004-11-03 02:37:21 +00:00
roc+%cs.cmu.edu 340cf81270 Bug 265983. GTK1 needs GetNativeData(NS_NATIVE_WIDGET) to be passed as the native parent, not NS_NATIVE_WINDOW. r+sr=bzbarsky 2004-10-30 12:57:46 +00:00
bzbarsky%mit.edu f958ca676d Push view update batching up to the root view manager. Make all associated
members only be accessed by the root view manager.  Document the invalidation
setup a bit.  Bug 244290, r+sr=roc
2004-10-29 20:47:25 +00:00
roc+%cs.cmu.edu d3706fffdc Bug 264245. Make all popups have no nsIWidget parent to avoid the hassles of various widget implementations not keeping their position consistent with their parent. Also, aggressively invalidate cached screen coordinates in GTK1 to avoid bugs. r=bzbarsky,sr=blizzard 2004-10-21 18:35:35 +00:00
dbaron%dbaron.org 624d7dd122 Fix Windows regression (view for paints can vary across platforms). b=227361 r+sr=roc 2004-10-19 22:04:47 +00:00
dbaron%dbaron.org 1df53997e0 Null-check view observer. b=264683 r+sr=roc 2004-10-18 02:41:56 +00:00
dbaron%dbaron.org e45881224c Commenting out assertion that I added yesterday. b=227361 2004-10-15 21:39:37 +00:00
dbaron%dbaron.org cbd46ce33d Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.) 2004-10-14 21:51:00 +00:00
dbaron%dbaron.org 4277cbb2bd Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron%dbaron.org 0c6786b66d Bustage fix. b=227361 2004-10-13 23:06:39 +00:00
dbaron%dbaron.org 0bfc91bf4e Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc 2004-10-13 22:37:32 +00:00
dbaron%dbaron.org 5e2c923876 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:08:00 +00:00
dbaron%dbaron.org 13700142d7 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu 818d0bd3ff Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu 2fdb399a89 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
dbaron%dbaron.org 31d6246793 Fix Sun Forte bustage. b=262596,261310 2004-10-02 18:27:37 +00:00
dbaron%dbaron.org f26ae219a5 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
roc+%cs.cmu.edu aad4c8efa2 Bug 160095. Don't crash trying to print documents using -moz-opacity. r+sr=bzbarsky. 2004-09-29 01:36:46 +00:00
dbaron%dbaron.org 747192a54e Untabify. 2004-09-28 20:49:25 +00:00
neil%parkwaycc.co.uk 1c346b8beb Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
cbiesinger%web.de 7cce1d2bea bug 259803 get views using GetInterface from a widget's client data, rather than
by queryinterface, r=pinkerton sr=roc
2004-09-20 12:51:31 +00:00
cbiesinger%web.de 337362d9eb Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
dbaron%dbaron.org fa2cc9940e Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
cbiesinger%web.de 997a91d826 fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron 2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com 63c881aeb2 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
cbiesinger%web.de a3eecd9973 fixing gcc 3.4 bustage (removing extra semicolon) 2004-09-04 17:20:00 +00:00
cbiesinger%web.de 28133d3196 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de 6709d53145 Bug 257920 remove unused nsIClipView
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu 44a6b0cd53 Bug 228780. Fix unused variable warning. r=roc,sr=dbaron, patch by Serge GAUTHERIE 2004-08-28 02:22:06 +00:00
timeless%mozdev.org 600c03e4cd Bug 256610 Crash [ @ nsViewManager::GetMouseEventGrabber]
patch by cst@andrew.cmu.edu r=roc sr=roc
2004-08-23 19:01:39 +00:00
bzbarsky%mit.edu b043cfdf41 Comment-only spelling fix. a=asa 2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu 389d0576ce Stop building up the opaque region if it gets too complicated. Bug 253001,
r+sr=roc
2004-08-11 05:12:43 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 9477e33c6b Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com 79ebda78b6 Bug 249810 - Add calls to PL_FreeArenaPool() so Arena memory ends up on the
global Arena free list.  This is good because these arenas get created and
destroyed quickly. r+sr=roc
2004-07-16 14:44:10 +00:00
jim_nance%yahoo.com 04359cb2fc Backing out last change. I didn't realize the tree was frozen 2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com 98f49f7a08 Fix bug 152596 - Add calls to PR_FreeArenaPool() before PR_FinishArenaPool()
so that memory is added to the global free lists.  r+sr=roc
2004-07-09 03:32:56 +00:00
jim_nance%yahoo.com ce5d0d510e Fix but 249923
- Remove hashtable from nsViewManager.  It is now created on the stack when
  it is needed.
- Remove DestroyZTreeNode().  It only removes things from the above hashtable
  and that is going to be destroyed shortly after the call.
2004-07-06 02:09:47 +00:00
roc+%cs.cmu.edu d2859ce21a Remove nsIScrollingView::Get/SetControlInsets, since it's unused. 2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com 5950eddc2e Attempt 2 at fixing build problem. 2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com 822ffb83a6 Attempt to fix Firefox build bustage resulting from my last checkin. 2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com c26874ad92 Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc 2004-07-05 13:10:25 +00:00
dbaron%dbaron.org 6d18a9bb63 Fix coordinate transformations used for computing mMouseLocation so they're relative to the root view rather than the end of the parent chain (which differ for, e.g., frames). Add some debugging code (turned off). b=248606 r+sr=roc 2004-06-25 19:02:37 +00:00
dbaron%dbaron.org 0d6e63fdc4 Don't treat mouse exit and enter events as user events for purposes of content sink frequency tuning, since they're often caused by widget creation/destruction, and if the user moves the mouse we'll get real mousemove events. I'm hoping this will smooth pageload times. b=248226 r+sr=bryner 2004-06-23 17:31:29 +00:00
dbaron%dbaron.org 5a31f8f3ae Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner 2004-06-22 22:30:18 +00:00
dbaron%dbaron.org 0ec49fbb44 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc 2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu 1169792709 Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron 2004-05-31 20:01:58 +00:00
bzbarsky%mit.edu 6dbdd04b40 Making desperate attempt to reland with a couple crash-proofing changes. Bug
243724, r+sr=roc
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu 8d3347a058 Backing out to try and fix mac orange. Bug 243724 2004-05-22 20:04:59 +00:00
roc+%cs.cmu.edu 2e474e6454 Bug 243757. Handle cases where this view manager's root view is not an ancestor of the view grabbing the mouse. r+sr=bzbarsky 2004-05-22 19:55:01 +00:00
bzbarsky%mit.edu b2a508557a deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
on a previous-but-similar iteration of the patch).
2004-05-22 16:47:13 +00:00