Граф коммитов

10722 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew c2fbbcec84 bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Jacek Caban 9ebd10a2a2 Bug 694008 - xptcinvoke_gcc_x86_unix.cpp fails to compile on mingw r=benjamin 2011-10-13 16:05:40 +02:00
Justin Lebar 06cfef43a0 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 1872189eac Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 56db66e37b Really fix the redness from bug 693469. r=red 2011-10-12 12:02:08 -07:00
Jeff Walden b4993b8d3e 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 37f2b96015 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 050b2330a5 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 d33f3a2246 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 94dac49fb2 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 db187259b3 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Justin Lebar 034e9c091f Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey 2011-10-10 13:57:05 -04:00
Justin Lebar c4cfa5deaf Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey 2011-10-10 13:54:42 -04:00
Matt Brubeck e8cbf38fa7 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 46f95f9ad9 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Justin Lebar 1d1312ed23 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 4913473e5b merge 2011-10-10 10:40:57 -04:00
Brad Lassey b422a6eb89 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Michael Edwards e5ec457926 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 1731d361b6 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-06 16:25:34 +01:00
Ed Morley ef4646ad52 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-06 11:14:24 +01:00
Makoto Kato 254a28f59a 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 286baac8ed 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 48757313bc Bug 686691 - Plumbing to expose OS-level readhead. r=bsmedberg 2011-10-02 21:24:54 +02:00
Justin Lebar 6239d28a63 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 621da1dc10 Merge mozilla-central and mozilla-inbound 2011-10-08 09:41:37 +02:00
Ed Morley 9c4d1fca11 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-07 11:37:04 +01:00
Ehsan Akhgari d615e9d9fd Bug 692782 - Bug 690670 broke clang builds; r=cjones 2011-10-07 15:31:12 -04:00
Peter Van der Beken 069b9fcbf6 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 2dc8e47fb4 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 e10ed7637f 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 d241ea91fc 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 1a4f487f77 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 ac54b41b01 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 ca97ac6ac0 Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras 2011-09-28 16:14:45 -07:00
Aditya Bhatt ec36955a97 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 1212d0f8ff Bump XPCOM version to 10 on CLOSED TREE. 2011-09-27 13:15:52 -04:00
Matheus Kerschbaum 0e148d38e1 Bug 687766 part 2: Nuke binary xpidl. r=khuey 2011-09-27 10:10:06 +02:00
Daniel Holbert 5a079440c0 Bug 689195: Fix signed/unsigned comparison warning in nsLocalFileUnix.cpp. r=smichaud 2011-09-26 15:00:34 -07:00
Ehsan Akhgari 10fb1dbda5 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 9ab69c69d5 Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 83fd2541da Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 2bea3d72b4 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 5dcce822fa Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Mook b9d9d6acb4 Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-25 15:37:58 +01:00
Justin Lebar a41a460610 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 4c3311fc32 Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy b626e6f50a Bug 300692 - Win32 nsLocalFile::Create returns not found if no access. r=bsmedberg 2011-09-22 09:21:03 -04:00
Luke Wagner 96a3b33700 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 5b2e4e5df1 Bug 429484 - Win32 nsILocalFile.exists() returns false when files exist and inaccessible. r=bsmedberg 2011-09-21 09:14:22 -04:00
Justin Lebar 9d3a1beaf9 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 ee1b3205fd Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking 2011-09-20 21:04:35 +05:30
Justin Lebar 73f258f46e 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 238d8f98ce 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 468096ceaa 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 3897f2fd29 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 201d4e77a3 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Kyle Huey af85bd8b2c Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari cc60054a3e Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook f25a6bc977 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Justin Lebar 36b9b06c58 Bug 686720 - Expose PSS from smaps in about:memory. r=khuey 2011-09-15 10:53:04 -07:00
Justin Lebar 78d2df2259 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 8b0b32cf41 Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz 2011-09-15 22:16:14 -07:00
Neil Rashbrook 7c4b08f775 Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook a7c255d1c9 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Kyle Huey 18e2976d19 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Rafael Ávila de Espíndola 54a71d9fe5 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 98481b7efb Bug 685847 - Crash in [@ ILFindLastID ]. r=jimm 2011-09-12 07:25:41 -07:00
Kyle Huey 69617da4ba Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Justin Wood 13ec002a67 m-c -> m-i merge 2011-09-09 22:04:09 -04:00
Brian R. Bondy d67c674183 Bug 685847 - Crash in nsLocalFile::RevealUsingShell() on release builds. r=jimm 2011-09-09 15:01:38 -04:00
Rafael Ávila de Espíndola 5741ddc7ef Bug 684659 - Drop references to really old gcc versions. 2011-09-09 19:38:28 -04:00
Mike Hommey 65a8fbfd57 Bug 664090 - Store offset inside segment instead of pointer for nsStorageInputStream. r=bsmedberg 2011-09-08 09:12:42 +02:00
Kyle Huey 865ed7a4fe 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 3c5aedafa5 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matt Brubeck 52a3fe55a9 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Josh Matthews 88a6170298 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 259de29cc0 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 aefc38531c Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley 5165a14914 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 3e1e4bfe47 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Kyle Huey b77109105e Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-02 17:36:48 -04:00
Kyle Huey f571d643e5 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey 09f238645d Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey a733d4d347 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Kyle Huey 49a82b0553 Bug 682852: Remove ancient test gunk. r=me 2011-08-30 13:39:19 -04:00
Rafael Ávila de Espíndola b9eb0813f3 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 028480a8e8 Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin 2011-09-09 15:07:22 +02:00
Justin Lebar 4f10ce9047 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 b31cf2fea5 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 c0f1f12b3c 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 6f91da9199 Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Rafael Ávila de Espíndola cd90ca8cf4 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 5b93cf000b Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-03 09:53:48 -04:00
Matheus Kerschbaum af047ec136 Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Ehsan Akhgari bc86019c29 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari 2489ec0182 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 d0f135552e revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola 4f57dc0d17 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 5855ed7029 Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking 2011-07-21 11:13:06 -07:00
Ed Morley 650a8a75a6 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Atul Aggarwal 636d07708a Bug 581468 - Fix warning: signed and unsigned type in conditional expression in XPT_DoString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Atul Aggarwal 30c8ca42d7 Bug 581467 - Fix warning: comparison between signed and unsigned integer expressions in XPT_ParseVersionString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Justin Lebar 425bd4da96 Bug 685870 - Fix about:memory's smaps breakdown on Android. r=khuey 2011-09-10 11:20:48 -04:00
Andrew McCreight ffa4224a0c Bug 649532 - make cycle collector logging output complete CC graph. r=peterv 2011-06-22 10:41:17 -07:00
Kyle Huey 9c4473dff5 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Kyle Huey 2037168322 Bug 681714: Ensure that we've unrolled the entire typedef chain when building typelibs. r=ted 2011-08-28 05:56:24 -04:00
Matt Woodrow 19a7d127bb Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matheus Kerschbaum b4d5606c80 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum 8ec09d5162 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum 241edde30c Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Joshua Cranmer 33cd26d09b Bug 681740 - xpidl.py does not resolve references to consts in superinterfaces. r=bsmedberg
--HG--
extra : rebase_source : 8b860e76fa0634b408dc15c6e1a3c587ae080cd7
2011-08-25 10:24:58 -07:00
Marco Bonardo 9fd92ac97a Bug 681660 - [win] GetDiskSpaceAvailable doesn't work on files.
r=jimm
2011-08-26 13:29:45 +02:00
Randell Jesup f7b6f3b805 Bug 682031: Add another old nsIURI IID to the hack in nsBinaryStream to fix sessionrestore r=dholbert r=bz 2011-08-26 02:24:43 -04:00
Ted Mielczarek db59854203 bug 677671 - Add unit tests for xpidl.py. r=khuey 2011-08-17 13:26:26 -04:00
Kyle Huey b5de73cea5 Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Michael Wu 0ca92963ba Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg 2011-08-22 19:15:54 -07:00
Julian Reschke e28369b0b2 Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Geoff Brown 6b2be6e629 Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Ed Morley 972021b94e Bug 677787 - Remove unique_pointer from typelib code; r=khuey 2011-08-20 13:44:37 +02:00
Phil Ringnalda 27691042a4 Back out 902a7c3eb320 for failing to build on Windows, and 196df669baba for failing to build without it 2011-08-18 20:04:10 -07:00
Daniel Holbert 7311bb5ae8 Bug 679832 followup: add an #include <stdint.h> to fix bustage on Linux Opt QT build. 2011-08-18 16:32:19 -07:00
Daniel Holbert 77e64b11b1 Bug 679832: Explicitly cast to a pointer-sized integer, when converting between 32-bit ints and void* pointers in nsCheapSets.h. r=bsmedberg 2011-08-18 16:11:55 -07:00
Matheus Kerschbaum b3f3c5d3a9 Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Marco Bonardo a07c3bd21d Merge mozilla-central and mozilla-inbound 2011-08-18 10:38:39 +02:00
Makoto Kato 71770f63c5 Bug 679473 - TestNativeXMLHttpRequest.exe : fatal error LNK1120: 6 unresolved externals. r=khuey 2011-08-18 09:33:58 +09:00
Ehsan Akhgari 057449a115 Bump the XPCOM version from 8 to 9
--HG--
extra : transplant_source : %DB%9E%D5%03%8D%D2%11%DDu%15%CF%A3%8A%BC%FFZ%D5%E6%26p
2011-08-16 14:18:30 -04:00
Landry Breuil c31b507412 Bug 650749: Fix xptcall for OpenBSD on ppc. r=bsmedberg 2011-08-16 07:27:16 -04:00
Kyle Huey 7a02c761b5 Bug 679191: Improve XPT arena allocation behavior when handling allocations larger than the block size. r=njn 2011-08-16 07:25:58 -04:00
Daniel Holbert 7ef139c508 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink aaf68cf744 Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Matheus Kerschbaum a509443427 Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger 2011-08-14 19:12:35 +02:00
Ms2ger 28ed8c9ea8 Bug 677529 - Check return values in pyidl's Method::needsJSTypes; f=Matheus r=khuey 2011-08-14 19:12:21 +02:00
Joshua Cranmer 5e2737b1a7 Bug 676857 - Make it an error if interfaces have too many methods.
The error is made at compile-time, and also causes an error if trying to make a
stub like this. Finally, it also refuses to load such an interface.

