Commit Graph

2174 Commits

Author SHA1 Message Date
Daniel Holbert
47c3272b4e Bug 670542 patch 3: Workaround to make session restore work with principals that were serialized before this bug's IID rev. r=jst 2011-07-26 22:14:08 -07:00
Chris Pearce
3683db2819 Bug 664341 - Provide API to specify thread stack size. r=bsmedberg 2011-07-27 15:26:47 +12:00
Ed Morley
941024e8ab Bug 665541 - Remove unused instances of variable iface_info from xptcstubs_*.cpp; r=bsmedberg 2011-07-26 10:04:18 -04:00
Andrew McCreight
cf9fbb4c46 Bug 665995 - Memory reporter for cycle collector. r=bent 2011-07-08 15:49:31 -07:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Justin Lebar
4c7c7773bc Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn 2011-07-07 09:14:53 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Timothy B. Terriberry
d8e5f86ad1 Bug 668672 - Respect HAVE_ARM_NEON in MSVC NEON detection, r=jmuizelaar 2011-06-30 16:26:30 -07:00
Justin Lebar
a85147aac4 Bug 672731 - Followup to fix botched merge. Update the comment for UNITS_COUNT in nsIMemoryReporter. r=njn 2011-07-26 09:19:55 -04:00
Andrew McCreight
75e9df8a09 Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv 2011-06-17 16:19:41 -07:00
Justin Lebar
052b79f0ee Bug 657917 - Update nsIClassInfoImpl docs. r=peterv
--HG--
extra : rebase_source : 1815579133e03e9f1579ea5f1d3deb784be45e11
2011-05-20 12:37:32 -04:00
Mike Hommey
3e357285d9 Bug 671570 - Cleanup temporary files from test_iniProcessor.js. r=bsmedberg 2011-07-21 09:57:07 +02:00
Mike Hommey
cb537f7367 Bug 671564 - Initialize NS_XPCOM_LIBRARY_FILE from NS_GRE_DIR. r=bsmedberg 2011-07-21 09:57:07 +02:00
Mike Hommey
f2e4962345 Bug 670788 - When looking for the executable path on Unix, only use realpath() when we got a file path in the first place. r=bsmedberg 2011-07-21 09:55:51 +02:00
Nicholas Nethercote
f3aebefb11 Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar. 2011-07-20 21:08:24 -07:00
Jeff Muizelaar
f5865f36e6 Bug 539093. TimeStamp implementation for OS X using mach_absolute_time. r=cjones
--HG--
extra : rebase_source : 66c407448f94ae1b9efa8c7d0d7291e22b5e6191
2011-07-20 14:27:10 -04:00
Jeff Muizelaar
5abdccf9ba Bug 672207. Add toMicroseconds() for more precision. r=cjones
--HG--
extra : rebase_source : a363b3c67c0cebf72777347e741e2499067c1fa3
2011-07-20 13:38:34 -04:00
Yu-Hsun Lin
b3ee61fe21 Bug 486081. Remove nsTime. r=roc
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Justin Lebar
470956d8ab Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Ehsan Akhgari
3be0b6110e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Brad Lassey
3df774710d bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Brian R. Bondy
8afc725de0 Bug 670068 - Open Containing Folder spawns multiple instances of explorer.exe. r=jimm 2011-09-08 11:37:43 -04:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Rafael Ávila de Espíndola
7476a87828 Revert e4c69005dea6 to see if OS X Bm goes green.
--HG--
extra : rebase_source : 7a98d5a9472af1c9085c1fbb9ab210649799a9b9
2011-09-07 18:20:55 -04:00
Rafael Ávila de Espíndola
1878bb4b35 Bug 684659 - Fix inline asm so that we can drop a use of -fno-omit-frame-pointer. 2011-09-07 15:33:48 -04:00
Andrew McCreight
8455baa711 Bug 679779 - Add a #define to always log CC graph. r=bent 2011-08-17 10:35:40 -07:00
Justin Lebar
702c021819 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
--HG--
extra : rebase_source : 3bbe2f926ba3b0c46a122d51b027a5a6283ae2b0
2011-08-05 18:22:11 -04:00
Jeff Muizelaar
6324ef934e Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones 2011-08-10 19:32:35 -04:00
Jeff Muizelaar
d976bd144d Bug 592009. Fix AppendPrintf to support more than 31 characters. r=bsmedberg
We can use vsmprintf to have the formatting code do the allocation for us.
2011-08-25 10:43:49 -04:00
Oleg Romashin
994208d9c8 Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg 2011-08-31 13:16:13 +01:00
Ms2ger
cb2d2be120 Bug 676649 - Include jspubtd.h automagically when necessary in IDL files; r=khuey 2011-08-08 17:14:34 +02:00
Ted Mielczarek
4c1a85c89f bug 681716 - use dlopen linking glue on iOS. r=bsmedberg 2010-11-05 09:11:57 -04:00
Ted Mielczarek
7dee353035 bug 682319 - use C99 isfinite on OS X, since finite is deprecated (and not present on iOS). r=bz 2011-08-29 11:14:27 -04:00
Mike Hommey
60b73b4219 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Jeff Muizelaar
cb92f6ff06 Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Doug Turner
529ac05c54 Bug 669105 - Leak-until-shutdown with deviceorientation and unload listeners. r=smaug 2011-07-06 22:56:32 -07:00
Marco Bonardo
94da8809f7 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Bill McCloskey
1e28f2359f Bug 662646 - Tests for new crash report API (r=ted) 2011-07-07 17:31:11 -07:00
Nicholas Nethercote
d263e03bd2 Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar. 2011-07-07 16:37:26 +10:00
Nicholas Nethercote
a74f9b9ef6 Bug 660731 - Add GetExplicit and GetResident methods to NSIMemoryReporterManager, attempt 3. r=khuey, sr=bz. 2011-07-07 15:54:34 +10:00
Boris Zbarsky
db0b1932e6 Bump the XPCOM module version number as well. 2011-07-05 16:10:52 -04:00
Justin Lebar
d118338822 Bug 668137 - Followup. Actually display vsize on Windows. r=khuey 2011-07-05 09:38:45 -04:00
Andrew McCreight
55cc0fa2b0 Bug 663920 - add telemetry for num of RCed and GCed nodes, and num collected. r=bent 2011-06-10 13:33:06 -07:00
Mike Hommey
d0f343df9f Bug 643779 - Allow to build nsDebugImpl.cpp on ARMv4T. r=dougt 2011-07-01 10:42:47 +02:00
Justin Lebar
cdf63080c2 Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn
--HG--
extra : rebase_source : c6609fbf0b470d1aa23937eea168f3780a2bc575
2011-06-30 19:54:42 -04:00
Justin Lebar
1b45b8710f Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 10:46:30 -04:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Mats Palmgren
cbb3da1e6e Bustage fix for bug 606085. r=bustage 2011-06-30 10:41:54 +02:00
Phil Ringnalda
eff8910ff9 Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X 2011-06-29 21:48:57 -07:00
Justin Lebar
29c3d90d47 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 00:10:50 -04:00
Trevor Saunders
79fe2a410f bug 606085 - add accessibility service to service list in xpcom/build/ServiceList.h r=bsmedberg 2011-06-28 16:26:57 -07:00
Benjamin Smedberg
18dc25c813 Bug 666938 - Add a console message when a binary component doesn't load because of a kVersion mismatch, r=Mossop
--HG--
extra : rebase_source : 7a950be04051e13c169af5d9852cef0e123d31a7
2011-06-24 14:08:13 -04:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E)
c0072a7363 Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.

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

