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

3733 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Mike Hommey ba90332378 Bug 1048654 - Remove support for building trace-malloc against libgd. r=mshal 2014-08-06 07:24:46 +09:00
Randell Jesup 1d907f4c12 Bug 1045783: fix typo that broke --enable-jprof r=ted NPOTB DONTBUILD 2014-08-06 11:31:22 -04:00
Ed Morley 7644bb7745 Merge mozilla-central and inbound 2014-08-05 16:32:17 +01:00
Gregory Szorc 5b730a4079 Bug 1040416 - Remove javasphinx extension from Sphinx config; r=nalexander
The extension was added by accident in bug 1033686.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 18c2679d14b83ddf6f284052609a39ed2f405929
2014-07-23 09:22:48 -07:00
Thinker Li 46cefdd893 Bug 977026 - Part 1: Allow thread registering before the profiler is initialized. r=BenWa 2014-07-25 20:52:00 -04:00
Nathan Froyd d6ed55758e Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Luke Wagner e02871c009 Bug 1040390 - Add asm.js profiling xpcshell test (r=bgirard)
--HG--
extra : rebase_source : 3d14941fce80331c1f9b5fdd0fe7258bdc251f30
2014-07-29 09:56:22 -05:00
Luke Wagner 0accc7e372 Bug 1040390 - Integrate JS::ProfilingFrameIterator with the profiler (r=bgirard)
--HG--
extra : rebase_source : 7f9a022fb16a353d22242f60cfae4e5659798752
2014-07-29 09:56:22 -05:00
Mike Hommey 9424087517 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Wes Kocher 1ce0c3e306 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Thinker Li 0665d01207 Bug 977026 - part 1: allow thread registering before the profiler is initialized. r=bgirard 2014-07-25 20:52:00 +02:00
Jim Chen 2c37ec4d46 Bug 1016629 - f. Don't call dl_iterate_phdr if it's not available; r=BenWa 2014-07-28 13:30:21 -04:00
Ehsan Akhgari bb15d81dce Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa 2014-07-28 13:11:26 -04:00
Mike Hommey 7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey 95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey 5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey 45b81608ea Bug 1040641 - Ignore AC_SUBSTs for variables we don't have use for but that autoconf itself exports. r=gps 2014-07-23 08:40:12 +09:00
Mike Hommey 622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Octoploid 18faaeac6a bug 1036401 - adjust includes to fix up some issues with complete types instead of forward declarations being required r=bz r=bjacob 2014-07-22 11:29:33 -04:00
Patrick Cloke 114d16e26a Bug 1047592 - mercurial-setup should error when trying to read a config with %include. r=gps 2014-08-05 09:42:33 -04:00
Carsten "Tomcat" Book 9832be43c6 Backed out changeset 4cd08369896b (bug 1016629) 2014-07-25 15:59:42 +02:00
Jim Chen de9557ba6a Bug 1016629 - f. Don't call dl_iterate_phdr if it's not available; r=BenWa 2014-07-24 22:33:48 -04:00
Mike Hommey d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Gregory Szorc 1e3f120dc8 Bug 1039894 - Add bzpost and firefoxtree to mach mercurial-setup; r=smacleod
bzpost is an efficiency win for everyone.

firefox tree is mostly useful for people doing head/bookmark-based
development.

Both extensions can yield massive productivity wins. They should be
advertised.

DONTBUILD (NPOTB) on a CLOSED TREE

--HG--
extra : rebase_source : ab72d3afd6ab244bfdbdb2dda5e0b45c9d8f782e
extra : amend_source : 91ec7523a4631c7519efd3b6cd425cff00bd0569
2014-07-16 19:18:49 -07:00
Chris Kitching c4f8d32e63 Bug 1039164: Prettier handling of invalid hgrc files by mach. r=gps 2014-07-17 01:21:06 +01:00
Jim Chen b797caaf45 Bug 1007824 - Use signal trampoline for profiler signal handler; r=BenWa 2014-07-15 12:45:40 -04:00
Ryan VanderMeulen 58c90485f3 Merge m-c to fx-team. a=merge 2014-07-11 16:43:23 -04:00
Eric Edens 387fa5673a Bug 1033686 - Make sure pre-search and post-search replace each other. r=nalexander
--HG--
rename : mobile/android/search/java/org/mozilla/search/DetailActivity.java => mobile/android/search/java/org/mozilla/search/PostSearchFragment.java
rename : mobile/android/search/java/org/mozilla/search/stream/CardStreamFragment.java => mobile/android/search/java/org/mozilla/search/PreSearchFragment.java
rename : mobile/android/search/java/org/mozilla/search/autocomplete/AutoCompleteFragment.java => mobile/android/search/java/org/mozilla/search/autocomplete/SearchFragment.java
2014-07-11 11:42:37 -07:00
Mike Hommey 70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Benoit Girard 1d7923c3cd Bug 960520 - Set generation id before adding the markers. r=jseward
--HG--
extra : rebase_source : 89fe0e02c0fedc65f111aec0367d70fdc10b787c
2014-07-09 15:11:14 -04:00
Julian Seward d231b2813f Bug 1031272 - Remove fixed timeout in test_enterjit_osr.js. r=jld. 2014-07-09 20:53:39 +02:00
Julian Seward 4b7013ef28 Bug 1031284 - Fix assertion failures for pseudostack unwinds using SPS+LUL. r=bgirard 2014-07-09 15:25:04 +02:00
Benoit Jacob de92bf1865 Bug 1035394 - Fix dangerous public destructors in tools/profiler - r=benwa 2014-07-08 17:23:17 -04:00
Gregory Szorc c5c6819b0f Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.

