Commit Graph

2274 Commits

Author SHA1 Message Date
Jonathan Kew
36c1dc9fbe bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Jacek Caban
61d5020e42 Bug 694008 - xptcinvoke_gcc_x86_unix.cpp fails to compile on mingw r=benjamin 2011-10-13 16:05:40 +02:00
Justin Lebar
72783f7f69 Bug 682437 - Add memory reporter for History::mObservers. r=bz
--HG--
extra : rebase_source : f280a6beefd32319816ff8720f7bf65c04343b1e
2011-09-14 17:37:45 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0015843458 Really fix the redness from bug 693469. r=red 2011-10-12 12:02:08 -07:00
Jeff Walden
e19cd18cea Followup fix to ArrayLength stuff for bug 693469 -- ISO C++98 forbids templates declaring on local types. Boo-urns! r=red
--HG--
extra : rebase_source : f0e398168239c0be1274079e8260ff363198beee
2011-10-12 11:42:55 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
L. David Baron
15a828aa14 Make the Darwin TimeStamp implementation assert when used before it is initialized. (Bug 693821) r=bzbarsky
--HG--
extra : transplant_source : %0B%E5o%993%09%9Fx%27%C5%03NA%A9u%00%82d-%1C
2011-10-12 10:34:39 -07:00
Ehsan Akhgari
7e4b277a75 Bug 689397 - Work around the broken-ness of gcc4.2 on Mac which causes the protection implemented in bug 666414 not take effect; r=bsmedberg 2011-09-26 20:45:25 -04:00
Steve Fink
bc15d36043 Bug 692606 - Shared libraries that change depending on configure options should depend on autoconf.mk (r=glandium)
--HG--
extra : rebase_source : 07e3cdabe5392796683bd91c67ccefb83f44c392
2011-10-06 15:15:28 -07:00
Brad Lassey
d174ebedad Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Justin Lebar
3637670041 Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey 2011-10-10 13:57:05 -04:00
Justin Lebar
254211dda2 Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey 2011-10-10 13:54:42 -04:00
Matt Brubeck
eb9465f1a3 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Ehsan Akhgari
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Justin Lebar
cbc4216a44 Bug 693101 - Unbreak about:memory's parsing of /proc/smaps entries which live in /dev/ashmem on Android. r=khuey 2011-10-10 11:10:50 -04:00
Brad Lassey
ab723a6a51 merge 2011-10-10 10:40:57 -04:00
Brad Lassey
4528a38462 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Michael Edwards
8d268b37aa Bug 687367 - Make bionic domain name functions thread-safe on pre-3.0 Android, r=dougt 2011-10-06 20:55:50 -07:00
Ed Morley
99f78ba391 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-06 16:25:34 +01:00
Ed Morley
34974bebcb Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-06 11:14:24 +01:00
Makoto Kato
3c2ca9ae41 Bug 690668 - TEST-UNEXPECTED-FAIL | c:\talos-slave\test\build\xpcshell\tests\toolkit\components\passwordmgr\test\unit\test_storage_legacy_2.js | test failed (with xpcshell return code: 0), see following log:. r=bsmedberg 2011-10-06 13:15:51 +09:00
Chris Jones
9928eba1eb Bug 690670, part 0: Add helpers for copy-constructing auto arrays from regular arrays. r=roc
--HG--
extra : rebase_source : e586553e4a2cf344f72347e195f42762f0183c99
2011-10-05 15:15:45 -07:00
Taras Glek
2948333894 Bug 686691 - Plumbing to expose OS-level readhead. r=bsmedberg 2011-10-02 21:24:54 +02:00
Justin Lebar
0d10563c8a Bug 692923 - Update heap-unallocated description to reflect the fact that heap-dirty doesn't have anything to do with fragmentation. r=khuey
--HG--
extra : rebase_source : d09f4bd41f694375f8d42a10cf278e3c5ac2b92f
2011-10-10 08:47:48 -04:00
Marco Bonardo
b5fe34c68a Merge mozilla-central and mozilla-inbound 2011-10-08 09:41:37 +02:00
Ed Morley
43c08e27c3 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-07 11:37:04 +01:00
Ehsan Akhgari
a1ace9621b Bug 692782 - Bug 690670 broke clang builds; r=cjones 2011-10-07 15:31:12 -04:00
Peter Van der Beken
0b19559b3e Bug 648801 (new DOM list bindings) - Generate setters on new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : e1bfe25da439b22a4a72404331163826588f83a9
2011-08-20 15:53:33 +02:00
Peter Van der Beken
98d8129201 Bug 648801 (new DOM list bindings) - Generate new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 6b34182856cbb4ba3fba8d3001de648b10157a29
2011-08-20 15:53:33 +02:00
Felix Fung
fde9bb7c52 Bug 674012 - Remove checks for HAVE_GCC3_ABI. r=glandium
--HG--
extra : rebase_source : 934fd93abd8678d0215ee8296995cb5b296288bf
2011-09-28 11:32:39 -07:00
Brian R. Bondy
0ffa1961e1 Bug 688882 - Investigate stack buffer overflow in nsLocalFile::EnsureShortPath. r=bsmedberg
--HG--
extra : rebase_source : c872ba5d7b05bd611ee5926e6b3f9e7432db913e
2011-09-29 09:06:27 -04:00
Makoto Kato
dca8c29990 Bug 689288 - xpcshell\tests\js\src\xpconnect\tests\unit\test_attributes.js and test_params.js are perma-orange on Win64. r=bsmedberg
--HG--
extra : rebase_source : dec80ee84264081839bbf92870b66b696d9e3e76
2011-09-29 18:43:50 +09:00
Michael Wu
d8e503c38b 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
Wolfgang Germund
b4bcc00620 Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras 2011-09-28 16:14:45 -07:00
Aditya Bhatt
126fa835f9 Bug 689301 - Compile error in nsTimerImpl.cpp with gcc 4.6.0 on Fedora core 15 x64; r=espindola 2011-09-27 17:11:03 -04:00
Boris Zbarsky
fa974d0e19 Bump XPCOM version to 10 on CLOSED TREE. 2011-09-27 13:15:52 -04:00
Matheus Kerschbaum
998809bbf6 Bug 687766 part 2: Nuke binary xpidl. r=khuey 2011-09-27 10:10:06 +02:00
Daniel Holbert
9a268fceaf Bug 689195: Fix signed/unsigned comparison warning in nsLocalFileUnix.cpp. r=smichaud 2011-09-26 15:00:34 -07:00
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Bobby Holley
53f973b84d Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
c6981dfa25 Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
8a2ae11493 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
6aab3db9fd Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Mook
7c296001b9 Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-25 15:37:58 +01:00
Justin Lebar
a55182fa93 Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc 2011-09-22 11:22:20 -04:00
Brian R. Bondy
b08f3661e6 Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
e1befc2bea Bug 300692 - Win32 nsLocalFile::Create returns not found if no access. r=bsmedberg 2011-09-22 09:21:03 -04:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Brian R. Bondy
b4b86ddb0b Bug 429484 - Win32 nsILocalFile.exists() returns false when files exist and inaccessible. r=bsmedberg 2011-09-21 09:14:22 -04:00
Justin Lebar
75d358b0cd Bug 685438 - Avoid wasted space in nsTArray_base due to jemalloc rounding up. r=roc
--HG--
extra : rebase_source : a7248bd865ffdc8932ee6dcc796cd4e48a5498ab
2011-09-21 00:46:56 -04:00
Atul Aggarwal
89e9702d5f Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking 2011-09-20 21:04:35 +05:30
Justin Lebar
83e3821db7 Bug 689433 - Align nsAutoTArray<E> to E's natural alignment. r=roc
--HG--
extra : rebase_source : f7062f251f6905a58145ed6d94680f076dabbef7
2011-10-05 09:11:17 -04:00
Patrick McManus
c598a54eb0 bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00
Ed Morley
dfbe5b23ad Bug 687342 - Move arm.cpp to ARM ifeq block in xpcom/glue/objs.mk to stop MSVC arm.obj LNK4221 warning; r=khuey 2011-09-20 02:13:08 +01:00
Rafael Ávila de Espíndola
5771e9f63e Bug 684659 - Remove xptcinvoke_unixish_x86.cpp. r=bsmedberg.
This patch:
* Modifies the linux version so that both calls are aligned and can be used by the OS X assembler.
* Removes KEEP_STACK_16_BYTE_ALIGNED, since it is cheap to do it always and the linux implementation was already doing.
* Define MOZ_NEED_LEADING_UNDERSCOR on OS X
* Move users of xptcinvoke_unixish_x86.cpp to xptcinvoke_gcc_x86_unix.cpp (and the stubs file too)

