847 Commits

Author SHA1 Message Date
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
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
roc+%cs.cmu.edu
b060f2988a Bug 130078. Backing out now that I have perf. numbers
git-svn-id: svn://10.0.0.236/trunk@195952 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7137e91d6a Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195951 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 03:46:19 +00:00
sharparrow1%yahoo.com
919333689b Bug 332746: null check to prevent crash printing select controls. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194948 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 04:08:18 +00:00
sharparrow1%yahoo.com
4cfcd94b38 Okay, backout and try this again
git-svn-id: svn://10.0.0.236/trunk@194947 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 04:05:04 +00:00
sharparrow1%yahoo.com
480bb8ab2b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@194946 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 04:03:01 +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
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +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
dbaron%dbaron.org
8cfdd67955 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
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +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
cbiesinger%web.de
cbd25d0bb8 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


git-svn-id: svn://10.0.0.236/trunk@191776 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 14:23:39 +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
timeless%mozdev.org
faf573a28d Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +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
dbaron%dbaron.org
f1535b3592 Remove old native widget code that we were only keeping around for viewer. b=326417 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@189432 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 20:50:17 +00:00
roc+%cs.cmu.edu
59c8c3c53b Bug 324883. Be sure to initialize variables! Fix some cases where we weren't scrolling with bitblit when we could be. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188992 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 02:41:51 +00:00
dbaron%dbaron.org
e2ddf4e5fc Another attempt at the Windows bustage. b=317375
git-svn-id: svn://10.0.0.236/trunk@188221 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 07:06:26 +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
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
be053655f3 Bug 281709. When Show()ing a widget, unconditionally reset its bounds *right now* even if updates are suppressed. patch by bzbarsky, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182683 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:40:04 +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
ec301eedd9 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.


git-svn-id: svn://10.0.0.236/trunk@181617 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 22:46:31 +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
dbaron%dbaron.org
a24ca3afc9 Back out bug 281709 since it makes tabbed browsing unusable on at least GTK2.
git-svn-id: svn://10.0.0.236/trunk@181307 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 19:25:42 +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
silver%warwickcompsoc.co.uk
f1e55e8221 Bug 281709 - Buffer view visibility changes like resizes. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@181122 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 08:59:36 +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
bryner%brianryner.com
4fead866a1 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.
git-svn-id: svn://10.0.0.236/trunk@178742 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 21:52:59 +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
roc+%cs.cmu.edu
807a8ce1b9 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
git-svn-id: svn://10.0.0.236/trunk@176286 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 22:01:19 +00:00
masayuki%d-toybox.com
dea8f5f3f3 Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
git-svn-id: svn://10.0.0.236/trunk@175909 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-11 05:27:10 +00:00
roc+%cs.cmu.edu
e6421d4f1c 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
git-svn-id: svn://10.0.0.236/trunk@175904 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-10 23:50:32 +00:00
masayuki%d-toybox.com
53fbb10ba3 Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@175753 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
d3fc9c1d9c Backing out fix for bug 296838 to see how it's hurting Tp
git-svn-id: svn://10.0.0.236/trunk@175026 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:17:45 +00:00