--HG--
extra : rebase_source : d33f8abcabb6ad6511c2f9e202283d43613fafc4
extra : amend_source : 3a56bc4d49ee6200cbdd0e87b4f28489518fee79
2014-07-02 14:05:42 -07:00
Steve Fink 53a9930d07 Bug 1022773 - Return value rooting for SPS, r=ehsan
--HG--
extra : rebase_source : 74b0f8b928271ee05e0bebb1904ebb7177e397b3
2014-06-25 15:35:37 -07:00
Anhad Jai Singh 9a2a8959f1 Bug 1029870, update make_incremental_update.sh to allow passing Product Version and Channel ID, r=nthomas DONTBUILD
--HG--
extra : rebase_source : 824e10d22e04562cc10bd5f080ba416aa066ab51
2014-07-01 11:24:56 +12:00
Chris Peterson 7cfcbb1631 Bug 1031167 - Fix non-unified OS X build's warnings-as-errors in tools/profiler. r=BenWa 2014-06-26 23:34:20 -07:00
Jan Beich 83cc5240c1 Bug 1029948 - Stop providing TimeStamp/TimeDuration in global scope via GeckoProfiler.h on SPS platforms. r=benwa 2014-06-25 07:38:00 +02:00
Carsten "Tomcat" Book 48f0f82363 merge fx-team to mozilla-central a=merge 2014-06-25 15:34:21 +02:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob dd08a67adb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Victor Porof f857d0aba9 Bug 1020541 - JS Stacks no longer reported in the profiler, r=benwa,djvj 2014-06-24 21:46:13 -04:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Carsten "Tomcat" Book e6b190e7a8 merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Gregory Szorc f67d95ca12 Bug 987332 - Disable MDN theme until it works; r=nalexander
The MDN theme is currently busted. This patch reverts to the default
Sphinx theme so we have docs that are more usable.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 407dedaa2c200560a5e972998489f19a4bcdbe11
2014-06-16 14:53:49 -07:00
Benoit Girard 1387c9241d Bug 1025704 - Add --video flag to merge-profiles.py. r=ehsan 2014-06-16 18:32:42 -04:00
Benoit Girard beb4fd14be Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Girard 57caba6f24 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Benoit Girard 1581637a61 Bug 1024063 - Make the 'threads' feature implicit if thread filter is specific. r=ehsan 2014-06-11 15:53:50 -04:00
Nicolas B. Pierron e05d0c8fe9 Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Victor Porof b3b4be1879 Bug 1017790 - Expose category information in the profiler data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof 90e774e163 Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof ebedad1bb5 Bug 1007203 - Set the categories as flags on profile entries, r=djvj 2014-05-30 21:41:11 -04:00
Ryan VanderMeulen 74de488875 Merge fx-team to m-c. 2014-05-30 16:04:16 -04:00
Chia-hung Tai 6469f3889a Bug 1015860 - Change ATRACE_TAG to ATRACE_TAG_ALWAYS in Gecko Profiler. r=BenWa 2014-05-27 15:12:21 +08:00
Victor Porof 07cede5f0b Bug 1004726 - Clean up profiler pseudo-stack representation (relanded), r=djvj,jchen 2014-05-28 18:44:41 -04:00
Mike de Boer ddfe3d4793 Bug 1014482: make existing tests compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:48 +02:00
Victor Porof 9e41feb374 Backed out changeset c2429d6c41fb (Bug 1004726) for regressions on B2G, r=me 2014-05-26 21:51:50 -04:00
Benoit Girard dfc8cc59ba Bug 1014382 - Add nm-symbolicate.py helper script. r=jrmuizel DONTBUILD as NPOTB 2014-05-22 05:00:28 +00:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Carsten "Tomcat" Book e64cd11ad7 merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Victor Porof 07986ca4cd Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Nicolas B. Pierron 7397882124 Bug 988332 - Report RSS in Gecko's profiles. r=BenWa 2014-05-19 11:31:31 -07:00
Nicholas Nethercote c8ef15deb3 Bug 1013078 (part 2) - Remove some dead code in tools/jprof/stub/libmalloc.h. r=dbaron.
--HG--
extra : rebase_source : 6d94aa82432e255684dacefb3e39891cb1bdc208
2014-05-20 18:05:17 -07:00
Ed Morley 72a83ecd04 Bug 1010082 - Fix |mach dxr| URL; f=erikrose 2014-05-14 16:26:17 +01:00
Ryan VanderMeulen 4f6ccf8cd8 Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
Steve Singer abc85b65e4 Bug 1009291 - Forward declare ProfilerBacktrace before it is used. r=BenWa 2014-05-12 17:11:00 -04:00
Julian Seward e012f2a4d8 Bug 999348 - [flatfish] Build faild in gecko/tools/profiler/LulElf.cpp. r=glandium. 2014-05-13 21:26:33 +02:00
Aaron Klotz 249ed48c5d Bug 977446 - Fix erroneous assertion triggered during SyncProfile destruction; r=sewardj 2014-04-22 12:42:15 +02:00
Benoit Girard 7e6ec54552 Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Benoit Girard 7bc6762bed Bug 926922 - Log reason for layout flushes in profiles. r=ehsan,bz
--HG--
extra : rebase_source : 5383b80a1d0d1ddb36351dea1ad44f27b93001a2
2014-04-22 14:13:00 -04:00
Roberto A. Vitillo 27a423ebef Bug 880864 - User dictionary (persdict.dat) read on main thread. r=mayhemer 2014-05-07 06:35:00 -04:00
Robert O'Callahan 7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Ehsan Akhgari 57c249bbff Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
Ehsan Akhgari 15aa0ce41b Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal 2014-05-05 21:26:11 -04:00
Benoit Girard cf49cd697a Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test. 2014-05-02 13:34:29 -04:00
Viktor Stanchev 72b8f5c8ae Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa 2014-04-07 15:29:07 -04:00
Benoit Girard 7d7a2f9d30 Bug 1004716 - Adjust marker timestamps when merging profiles. r=ehsan DONTBUILD because NPOTB
--HG--
extra : rebase_source : 446f59d60e1508a9d05b7e55f2793ba6556e09ad
2014-05-01 17:53:23 -04:00
Benoit Girard 1064619116 Bug 1004677 - Restore double precision startTime. r=bjacob
--HG--
extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d
2014-05-01 16:27:36 -04:00
Jim Chen e8ad92a6ac Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-28 22:20:51 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Wes Kocher 45d885681c Backed out changeset 60b6bdaafba7 (bug 999071) for android 2.3 rc1 orange 2014-04-25 14:50:31 -07:00
Jim Chen f3a501bb51 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-25 12:38:18 -04:00
Wes Kocher d477a31fd8 Backed out 3 changesets (bug 999071) for Android rc1 failures
Backed out changeset ddf970be0abd (bug 999071)
Backed out changeset 8d2738b22275 (bug 999071)
Backed out changeset b82a8c50aa90 (bug 999071)
2014-04-24 18:12:46 -07:00
Jim Chen c9f29c93c9 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-24 17:49:01 -04:00
Shelly Lin 6437f8163e Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Shelly Lin 31efa9372b Bug 908995 - Part 1: The core implementation of TaskTracer. r=khuey. 2014-03-27 16:44:30 +08:00
Viktor Stanchev 11dae83d41 Bug 867728 - Add tests for JSStreamWriter. r=bgirard
--HG--
extra : rebase_source : ee679794165b171ec89dfc2785647ffa7cb7f009
2014-04-21 16:52:40 -04:00
Viktor Stanchev 549fb2406d Bug 867728 - Stream profiler JSON directly to a file. r=bgirard,terrence
--HG--
extra : rebase_source : 3472eb981d0c8778be318b3d51b51edfe8c1c96a
2014-04-21 16:48:47 -04:00
Viktor Stanchev 0f296aff8a Bug 996285 - Profiler stops duplicating samples during sleeping periods after buffer wraps. r=benwa 2014-04-21 11:46:48 -04:00
Aaron Klotz 5eb20f9c87 Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj 2014-04-19 14:28:02 -06:00
Julian Seward 061965db8b Bug 997700 - Fix build issues with LUL and --enable-warnings-as-errors. r=nfroyd. 2014-04-19 01:30:46 +02:00
Terrence Cole 581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Viktor Stanchev fc25e0ce54 Bug 962262 - Profiler - Use float instead of double to pack circular buffer. r=benwa
--HG--
extra : rebase_source : 62429abbb05c199ed714ecec2f6b000296b94deb
2014-04-10 10:52:23 -04:00
Julian Seward 9bd60ea2d4 Bug 938157 - Lightweight CFI/EXIDX unwinding library for SPS. r=n.nethercote, nfroyd, bgirard.
--HG--
extra : rebase_source : bd427749667ddd6641eff414879c3706a5cb5f5e
2013-12-18 13:02:34 +01:00
Gregory Szorc e177929bf7 Bug 994359 - Update Bitbucket certificate fingerprint; r=edmorley
Certificate updated per
http://blog.bitbucket.org/2014/04/08/bitbuckets-ssl-certificates-are-changing/

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 7b2acdad8221d40629a0fff7b9b9fcfbd51eb1a5
extra : amend_source : 2138af8ab774420f466e33914f2abdb82a52df25
2014-04-09 15:33:16 -07:00
Gregory Szorc f9ca77bae1 NO BUG - Install RBTools 0.6
We were previously installing a pre-release of RBTools from Git. The
patches we were waiting on are now in RBTools 0.6. So, install the
released version from PyPI.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 0c3c13c6e9ec24ae7ebcabe5b2e4fa64441b2332
2014-04-08 16:03:35 -07:00
Masatoshi Kimura 988da5b46e Bug 992503 - Remove the MSVC exemption for FAIL_ON_WARNINGS in tools/profiler. r=BenWa 2014-04-08 21:22:14 +09:00
Phil Ringnalda abdac31cf1 Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Wes Kocher 1a4b234833 Backed out changeset 1e38b4aa8889 (bug 986160) for breaking Nightly builds 2014-04-04 14:54:19 -07:00
Eric Faust edf5e61761 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Viktor Stanchev 8f6b3cf1ab Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa
--HG--
extra : rebase_source : b73d3af33ddbf032a01067c9d92ea6a6e441cdba
2014-04-04 10:11:41 +08:00
snigdha 9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Viktor Stanchev efc233bd6d Bug 987297 - Improve memory usage of profiler by packing ProfileEntry structs together better. r=bgirard 2014-03-31 14:19:00 +02:00
Jacek Caban 046703f3a5 Bug 820048 - Added missing math.h (mingw fixup). 2014-03-31 13:21:59 +02:00
Viktor Stanchev ffd378ba44 Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Jed Davis bcb7b2cc3a Bug 914561: Use SPS EnterJIT marks to unwind past jitcode. r=BenWa 2014-03-27 19:20:20 -07:00
Jed Davis a3824f224b Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp 2014-03-27 19:20:20 -07:00
Anthony Jones ec9a27854b Bug 983633 - Error if filterdiff is required; r=gps 2014-03-21 17:43:28 +13:00
Aaron Klotz 4ebf28f26c Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 16:35:01 -06:00
Wes Kocher a20307b017 Backed out changeset 2bdd2d042847 (bug 972577) for non-unified bustage on a CLOSED TREE
--HG--
rename : xpcom/build/nsWindowsDllInterceptor.h => toolkit/xre/nsWindowsDllInterceptor.h
rename : xpcom/build/IOInterposer.cpp => tools/profiler/IOInterposer.cpp
rename : xpcom/build/IOInterposer.h => tools/profiler/IOInterposer.h
rename : xpcom/build/NSPRInterposer.cpp => tools/profiler/NSPRInterposer.cpp
rename : xpcom/build/NSPRInterposer.h => tools/profiler/NSPRInterposer.h
2014-03-14 15:27:21 -07:00
Aaron Klotz ae4aa8bc28 Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 13:47:24 -06:00
Viktor Stanchev 378c2034e1 Bug 981132 - set up atfork on the main thread. r=bgirard
--HG--
extra : rebase_source : adbbf08a081dac84de6e1c2d001f32c786b38dc5
2014-03-12 16:32:40 -04:00
Brian R. Bondy 5af5d81828 Bug 974570 - Sign MAR files on all platforms. r=catlee, ted 2014-02-20 10:00:53 -05:00
Gregory Szorc 77f31d4d20 Bug 981724 - Update fingerprint for bitbucket; r=edmorley
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b69aeae32da1099a9ee195847d8daf02d38d4f7d
extra : amend_source : 294da8b00aeafb061c336be0b3c2b291ff3bf933
2014-03-10 10:35:40 -07:00
Viktor Stanchev 61ed9edf45 Bug 979566 - Profiler: Convert usleep to nanosleep. r=bgirard 2014-03-07 15:43:34 -05:00
Robert Strong 00eb9e322d Followup for Bug 900251 - remove check for extra channel-prefs.js and update-settings.ini files in the mar generation scripts. r=nthomas 2014-03-05 17:04:21 -08:00
Robert Strong 40e187af87 Bug 900251 - Add support for add-if-not instruction added by bug 759469 to the mar generation scripts. r=nthomas 2014-03-05 11:42:56 -08:00
Robert Strong 376e960b5a bug 896223 - Remove the version 1 manifest from the mar creation scripts. r=nthomas 2014-03-05 11:42:48 -08:00
Ehsan Akhgari 17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Viktor Stanchev 17777910b1 Bug 978292 - Turn on sps profiler leaf data collection on linux. r=bgirard 2014-03-04 10:35:36 -05:00
Kannan Vijayan 64dbdf9caf Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem 2014-03-03 14:36:08 -05:00
L. David Baron 32f0fef7ac Bug 855081 patch 2: Use a single buffer for the demangled names. r=jesup 2014-03-03 00:54:38 -08:00
Ryan VanderMeulen 1662c5c020 Backed out changesets 1b4b7d198185 and 8529b074a2f3 (bug 976260) for adding new rooting hazards.
CLOSED TREE
2014-02-28 16:04:49 -05:00
Viktor Stanchev e243b1a2cf Bug 969456 - Add pause/resume API to profiler. r=bgirard
--HG--
extra : rebase_source : 3c72e4b6b87f629fd1a289ddb4bbc94b582a0b4b
2014-02-28 15:16:38 -05:00
Kannan Vijayan 88eff64bd1 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 14:02:46 -05:00
Ed Morley 75251a8149 Backed out changeset 84663a25b44e (bug 976260) for compilation failures 2014-02-28 18:42:34 +00:00
Kannan Vijayan 853bcf6e79 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 13:22:03 -05:00
Ed Morley 575e4b2042 Bug 977961 - mach mercurial-setup: Avoid prompting to enable mqext auto-commit when already enabled; r=gps
DONTBUILD (NPOTB)
2014-02-28 16:43:01 +00:00
Ed Morley 46c09350dc Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley 1386611e1d Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley 947aafcf25 Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps 2014-02-27 10:10:21 +00:00
Ed Morley 8f447b8f21 Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps 2014-02-27 10:10:20 +00:00
L. David Baron a8b24763d3 Bug 331743 patch 5: Fix -Wformat warnings in leaksoup.cpp related to 32-bit vs. 64-bit sizes. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron a897bb7059 Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron b0d0022c36 Bug 331743 patch 3: Improve trace-malloc memory dumps and their handling on 64-bit. r=khuey
There are three categories of improvements:

 (1) using size_t* rather than unsigned long* (and "%zX" rather than
     "%lX"), to better support platforms where sizeof(long) !=
     sizeof(void*), such as Win64 (untested, though).  This is a
     non-issue for 64-bit Linux (where I tested) and Mac.

 (2) Using the correct amount of 0-padding when printing addresses to
     show how much memory space is being printed.  In other words, using
     "%016zX" on 64-bit platforms instead of "%08zX".  This change is
     cosmetic-only, though it makes the logs much more understandable.

 (3) [in leaksoup.cpp only] Fixing an occurrence of assuming that
     sizeof(int) == sizeof(void*).  This occurrence led to printing only
     the lower half of each word in the output, after doing a correct
     analysis of the memory graph.

