Commit Graph

2663 Commits

Author SHA1 Message Date
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
ISHIKAWA Chiaki
7b3e7ddf1d Bug 697102 - Correct the comment for unregisterErrorStringBundle(); r=bsmedberg DONTBUILD 2011-10-31 18:03:29 +00:00
Zack Weinberg
d4654337a9 Bug 660687: Add configure switches that can override confvars.sh's choice of an app basename and disable all system extension directories. r=ted 2010-07-23 11:00:16 -07:00
Ted Mielczarek
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
Kyle Huey
896ca84140 Backed out changeset aa200a803e07 2011-04-13 23:17:02 -07:00
Kyle Huey
1fabe6561c Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg 2011-04-13 19:41:34 -07:00
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Chris Coulson
6b646698e9 Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00
Ehsan Akhgari
00e9f4a9f4 Back out changeset c509d8f8f423 (bug 627985, bug 614480) because of reftest suite shutdown timeout on Linux64 opt builds 2011-04-11 02:07:25 -04:00
L. David Baron
5024f62fc3 Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480) 2011-04-10 17:12:52 -04:00
Benjamin Smedberg
57f55bb3bb Bug 642795 - Remove support for registering and finding "system XULRunner" via config files or the registry. r=glandium
--HG--
extra : rebase_source : d42aa76683b6bb7de5df1b49b47f422a469201f4
2011-04-01 13:28:33 -04:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Luke Wagner
5954356511 Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv) 2011-04-07 16:53:33 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar
649e74e3f6 Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Andrew McCreight
ff37de748d Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Steve Harper
2ee441bddf Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm 2011-03-28 07:36:33 -05:00
Ehsan Akhgari
d1df3ecd6a Merge cedar into mozilla-central 2011-03-26 12:16:48 -04:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Markus Stange
635a2437ca Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc 2011-03-26 00:30:19 -04:00
Chris Leary
4f6b3c79c8 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Chris Jones
63313bea5e Bug 646259: Some trivial formatting fixes to deadlock detector output. r=bsmedberg 2011-03-31 14:51:19 -05:00
David Mandelin
30d90dd975 Bug 646304: Fix MSVC warning, r=bent 2011-03-29 19:05:12 -07:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
4e1b7d656b Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar
3e62f06d3f Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Mounir Lamouri
79b90fb960 Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg 2011-03-25 12:13:59 +01:00
Neil Rashbrook
96fa789ca2 Bug 540322 Add some missing methods to the external string API r=bsmedberg 2011-03-25 11:39:38 +00:00
Rafael Ávila de Espíndola
0b547569dd Bug 623132 - Add constructor for nsCaseInsensitiveCStringComparator (which inherits from nsCStringComparator) to placate CLang; r=bsmedberg 2011-03-24 19:28:57 -04:00
Rafael Ávila de Espíndola
4b8cd0c2c8 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
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-03-24 15:28:14 +01:00
Olli Pettay
26c20e1988 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Mark Banner
e1f8617d86 Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg 2011-03-23 15:13:41 -04:00
Josh Aas
cf0327e638 Bug 641927: Fix a large number of compiler warnings in Mac OS X code. r=benwa,bsmedberg 2011-03-23 11:46:57 -07:00
Benjamin Smedberg
fcee48bcb1 Bump the binary compatibility version post-branch. 2011-03-23 10:28:41 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Mounir Lamouri
265a85a205 Bug 637325 - Fix a typo in xpcom/tests/TestStrings.cpp:test_strip_chars. r=bsmedberg a=tests 2011-03-18 15:13:40 +01:00
Makoto Kato
d3c767a63e Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted 2011-03-07 15:54:21 +09:00
Kyle Huey
ee2b740dd2 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Brad Lassey
40bf82c592 bug 637487 - Unable to install extensions when Fennec moved to SD Card r=dougt a=blocking-fennec 2011-03-04 17:57:25 -05:00
Brad Lassey
4852cd6f0e bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+ 2011-03-01 19:32:32 -05:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Doug Turner
738a73c73f Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec 2011-02-16 10:43:23 -08:00
Brad Lassey
0379152ea0 bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+ 2011-02-28 11:32:05 -05:00
bent.mozilla@gmail.com
5e450f9830 Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker 2011-02-23 00:08:36 -08:00
Doug Turner
8c2a6d9061 backout of 74a64df4f758 a=build-bustage 2011-02-24 11:21:17 -08:00
Doug Turner
625a17d16a Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
--HG--
extra : rebase_source : adf4e4f912ac6cab8c48b91da35e22a2b3ba0916
2011-02-16 10:43:23 -08:00
Ehsan Akhgari
6309f84e6d Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ginn Chen
64f0f08dc4 Bug 633457 - "Firefox hangs at startup" (r=bent, a=hardblocker) 2011-02-11 20:49:00 -08:00
Ehsan Akhgari
c389b80a3c Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver 2011-02-17 16:18:53 -05:00
Olli Pettay
4835783840 Bug 634916 - Crash on shutdown [@ nsCycleCollector_collect] in DEBUG_CC code, r=peterv, a=NPOTB 2011-02-17 19:50:53 +02:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Jacek Caban
721991561f Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin 2011-02-15 12:30:58 +00:00
Ehsan Akhgari
455787745c Bug 633383 - Only walk the stack when aborting in debug builds; r=dbaron a=blocking-betaN
Please note that this patch only fixes possible bogus crashes in
NS_StackWalk which prevent us from getting useful abort reports.
2011-02-14 13:41:34 -05:00
Ehsan Akhgari
a6d6b2b419 Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN 2011-02-11 20:56:11 -05:00
Sean Dunn
85046fcaa6 Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
Chris Leary
7cd988f331 Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
bent.mozilla@gmail.com
44d355203f Fix DEBUG_CC (bug 615058, r=gal, a=NPOTB). 2011-02-09 17:34:22 -08:00
Rafael Ávila de Espíndola
304be53d2f Bug 623129 - x86_64 NS_InvokeByIndex_P asm decl to reserve registers is not guaranteed to work as advertised; r=glandium a=shaver 2011-01-26 15:27:34 -05:00
Makoto Kato
7518d2a843 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Mike Hommey
de12d28491 Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey 2011-02-25 15:02:04 +01:00
Mitchell Field
cac949ea6d Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
L. David Baron
4c809d9e63 Fix bustage from bug 594666. 2011-03-29 09:48:04 -07:00
Daniel Holbert
d3a8b8a506 Bug 624410: Add gcc-suggested parentheses in nsReadableUtils.cpp to silence build warning. r=dwitte 2011-03-29 08:47:53 -07:00
L. David Baron
d627c1e309 Add assertions that fire when callers using nsAutoLock or nsAutoMonitor use PR_NewLock or PR_NewMonitor directly. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
b2e59587e8 Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
8de770e5b6 Initialize statics in OnSemaphoreCreated so that we get data about locks created before any locks are locked. (Bug 594666) r=cjones 2011-03-29 08:43:23 -07:00
L. David Baron
5d2e1c3f7a Make nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor inline so that they have no overhead in non-DEBUG. (Bug 594666) r=cjones 2011-03-29 08:43:22 -07:00
Makoto Kato
99b3bfb912 Bug 617267 - xpcom/io/nsWildCard.cpp(212) : warning C4244: '=' : conversion from 'const PRUnichar' to 'char', possible loss of data 2011-03-28 17:26:31 -04:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
d611477b40 Bug 629697 - Cache the XPConnect services for accesses from Places; r=bsmedberg a=sdwilsh 2011-01-28 12:15:37 -05:00
Serge Gautherie
b66cc68010 Bug 619350 - Better identify the 2 'Deadlock detector correctness' tests; (Av1) Remove unwanted ";" at end of macros, Make test names and (failed) result logs more explicit, Add a log when skipping TestDeadlockDetectorScalability tests.
r=jones.chris.g a=(test only).
2011-02-03 10:57:00 +01:00
Ehsan Akhgari
e74c4501f8 Bug 631156 - Bug 628885 breaks non-libxul builds with an undefined reference error for CrashReporter::AppendAppNotesToCrashReport(nsACString_internal const&), r=cjones,a=roc 2011-02-03 21:43:29 +13:00
Jeremias Bosch
43d8ca0e70 Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
--HG--
extra : rebase_source : 435438ae2c39833353a958ba2770f0e44439d7bc
2011-02-03 08:31:36 +02:00
Rich Walsh
1c2645bfa7 Bug 611934 - OS/2 - implement fallocate() and fix build break; r=taras a=bsmedberg
--HG--
extra : rebase_source : fa550cc278888ae6b6cb0a36875b1287ebdd6bc3
2011-02-02 13:51:22 -05:00
Doug Turner
bba386c412 Bug 630595 - Followup. Do not need a dash before the option. Removing unused memory watcher. r=blassey, a=blocking-fennec 2011-02-02 01:00:34 -08:00
Chris Jones
ad76d4bbbc Bug 628885: Note in minidumps when we generate them by RUNTIMEABORT()ing. r=ted a=a
--HG--
extra : rebase_source : f5f0783b0bbf594cb7fd3a761bb3354b6859ecdd
2011-02-01 13:53:53 -06:00
Jacek Caban
d57448cfec Bug 627335 - Port patch from bug 567707 to GCC assembly r=timeless a=NPOTB 2011-01-30 21:20:23 +00:00
Doug Turner
d886cf3236 Bug 624652 - Add memory watcher to reduce the chance of ooming on the Nexus S. r=mwu/cjones. a=blocking-fennec
--HG--
extra : rebase_source : faf23b65fe8b5c64080c1ee3f6d4794e8837097d
2011-01-19 22:14:12 -08:00
Siarhei Siamashka
a60b2899ff Bug 619481 - after binutils upgrade, 'xptcinvoke_arm.cpp' fails to compile for ARM thumb2 with hardfp ABI r=Jacob.Bramley a=approval2.0 2011-01-20 08:27:51 +02:00
Dave Townsend
df7aab2ff1 Bug 474289: Automatically install add-ons distributed with the application into the user's profile. r=bsmedberg, r=robstrong, a=beltner 2011-01-19 14:37:24 -08:00
Mounir Lamouri
e89c5d6486 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
Boris Zbarsky
09d0569741 Bug 626259. Use the right statvfs fields for determining disk size. r=josh, a=blocker 2011-01-18 21:20:35 -05:00
Chris Leary
6805a382ac Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Makoto Kato
0b448d34d8 Bug 625629 - Don't define MMX in SSE.h since Microsoft compiler for x64 doesn't support MMX. r=jlebar a=bustage-fix 2011-01-18 14:08:47 +09:00
Andreas Gal
6278051362 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
Jonathan Protzenko
99c88d604b Move comment for nsTObserverArray near the start of the file, r=bz a=bz over IRC. DONTBUILD 2011-01-14 18:15:27 +01:00
Masatoshi Kimura
0fb5489c8f Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg 2011-01-17 12:33:34 -05:00
Peter Van der Beken
25c2cf795b Fix DEBUG_CC build bustage. a=build bustage.
--HG--
extra : rebase_source : 5059f7704b2833c797aff4bb187402d9700c985b
2011-01-17 12:24:51 +01:00
Justin Lebar
889111ec58 Bug 586698 - Add SSE versions of LossyConvertEncoding; r=tterribe,jst 2010-08-13 09:15:44 -07:00
Josh Matthews
ebc978f391 Bug 606592 - Make nsExceptionService practice threadsafe refcounting. r=jst 2010-10-22 17:50:28 -04:00
Mark Banner
93fc086a55 Follow up to bug 620101 put the consume pending events functionality inside the for loop where it was originally intended to be. a=test-only fix. 2011-01-14 15:09:34 +00:00
Peter Van der Beken
9e2691dd4c Fix orange from 77979cd6890d. a=bustage fix. 2011-01-14 15:51:43 +01:00
Peter Van der Beken
4af1d3767d Fix for bug 621258 (Don't refcount CC listeners on the CC thread). r=bent, a=jst.
--HG--
extra : rebase_source : fa0c79fb25b9120ffe25da60249c8d07aaa0228f
2011-01-14 11:06:09 +01:00
Mats Palmgren
516b303803 Bug 615147. r=dbaron a=blocking2.0:final 2011-01-14 01:22:26 +01:00
Chris Jones
8bdd61eba9 Bug 594263: Bump up timeout to try to make orange go away. r=sdwilsh a=t 2011-01-13 18:07:43 -06:00
Mark Banner
b8132a8aa9 Bug 620101 - Intermittent failing in test_nsIProcess.js | TEST-UNEXPECTED-FAIL | Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProcess.run]; r=glandium,a=test-only fix 2011-01-13 17:51:40 +00:00
Justin Lebar
3e89ff8ac2 Bug 585708 - Part 2: Move CPUID code out of SSE.h and into SSE.cpp. r,a2.0=dbaron
--HG--
extra : rebase_source : 70d336e2e0f4df5d807bc520c44740e17d69eb40
2010-12-16 10:42:52 -08:00
Justin Lebar
642adce7f3 Bug 585708 - Part 1: Rework SSE.h so that it supports and encourages putting intrinsics in a file separate from the main code. r,a2.0=dbaron
--HG--
extra : rebase_source : 6bc2169ba4e451e1d8a36540614024fe40902e62
2010-08-11 16:49:42 -07:00
Rafael Ávila de Espíndola
f73cc161b4 Bug 622142 - nsTArray class depends on invalid unqualified lookup into dependent bases of class templates; r,a=bsmedberg 2011-01-12 16:37:20 -05:00
Jacek Caban
c980e050a6 Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin 2011-01-11 10:16:59 +00:00
Taras Glek
206b4b91ba Backed out changeset 30e1cfee3545 2011-01-07 12:01:48 -08:00
Taras Glek
b7d70745c1 bug 588873: Catch EXCEPTION_IN_PAGE_ERROR r=ben.hsieh a=approval-2.0 2011-01-07 10:56:21 -08:00
Chris Jones
b7a60499b6 Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker 2011-01-06 20:49:35 -08:00
timeless@mozdev.org
a019ee0828 Bug 620968 GetUnixXDGUserDirectory can leave rv uninitialized ifdef MOZ_PLATFORM_MAEMO
r=dougt a=dougt
2011-01-05 14:17:10 -08:00
timeless@mozdev.org
454b199d40 Bug 607944 Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
r=cjones a=bsmedberg
2011-01-05 14:11:56 -08:00
Oleg Romashin
4dfd0bb775 Bug 621232 - reference to deprecated /proc/component_version r=dougt a=approval2.0 2011-01-05 15:48:19 +02:00
timeless@mozdev.org
3799bc5da5 Bug 569454 bad ownership model for allProperties in GRE_GetGREPathWithProperties, r+a=bsmedberg 2010-12-09 01:22:00 -08:00
Jacek Caban
8552547c1d Bug 615212 - GCC's win64 ABI change broke compilation on mingw-w64 (xptcall part) r=timeless a=NPOTB 2010-12-20 15:31:14 +00:00
Shawn Wilsher
08e6bfdd2e Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Taras Glek
dd68e4737c Bug 616256 - Don't stat files on directory enumeration on windows r=bsmedberg+dougt a=2.0 2010-12-07 11:47:24 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Doug Turner
75b6c6be75 Bug 619096 - nsMemoryReporterManager should be threadsafe. r=vlad a=mfinkle 2010-12-15 09:47:16 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Mike Hommey
ffc922a1d3 Bug 611405 part 2 - Avoid crash in nsMemoryReporterManager when jemalloc_stats is not available at runtime. r=bsmedberg,a=clegnitto 2010-11-17 09:56:19 +01:00
Makoto Kato
6f13e49a7d Bug 592551 - dist\include\nsTArray.h(416) : warning C4244: 'return' : conversion from '__int64' to 'nsTArray_base::index_type', possible loss of data. r=bsmedberg a=bsmedberg 2010-11-17 14:51:05 +09:00
Marco Bonardo
e473967fee Bug 611639 - NS_ProxyRelease does not work for RefPtrs.
r=shaver a=blocking
2010-11-16 01:08:57 +01:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
8b81995ada Bug 598862, part 1: Add mozilla::ScopedClose to do just that to an fd. sr=bsmedberg 2010-11-08 20:48:59 -06:00
Ben Turner
801c52fd90 Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+ 2010-11-15 13:49:49 -08:00
Ehsan Akhgari
eda812475f Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Kyle Huey
99fecd3066 Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE 2010-11-11 12:36:01 -05:00
Justin Lebar
e5476a3105 Bug 590181 - Part 2: Use -O3 on Linux. r=ted, a2.0=dbaron (landing on CLOSED TREE) 2010-09-08 10:10:31 -07:00
Ben Turner
52bc9dcc50 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
timeless@mozdev.org
079d109ca2 Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
r=bsmedberg

