Commit Graph

634 Commits

Author SHA1 Message Date
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
roc+%cs.cmu.edu
23f188782e Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin 2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
7ebbea6879 Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin 2002-09-03 21:36:28 +00:00
roc+%cs.cmu.edu
78f830028e Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin 2002-08-30 03:32:05 +00:00
mjudge%netscape.com
88ac4fa947 4302. left this out of checking. fixing bustage 2002-08-26 21:46:13 +00:00
seawood%netscape.com
67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
aaronl%netscape.com
7321ffd8cb Bug 158756. Need nsIViewManager::IsRectVisible to become GetRectVisisiblity, and return a reason why the rect wasn't visible. r=akk,roc+moz. sr=jst 2002-08-10 08:03:53 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
roc+%cs.cmu.edu
9e4e0e3b45 Bug 159587. Force view manager to invalidate necessary areas when clipping is changed. r=kmcclusk,sr=bz 2002-08-08 01:03:57 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
5e0f2971fb Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc
2002-08-06 03:27:05 +00:00
rginda%netscape.com
6f3b89570e bug 155328, r=bz, sr=jst
fix uninitialized return value in nsViewManager::Init
2002-07-26 23:09:06 +00:00
rginda%netscape.com
48bcd54023 bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=jst, r=roc+mozilla@cs.cmu.edu, a=asa

make sure we always post new invalidate events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.
2002-07-26 03:31:56 +00:00
kmcclusk%netscape.com
b87a141e21 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
681db8a644 backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853 2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
539f09beff Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 02:53:35 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
roc+%cs.cmu.edu
3cd559ba29 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson 2002-06-12 03:22:35 +00:00
roc+%cs.cmu.edu
96a4b4dbf6 Bug 148350. Fix the gcc optimizer workaround. r=kmcclusk,sr=waterson 2002-06-12 03:18:10 +00:00
kmcclusk%netscape.com
0a88931ae5 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc 2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
4492253e5a Bug 148350. Tweak code to avoid bug in gcc 2.95.3 with -O2. r=roc+moz,sr=jag 2002-06-04 04:55:04 +00:00
roc+%cs.cmu.edu
b9fd585526 Bug 142461. Turn off annoying debug messages. r=kmcclusk,sr=waterson 2002-06-04 04:48:04 +00:00
roc+%cs.cmu.edu
0e9e1348c5 Bug 141900. Ensure that SetViewChildClip respects nsIClipView clipping. r=kmcclusk,sr=waterson 2002-05-30 01:59:57 +00:00
roc+%cs.cmu.edu
d455318206 Bug 136441. Don't let floating views get clipped by non-floating parents. r=kmcclusk,sr=attinasi 2002-05-30 01:42:41 +00:00
hwaara%chello.se
0b0b90f3a9 #138852, removing last living parts of viewmanager2.
r=kmcclusk, sr=jst
2002-04-23 14:53:44 +00:00
joki%netscape.com
a5cda6ec41 Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst 2002-04-14 21:45:04 +00:00
pinkerton%netscape.com
9f9e505dd8 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764 2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
46b5f20c99 Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw 2002-04-12 13:43:32 +00:00
hyatt%netscape.com
e0734fa45e Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben 2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
627996e0cc Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag 2002-04-11 03:26:30 +00:00
rods%netscape.com
f689da2c74 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
yokoyama%netscape.com
f914ab92df Bug fix 130122
Needed to add code for IME key event (NS_IS_IME_EVENT())
Impact only on CJK keyboard input
/r=yokoyama, /sr=roc+moz, /a=asa, /adt+=jaime
2002-04-04 22:34:04 +00:00
rods%netscape.com
ab6f707d33 Add SetVisibility method to Scroll Views
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:56:27 +00:00
roc+%cs.cmu.edu
e5bf9a8bab Bug 131487. Fix semantics of GetViewFlags/SetViewFlags. r=kmcclusk,sr=attinasi,a=asa 2002-03-26 12:12:36 +00:00
roc+%cs.cmu.edu
bdbfdae3fe Bug 128478. Don't let key events go through coordinate-based dispatching. r=kmcclusk,sr=kin,a=asa 2002-03-26 12:10:52 +00:00
roc+%cs.cmu.edu
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