This patch is patching three files:

 (A) nsTraceMalloc.cpp, which is the in-process Gecko trace-malloc code
     that generates the memory dumps.

 (B) adreader.cpp, which is shared utility code for reading such a
     memory dump (currently used only by leaksoup.cpp)

 (C) leaksoup.cpp, which reads in such a memory dump, performs a
     strongly connected components analysis of the memory graph, and
     writes it back out, HTML-ized, with the roots listed at the top.

A fourth file appears to need no modification since it only looks at the
stack part of the dump and not the contents of the memory:

 (D) diffbloatdump.pl, which diffs two bloat dumps and produces a stack
     tree showing the change in allocations between them
2014-02-26 13:36:36 -08:00
L. David Baron c91b8791d1 Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Ed Morley 2df90d1cdd Bug 976892 - Update mach mercurial-setup to use qimportbz from it's new home in version-control-tools; r=gps
qimportbz is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.

DONTBUILD (NPOTB)
2014-02-26 17:28:09 +00:00
Viktor Stanchev 0f7d95f413 Bug 970494 - Markers should be time based and not sample based. r=bgirard
--HG--
extra : rebase_source : 5401e1145c771878a1caa384d79e2dc1d0a1855c
2014-02-25 10:40:45 -05:00
L. David Baron 0026a0fe5d Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed. 2014-02-24 15:27:53 -08:00
Jim Chen bfa117a21f Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa 2014-02-24 12:27:58 -05:00
Jim Chen dca2479fd2 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Chris Peterson 91d5779d1b Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Ryan VanderMeulen 048505064d Merge inbound to m-c. 2014-02-20 15:13:01 -05:00
Dave Huseby 4f30f241e5 Bug 972536 - Add a tool for gathering USS memory data for a process over time for memory leak detection. r=dbaron 2014-02-20 08:50:54 -05:00
Chris Peterson 56af4fda84 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Andrew McCreight 344c61d00e Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen 00487ce6f9 Bug 971094 - Part 0: Add some null checks to the profiler's usage of Observation::Filename(). r=BenWa 2014-02-20 08:43:55 -05:00
Daniel Holbert c516662c22 back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson dcfc7e9c20 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Aaron Klotz 065c3ca8a2 Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan 2014-02-18 10:13:51 -07:00
L. David Baron e4e2cc5501 Make fix-linux-stack handle addresses with lowercase hexidecimal, since that seems to be the thing these days. No bug.
(mrbkap, I, and ehoogeveen have all seen lowercase lately.)
2014-02-17 20:07:45 -08:00
Masatoshi Kimura 8ddf7de8a5 Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Benoit Girard 11680762e6 backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev cc4777dcd4 Bug 970494 - Markers should be time based and not sample based. r=bgirard
--HG--
extra : rebase_source : c1e3e77fa8f7ad2c5eec7f092d96bf3719db3a8c
2014-02-13 13:43:48 -05:00
Viktor Stanchev 18aeb9dd4e Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : 6ec4d08834f57946681b65064c1e5764572d28e7
2014-02-13 13:32:38 -05:00
Gregory Szorc bb4b656c3b Bug 971683 - Remove tools/l10n; r=bsmedberg
--HG--
extra : rebase_source : 12c3b29df1e7333c5abc6768f853ed41291b1ddb
extra : amend_source : 7d0566143465dea662e05bd9351cb02c3eb9e8d4
2014-02-12 14:20:15 -08:00
Jon Coppeard d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Ehsan Akhgari e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe 56341318f9 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Nathan Froyd 0144542cd7 Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa 2014-02-06 12:49:32 -05:00
Ryan VanderMeulen c38a20a8ce Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Gregory Szorc 100c3f1d85 Bug 968259 - Update mach mercurial-setup to work with new unified VCS tools repo; r=ted
bzexport is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : f7737bcf7b528df9b8130ecb3cf73f4d74280d3b
extra : amend_source : b9a1a0b656b1e350cf161db386cf7986cac6a430
2014-02-05 14:12:15 -08:00
Ryan VanderMeulen 3ac56bf193 Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug. 2014-02-06 14:34:05 -05:00
Andrew McCreight a2066850ff Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD 2014-02-06 11:31:49 -08:00
Ryan VanderMeulen 6b700fff83 Backed out changeset 7abb50d91618 (bug 962325) for bustage.
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev dc0ed322d5 Bug 965373 - When the profiler stops it doesn't stop the EventTracer thread; r=bgirard
---
 toolkit/xre/EventTracer.cpp   | 48 +++++++++++++++++++++++++++++++------------
 tools/profiler/nsProfiler.cpp |  3 +++
 2 files changed, 38 insertions(+), 13 deletions(-)

