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
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
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
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
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
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
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
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
a6a3537c81
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
...
git-svn-id: svn://10.0.0.236/trunk@174046 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 09:00:48 +00:00
bryner%brianryner.com
189a661d09
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.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu
b301051b39
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
...
git-svn-id: svn://10.0.0.236/trunk@172840 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
c10d27a704
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.
...
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:59:02 +00:00
aaronleventhal%moonset.net
6d9d039e4c
Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170700 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu
8236d1c5c5
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170324 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
cc672861f0
Fix build bustage AGAIN.
...
git-svn-id: svn://10.0.0.236/trunk@170261 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu
7716d7e3ef
Fixing build bustage on Windows.
...
git-svn-id: svn://10.0.0.236/trunk@170258 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 02:31:42 +00:00
roc+%cs.cmu.edu
80ebc8eca4
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
...
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
roc+%cs.cmu.edu
19c46ac733
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
...
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu
8489f8d24b
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
git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
timeless%mozdev.org
8bbaa8a03e
Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@166001 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:04:17 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
067c70d127
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
18c53f2f32
Bug 267302 Views should be created by the view manager r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
f53f98f7f3
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
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
cbb6297ddd
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
...
git-svn-id: svn://10.0.0.236/trunk@164828 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:37:21 +00:00
roc+%cs.cmu.edu
5376e448a8
Bug 265983. GTK1 needs GetNativeData(NS_NATIVE_WIDGET) to be passed as the native parent, not NS_NATIVE_WINDOW. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164667 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 12:57:46 +00:00
bzbarsky%mit.edu
3a053f56de
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
git-svn-id: svn://10.0.0.236/trunk@164628 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 20:47:25 +00:00
roc+%cs.cmu.edu
a5b948fd1a
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
...
git-svn-id: svn://10.0.0.236/trunk@164150 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-21 18:35:35 +00:00
dbaron%dbaron.org
4788c0f03d
Remove unneeded dependency on layout. b=227361 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu
8ff367d401
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
cbiesinger%web.de
7e24ddb14b
bug 259803 get views using GetInterface from a widget's client data, rather than
...
by queryinterface, r=pinkerton sr=roc
git-svn-id: svn://10.0.0.236/trunk@162549 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:51:31 +00:00
cbiesinger%web.de
49a0c9fc4b
Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
cbiesinger%web.de
47104955d7
fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161770 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 21:30:18 +00:00
cbiesinger%web.de
aebea73882
fixing gcc 3.4 bustage (removing extra semicolon)
...
git-svn-id: svn://10.0.0.236/trunk@161760 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 17:20:00 +00:00
cbiesinger%web.de
0be99300a4
Bug 250342 Views should not inherit from nsISupports
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
92e59ef827
Backing out 233441.
...
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
gerv%gerv.net
8419e1650f
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
8a8e4a6529
Bug 232469. Rework view clipping to handle three kinds of clip: clip to arbitrary rect, clip containing block children to bounds, clip all children to boudns. r+sr=dbaron,a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@153854 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 00:32:01 +00:00
bryner%brianryner.com
e6a225b469
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
roc+%cs.cmu.edu
83d80aee52
Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
...
git-svn-id: svn://10.0.0.236/trunk@152103 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 23:52:39 +00:00
roc+%cs.cmu.edu
0456e20a91
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
dbaron%dbaron.org
85465588e0
Miscellaneous cleanup. b=232393 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@151995 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 00:04:58 +00:00
caillon%returnzero.com
6ca68157ac
This should be #ifdef DEBUG.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151601 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 22:15:38 +00:00