Commit Graph

748 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
8ecd6f3c5d 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
18b83fd669 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
7acc78d086 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
49bacde56c 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
c8624644d6 Bug 91516. FIXING BUSTAGE AGAIN 2002-02-19 23:19:11 +00:00
roc+%cs.cmu.edu
7f80ccb182 Fixing bustage. Bug 91516. 2002-02-19 22:26:50 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 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
roc+%cs.cmu.edu
23985b2913 Bug 123755. Fix Gtk crasher when drawing surface cannot be locked. r=pavlov,sr=attinasi 2002-02-15 13:14:32 +00:00
ccarlen%netscape.com
0d871a1552 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser 2002-02-12 15:41:41 +00:00
roc+%cs.cmu.edu
3125ae9530 Bug 96832. Reorganize event handling in the view manager to use the display list code. This means we take account of z-index properly. r=kmcclusk,sr=brendan 2002-02-12 03:46:35 +00:00
bzbarsky%mit.edu
e8baec817f Make scrollbar thumbs for selects size correctly in GTK builds. Bug
45731, patch by Michiel van Leeuwen <hmvleeuwen@altavista.com>,
r=blizzard, sr=shaver
2002-02-08 23:16:43 +00:00
roc+%cs.cmu.edu
1ee265b88a Bug 122325. Repaint correct areas when a view is resized. r=kmcclusk,sr=waterson 2002-02-01 03:10:59 +00:00
sfraser%netscape.com
0f6a4f07da Back out a change that I commited by mistake, which turned double-buffering off. Thanks to jrgm for catching this. 2002-01-31 05:15:56 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
roc+%cs.cmu.edu
71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
roc+%cs.cmu.edu
55145c72f7 Bug 120934. Deal with nonzero (x,y) in the aCombinedRect passed into nsViewManager::RefreshView(). r=kmcclusk,sr=waterson,a=asa 2002-01-23 03:32:45 +00:00
aaronl%netscape.com
917db0977f Bug 120176. Active Accessibility: tweaks to STATE_OFFSCREEN. r=kmcclusk, sr=waterson 2002-01-16 03:07:03 +00:00
rods%netscape.com
6639d9eaad Getting rid of event processor, it is no longer needed and will fix this problem
109566  r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
kmcclusk%netscape.com
fbc6a84110 Use damage rect size for backbuffer instead of widget size for paint updates to reduce usage of offscreen memory r=dcone sr=attinasi b=114082 2001-12-20 05:25:01 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
kmcclusk%netscape.com
09cb388941 Move management of the backbuffer from the viewmanager to the rendering context and make the backbuffer transient on WIN32 and GTK. bug 95952 sr=attinasi r=karnaze 2001-12-12 01:35:31 +00:00
ccarlen%netscape.com
b564bb181b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
kmcclusk%netscape.com
34f7670747 Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi 2001-12-06 02:40:41 +00:00
kmcclusk%netscape.com
da0e66d506 Check aHandled after event dispatch before accessing the view's children. b=113121 r=roc+moz sr=attinasi 2001-12-03 23:37:09 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
kmcclusk%netscape.com
68d04c0b4c Make the backbuffer transitory based on a pref. This does not have any effect unless you set (layout.transitory.backbuffer", true) bug 95952 sr=attinasi r=alexsavulov 2001-11-30 04:12:36 +00:00
kmcclusk%netscape.com
19205cdeae Replace the O(n^2) call to GetChild in nsViewHandleEvent to substantially improve page load performance and interactivity on pages with lots of comboboxes. bug 112525 r=roc+moz sr=kin 2001-11-30 04:09:36 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
roc+%cs.cmu.edu
365236cb5a Fix for bug 108940. r=kmcclusk,sr=attinasi. Initialize nsZPlaceholderView correctly. 2001-11-08 23:11:01 +00:00
roc+%cs.cmu.edu
393683ec75 Bug 73382. Let the view code work with nsView*/nsViewManager* internally and migrate some methods from public to private to the view module. Also deCOMify those methods for speed. r=kmmclusk,sr=attinasi 2001-11-07 04:05:38 +00:00
rods%netscape.com
37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
kmcclusk%netscape.com
01bf16daff fix crash by removing DisplayZTreeNode's from the mMapPlaceholderViewToZTreeNode hashtable in DestroyZTreeNode. bug 78661. r=roc+moz sr=attinasi 2001-11-02 03:59:28 +00:00
kmcclusk%netscape.com
4a795f4883 Wrap nsViewManager::ShowDisplayList in DEBUG #ifdef to reduce footprint a bit. bug 78661. r=karnaze sr=attinasi 2001-11-02 03:53:22 +00:00
bryner%netscape.com
e6b4535db9 When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt. 2001-10-31 05:06:31 +00:00
bryner%netscape.com
62fc997c61 Adding a newline to the warning printf. r=jag. 2001-10-27 07:45:29 +00:00
dbaron%fas.harvard.edu
2e3bb820b6 Remove nsViewManager2.cpp for roc. b=73382 2001-10-25 03:52:07 +00:00
roc+%cs.cmu.edu
e752f78e3f Bug 73382. Cleaning up view manager; remove nsViewManager2 from build. r=kmcclusk,sr=attinasi 2001-10-25 03:43:28 +00:00
roc+%cs.cmu.edu
5c39d8a82f Bug 73382. Cleaning up view manager; remove nsViewManager2, it's ueless. r=kmcclusk,sr=attinasi 2001-10-25 03:42:39 +00:00
roc+%cs.cmu.edu
3995e86349 Bug 106355. Regression where paint requests entirely outside the widge area caused copying of bogus bits from the backbuffer. r=kmcclusk,sr=waterson 2001-10-25 03:36:01 +00:00
roc+%cs.cmu.edu
3b44b1647d Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi 2001-10-23 01:37:29 +00:00
roc+%cs.cmu.edu
a12bb8bdd3 Bug 73382. View manager cleanup: eliminate Refresh(nsRect) path in favour of Refresh(nsIRegion), plus other minor cleanups. r=kmcclusk,rs=attinasi 2001-10-23 01:35:50 +00:00
kmcclusk%netscape.com
23accf07fb Added code to UpdateCoveringWidgets to take into account hidden views when considering whether a view completely covers the invalidated rect. bug 100652 r=roc+moz@mozilla.org sr=attinasi@netscape.com 2001-10-20 03:09:36 +00:00
kin%netscape.com
802527fb80 Fix for bug 97674: Parts of Mail composition/Composer window left blank after deleting text
If a paint event is received while refresh is disabled,
DispatchEvent() will now call UpdateView() to add the
area specified by the paint event, to the dirty region of
the view. This will insure that the area will get painted
properly when refresh is enabled.

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2001-10-16 21:41:42 +00:00
roc+%cs.cmu.edu
2de4329ad9 Cleaning up nsViewManger code (whitespace and comments). Bug 73382. r=kmcclusk,sr=attinasi 2001-10-11 02:57:31 +00:00
aaronl%netscape.com
c5cb858329 Bug 102192. Active Accessibility: Support STATE_OFFSCREEN for accessible objects. r=kmcclusk, sr=waterson 2001-10-03 00:18:48 +00:00
vidur%netscape.com
4966d85f91 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
kmcclusk%netscape.com
3fd6b28dcb Force the backbuffer to be reallocated when the display depth is changed. bug 6061 r=karnaze sr=attinasi 2001-09-28 00:16:57 +00:00
kmcclusk%netscape.com
e0d617ebf0 Check for null scrolled view before accessing it. b=98270 patch from duraid@fl.net.au. r=karnaze@netscape.com, sr=attinasi@netscape.com 2001-09-27 01:05:14 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
kmcclusk%netscape.com
e548f5dd0e Protect against null-pointer in nsViewManager::ProcessPendingUpdates. bug 97664 sr=mscott@netscape.com r=peterl@netscape.com 2001-09-15 17:22:06 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
rjesup%wgate.com
070b2fe9da Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk 2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
rjesup%wgate.com
6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com
c1b48b4601 Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
pollmann%netscape.com
aabbe24c67 Bug 43410: Correct z-index ordering of iframes. This change redundantly sets the widget's z-index, and should be cleaned up later. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com 2001-07-18 08:46:04 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
kmcclusk%netscape.com
a80e214257 Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com. 2001-06-29 04:01:26 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
roc+%cs.cmu.edu
8865fc53de Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
pinkerton%netscape.com
0b03ce7cda add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665. 2001-05-17 18:37:50 +00:00
kmcclusk%netscape.com
c5c66500ec Fixed viewmanager refresh problem on WIN32. Added a line of code to set the status to nsEventStatus_eConsumeNoDefault for NS_PAINT messages in nsViewManager::DispatchEvent. This line was inadvertently removed by the checkin for bug 75591; bug 80847 sr=roc+moz r=dcone@netscape.com 2001-05-15 20:50:11 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
joki%netscape.com
0918f29245 Fix for 64442, make views give up mouse capture when they become hidden since they can no longer get mouse messages. sr:jst r:saari 2001-05-04 03:02:55 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
roc+%cs.cmu.edu
a7e55667d2 Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu
c57754cf2e Backing myself out ... IDIOT. 2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu
8b1b9bad9d Adding view manager API for specifying background color for the document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-23 18:14:46 +00:00
morse%netscape.com
a3300caf35 bug 75661, crash when image-manager alert box appears, r=kmcclusk, sr=roc+moz 2001-04-16 20:40:08 +00:00
blizzard%redhat.com
da2e245c27 Part of bug #5569. Make sure that areas that get an NS_PAINT event we always paint the default color when the view manager has refreshes disabled. This should fix the problem where before pages start loading in mail/news and the browser some areas aren't repainted. r=bryner sr=roc+moz. 2001-04-11 14:52:06 +00:00
shaver%mozilla.org
a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
peterlubczynski%netscape.com
dbc5134980 Fix for crash with full-page plugins on Mac bug 74934 r=kmcclusk sr=roc+moz 2001-04-11 05:29:36 +00:00
roc+%cs.cmu.edu
3fc12999b4 Adding support for root views with externally defined widgets. Bug 73383. r=kmcclusk,sr=attinasi 2001-04-11 05:10:15 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
roc+%cs.cmu.edu
39798953db Fix calculation of widget coverings in nsViewManager::UpdateAllCoveringWidgets. Bug 74413, sr=attinasi,r=kmcclusk 2001-04-04 04:37:12 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
evaughan%netscape.com
dd702eea33 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
roc+%cs.cmu.edu
9b7ce382fd Correct child widget's view according to parent view's coordinates in AddCoveringWidgetsToOpaqueRegion. Fix for bug 73406. r=kmcclusk,sr=attinasi 2001-03-31 13:41:28 +00:00
disttsc%bart.nl
dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
kmcclusk%netscape.com
f55ec09bcb Invalidate only the newly exposed region when the container frame size changes vertically b=19256; sr=attinasi@netscape.com r=roc+moz@cs.cmu.edu 2001-03-30 05:17:07 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
alecf%netscape.com
90126a2f00 make this DEBUG_roc instead of DEBUG - we dont' ALL need to debug the view manager 2001-03-23 15:27:16 +00:00
roc+%cs.cmu.edu
ce8581898b Activating new view manager by default. This fixes a swath of bugs related to fixed positioning, transparent views, z-index handling, and more! Bug 39621. r=kmcclusk, sr=attinasi. To disable the new view manager, use 'user_pref(nglayout.debug.enable_scary_view_manager, false);' in your prefs.js file. 2001-03-22 15:54:50 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
roc+%cs.cmu.edu
6c9de3f44a Fix for 72055 by ian@hixie.ch. If a widget doesn't have a view, then don't try to exclude it from the opaque covering region. r=kmcclusk, sr=roc+moz@cs.cmu.edu 2001-03-19 21:51:58 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
shaver%mozilla.org
fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
timeless%mac.com
973bcd9017 for Bug 39621 Need to turn on nsViewManager by default
add ifdef DEBUG
r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu
2001-03-12 04:48:26 +00:00
roc+%cs.cmu.edu
f3e40d1380 Ignore unreliable nsIWidget information and use the associated nsView data instead. Fixes bug 70446. r=kmcclusk,sr=attinasi 2001-03-10 05:33:38 +00:00
roc+%cs.cmu.edu
3862db1677 Don't paint floating views unless the root view for the repaint is floating. This ensures that if we paint a window under a transient, the actual window contents are painted and not the transient's contents. Fix for new view manager bug 69346. r=kmcclusk, sr=attinasi 2001-03-03 06:18:11 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
roc+%cs.cmu.edu
89b90b0c1a Fix for new view manager bug 69146. Changed the way we compute the 'opaque region' consisting of widgets that cover the widget being painted. r=kmcclusk, sr=attinasi 2001-02-24 20:29:58 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
roc+%cs.cmu.edu
0c9333704b Force nsViewManager to respect DONT_BITBLT flags on descendant views when we scroll a parent view. Fix for bug 68499. r=kmcclusk,sr=attinasi 2001-02-16 21:41:52 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kmcclusk%netscape.com
03143956d6 Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com 2001-02-01 06:00:02 +00:00
dbaron%fas.harvard.edu
c55ef35a27 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
rods%netscape.com
99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
kmcclusk%netscape.com
e1f4c197d3 Removed code which cleared the backbuffer to white before rendering. bug 49779 sr=roc+moz r=rods@netscape.com 2001-01-26 05:09:37 +00:00
kmcclusk%netscape.com
5ae11d815b Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com 2001-01-20 04:59:39 +00:00
mkaply%us.ibm.com
91ea2fd585 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:53:33 +00:00
bryner%uiuc.edu
69e9b90bc6 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
dbaron%fas.harvard.edu
c333a6114a Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965 2000-11-08 03:04:02 +00:00
blizzard%redhat.com
d5affef82d fix bustage 2000-11-07 06:17:38 +00:00
scc%mozilla.org
f8168bf83e bug #39621, r=kmcclusky@netscape.com, sr=blizzard@mozilla.org. Enable the new view manager with a pref "nglayout.debug.enable_scary_view_manager". Just being the mac buddy for blizzard and roc. 2000-11-07 05:22:03 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mkaply%us.ibm.com
ec1258a408 #56164
r=kmcclusk, a,sr=roc+moz@cs.cmu.edu
Comboboxes positioning incorrect on OS/2
2000-10-17 14:54:03 +00:00
kmcclusk%netscape.com
1be2c2c7f2 Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:03:45 +00:00
kmcclusk%netscape.com
dd45327b43 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com 2000-09-26 05:04:53 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
kmcclusk%netscape.com
a1687e840a Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com 2000-08-31 02:31:17 +00:00
roc+%cs.cmu.edu
99ff1305b8 Bug 49175. Change O(n^2) child view traversal to O(n). Trim unused view painting code. O(n^2)->O(n) change submitted by alex@cendio.se. r=kmmclusk,a=brendan 2000-08-24 19:54:46 +00:00
roc+%cs.cmu.edu
c3d33b1c79 NOT PART OF THE BUILD. Bringing nsViewManager up to speed with nsViewManager2 changes. Also ensures all pixels are cleared even if some pixels are not covered by any opaque view. Bug 39621. 2000-08-24 02:35:00 +00:00
roc+%cs.cmu.edu
16af532b27 NOT PART OF BUILD. Checking in nsViewManager2 semi-rewrite as nsViewManager. Bug 39621. r=kmcclusk,a=waterson 2000-08-23 14:58:22 +00:00
kmcclusk%netscape.com
e71e57f001 Clear the backbuffer to white before rendering to it and copying forward b=34283 r=attinasi@netscape.com 2000-08-22 04:20:40 +00:00
kmcclusk%netscape.com
2ded4c1825 Destroy offscreen surfaces using a singleton nsIRenderingContext instance instead of creating a nsIRenderingContext during shutdown b=48190 r=attinasi@netscape.com
Allways destroy the global array of ViewManager's when last view manager instance is destroyed b=45921 r=attinasi@netscape.com
2000-08-17 21:05:16 +00:00
roc+%cs.cmu.edu
4ca1a2fbd6 Adding new nsIView/nsIViewManager APIs so that a view can have a different parent for Z-order/clipping purposes than its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:05:52 +00:00
saari%netscape.com
4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
dcone%netscape.com
64ae165a80 took ViewManager.cpp out of build. b=42845 r=kmcclusk. 2000-08-04 13:55:36 +00:00
kmcclusk%netscape.com
f1fd9320ad Removed references to viewmanager1 in nsViewFactory. Removed ViewManager1 from the build on WIN32, and Linux. b=42845 r=attinasi@netscape.com. tested=win32,linux 2000-08-03 03:36:10 +00:00
pollmann%netscape.com
1c841a3606 Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!) 2000-07-20 06:02:41 +00:00
mkaply%us.ibm.com
cb1f3511f4 r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME
2000-07-10 21:08:54 +00:00
dcone%netscape.com
835c49fe98 Printing now calls RenderViews instead of just the top view. R=rods. b= 44547 2000-07-06 14:06:47 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
kmcclusk%netscape.com
b9a81f7d69 Nested divs with overflow now correctly position their child divs which have negative translations (patch from Robert O'Callahan) b=41153 r=attinasi@netscape.com tested on WIN32, Linux 2000-06-23 00:27:12 +00:00
pinkerton%netscape.com
1821dfd254 Add drag auto-scrolling to trees. bug#28226, r=hyatt. 2000-06-22 08:40:37 +00:00
kmcclusk%netscape.com
7ce5ee16b1 Removed clipwidget used by ender-lite widgets. b=35740 r=rods@netscape.com 2000-06-16 22:11:43 +00:00
sspitzer%netscape.com
bc533192aa workaround for smoketest blocker #42686
now we assert and gracefully continue, instead of crashing.
I'll go give this bug to a better owner.  a=brade, r=mscott
2000-06-15 21:20:19 +00:00
bryner%uiuc.edu
95e1204819 Fix bug 41270 - problems with the bounds checks for nsScrollingView. This
was causing mousewheel scrolling to "wrap around" in list boxes. r=pavlov.
2000-06-05 21:57:44 +00:00
mjudge%netscape.com
7da12ff3bc this was supposed to be checked in for someones pdt+ bug. this alters the view's destructor to remove itself from the viewmanagers mouse capture code. r= hyatt the bug had to do with OnClick on a view causing a web page reload. this became a must fix when joki checked in his event changes. 2000-06-01 00:38:57 +00:00
evaughan%netscape.com
55816643f1 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
sfraser%netscape.com
6d67abc70d Remove linkage with NetworkModular.shlb 2000-05-17 07:16:17 +00:00
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
joki%netscape.com
a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
mjudge%netscape.com
d564d4abfb debug code for myself 2000-05-14 03:44:17 +00:00
kmcclusk%netscape.com
b4cb1ecf67 Allow global offscreen to size bigger than a screen without creating a new offscreen each time and asserting. b=38847 r=rods@netscape.com tested=WIN32,Linux Removed compiler warnings in nsViewManager2 2000-05-10 22:45:33 +00:00
anthonyd%netscape.com
08c948f685 review: kmcclusk, mjudge
fix for invalid rootWidget in nsViewManager::GetWidgetBounds
2000-04-26 00:53:31 +00:00
evaughan%netscape.com
3e33f5b852 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com
6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
f6b930c9e6 backing out troy's changes to fix various ui not working blocker bugs. 2000-04-24 22:05:39 +00:00
troy%netscape.com
9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com
ebb082aaed Offscreen drawing surface now shrinks and expands in discrete increments of the screen size. b=20741 r=rods@netscape.com. tested on WIN32, Mac, Linux
Applied second half of patch to prevent invisible views from being painted (patch from Tomi.Leppikangas@oulu.fi) b=34466 r=rods@netscape tested on WIN32, Mac, Linux
2000-04-21 23:02:02 +00:00
kmcclusk%netscape.com
1945225950 Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac
2000-04-13 21:56:27 +00:00
evaughan%netscape.com
227679761c Grid fixes.
Memory leak fixes.
box cleanup.

-a ftang
2000-04-11 23:55:15 +00:00
cls%seawood.org
91ece64ad7 Ugh, forgot another EXTRA_DSO_LIBS. 2000-04-04 11:06:30 +00:00
cls%seawood.org
fdd09457b4 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
putterman%netscape.com
25ec529257 fix for bugs 34303, 34301, 34296. a=leaf. r=evaughan. 2000-04-03 21:30:09 +00:00
evaughan%netscape.com
6b5c2cada7 Turned on widget move coelescing in view manager.
-r troy, kevin m
2000-04-03 04:57:42 +00:00
evaughan%netscape.com
21e503b111 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget
2000-04-03 03:55:38 +00:00
beard%netscape.com
3f7112917f bug #33219: blendRect was incorrect, damageRect is sufficient. r=pavlov 2000-03-29 00:58:11 +00:00
kmcclusk%netscape.com
2ff8088a3e Added MOZ_PERF timer code to viewmanager to time rendering b=29308 r=attanasi@netscape.com 2000-03-27 22:00:19 +00:00
beard%netscape.com
b529051831 bug #33091, be more conservative about blend buffer dimensions, r=kmcclusk 2000-03-24 21:35:07 +00:00
kmcclusk%netscape.com
6131fcdb0b Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com 2000-03-23 23:49:18 +00:00
dbaron%fas.harvard.edu
87e19c9cef Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
kmcclusk%netscape.com
498a49a30a Initialize the result value in nsViewManager::SetFrameRate b=32381 r=rods@netscape.com 2000-03-21 21:47:50 +00:00
kmcclusk%netscape.com
806bd65dd6 #ifdef'ed out timer used to flush paints. It is not needed b=31407 r=attanasi@netscape.com
Changed mVMCount from PRUint32 to PRInt32 to make ASSERTION checking for a negative value in mWMCount valid
b=11674 r=attanasi@netscape.com
2000-03-17 22:27:26 +00:00
beard%netscape.com
b5a02ce574 bug 25050, fix incorrect usage of mPainting variable. r=jband 2000-03-16 22:55:42 +00:00
dcone%netscape.com
051d4fda39 Support for Blending added. r=beard 2000-03-16 05:05:12 +00:00
kmcclusk%netscape.com
619c64eaa3 Added code to prevent invalidation of non-visible rectangles.
This is a performance enhancement for platforms where toolkit invalidate calls
are expensive. b=29847 r=rods@netscape.com.
2000-03-15 01:20:07 +00:00
mkaply%us.ibm.com
3958555311 # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 22:07:34 +00:00
beard%netscape.com
f3eb29ca26 bug 20185 [PDT+], landing nsViewManager2, r=sfraser 2000-02-16 05:52:44 +00:00
beard%netscape.com
56f2be9125 bug 25336, fixes incorrect usage of unsigned integer causing an infinite loop, r=jst@citec.fi (he originated the patch). 2000-02-15 22:11:31 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
beard%netscape.com
b8e6b2f9ba added blending logic 2000-02-09 02:53:09 +00:00
beard%netscape.com
cebe1b5b9a OptimizeDisplayList() changes. 2000-02-08 03:05:00 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
beard%netscape.com
d174fca4fc removed unused enums, turned double buffering back on, added test for opaque views that occlude other views. r=pavlov 2000-02-05 04:13:29 +00:00
beard%netscape.com
54cd7346f1 changed test of mClip from (left == right) && (top == bottom) to (left == 0) && (right == 0) && (top == 0) && (bottom == 0). Added test for empty clip rect, to avoid painting. Added an assert to make sure mClip is set to reasonable values. r=pavlov 2000-02-05 04:11:55 +00:00
beard%netscape.com
f572ef11fb made using nsViewManager2 depend on the preference "nglayout.view.useViewManager2". r=pavlov, kmcclusk 2000-02-05 03:02:10 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
beard%netscape.com
afaf5c36e3 added IsClipView() predicate, preliminary support for the new front-to-back display list partitioner. 2000-02-02 01:00:23 +00:00
beard%netscape.com
e9c67d9729 added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint(). 2000-02-02 00:58:22 +00:00
waterson%netscape.com
1f469a689a Undo the optimization: it breaks the addressing widget :-(. 2000-02-01 08:13:12 +00:00
waterson%netscape.com
92a8f5fb23 Optimize MoveViewTo() to only move the view if aX != oldX and aY != oldY. This cuts out about 10% on large web pages that slam the status bar, because boxes seem to want to reposition the widget at the same place over and over. r=pavlov 2000-02-01 01:14:49 +00:00
jdunn%netscape.com
d873ae6b92 changing static_cast to use NS_STATIC_CAST instead... 2000-01-31 15:37:51 +00:00
dbaron%fas.harvard.edu
1946b31471 Fix bug 16200 (mostly) for both GFX and native scrollbars by rounding scroll requests to the nearest pixel and, from then on, only using that rounded value. Previously, disagreements (of a fraction of a pixel) between what was on the screen and what was supposed to be there caused rounding problems (particularly at less common logical resolutions). There is a chance this may not be necessary in the future, because transform changes may fix this.
r=dcone
2000-01-31 02:44:10 +00:00
kmcclusk%netscape.com
1996c7ecd8 Added missing nsIViewManager methods to nsViewManager2.h and nsViewManger2.cpp.
bug=22069; r=attinasi@netscape.com
2000-01-27 02:23:34 +00:00
kmcclusk%netscape.com
eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
beard%netscape.com
7226bc7257 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
beard%netscape.com
f74e58124f USE_NEW_COMPOSITOR=1 for M13. r=vidur,troy a=jar 2000-01-21 02:06:22 +00:00
joki%netscape.com
c01356f9ea Fix bug 24310 by backing out fix for 21304. a:chofmann 2000-01-19 22:34:47 +00:00
joki%netscape.com
a20a8e867b fix bug 21304, hidden views stealing events. r:rods 2000-01-18 15:15:23 +00:00
beard%netscape.com
fc4e9ce477 turned on usage of nsViewManager2, which seems to fix some important bugs on linux, such as #20185, and definitely #21405. r=pavlov 2000-01-17 00:52:39 +00:00
pavlov%netscape.com
8dbe181464 build nsViewManager2.cpp on windows r=beard 2000-01-17 00:45:51 +00:00
pavlov%netscape.com
29fdfdb559 build nsViewManager.cpp on linux r=beard 2000-01-17 00:43:57 +00:00
beard%netscape.com
639bcc28ec cleaned up, removed NSGetFactory, added conditional usage of nsViewManager2, which will be turned on soon. r=pavlov 2000-01-17 00:43:36 +00:00
beard%netscape.com
f03825bf41 forward declaring nsIViewManager rather than including nsViewManager.h. r=pavlov 2000-01-17 00:43:02 +00:00
beard%netscape.com
0a5199b6ca Added nsViewManager2.cpp. r=sfraser 2000-01-16 23:08:50 +00:00
beard%netscape.com
f2501edaff Simple back to front compositor. 2000-01-16 22:28:28 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rods%netscape.com
9bfe69e935 edge case PR_MAx should be against the insets sizes instead of zero
r=kmcclusk
1999-12-22 19:55:20 +00:00
ftang%netscape.com
982fa55c82 partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00
rods%netscape.com
4cf3515a9b temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
evaughan%netscape.com
29c18fc081 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
ftang%netscape.com
5d9824b4bd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
beard%netscape.com
aaf92bbeb3 bug #20504: fix crash when printing. r=joki 1999-12-02 05:13:56 +00:00
beard%netscape.com
7ec4e61f10 bug #17574: fixed ResizeView() to generate an update for the bounding box of old and new bounds of the view, instead of the entire parent view (duh!). this can be optimized further by doing separate updates if old and new aren't overlapping. r=kin 1999-12-01 22:58:24 +00:00
beard%netscape.com
77bb44b0a4 bug #13131, 18140: now accumulating paint requests into a region for each view that has a widget. r=pavlov 1999-11-30 22:27:56 +00:00
tbogard%aol.net
4b3666e214 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. 1999-11-24 06:03:10 +00:00
evaughan%netscape.com
d39dc9f975 Turned gfx scrollbars on by default. -r Mcaffe 1999-11-24 00:21:12 +00:00
kmcclusk%netscape.com
950dcf2670 Removed build warning in nsCornerView::Paint on Linux by overriding both overloaded Paints. r=buster@netscape.com 1999-11-22 21:11:46 +00:00
kin%netscape.com
9ce2f08c0b Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
beard%netscape.com
049ea93493 partial reversion of view manager, to fix XP menu breakage on windows. 1999-11-14 05:47:00 +00:00
beard%netscape.com
7b5640c230 fix VC5 bustage, needed to add const qualifiers to GetWidgetView, ViewToWidget. 1999-11-14 03:53:51 +00:00
beard%netscape.com
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
beard%netscape.com
86fab6c4bc update just a touch more when resizing views. bug=17574, r=pavlov, a=chofmann 1999-11-08 04:06:59 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
waterson%netscape.com
230c1759f0 Don't enable drag & drop on scrollbars. r=pink,hyatt 1999-11-02 21:03:46 +00:00
ramiro%fateware.com
b1fdfd6b17 Link in raptorgfx dynamically to make the component properly loadable.
regxpcom was breaking on this one.  r=valeski
1999-10-22 05:06:39 +00:00
kin%netscape.com
6762dd27f5 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
mcafee%netscape.com
686fad008b Better warning messages. r=pavlov. 1999-10-14 23:13:39 +00:00
waterson%netscape.com
5dfc8de829 Add nsScrollPortView.cpp to the build to get around undefined symbols at startup: looks like it got missed on Unix. 1999-10-12 04:41:07 +00:00
waterson%netscape.com
8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
evaughan%netscape.com
05d9fa061b added files: mozilla/view/src/nsScrollPortView.cpp 1999-10-12 00:16:34 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
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