--HG--
extra : rebase_source : 249b164d232320bbec25de2b13d23ed87ffff842
2014-02-06 11:59:25 -05:00
Viktor Stanchev b3bae35e9e Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : e823b394eb547bcdf5f6f4970959add8d5a81710
2014-02-06 11:44:46 -05:00
Jim Chen 1a7252a124 Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward 2014-02-05 12:37:54 -06:00
Aaron Klotz ff910d3f87 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Viktor Stanchev 9e0e77e8e6 Bug 962731 - Properly save root profiler tags in profiles. r=ehsan 2014-01-30 13:13:23 -05:00
Anthony Jones ff97dfbbd7 Bug 965120 - Git support for mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones a4c0bcf9b0 Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones 147a7bcbdb Bug 965120 - Add --show option to mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones 67bfc6f16d Bug 962954 - Add clang-format downloading support for OSX; r=gps 2014-01-28 14:11:46 +13:00
Jon Coppeard bfba7b5146 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Ryan VanderMeulen 1e0482e1c1 Merge b2g-inbound to m-c. 2014-01-24 17:10:15 -05:00
Gregory Szorc 591866f6e4 Bug 947596 - Install RBTools from Git; r=mconley
RBTools as released on PyPI has a number of bugs and deficiencies with
the Mercurial implementation. These have been fixed in an unreleased
version of RBTools.

