Commit Graph

1888 Commits

Author SHA1 Message Date
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
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