These restrictions only apply to script-implementable interfaces.
2011-08-05 11:34:13 -07:00
Ms2ger a13fbb2eed Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Kyle Huey d2f386b50d Merge b-s to m-c. 2011-08-13 08:27:55 -04:00
Phil Ringnalda d0e381e5a6 Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Kyle Huey 2473c43cb5 Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted 2011-08-12 12:07:09 -04:00
Kyle Huey d893538cb7 Bug 678479: Add a --regen argument to header.py and typelib.py to regenerate the IDL parser. r=ted 2011-08-12 12:06:46 -04:00
Makoto Kato 61d973ea40 Bug 678438 - DLL bloclk list for Win64 is turned off by bug 552864. r=glandium 2011-08-12 15:07:36 +09:00
Mounir Lamouri 166de5a0cf Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Kyle Huey 3a900a90c9 Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Kyle Huey d603839558 Bug 458936: Work around some bizarre pymake bug. 2011-08-10 08:02:40 -04:00
Kyle Huey a1a6739d2e Finish yet another half done rename. 2011-08-10 08:02:01 -04:00
Kyle Huey 3029b65a5a And fix a typo. 2011-08-10 06:19:47 -04:00
Kyle Huey 7e755d8702 Bug 458936: Followup to complete renaming. 2011-08-10 06:09:06 -04:00
Kyle Huey 0548622b86 Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Jeff Muizelaar 0b15a611b5 Revert 17fa5a741f84.
The asserts were catching bug 673226 harder than we'd like.
2011-08-10 22:30:10 -04:00
Jeff Muizelaar 3e6907ff1f Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones
--HG--
extra : rebase_source : 108c53d18227ee0932751c61c8024faf23183b82
2011-08-10 19:32:35 -04:00
Brad Lassey d618965c5c backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
David Zbarsky ca48fedacc Bug 567013 - remove unused nsIBaseStream interface r=khuey 2011-08-09 12:28:00 -04:00
Geoff Brown 9b0eaba0a0 Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Philipp Kewisch 190f16a050 Fix bug 672662 - Provide a chrome registration flag for the platform version. r=Mossop
--HG--
extra : rebase_source : d776a714c8f356a991286953b6bf15b5726ae5d5
2011-08-10 22:24:57 +02:00
Luke Wagner 8e906c4cea Bug 674597 - abort if attempting to create an xpcom proxy for wrapped JS (r=bsmedberg) 2011-07-28 13:41:24 -07:00
Steve Fink 77c195627f Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Luke Wagner e7d148fbfa Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
William Lachance 431e2a2a46 Bug 676412 - Skip process stress test on windows, to make test faster. r=bsmedberg, a=testonly 2011-08-15 13:35:41 -07:00
Ehsan Akhgari ac11351177 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
Daniel Holbert c4fb3410fd Bug 549143 followup: fix C++-style comment in xpidl_header.c. rs=bsmedberg 2011-08-09 12:24:55 -07:00
Mike Hommey 925cf66ada Bug 675618 - Compile pldhash as C++. r=bsmedberg
--HG--
rename : xpcom/glue/pldhash.c => xpcom/glue/pldhash.cpp
2011-08-09 09:06:37 +02:00
Rafael Ávila de Espíndola 4fd4522439 Bug 674446 - Add a bit of logging to nsGlueLinkingOSX.cpp; r=glandium 2011-08-08 23:16:23 -04:00
Michael Wu c0f3877f71 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Justin Lebar 0b2f9c3c90 Bug 675216 - Update about:memory's description of heap-committed. rs=njn 2011-08-06 11:01:36 -04:00
Matheus Kerschbaum a296f262ae Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Dão Gottwald 756ffd4d68 Backed out changeset 5561bb7124db 2011-08-06 17:16:59 +02:00
Justin Lebar 63caa5f82f Bug 675216 - Update about:memory's description of heap-committed. rs=njn
--HG--
extra : rebase_source : 0193aec86119abd400ac6e9ef58bf6ba2a218a6b
2011-08-06 11:01:36 -04:00
Luke Wagner 402b0adf3f Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
--HG--
extra : rebase_source : 9c96a4ac164ef8929591ef3d83ad6c974642557a
2011-08-15 17:21:23 -07:00
Kyle Huey b1bbec255e Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Marco Bonardo 7952ba3678 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Kyle Huey 27acd8e6c1 Bug 674284: Add nsTArray::SizeOf. r=bsmedberg 2011-08-01 14:37:00 -04:00
Kyle Huey be0dc81de8 Bug 675627: Fix unrecognized directive error in nsIURIRefObject.idl and make this error fatal in the future. r=bsmedberg 2011-08-01 14:26:13 -04:00
Marco Bonardo 529d33b08c Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-01 16:04:07 +02:00
Kyle Huey 3ee90a0106 Backed out changeset 030c419226ed 2011-08-01 08:26:15 -04:00
Kyle Huey e1c1da94ab Bug 674284: Add nsTArray::SizeOf. r=bsmedberg 2011-08-01 08:11:26 -04:00
Kyle Huey e49af2996f Merge m-c to b-s. 2011-08-01 08:06:23 -04:00
Hernan Rodriguez Colmeiro 75db19c5a6 Bug 564667: Allow bootstrapped add-ons to have chrome URLs. r=dtownsend, sr=bsmedberg 2011-07-29 11:20:47 +02:00
Kyle Huey 869bac3ca9 Merge m-c to b-s. 2011-07-25 11:35:30 -07:00
Justin Lebar 9b11ad7a87 Bug 672731 - Add UNITS_COUNT_CUMULATIVE to nsIMemoryReporter. r=njn 2011-07-24 23:56:50 -04:00
Adam Rosenfield f5b34029e0 Bug 646748 - Use Launch Services to check if a file is executable on Mac OS X before checking file permissions; r=smichaud 2011-07-24 01:36:58 +02:00
Robert Longson 7327016951 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Ehsan Akhgari f4308c22de Backout changeset ed32cfcfd3f0 (bug 564667) because it breaks the build 2011-07-22 19:02:47 -04:00
Hernan Rodriguez Colmeiro 6478f50276 Bug 564667: Allow bootstrapped add-ons to have chrome URLs. r=dtownsend, sr=bsmedberg 2011-07-22 15:15:12 -07:00
Kyle Huey 1736ec538b Sync in-tree and user-repo versions of xpt.py 2011-07-22 11:38:57 -07:00
Kyle Huey bf89a6afc5 Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Kyle Huey a105017bdd Bug 578478: Switch to pyxpidl for header generation. Parts by bsmedberg, with r=jorendorff,khuey, and parts by me, with r=bsmedberg 2011-07-19 14:46:25 -07:00
Nicholas Nethercote 148dca410d Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
Landry Breuil 2adc51c433 Bug 674324. Remove leftover references to HAVE_CPP_MEMBER_TEMPLATES/HAVE_CPP_NUMERIC_LIMITS
Those should have been removed in rev e5f0916b32d3 (bug 499262)
2011-07-29 15:40:37 -04:00
Ed Morley 236540a1b6 Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt 2011-08-01 13:43:23 -04:00
Jason Duell bf52ae9069 Bug 670911: Skip reset of NTFS ACLs when renaming file w/o changing directory. r=bsmedberg, sr=neil 2011-07-28 04:13:06 -07:00
Ginn Chen 3071a4aa31 Bug 674469 - Add -xarch=sse2 flag for *SSE2.cpp with Solaris Studio compiler. r=khuey. 2011-07-28 11:40:39 +08:00
Marco Bonardo 3430d79c86 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-27 12:12:25 +02:00
Daniel Holbert 7bb91a9409 Bug 670542 patch 3: Workaround to make session restore work with principals that were serialized before this bug's IID rev. r=jst 2011-07-26 22:14:08 -07:00
Chris Pearce 1290ea8361 Bug 664341 - Provide API to specify thread stack size. r=bsmedberg 2011-07-27 15:26:47 +12:00
Ed Morley 958383934b Bug 665541 - Remove unused instances of variable iface_info from xptcstubs_*.cpp; r=bsmedberg 2011-07-26 10:04:18 -04:00
Andrew McCreight 526b8db396 Bug 665995 - Memory reporter for cycle collector. r=bent 2011-07-08 15:49:31 -07:00
Matheus Kerschbaum 7b050d7473 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Justin Lebar 53c0591c45 Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn 2011-07-07 09:14:53 -04:00
Ms2ger ddde247e90 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Timothy B. Terriberry 0aab697bd6 Bug 668672 - Respect HAVE_ARM_NEON in MSVC NEON detection, r=jmuizelaar 2011-06-30 16:26:30 -07:00
Justin Lebar e5c794686e Bug 672731 - Followup to fix botched merge. Update the comment for UNITS_COUNT in nsIMemoryReporter. r=njn 2011-07-26 09:19:55 -04:00
Andrew McCreight c30e6d4258 Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv 2011-06-17 16:19:41 -07:00
Justin Lebar d5040f49de Bug 657917 - Update nsIClassInfoImpl docs. r=peterv
--HG--
extra : rebase_source : 1815579133e03e9f1579ea5f1d3deb784be45e11
2011-05-20 12:37:32 -04:00
Mike Hommey 6406a44f1d Bug 671570 - Cleanup temporary files from test_iniProcessor.js. r=bsmedberg 2011-07-21 09:57:07 +02:00
Mike Hommey f557c21899 Bug 671564 - Initialize NS_XPCOM_LIBRARY_FILE from NS_GRE_DIR. r=bsmedberg 2011-07-21 09:57:07 +02:00
Mike Hommey f77094d4bb Bug 670788 - When looking for the executable path on Unix, only use realpath() when we got a file path in the first place. r=bsmedberg 2011-07-21 09:55:51 +02:00
Nicholas Nethercote 734e1dbd18 Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar. 2011-07-20 21:08:24 -07:00
Jeff Muizelaar d3de8480ab Bug 539093. TimeStamp implementation for OS X using mach_absolute_time. r=cjones
--HG--
extra : rebase_source : 66c407448f94ae1b9efa8c7d0d7291e22b5e6191
2011-07-20 14:27:10 -04:00
Jeff Muizelaar 4ef77f8be6 Bug 672207. Add toMicroseconds() for more precision. r=cjones
--HG--
extra : rebase_source : a363b3c67c0cebf72777347e741e2499067c1fa3
2011-07-20 13:38:34 -04:00
Yu-Hsun Lin 1692d6ba9c Bug 486081. Remove nsTime. r=roc
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Justin Lebar b8fa6f6a6a Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Ehsan Akhgari 82a2088e2e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Brad Lassey 14d1a8f829 bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Brian R. Bondy 4144cbb41b Bug 670068 - Open Containing Folder spawns multiple instances of explorer.exe. r=jimm 2011-09-08 11:37:43 -04:00
Felix Fung 15053fd69e Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Rafael Ávila de Espíndola 67d3eeb9e0 Revert e4c69005dea6 to see if OS X Bm goes green.
--HG--
extra : rebase_source : 7a98d5a9472af1c9085c1fbb9ab210649799a9b9
2011-09-07 18:20:55 -04:00
Rafael Ávila de Espíndola 86b7977b90 Bug 684659 - Fix inline asm so that we can drop a use of -fno-omit-frame-pointer. 2011-09-07 15:33:48 -04:00
Andrew McCreight 57060db146 Bug 679779 - Add a #define to always log CC graph. r=bent 2011-08-17 10:35:40 -07:00
Justin Lebar 45a25506b3 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
--HG--
extra : rebase_source : 3bbe2f926ba3b0c46a122d51b027a5a6283ae2b0
2011-08-05 18:22:11 -04:00
Jeff Muizelaar 5ae5433e8c Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones 2011-08-10 19:32:35 -04:00
Jeff Muizelaar 6d2e61360d Bug 592009. Fix AppendPrintf to support more than 31 characters. r=bsmedberg
We can use vsmprintf to have the formatting code do the allocation for us.
2011-08-25 10:43:49 -04:00
Oleg Romashin 4b99abd4e7 Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg 2011-08-31 13:16:13 +01:00
Ms2ger 182639b934 Bug 676649 - Include jspubtd.h automagically when necessary in IDL files; r=khuey 2011-08-08 17:14:34 +02:00
Bobby Holley 40d46c8588 Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Bobby Holley e24474f21c Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Bobby Holley 19881e9350 Bug 691781 - Make sure the lexer gets generated with regen, too. r=khuey 2011-11-06 13:32:25 +01:00
Bobby Holley 6edcdaa807 Bug 691781 - Add a check to avoid unpacking an empty array. r=khuey 2011-11-06 13:32:25 +01:00
Marco Bonardo 2130b134b4 Bug 619623 - Try to fix some intermittent failures in test_IHistory.cpp.
r=dietrich
2011-11-05 01:01:38 +01:00
Matt Brubeck e48a72361a Back out bug 429592 because of Linux opt jsreftest failure 2011-11-04 15:18:58 -07:00
Benjamin Smedberg 316807025e Add MOZ_CRASHREPORTER ifdefs to the patch for bug 429592. r=captain bustage 2011-11-04 15:13:58 -04:00
Benjamin Smedberg 6b607d4b1d Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent 2011-10-12 13:52:26 -04:00
Ginn Chen bb0053b943 Bug 693240 Use *((PRUint32*)ap) instead of *((bool*)ap) for big endian machines r=glandium 2011-11-04 16:55:21 +08:00
Nicholas Nethercote d66d301c79 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
Neil Deakin 16336f7b86 Bug 94199, part 3, add GetValue method to nsISupportsKey, r=bsmedberg 2011-11-03 16:39:08 -04:00
Mounir Lamouri f463120ee3 Bug 678694 - (5/7) Add a non-XPCOM observer system. sr=cjones
This adding an Observer<T> class and an ObserverList<T> class. The former can
get notifications. The later have an array if Observer<T>s and can Broadcast
notifications to them.
2011-11-02 14:47:32 +01:00
Michael Kraft ddbaf93db5 Bug 325418. When a repeating timer at interval X is reinitialized for interval Y, the next firing after that is incorrectly after time X+Y. r=bzbarsky 2011-11-02 23:46:08 -04:00
Jiten Thakkar eec8cd8b1b Bug 683517 - Make nsExpirationTracker expire all tracked objects when memory-pressure notification is observed. r=roc 2011-10-28 18:36:00 -04:00
Kyle Huey 24f59fb48a Merge m-i to m-c. 2011-11-01 10:31:53 -04:00
Neil Rashbrook 4ea5f27f5d Bug 638031 Allow string streams to share their string buffer r=bsmedberg f=bz 2011-11-01 08:28:31 +00:00
Alon Zakai 1966442290 Bug 692305 - Make cycle collector dumps multiprocess-friendly. r=dougt 2011-10-06 13:22:43 -07:00
Jonathan Kew 27ff2a7ca2 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Matt Brubeck b270d2d2a1 Merge mozilla-central to mozilla-inbound 2011-10-06 10:23:02 -07:00
Jonathan Kew a87f52ab27 backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak. 2011-10-06 17:29:39 +01:00
Nathan Froyd 88021a37dc Bug 684038 - Report cpuid in telemetry. r=dougt
--HG--
extra : rebase_source : 5cff4221baddabb01a31cdb847d1371d0574e48f
2011-10-06 11:35:46 -04:00
Jeff Muizelaar 80351ef9ae Bug 564613. Add documentation to TimeStamp comparing it to C++11's time_point. r=cjones
--HG--
extra : rebase_source : dc9f17795565031874f11956cea168bbcee1b616
2011-10-06 11:08:59 -04:00
Jonathan Kew 98fbe859d5 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Ted Mielczarek a5d5a1c7e9 bug 681716 - use dlopen linking glue on iOS. r=bsmedberg 2010-11-05 09:11:57 -04:00
Ted Mielczarek 77c439eaa4 bug 682319 - use C99 isfinite on OS X, since finite is deprecated (and not present on iOS). r=bz 2011-08-29 11:14:27 -04:00
Mike Hommey 2bec72c265 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Jeff Muizelaar 78bf7a2c9e Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Doug Turner d436875984 Bug 669105 - Leak-until-shutdown with deviceorientation and unload listeners. r=smaug 2011-07-06 22:56:32 -07:00
Marco Bonardo f3c1fffe53 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote cb94321141 Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Bill McCloskey fecee91e9a Bug 662646 - Tests for new crash report API (r=ted) 2011-07-07 17:31:11 -07:00
Nicholas Nethercote ea3b3b9887 Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar. 2011-07-07 16:37:26 +10:00
Nicholas Nethercote 886c1b3f2b Bug 660731 - Add GetExplicit and GetResident methods to NSIMemoryReporterManager, attempt 3. r=khuey, sr=bz. 2011-07-07 15:54:34 +10:00
Boris Zbarsky 465596fab8 Bump the XPCOM module version number as well. 2011-07-05 16:10:52 -04:00
Justin Lebar bd94bb51e7 Bug 668137 - Followup. Actually display vsize on Windows. r=khuey 2011-07-05 09:38:45 -04:00
Andrew McCreight 6c8448fc29 Bug 663920 - add telemetry for num of RCed and GCed nodes, and num collected. r=bent 2011-06-10 13:33:06 -07:00
Mike Hommey 7597c50643 Bug 643779 - Allow to build nsDebugImpl.cpp on ARMv4T. r=dougt 2011-07-01 10:42:47 +02:00
Justin Lebar 5614ef7072 Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn
--HG--
extra : rebase_source : c6609fbf0b470d1aa23937eea168f3780a2bc575
2011-06-30 19:54:42 -04:00
Justin Lebar 7e4a585f1d Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 10:46:30 -04:00
Ehsan Akhgari 81c1809f15 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Mats Palmgren ec10c98c89 Bustage fix for bug 606085. r=bustage 2011-06-30 10:41:54 +02:00
Phil Ringnalda df5bb8409a Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X 2011-06-29 21:48:57 -07:00
Justin Lebar 89f6accb90 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 00:10:50 -04:00
Trevor Saunders 4a8e264274 bug 606085 - add accessibility service to service list in xpcom/build/ServiceList.h r=bsmedberg 2011-06-28 16:26:57 -07:00
Benjamin Smedberg 7c6efe2306 Bug 666938 - Add a console message when a binary component doesn't load because of a kVersion mismatch, r=Mossop
--HG--
extra : rebase_source : 7a950be04051e13c169af5d9852cef0e123d31a7
2011-06-24 14:08:13 -04:00
Justin Lebar 23ca7dc3e9 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E) 415824bc6f Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.

