kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
kipp%netscape.com
45062bc473
r=beard; Added in ctor/dtor counting
1999-10-05 14:52:53 +00:00
beard%netscape.com
9eae33066d
changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
1999-10-03 20:46:23 +00:00
peterl%netscape.com
c32fdd9ce6
when hiding a view, invalidate the parent view since the hidden view will reject the invalidate
1999-09-29 03:29:21 +00:00
pinkerton%netscape.com
1de56fc7bf
don't call UpdateView if visibility hasn't changed (bugs 14782, 14925). rev beard/ramiro, appr leaf.
1999-09-28 21:23:32 +00:00
pavlov%netscape.com
9018ba8840
work to get drawing done based on regions and not rects a=shaver r=beard
1999-09-28 01:28:03 +00:00
dp%netscape.com
204a794ed9
raptorview into component
1999-09-28 00:58:35 +00:00
dp%netscape.com
5e1a489b0a
raptorview into component
1999-09-28 00:52:36 +00:00
dp%netscape.com
4b2dd031d4
Converting ViewFactory to nsIModule.
1999-09-27 23:55:05 +00:00
beard%netscape.com
ff9ac41de5
leaking nsIRegions in nsViewManager::ProcessPendingUpdates() when region is empty. Duh! Switched to nsCOMPtr.
1999-09-27 17:48:33 +00:00
beard%netscape.com
568fe5021e
bug #7774 : added SetViewAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy
1999-09-23 23:26:57 +00:00
beard%netscape.com
a725e87b49
bug #7774 : added SetViewAutoZIndex to support CSS2 auto z-indexing. bug# 14601: assertion cleanup, using #ifdef instead of if (gsDebug). a=leaf, r=troy
1999-09-23 23:26:55 +00:00
beard%netscape.com
9ce828e930
bug #7774 : added new bit NS_VIEW_PUBLIC_FLAG_AUTO_ZINDEX, SetAutoZIndex/GetAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy
1999-09-23 23:26:54 +00:00
beard%netscape.com
0cc9f5ea7f
bug #10503 : override SetZIndex to propagate to child views. a=leaf, r=troy
1999-09-23 23:26:49 +00:00
beard%netscape.com
331a31bd12
bug #6251 : added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. a=leaf, r=troy
1999-09-23 23:26:47 +00:00
joki%netscape.com
b4f1ed1265
Add new scroll method to allow scrolling to top or bottom of doc.
1999-09-21 14:15:53 +00:00
beard%netscape.com
211161b53d
bug #6251 : added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager.
1999-09-19 00:51:41 +00:00
beard%netscape.com
4ba19f3a53
nsIScrollPositionListener support.
1999-09-18 04:42:11 +00:00
beard%netscape.com
4fca2fc2b8
Added nsIScrollPositionListener.h
1999-09-18 04:39:03 +00:00
beard%netscape.com
bb1ebef81d
First Checked In.
1999-09-18 04:34:49 +00:00
warren%netscape.com
30cbaf7840
Added missing rv initialization which was causing the component manager to fail under purify. Submitted bug #14130 to dp about the component manager problem.
1999-09-17 07:09:42 +00:00
briano%netscape.com
49a9c60d81
General cleanup.
1999-09-15 23:36:43 +00:00
kin%netscape.com
af323a9056
Fix for bug #13439 : SelectAll Delete does not repaint entire edit area
...
- Removed all references to mUpdateBatchCnt
in nsViewManager::UpdateView().
- The methods Enable/DisableRefresh() now check to
see if we are batching before executing their code.
This will prevent any layout/parser code from turning
on refresh before all Begin/EndUpdateViewBatch() calls
are unwound.
1999-09-15 20:39:03 +00:00
kin%netscape.com
8d6fbf7f64
Fix for bug #13440 : Repaint problems when typing at the end of a document.
...
- modified nsScrollingView::ComputeScrollOffsets()
so that it doesn't change the scrolled offsets
just because the document size changed.
1999-09-15 20:38:53 +00:00
ramiro%netscape.com
e8ba593918
Cleanup the neckutil linking thing.
1999-09-15 02:15:11 +00:00
danm%netscape.com
c16e63e306
reorder treatment of refcount during release. fixes bug 13556
1999-09-15 00:15:25 +00:00
beard%netscape.com
066b7b0cfe
using generic factory for nsViewManager creation, removed extraneous calls to AddRef/Release of created views.
1999-09-13 03:34:56 +00:00
beard%netscape.com
a74068ad1e
switched to NS_DEFINE_STATIC_IID_ACCESSOR
1999-09-13 03:04:17 +00:00
beard%netscape.com
8fb6ba40fc
switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations.
1999-09-13 03:03:42 +00:00
colin%theblakes.com
ec0fd58f5b
Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS
1999-09-12 12:45:00 +00:00
beard%netscape.com
e5d68d87f2
bug #11637 : using an nsIRegion to track already painted opaque views, to get around funky front to back -> back to front transitions. probably being overaggressive about this, will revisit. switched to NS_GET_IID() where possible. cleaned up some redundant local variables in RenderViews().
1999-09-12 03:27:14 +00:00
beard%netscape.com
601923ed13
switched to NS_GET_IID() where possible. fixed clipping bugs by making all widgets clip children and siblings.
1999-09-12 03:24:01 +00:00
beard%netscape.com
a7bed0f4d5
switched to NS_GET_IID() where possible.
1999-09-12 03:23:09 +00:00
beard%netscape.com
ac8b456d1c
cleaned up CreateInstance to not use delete on interface pointers. Modernized implementation using NS_IMPL_ISUPPORTS1.
1999-09-12 03:22:29 +00:00
colin%theblakes.com
b89380dd5e
Back out last change
1999-09-09 14:30:25 +00:00
colin%theblakes.com
75ea8d833c
Define EXTRA_DSO_LDOPTS as MOZ_TIMER_LIBS
1999-09-09 12:58:39 +00:00
beard%netscape.com
f90ec9dba5
bug #10261 : fix for dropping calls to UpdateView, also now correctly handles calls to UpdateView(nsIView*, nsIRegion*, ...) with non-null nsIRegion*.
1999-09-03 02:27:40 +00:00
briano%netscape.com
cb47ce30d1
Cleaned it up and eliminated the pointless #!gmake.
1999-09-02 00:30:07 +00:00
beard%netscape.com
0f97a13e05
removed min/max
1999-09-01 23:16:28 +00:00
beard%netscape.com
381782f9aa
bug #10715 : rewrote nsViewManager::ResizeView() to correctly invalidate newly exposed/resized view. Assumes layout properly invalidates internal area.
1999-09-01 04:53:55 +00:00
cyeh%netscape.com
1729151e74
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 01:24:51 +00:00
tague%netscape.com
97b0bd802c
Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
1999-08-31 01:20:32 +00:00
beard%netscape.com
297bc6feb1
Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR.
1999-08-28 03:01:32 +00:00
beard%netscape.com
027b20e345
removed USE_DISPLAY_LIST_ELEMENTS #ifdefs.
1999-08-27 04:02:55 +00:00
rods%netscape.com
891b176869
The method nsIView::CreateView has parameter that indicates whether D&D for the widget
...
should be turned on or not. This make it configurable from the outside,
it is needed for the editor
1999-08-26 14:41:18 +00:00
leaf%mozilla.org
0f6c134eda
Backing out change.
1999-08-24 00:23:00 +00:00
ramiro%netscape.com
ee2c5b0a52
Fix for the rendering problem on unix after the NS_COPYBITS_TO_BACK_BUFFER
...
cleanup.
1999-08-22 13:54:41 +00:00
beard%netscape.com
f1608fad43
removed static library targets (view.o, viewDebug.o)
1999-08-21 22:13:21 +00:00
kmcclusk%netscape.com
380bb3e4c1
nsViewManager :: Refresh
...
Created explicit pointers to offscreen and onscreen rendering contexts.
Stop passing NS_COPYBITS_TO_BACK_BUFFER flag.
1999-08-20 22:48:56 +00:00
evaughan%netscape.com
a12f942778
xpscrollbars
1999-08-19 22:16:23 +00:00
troy%netscape.com
ba84089a26
Changed Paint() to leave the clip rect relative to the view's origin (and
...
not translate by the view's x and y-offset), because the view manager has already
translated into the view's local coodinate space before calling Paint()
1999-08-10 23:52:36 +00:00
kmcclusk%netscape.com
9addfd5606
Added code to prevent negative values from being passed to nsIWidget::Resize.
1999-08-10 22:20:53 +00:00
sfraser%netscape.com
3ccf557440
Zero out the return value from QI in case of failure.
1999-08-10 00:56:40 +00:00
tague%netscape.com
fe1e77f9bd
Added support for mapping the reply of a textevent (i18n input support) back into platform coordinate space
1999-08-09 03:56:03 +00:00
beard%netscape.com
d1541b879f
display list elements, ShowDisplayList() method.
1999-08-02 03:16:55 +00:00
beard%netscape.com
28e63c3a3a
bug #10460 : now handling negative z-index
1999-08-02 02:43:24 +00:00
hyatt%netscape.com
b8e878ee18
Backing out beard's changes completely and reverting to version 3.34 of
...
nsViewManager.cpp, and reverting to version 3.100 of nsViewManager.h.
Note that beard's backing out of the negative z-index code did NOT fix
the problem. This means the bug lurks somewhere else in the file.
1999-08-01 18:44:24 +00:00
beard%netscape.com
73ee000f7f
turned off negative zindex check to see if it fixes XP menus.
1999-08-01 18:18:42 +00:00
beard%netscape.com
14fb29006d
Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList().
1999-07-31 03:05:37 +00:00
beard%netscape.com
117c8aa2c6
bug #10460 : now placing views with negative z-index after their parent in display list.
Lots of clean up, added DisplayListElement struct instead of storing views in every 3rd slot of the display list, #ifdef USE_DISPLAY_LIST_ELEMENTS. Simplified CreateDisplayList() by removing startup conditions. Broke out display list printing code into separate method ShowDisplayList(). More to come.
1999-07-31 03:05:32 +00:00
pavlov%netscape.com
ef3139e431
don't do anything if SetDimentions is called with the same width and height.
...
approved by hyatt
1999-07-27 04:37:35 +00:00
rickg%netscape.com
e8ced6357f
removed two warnings from GFX library that sparky isn't likely to fix
1999-07-26 02:22:09 +00:00
briano%netscape.com
84541f63f2
Fixed the logic and cleaned it up.
1999-07-19 23:15:25 +00:00
sspitzer%netscape.com
0b33172e2b
hail mary bulletproofing fix for #10035
1999-07-19 19:57:30 +00:00
ramiro%netscape.com
ba8ba82cc6
Landing timer move on windows.
1999-07-17 15:52:01 +00:00
sspitzer%netscape.com
f44644acd2
fix warnings.
1999-07-03 00:25:42 +00:00
dveditz%netscape.com
0eb6c820cf
nakefile cleanups
1999-07-02 13:42:17 +00:00
rods%netscape.com
03778379c3
Removed drawing optimization because it causes flicker.
1999-07-01 20:44:05 +00:00
warren%netscape.com
bde10cf3a0
More necko changes.
1999-06-25 01:53:22 +00:00
buster%netscape.com
ef65d66461
added GetIID static methods to public interfaces. Code-reviewed by Kevin M.
1999-06-24 22:40:53 +00:00
dp%netscape.com
a5f317d35d
Adding access paths to system header files due to new header dependency nsIComponentManager.h -> nsIFileSpec.h -[YUCK]-> nsFileSpec.h -> Files.h
1999-06-22 14:27:38 +00:00
pierre%netscape.com
c44e8ee439
In GetDrawingSurface(), erase the drawing surface when it is re-used.
3455: [PP] mac/linux, dual toolbars appear after surfing.
6989: Multiple window drawing gets messed up.
6678: [PP]clipping/port problems in child dialogs.
5560: [PP] CornerView displays garbage.
1999-06-17 04:01:50 +00:00
joki%netscape.com
25aab9fee5
Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
1999-06-09 07:38:26 +00:00
bruce%cybersight.com
8a092d3fc1
Explicitly include prinrval.h here. (This will make be needed for some changes coming shortly after M7.)
1999-06-05 11:29:03 +00:00
mcmullen%netscape.com
cbc7d3604a
Removed obsolete base.shlb/baseDebug.shlb
1999-05-27 21:40:58 +00:00
kin%netscape.com
a1620436bb
Added implementation of BeginUpdateViewBatch() and
...
EndUpdateViewBatch() to nsIViewManager and nsViewManager.
1999-05-26 21:13:06 +00:00
dp%netscape.com
94344009c8
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
beard%netscape.com
85e4ed7461
bugs #5062 , #4703 : have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough.
a=chofmann
1999-05-19 23:23:47 +00:00
evaughan%netscape.com
a9d351ef30
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
beard%netscape.com
a4c669efd1
bug #5093 : removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead.
1999-05-18 21:45:46 +00:00
pierre%netscape.com
58fc86907f
Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com.
1999-05-18 14:37:57 +00:00
pierre%netscape.com
df0af65e2d
#5949 "Frequent resizing of window causes apprunner to stop drawing"
1999-05-18 13:14:46 +00:00
beard%netscape.com
6678c4e265
bug #5093 : added widget->Invalidate() calls after changing the position of scrollbar thumb. It may be more appropriate to fix this in nsScrollbar.cpp
1999-05-17 19:40:40 +00:00
bruce%cybersight.com
07cdbce714
Fix ANSI C++ violation. (a=beard)
1999-05-15 22:53:57 +00:00
pollmann%netscape.com
61af13c758
Bug 5746: Check for null.
1999-05-15 01:36:39 +00:00
danm%netscape.com
5a68bb8f22
HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844.
1999-05-04 23:23:35 +00:00
joki%netscape.com
d1f2b3ef88
Adding scrolling fixes to fix bug #3999 , A: chofmann
1999-04-30 19:38:39 +00:00
kipp%netscape.com
3ec981cc1c
Do not update views when refresh is disable
1999-04-30 00:09:04 +00:00
pierre%netscape.com
472f414c2b
fixed the display of some missing views on Mac (like the CornerView)
1999-04-27 05:34:05 +00:00
troy%netscape.com
eb5d51399b
Removed #define ALL_VIEW_FLAGS which is no longer used
1999-04-24 22:58:14 +00:00
troy%netscape.com
46ebe8ceb5
Changed Scroll() to check if the scrolled view has the
...
NS_VIEW_PUBLIC_FLAG_DONT_BITBLT flag set
1999-04-24 22:49:28 +00:00
troy%netscape.com
8c0f913db7
Added function GetClipView()
1999-04-24 02:52:58 +00:00
kipp%netscape.com
ca5f1c81c2
Removed obsolete include file
1999-04-23 19:52:36 +00:00
troy%netscape.com
0fdc37c34f
Made a bunch of nsIView member functions "const"
1999-04-23 17:44:48 +00:00
troy%netscape.com
bfdac722ea
Changed a comment a little
1999-04-21 21:22:22 +00:00
troy%netscape.com
3fb7a599a3
Added NS_VIEW_FLAG_DONT_BITBLT flag
1999-04-21 21:08:27 +00:00
pierre%netscape.com
2f86261f2d
expands the width and height independently from each other in GetDrawingSurface
1999-04-20 04:03:25 +00:00
kipp%netscape.com
f7da53ae98
Dump refcnts when listing views
1999-04-19 23:22:53 +00:00
kipp%netscape.com
a14b954884
Added a missing NS_RELEASE
1999-04-19 23:22:32 +00:00
michaelp%netscape.com
784b9cf50f
a parting shot.
1999-04-16 21:22:45 +00:00
michaelp%netscape.com
c85b133efa
we no longer recurse into clip views. shoot me troy. so long folks.
1999-04-16 19:53:53 +00:00
kmcclusk%netscape.com
9013298607
fix for bug#4325. ScrollingView's now manage their component's (mClipView, mHScrollBarView,
...
mVScrollBarView, mCornerView) visibility when the ScrollingView's visibility changes.
1999-04-16 19:18:30 +00:00
michaelp%netscape.com
aba2f5adb4
oops. union works better than intersect...
1999-04-16 05:19:45 +00:00
michaelp%netscape.com
fdc84978d8
added GetExtents().
1999-04-16 04:50:02 +00:00
michaelp%netscape.com
46d4754a52
cleaned up view flags stuff.
1999-04-16 04:23:43 +00:00
kipp%netscape.com
2a747bd0c0
Backed out yesterdays change as it broke framesets
1999-04-08 23:18:02 +00:00
kipp%netscape.com
0c0ce42a16
Fixed not bother repositioning when coordinates don't change
1999-04-08 00:00:13 +00:00
joki%netscape.com
9919d95d5a
Adding spacebar to list of keys that will scroll page.
1999-04-06 21:37:34 +00:00
michaelp%netscape.com
1a75786871
enabling new compositor.
1999-04-05 22:45:32 +00:00
kipp%netscape.com
b45ad2aecd
Make SetWidget assertion more particular about when to bomb
1999-04-03 19:01:15 +00:00
kipp%netscape.com
365dc91b93
Removed some compiler warnings...
1999-04-03 19:00:56 +00:00
troy%netscape.com
f349e95f64
Fix for bug #4317 . Changed SetPosition() to call AdjustChildWidgets() with
...
"this" as the second parameter instead of the scrolled view
1999-03-28 05:25:07 +00:00
michaelp%netscape.com
7269559974
added Set/GetLineHeight().
1999-03-20 01:25:37 +00:00
michaelp%netscape.com
cde49398b1
ScrollTo() now blits wherever possible.
1999-03-20 00:47:08 +00:00
michaelp%netscape.com
c73d71c2b4
added APIs for scrolling by page or line.
1999-03-20 00:11:35 +00:00
michaelp%netscape.com
2a2e262462
fixed bug where out of order computation of child view positions and scroll
...
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.
1999-03-18 21:04:00 +00:00
michaelp%netscape.com
b1636a697d
made compositor state an enum and macro to trace state transitions
...
for easier debugging. made offscreen to onscreen blit restricted to the
damage rect. added temporary hack so that new compositor works on linux.
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
94b6c305f8
fixed bug in underflow of state push count in new compositor.
1999-03-10 05:31:27 +00:00
michaelp%netscape.com
eedcdf698b
added nsIClipView.h
...
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.
1999-03-09 22:10:31 +00:00
warren%netscape.com
4b2d56fbaa
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
rods%netscape.com
b8e49b766c
Aded check for null parent to fix printing
1999-03-05 20:14:05 +00:00
rods%netscape.com
862718ccb1
Added where a scrolled view sets the widget for the vertical scrollbar
...
into the window so the window can send the vertical scrollbar the appropriate
message.
1999-03-05 15:41:50 +00:00
michaelp%netscape.com
60711f3cab
added return code check WRT off screen surface allocation.
...
part of mac fixes.
1999-03-05 01:43:06 +00:00
joki%netscape.com
57e49aab2a
Fix for frames not resizing.
1999-03-03 01:59:50 +00:00
kmcclusk%netscape.com
82dac76411
gfx vs native widget rendering can now be specified in the viewer at run-time.
...
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
kipp%netscape.com
c7764aadc0
use macro to get operator new correct
1999-02-26 19:57:18 +00:00
warren%netscape.com
44cae3cd3f
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
sfraser%netscape.com
3a123c982b
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
michaelp%netscape.com
88248b4267
work in progress for new compositor.
1999-02-25 18:44:45 +00:00
michaelp%netscape.com
980ea68e38
added unknown content quality. fixed potential crash because of bug in timer
...
code. now uses rootscrollable for all scrollable view notifications.
1999-02-16 19:57:45 +00:00
michaelp%netscape.com
5f525464c3
turned off timers when our damage count goes to zero.
1999-02-16 02:25:20 +00:00
michaelp%netscape.com
f8b4bc0d49
added Get/SetScrollableRoot() to nsIViewManager. fixed bug where maximizing
...
window would cause junk to be shown below/to the right of the real content
if the document was scrolled towards bottom/right. fixed flashing scrollbar
problem. made quality control work again.
1999-02-16 00:57:06 +00:00
troy%netscape.com
55bbd0f8fa
Re-ordered the call to SetPosition(0) for the horizontal scrollbar,
...
because the way it was caused the scrollbar to be enabled when it should
be disabled...
1999-02-03 05:03:04 +00:00
troy%netscape.com
391a2f6747
Added GetScrollbarVisibility()
1999-02-03 04:25:31 +00:00
michaelp%netscape.com
9a30d47825
work in progress for new compositor. not currently enabled, so it won't
...
affect anyone else. killed Paint() method of scrolling view since it
no longer does anything useful. made view manager destructor protected to
eliminate gcc warnings.
1999-02-03 04:12:21 +00:00
joki%netscape.com
4513eb2392
Modifying view event flow to always start processing from top view, not enter at children
1999-02-01 22:45:59 +00:00
troy%netscape.com
d05af532a2
Fix for bug #2748 . Reset the scroll-position to 0 when the scrollbar
...
is no longer needed
1999-01-31 18:42:13 +00:00
michaelp%netscape.com
937965f4d0
corner view now paints correctly again.
1999-01-28 22:37:16 +00:00
troy%netscape.com
10b772e4b3
Changed clip-view to clip sibling windows
1999-01-28 17:07:21 +00:00
michaelp%netscape.com
c6c7e67d41
fixed bug where CreateWidget() was called twice for the ClipView and zero
...
times for the CornerView.
1999-01-28 05:04:43 +00:00
sudu%netscape.com
c94385ee94
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
michaelp%netscape.com
803a36dc65
when a clip is specified for a view, the clip now only affects the
...
view for which it is specified, not any of it's children or other
views stacked "behind" it.
1999-01-15 22:11:46 +00:00
sfraser%netscape.com
6b37d2bc99
Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view.
1999-01-08 21:31:56 +00:00
joki%netscape.com
d798c3e079
Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp
1999-01-08 21:13:59 +00:00
pierre%netscape.com
fa82921b1c
Improve performance on Mac: disable the Composite timer (temporary code - see comments)
1998-12-20 13:15:41 +00:00
michaelp%netscape.com
c9e3b38acd
the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
...
in the correct system specified "background" color.
1998-12-19 06:20:36 +00:00
pierre%netscape.com
3de5def19a
Enable double buffering on Mac
1998-12-18 13:33:55 +00:00
sfraser%netscape.com
f2222d9e1d
Assert on a null widget Ptr
1998-12-16 03:37:56 +00:00
michaelp%netscape.com
ca4f2f41f7
we not put the responsibility for managing damage regions into the widget
...
code instead of doing it in the viewmanager. this allows us to paint much
more optimally.
1998-12-15 05:47:25 +00:00
beard%netscape.com
18984e5a80
First Checked In.
1998-12-13 05:01:04 +00:00
sfraser%netscape.com
b2b751eef5
Convert AppleSingle->binary format.
1998-12-10 03:22:27 +00:00
troy%netscape.com
8311b73428
Added additional parameter to Display() for specifying which view
...
should be displayed
1998-12-07 03:44:57 +00:00
pierre%netscape.com
535feac07a
temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
1998-12-06 00:37:25 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
troy%netscape.com
eb69c1ae25
Changed InsertChild() to use <= (instead of <) for zindex check, and changed
...
iteration to use sibling pointers
1998-12-04 21:28:52 +00:00
michaelp%netscape.com
faf05a8557
updated for new blending API.
1998-12-01 02:16:14 +00:00
beard%netscape.com
c0c7bc482d
Mac shared library migration.
1998-11-30 22:15:00 +00:00
beard%netscape.com
7b2b7b599d
First Checked In.
1998-11-30 22:14:25 +00:00
michaelp%netscape.com
52d7df63eb
fixed bug where computing *need* for vert/horz scrollbar did not take into
...
account the fact that there might be a need for the other scrollbar too.
it used to be that if it knew that it *did* need a vert/horz scrollbar it
would take the other one into account properly. it was just in making the
initial decision that there was an error.
1998-11-25 03:32:00 +00:00
michaelp%netscape.com
b866bc5b7f
reduced scollbar flashing.
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
cf92a49a1a
backout changes i didn't want to commit.
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
efb83d40d2
fixed display of black or garbage when resizing scrolled scrollingviews.
1998-11-23 23:43:08 +00:00
cyeh%netscape.com
65038e9551
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
jfrancis%netscape.com
9a2fdbcf24
missed a source file. added nsView.cpp to project
1998-11-20 06:28:50 +00:00
jfrancis%netscape.com
0a79ab51d4
mac shared lib conversion, phase 1
1998-11-20 05:02:56 +00:00
jfrancis%netscape.com
ff7ac2c693
First Checked In.
1998-11-20 05:02:20 +00:00
michaelp%netscape.com
592c97be68
fixed bug where a view with opacity set to 0.0f would cause the area where it
...
is to never be drawn.
1998-11-18 23:50:28 +00:00
michaelp%netscape.com
c8bf7f056d
fixed problem with vertical scrollbar not always appearing.
1998-11-16 19:42:53 +00:00
michaelp%netscape.com
892909532f
changes to support printing.
1998-11-14 01:58:34 +00:00
vidur%netscape.com
0c66d39047
Temporary fix when scroll frame is created unsized. The real fix will come from michaelp.
1998-11-13 02:50:24 +00:00
rods%netscape.com
54919e4b4d
Made changes for GetBounds to GetClientBounds conversion
1998-11-04 21:46:00 +00:00
dcone%netscape.com
356b053d66
have a new interface for the blends init
1998-11-04 17:34:19 +00:00
michaelp%netscape.com
dff35cf838
removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
...
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
d2b75b1ba9
changed nsIView::Init() so that it no longer takes an opacity value. this
...
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
michaelp%netscape.com
70d500d6c5
fixed bug where changing view opacity or transparency would not trigger
...
a refresh.
1998-11-03 01:49:30 +00:00
michaelp%netscape.com
380eeea4ea
fixed leak of shared offscreen drawing surface.
1998-11-02 22:35:55 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
troy%netscape.com
697d10d512
Changed Refresh() to use the dimensions of the widget associated with
...
theview being repainted, rather than the dimensions of the root widget
1998-10-29 19:47:19 +00:00
troy%netscape.com
0e721ffef3
Fixed positioning of horizontal scrollbar to be inside of the control
...
rect, and added missing curly braces around if stmt and else clause
1998-10-28 06:12:36 +00:00
cls%seawood.org
411ab80ce3
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
michaelp%netscape.com
8e05ca2805
fleshed out view manager view clip setting and view depth arrangement methods.
1998-10-27 20:16:09 +00:00
troy%netscape.com
f97e864dbf
Commented out some code in Init() that was causing problems for the scrolling
...
view code
1998-10-27 05:57:18 +00:00
michaelp%netscape.com
8963210ccb
removed zindex from nsIView::Init().
1998-10-27 03:36:49 +00:00
troy%netscape.com
1c06413d95
Changed UpdateView() to call Update() to synchronoulsy repaint the
...
dirty area if NS_VMREFRESH_IMMEDIATE is specified
1998-10-27 00:17:54 +00:00
troy%netscape.com
c59c1ebb94
Changed clip view to have an opacity of 0.0f and no transparent content
1998-10-26 20:53:36 +00:00
troy%netscape.com
1d54745569
Added a XXX comment about what's the correct value for the clip
...
view's opacity
1998-10-25 04:24:26 +00:00
troy%netscape.com
e065f28fe7
Changed SetScrolledView() to mark the clip view as having transparent content
...
if the scrolled view has transparent content
1998-10-25 04:15:59 +00:00
michaelp%netscape.com
e415ee4d2c
added suport for alpha blending of views.
1998-10-23 17:58:44 +00:00
troy%netscape.com
10ad80b7d3
Made sure Refresh() sets NS_VIEW_FLAG_CLIP_SET so we don't try and set the
...
clip rect again. If Paint() sets it it will be incorrect...
1998-10-22 18:27:44 +00:00
troy%netscape.com
64234b8160
Added ability to control the insets used when positioning the scrollbars and
...
clip view
1998-10-21 16:07:55 +00:00
troy%netscape.com
1f1da864fd
Added null pointer check in case the root view pointer is null
1998-10-19 22:12:29 +00:00
troy%netscape.com
ccb611db9b
Removed some code that's no longer needed now that the frames correctly
...
compute their size based on any absolutely positioned children they
have
1998-10-19 21:24:53 +00:00
troy%netscape.com
c1ce2eb264
Added GetScrollPosition, removed some XXX comments that I should have
...
removed before checking in, and added some more documentation
1998-10-19 16:57:27 +00:00
troy%netscape.com
e2b6409d3e
Changed scrolling view to use a clip view and to slide the scrolled
...
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
troy%netscape.com
72631a7382
Changed UpdateDirtyViews() to clear the dirty region when invalidating
...
the window. This fixes a problem where some views with widgets, like
scrollbars, that we never receive a NS_PAINT for never cleared the dirty
region
1998-10-16 05:24:35 +00:00
troy%netscape.com
86e66bdd76
Corrected problem that was causing dirty rect to be incorrectly computed
...
when scrolling is involved
1998-10-16 05:05:09 +00:00
troy%netscape.com
bcb0d2dd19
Removed NS_VMREFRESH_SCREEN_RECT update option
1998-10-15 20:57:43 +00:00
troy%netscape.com
6ad120c16d
Changed GetWindowOffsets() to specify the view to check rather than assuming
...
the root view. This fixes scrolling problems when scrolling views are used
as a sub-view
1998-10-15 05:27:00 +00:00
troy%netscape.com
68659f29d8
Changed it so that we have a dirty region per view with a widget rather
...
than having just one dirty region. Also changed it so that we stop painting
when we get to a view that has a widget
1998-10-15 04:55:21 +00:00
michaelp%netscape.com
8c37405791
fixed troys' bug with scrolling frames. was actually not related to that, just
...
tickled a bug in the new compositor code.
1998-10-13 21:27:11 +00:00
michaelp%netscape.com
85cad5bf10
two pass compositing now works.
1998-10-11 01:00:59 +00:00
dcone%netscape.com
70467e4967
Fixed an offset problem
1998-10-07 17:55:57 +00:00
dcone%netscape.com
8199823d72
Fixed a mac problem, a variable scoping problem was fixed in the handle method.
1998-10-07 15:17:27 +00:00
kipp%netscape.com
9d21e25933
Dump client-data too
1998-09-26 17:39:54 +00:00
pierre%netscape.com
6b39e621ef
re-enable the scrollbars on Mac, the widgets are now implemented
1998-09-23 09:19:55 +00:00
pierre%netscape.com
aebdc87136
use PR_IntervalNow() for mLastRefresh
1998-09-19 01:39:47 +00:00
kostello%netscape.com
5f33e2d40d
Changes implementation to match the new Widget interfaces i.e. t
...
he signature of many of the "getters" changed.
1998-09-14 20:54:38 +00:00
pierre%netscape.com
590bf92d17
temporarily disable the scrollbars on Mac, waiting for the widgets to be implemented
1998-09-03 06:20:12 +00:00
warren%netscape.com
b89e7efaca
Renamed NSRepository to nsRepository.
1998-09-01 00:26:28 +00:00
kostello%netscape.com
f86a9e9223
These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value.
1998-08-31 19:09:55 +00:00
troy%netscape.com
ad9a20da0b
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
troy%netscape.com
6cb09b5132
Changed nsIViewManager interface to conform to XPCOM conventions
1998-08-28 04:56:56 +00:00
michaelp%netscape.com
7686c7ec65
changes to support viewobserver and troy's spankage of the device context.
1998-08-28 03:05:23 +00:00
troy%netscape.com
6d2245e203
Combined GetScrollBarWidth/GetScrollBarHeight into one function
...
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
troy%netscape.com
0d39ae026f
Changed nsIDeviceContext interface to conform [more] with COM conventions
1998-08-27 05:05:03 +00:00
michaelp%netscape.com
89a5d9929f
killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
...
the root view. added ability to select painting in view resizing.
1998-08-26 21:24:58 +00:00
michaelp%netscape.com
f2dcddb933
added assert to warn you of recursive painting.
1998-08-19 20:56:52 +00:00
joki%netscape.com
557c476a3e
Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
1998-08-19 05:35:20 +00:00
rods%netscape.com
292e621cb9
Added Page Up, Page Down, Arrow up and Arrow Down key processing.
1998-08-14 21:13:40 +00:00
michaelp%netscape.com
b59035b2ae
fixed crash where widgets would return null clientdata because they were going
...
away, but the view was assuming the clientdata was non-null.
1998-08-13 00:03:41 +00:00
michaelp%netscape.com
aa7f5d1453
we now allocate a single offscreen buffer.
1998-08-12 21:17:52 +00:00
michaelp%netscape.com
02355fbfa6
merged changes from branch.
1998-08-08 19:21:40 +00:00
troy%netscape.com
acaa6d2f0e
Change to object lifetime management. Views are no longer ref counted
1998-08-08 04:23:33 +00:00
pierre%netscape.com
8324d3af87
fix build on Windows and Unix
1998-08-05 09:02:52 +00:00
pierre%netscape.com
3ec5da4957
fix build on Mac
1998-08-05 08:23:13 +00:00
pierre%netscape.com
eb16b86a54
renamed NSGetFactory to build on Mac
1998-08-05 08:17:06 +00:00
peterl%netscape.com
f65d571f7b
sync to new unit conversion functions
1998-08-01 01:08:36 +00:00
peterl%netscape.com
714146a525
rounding support
1998-07-31 23:34:45 +00:00
scullin%netscape.com
d850348fc1
Make widget tests work again, normalize widget api on UNIX and Win, and
...
add start of platform LAF interface.
1998-07-29 18:47:50 +00:00
rods%netscape.com
b449e32a60
Removed a debug printf
1998-07-27 23:30:49 +00:00
rods%netscape.com
c356e95b80
Added drag scrolling, and event processing for mouse events
...
outside the scrolling view.
1998-07-27 23:14:31 +00:00
michaelp%netscape.com
2c8cb99518
documented GetClipView() API.
1998-07-27 21:30:14 +00:00
troy%netscape.com
7da0401c3c
Combined raptorgfx.dll and raptorgfxwin.dll into one DLL
1998-07-26 23:52:36 +00:00
michaelp%netscape.com
a017cd9e13
a tiny fix for scrollbars in scrolling views made without a widget association.
1998-07-26 23:32:33 +00:00
michaelp%netscape.com
404c0a78e4
form elements, etc. (i.e. sub widgets) now scroll smoothly.
1998-07-26 04:24:42 +00:00
michaelp%netscape.com
bc8f944b64
re-added optimization with the ability to use it anywhere by setting the
...
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
3eacb94712
backed out change for a moment.
1998-07-24 21:32:02 +00:00
michaelp%netscape.com
4dadd2ca3d
re-added conditional double buffering based on screen area thresholding.
1998-07-24 21:29:47 +00:00
michaelp%netscape.com
837d1a9ae0
added APIs to viewmanager to enable and disable all rendering.
...
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
troy%netscape.com
448077e579
Changed MoveViewTo() so it doesn't do any painting unless the
...
origin actually changes
1998-07-23 04:21:05 +00:00
kipp%netscape.com
7a33936a82
Implement ScrollTo method
1998-07-22 23:39:56 +00:00
kipp%netscape.com
8282750246
Added ScrollTo method
1998-07-22 23:39:23 +00:00
michaelp
23c618c0a6
killed much hated borders on views...
1998-07-11 06:17:09 +00:00
rpotts
d75cb80e9a
Fixed circular reference problem between the nsScrollingView and its scrollbars...
1998-07-10 23:10:26 +00:00
rpotts
159c7ddd2c
Fixed reference counting leak when processing mouse button down events...
1998-07-10 21:44:15 +00:00
michaelp
f1f586a80e
when a view is the root, it's position will now always be 0, 0.
1998-07-07 21:51:57 +00:00
joki
5d183e8a1e
Move scrolling event code into new event handler to keep it out of DOM loop
1998-07-02 01:13:09 +00:00
kipp
47bf5a2bdb
Removed spurious includes of nsIPresShell
1998-06-26 16:23:48 +00:00
michaelp
ec4811f612
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00