Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Robert O'Callahan
1c890f5c0d
Bug 777194. Part 3: Add ToString() method to regions for easier logging/debugging. r=jrmuizel
2012-08-17 11:39:00 +12:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matt Woodrow
12dbf688b4
Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc
2012-07-23 15:00:36 +12:00
Oleg Romashin
2a33ae1f2a
Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa
2012-05-24 18:36:18 -07:00
Ryan VanderMeulen
ea3aee78c7
Backout 5baac057fc1a (bug 757933) due to red.
2012-05-26 10:03:20 -04:00
Oleg Romashin
9d32fdf72d
Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa
2012-05-26 09:33:53 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Girard
1a5e0d16d2
Bug 703317 - Use TLS to make RgnRectMemoryAllocator thread safe. r=roc
2011-11-29 13:29:03 -05:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley
acfd91cd49
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Ed Morley
3f49fdcb2a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Robert O'Callahan
ce7be9d494
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
91a72cf57f
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Neil Rashbrook
3678727236
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01:00
Jim Mathies
87cc72d4a4
Bug 633282 - Add ToNearestPixels to nsRegion. r=roc.
2011-05-13 11:40:46 -05:00
Robert O'Callahan
a7b4f1246b
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Matt Woodrow
76d5166e16
Bug 586683 - Part 2a - Add ScaleRoundOut to nsIntRect/Region. r=joe a=blocking2.0
2011-02-09 09:37:44 +13:00
Matt Woodrow
229086f86e
Bug 586683 - Part 1 - Add resolution handling to BasicLayers. r=roc a=blocking2.0
2011-02-09 09:35:54 +13:00
Chris Jones
83ae68494b
Bug 620658: Add nsRegion::Contains(nsRegion). sr=roc
2011-01-26 00:26:37 -06:00
Robert O'Callahan
be89ff2fde
Bug 585258. Part 2: Make SimplifyOutward smarter by trying to avoid combinging rectangles that are vertically discontiguous. r=bzbarsky,a=blocking
2011-01-04 21:45:46 +13:00
Robert O'Callahan
665bd1fded
Bug 613449. Extend GetLargestRectangle to support considering only rectangles that contain a given rectangle. r=robarnold
2011-01-04 16:56:57 +13:00
Robert O'Callahan
a352316479
Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Timothy Nikkel
70d241a01e
Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
91df098dd6
Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats
...
(transplanted from d5ca465f42381d777adcc468c8fdf96942f1fcfe)
--HG--
extra : transplant_source : %D5%CAF_B8%1Dwz%DC%C4h%C8%FD%F9iB%F1%FC%FE
2010-06-05 15:29:49 -05:00
Rob Arnold
2fa027f646
Added ll suffix to 64 bit constant and initialized some variables to shut up gcc.
2010-05-24 00:08:04 -04:00
Rob Arnold
9ed8166574
Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc.
2010-05-23 23:47:34 -04:00
Rob Arnold
41ac074713
Bug 555182 - Calculate the largest opaque rectangle in the opaque region to determine glass margins r=jimm,roc
2010-05-23 23:29:04 -04:00
timeless@mozdev.org
9e59b19399
Bug 562582 - suggest parentheses around assignment used as truth value in nsRegion::ToOutsidePixels, r=roc
2010-04-28 23:20:00 -07:00
Rob Arnold
868b41f2d3
Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc
2010-03-17 18:56:00 -04:00
Mats Palmgren
81dc5c2928
mRectListHead.x needs a sentinel value (not y). Clarify the use of nscoord sentinel values and handle float nscoord too. b=541869 r=roc r=jonitis
2010-01-27 09:35:37 +01:00
Chris Jones
9d0f93c04d
bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad
2009-09-09 20:22:03 -05:00
reed@reedloden.com
c865d914b1
Bug 408812 - "AIX Compilation error for trunk build source nsThebesRegion.cpp : ./dist/include/gfx/nsRegion.h", line 85.18: 1540-0723 (S) The inline function "void operator delete(void *, size_t)" is referenced, but it is not defined" [p=shailen.n.jain@gmail.com (Shailen) r=vlad a1.9=beltzner]
2007-12-24 20:37:44 -08:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
roc+%cs.cmu.edu
8c5df94781
Bug 317514. Add nsRegion::SimpleSubtract, Contains(aRect) and Intersects(aRect). r=dainis_jonitis, sr=bzbarsky
2005-11-24 01:11:12 +00:00
roc+%cs.cmu.edu
cb35d5fe9e
Bug 317514. Add nsRegion::SimpleSubtract, Contains(aRect) and Intersects(aRect). r=dainis_jonitis, sr=bzbarsky
2005-11-24 01:05:18 +00:00
roc+%cs.cmu.edu
ca5d4d3999
Bug 317513. Fix nsRegion::SubRect to not include incorrect extra rects in the result. r=dainis_jonitis, sr=bzbarsky
2005-11-24 00:50:36 +00:00
roc+%cs.cmu.edu
767022e55b
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
2004-11-03 02:37:21 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
roc+%cs.cmu.edu
e1d625af68
Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
2004-01-10 16:18:36 +00:00
timeless%mozdev.org
10128e0d6e
Bug 203396 unused variables in nsRegion::SubRect
...
r=mkaply sr=roc+moz
2003-05-23 21:50:05 +00:00
timeless%mozdev.org
4a9cdfd6ec
Bug 180169 ASSERTION: RgnRectMemoryAllocator not thread-safe triggers because static class exists past nspr shutdown
...
r=roc+moz sr=roc+moz
2003-05-23 21:42:36 +00:00
roc+%cs.cmu.edu
d6fd7c0ac4
Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
2003-03-25 02:58:10 +00:00
dbaron%fas.harvard.edu
39ce4eeae8
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
2002-11-06 13:09:20 +00:00
seawood%netscape.com
03ace271f0
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
2002-07-02 20:25:30 +00:00