Ryan VanderMeulen
7627a06670
Merge inbound to m-c.
2013-11-19 13:21:57 -05:00
James Kitchener
ec8e8ed609
Bug 936886 - Account for possibility of non-null terminated strings in nsWindowsRegKey::ReadStringValue(). r=dmajor
2013-11-19 09:09:41 -05:00
Nicholas Nethercote
bcdbb4d8cc
Bug 940069 - Land a temporary debugging printf that runs on --enable-valgrind builds only, because Valgrind runs aren't available on tryserver. r=me.
2013-11-18 23:13:15 -08:00
Mike Hommey
931cb49886
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
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f94778cdf9
Bug 939071 - Kill SHORT_LIBNAME. r=ted
2013-11-19 11:47:47 +09:00
Mike Hommey
636b672657
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b
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
Ehsan Akhgari
fbd7944f83
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Jonas Finnemann Jensen
58f98efab6
Bug 937201 - Fix Windows builds without MOZ_ENABLE_PROFILER_SPS. r=BenWa
2013-11-18 13:21:26 -05:00
Nicholas Nethercote
e67e1e5dc9
Backout 86b5cb334b73 and db7cbf61b001 (bug 810718, parts 1 and 2) for multiple perf regressions.
...
--HG--
extra : rebase_source : c20c81d0cf47b607815c0592d748d4f0a430d430
2013-11-17 20:41:36 -08:00
Chris Peterson
dcc635e27f
Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus
2013-11-16 21:19:51 -08:00
Nathan Froyd
a0e488bb67
Bug 940160 - constify the PLDHashTableOps struct in nsTHashtable::Init; r=ehsan
2013-11-18 21:34:53 -05:00
Ehsan Akhgari
ac44b37d03
Bug 939231 - Stop requiring trace-malloc for the deadlock detector; r=bent
...
The existing deadlock detector code uses the trace-malloc stack walking
facilities, which is problematic for a few reasons.
1. It is only available in builds with --enable-trace-malloc, which is
not in the default build configuration.
2. It tries to capture a symbolicated stack trace every time that a lock
is acquired or released, which is really slow.
This patch changes the deadlock detector to use the XPCOM stack walking
and symbolification facilities, and avoids the symbolification until the
point where we need to print out the call stack, which makes the
deadlock detector a lot faster than it currently is in trace-malloc
builds.
2013-11-21 07:43:23 -05:00
Mike Hommey
03e5fc6ffa
Bug 914274 - Remove MODULE_NAME. r=mshal
2013-11-21 17:31:19 +09:00
Nicholas Nethercote
2ac234c986
Bug 810718 (part 2) - Use a uint16_t for PLDHashTable::entrySize.
...
--HG--
extra : rebase_source : 342927bded18e5fa5289608e711cf343cecdcfcc
2013-11-13 18:38:25 -08:00
Nicholas Nethercote
06ddc29404
Bug 810718 (part 1) - Enforce pldhash RECURSION_LEVEL checks in all builds and abort on failure. r=bsmedberg.
...
--HG--
extra : rebase_source : 4233dc104d8db99ec19b5b4885a9ddfaa7287427
2013-10-31 19:18:56 -07:00
Mike Hommey
b564a70599
Bug 937359 - Make all objects built into xul.dll built with -MD/-MDd, not -MT/-MTd. r=bsmedberg
...
--HG--
rename : toolkit/mozapps/update/common/Makefile.in => toolkit/mozapps/update/common-standalone/Makefile.in
2013-11-16 13:37:56 +09:00
Phil Ringnalda
8040aa67c9
Backed out 4 changesets (bug 672843) for xpcshell bustage
...
Backed out changeset bbb7760083ae (bug 672843)
Backed out changeset eaf2fd75d7fc (bug 672843)
Backed out changeset eb08cc206b8d (bug 672843)
Backed out changeset 6a0e4afd52ab (bug 672843)
2013-11-19 14:38:29 -08:00
Nicholas Nethercote
6e8b08087a
Bug 939385 (part 4, attempt 2) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : fc5a8b80752156cf8d13908eb2f961d75a954126
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
5ac5ff98eb
Bug 939385 (part 3, attempt 2) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 2a7dcf2121c323bb37094b23e329c322f25dfeeb
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
929427fdc2
Bug 939385 (part 1, attempt 2) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : e5bdf43ab2a228f3ade93e803988f81d4f3a646e
2013-11-18 22:24:12 -08:00
Benjamin Smedberg
0140684515
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
8aa4ac11fd
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
9890b5ef50
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Benjamin Smedberg
66f5c04d02
Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst
2013-11-19 16:27:36 -05:00
Gijs Kruitbosch
2669f41615
Bug 890545 - provide a way to enumerate registered manifests, r=froydnj,f=glandium
...
--HG--
extra : rebase_source : 7534f0d3c0257ff34f1477c0bfdd23b540e7a7c7
2013-07-05 21:20:04 +02:00
Carsten "Tomcat" Book
ae6cf6c2e9
Backed out changeset 002e26035367 (bug 938437) to fix PGO Build Bustage on a CLOSED TREE
2013-11-19 12:28:41 +01:00
Carsten "Tomcat" Book
2d619fa437
Backed out changeset a06dd3421421 (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:48:01 +01:00
Carsten "Tomcat" Book
679c3d1ba5
Backed out changeset 65048ac4ae6f (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:41 +01:00
Carsten "Tomcat" Book
c2aeeff612
Backed out changeset 027fced104dc (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:30 +01:00
Nicholas Nethercote
f6d384fd81
Bug 939385 (part 4) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : 7aa40beaaf9f025f361d0a570a2f35d582a151c5
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
3172e67ca2
Bug 939385 (part 3) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 77331283b56ddf28a137a0165ef9926d6e0f0f42
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
69cab6b84b
Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : 3c364af0442eeabd5951370792f1a467eaa86994
2013-11-18 22:24:12 -08:00
Mike Hommey
7efe3105fb
Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder
2013-11-19 13:45:31 +09:00
Nathan Froyd
293931c0cd
Bug 939137 - part 1 - add largestContiguousVMBlock attribute to nsIMemoryReporterManager; r=bsmedberg
2013-11-15 13:04:43 -05:00
Joshua Cranmer
4568b8f835
Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
...
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Jim Chen
a7f8d65586
Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo
2013-11-12 17:31:15 -05:00
Olli Pettay
721a4ec61c
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Nelson BenÃÂtez León
10af230243
Bug 417952 - Open Containing Folder doesn't highlight/select file in Nautilus. r=karlt
...
If the File Manager DBus Interface[1] is present, use it to
launch file manager and select the file, otherwise fallback to
existing code for backwards compatibility.
[1] http://www.freedesktop.org/wiki/Specifications/file-manager-interface/
2013-11-12 08:31:33 -05:00
David Major
25afc23f7c
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Wes Kocher
7a98b79072
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
f6aefae288
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
...
--HG--
extra : rebase_source : 48545d4c83d88f34773ca84e542aa13316ca38c6
2013-11-12 00:12:00 +02:00
Birunthan Mohanathas
192d1ba4c1
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Nathan Froyd
2a6b791647
Bug 608915 - part 2 - use MFBT's double-conversion code in nsString::AppendFloat; r=bz,gps
2013-09-24 13:36:55 -04:00
Olli Pettay
db10fb4abb
Bug 936789 - Faster CC logger, r=mccr8
2013-11-09 23:15:44 +02:00
Chris Peterson
9520bfb3de
Bug 936336 - Remove unused private member variable MacIOAutoObservation::mFd. r=jonasfj
2013-11-07 20:13:20 -08:00
Olli Pettay
1dcdd1115e
Bug 732815, make Atom's hash value to be the same what strings use, r=bz
2013-11-09 01:29:09 +02:00
Markus Stange
f4088ca44b
Bug 936074 - Fix nsIHandleReportCallback typo. r=njn.
...
Affects DMD-only builds so DONTBUILD.
--HG--
extra : rebase_source : 3fa91414cd99bca0490682c2619e84cc62e4b1e2
2013-11-08 14:48:31 +11:00
Trevor Saunders
c056c06f2a
bug 931792 - only init sCanaryOutputFD once r=bsmedberg
2013-10-29 16:58:09 -04:00
Kamil Jozwiak
023958a6b3
Bug 933580 - Will switch to the Desktop when downloading a PDF and the default application is not the Windows App Reader. r=jimm
2013-11-07 13:55:47 -05:00
Mike Hommey
bf5fdbbd38
Bug 862770 - Fix --disable-compile-environment a little. r=gps
...
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey
53e380d1ff
Bug 935387 - Remove non recursed install targets. r=mshal
2013-11-07 10:37:45 +09:00
Mike Hommey
47f95a5be2
Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps
2013-11-07 10:37:44 +09:00
Andrew McCreight
f2b04a12d6
Bug 934568 - Don't make ScanRoots CC OOM assertion fatal due to Win7 debug M2 failures. s=smaug
2013-11-06 16:58:13 -08:00
Andrew McCreight
1b9cc2e51b
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
ISHIKAWA, Chiaki
68fbfbdbdc
Bug 931703 - Add unhandled/missing errno for NSRESULT_FOR_ERRNO macros. r=bsmedberg
2013-11-06 09:06:03 -05:00
Carsten "Tomcat" Book
75228a8075
merge mozilla-inbound to mozilla-central
2013-11-06 13:07:50 +01:00
Matt Brubeck
c8681d87a8
Bug 935376 - Back out 2e6063aa9b77 (bug 328755) on suspicion of causing a crash in ntdll
2013-11-05 21:12:56 -08:00
Nicholas Nethercote
b9e0d05f7e
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Wes Kocher
dd4af2cd82
Merge m-c to inbound
2013-11-05 18:25:40 -08:00
Wes Kocher
4a2a8b4b8e
Merge inbound to m-c
2013-11-05 17:50:18 -08:00
Wes Kocher
fc8e87ff63
Merge fxteam to m-c
2013-11-05 17:38:24 -08:00
Kyle Huey
90d7e97201
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Benoit Jacob
0e5debd55a
Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8
2013-10-27 07:51:31 -04:00
Brian R. Bondy
4cad9d9c52
Bug 924894 - Split prefs files up for Metro and Desktop when running in the same profile. r=jimm
2013-11-05 13:20:39 -05:00
Mike Hommey
44619982dd
Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
...
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
James Kitchener
c75c6853ab
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2013-11-04 14:22:37 -05:00
Nicholas Nethercote
a277702631
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Jonas Finnemann Jensen
698b895a6f
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
Dan Minor
9922c81cb2
Bug 931062 - Unit test TestPLDHash.cpp fails on Android; r=njn
2013-11-04 09:28:34 -05:00
Nicholas Nethercote
ae8608b5ae
Bug 933605 (part 2) - Don't declare all vars at the top of functions in pldhash.cpp. r=jorendorff.
...
--HG--
extra : rebase_source : 53da17b46bd986ceefbc66f23e43d2f5b7290fad
2013-10-31 22:33:29 -07:00
Nicholas Nethercote
14a6fa3009
Bug 933605 (part 1) - Remove DEBUG_XXXbrendan-only code. r=jorendorff.
...
--HG--
extra : rebase_source : 8ebc751e246cf133f899a8563e75f9bff77d9eda
2013-10-31 22:30:45 -07:00
Nicholas Nethercote
12f0e62ec1
Bug 933074 - Allow a pldhash to be reasonably overloaded if it cannot be grown further. r=jorendorff.
...
--HG--
extra : rebase_source : 0760f78d5332b4791899c1db649493eeca10b978
2013-10-30 18:22:31 -07:00
Chris Peterson
6891a65cbf
Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt
2013-10-29 21:04:41 -07:00
Mike Hommey
0b53da458d
Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal
2013-11-02 08:43:55 +09:00
Mike Hommey
91865c8cd6
Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps
2013-11-02 08:42:53 +09:00
Aaron Klotz
9a6fd4ca6c
Bug 827416: Adds profileHDDModel and profileHDDRevision to nsSystemInfo; r=bbondy
...
--HG--
extra : rebase_source : b0d012c1f2767b0002e3daa87294eb675cf8e29b
2013-11-01 16:54:25 -06:00
Ed Morley
52586dbcaf
Backed out changeset 38a50c61c285 (bug 931062) for compilation failures on a CLOSED TREE
2013-11-01 14:23:37 +00:00
Nicholas Nethercote
6ed92de861
Bug 931062 - Skip one test in TestPLDHash.cpp on Android because it tends to OOM; r=njn
2013-10-28 12:30:07 -07:00
ISHIKAWA, Chiaki
418fabb2d8
Bug 931720 - Return low-level error correctly from nsLocalFile::CopyToNative(). r=bsmedberg
...
Fix copytonative to return better meaningful error (from errno) when PR_Write()/PR_Read() failed (e.g., failed to write to full file system, etc.)
2013-10-31 23:04:11 -04:00
Cykesiopka
8f1664416c
Bug 887832 - moz.build: Fix other remaining OS_TEST==arm references in the tree. r=gps
2013-10-31 22:48:45 -04:00
Daniel Holbert
17bbc689ce
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
218c25cdbc
Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8.
...
--HG--
extra : rebase_source : a96709da6d9a880a03e2e79149ba0e3558b4a355
2013-10-24 21:39:16 -07:00
Nicholas Nethercote
3a359b4bb5
Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
...
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Nicholas Nethercote
9cd72931be
Bug 815467 - Store pldhash's recursionLevel in a better place, so that debug and non-debug pldhashes take up the same amount of memory. r=dbaron.
...
--HG--
extra : rebase_source : c3c928f6706be4ef55620f05320050991a657a6c
2013-10-30 15:10:06 -07:00
Mike Hommey
f255cb180f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Mike Hommey
4485dfd873
Bug 932178 - Move ASFILES to moz.build in xpcom/reflect/xptcall/src/md/unix. r=gps
...
This also cleans up assembler-with-cpp flags, by renaming .s files to .S,
which are preprocessed without requiring additional flags. Also clean up
the generated assembly torture.
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.S
2013-10-30 07:46:17 +09:00
Gabriele Svelto
fab6857afe
Bug 906754 - Ensure that TimeStamp's static fields are initialized only once. r=froydnj
2013-10-28 20:50:09 +01:00
Phil Ringnalda
bf0b9dd61e
Merge m-c to m-i
2013-10-28 17:14:46 -07:00
Christian Holler
8fc5734b53
Bug 829617 - Make access to gTimestamp in HangMonitor atomic. r=froydnj
...
--HG--
extra : rebase_source : d40c8aee4dec4da601d451e29eb84c679ec60e9c
2013-10-29 00:29:00 +01:00
Lukas Blakk
914f4b3b58
Merging in version bump NO BUG
2013-10-28 13:37:48 -07:00
Gregory Szorc
8a2d15ca5d
Bug 927837 - Don't manage generated files in configure; r=glandium
...
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Nicholas Nethercote
b38b84f869
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
Phil Ringnalda
0f6fec1509
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
645cba6965
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
Phil Ringnalda
6f8ea3541e
Back out 338760b1955c (bug 902922) for discovering that we have a cycle collecter OOM 100% of the time in Win7 mochitest-2 shutdown
2013-10-27 09:38:35 -07:00
Benoit Jacob
c46d04715d
Bug 902922 - OOM assertions in the cycle collector should be fatal in debug builds - r=mccr8
2013-10-27 07:51:31 -04:00
Ed Morley
4c8f0397a2
Backed out changeset 82d5d92a3eac (bug 915555) for build failures on a CLOSED TREE
2013-10-25 17:59:24 +01:00
Jeff Walden
a130aa5512
Bug 915555 - Don't redundantly cast an unnamed expression to an rvalue reference, because 1) it's dumb, and 2) gcc 4.4 warns about casting an rvalue reference to an rvalue reference (which is harmless due to C++11's rvalue semantics). f=hub, r=trivial
2013-09-12 10:55:14 -07:00
Ed Morley
d339853f4e
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
Cykesiopka
e0bcd6aebc
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Jonas Finnemann Jensen
25dc345fdc
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
Carsten "Tomcat" Book
14a3507643
Merge Mozilla-Inbound to Mozilla-Central
2013-10-25 10:12:00 +02:00
Karl Tomlinson
870bbe7dd2
back out 242bb2279283 from bug 928222 on suspicion of causing bugs 930495 930479 930428
2013-10-25 17:40:39 +13:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Andrew McCreight
ab63e479c1
Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug
2013-10-19 08:59:10 -07:00
Karl Tomlinson
7356a80cad
b=928222 remove nsThreadPool per-thread event queues r=bsmedberg
...
The way idle nsThreadPool threads wait with a timeout doesn't work well with
shutdown from nsThreadManager.
nsThreadPool doesn't need to use nsIThread for its threads. The nsIThread
interface is not useful for threads running in an nsThreadPool.
The nsIEventTarget on the nsIThreadPool should be used for dispatching events,
not an interface on the individual threads, and the threads don't need an
nsEventQueue because they use the nsEventQueue on the nsThreadPool.
Shutdown of single event threads is easier than running nested event loops for
nsIThreads, avoiding the multilevel nested event loop situations when several
threads finish and are shutdown. While the ThreadFunc is running, a nested
event loop is still used in Shutdown() in case some consumers might need it
and because that is the documented API.
This also simplifies thread creation, avoiding races that could mean there was
temporarily an extra thread or more.
--HG--
extra : transplant_source : %F7%14%16%12%EF%E9%84%19D%26%3C%FE%1F%EC%FF%A3%BAG%C4%F3
2013-10-24 09:31:15 +13:00
Karl Tomlinson
479f466a6d
b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg
...
--HG--
extra : transplant_source : %13O%CF%90x%02%B8%B6%A3%EA%AD%03%99%9A7%1B%A0%21%C4%A3
2013-10-24 07:22:53 +13:00
Karl Tomlinson
e914e6bb1a
b=926522 remove unecessary shutdown code from ~nsThreadPool r=bsmedberg
...
While threads are processing their initial runnable, which is the nsThreadPool, it will not be
destroyed. The threads remove themselves from mThreads before returning from Run().
This includes removal of changes from bug 900711.
--HG--
extra : transplant_source : %EF%E9%94L%E9d%F5%99b%09r%CB%024%86%88%BA%EFi%29
2013-10-24 07:21:37 +13:00
Nathan Froyd
66aef536b3
Bug 927551 - make darwin xptcall sources compilable in a singlepass universal build; r=bsmedberg,glandium
2013-10-16 15:25:36 -04:00
Nathan Froyd
7efcdc0a70
Bug 927427 - use __LP64__ in FileUtils.cpp for Linux; r=bsmedberg
2013-10-16 11:14:05 -04:00
Nicholas Nethercote
35059be3df
Bug 929791 - Fix invalid JSON generation when dumping memory reports to file after viewing about:memory in the presence of child processes. r=mccr8.
2013-10-22 16:58:33 -07:00
Nicholas Nethercote
d58b8ff6f4
Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
...
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Nathan Froyd
fa82c2129e
Bug 929494 - use template typedefs, not inheritance, to define nsTArray element copiers; r=ehsan
...
There's no reason to use inheritance here, and using plain typedefs avoids massive
amounts of code duplication for the common case of copying with mem*. Code savings
on Android come in at about 570K (!), or ~2% of libxul .text size, which is a massive
win.
2013-10-22 10:36:34 -04:00
Nicholas Nethercote
5b8e9b8bf7
Bug 927705 (part 3) - Add a C++ unit test for pldhash. r=jorendorff.
...
--HG--
extra : rebase_source : 58cddfff7da6116af7512097c3a6172ca1c06b87
2013-10-21 15:44:03 -07:00
Nicholas Nethercote
bff6066f1d
Bug 927705 (part 2b) - Never overload pldhash past 75% full, because performance plummets near the end. r=jorendorff.
...
--HG--
extra : rebase_source : 7d3a0594e49ceb89550861debca03a40d3e479c1
2013-10-21 15:44:01 -07:00
Nicholas Nethercote
091ff4359a
Bug 927705 (part 2a) - Increase pldhash's max capacity from 1<<23 to 1<<26, and protect against uint32_t overflow when computing storage size. r=jorendorff.
...
--HG--
extra : rebase_source : 9293ec75e5ba8ad416d66ad6bf0c0788c0d35b02
2013-10-21 15:36:45 -07:00
Nicholas Nethercote
ff98ed6578
Bug 927705 (part 1) - Remove PL_DHashTableSetAlphaBounds() and the supporting machinery. r=jorendorff.
...
--HG--
extra : rebase_source : 0b97b3276ec91d417fcfc12fe871d93b0cbd2263
2013-10-20 20:17:48 -07:00
Mike Hommey
94e89c1def
Bug 927775 - Cleanup xpcom/typelib/xpt/tools/Makefile.in. r=mshal
2013-10-22 10:02:49 +09:00
Benjamin Smedberg
918d9a5ff9
Bug 927944 part B - move AutoCriticalSection to nsWindowsHelpers.h and use it instead of manual lock handling in nsWindowsDllBlocklist.cpp, r=ehsan
...
--HG--
extra : rebase_source : 54e55b729263bffbb5a92c3336eacf248e99a659
2013-10-18 14:24:51 -04:00
Ms2ger
39b292cc30
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
34421d0936
Bug 908142 - Part c: Move FAIL_ON_WARNINGS to moz.build in xpcom/tests/; r=gps
2013-10-20 09:25:19 +02:00
Ms2ger
88f73ee0bb
Bug 923395 - Part b: Remove makefiles that only set LOCAL_INCLUDES and DEFINES; r=gps
2013-10-20 09:25:19 +02:00
Andrew McCreight
8cfa1d97d8
Bug 923486, part 2 - Define NS_IsMainThread out-of-line in ASAN builds. r=ehsan
2013-10-03 11:58:41 -07:00
Andrew McCreight
e9c045806a
Bug 923486, part 1 - Harmonize ordering of definitions of NS_IsMainThread(). r=ehsan
2013-10-17 06:24:30 -07:00
Ehsan Akhgari
4a6090fdcb
Bug 928434 - Fix the invalid format string in nsMemoryImpl::IsLowMemoryPlatform; r=bsmedgerg
...
--HG--
extra : rebase_source : 115fb93cb90a2004168032a4ad1d998a5dfb192d
2013-10-18 20:34:57 -04:00
Ehsan Akhgari
b02212d91b
Bug 928040 - Remove some prtypes.h inclusions from xpcom/; r=bsmedberg
...
--HG--
extra : rebase_source : 2f238320ba8330a27aa986af1146446dcb5d7128
2013-10-18 20:34:57 -04:00
Masatoshi Kimura
11b1ec2573
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Olli Pettay
129aa70c07
Bug 927813 - Some micro-optimizations for Suspect, r=mccr8
2013-10-17 17:05:13 +03:00
Ehsan Akhgari
9bf1bff8b4
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Phil Ringnalda
214fbe3acd
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
6f865c67f5
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Mike Hommey
5badab1842
Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps
2013-10-17 07:55:16 +09:00
Narihiro Nakamura
e0ce23d5df
Bug 899477 - Remove unused COMPONENT_DIRECTORY macro. r=bsmedberg
2013-10-15 13:54:10 -04:00
Gregory Szorc
c194b3b09b
Bug 917753 - Add XPIDL files to clean target; r=glandium
2013-10-11 07:32:49 -07:00
Nathan Froyd
2fdb664d3b
Bug 925173 - don't depend on HAVE_64BIT_OS in FileUtils.cpp; use the standard __LP64__ macro instead; r=bsmedberg
...
This point in the code is Mac-specific, so we are free to use Mac-specific macros
here. Just use __LP64__ instead of HAVE_64BIT_OS.
2013-10-09 17:15:53 -04:00
Birunthan Mohanathas
3bd29c41c6
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
2013-10-10 16:42:16 -04:00
Birunthan Mohanathas
3926b031ae
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Birunthan Mohanathas
c09e07a17c
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Benjamin Smedberg
d8185b20ac
Bug 753687 - nsCategoryCache implementation doesn't free old category entries if their contract mapping is removed using .unregisterFactory. Store the factory objects directly in the map, instead of keeping both a map and a separate list. r=froydnj
2013-10-10 08:48:03 -04:00
Daniel Holbert
a11d4cad75
Bug 925066: Remove unused "#include nsDebug.h" from nsAlgorithm.h. r=jst
2013-10-09 17:13:49 -07:00
Daniel Holbert
abfb15d3ac
Bug 925129: Remove VC9-and-earlier chunk from nsAlgorithm.h, since we don't support building with VC9 and earlier. r=ehsan
2013-10-09 17:03:34 -07:00
Josh Aas
22f5da1a7f
Bug 923893: Use safer and not-deprecated NSFileManager APIs instead of 'fileAttributesAtPath:traverseLink:'. r=smichaud moa=bsmedberg
2013-10-09 12:11:13 -05:00
Arun
00fdc604e7
Bug 881237- Unlock mLock before logging, r=bsmedberg
2013-10-09 10:38:34 -04:00
Mina Almasry
aa3ff733ae
Bug 863966 - Improve perf of querySelector by caching selector list. r=bz
2013-10-09 09:20:45 -04:00
Josh Aas
4b563f2307
Bug 786118: Use 'stat' and 'lstat' instead of 'stat64' and 'lstat64' on OS X. The '*64' functions are deprecated, regular 'stat' and 'lstat' are 64-bit capable. r=bsmedberg
2013-10-09 01:01:27 -05:00
Josh Aas
27cbab7ee2
Bug 923894: Fix comparison of integers of different signs in mozPoisonWriteMac.cpp.
2013-10-07 17:12:53 -05:00
Tareq Khandaker
3c7462ff19
Bug 855847 - Fix misleading console warning. r=yoric
2013-10-04 13:16:53 -04:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Makoto Kato
344637e7f8
Bug 919874 - Don't export xptcstubs on Win64. r=bsmedberg
2013-10-02 13:48:01 +09:00
Lucas Rocha
79d3557f7b
Bug 906230 - Add HardwareUtils.isLowMemoryPlatform() (r=kats)
2013-10-01 14:22:15 +01:00
Ryan VanderMeulen
2a773817b4
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Bill McCloskey
269803fbc6
Bug 921293 - Don't print NS_WARNINGs if an environment variable is set (r=bsmedberg)
2013-09-30 13:30:39 -07:00
Ryan VanderMeulen
e5b66a5e17
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Benjamin Smedberg
13993a098f
Bug 920695 part A - move xpcshell code into libxul and make the xpcshell binary just a stub, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
rename : js/xpconnect/shell/jsshell.msg => js/xpconnect/src/jsshell.msg
extra : rebase_source : 9a2ab7508e3cb7a6bfec6b1e98f49799221d1376
2013-09-30 16:09:28 -04:00
Jon Coppeard
83e29f6c60
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 13:05:32 +01:00
Ed Morley
cb930ea338
Backed out changeset 3e20fa222424 (bug 913224) for crashes on Android 4.0
2013-09-30 12:53:32 +01:00
Jon Coppeard
ef944789ee
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 11:20:08 +01:00
Ed Morley
ddfe230f71
Backed out changeset 0904d8d19947 (bug 913985)
2013-09-30 11:05:35 +01:00
Chris Kitching
a48850241f
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-30 09:07:34 +02:00
Ehsan Akhgari
019f6a95dd
Backed out changeset a73ffb0d0c97 because of build bustage
2013-09-29 17:20:07 -04:00
Ehsan Akhgari
996fe50ca8
Remove a number of unused variables, no bug
2013-09-29 16:42:12 -04:00
Andrew McCreight
23fcdadf9b
Bug 915488 - Make CC participant's Root, Unroot and Unlink methods infallible. r=smaug
2013-09-11 18:57:53 -07:00
Ryan VanderMeulen
0cfa34ad65
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
Nathan Froyd
98723f4c48
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Chris Kitching
9eed6c7f16
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9
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
0d37cfdd60
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Gregory Szorc
2b2720f0c8
Bug 921070 - Remove precompile tier; r=glandium
...
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
Wes Kocher
c85aca514e
Backed out changeset 9cc4d49b29b0 (bug 881237) for xpcshell failures
2013-09-26 15:32:59 -07:00
Arun
2042eda98c
Bug 881237: mLock released before logging the warning. r=bsmedberg
2013-09-27 02:19:16 +05:30
Adam Roach [:abr]
abe0db8fec
Bug 842549 - Part 5: Fix slots cleanup when VcmSIPCCBinding is destroyed r=ekr
2013-09-25 19:58:16 -05:00
Nicholas Nethercote
9c1dfff707
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
CLOSED TREE
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
e670fcccd8
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
2013-09-19 15:52:28 -07:00
Phil Ringnalda
f2d9988dbb
Backed out 3 changesets (bug 913260)
...
CLOSED TREE
Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
6a709f70b8
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
8bd7f32128
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
...
--HG--
extra : rebase_source : cc6f50d85f384ed665d44b2e8850618fd8a56fa5
2013-09-19 15:52:28 -07:00
Benoit Jacob
89bfa53c22
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Gregory Szorc
160a20817c
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Nathan Froyd
ae0f2861dd
Bug 919672 - lower the suspect referent count for the observer service's memory reporter; r=njn,wchen
...
I have a couple score (hundreds?) of open tabs and have been noticing of late
that the observer service has 4k+ observers for such a session. I was a bit
surprised by this, and lowered the suspect referent count a bit to see if I
could determine what was going on.
There's nothing particularly unusual with my setup, but I'd like to propose
that the count be lowered somewhat anyway. I think it's useful for about:memory
to provide as much information as possible about what might be going on. I've
also tried to update the explanatory text to indicate that merely having high
counts is not necessarily symptomatic of a leak.
2013-09-23 15:09:26 -04:00
Nathan Froyd
ab80144a2f
Bug 915765 - fix -Wformat warnings in xpcom/; r=bsmedberg
...
Unfortunately this doesn't fix all platforms, since Android's inttypes.h doesn't
have the right macros for intptr_t at least, but it makes the situation a little
better.
2013-09-12 13:18:36 -04:00
Karl Tomlinson
974a9bece7
b=914033 add cycle collection helpers for nsTHashtable and nsRefPtrHashKey r=khuey
...
--HG--
extra : transplant_source : %5D%26%5C%A8%0A%AAg%FE%B57%F6%BChvl%FFg%F8%9E%C6
2013-09-24 13:47:30 +12:00
Kyle Huey
abd89523b8
Bug 919380: Disable threadsafety assertions when --enable-profiling is set. r=smaug
2013-09-24 09:53:40 +08:00
Daniel Holbert
5666fa06e3
Bug 919825: Annotate class nsSecurityConsoleMessage as MOZ_FINAL to fix -Wdelete-non-virtual-dtor GCC build warning. rs=ehsan
2013-09-23 17:05:27 -07:00
Ehsan Akhgari
9890a8c148
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ryan VanderMeulen
de22f29668
Merge m-c to inbound.
...
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Ryan VanderMeulen
07fae314e4
Merge fx-team to m-c.
2013-09-23 17:00:26 -04:00
David Rajchenbach-Teller
a8e44d492e
Bug 918765 - nsIConsoleListener is now a function. r=dougt
2013-09-23 09:22:15 -04:00
Ehsan Akhgari
b91ba4ba3a
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Ehsan Akhgari
8b2d7e0626
Bug 918927 - Minimize the #includes in chrome/; r=bsmedberg
2013-09-23 13:26:47 -04:00
Ehsan Akhgari
dee6c12c6f
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
Ehsan Akhgari
ed7c8946ff
Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg
2013-09-23 13:23:56 -04:00
Viral Wang
9cf164874a
Bug 906538 - Update user agent to tablet if ro.build.characteristics is "tablet". r=fabrice
2013-09-23 09:03:16 -04:00
Joey Armstrong
40610114be
bug 882907: move SDK_LIBRARY to mozbuild. r=mshal
2013-09-20 18:00:48 -04:00
Daniel Holbert
425a2d23d1
Bug 918882: Remove no-longer-used 'rv' variable. r=njn
2013-09-20 14:20:27 -07:00
Cykesiopka
5c68328e57
Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey
2013-09-19 17:29:32 -04:00
Ehsan Akhgari
9cafa40bbe
Bug 918105 - Minimize the #includes in xpcom/ds; r=bsmedberg
2013-09-19 15:31:21 -04:00
Ehsan Akhgari
a2c0c65e43
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:29:31 -04:00
Ehsan Akhgari
9b717619cf
Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch
2013-09-19 14:27:35 -04:00
Ehsan Akhgari
dc575f6de1
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:12:56 -04:00
Benoit Jacob
43fcdc2ede
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Benoit Jacob
4a4ba29eb1
Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan
2013-09-19 09:54:41 -04:00
Wes Kocher
774fbc25da
Backed out changeset 4eb44a3149ed (bug 913847)
2013-09-18 17:19:23 -07:00
Wes Kocher
ee41ec25e3
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
af97fdd40d
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Benoit Jacob
7b95f58c00
Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan
2013-09-18 18:50:32 -04:00
Mike Hommey
7371888973
Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
...
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Trevor Saunders
b67894985c
bug 915566 - rm makefiles in xpcom/ r=glandium
2013-09-12 08:15:51 -04:00
Joshua Cranmer
84029df5aa
Bug 904985 - Use Char16.h in favor of NS_LL, Part 3: kill NS_LL. r=dbaron
...
--HG--
extra : rebase_source : bc105a8cbb87cc9b6b2db0734d9841fe599e794b
2013-09-17 22:43:21 -05:00
Joshua Cranmer
0706184d74
Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
...
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Ryan VanderMeulen
8babb6cb0e
Merge m-c to inbound on a CLOSED TREE.
2013-09-17 16:55:23 -04:00
Gregory Szorc
b428979adc
Merge mozilla-central into build-system
2013-09-17 09:16:10 -07:00
Alex Keybl
63a42a7016
Merging in version bump NO BUG
2013-09-17 09:38:37 -04:00
Gregory Szorc
daf13ad006
Bug 907902 - Create system isolated virtualenv, remove --system-ply support; r=glandium
2013-09-16 17:21:59 -07:00
Bill McCloskey
a3fd52315b
Bug 905926 - Move rambo GC to runtime destruction. r=jonco
2013-09-17 09:46:32 -07:00
Bobby Holley
ac7034ec92
Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm
2013-09-17 09:46:31 -07:00
Ehsan Akhgari
d4b0483708
Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg
...
--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
2013-09-17 12:05:13 -04:00
Aryeh Gregor
3c50a2fa98
Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan
2013-09-17 14:05:12 +03:00
Ed Morley
c39b834022
Merge mozilla-central and inbound
2013-09-17 15:30:21 +01:00
Robert Longson
4bc18dc4e1
Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert
2013-09-17 13:52:39 +01:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
025fc12dba
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Brian O'Keefe
9e97c27fb4
Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps
2013-08-30 09:09:06 -04:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
David Rajchenbach-Teller
749f52a2aa
Bug 927407 - Optimizing NS_{Input, Output}StreamIsBuffered to avoid unnecessary main thread I/O in trivial cases
2013-10-16 07:42:00 +01:00
Ryan VanderMeulen
6f4ced18e9
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Gijs Kruitbosch
00d952723a
Backing out 2a19516ee700 (bug 912908) for causing bug 915536, rs=ttaubert over IRC
2013-09-12 17:42:07 +02:00
Ryan VanderMeulen
982559c42b
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
b2d6edce8e
Merge fx-team to m-c.
2013-09-11 21:48:20 -04:00
William Chen
232aca929f
Bug 903285 - Add referent count reporting to pref service memory reporter. r=njn
2013-09-11 11:20:22 -07:00
Tim Taubert
2247babe27
Bug 911146 - Add nsIAppStartup attribute to tell whether the app was restarted; r=bsmedberg
2013-09-11 03:40:45 +02:00
Andrew McCreight
e696bd7ef8
Bug 913666, part 5 - Rename aListener to aManualListener. r=smaug
...
The name "aListener" is not very descriptive, and with the previous patch, it is only
used to pass in a manually-specified listener that was passed in to CycleCollectNow,
so rename things.
2013-09-10 16:33:41 -07:00
Andrew McCreight
f0278c3e2d
Bug 913666, part 4 - Sink free floating code from nsCycleCollector::Collect into BeginCollection. r=smaug
...
The hg diff for this commit is terrible, but all it is doing is taking the code
in nsCycleCollector::Collect from after PrepareForCollection through BeginCollection
and moving it into BeginCollection.
2013-09-10 16:33:41 -07:00
Andrew McCreight
cb66bb7e69
Bug 913666, part 3 - Sink cycle collector listener selection into Collect. r=smaug
...
Move the two places we check global flags to decide if we want to use a listener, even if we
aren't passed in one. A later patch renames aListener to aForcedListener to make it less
confusing.
2013-09-10 16:33:40 -07:00
Andrew McCreight
2851755cfd
Bug 913666, part 2 - Log cycle collector garbage at the same time we log roots. r=smaug
...
There's no reason to wait until CollectWhite to record what is garbage, and with incremental CC
we'll get more accurate logging by logging right away, rather than waiting until later when an
object may have gone away for some other reason.
2013-09-10 16:33:40 -07:00
Andrew McCreight
77e29a7283
Bug 913666, part 1 - Move cycle collector root logging into ScanRoots. r=smaug
2013-09-10 16:33:39 -07:00
Andrew McCreight
4864cf7795
Bug 913881, part 6 - Measure weak map representations in the cycle collector graph. r=njn
...
Contrary to the comment here, I'm pretty sure this needs to be measured. mWeakMaps
is an array of little structs. Of course, in practice I doubt this amounts to anything.
2013-09-10 08:56:36 -07:00
Andrew McCreight
78ec0916e5
Bug 913881, part 5 - Assert for freeing snow white during cycle collector scanning. r=smaug
...
If you call FreeSnowWhite when scanning is true, then objects that get released won't be added to the purple buffer, and you can get leaks.
2013-09-10 08:56:36 -07:00
Andrew McCreight
bbb89961cd
Bug 913881, part 4 - Change nsCycleCollector::ClearGraph to GCGraph::Clear. r=smaug
...
There's no reason I can see to have this in nsCC instead of GCGraph.
2013-09-10 08:56:36 -07:00
Andrew McCreight
7bfbfc66c2
Bug 913881, part 3 - Fix argument name for GCGraphBuilder::AddNode. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
bdf5847bcf
Bug 913881, part 2 - Make a bunch of nsCycleCollector methods private. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
01ac3fd277
Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
c4d62e9716
Bug 913527, part 3 - Check for collection in progress in Collect. r=smaug
...
Moving this to the top level simplifies dealing with PrepareForCollection a bit.
2013-09-10 08:56:34 -07:00
Andrew McCreight
fd080f6291
Bug 913527, part 2 - Remove empty CC graph optimization. r=smaug
...
This looks like a dubious optimization to skip most of a CC when the graph
is empty, dating from the dawn of the CC, but I doubt it is ever triggered
nowadays.
2013-09-10 08:56:34 -07:00
Andrew McCreight
bd3a15bbd8
Bug 913527, part 1 - Get rid of FinishCollection. r=smaug
...
This can just be inlined now, with the cleanup parts moved into CleanupAfterCollection.
2013-09-10 08:56:34 -07:00