Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01: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
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mats Palmgren
86699a57d7
Bug 720142 - Use nsIntRect for table damage. r=bernd
2012-01-22 23:48:34 +01:00
Bernd
844db3e17f
bug 460637 - the group cellmaps need to set the damageArea relative to the entire table, patch by Mats Palmgren, Randell Jesup and Bernd, r=mats, bernd
2011-10-27 09:58:44 -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
Ehsan Akhgari
523ebb7851
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Ms2ger
c1500f0f3a
Bug 670500 - Make nsCellMap::Init return void; r=roc
2011-07-15 12:18:33 +02:00
timeless@mozdev.org
b88c6d4720
Bug 620259 - add fall through comments to nsTableCellMap::SetNotTopStart and rename to nsTableCellMap::ResetTopStart
...
r=bernd a=dbaron
2011-02-16 14:14:18 +01:00
timeless
f3cdc36c53
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
aa22afa674
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Ehren Metcalfe
a791e19cc4
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
Craig Topper
fd9001c409
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Bernd
2f77193c78
bug 28800 remove support for scrollable rowgroups moa=roc r=bzbarsky
2010-01-16 17:05:46 +01:00
Bernd
a519244d26
reorganize border collapse painting code to make a little bit more readable bug 452319 r=fantasai sr=bz
2009-11-05 10:26:00 +01:00
Dão Gottwald
d480227b1c
Backed out changeset 524233171fa4
2009-11-05 10:25:26 +01:00
Dão Gottwald
78256e6aec
reorganize border collapse painting code to make a little bit more readable bug 452319 r=fantasai sr=bz
2009-11-05 09:03:51 +01:00
Mats Palmgren
dea07412a1
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Alexander Surkov
fff2439827
Bug 437980 - 9 tests fail in table_indexes.html chrome test file, r=marcoz, davidb, bernd
2009-06-29 18:54:26 +08:00
Arpad Borsos
6629426d28
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc
2009-03-12 08:26:29 +01:00
Karl Tomlinson
b8e39184d7
backout dac7c3176b33 from bug 481881
2009-03-11 17:09:22 +13:00
Arpad Borsos
c1e6f4a31e
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc
2009-03-11 15:26:36 +13:00
Arpad Borsos
91118b918d
Bug 474369 - get rid of nsVoidArray, layout/tables part. r+sr=roc
2009-02-05 10:09:50 +01:00
surkov.alexander@gmail.com
d8aebfb510
Bug 410052 - Fix our nsHTMLAccessibleTable class so GetIndexAt and GetRowAtIndex and GetColumnAtIndex behave consistently, patch=me, marcoz, r=marcoz, me, bernd, sr=roc, blocking1.9+=dsicore
2008-02-06 23:03:26 -08:00
bzbarsky%mit.edu
806907a4d2
Don't use a static nsTArray. Bug 369099, r=bernd, sr=roc
2007-02-13 16:23:19 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
f29ad74749
Fix crash bug 368166. r=bernd, sr=roc
2007-01-28 16:49:26 +00:00
bzbarsky%mit.edu
7413db90f4
Address review comment I missed. Bug 367749.
2007-01-24 20:23:08 +00:00
bzbarsky%mit.edu
27ca5847eb
Fix various bugs in the column iterator's keeping track of the current row.
...
Bug 367749, r=bernd, sr=roc
2007-01-24 20:18:04 +00:00
bzbarsky%mit.edu
ed9ad7b7bf
Make it possible for callers who want to iterate all the row groups and
...
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups). Bug 366892, r=bernd, sr=roc
2007-01-22 04:35:25 +00:00
bzbarsky%mit.edu
21d73573a8
Have a faster way of iterating down the columns of a table. Bug 352461,
...
r=bernd, sr=roc
2007-01-22 04:32:33 +00:00
bmlk%gmx.de
13abe1b209
Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
2007-01-01 18:18:53 +00:00
bmlk%gmx.de
ea94fabefd
rename variable rename mRowCount to mContentRowCount so that it becomes obvious what it contains. Adjust the cellmap grow mechanism to the new nsTArray world bug=363370 r/sr=bzbarsky
2006-12-26 14:04:20 +00:00
bzbarsky%mit.edu
132cdda426
Allocate the celldata structs from the presshell arena instead of allocating
...
them from the malloc heap with new. Use nsTArray to store them and an nsTArray
to store those arrays instead of using nsVoidArray. Bug 356335, r=bernd,
sr=sicking
2006-12-07 02:32:57 +00:00
bmlk%gmx.de
2722eb51e3
Revert a old design decision how to expand zero colspans in the cellmap. Once a cellmap hole was hit via the GetDataAt function the old code tried to repair this cellmap position by walking up and left till a possible origin of a zero span was hit. The new code uses a mark and sweep approach, which should remove the burden that ordinary tables without zero spans but large cellmap holes have to pay. bug 351942 r/sr=bzbarsky
2006-10-20 07:37:24 +00:00
bmlk%gmx.de
103658af2a
fix a coding error in the patch for bug 339246 bug 343588 r/sr=bzbarsky
2006-08-02 12:02:37 +00:00
bmlk%gmx.de
2c35fc2818
fix cellmap errors with the num of rows in the cellmap vs the num of rows in the content bug 344000 r/sr=bzbarsky
2006-08-02 11:57:48 +00:00
bmlk%gmx.de
424fb80e20
reset column info for all cellmaps if they need to be reset, bug 339246 r/sr=bzbarsky
2006-06-28 18:56:10 +00:00
bmlk%gmx.de
70ec56f2d3
reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky
2006-06-22 04:19:36 +00:00
bzbarsky%mit.edu
6400a4a6ba
Make sure to call the right destructor on cellmap info structs. Bug 302725,
...
r=bernd, sr=dbaron
2006-01-13 21:08:17 +00:00
bmlk%gmx.de
b91b76b673
insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc
2005-12-16 19:10:56 +00:00
bmlk%gmx.de
e7a8486231
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
2005-11-04 18:41:32 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
8c2f50790a
move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
2004-04-13 06:21:16 +00:00
bmlk%gmx.de
2e4b1165aa
when dead cells are replaced in the cellmap, the corresponding column should be informed that it now contains one more cell bug 235535 r/sr=bzbarsky
2004-03-03 17:45:50 +00:00
bmlk%gmx.de
a217311c27
remove unneccesary prescontext arguments bug 230923 r/sr=roc
2004-01-18 10:28:40 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bernd.mielke%snafu.de
1d5c6eb40e
fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan
2003-01-18 14:02:52 +00:00