Until RBTools with the desired patches is released to PyPI, we will
install RBTools direct from its source repository.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 8fe09b80d8dd5583ba957b4525563cde678b3b3d
extra : amend_source : b41e0d492ff7d1f78bd0462782459c3dc8e95041
2014-01-24 13:06:30 -08:00
Anthony Jones 68d6317eab Bug 952379 - Add a clang-format-diff helper to mach; r=gps 2014-01-08 14:51:44 +13:00
Cervantes Yu 9556ddc7f7 Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Calixte Denizet 856b1bc95f Bug 944892 - Add uintptr_t casts to fix bustage with -Werror=int-to-pointer-cast set. r=dbaron 2014-01-21 13:53:48 -05:00
Aaron Klotz 1e69fb718a Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj 2014-01-20 16:02:51 -07:00
Nick Thomas b7f3acf1e1 Backout 4b71e71c27a5 for removing update-settings.ini from installs 2014-01-20 17:14:29 +13:00
Ryan VanderMeulen fdae3860b4 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Jed Davis ec74e50e16 Bug 960350 - Display untranslated symbols correctly after merging profiles. r=BenWa
Also, set off the pid from the address with a colon instead of
hard-coding a field width, in case we ever get >16-bit pids.
2014-01-17 14:32:22 -05:00
Terrence Cole 6beccf2363 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Tom Schuster f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Nick Thomas 43092f83cc Bug 908134, exclude update-settings.ini from mar files, r=bhearsum DONTBUILD 2014-01-16 12:24:12 +13:00
Terrence Cole d902eeddc8 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Gijs Kruitbosch 66457ef1c5 Bug 958302 - offer the rebase extension through hg-setup, r=gps
DONTBUILD
2014-01-10 12:13:37 +00:00
Benoit Girard 76ca557e2c Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium 2014-01-08 11:12:02 -05:00
Birunthan Mohanathas 7a614075df Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan
--HG--
extra : rebase_source : e44e854e1c946c89c38bbef73c53fe8a48510f65
2014-01-06 10:07:38 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger 561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Gregory Szorc e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Gregory Szorc abf326e01b Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium
--HG--
extra : rebase_source : 9ef2219145fb754a9cbe9e7e30b6f2841910f13f
2013-12-13 16:06:53 +09:00
Gregory Szorc edbe43df4f Bug 939367 - Part 2: Move requirements.txt into tools/docs
Trivial change. No review.

