18 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
cbb6297ddd Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164828 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:37:21 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
roc+%cs.cmu.edu
4bdc65b3e2 Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@151143 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 16:18:36 +00:00
timeless%mozdev.org
31b706d949 Bug 203396 unused variables in nsRegion::SubRect
r=mkaply sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@142836 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:50:05 +00:00
timeless%mozdev.org
318c32bc07 Bug 180169 ASSERTION: RgnRectMemoryAllocator not thread-safe triggers because static class exists past nspr shutdown
r=roc+moz sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@142830 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:42:36 +00:00
roc+%cs.cmu.edu
e5bc645b4f Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@140207 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:58:10 +00:00
dbaron%fas.harvard.edu
2df075502a Make NS_INIT_ISUPPORTS empty by moving NS_INIT_OWNINGTHREAD into the constructor of a new class, |nsAutoOwningThread|. Deprecate NS_INIT_ISUPPORTS. b=174225 r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133154 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 13:09:20 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
79ed9126ca Fix typos that shouldn't have been checked in. b=110802
git-svn-id: svn://10.0.0.236/trunk@109383 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:58:09 +00:00
dbaron%fas.harvard.edu
b8b7a75e99 Region code doesn't need to be threadsafe since it all runs on one thread. b=110802 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@109109 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:59:26 +00:00
rjesup%wgate.com
4c270b21d7 Bug 93999: Minor bustage fix for HPUX (doesn't allow delete [] of void *);
dbaron looked it over and agrees.


git-svn-id: svn://10.0.0.236/trunk@102496 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:57:52 +00:00
rjesup%wgate.com
5f20dbeac5 bug 93999: reduce number of image creations in gtk/xlib. Patch by imot
(Tomi.Leppikangas@oulu.fi).  r=pavlov, sr=brendan, r=bbaetz on c++ issues,
 jst said "check it in" on c++ issues.


git-svn-id: svn://10.0.0.236/trunk@102480 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:00:49 +00:00
mkaply%us.ibm.com
68e0e69e87 EMX build break - OS/2 only - should be using NS_CONST_CAST here
git-svn-id: svn://10.0.0.236/trunk@96529 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 14:10:02 +00:00
mkaply%us.ibm.com
a9f87f82ab #76670
r=mkaply, a=blizzard
More optimization for XP Region code - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@95706 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:57:20 +00:00
mkaply%us.ibm.com
b808d845f6 No bug - add proper casts so EMX builds
git-svn-id: svn://10.0.0.236/trunk@95300 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 20:29:54 +00:00
mkaply%us.ibm.com
d15de79cb6 #76670
r=mkaply, a=blizzard
Cleanup on nsRegion code - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@95275 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:38:03 +00:00
mkaply%us.ibm.com
1f067ae579 #76670
r=mkaply,achimha@innotek.de sr=roc+moz
Implement XP regions - currently only used on OS/2


git-svn-id: svn://10.0.0.236/trunk@94999 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 14:43:48 +00:00
mkaply%us.ibm.com
6e25c28fa2 #76670
r=mkaply,achimha@innotek.de sr=roc+moz
Implement XP regions - currently only used on OS/2


git-svn-id: svn://10.0.0.236/trunk@93544 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 14:28:48 +00:00