476 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
4404d25a96 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
pinkerton%netscape.com
50bcb65c7f 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.
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00
kmcclusk%netscape.com
c1fbab5f73 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
git-svn-id: svn://10.0.0.236/trunk@95042 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 20:50:11 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
joki%netscape.com
c7e531a65c 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
git-svn-id: svn://10.0.0.236/trunk@93884 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 03:02:55 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
roc+%cs.cmu.edu
a841bac02b 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
git-svn-id: svn://10.0.0.236/trunk@92978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu
67f2bfdbac Backing myself out ... IDIOT.
git-svn-id: svn://10.0.0.236/trunk@92932 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu
980b62ea0a Adding view manager API for specifying background color for the document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@92926 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 18:14:46 +00:00
morse%netscape.com
8d0292bd09 bug 75661, crash when image-manager alert box appears, r=kmcclusk, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@92429 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:40:08 +00:00
blizzard%redhat.com
aee13ac6e9 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.
git-svn-id: svn://10.0.0.236/trunk@91978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:52:06 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
peterlubczynski%netscape.com
182f18bfcc Fix for crash with full-page plugins on Mac bug 74934 r=kmcclusk sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@91953 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 05:29:36 +00:00
roc+%cs.cmu.edu
e75e68ae3c Adding support for root views with externally defined widgets. Bug 73383. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91952 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 05:10:15 +00:00
dprice%netscape.com
5cbf372cac 65845 - new order files
git-svn-id: svn://10.0.0.236/trunk@91428 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 06:02:32 +00:00
roc+%cs.cmu.edu
2647a38223 Fix calculation of widget coverings in nsViewManager::UpdateAllCoveringWidgets. Bug 74413, sr=attinasi,r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@91249 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:37:12 +00:00
rickg%netscape.com
75bb2ffbb9 preloader update. r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
roc+%cs.cmu.edu
5ea7ffb101 Correct child widget's view according to parent view's coordinates in AddCoveringWidgetsToOpaqueRegion. Fix for bug 73406. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90960 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 13:41:28 +00:00
disttsc%bart.nl
3ea7009900 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna)
git-svn-id: svn://10.0.0.236/trunk@90883 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:39:06 +00:00
kmcclusk%netscape.com
e889aeb106 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
git-svn-id: svn://10.0.0.236/trunk@90834 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:17:07 +00:00
disttsc%bart.nl
ce927d9f65 Clean up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@90392 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:59:27 +00:00
alecf%netscape.com
874291fed3 make this DEBUG_roc instead of DEBUG - we dont' ALL need to debug the view manager
git-svn-id: svn://10.0.0.236/trunk@90259 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:27:16 +00:00
roc+%cs.cmu.edu
0d4080bde9 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.
git-svn-id: svn://10.0.0.236/trunk@90120 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:54:50 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
roc+%cs.cmu.edu
868dfa2604 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
git-svn-id: svn://10.0.0.236/trunk@89809 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:51:58 +00:00
dprice%netscape.com
ad10d9ea59 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD
git-svn-id: svn://10.0.0.236/trunk@89489 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:47:37 +00:00
shaver%mozilla.org
823ae8572c 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


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
timeless%mac.com
effb3a3ab7 for Bug 39621 Need to turn on nsViewManager by default
add ifdef DEBUG
r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@89318 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 04:48:26 +00:00
roc+%cs.cmu.edu
547e224e68 Ignore unreliable nsIWidget information and use the associated nsView data instead. Fixes bug 70446. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89226 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 05:33:38 +00:00
roc+%cs.cmu.edu
9ac96a81af 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
git-svn-id: svn://10.0.0.236/trunk@88479 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 06:18:11 +00:00
dprice%netscape.com
8e4007e560 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings.
git-svn-id: svn://10.0.0.236/trunk@88058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:38:19 +00:00
roc+%cs.cmu.edu
819e90359e 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
git-svn-id: svn://10.0.0.236/trunk@87916 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 20:29:58 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
roc+%cs.cmu.edu
0018bf9a4e Force nsViewManager to respect DONT_BITBLT flags on descendant views when we scroll a parent view. Fix for bug 68499. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87230 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:41:52 +00:00
dprice%netscape.com
fe020ec48a 65845 first cut of the order files
git-svn-id: svn://10.0.0.236/trunk@86883 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:48:02 +00:00
kmcclusk%netscape.com
53ee4f7141 Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85943 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 06:00:02 +00:00
dbaron%fas.harvard.edu
63bf4cc356 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:31:15 +00:00
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
kmcclusk%netscape.com
c16019823b Removed code which cleared the backbuffer to white before rendering. bug 49779 sr=roc+moz r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85560 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 05:09:37 +00:00
kmcclusk%netscape.com
90c90d4972 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
git-svn-id: svn://10.0.0.236/trunk@85207 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 04:59:39 +00:00
mkaply%us.ibm.com
2048158f0f #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names


git-svn-id: svn://10.0.0.236/trunk@85086 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:53:33 +00:00
bryner%uiuc.edu
6f97e20f49 Removing dead .toc files. Not part of build. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@84289 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:32:06 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
dbaron%fas.harvard.edu
cf67dceed1 Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965
git-svn-id: svn://10.0.0.236/trunk@82413 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:04:02 +00:00
blizzard%redhat.com
39e90cd15d fix bustage
git-svn-id: svn://10.0.0.236/trunk@82375 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 06:17:38 +00:00
scc%mozilla.org
2e9c6662cc 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.
git-svn-id: svn://10.0.0.236/trunk@82373 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 05:22:03 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
b725c37ce9 Removed extra 0 arg
git-svn-id: svn://10.0.0.236/trunk@81893 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:21:30 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00