DONTBUILD (NPOTB)

--HG--
rename : build/docs/requirements.txt => tools/docs/requirements.txt
2013-12-12 18:10:04 +09:00
Gregory Szorc 95aca92ee2 Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Ehsan Akhgari e276af8c8e Bug 948327 - Do not leak the payload object passed to mozilla_sampler_add_marker() if we don't end up using it; r=BenWa 2013-12-10 16:34:19 -05:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas 68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Gregory Szorc ecc0b08de2 Bug 945577 - Followup to mach rbt so argument parsing works as expected
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 7923ee6b52aaba9eb3ab205a68517608e43894c8
2013-12-07 09:30:19 +09:00
Gregory Szorc a7eedb66a5 Bug 945577 - mach rbt command to run ReviewBoard Tools; r=ahal
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 875c6e602bf459bc99327dba1dc09adc20ac363e
extra : amend_source : 43e0a79f59ff2e68d582a0279bfdfd174c880e6d
2013-12-06 11:35:52 +08:00
Mike Hommey 881a7c1554 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Ehsan Akhgari 4cefcc3107 Bug 944844 - Disambiguate the printf functions in GeckoProfilerImpl.h so that they don't conflict with the ones defined in chromium's namespace base; r=BenWa 2013-12-02 12:29:49 -05:00
Ehsan Akhgari 2bc931e658 Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa 2013-11-28 14:35:45 -05:00
Ehsan Akhgari 5f6d211aec Follow-up to bug 941693 - Fix mac builds 2013-11-28 09:09:57 -05:00
Benoit Girard 9f0592ad5e Bug 941693 - Build tools/profiler in unified mode; r=ehsan 2013-11-21 12:08:01 -05:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey 682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Jim Chen 0b958846fc Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa 2013-11-22 14:17:30 -05:00
Wes Kocher 0baa2a0d4e Merge m-c to inbound 2013-11-21 19:18:18 -08:00
Gregory Szorc f3d929fdf3 Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 64bfe02d9f27009ab896b09c54fe7e48953a280d
2013-11-21 12:19:32 -08:00
Ryan VanderMeulen 7c4875ed06 Merge m-c to fx-team. 2013-11-21 15:55:03 -05:00
Gregory Szorc a949cce316 Bug 940454 - Update hg.mozilla.org certificate fingerprint. 2013-11-19 09:11:53 -08:00
Chris Kitching 36c7d139c0 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Jed Davis 3fe1d51986 Bug 940167 - More specificity for which mappings might be libraries on B2G. r=BenWa
Note that we don't want this extra check on regular Android, because
there's Dalvik jitcode in ashmem, and any mappings that aren't that
special ashmem file will already be excluded (because everything else is
handled through dl_iterate_phdr).
2013-11-19 09:00:24 -05:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey b2e90f6233 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey 26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jed Davis d687166d14 Bug 914190 - Use std::getline instead of C getline to parse /proc/N/maps. r=BenWa
Android's C getline (present in JB and up) calls libc's malloc directly,
but its caller in Gecko is linked to jemalloc's free via mozglue; this
caused a crash on profiler startup.
2013-11-12 08:47:23 -05:00
Birunthan Mohanathas 1e45690b3d Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan 2013-11-11 14:16:31 -05:00
Joe Olivas d8f8c06771 Bug 769431 - Correlate power data from Intel Power Gadget in performance profiles. r=BenWa 2013-10-08 10:05:25 -04:00
Mike Hommey 50e2fd01b1 Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Kai-Zhen Li ae437a9d28 Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld 2013-11-06 10:08:42 +08:00
Jonas Finnemann Jensen 41edf8980c Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Jim Mathies ca8c3dbab2 Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa 2013-11-04 12:27:40 -06:00
Mike Hommey 3da504d65e Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Daniel Holbert 4908bbab5e Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -07:00
Nicholas Nethercote 3b80765894 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Ed Morley 4f7dd51a89 Merge mozilla-central and inbound 2013-10-25 17:55:18 +01:00
Ed Morley ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mason Chang 35255b2c2b Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld 2013-10-24 17:09:33 -07:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey 3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley 46392786ec Bug 930988 - mercurial-setup: Update the bugzilla.mozilla.org fingerprint to that of the new certificate; r=gps 2013-10-25 14:39:27 +01:00
Ed Morley 019abea10a Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Jonas Finnemann Jensen ef343c0f14 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Aaron Klotz 4ff2db0e59 Bug 929763: Don't call TickSample::PopulateContext unless native stack walking is enabled; r=BenWa 2013-10-22 21:56:50 -07:00
Wes Kocher 16d6e76b4e Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Jim Mathies 357604de6e Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard 2013-10-22 08:30:06 -05:00
Ehsan Akhgari abcacdab4c Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 22:59:48 -04:00
Ehsan Akhgari 335322b66d Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage 2013-10-20 09:42:51 -04:00
Ehsan Akhgari 36f759e186 Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 09:10:07 -04:00
Ms2ger 006ccb9a4d Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps 2013-10-20 09:25:19 +02:00
Joshua Cranmer bd929500c8 Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps 2013-10-21 13:09:06 -05:00
Jed Davis dfdb1704c2 Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa 2013-10-16 14:42:49 -04:00
Anhad Jai Singh fbcb415eeb Bug 902209 - Add mach pastebin; r=gps 2013-10-16 10:13:00 -07:00
Aaron Klotz 84c1274b4a Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa 2013-10-15 13:06:20 -06:00
Aaron Klotz 8912cab0f9 Bug 921330: Fix sync unwind on Mac OS X. r=BenWa 2013-10-15 12:58:52 -06:00
Jed Davis ef7ff21509 Bug 919078 - Add js to async profiler start options. r=BenWa 2013-10-12 13:56:21 -04:00
Benoit Girard 3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ms2ger 4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Jacek Caban c98f280e34 Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz 2013-10-03 10:53:07 +02:00
Ms2ger f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger d1e1fda3b3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Graeme McCutcheon 6e1e102d0c Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD 2013-10-02 09:06:39 +01:00
Phil Ringnalda a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard 43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Aaron Klotz 44e3459f45 Bug 888534: Add support for Create, Stat and Close operations to IOInterposer. r=jonasfj
--HG--
extra : rebase_source : 6b7e75ae35e3250383f3990dce2680df44f4ec68
2013-10-01 13:53:19 -06:00
Benoit Girard 84c9211fca Bug 920909 - Fix lossy startTime fields serialization. r=ehsan 2013-09-27 11:51:25 -04:00
Ryan VanderMeulen 4875847fa7 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching 939077cb0b Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta 6b7e07f87d Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching 602a2edbcb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Ed Morley 226567492a Bug 909937 - Output more useful error messages for |mach mercurial-setup| parsing exceptions; r=gps 2013-09-26 13:36:50 +01:00
Benoit Girard 54c9f49b7a Bug 918833 - Improved profiler thread register. r=ehsan 2013-09-24 15:23:36 -04:00
Aaron Klotz cfa94dca53 Bug 867757, Part 2: Gives SPS the ability to immediately sample the current thread's stack and annotate it. r=BenWa 2013-09-25 09:28:34 -06:00
Benoit Girard fb4bfeb5f7 No bug. Improve the name of the main thread for profiling. DONTBUILD
--HG--
extra : rebase_source : 448d0145200659a67a77acbef36e74ff2c17c934
2013-09-24 15:20:18 -04:00
Ryan VanderMeulen 26ad3fc54b Merge m-c to inbound.
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
David Major 0765e9cd26 Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron 2013-09-23 09:22:30 -04:00
Ehsan Akhgari c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari 7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Joey Armstrong 4913c4a933 bug 870406: move CSRCS to mozbuild (file batch #3). r=mshal 2013-09-20 17:37:36 -04:00
Benoit Girard 906e0daa78 Bug 918581 - Extend merge-profile.py to support secondary threads. r=vlad
--HG--
extra : rebase_source : 28357bbb17b15c7cb40c53ee3442bc6366fcf015
2013-09-19 23:24:07 -04:00
Benoit Girard 7afa961994 Bug 867757 - Part 1: Allow markers to carry payload. r=aklotz
--HG--
extra : rebase_source : 31904aa5f084283bfc23ecfc53762d275967e34b
2013-07-11 00:27:04 -04:00
Ryan VanderMeulen 8e0a6c6e41 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Terrence Cole 7217929024 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Gijs Kruitbosch 7604127126 Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB) 2013-09-13 10:50:28 +02:00
Ryan VanderMeulen 5197249017 Merge m-c to fx-team. 2013-09-14 23:08:59 -04:00
Jonas Finnemann Jensen 63757ffdc4 Bug 902587 - Fix missing destructor in IOInterposer.cpp ifndef MOZ_ENABLE_PROFILER_SPS. r=aklotz 2013-09-14 22:08:11 -04:00
Ryan VanderMeulen 47d90bb47f Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Ryan VanderMeulen fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Benoit Girard 836a55c9fa Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld 2013-09-11 14:01:16 -04:00
Benoit Girard f8a6d08355 Bug 915857 - Check-in merge-profiles.py. r=vladan 2013-09-12 16:31:40 -04:00
Benoit Girard 1dbbbf22af Bug 914348 - Name the SamplerThread on linux. r=jld 2013-09-11 13:57:43 -04:00
Terrence Cole 705a73caba Bug 877658 - Exactly root tools/profiler/; r=BenWa
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Jed Davis 42fe9dcb23 Bug 810526 - Add an implementation of ARM EHABI stack unwinding for the profiler. r=BenWa r=huseby 2013-09-11 14:53:14 -04:00
Jed Davis 76e9c91c87 Bug 810526 - android-signal-defs.h must include signal.h for stack_t. r=bgirard 2013-09-11 14:52:34 -04:00
Jed Davis 7144d49eae Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard 2013-09-11 14:51:59 -04:00
Jed Davis 12b0e21530 Bug 810526 - Factor out native/pseudo stack merging. r=bgirard 2013-09-11 14:51:11 -04:00
Jed Davis cbdea10161 Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard 2013-09-11 14:50:46 -04:00
Dan Gohman a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ryan VanderMeulen 1213755134 Backed out changeset 508a916a482a (bug 914348) for suspicion of causing Linux mochitest-bc perma-orange. 2013-09-10 15:32:31 -04:00
Benoit Girard 58be34a343 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen dac3c3a20c Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz 2013-09-12 10:47:37 -04:00
Ms2ger 4e96ae49a4 Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jonas Finnemann Jensen 65f42bebc9 Bug 910658 - Add "qnew = -U" to defaults section in mach mercurial-setup; r=gps
DONTBUILD (NPOTB)
2013-09-04 15:32:00 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote 01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote 3c5b0c6b29 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Gregory Szorc 6186ab6b68 Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Jan Beich cedbc692cf Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger 2013-08-25 22:10:46 +02:00
Gabriele Svelto 91c1a25d52 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger 47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto 795d28ed67 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Jan Beich 5fe1a3cf76 Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn 2013-08-23 09:16:02 +02:00
Nicholas Nethercote 789875a768 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger 8040c0cadd Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger 987ec661d3 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger 4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger 18cd92e9b4 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Nicholas Nethercote 5c94c32440 Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote 2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Cykesiopka 66fbee273a Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron 2013-08-19 08:48:24 -04:00
Julian Seward d584868453 Bug 894264 - Breakpad Stack scan: don't generate frames we aren't going to use. r=ted. 2013-08-16 21:03:54 +02:00
Ms2ger 30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger 9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger e9ac4435fb Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Jed Davis 9ca814fb74 Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa 2013-08-13 16:44:46 -04:00
Ed Morley a4ae239c93 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Trevor Saunders e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Benoit Girard beddcdae57 Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward f03566fcd4 Bug 880158 - Remove glibc backtrace() native unwind on Linux. r=bgirard.
--HG--
extra : rebase_source : 0a9e752acfe2cad6ec1995c4d4e823e7d9adef23
2013-08-08 18:48:20 +02:00
Nicholas Nethercote d8f824e34e Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote 8ce53f9ffd Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Gijs Kruitbosch e360e1c3bc Bug 901481 - add an environment variable to set the number of entries kept by the profiler, r=BenWa 2013-08-05 18:03:22 +02:00
Julian Seward 3a424b6297 Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard. 2013-08-06 10:36:10 +02:00
Jon Coppeard fb6671743e Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Bobby Holley 6f87931f0a Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Gregory Szorc 5c5c830a87 Bug 899818 - Don't add quotes to values when writing Mercurial configs; r=Gijs
DONTBUILD (NPOTB)
2013-07-31 00:07:57 -07:00
Ehsan Akhgari 2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Gregory Szorc c079fd38e7 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey 7b106e33d2 Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Ryan VanderMeulen 2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Michael Wu 58609a7075 Bug 898810 - Use bionic's getline where available, r=benwa 2013-07-29 13:17:28 -04:00
Trevor Saunders 108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00