The changeset does not enable jemalloc, to allow for easy disabling if there's
a problem. It will be enabled in the next changeset.

This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Steven Michaud 53e35e6fe8 Bug 668639 - Work around Apple's latest Java update for OS X 10.5 breaking Java in FF 4 and up. r=bgirard 2011-07-07 14:24:28 -05:00
Nicholas Nethercote bacd97e0a6 Bug 666075 - Add memory multi-reporters. r=khuey, sr=bz. 2011-06-30 09:39:32 +10:00
Andrew McCreight 426a1483b8 Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent 2011-06-21 15:06:42 -07:00
Peter Van der Beken 75471edf65 Fix for bug 664388 (NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS uses wrong pointer). r=bent.
--HG--
extra : rebase_source : b98acfb314f8b3e59b31d10e6ac7bc7d965287a1
2011-06-21 15:23:35 +02:00
Matt Brubeck a451a3a928 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Kyle Huey eebd6b1515 Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Ben Turner edebb85cce Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg 2011-06-24 14:12:54 -07:00
Kyle Huey 599f0f670f Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Kyle Huey 67f4a55019 Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo db9cf9f1d1 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey 46a71c093c Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Kyle Huey 785fe4b5c1 Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo 37e29c9063 Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Boris Zbarsky 8b69ec36c6 Back out bug 665564 (rev 9de9b3a9458c) and bug 666790 (rev 7d3d5b9710ea) due to Mac test orange. 2011-06-24 00:42:23 -04:00
Randell Jesup 1041f9cb42 Bug 666501: fix jprof to work in builds without run-mozilla.sh r=glandium 2011-06-24 00:01:49 -04:00
Jonas Sicking 60339b91a6 Bug 661984: Add [nostdcall] as an extended idl attribute. r=bsmedberg 2011-06-23 19:17:58 -07:00
Andrew McCreight e0c0345249 Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Jonas Sicking 64221c913d Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Cameron Kaiser ffe0de8428 Bug 663899 - mark certain file extensions always executable; r=smichaud 2011-06-22 20:07:24 -07:00
Mike Hommey 6ab0e63563 Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Makoto Kato de77a3636f Bug 665816 - nsGlueLinkingDlopen.cpp:161: error: expected unqualified-id before numeric constant with NDKr5 after landing bug 632404. r=glandium 2011-06-21 16:52:18 +09:00
Ehsan Akhgari 0aa045dc7a Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
continuation@gmail.com 19d3a1db20 Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent
--HG--
extra : rebase_source : d588e910abe9404253c222c81abb25e0bae8fe7a
2011-06-15 15:53:00 -07:00
Doug Turner 7bf710d4a2 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mike Hommey 2cce700272 Bug 662224 - Define NS_ATTR_MALLOC and NS_WARN_UNUSED_RESULT in xpcom-config.h, and include it from mozalloc.h. r=bsmedberg 2011-06-07 03:09:46 +02:00
Taras Glek 8277724239 bug 661574: Implement telemetry directory r=Mossop+glandium+mwu 2011-06-20 14:47:58 -07:00
Taras Glek eb59b7ab04 bug 661574: Move nsITelemetry into toolkit r=Mossop
--HG--
rename : xpcom/base/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : xpcom/base/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : xpcom/tests/unit/test_nsITelemetry.js => toolkit/components/telemetry/tests/unit/test_nsITelemetry.js
2011-06-20 14:47:55 -07:00
Mounir Lamouri 61205d3b00 Merging mozilla-inbound with mozilla-central. 2011-06-18 18:29:10 +02:00
Kyle Huey b5796c2ec8 Bug 664913: Add about:memory reporter for xptiWorkingSet. r=njn 2011-06-17 09:22:15 -07:00
Michael Wu 9740ca25a1 Bug 654489 - Remove fastload, r=bsmedberg 2011-06-17 15:53:52 -07:00
Mike Hommey 5f5698235d Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey 0e59c23131 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey d6995ddba7 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey 4d9953b45a Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Matt Brubeck ec1f439c09 Merge backouts from m-i to m-c to fix regressions on a CLOSED TREE 2011-06-15 09:46:11 -07:00
Matt Brubeck b83f7b8f33 Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck 215411d603 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Matt Brubeck 4eba5743ea Merge last green mozilla-inbound changeset to mozilla-central 2011-06-15 08:25:48 -07:00
Andrew McCreight 5ffb98df92 Bug 663532 - Run GC from cycle collector in main thread, not CC thread. r=bent 2011-06-13 13:24:23 -07:00
Mike Hommey 3be46520ba Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted 2011-05-24 12:56:04 +02:00
Mike Hommey b038dbc7c7 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey 0f2ceea5a7 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey ee635fc2e8 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey df9e9e7529 Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Ted Mielczarek 0e96cd6602 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Makoto Kato 2772775d02 Bug 662765 - Respect _M_IX86_FP. r=jlebar 2011-06-13 17:12:33 +09:00
Ed Morley 13cfc322c6 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Andrew McCreight 9e07c07b80 Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv
--HG--
extra : rebase_source : 34b01a7e2a05a7ea35da408a20b5e97f21681af3
2011-06-09 14:55:29 -07:00
Andrew McCreight 61711c72fc Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv
--HG--
extra : rebase_source : d4b6b71ae273b4b570591d6548cfaed559598d49
2011-06-09 14:55:04 -07:00
Ehsan Akhgari 52ceee53ae Merge mozilla-central into mozilla-inbound 2011-06-09 18:29:16 -04:00
Daniel Holbert e3bd104a60 Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz 2011-06-09 12:10:42 -07:00
Joe Drew 0ae2cc147d Merge mozilla-central into mozilla-incoming 2011-06-09 00:27:00 -04:00
Ehsan Akhgari 31bb7595e8 Bug 656607 - Let the compiler do the pointer arithmetic, instead of manually performing it; r=sicking 2011-06-08 22:02:49 -04:00
Ehsan Akhgari 7d70a794d9 Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey 1590d525a6 Bustage fix for *nix platforms. 2011-06-08 12:52:42 -07:00
Justin Lebar 2e74a2965d Bug 660335 - Backing out e0cf03a641cf and a968740930d3 due to red. 2011-06-08 15:51:41 -04:00
Kyle Huey b289ffab35 Bustage fix for *nix platforms. 2011-06-08 12:50:14 -07:00
Justin Lebar 576b712497 Bug 660335 - Followup to fix red. 2011-06-08 15:06:01 -04:00
Kyle Huey 47aed90c53 Bug 661529: Add an API in xpcom/ for encoding input streams to base64. r=bsmedberg sr=bz
--HG--
extra : rebase_source : 673ed4d1a0ab6dd62a4cf0fb2b25b190ecc0b012
2011-06-08 11:08:31 -07:00
Daniel Veditz ac31212df2 bug 662309 speedbumps for archive formats, r=bsmedberg 2011-06-07 10:12:02 -07:00
Jesse Ruderman 1ea55d97f5 Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg 2011-06-08 09:34:02 +02:00
Justin Lebar 8b130cbdea Bug 660335 - Force nsID to align to 64-bit boundary. r=bsmedberg 2011-05-27 16:50:37 -04:00
Chris Leary fbc445ff09 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Nicholas Nethercote 5345c2ac84 Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Bill McCloskey 536e778f9b Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Dominic Fandrey 5c71575e07 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ehsan Akhgari 0850e394e9 Bug 659546 - Silence clang warnings about alignment requirement increase in nsID::Equals after bug 164580; r=bsmedberg 2011-05-30 11:39:12 -04:00
Hernán Rodriguez Colmeiro ext:(%2C%20Mehdi%20Mulani%20%3Cmars.martian%2Bbugmail%40gmail.com%3E) 741d184cf1 Bug 406026: Point users to a specific page for each blocklisted item. r=dtownsend 2011-05-25 14:31:56 -07:00
Shawn Gong 0ada06fb26 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Benjamin Smedberg 79147a83f6 Bump mozilla-central version numbers for the next release on a CLOSED TREE. 2011-05-24 13:51:50 -04:00
Kyle Huey 26689fe75f Backed out changeset 0bf1fe7f9be1 2011-05-24 08:58:55 -07:00
Mike Hommey 32c9507c4f Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted,a=sheriff 2011-05-24 12:56:04 +02:00
Daniel Holbert a555712e02 Bug 659187: Make member vars in nsMemoryReporterManager.h match ordering in constructor init list, to fix build warning. r=njn 2011-05-24 03:35:10 -07:00
Jason Duell 903619ebec Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue 2011-05-24 02:32:26 -07:00
Jonas Sicking 58b29ec9c0 back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong 1de8b83d92 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
Matheus Kerschbaum 679e31e4ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
wfernandom2004@gmail.com 4ea488087e Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Nicholas Nethercote 5c2f5ea43b Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Mike Hommey 3cfa97b04f Add missing file after backout aa83abd4fd01 2011-05-22 18:09:55 +02:00
Mike Hommey a47726df7f Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage 2011-05-22 17:52:16 +02:00
Mike Hommey 1f437c8649 Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey e1d6c3afa4 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey 8d8360b1c5 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey eb6869881b Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey 43ad97fa1f Bug 658273 - Move sqlite before nss in dependentlibs.list. r=bsmedberg 2011-05-22 08:22:27 +02:00
Joel Maher 7aa6e96e23 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Taras Glek 22536013ef Bug 657709: Cleanup histogram API r=mrbkap
--HG--
rename : xpcom/base/nsTelemetry.cpp => xpcom/base/Telemetry.cpp
2011-05-19 19:33:05 -07:00
Mounir Lamouri f638f0e2ab Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley a618c989ae Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ted Mielczarek 056de14098 bug 654448 - don't call Typelib._sanitycheck after every merge in xpt_link. r=glandium 2011-05-16 08:04:47 -04:00
Mike Hommey dc8c9f3c30 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Ginn Chen 2cd9808d15 Bug 654655 ieeefp.h is required for finite() on Solaris r=bz 2011-05-18 09:47:37 +08:00
Justin Lebar 0fca6f3d3d Bug 164580 - Use 64-bit words in nsID::Equals. r=bsmedberg
--HG--
extra : rebase_source : cc6b5ebc3f523ce887ceab275f721f5310c8695d
2011-05-17 16:24:04 -04:00
Chris Coulson 640ca82a02 b=611953 Add nsIGSettingsService to support GSettings r=karlt
--HG--
extra : rebase_source : 01cee722e375c8acc82cb6169a096d73026030aa
2011-05-12 20:14:55 +12:00
Taras Glek 084b46b0d0 bug 585196: Cycle-collector telemetry probe r=bent 2011-05-12 11:22:25 -07:00
Alex Vincent dd441db451 Test for bug 656331 - make sure we don't load version-incompatible components.
--HG--
extra : rebase_source : b97dbd772c903e0f567d2c811ad2d2440a536646
2011-05-12 10:54:08 -04:00
Mike Hommey 5b91815474 Backed out changeset 2a0fbd6eedbd because of pyxpt unit test failure 2011-05-12 09:05:05 +02:00
Mike Hommey 8bcdba1bec Bug 654448 - Remove sanity check after each merge in pyxpt, it's already done when writing output. r=ted 2011-05-12 08:17:49 +02:00
Nicholas Nethercote d55e0a6286 Bug 653630 - Allow non-leaf reporters in about:memory. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Benjamin Smedberg 7aa2bb2923 Bug 656331 - XPCOM binary component loading never checks mVersion, r=bz 2011-05-11 13:03:38 -04:00
Mats Palmgren 56a4d10086 Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Michael Wu 0326e57b8f Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu ede6efdcce Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Chris Leary 7c067f10a4 Merge mozilla-central and tracemonkey. (CLOSED TREE) 2011-05-10 14:55:52 -07:00
Ed Morley 6d14b87d8e Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Chris Leary d4c9c832c9 Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Andrew McCreight 2778eb4839 Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Ed Morley 27e86608e7 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Alon Zakai 48ab56a356 Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey 2011-04-29 16:49:20 -07:00
Chris Jones d4f53c1da4 Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz 2011-04-29 14:21:57 -05:00
Chris Jones 6a87d2af28 Bug 556214, part 2: Create non-reentrant Monitor. r=roc sr=brendan 2011-04-29 14:21:57 -05:00
Chris Jones fbd51041fd Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Benjamin Smedberg bd627b3895 Revise the XPCOM version number for Firefox/Mozilla 6. I'm going to just use the same version number as the platform to keep things sane. 2011-04-29 10:53:33 -04:00
Boris Zbarsky f04def28fa Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
This implements proposal 3 from bug 650379 comment 13.  The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing.  A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout.  While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time.  That seems
undesirable.

