roc+%cs.cmu.edu
55c04f87d7
Bug 109772. Cleanup views. Promote certain members of nsView and nsViewManager to stack variables. Provide non-COM versions of, and deprecate COM usage of, nsIView methods HasWidget, GetWidget, GetFloating, GetParent, GetFirstChild, GetNextSibling, GetOpacity, GetClientData, GetVisibility, GetViewManager, GetZIndex, GetPosition, and GetBounds. r+sr=dbaron
2003-06-24 01:00:46 +00:00
bryner%netscape.com
a4565876ab
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
seawood%netscape.com
8f112a4226
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
seawood%netscape.com
6934dc37a9
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 20:12:33 +00:00
timeless%mozdev.org
f0922b8bcd
Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect
...
r=roc+moz sr=roc+moz
2003-05-23 22:00:34 +00:00
kmcclusk%netscape.com
abdcfa94b2
Backing out my changes for bug 14190 to see if the Tp: and Ts: numbers on MacOSX go back down.
2003-05-22 04:59:30 +00:00
kmcclusk%netscape.com
9282e7cd01
defer showing/hiding widgets when view manager is batching updates to suppress invalidates bug=141901 a=asa r=roc+moz sr=kin
2003-05-22 03:19:44 +00:00
roc+%cs.cmu.edu
a168af7986
Bug 201442. Fix regression by making nsViewManager::Refresh() properly take into account views which have content extending above or to the left of their origin, and which have widgets. r+sr=dbaron,a=asa
2003-05-14 00:40:17 +00:00
bryner%netscape.com
4e18cb33f7
Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
2003-04-21 23:01:36 +00:00
seawood%netscape.com
5e2dd72a02
Implement mozcomps static build variant.
...
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
timeless%mozdev.org
1532cd372a
Bug 201596 nsScrollPortView::ScrollTo could trigger a crash if new PRInt32[SMOOTH_SCROLL_FRAMES*2]; failed
...
r=roc+moz sr=roc+moz
2003-04-16 21:32:31 +00:00
roc+%cs.cmu.edu
1304af9cbc
Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst
2003-04-15 13:40:46 +00:00
bryner%netscape.com
b0982cb3dc
nsViewFactory.cpp is dead now that view is in gklayout. Not part of the build.
2003-04-11 08:30:00 +00:00
roc+%cs.cmu.edu
513d28330f
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
2003-04-06 02:49:40 +00:00
roc+%cs.cmu.edu
964244daa3
Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron
2003-04-05 11:41:19 +00:00
bryner%netscape.com
6633d815fd
Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa.
2003-03-29 23:31:20 +00:00
sspitzer%netscape.com
918646badf
fix for blocker bug #199159
...
chrome not repainting, off by one errors in painting.
a rounding problem in ConvertNativeRegionToAppRegion()
thanks to roc for the fix. rs=sspitzer, a=loanpham
2003-03-26 19:02:12 +00:00
roc+%cs.cmu.edu
d03686c9ae
Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
2003-03-25 03:07:33 +00:00
roc+%cs.cmu.edu
cec34e763a
Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
2003-03-25 02:58:10 +00:00
darin%netscape.com
fbab8a3edd
backing out roc+%cs.cmu.edu check-in for bug 113232
2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
d48c2c89f7
Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
fe7dc57407
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
2003-03-24 04:54:48 +00:00
dougt%netscape.com
be629223b6
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
roc+%cs.cmu.edu
f295b9b118
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
2003-03-12 03:22:11 +00:00
aaronl%netscape.com
f3e62ba705
Bug 196308. Flashing/flickering display. r/sr=roc+moz
2003-03-11 19:27:30 +00:00
aaronl%netscape.com
c616086a0c
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
2003-03-06 23:07:00 +00:00
ere%atp.fi
b1647a8daa
Bug 195955, removal of unneeded code and indentation cleanup.
...
r/sr=roc+moz
2003-03-05 14:32:07 +00:00
roc+%cs.cmu.edu
72b9c92987
Bug 190311. Make nsImageGTK UpdateGC() when it needs to change the clip rect; make it set the correct clip rect. In the view system, make sure VIEW_CLIPPED is set only when needed.
2003-02-25 02:38:38 +00:00
bryner%netscape.com
c2be7f93ad
Remove unused nsViewManager::mLastRefresh (bug 194554). r=roc, sr=bz.
2003-02-23 03:41:23 +00:00
roc+%cs.cmu.edu
2d6d6229b8
Bug 178519. Move mouse capture to parent view if the capturing view goes away. r=kmcclusk,sr=bzbarsky
2003-02-23 02:53:15 +00:00
roc+%cs.cmu.edu
4397def730
Bug 180502. Never reorder views by z-index; just keep the document order. r=kmcclusk,sr=dbaron
2003-02-22 22:08:12 +00:00
roc+%cs.cmu.edu
28a06b97a1
Bug 182107. Don't let negative z-index views mess up document ordering. r=kmcclusk,sr=bzbarsky,a=asa
2003-02-13 19:27:58 +00:00
locka%iol.ie
14c75f1d2e
Fix mouse exit so it goes to the targetted view rather than the view the mouse may or may not be over as it leaves the main widget. b=144880 r=ccarlen@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org
2003-02-06 12:50:35 +00:00
dbaron%dbaron.org
44455b172e
Prevent clicking on a tooltip from freezing the UI by ensuring that hidden views can't capture mouse events. b=156764 r=roc sr=jag a=asa
2003-02-05 23:10:31 +00:00
sfraser%netscape.com
8c133355e7
Fix bug 117990: change CornerView::Paint() to lo longer to a CreateInstance of an nsILookAndFeel for every paint. r=peterl, sr=dbaron.
2003-01-17 00:14:35 +00:00
dbaron%dbaron.org
f2cd5e3e66
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
caillon%returnzero.com
b443430dc8
184257 - Updating pref callers. r=timeless sr=bzbarsky
2003-01-08 08:40:41 +00:00
seawood%netscape.com
4588fb970a
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
roc+%cs.cmu.edu
e48869f9a2
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
035d850bf9
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
22cb4ca6ed
Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
2002-12-21 02:51:14 +00:00
roc+%cs.cmu.edu
176fd20954
Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
2002-12-14 16:18:57 +00:00
roc+%cs.cmu.edu
93e5b50e9f
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
f5a2455464
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
roc+%cs.cmu.edu
2bc9655d4f
Bug 170011. Revert behavior of 'overflow:hidden' to only affect children for the current element is a containing block ancestor. r=dbaron,sr=kin
2002-11-10 18:24:31 +00:00
jkeiser%netscape.com
3842a0f146
Make hidden iframes and other widgets not display sub-widgets (bug 139805), r=roc+moz@cs.cmu.edu, sr=dbaron@fas.harvard.edu, a=asa
2002-10-18 19:17:35 +00:00
roc+%cs.cmu.edu
14f603c230
Bug 171334. r=kmcclusk,sr=kin,a=asa. Fix views crasher by eliminating content-parenting nesting assumptions.
2002-10-11 01:23:13 +00:00
roc+%cs.cmu.edu
edadb80f12
Bug 153679. r=gisburn,sr=kin. Remove bogus assertion; it's OK to have no widget sometimes during scrolling or invalidation.
2002-10-08 04:18:05 +00:00
roc+%cs.cmu.edu
c50c2ccca6
Fixing bustage, checked in a bit of another patch, sorry. sr=me
2002-09-30 12:41:11 +00:00
roc+%cs.cmu.edu
3681ee88af
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
2002-09-30 11:56:37 +00:00
cbiesinger%web.de
22f5d480bc
bug 169483 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls/roc+moz sr=kin
2002-09-23 12:10:28 +00:00
alecf%netscape.com
2eb51aa759
re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
...
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
roc+%cs.cmu.edu
11eb58f804
Bug 168294. Make sure all types of clipping are applied using the zParent view chain. r=kmcclusk,sr=kin
2002-09-17 04:16:25 +00:00
alecf%netscape.com
e58883353c
backing out my fix to 166147 to see if it fixes orange
2002-09-16 23:48:12 +00:00
alecf%netscape.com
ce7a2b3f57
fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
...
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
kmcclusk%netscape.com
1ae7c611f8
reparent the view's descendant widgets when a view is re-inserted into a new view hierarchy position by paginated reflow. b=129034 r=roc+moz sr=kin
2002-09-12 03:59:15 +00:00
roc+%cs.cmu.edu
86f18db9c0
Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin
2002-09-11 02:33:43 +00:00
dougt%netscape.com
c5e8f896cd
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt%netscape.com
d94b37c68a
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +00:00
roc+%cs.cmu.edu
c4de5e81fb
Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
faf91cb796
Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin
2002-09-03 21:36:28 +00:00
roc+%cs.cmu.edu
beff719ea7
Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
2002-08-30 03:32:05 +00:00
mjudge%netscape.com
225499c46a
4302. left this out of checking. fixing bustage
2002-08-26 21:46:13 +00:00
seawood%netscape.com
97fd6e4aed
Removing unused defines:
...
_IMPL_NS_BASE (bug #162142 )
_IMPL_NS_GFXONXP (bug #162145 )
_IMPL_NS_UI (bug #162183 )
B_ONE_M (bug #162196 )
XP_NEW_SELECTION (bug #162230 )
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
aaronl%netscape.com
526ac11f6a
Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst
2002-08-10 08:03:53 +00:00
seawood%netscape.com
8ae6c40f5d
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
roc+%cs.cmu.edu
28426a3c01
Bug 159587. Force view manager to invalidate necessary areas when clipping is changed. r=kmcclusk,sr=bz
2002-08-08 01:03:57 +00:00
seawood%netscape.com
fdafe18afe
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
9e99f1e330
Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
...
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc
2002-08-06 03:27:05 +00:00
rginda%netscape.com
fa1dc060d3
bug 155328, r=bz, sr=jst
...
fix uninitialized return value in nsViewManager::Init
2002-07-26 23:09:06 +00:00
rginda%netscape.com
1feb9e619c
bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
...
sr=jst, r=roc+mozilla@cs.cmu.edu , a=asa
make sure we always post new invalidate events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.
2002-07-26 03:31:56 +00:00
kmcclusk%netscape.com
353410cea2
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
e89c78b98a
backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853
2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
a84a43a1c8
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 02:53:35 +00:00
dbaron%fas.harvard.edu
2bf216c9e2
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
roc+%cs.cmu.edu
5fdacceb4e
Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
2002-06-12 03:22:35 +00:00
roc+%cs.cmu.edu
d4ec0a892f
Bug 148350. Fix the gcc optimizer workaround. r=kmcclusk,sr=waterson
2002-06-12 03:18:10 +00:00
kmcclusk%netscape.com
2d6ba0cfd1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
3cb6d6861c
Bug 148350. Tweak code to avoid bug in gcc 2.95.3 with -O2. r=roc+moz,sr=jag
2002-06-04 04:55:04 +00:00
roc+%cs.cmu.edu
242accac2e
Bug 142461. Turn off annoying debug messages. r=kmcclusk,sr=waterson
2002-06-04 04:48:04 +00:00
roc+%cs.cmu.edu
aba7abeeed
Bug 141900. Ensure that SetViewChildClip respects nsIClipView clipping. r=kmcclusk,sr=waterson
2002-05-30 01:59:57 +00:00
roc+%cs.cmu.edu
5847fe2819
Bug 136441. Don't let floating views get clipped by non-floating parents. r=kmcclusk,sr=attinasi
2002-05-30 01:42:41 +00:00
hwaara%chello.se
15b28d747c
#138852 , removing last living parts of viewmanager2.
...
r=kmcclusk, sr=jst
2002-04-23 14:53:44 +00:00
joki%netscape.com
e385f718ea
Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst
2002-04-14 21:45:04 +00:00
pinkerton%netscape.com
8498242ad8
turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764
2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
daafa0027c
Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw
2002-04-12 13:43:32 +00:00
hyatt%netscape.com
05ff2775f2
Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
1862528360
Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag
2002-04-11 03:26:30 +00:00
rods%netscape.com
073485a97b
This backs out the previous patch and just check to see if it is also a
...
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
yokoyama%netscape.com
477b1ae5ae
Bug fix 130122
...
Needed to add code for IME key event (NS_IS_IME_EVENT())
Impact only on CJK keyboard input
/r=yokoyama, /sr=roc+moz, /a=asa, /adt+=jaime
2002-04-04 22:34:04 +00:00
rods%netscape.com
6bdd9485c2
Add SetVisibility method to Scroll Views
...
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
cb3fd90344
Bug 131487. Fix semantics of GetViewFlags/SetViewFlags. r=kmcclusk,sr=attinasi,a=asa
2002-03-26 12:12:36 +00:00
roc+%cs.cmu.edu
251d4521da
Bug 128478. Don't let key events go through coordinate-based dispatching. r=kmcclusk,sr=kin,a=asa
2002-03-26 12:10:52 +00:00
roc+%cs.cmu.edu
6af37f443c
Fixing bustage. In time, the C++ standards committee will pay for their crimes.
2002-03-19 04:32:01 +00:00
roc+%cs.cmu.edu
62bcf11af1
Bug 124554. Make intelligent decisions about when to scroll using bitblit and when we need to do complete repaints. r=kmcclusk,sr=attinasi,a=asa
2002-03-19 03:34:10 +00:00
roc+%cs.cmu.edu
a73beadc06
Bug 130263. Don't add children of hidden views to any display list. r=kmcclusk,sr=attinasi,a=asa
2002-03-19 02:48:38 +00:00
kin%netscape.com
eeff36aa38
Fix for bug 127368 (Can't type in textfields in pages with an iframe and body with marginheight and marginwidth=0)
...
Modified HandleEvent() to prevent forwarding KeyEvents to views with a different ViewManager.
r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com a=shaver@mozilla.org
2002-02-28 22:30:01 +00:00
roc+%cs.cmu.edu
f7d33de273
Bug 91516. FIXING BUSTAGE AGAIN
2002-02-19 23:19:11 +00:00
roc+%cs.cmu.edu
0979a1c412
Fixing bustage. Bug 91516.
2002-02-19 22:26:50 +00:00
roc+%cs.cmu.edu
18ecdfc4e9
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00