--HG--
extra : rebase_source : aad0b56b3e3adb11a591bcb3f94ebaf3067dca47
2010-12-04 11:07:31 +01:00
Benjamin Smedberg
6c167a9962 Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking 2010-12-03 15:24:22 -05:00
Taras Glek
adb8367c39 Bug 588873 - Crashfix, catch EXCEPTION_IN_PAGE_ERROR, use file io for checksum on Windows for more safety+speed r=benh a=blocking-betaN 2010-12-03 10:16:10 -08:00
Kyle Huey
3952caa12e Bug 603844: Annotate some xlst classes with leak logging. r=sicking sr=dbaron 2010-12-02 11:15:48 -05:00
Boris Zbarsky
4f4812b252 Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky
94067d7eb1 Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Ehren Metcalfe
762d1067b6 Bug 613425 - static checking suite: fix static initializer warnings with COMPONENT_REFs r=tglek a=test-only [DONTBUILD] 2010-11-26 12:14:24 -05:00
Michal Novotny
ed3636fead Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Jonas Sicking
c99b797b78 Bug 448611: Use proper escaping in form submission names and values. Also treat textareas with an empty name the way that IE handles them and don't submit them. r=smaug a=blocker 2010-11-23 00:50:55 -08:00
Brad Lassey
e5c1ab6e92 bug 518266 - Implement mechanism to provide haptic feed back, idl r=dougt a=blocking-fennec 2010-11-22 11:37:59 -05:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Chris Pearce
02cab52e51 Bug 572579 - Create nsMediaCacheRemover after a 3 minute timeout. r=bsmedberg a=blocking2.0 2010-11-08 19:43:25 +13:00
Chris Pearce
2a501c4276 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Olli Pettay
18740286d0 Bug 600301 - Optimize ReplacePrep, r=benjamin, a=benjamin
--HG--
extra : rebase_source : 92cff8659239f2e62a9588234f9d3ef00f255c85
2010-11-07 21:39:04 +02:00
Mike Hommey
0d82fbd898 Bug 569629 - Remove static xpcom modules list static initializer. r=bsmedberg,a=bsmedberg 2010-11-07 09:25:38 +01:00
Ryan VanderMeulen
d3b7d04d97 Bug 606070 - warning C4244: 'return' : conversion from 'const PRUint64' to 'PLDHashNumber' in nsHashKeys.h r,a=bzbarsky
--HG--
extra : rebase_source : e0f4a753c9408c85165a9d3047be00e6c8ca757c
2010-11-06 14:53:37 +00:00
Jacek Caban
fdcabe2dd8 Bug 589807 - printf_stderr doesn't check if _dup call succeeded r,a=benjamin
--HG--
extra : rebase_source : a68963a26fb6479ba006e4bd8a9945230426fb22
2010-11-06 14:23:15 +00:00
Daniel Holbert
e0749538a3 Bug 596070: s/don't/do not/ in #warning message, to fix "missing terminating ' character" build warning. r=dougt a=dougt 2010-11-05 11:24:12 -07:00
Brad Lassey
6cc4d04d67 bug 605341 - remote orientation api for android r=dougt a=blocking-fennec 2010-11-05 13:43:13 -04:00
Jory A. Pratt
b8260165be Bug 593911 - Check for dlopen in the libc too. r=khuey a=bsmedberg 2010-11-05 18:26:51 +01:00
Ben Turner
827956ea78 Bug 609501 - Change nsIThreadManager for bug 580096. r=jst 2010-11-03 18:41:06 -07:00
Andreas Gal
682ce67f2d Re-land bug 608142. 2010-10-30 06:01:25 -07:00
Jeff Walden
27484886a8 Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange. 2010-10-29 22:39:19 -07:00
Andreas Gal
4f2e656d40 Disallow sending JS functions to a different thread (608142, r=jst). 2010-10-29 15:03:44 -07:00
Siarhei Siamashka
3fe8a5bf00 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec 2010-10-27 08:15:08 +03:00
Doug Turner
69d9465cd2 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Siarhei Siamashka
12a18918a8 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Brad Lassey
8ae1373c7b bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner 2010-10-27 11:16:03 -04:00
Chris Pearce
4cc3f8fa4f Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce
5581ad0abb Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Josh Aas
9298c75766 Bug 599478: Fix incorrect exit code for unhandled signal termination in nsIProcess on Mac OS X. r=bsmedberg a=blocking2.0betaN+ 2010-10-25 16:57:18 -04:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
8b20bfbcec Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Zhang Le
0d538d7036 Bug 482759 - xulrunner mips n32 ABI patch. r=timeless 2010-02-27 18:46:00 +01:00
L. David Baron
4e49730a18 Backout changeset 9ddbf8ab23a5 (bug 588873) to see if it caused bug 617048. 2010-12-08 14:38:26 -08:00
Daniel Brooks
597dd0c5a7 back out about:startup due to crashes during mochitests (a89f24bf1798) a=bustage 2010-12-08 03:43:33 -06:00
Daniel Brooks
115293a267 Bug 593743 - about:startup page showing historical startup timings; final merge with trunk. ui-r=beltzner feedback=mak77 r=mossop sr=vlad a=bsmedberg 2010-12-07 22:10:14 -06:00
Daniel Brooks
7191f58538 about:startup - final review hurdle, add _MOZILLA_2_0 interfaces to contain the additions to nsIXULRuntime and nsIXULAppInfo 2010-12-07 02:28:12 -06:00
Daniel Holbert
a2fa1fe7f6 (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Daniel Brooks
37d3c66f90 about:startup - merge vlad's review comments with the trunk
--HG--
rename : testing/mochitest/runtests.py.in => testing/mochitest/runtests.py
2010-11-23 09:49:19 -06:00
Daniel Brooks
fa24d1f3c7 about:startup - change chrome package name for jquery stuff so that it's clear that it's private 2010-11-15 07:12:26 -06:00
Daniel Brooks
0a8b7cdc4a about:startup - merge with trunk, again. try: -b o -p linux,linux64,macosx64,win32 -m all -u crashtest -t all 2010-11-05 21:50:30 -05:00
Daniel Brooks
2895410af9 about:config - merge with trunk 2010-10-29 14:18:58 -05:00
Daniel Brooks
0dd078601e about:startup - address Mossop's review comment 2010-10-25 16:39:05 -05:00
Daniel Brooks
f281524424 about:startup - address Gavin's review comments. try: -b do -p macosx64 -m none -u all -t tp4 2010-10-25 06:49:42 -05:00
Daniel Brooks
4e4c6fce15 about:startup - merge with trunk 2010-10-24 16:24:58 -05:00
Daniel Brooks
1527a5ae1e about:startup - bump iids 2010-10-24 16:05:38 -05:00
Daniel Brooks
7961ced955 about:startup - merge with trunk 2010-09-27 05:38:17 -05:00
Nick Thomas
b4c0b93b35 Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE 2010-09-27 12:14:47 +13:00
Daniel Brooks
45773d35d8 about:startup - merge with trunk 2010-09-21 15:06:04 -04:00
Daniel Brooks
f681241ef1 about:startup - update to trunk 2010-09-03 15:52:52 -04:00
Doug Turner
59a14c27ff Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0 2010-09-02 19:02:06 -03:00
L. David Baron
eb648d738f Add NS_COM_GLUE to fix non-libxul bustage from bug 592520. r=taras a=dveditzSheriff 2010-09-16 15:43:15 -07:00
Taras Glek
341f4817b3 Bug 596429 - Firefox 4.0b5 Crash Report nsFastLoadFileWriter::Open() r=benedict a=2.0 2010-09-16 13:22:40 -07:00
Taras Glek
beb03cd5bb Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00
Brian Crowder
6d2f11959b Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Daniel Brooks
aff1292af1 about:startup - merge with trunk 2010-08-01 05:24:42 -05:00
Daniel Brooks
ec86a6d7ae about:startup - PR_IntervalNow is kinda dumb. It makes no special attempt to be monotonic like the docs say, and additionally there's no way to equate it back to a real timestamp (which the docs do imply). Using PR_Now instead. 2010-07-31 00:53:58 -05:00
Daniel Brooks
f02c0b9f39 about:startup - record timestamp early on in the XRE setup 2010-07-29 19:51:32 -05:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Wolfgang Rosenauer
717bd8d70c Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt
--HG--
extra : rebase_source : 49d8fbe234bf447b87486ac4404a148d676e009c
2010-07-30 12:46:20 -07:00
Doug Turner
9c89882ec5 Bug 582032 - Part 1 - Adds a start method to nsIXULRuntime. r=cjones
--HG--
extra : rebase_source : 6e4e6dde727ecfc37393dbd73c3233e6c3c80a2e
2010-07-30 11:43:56 -07:00
Peter Van der Beken
75d7cd044e Back out debugging code for bug 500105. 2010-07-30 11:57:19 +02:00
Michael Wu
111382a66c Bug 580434 - Use of readdir in nsLocalFileUnix not reliable when recursively deleting files on Android/Bionic. r=dougt 2010-07-28 18:12:34 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Neil Rashbrook
c1ba581be6 Bug 581652 Some versions of GCC don't like nsCRT::IsAsciiSpace r=jst a=bsmedberg 2010-07-27 12:45:59 +01:00
Josh Aas
c69a5826b5 Bug 581518: Make Mac OS X impl of nsLocalFile::SetPersistentDescriptor behave like it did previosly, supporting aliases. r=benwa 2010-07-25 23:49:28 -04:00
Josh Aas
4800a81166 Backed out changeset 45e3b4a37bad, that was intended for try server not m-c 2010-07-25 17:43:32 -04:00
Josh Aas
dc008d5ac7 old-persist1 2010-07-25 16:20:46 -04:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Benjamin Smedberg
5ce2f52c66 Bug 579487 - Better error reporting when NS_CreateServicesFromCategory can't find a contract (especially to help extension developers with profile-after-change issues), r=Mossop 2010-07-20 09:28:45 -04:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Andreas Gal
4b4fb2fced Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Andreas Gal
483a33d003 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Andreas Gal
124d968d35 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Jason Duell
ebf928ae13 bug 576420 - Fix nsIInputStream::Available documentation. r=bz 2010-07-08 23:32:59 -07:00
Olli Pettay
9f4bc1b358 Bug 577472 - Quickstub string handling shouldn't addref/release the string buffer, r=mrbkap
--HG--
extra : rebase_source : 5c343f210f3fb4a0aca5fc5f8b9b2d492248d3f3
2010-07-19 13:34:23 +03:00
Mark Banner
f619756d6a Disable part of TestAtoms which is only run in non-libxul builds and is permantely failing on Windows there. Bug 577500 will investigate getting this re-enabled. 2010-07-19 14:35:16 +01:00
Walter Meinl
4183c3cdef Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Eli Friedman
228122ee6b Bug 579692 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron 2010-07-18 10:24:23 +02:00
Mike Kristoffersen
c2044b5b23 Bug 569680 - Move the platform specific geolocation files. r=dougt
--HG--
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => dom/interfaces/geolocation/nsIGeolocationPrompt.idl
rename : dom/src/geolocation/GPSDGeolocationProvider.js => dom/system/GPSDGeolocationProvider.js
rename : dom/src/geolocation/GPSDGeolocationProvider.manifest => dom/system/GPSDGeolocationProvider.manifest
rename : dom/src/geolocation/NetworkGeolocationProvider.js => dom/system/NetworkGeolocationProvider.js
rename : dom/src/geolocation/NetworkGeolocationProvider.manifest => dom/system/NetworkGeolocationProvider.manifest
rename : dom/src/geolocation/AndroidLocationProvider.cpp => dom/system/android/AndroidLocationProvider.cpp
rename : dom/src/geolocation/AndroidLocationProvider.h => dom/system/android/AndroidLocationProvider.h
rename : dom/src/geolocation/MaemoLocationProvider.cpp => dom/system/unix/MaemoLocationProvider.cpp
rename : dom/src/geolocation/MaemoLocationProvider.h => dom/system/unix/MaemoLocationProvider.h
rename : dom/src/geolocation/WinMobileLocationProvider.cpp => dom/system/windows/WinMobileLocationProvider.cpp
rename : dom/src/geolocation/WinMobileLocationProvider.h => dom/system/windows/WinMobileLocationProvider.h
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => xpcom/system/nsIGeolocationProvider.idl
2010-07-14 19:09:25 +02:00
Josh Aas
5759fdff07 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
6a6d3c8ee5 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Mark Banner
00ba9c9b57 Disable TestStaticAtoms which is only run in non-libxul builds and is permantely failing there. Bug 577500 will investigate getting this re-enabled. 2010-07-16 07:39:54 +01:00
Josh Aas
696ca35c5d Provide API in xpcom macutils for determining universal binary type. b=572125 r=benwa 2010-07-15 22:32:00 -04:00
Robert O'Callahan
9d2392dcc8 Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats 2010-07-16 09:08:05 +12:00
Benjamin Stover
e4051ec461 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Chris Jones
593697156c Bug 576467: Check the return value of clock_getres(). r=roc 2010-07-15 14:27:43 -05:00
Boris Zbarsky
6dfb868228 Backing out rev b567a93a5086 (bug 558306) to fix test orange 2010-07-15 13:49:28 -04:00
timeless@mozdev.org
3bf8ddc079 Bug 578219 Crash in [@ nsNativeModuleLoader::LoadModule ] when installing LastPass Password Manager addon
r=bsmedberg

--HG--
extra : rebase_source : fb97bc29e6a1e4b0abc1108555947edb4e1000a5
2010-07-15 15:55:05 +03:00
Boris Zbarsky
cfffdefb40 Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Boris Zbarsky
92a03af2bc Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones 2010-07-15 09:59:23 -04:00
Benjamin Smedberg
39676523ac Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron 2010-07-14 13:09:42 -04:00
Philipp Wagner
29ed75147b Bug 578237: Fix error message in nsComponentManagerImpl::RegisterCIDEntry. r=bsmedberg 2010-07-13 10:02:22 -07:00
Neil Rashbrook
3ab5e497d0 Bug 568691 Further followup to actually register static components r=bsmedberg 2010-07-13 15:24:58 +01:00
Wesley Johnston
3fb432cc3e Bug 537180 - Fennec uses old blocklisting URL [r=dtownsend a=blocking-fennec] 2010-09-01 21:35:06 -04:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Dan Witte
a5ebf043df Merge m-c -> e10s. 2010-08-28 13:39:42 -07:00
Boris Zbarsky
6944d7713c Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner 2010-08-27 14:19:45 -07:00
Shawn Wilsher
b3b7f224fd Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Boris Zbarsky
f2ba1e6a29 Backed out changeset d578993db396 (bug 590422) due to possible performance regressions (especially WinXP Tscroll).
--HG--
extra : rebase_source : e6ee7060691de0b87faefcdd3f4524cf01e1c0b4
2010-08-27 14:00:41 -04:00
Bobby Holley
83d399742e Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout 2010-08-27 09:00:54 -07:00
Boris Zbarsky
f5f1e156fe Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner 2010-08-26 21:33:00 -04:00
Boris Zbarsky
de52194990 Bug 590422. Stop futzing with our timer scheduling and just schedule them. r=brendan 2010-08-27 00:25:44 -04:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
bhsieh@mozilla.com
fba716bbcd bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Andrew Zitnay
e50f8c9030 Bug 586523 - Provide a version of xpcomglue_s compiled with -DMOZ_NO_MOZALLOC, r=bsmedberg
--HG--
extra : rebase_source : bd6f919688fb0dd3193c38c443a73e5a70135198
2010-08-25 10:21:08 -04:00
Dan Witte
1b9d629945 Back out bug 520309 part 1. a=#developers for checkin on CLOSED TREE. 2010-08-24 07:59:57 -07:00
bhsieh@mozilla.com
ba3c0148de bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Justin Lebar
fe201bd505 Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
--HG--
extra : rebase_source : 217d161649839c809a5e88444b882b056632a38f
2010-07-16 14:10:01 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Justin Wood (:Callek)
45d7c6f4ad Bug 573382 - No chrome package registered for chrome://inspector/content/tasksOverlay.xul
r=dtownsend
2010-07-04 21:54:35 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Jacek Caban
ed70e9fa4b Bug 581036 - nsTimerImpl.cpp compilation fails on mingw.; r=bzbarsky approval2.0=benjamin 2010-07-22 12:00:26 -04:00
Mounir Lamouri
dbf929d752 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Josh Aas
8470cb1a51 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Boris Zbarsky
5e5e0fd66f Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Boris Zbarsky
8a5a8c7f9e Bug 558306 part 1.5. Make TimeDuration::FromMilliseconds take a double. r=cjones, sr=roc 2010-07-21 15:57:33 -04:00
Mounir Lamouri
530eba15e8 Bug 555559: Make nsCharSeparatedTokenizer a template that can accept varying definitions of whitespace. r=smaug,sicking sr=jst 2010-07-21 09:07:10 -07:00
Boris Zbarsky
b891fc7b78 Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking 2010-07-21 11:33:31 -04:00
Dave Townsend
f1d4bafdbd Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
76af4cae87 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Benjamin Smedberg
0b4de441c4 Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Benjamin Stover
97eb3d6fee Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg
c6e4b41b1f Fix generic classinfo objects so that they are allocated statically, to avoid leak-detector annoyances, but not initialized statically, because compilers are stupid and won't const-data-initialize an object with a vtable, even if they could. 2010-07-01 12:11:42 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
e43682cb4c b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir 2010-06-30 11:53:41 -04:00
Benjamin Smedberg
28befc0794 Disable the xpt-in-JAR test because that code is changing and running the test with a .manifest isn't worth it. 2010-06-30 09:50:04 -04:00
Benjamin Smedberg
6da9e8c26a Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Benjamin Smedberg
b83c7495d6 Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Ted Mielczarek
657620b2b4 fix minor type name output in xpt_dump. r=timeless (no bug) 2010-06-29 10:03:47 -04:00
Benjamin Stover
8150bfd360 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover
86673a511e Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Benjamin Smedberg
449bc3f36e Fix and test logging of manifest parsing and registration. I discovered that the outer loop doesn't track line numbers correctly when there are multiple newlines in a row, which requires manual looping instead of using nsCRT::strtok. 2010-06-28 13:55:57 -04:00
Benjamin Smedberg
54c6518755 Rename the "xpt" manifest directive to "interfaces", per bug 568691 comment 66. 2010-06-27 21:50:51 -04:00
Benjamin Smedberg
79be6b8325 Rename XRE_AddComponentLocation to XRE_AddManifestLocation to better-convey what it actually does now (it still auto-registers XPT files when passed a directory, but we may get rid of that as well and just fold those into components.manifest), as noted in bug 568691 comment 58. 2010-06-27 21:26:38 -04:00
Benjamin Smedberg
3de93c4ae6 Implement the aReplace parameter to nsICategoryManager.addCategoryEntry which I inadvertently dropped, from bug 568691 comment 63. 2010-06-27 21:14:54 -04:00
Benjamin Smedberg
6669ee04a8 Bug 568691 - Add an ABI chrome registration modifier so that platform-specific directories can be implemented directly in chrome.manifest. 2010-06-27 15:13:04 -04:00
Benjamin Smedberg
9cadd0fe5f Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg
d9a041918c Revert accidental change introduced in revision c66d8c0db184. 2010-06-25 22:16:15 -04:00
Benjamin Smedberg
5b4541cfe9 Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
774bb7e0e8 Free the component-location arrays at shutdown. 2010-06-25 17:27:10 -04:00
Benjamin Smedberg
59041fa6cd Bug 568691 - Normalize relative paths on Windows to use back slashes, and add a manifest processing directive for XPT files so that extension chrome.manifest can point to them and we don't have to troll around in extension components/ directories. 2010-06-25 13:55:46 -04:00
Benjamin Smedberg
f3d3d3d97b Bug 568691 followup - Clear the static module table at shutdown to fix leaks.
--HG--
extra : rebase_source : cc01ea1ae837f5b917d44006dde72484f3ffd104
2010-06-25 10:02:17 -04:00
Benjamin Smedberg
9d69948fbc Bug 568691, followup to RegisterFactory implementation: make the nsFactoryEntry hold a CIDEntry with the proper CID, because code elsewhere expects that to be present (ContractIDToCID and the pending-CID checks). 2010-06-25 10:44:35 -04:00
Benjamin Smedberg
77282b6432 Allow a manifest to register contracts and cids in any order, by deferring processing of contracts until the manifest is completely parsed. This is needed for extension author sanity, and also because jar.mn packaging doesn't place registration lines in order by default. 2010-06-25 08:19:48 -04:00
Benjamin Smedberg
5ab65cc447 Don't check the persist value for DeleteCategoryEntry, because the original behavior didn't work right anyway, so everybody passes "true". 2010-06-24 22:05:20 -04:00
Benjamin Smedberg
3e93617368 Implement compatibility wrapper so that binary components can be compatible with both Firefox 3.6 and Firefox 4, as a result of registration changes from bug 568691.
--HG--
rename : xpcom/components/GenericFactory.cpp => xpcom/glue/GenericFactory.cpp
rename : xpcom/components/GenericFactory.h => xpcom/glue/GenericFactory.h
2010-06-24 16:36:27 -04:00
Benjamin Smedberg
1d0844d671 Revert many of the interface changes from bug 568691, so that binaries can be made which are compatible with Firefox 3.6 and Firefox 4. Note that this is not an ongoing process: it will not be possible to make single binary components which are compatible with both Firefox 4 and Firefox 4.1, but you will be able to ship two components and select one based on the platform version. 2010-06-24 14:31:18 -04:00
Benjamin Smedberg
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg
2c8a0c3df0 Fix factory registration in test_unsafeBidiChars.xhtml to not override CIDs. 2010-06-23 16:18:08 -04:00
Benjamin Smedberg
76f5edb3bb Bug 568691 fixups: alter mockObjects.js so that it registers its mock by contractID but doesn't replace the CID. Fix the generic classinfo not to assert when code asks for the class description (which is no longer implemented). 2010-06-23 15:18:13 -04:00
Benjamin Smedberg
43047298dd Address review from bug 568691 comments 31 and 34 2010-06-23 13:43:02 -04:00
Benjamin Smedberg
c072919b32 Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Ginn Chen
91bd938a72 Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Benjamin Smedberg
785137fec6 Implement RereadChromeManifests for bug 568691. 2010-06-22 16:24:01 -04:00
Benjamin Smedberg
10da45b767 Fix non-debug bustage in nsNativeComponentLoader, this variable should not be debug-only. 2010-06-22 16:22:17 -04:00
Benjamin Smedberg
5311231038 Fix the TestRegistrationOrder test: we no longer support deferred registration. 2010-06-22 13:26:23 -04:00
Benjamin Smedberg
4a738917da Bug 568691 - Move cycle collection earlier: XPConnect is initialized during component manager initialization and tries to register a CC language helper. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
202aa47626 Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
fcd5c36e9b Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils 2010-06-21 14:29:32 -04:00
Benjamin Smedberg
21bc9c724f Bug 568691 - build components.manifest instead of components.list, and switch the sample JS component to use standard EXTRA_COMPONENTS machinery. 2010-06-21 13:59:58 -04:00
Benjamin Smedberg
b205909598 Bug 568691 - register chrome/*.manifest in addition to components/*.manifest files, chrome appears to work in xpcshell again. 2010-06-21 13:49:38 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
c23f09c9bf Merge platform-specific branches of bug 568691. 2010-06-21 08:57:50 -04:00
Benjamin Smedberg
492155b10e Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.

Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
ec3aefeff2 Fix review comments from Mossop, bug 570488 comment 5. 2010-06-11 13:35:25 -04:00
Benjamin Smedberg
f4b60bdbf4 Fix Linux-specific issues with static xpcom registration, bug 568691. 2010-06-11 12:47:31 -04:00
Benjamin Smedberg
0570e3db7e Fix Linux compile errors/warnings in xpcom/components 2010-06-11 12:03:06 -04:00
Chris Jones
ccb97b45d7 Bug 570912: Allow already_AddRefed<T> to be coerced to already_AddRefed<U> when T can be coerced to U. r=dbaron 2010-06-21 15:35:49 -05:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
c729bcd681 Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Benjamin Smedberg
c020d3bdef Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ben Turner
8c6da83b49 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Olli Pettay
f48d7a4a08 Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Jacek Caban
f2c3c460bb Bug 508905 - /Zc:wchar_t- is no longer required (wince part) r=doug.turner
--HG--
extra : rebase_source : 13d6dadb676ca5e29b7e7bcfff5bbb1c964f78e4
2010-06-27 01:30:05 +02:00
Daniel Holbert
cb6a1a06d6 Bug 575014: cast pointer-subtraction in nsTArray to produce index_type instead of (64-bit) size_t, to fix build warning on Win64. (bustage fix) rs=timeless pending-r=bsmedberg 2010-06-26 17:50:36 -07:00
Ginn Chen
c919b6c6e2 Bug 574650 Fix xpcom/reflect/xptcall for gcc on Solaris r=jst 2010-06-27 00:56:47 +08:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
a73902aba6 Merge with mc 2010-06-29 20:10:23 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Eli Friedman
622dc3dd3c Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron 2010-06-30 23:11:43 +02:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Doug Turner
003acc6d48 Merge with mc 2010-05-25 13:48:25 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Steve Harper
9b9de75895 Bug 199473: Make downloads work if temporary directory is encrypted on Windows. r=jmathies
--HG--
extra : rebase_source : e88b316e071dd9bb8a57ab11e1bd13bc39d7d8eb
2010-05-23 10:48:21 -07:00
Robert Sayre
def349ad75 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Robert Sayre
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Daniel Holbert
ee5c59f86c Bug 573530: Remove unused variable in nsXPComInit.cpp. r=bsmedberg 2010-06-23 17:30:59 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Chris Jones
521f71cd9d Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Brad Lassey
a15e734cc6 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Mike Hommey
0fc23bb0d7 Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Mike Hommey
26856f4648 Bug 543441 - Avoid a race condition induced crash when trying to nsProcess::Kill() a terminated process [r=dtownsend]
--HG--
extra : rebase_source : eb04335b397772058c2c272736afb5604b09e0af
2010-04-29 07:24:32 +00:00
Michael Wu
a7bab5285a Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Benjamin Smedberg
68c4fe2172 Bug 549388 - Don't use refcounting for nsProxyObjectManager: create it once, and destroy it at shutdown after all the clients have finished with it, r=timeless
--HG--
extra : rebase_source : d4c0486a748675e29de713a8a55ee594764c4c9b
2010-05-21 11:50:05 -04:00
Mark Banner
c4ebbd68ad Fix bustage for non-libxul apps following bug 566467 - link xpcom-core against psapi.lib 2010-05-21 09:21:52 +01:00
Vladimir Vukicevic
dea7fa4278 b=566467; add win32 core memory reporters; r=jmathies 2010-05-20 22:58:53 -07:00
Josh Matthews
0328868a9f Bug 564689 - Signed/unsigned comparison warnings in nsComponentManager.cpp r=bsmedberg
--HG--
extra : rebase_source : 9d74a7a43a729ce9e0f96bd98992e6359da23322
2010-05-19 16:37:10 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Chris Jones
4567048351 Bug 564185: Centralize the breakpad-triggering abort code in mozalloc and use |*NULL| to abort on mac, since abort() doesn't trigger breakpad. r=ted 2010-05-18 20:53:52 -05:00
Michael Wu
3b29de38dd Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
Jacek Caban
f8de08b4af Bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. [r=ted]
(transplanted from 0388c837c9867762bcc10a1fb88428050d158479)

--HG--
extra : transplant_source : %03%88%C87%C9%86wb%BC%C1%0A%1F%B8%84%28%05%0D%15%84y
2010-06-02 10:08:00 -04:00
Daniel Holbert
9c9b232086 Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg 2010-05-17 16:36:31 -07:00
Josh Matthews
0407707bdc Bug 540665 - Make nsIRunnable a function so JS can use it as such. r=benjamin
--HG--
extra : rebase_source : cadf70d8c68810167894c069fc73df01c5046b0a
2010-05-07 09:52:04 +02:00
Michael Wu
f37039d236 Fix and reenable jar xptload test 2010-06-16 10:22:33 -07:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones
f1ccfef3ce Bug 518881: Make Send/Call*() methods for IPDL parent actors warn_unused_result. r=bent 2010-04-27 00:43:00 -05:00
Chris Jones
4665be334c Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
ec00ae01fb Support __stdcall nsRunnableMethods (part 2/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:32 -07:00
Ben Newman
2b2bd4076f Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Vladimir Vukicevic
838f1fb2ff b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Mike Hommey
e25acdbb87 Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Neil Rashbrook
19df16de3a Bug 560715 Trying harder to fix nonlibxul build bustage 2010-04-22 00:40:27 +01:00
Neil Rashbrook
47abb294e5 Bug 560715 - "Windows trunk builds failing due to: storagecomps.dll : fatal error LNK1120: 2 unresolved externals" [r=bsmedberg] ok on a CLOSED TREE per sheriff 2010-04-21 01:08:00 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Vladimir Vukicevic
56684f1c17 split out declarations to work around MSVC bug 2010-04-20 14:44:39 -07:00
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Chris Jones
cedd844205 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Mike Hommey
51ff581ac6 Bug 532198 - Reimplement xptcinvoke for arm/linux in C [r=Jacob.Bramley, r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 683a17a26c486d6f6bf376ff93fb8a0567a8ab47
2010-04-19 22:55:45 +02:00
Mike Hommey
e38d0a6088 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey
0489be1020 Bug 486681 - Support more HPPA CHOSTs on HPPA/Linux [r=timeless]
--HG--
extra : rebase_source : a16f362e62a05ba7eecfc985155b6fc61853e174
2010-04-19 10:08:35 +02:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Jacek Caban
e33b8ea4c5 Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests. 2010-04-16 00:29:15 -05:00
Ginn Chen
bcf64f198e Bug 557470 make check in xpcom/tests/ is not portable on Solaris r=ted.mielczarek 2010-04-15 18:47:25 +08:00
Chris Jones
286a291a3e Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert 2010-04-14 21:09:35 -05:00
timeless@mozdev.org
2678bea297 Bug 559804 - nsGetInterface::operator() doesn't consistently set *aInstancePtr, r=bsmedberg
--HG--
extra : rebase_source : be81640ea16edd00e0898dafeb4c04c7fc511b24
2010-04-16 06:03:00 -07:00
Neil Rashbrook
176e5fc212 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
L. David Baron
60a39f5bec Add mechanism for assertions that fire when a guard object is used as a temporary. (Bug 531460) r=bsmedberg 2010-03-26 10:12:39 -04:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Taras Glek
d3d1d47d7e Bug 516085 - C++ easy access for common global services r=bsmedberg 2010-04-02 11:38:25 -07:00
Michael Wu
17f4cad812 Bug 552121 - Load js modules and components from the omnijar [7/7], r=bsmedberg 2010-06-15 12:38:46 -07:00
Michael Wu
604a658f5c Disable new jar xptload test due to failures 2010-06-14 20:47:55 -07:00
Michael Wu
1ab55bc44d Fix new jar xptloading test 2010-06-14 18:53:38 -07:00
Michael Wu
985a8e30b4 Bug 552121 - Find xpts inside the omnijar [6/7], r=bsmedberg
--HG--
extra : rebase_source : f5a3c56972247e76dd9700665df915a10d994356
2010-06-14 16:13:14 -07:00
Benjamin Smedberg
3fcaf094f4 Bug 570488 - Fix loading of XPTs nested in JARs [2/2] r=mwu
--HG--
extra : rebase_source : b97a591c0260daed1f2ef2eba69e60ff82acd18f
2010-06-14 16:10:04 -07:00
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Brad Lassey
4346c1fc9c bug 565138 - Implement extloader backend for Android r=vlad 2010-06-14 15:04:16 -04:00
Jacek Caban
bc7f2875ac Bug 569547 - fastcall useless on win64. r=benjamin 2010-06-14 12:12:48 +02:00
Matt Brubeck
c171261a8f Bug 571440 - Android build fails on new quota check from bug 520098 (nsLocalFileUnix.cpp), r=bsmedberg 2010-06-11 19:48:33 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mike Hommey
03a622ce80 Bug 434190 - Avoid hppa frame size issue in xptcstubs assembly with tail call optimization by disabling optimization [r=benjamin] 2010-05-13 09:04:46 +02:00
Ginn Chen
9df652824c Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek 2010-05-06 13:49:27 +08:00
Michael Wu
91093439df Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Ted Mielczarek
44de71fb26 Backed out changeset 510669ff9ba1 "bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. r=ted" for OS X bustage 2010-05-05 11:00:22 -04:00
Jacek Caban
c7bc54dc38 bug 559854 - Compile target xpidl only if libIDL is configured when cross compiling. r=ted 2010-04-16 17:25:29 +02:00
Daniel Holbert
d4bf1daecc Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
54c4f9b04b Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
4f32fce575 Bug 562522 - comparison between signed and unsigned integer expressions in nsStringAPI.cpp, r=bsmedberg
--HG--
extra : rebase_source : 0568e744cc020fbc8a725ec595213f21fe52681b
2010-04-28 17:30:00 -07:00
timeless@mozdev.org
9a289a56f1 Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org
f183d85605 Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
--HG--
extra : rebase_source : 995cb88bc3bdb692ea154be2ebee597b0f777e58
2010-04-28 17:58:00 -07:00
Dan Witte
404572ffab Merge. 2010-04-17 12:26:30 -07:00
Brian Hackett
cd6ae28e5f Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Chris Jones
014cb688de Bug 550425: Bump up the timeout for expensive deadlock tests and print more info on failures. r=bsmedberg,sdwilsh 2010-03-24 19:12:32 -05:00
Chris Jones
926e2f746f Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Mike Hommey
c055a9cf6f Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-24 10:19:14 +01:00
Jason Orendorff
ee50fdd206 Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9 Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Ben Newman
552bebef15 Patch to fix bug 563573. r=bent
--HG--
extra : rebase_source : cc7f009be395bfc98ffcce4831e233dee1fa7480
2010-05-10 18:05:40 -07:00
Mike Hommey
7ef93c2266 Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin] 2010-04-24 09:39:53 +02:00
Daniel Holbert
3acdc0af07 Bug 552330: Remove NS_ARRAY_LENGTH redefinition in TestObserverArray.cpp to fix compile warning. r=dbaron a=dholbert_sheriff 2010-04-23 13:45:51 -07:00
Brian Hackett
7977c3b1cb Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
L. David Baron
aebe5d267d Fix misspelling of implement. 2010-04-08 19:14:43 -07:00
Daniel Holbert
aa1625764a Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg 2010-04-08 12:26:29 -07:00
Dave Townsend
42dcecd548 Bug 557539: Trying to set nsILocalFile.lastModifiedTime for a directory on windows throws NS_ERROR_ACCESS_DENIED. r=jimm 2010-04-08 12:12:19 -07:00
Chris Jones
da9eaa48df Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg 2010-04-08 13:05:02 -05:00
Ginn Chen
c3fc2f9d1c Bug 550371 mozalloc failed to build on Solaris r=bsmedberg 2010-04-07 14:16:32 +08:00
L. David Baron
62fab3b136 Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg 2010-05-14 12:05:14 -07:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Ehsan Akhgari
8622119856 Bug 612356 - Add NS_SetDllDirectory to dlldeps.cpp; r=khuey a=NPOTB 2010-11-15 15:16:34 -05:00
Doug Turner
4f7e00379d [Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec 2010-11-17 12:52:59 -08:00
Stuart Parmenter
664a22366c Bug 613321. Backing out bug 604712 (rev 6cfd43067a07) to fix hang on Galaxy S phones. a=blocking-fennec 2010-11-20 01:02:55 -08:00
Ben Turner
06f05e75ce Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+. 2010-11-18 14:19:19 -08:00
Benjamin Smedberg
24467f20eb Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h> 2010-11-17 18:14:11 -05:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Benjamin Smedberg
51c8b615be Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
--HG--
extra : rebase_source : e445ee4db34c68fd9f9c8844f62d879708733eff
2010-11-17 15:58:48 -05:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Ben Turner
fca93ac512 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Benjamin Smedberg
3930901751 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Doug Turner
fc9adeac4a [Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec
--HG--
extra : rebase_source : 1a58215923ced152b82852b0cbd9194bde885561
2010-11-17 12:52:59 -08:00
Ben Newman
b3cb7ea79d Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Josh Matthews
cfd2d775ff Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo
6c6ab6aa0e Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Mounir Lamouri
4291f1e845 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
c12906c97c Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Steve Krulewitz
e157dd74d7 Bug 323376 - nsTextFormatter::ssprintf adds extra '\0' to result; Patch by Steve Krulewitz, updated by Jonathan Protzenko; r=darin approval2.0=beltzner 2010-10-21 11:56:33 +01:00
Boris Zbarsky
53a6a5fae9 Bug 605492 part 2. Add a way to get an outer window object given its window id via windowutils. r=mrbkap 2010-10-20 20:24:16 -04:00
Dan Witte
353424c48f Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Josh Matthews
796315a49f Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Jae-Seong Lee-Russo
59fe8fd6d5 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Kyle Huey
9b468f97d9 Bug 604940: Add various things to GARBAGE. r=Mitch a=NPOTB 2010-10-19 17:19:37 -04:00
Mike Hommey
18616ac1a0 Bug 603899 - Revert broken (and unrelated) hunk from bug 522770. r=bsmedberg,a=bsmedberg 2010-10-19 11:12:27 +02:00
Josh Matthews
c1bb516ed8 Bug 594222 - Prevent RemoveObservers from being called more than once. r=dougt a=dougt 2010-09-07 18:22:00 -04:00
Chris Pearce
71200c3075 Bug 572579 - Backed out changeset 34c006122b71 a=backout 2010-10-17 09:55:35 +13:00
Chris Pearce
d5088dd4c8 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Jones
73ffddb80a Bug 601599: Link directly to jemalloc_stats on android. r=blassey a=blocking-fennec 2010-10-15 16:12:54 -05:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Robert Sayre
ba8adf47b3 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Robert Sayre
012db2a6ae Merge mozilla-central to tracemonkey. 2010-10-06 18:48:56 -07:00
Robert Sayre
19a4f7ab74 Merge mozilla-central to tracemonkey. 2010-10-05 13:30:17 -07:00
Brian Hackett
abdc87c9ca Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Josh Aas
311e10e9c9 Bug 600711: Use 'posix_spawnp' for nsIProcess on Mac OS X. Prefer the current architecture when creating a new process. r=bsmedberg a=blocking-beta7 2010-10-01 09:01:04 -04:00
Josh Aas
0008acb034 Bug 602140: Make child processes created via nsIProcess inherit the parent environment on Mac OS X. r=bsmedberg a=blocking-b7 2010-10-06 12:22:36 -04:00
Robert Sayre
b1d4b2bb57 Merge mozilla-central to tracemonkey. a=whatever 2010-09-27 12:40:49 -04:00
Igor Bukanov
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Benoit Jacob
7987aa8357 Bug 601535 - fix CheckedInt warnings - r=khuey, a2.0=joe 2010-10-12 17:01:59 -04:00
Benoit Jacob
dde5763eeb Bug 555798 - CheckedInt improvements, init by 0 - r=neil 2010-10-12 17:01:59 -04:00
Alon Zakai
e23ded09ec Bug 596373 - Timer thread sleeping for 0 time causes lots of wakeups. r=brendan a=blocking-fennec 2010-10-07 11:47:51 -07:00
Daniel Holbert
987f9c2297 Bug 552798: fix 'suggest parentheses around comparison in operand of &' in TestAtoms.cpp. r=sicking 2010-03-22 11:57:40 -07:00
Dão Gottwald
55d6554fde Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey
02861ae602 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
bjarne@runitsoft.com
3f4bfa2d27 Bug 529272 - Wrong loop in nsInputStreamTee, r=michal.novotny
--HG--
extra : rebase_source : d95b0280646c62c88354432c5920befeaf0424a4
2010-03-19 08:43:00 +01:00
Chris Jones
ecaab71939 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
a9301cdf81 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
d7b8ead1aa Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05:00
Simon Montagu
16606db5c5 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Robert Strong
e3958725d5 Bug 552602 - Open Containing Folder button on about:support(Troubleshooting Information) page does not work. Fallout from bug 548426. r=dougt 2010-03-17 16:12:00 -07:00
Daniel Holbert
34cb74310e Bug 552805: Fix warning "overflow in implicit constant conversion" in TestEncoding.cpp. r=waldo 2010-03-17 01:54:17 -07:00
Daniel Holbert
8779011b89 Bug 552329: Fix compile warnings in xpcshell test TestOOM.cpp. r=dougt, test-only change on CLOSED TREE to see if tinderbox still wants to be red 2010-03-16 10:42:51 -07:00
Jonathan Watt
9380758ab8 Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Uli Link
86f6901495 Bug 526457. Fix AIX compilation. r=bsmedberg 2010-03-15 14:43:16 +13:00
Brad Lassey
8a554159e8 bug 551882 - Windows Mobile should use the the WINAPI process model r=bsmedberg 2010-03-12 20:56:06 -05:00
timeless@mozdev.org
a590ecea7d Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg

--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01:00
Chris Jones
81b4a577bb Bug 550425: Don't close the subprocess's stdout/stderr pipes until after it exits. r=bsmedberg 2010-03-11 01:35:25 -06:00
Brad Lassey
65e93ade37 follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Serge Gautherie
dfcd5d708d Bug 551153 - ###!!! ASSERTION: Not a UTF-8 string when running TestUTF and TestAtoms; (Bv1) Make it fully explicit that Malformed8Strings[] is not to be used in debug builds.
r=jonas.
2010-03-10 21:03:23 +01:00
Brad Lassey
8857f4c08a bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jonas Sicking
aafc11aca9 Bug 551129: Move tests in TestPermanentAtoms.cpp into the new shiny TestAtoms.cpp. Disable tests with known intentional assertions in debug builds. r=jst 2010-03-09 16:30:06 -08:00
Brad Lassey
cd471a77fa bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg 2010-03-09 11:40:16 -05:00
Ginn Chen
3afa89d964 revert 43e12453336f, it was fixed by another changeset 2010-04-28 17:44:24 +08:00
Ginn Chen
314bd364fe Bug 560717 Linux FPE running make check r=bsmedberg 2010-04-28 17:40:03 +08:00
Ginn Chen
0ee7d0e921 Bug 561736 Add has_cpuid_bit support with Sun Studio compiler on Solaris r=dbaron 2010-04-28 17:39:12 +08:00
Mark Banner
bd82595d07 NS_COM_GLUE shouldn't be defined on function definitions/inline functions. Fixing non-libxul bustage on Windows builds from bug 558498. r=bsmedberg over irc 2010-04-27 14:48:25 +01:00
Mark Banner
ace073db56 Try and fix Windows non-libxul bustage from bug 518881 due to NS_COM_GLUE being in the wrong place. 2010-04-27 13:52:42 +01:00
Karl Tomlinson
88220b6f55 b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones 2010-03-24 16:39:15 +13:00
Hanspeter Niederstrasser
f675bd2dc2 Bug 520098 - Darwin build fails on new quota check from bug 72892 (nsLocalFileUnix.cpp). r=bsmedberg 2009-10-01 18:07:00 -04:00
Ehsan Akhgari
80e08706f6 Bug 570657 - Make the order of releasing objects and removing them in nsCOMArray's consistent; r=shaver
--HG--
extra : rebase_source : 16f05bbfbd31bc01e0545af111dc4e4adbac8e33
2010-06-09 14:13:16 -04:00
Mike Hommey
7467611ddb Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Daniel Holbert
34666ded61 Bug 557380: Add missing arg to printf in TestUnicodeArguments.cpp, to fix build warning. r=smontagu 2010-04-06 00:09:44 -07:00
Daniel Holbert
b00ca2405e Bug 556303: Fix unsigned/signed compiler warning in nsTArray.cpp. r=bsmedberg 2010-04-05 14:56:35 -07:00
L. David Baron
41cc87c278 Fire assertions when guard objects are used as temporaries. (Bug 531460) r=cjones 2010-04-04 11:15:18 -07:00
Chris Jones
2e823a2ee5 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Daniel Holbert
301cdef742 Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
Daniel Holbert
6abe703f9b (no bug) Unset executable flag on a few .cpp & .h files in /xpcom/tests. (no review; just a "chmod -x") 2010-04-02 09:34:30 -07:00
Chris Pearce
11fa7ac0dd Bug 556424 - mozilla::MonitorAutoEnter::NotifyAll() should notify all. r=cjones 2010-04-01 19:54:03 -07:00
Daniel Holbert
eb483b552f Bug 551298, patch A followup i: Add thread safety assertions to AddRef/Release implementations. r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
5192e33d44 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
56db19649c Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert
ef92ece024 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
Josh Matthews
dc961dbb27 Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
Mark Banner
6dad682aa7 Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking 2010-03-09 09:51:43 +00:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
e117cf60c1 Bug 534136 Part 7: Add tests for atoms. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
0baab851d8 Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3cfc98309e Bug 534136 Part 5: Clean up atomtable hash entries. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Ginn Chen
42dacb38cb Bug 550154: PGO build issue on Solaris SPARC r=ted.mielczarek 2010-03-08 17:35:41 +08:00
Uli Link
d5626e719c Bug 537967 - Moving FILE_ILLEGAL_CHARACTERS from nsCRT.h to nsCRTGlue.h for frozen linkages, r=bsmedberg,sr=shaver 2010-03-07 15:15:31 +01:00
Serge Gautherie
5df52e8422 Bug 521673 - Remove remnant OJI references; (Cv2) Delete /xpcom/reflect/xptcall/tests/eVC4/*.
rs=dougt.
2010-03-07 13:08:19 +01:00
Mike Hommey
ca80bf02ca Bug 547656: xptcall broken on mips o32 big endian r=bsmedberg 2010-03-06 13:00:54 -05:00
Serge Gautherie
2c26aa63fc Bug 514787 - Remove unused TARGET_CARBON and TARGET_API_MAC_CARBON in configure.in; (Cv1) Update nsILocalFileMac.idl too.
r=benjamin.
2010-03-05 21:57:14 +01:00
Daniel Holbert
dc311954c3 Bug 539585: Fix warning "warning: format '%p' expects type 'void *'" in xpcom directory. r=bsmedberg 2010-03-05 10:41:25 -08:00
Dão Gottwald
58a7f1bd64 Backed out changeset 4c8952703e77 2010-03-05 13:34:44 +01:00
Mike Hommey
8c175d347f Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-05 13:02:22 +01:00
Brad Lassey
33f79e0aa9 fix comm-central bustage r=ted
--HG--
extra : rebase_source : 99482ae0d97a887d59cb9eb19c2eaafd0083995e
2010-03-04 15:07:29 -05:00
Chris Jones
db95ee1dcf Bug 549435: Make the leak log available during ipc/-related startup and shutdown. r=bsmedberg 2010-03-04 13:50:28 -06:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Chris Jones
dda6d9e99e Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad 2010-03-03 23:02:58 -06:00
Chris Jones
2141078f6e Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg 2010-03-03 23:02:57 -06:00
Mike Hommey
1c9a59ace0 Bug 543464 - Cleanup after make check in xpcom/tests. r=bsemdberg 2010-03-03 16:25:14 +01:00
Jonas Sicking
8e86b28780 Bug 549743: Abort if cycle collected object is refcounted from threads other than the main thread. Such refcounting will randomly cause leaks and crashes anyway, so better crash up front to make sure developers notice. r=dbaron 2010-03-02 16:04:34 -08:00
Ginn Chen
bbc617f0ad Bug 542738 nsLocalFile::IsWritable/IsReadable/IsExecutable is wrong on Solaris r=dougt 2010-03-02 13:51:57 +08:00
Ginn Chen
ff798e8598 Bug 537071 Add x86_64 Solaris support for xpcom/reflect/xptcall r=jst 2010-03-02 13:51:40 +08:00
Benjamin Smedberg
9485b136dd Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad 2009-11-12 14:37:34 -05:00
Chris Jones
5e03f750df Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc 2010-03-01 15:44:05 -06:00
Robert O'Callahan
ae2d325921 Bug 534425. Part 3: Make nsRefPtr be more lenient about initializing from an already_AddRefed. r=bsmedberg 2010-03-01 20:56:18 +13:00
timeless@mozdev.org
0c5fea1c77 Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
r=dbaron
2010-02-28 11:23:59 +01:00
Jonas Sicking
88609dd848 Bug 549098: Work around expected asserts by disabling tests in debug builds. r=dbaron 2010-02-27 13:15:51 -08:00
Neil Rashbrook
dfd69c61aa Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron 2010-02-27 16:01:53 +00:00
Karl Tomlinson
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
bjarne@runitsoft.com
505a28d5cc Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -08:00
Jonas Sicking
c42c4f710e Bug 541245 part 4: Be consistent about prohibited characters such as 0xFFFE in UTF8<->UTF16 conversion code. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
cd16e5d935 Bug 541245 part 3: Add UTF8/UTF16 encoding/decoding/comparison tests. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
ef44bebb92 Bug 541245 part 2: Make UTF8<->UTF16 comparison code consistent in the face of badly encoded strings. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking
4a339c846b Bug 422868 part 1: Fix UTF8 <-> UTF16 conversion code to deal with all encoding errors consistently. r=smontagu 2010-02-23 09:38:10 -08:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Oleg Romashin
3f2d038d99 Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt
--HG--
extra : rebase_source : 35638f5dd120786826ee0f9891e3d00940bbb037
2010-02-19 00:04:39 +02:00
Mike Hommey
b229641b26 Bug 544835 - Remove leftovers from bug 476903. r=bsmedberg 2010-02-20 19:11:57 +01:00
Neil Rashbrook
003d545f7b Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Oleg Romashin
3f39c8a245 Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt
--HG--
extra : rebase_source : 3355bf2092ded94c75bc733f2c36c51428dd53ef
2010-02-18 23:52:54 +02:00
Benjamin Smedberg
2dfa353c0b Followup to bug 541446 - nsIEnvironment.set will intentionally leak a string when you call it because that is required by the PR_SetEnv API. Make that string something which is not tracked by our leak detector
--HG--
extra : rebase_source : 2bdaf8d6ce3a8d093c107eeb9a4b2d4643ba0136
2010-02-10 12:57:46 -05:00
Mark Banner
4e935520e6 Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske 2010-02-10 11:55:18 +00:00
Justin Dolske
0763c9dd9f Bug 540532 - allow setting report submission preference via XPCOM. r=gavin, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Roger Dicke
24b2d5713b Bug 529978 - xpcom analysis Makefile produces error about ".deps". r=bsmedberg 2010-02-06 09:48:24 +01:00
Mitchell Field
d25f469072 Bug 542222 - Followup fix for Reduce recursion in makefiles. r=rstrong 2010-02-05 23:25:10 -08:00
Walter Meinl
f2a4f4176b Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Shailen
d10dfc97c5 Bug 516667 - Adding bookmarks fails on AIX. r=gal, sr=bsmedberg 2010-02-04 15:01:19 +01:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Walter Meinl
6948bd4934 Bug 536269: Fix build bustage on OS/2 in xpcom/build/dlldeps.cpp r=bsmedberg 2010-01-30 07:45:56 -05:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg
d62f1fe600 But 535564 part 3 - don't inherit leak/bloat log handles from parent to child processes on Windows: the Java plugin spawns a process which can remain after our Firefox/plugin processes are properly cleaned up, preventing the log files from being closed, r=jgriffin over IRC
--HG--
extra : rebase_source : 413e125c087f8e8c37f9f3dec372521e709760e5
2010-01-27 11:19:50 -05:00
Palo Misik
cbe20e57ef Bug 530505: Rev IID on various interfaces for Gecko 1.9.3 r=bsmedberg 2010-01-23 11:34:08 -05:00
Chris Jones
88b2d3c3d3 bug 539552 - keep track of child process minidumps, offer pid based lookup API, write out .extra data in child minidump callback. r=ted,bsmedberg
--HG--
extra : transplant_source : %C2x%AA%8C%9E%FF%05%9A%9A%86aw%09L%A1%FAQ%DATG
2010-01-14 17:38:00 -05:00
Marco Perez
88577a34dc Bug 536877 - Mozilla builds on FreeBSD (x86-64 only) broken. r=bsmedberg 2010-01-21 13:18:46 +01:00
Gavin Sharp
5589f1de57 Bug 538920: give nsIObserver the "function" attribute to allow directly passing JS function objects to nsIObserverService::addObserver, r=bsmedberg 2010-01-11 05:01:38 -05:00
Brad Lassey
fdb6249553 bug 537288 - xptcinvoke for windows ce arm is incompatible with ARMv7 and newer r=vlad, Jacob.Bramley@arm.com
--HG--
extra : rebase_source : fe9a32d7837668d1163ea755248e3e672dc538cd
2010-01-19 11:42:40 -05:00
Jacek Caban
b57cc9e69d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Chris Jones
843b4df695 Bustage fix: work around XRE hackery.
--HG--
extra : rebase_source : 369e571b7e2dcd78bb6d1cd4c0aa470f43b623bf
2010-01-12 17:42:58 -06:00
Chris Jones
e8012b2b92 Bug 516759: Use OOP crash reporting in Gecko. r=luser
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Daniel Holbert
d2247e1c10 fix for thunderbird bustage from Bug 474743. (need <stdio.h> in new xpcshell test for 'printf' usage) 2010-01-12 12:56:16 -08:00
Brian Birtles
4cd9f0f1e3 Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg 2010-01-12 12:00:49 -08:00
L. David Baron
d0b883e1b0 Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug 2010-01-12 08:51:39 -08:00
Neil Rashbrook
546b738179 Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg 2010-01-08 23:43:50 +00:00
Chris Jones
800ff959c1 Bug 522126, part 3: Use POSIX-clock TimeStamp/TimeDuration implementation if configure.in says it's supported. r=luser 2010-01-07 11:21:33 -06:00
Chris Jones
1399b2b545 Bug 522126, part 2: Add a POSIX clock (CLOCK_MONOTONIC) implementation of TimeStamp/TimeDuration. r=roc 2010-01-07 11:21:28 -06:00
Chris Jones
176bc71fd6 Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc 2010-01-07 11:21:23 -06:00
Taras Glek
55fb09bedb Bug 537158: Make fastload more robust r=brendan 2009-12-29 14:04:38 -08:00
Shailen
cd92b3ecb4 Bug 526450 - "AIX Compilation error for 3.7a1pre source xpcom/io/nsWildCard.cpp", line 455.20: 1540-0274 (S) The name lookup for "ns_WildCardMatch" did not find a declaration" [r=bsmedberg] 2009-11-04 03:19:00 -06:00
Ben Newman
713e822c3c Build and IPDL groundwork for the multi-process Jetpack API (bug 556846). r=bsmedberg 2010-06-25 08:00:35 -07:00
Jason Orendorff
84db361ea4 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst. 2010-06-18 15:29:21 -05:00
Mike Kristoffersen ext:(%3E)
2831befe3b Bug 562181 - Add support for MozOrientation on Qt. r=dougt
--HG--
rename : widget/src/android/nsAccelerometerAndroid.cpp => dom/system/android/nsAccelerometerSystem.cpp
rename : widget/src/android/nsAccelerometerAndroid.h => dom/system/android/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.h => dom/system/cocoa/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.mm => dom/system/cocoa/nsAccelerometerSystem.mm
rename : widget/src/xpwidgets/nsAccelerometer.cpp => dom/system/nsAccelerometer.cpp
rename : widget/src/xpwidgets/nsAccelerometer.h => dom/system/nsAccelerometer.h
rename : widget/src/gtk2/nsAccelerometerUnix.cpp => dom/system/unix/nsAccelerometerSystem.cpp
rename : widget/src/gtk2/nsAccelerometerUnix.h => dom/system/unix/nsAccelerometerSystem.h
rename : widget/src/windows/nsAccelerometerWin.cpp => dom/system/windows/nsAccelerometerSystem.cpp
rename : widget/src/windows/nsAccelerometerWin.h => dom/system/windows/nsAccelerometerSystem.h
rename : widget/public/nsIAccelerometer.idl => xpcom/system/nsIAccelerometer.idl
extra : rebase_source : f9c352566a6d4088e8d448587214fb87402a4dc3
2010-06-25 14:25:31 +02:00