An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Taras Glek 081e7bdbf4 bug 649502: Expose histograms to JS r=mrbkap 2011-04-27 11:07:02 -07:00
Justin Lebar bf492ec95a Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Jacek Caban 91e1a4f16a Bug 651874 - Wrong library prefixed in dependentlibs.list in mingw
compilation r=khuey

--HG--
extra : rebase_source : 7329c384e29a495352ada8082f7698757915f3e3
2011-04-26 11:45:15 +00:00
Tyler Downer 0903829fc0 Bug 471588 - Remove String docs. r=dbaron DONTBUILD 2011-05-06 12:43:35 -07:00
Mark Finkle 6d649d8bcf Bug 650390 - osversion in chrome.manifest files should query android os version [r=dtownsend] 2011-05-05 16:50:19 -04:00
Justin Lebar 7021fa6c38 Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. 2011-04-28 15:49:16 +02:00
Daniel Holbert f27145f6d7 Back out cset bc80c46f185d (Bug 590181 part 2) on suspicion of causing linux reftest permaorange (bug 654858) when PGO is disabled. rs=glandium CLOSED TREE 2011-05-04 16:39:15 -07:00
Nicholas Nethercote 8e0d4202dc Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Mike Hommey 03764e0fae Bug 651975 - Replace mmap with file reading in pyxpt. r=ted 2011-05-03 10:30:22 +02:00
L. David Baron e76ce4bd6d Make XPCOM_CC_DRAW_GRAPHS work at shutdown (in addition to working for non-shutdown collections). (Bug 652056, patch 3) r=peterv 2011-05-02 18:43:45 -07:00
Mike Hommey f3a79067ff Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
ISHIKAWA Chiaki d976f9c5cc Bug 697102 - Correct the comment for unregisterErrorStringBundle(); r=bsmedberg DONTBUILD 2011-10-31 18:03:29 +00:00
Zack Weinberg 9cc15726c9 Bug 660687: Add configure switches that can override confvars.sh's choice of an app basename and disable all system extension directories. r=ted 2010-07-23 11:00:16 -07:00
Ted Mielczarek 4b675f0da5 bug 676589 - configure and xpcom changes for targeting iOS. r=khuey 2010-04-27 08:57:34 -04:00
Ed Morley 755df8b9a0 Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Peter Van der Beken 4b51bc7018 Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
L. David Baron d4b4c59a39 Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
Dave Townsend 85e257137c Bug 566787: Use the windows API to get the home directory when possible. r=jimm, sr=bsmedberg 2011-04-21 09:36:44 -07:00
Gavin Sharp 7a5dcaa35b Fix comment typo per bug 550611 comment 34 2011-03-30 15:55:00 -04:00
L. David Baron ffabdfa6f0 Move AddRef to before the unlock. (Bug 650674, patch 2) r=bsmedberg 2011-04-20 14:29:45 -07:00
L. David Baron 1bd9b7cd24 Don't hold nsProxyObjectManager's lock while calling delete on an nsProxyEventObject. (Bug 650674) r=bsmedberg 2011-04-19 21:22:39 -07:00
L. David Baron ext:(%2C%20Ehsan%20Akhgari%20%3Cehsan%40mozilla.com%3E) c1d9b76828 Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480); r=dbaron,bsmedberg 2011-04-10 17:12:52 -04:00
Mitchell Field 3aea0de87a Merge mozilla-central to build-system. 2011-04-19 13:22:32 +10:00
Mitchell Field 030fceb457 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mike Hommey 047ca44d4d Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Timothy B. Terriberry 4f66611303 Bug 650162 - #ifdef out unused functions; r=dholbert 2011-04-14 18:14:19 -07:00
Phil Ringnalda 469b2190fe Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg 2011-04-10 13:23:45 -07:00
Ehsan Akhgari 584df6913f Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg 2011-04-14 10:19:14 -04:00
Ehsan Akhgari e425258948 Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg 2011-04-14 10:18:02 -04:00
Serge Gautherie fee19b66c5 Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
r=benjamin.
2011-04-14 12:47:41 +02:00
Mike Hommey abf552e876 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Mike Hommey f3c5dac8f1 Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Kyle Huey 00ad404a32 Backed out changeset aa200a803e07 2011-04-13 23:17:02 -07:00
Kyle Huey b7ec2e754a Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg 2011-04-13 19:41:34 -07:00
Ehsan Akhgari b47034f361 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Chris Coulson 550d27863e Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00
Ehsan Akhgari 1da2114f08 Back out changeset c509d8f8f423 (bug 627985, bug 614480) because of reftest suite shutdown timeout on Linux64 opt builds 2011-04-11 02:07:25 -04:00
L. David Baron c559b6494a Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480) 2011-04-10 17:12:52 -04:00
Benjamin Smedberg 425125d3a3 Bug 642795 - Remove support for registering and finding "system XULRunner" via config files or the registry. r=glandium
--HG--
extra : rebase_source : d42aa76683b6bb7de5df1b49b47f422a469201f4
2011-04-01 13:28:33 -04:00
Chris Leary 14a287e59a Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Luke Wagner 971cca816f Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv) 2011-04-07 16:53:33 -07:00
Ehsan Akhgari a840ac73bd Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar 28a9e6cd90 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar a0ce7a3438 Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari e88f3df029 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari 95ce6d2a20 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 694a16f241 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 9c1402e650 Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones 8a19459222 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) c744ad1659 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
Chris Leary abf0eb4f6d Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary fece27e326 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Andrew McCreight 47ff03c05d Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Ehsan Akhgari c5a0193cbf Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Steve Harper 23f60d49d7 Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm 2011-03-28 07:36:33 -05:00
Ehsan Akhgari 0c26c5ea2f Merge cedar into mozilla-central 2011-03-26 12:16:48 -04:00
Matheus Kerschbaum b0bea73625 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Markus Stange c13d6a1bc1 Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc 2011-03-26 00:30:19 -04:00
Chris Leary 5e235c0017 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Chris Jones 2430793126 Bug 646259: Some trivial formatting fixes to deadlock detector output. r=bsmedberg 2011-03-31 14:51:19 -05:00
David Mandelin 5d3438c3ac Bug 646304: Fix MSVC warning, r=bent 2011-03-29 19:05:12 -07:00
Ehsan Akhgari 8be93d2df6 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar 2dc570da46 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar 1a46d0f85c Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari b6bdac1f5b Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Mounir Lamouri f3e3b8a6d3 Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg 2011-03-25 12:13:59 +01:00