This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Steven Michaud
a3f514445d Bug 668639 - Work around Apple's latest Java update for OS X 10.5 breaking Java in FF 4 and up. r=bgirard 2011-07-07 14:24:28 -05:00
Nicholas Nethercote
800388b615 Bug 666075 - Add memory multi-reporters. r=khuey, sr=bz. 2011-06-30 09:39:32 +10:00
Andrew McCreight
4c9425df02 Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent 2011-06-21 15:06:42 -07:00
Peter Van der Beken
2cc98005f0 Fix for bug 664388 (NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS uses wrong pointer). r=bent.
--HG--
extra : rebase_source : b98acfb314f8b3e59b31d10e6ac7bc7d965287a1
2011-06-21 15:23:35 +02:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Ben Turner
02f459f359 Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg 2011-06-24 14:12:54 -07:00
Kyle Huey
22c9dc99a7 Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Kyle Huey
b908447ca8 Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
f4d9366afb Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Kyle Huey
cb9b5a078f Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo
d50a414c3e Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Boris Zbarsky
794437f593 Back out bug 665564 (rev 9de9b3a9458c) and bug 666790 (rev 7d3d5b9710ea) due to Mac test orange. 2011-06-24 00:42:23 -04:00
Randell Jesup
1c939adf6e Bug 666501: fix jprof to work in builds without run-mozilla.sh r=glandium 2011-06-24 00:01:49 -04:00
Jonas Sicking
4baa58f25d Bug 661984: Add [nostdcall] as an extended idl attribute. r=bsmedberg 2011-06-23 19:17:58 -07:00
Andrew McCreight
c5b8664e7a Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Cameron Kaiser
8cdc35ab90 Bug 663899 - mark certain file extensions always executable; r=smichaud 2011-06-22 20:07:24 -07:00
Mike Hommey
48ff8f706d Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Makoto Kato
032a2ebaee Bug 665816 - nsGlueLinkingDlopen.cpp:161: error: expected unqualified-id before numeric constant with NDKr5 after landing bug 632404. r=glandium 2011-06-21 16:52:18 +09:00
Ehsan Akhgari
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
continuation@gmail.com
4508cf0dbb Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent
--HG--
extra : rebase_source : d588e910abe9404253c222c81abb25e0bae8fe7a
2011-06-15 15:53:00 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mike Hommey
54c811d7b4 Bug 662224 - Define NS_ATTR_MALLOC and NS_WARN_UNUSED_RESULT in xpcom-config.h, and include it from mozalloc.h. r=bsmedberg 2011-06-07 03:09:46 +02:00
Taras Glek
1513a94ec9 bug 661574: Implement telemetry directory r=Mossop+glandium+mwu 2011-06-20 14:47:58 -07:00
Taras Glek
b7235b42f0 bug 661574: Move nsITelemetry into toolkit r=Mossop
--HG--
rename : xpcom/base/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : xpcom/base/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : xpcom/tests/unit/test_nsITelemetry.js => toolkit/components/telemetry/tests/unit/test_nsITelemetry.js
2011-06-20 14:47:55 -07:00
Mounir Lamouri
3be4c39ecb Merging mozilla-inbound with mozilla-central. 2011-06-18 18:29:10 +02:00
Kyle Huey
a126d48900 Bug 664913: Add about:memory reporter for xptiWorkingSet. r=njn 2011-06-17 09:22:15 -07:00
Michael Wu
7bcc18e13a Bug 654489 - Remove fastload, r=bsmedberg 2011-06-17 15:53:52 -07:00
Mike Hommey
c45b867ecd Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey
d988b0e270 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey
7d2a5f6eb2 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey
ee6b8fc9f2 Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Matt Brubeck
7106b6286a Merge backouts from m-i to m-c to fix regressions on a CLOSED TREE 2011-06-15 09:46:11 -07:00
Matt Brubeck
24b42b347c Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Matt Brubeck
6a416ce1d6 Merge last green mozilla-inbound changeset to mozilla-central 2011-06-15 08:25:48 -07:00
Andrew McCreight
754c52bb6f Bug 663532 - Run GC from cycle collector in main thread, not CC thread. r=bent 2011-06-13 13:24:23 -07:00
Mike Hommey
5324e02805 Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted 2011-05-24 12:56:04 +02:00
Mike Hommey
4e720e7338 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey
eba2ad55d0 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey
9b8bddafa3 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey
085cc21666 Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Makoto Kato
5713f0f90a Bug 662765 - Respect _M_IX86_FP. r=jlebar 2011-06-13 17:12:33 +09:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Andrew McCreight
48af6523de Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv
--HG--
extra : rebase_source : 34b01a7e2a05a7ea35da408a20b5e97f21681af3
2011-06-09 14:55:29 -07:00
Andrew McCreight
72ae723faf Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv
--HG--
extra : rebase_source : d4b6b71ae273b4b570591d6548cfaed559598d49
2011-06-09 14:55:04 -07:00
Ehsan Akhgari
fd57a9f752 Merge mozilla-central into mozilla-inbound 2011-06-09 18:29:16 -04:00
Daniel Holbert
f9082b947a Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz 2011-06-09 12:10:42 -07:00
Joe Drew
c614445450 Merge mozilla-central into mozilla-incoming 2011-06-09 00:27:00 -04:00
Ehsan Akhgari
8ac0f10f71 Bug 656607 - Let the compiler do the pointer arithmetic, instead of manually performing it; r=sicking 2011-06-08 22:02:49 -04:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
96d5517885 Bustage fix for *nix platforms. 2011-06-08 12:52:42 -07:00
Justin Lebar
d0af29d047 Bug 660335 - Backing out e0cf03a641cf and a968740930d3 due to red. 2011-06-08 15:51:41 -04:00
Kyle Huey
121762b4a2 Bustage fix for *nix platforms. 2011-06-08 12:50:14 -07:00
Justin Lebar
8dccb66a45 Bug 660335 - Followup to fix red. 2011-06-08 15:06:01 -04:00
Kyle Huey
fabb917634 Bug 661529: Add an API in xpcom/ for encoding input streams to base64. r=bsmedberg sr=bz
--HG--
extra : rebase_source : 673ed4d1a0ab6dd62a4cf0fb2b25b190ecc0b012
2011-06-08 11:08:31 -07:00
Daniel Veditz
ca29160d23 bug 662309 speedbumps for archive formats, r=bsmedberg 2011-06-07 10:12:02 -07:00
Jesse Ruderman
a3638a85b4 Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg 2011-06-08 09:34:02 +02:00
Justin Lebar
df4d68b517 Bug 660335 - Force nsID to align to 64-bit boundary. r=bsmedberg 2011-05-27 16:50:37 -04:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Bill McCloskey
f7c5d49018 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ehsan Akhgari
31f121187d Bug 659546 - Silence clang warnings about alignment requirement increase in nsID::Equals after bug 164580; r=bsmedberg 2011-05-30 11:39:12 -04:00
Hernán Rodriguez Colmeiro ext:(%2C%20Mehdi%20Mulani%20%3Cmars.martian%2Bbugmail%40gmail.com%3E)
a8eb84d118 Bug 406026: Point users to a specific page for each blocklisted item. r=dtownsend 2011-05-25 14:31:56 -07:00
Shawn Gong
d399113e9b Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Benjamin Smedberg
e2e379caba Bump mozilla-central version numbers for the next release on a CLOSED TREE. 2011-05-24 13:51:50 -04:00
Kyle Huey
bb3e253c3d Backed out changeset 0bf1fe7f9be1 2011-05-24 08:58:55 -07:00
Mike Hommey
80401d54e0 Bug 655003 - On Linux, use -Os on normal builds and -O3 when PGO is enabled. r=ted,a=sheriff 2011-05-24 12:56:04 +02:00
Daniel Holbert
8affc3ab15 Bug 659187: Make member vars in nsMemoryReporterManager.h match ordering in constructor init list, to fix build warning. r=njn 2011-05-24 03:35:10 -07:00
Jason Duell
05cec30300 Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue 2011-05-24 02:32:26 -07:00
Jonas Sicking
4293ebbbed back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong
6af29d61e1 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Mike Hommey
3e6dabe86b Add missing file after backout aa83abd4fd01 2011-05-22 18:09:55 +02:00
Mike Hommey
19129a5b74 Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage 2011-05-22 17:52:16 +02:00
Mike Hommey
f17ef4149a Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey
9148621a36 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey
ad45dfb74f Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey
da98a37ad0 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey
c4f27da61c Bug 658273 - Move sqlite before nss in dependentlibs.list. r=bsmedberg 2011-05-22 08:22:27 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Taras Glek
5c954c3287 Bug 657709: Cleanup histogram API r=mrbkap
--HG--
rename : xpcom/base/nsTelemetry.cpp => xpcom/base/Telemetry.cpp
2011-05-19 19:33:05 -07:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ted Mielczarek
a7fa63e90b bug 654448 - don't call Typelib._sanitycheck after every merge in xpt_link. r=glandium 2011-05-16 08:04:47 -04:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

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

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

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

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

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

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

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

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

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

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Ted Mielczarek
e9454f8e7a bug 676589 - configure and xpcom changes for targeting iOS. r=khuey 2010-04-27 08:57:34 -04:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Peter Van der Beken
2f1dbc28dd Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
L. David Baron
3f90844e3c Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
Dave Townsend
7b8beb7836 Bug 566787: Use the windows API to get the home directory when possible. r=jimm, sr=bsmedberg 2011-04-21 09:36:44 -07:00
Gavin Sharp
e9ac5d6a43 Fix comment typo per bug 550611 comment 34 2011-03-30 15:55:00 -04:00
L. David Baron
31639e67d3 Move AddRef to before the unlock. (Bug 650674, patch 2) r=bsmedberg 2011-04-20 14:29:45 -07:00
L. David Baron
f0982d780b Don't hold nsProxyObjectManager's lock while calling delete on an nsProxyEventObject. (Bug 650674) r=bsmedberg 2011-04-19 21:22:39 -07:00
L. David Baron ext:(%2C%20Ehsan%20Akhgari%20%3Cehsan%40mozilla.com%3E)
6d108b8b8b Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480); r=dbaron,bsmedberg 2011-04-10 17:12:52 -04:00
Mitchell Field
0242a07b36 Merge mozilla-central to build-system. 2011-04-19 13:22:32 +10:00
Mitchell Field
f71a73dc12 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mike Hommey
f2e0cbff28 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Timothy B. Terriberry
6942d5d5c0 Bug 650162 - #ifdef out unused functions; r=dholbert 2011-04-14 18:14:19 -07:00
Phil Ringnalda
2387020259 Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg 2011-04-10 13:23:45 -07:00
Ehsan Akhgari
8d7694ac21 Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg 2011-04-14 10:19:14 -04:00
Ehsan Akhgari
7bb3346ed1 Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg 2011-04-14 10:18:02 -04:00
Serge Gautherie
7653666d53 Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
r=benjamin.
2011-04-14 12:47:41 +02:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Mike Hommey
22ee77c5ad Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00