--HG--
extra : rebase_source : 11eac139b33ddfe60af96690e0c54aec77db82c9
2011-09-16 14:34:09 -07:00
Ehsan Akhgari
97e0f80e7f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari
733e4ea2dd Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Justin Lebar
b324c30126 Bug 686720 - Expose PSS from smaps in about:memory. r=khuey 2011-09-15 10:53:04 -07:00
Justin Lebar
5b35cccb7d Bug 686172 - In about:memory, make the smaps breakdown trees appear only where they're available (on Linux). r=khuey 2011-09-14 17:37:45 -07:00
Justin Lebar
087ea9e1a0 Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz 2011-09-15 22:16:14 -07:00
Neil Rashbrook
843c1fef62 Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook
430bc94bad Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Rafael Ávila de Espíndola
b651fc9001 Bug 684659 - Drop xptc_platforms_unixish_x86.h. r=bsmedberg.
Drop MOZ_PRESERVE_PIC which is not used since 2002,
CFRONT_STYLE_THIS_ADJUST which was used only for really old systems
like the first Freebsd 5.

With those out, the only thing left in xptc_platforms_unixish_x86.h is
to set KEEP_STACK_16_BYTE_ALIGNED for QNX, since that is not supported
and KEEP_STACK_16_BYTE_ALIGNED can be set from Makefile.in if needed,
drop xptc_platforms_unixish_x86.h completely.
2011-09-14 11:38:07 -07:00
Brian R. Bondy
baf8fd8929 Bug 685847 - Crash in [@ ILFindLastID ]. r=jimm 2011-09-12 07:25:41 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Justin Wood
f90fd5539e m-c -> m-i merge 2011-09-09 22:04:09 -04:00
Brian R. Bondy
b194fc5ac6 Bug 685847 - Crash in nsLocalFile::RevealUsingShell() on release builds. r=jimm 2011-09-09 15:01:38 -04:00
Rafael Ávila de Espíndola
986bdb4cd5 Bug 684659 - Drop references to really old gcc versions. 2011-09-09 19:38:28 -04:00
Mike Hommey
8c1cd94d71 Bug 664090 - Store offset inside segment instead of pointer for nsStorageInputStream. r=bsmedberg 2011-09-08 09:12:42 +02:00
Kyle Huey
174e9ff0a0 Bug 677922: Package pyxpidl in the SDK and stop building the binary xpidl. r=bsmedberg 2011-09-07 15:25:40 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matt Brubeck
ef44922f52 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Josh Matthews
c75ab8fde2 Bug 684591 - Fix uninformative xpidl.py warning message to print relevant interface name. r=khuey 2011-09-04 12:07:17 -04:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Mike Hommey
42fa5b0cd7 Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Kyle Huey
4e7e46234c Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-02 17:36:48 -04:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Kyle Huey
5e4af8d5d1 Bug 682852: Remove ancient test gunk. r=me 2011-08-30 13:39:19 -04:00
Rafael Ávila de Espíndola
4387485520 Bug 682066 - Drop NS_DEFCALL. r=benjamin.
Having NS_DEFCALL around causes problems for clang since it uses
the regpart attribute when deciding template instantiations. In
particular, it would not use the generic method specialization of
nsRunnableMethodTraits.
2011-08-30 14:22:00 -04:00
Jacek Caban
6f8d9b5235 Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin 2011-09-09 15:07:22 +02:00
Justin Lebar
5315b70bee Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Atul Aggarwal
01f1da4a4a Bug 661962: Remove mostly-unused variable 'rv' from nsINIParser::Init (moving it inside the #ifdef block where it's used). r=bsmedberg 2011-09-01 03:06:26 +05:30
Justin Lebar
d2b57dbde1 Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn
--HG--
extra : rebase_source : 66b94efceb15920edcb6a27380450e52b25c5847
2011-09-06 11:57:58 -04:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Kyle Huey
2531127d09 Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-03 09:53:48 -04:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Shawn Gong
7369d04bb8 Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking 2011-07-21 11:13:06 -07:00