Chris Coulson
8fd909593b
b=611953 Add nsIGSettingsService to support GSettings r=karlt
...
--HG--
extra : rebase_source : 01cee722e375c8acc82cb6169a096d73026030aa
2011-05-12 20:14:55 +12:00
Taras Glek
e7d5270db5
bug 585196: Cycle-collector telemetry probe r=bent
2011-05-12 11:22:25 -07:00
Alex Vincent
0679b2f21a
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
aeb9b87fa8
Backed out changeset 2a0fbd6eedbd because of pyxpt unit test failure
2011-05-12 09:05:05 +02:00
Mike Hommey
2f56ec35a0
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
82a8ac704a
Bug 653630 - Allow non-leaf reporters in about:memory. r=sdwilsh.
2011-05-11 16:09:50 -07:00
Benjamin Smedberg
881f62c5c8
Bug 656331 - XPCOM binary component loading never checks mVersion, r=bz
2011-05-11 13:03:38 -04:00
Mats Palmgren
c094a0c158
Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron
2011-05-11 11:46:59 +02:00
Michael Wu
90fb74e443
Merge backout (to fix bug 656172)
2011-05-10 19:10:01 -07:00
Michael Wu
899d3b6b5d
Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer
2011-05-10 18:27:51 -07:00
Chris Leary
4d3c7b1eb9
Merge mozilla-central and tracemonkey. (CLOSED TREE)
2011-05-10 14:55:52 -07:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Chris Leary
613529c295
Merge mozilla-central to tracemonkey.
2011-05-09 14:27:44 -07:00
Andrew McCreight
02359464cb
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
33aac194a8
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Alon Zakai
3c5959f2f9
Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey
2011-04-29 16:49:20 -07:00
Chris Jones
829f9a414c
Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz
2011-04-29 14:21:57 -05:00
Chris Jones
6b36ed55c1
Bug 556214, part 2: Create non-reentrant Monitor. r=roc sr=brendan
2011-04-29 14:21:57 -05:00
Chris Jones
31aa2c4e77
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
7d68a315bd
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
2d337f0522
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
5fba39075d
bug 649502: Expose histograms to JS r=mrbkap
2011-04-27 11:07:02 -07:00
Justin Lebar
823150964d
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
d7dbfeda96
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
51a816c89b
Bug 471588 - Remove String docs. r=dbaron DONTBUILD
2011-05-06 12:43:35 -07:00
Mark Finkle
d2feafa0a4
Bug 650390 - osversion in chrome.manifest files should query android os version [r=dtownsend]
2011-05-05 16:50:19 -04:00
Justin Lebar
11e14f3c41
Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted.
2011-04-28 15:49:16 +02:00
Daniel Holbert
5a3d8699b9
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
020b76968f
Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin.
2011-05-03 17:12:58 -07:00
Mike Hommey
66ee07052c
Bug 651975 - Replace mmap with file reading in pyxpt. r=ted
2011-05-03 10:30:22 +02:00
L. David Baron
abb3b86d3d
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
a1c93a6f14
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
eb0c1061d1
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
eac95bc5f3
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
68289c6545
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
b8cac7f287
Fix comment typo per bug 550611 comment 34
2011-03-30 15:55:00 -04:00
L. David Baron
73a9b73b12
Move AddRef to before the unlock. (Bug 650674, patch 2) r=bsmedberg
2011-04-20 14:29:45 -07:00
L. David Baron
f69222ff51
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)
30255aeb19
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
e5a30afb49
Merge mozilla-central to build-system.
2011-04-19 13:22:32 +10:00
Mitchell Field
b6cdf39fe4
Merge mozilla-central to build-system.
2011-04-16 00:27:18 +10:00
Mike Hommey
6de32c8fa9
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
8b1d717189
Bug 650162 - #ifdef out unused functions; r=dholbert
2011-04-14 18:14:19 -07:00
Phil Ringnalda
22ed1678cb
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
6dd48e75f1
Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg
2011-04-14 10:19:14 -04:00
Ehsan Akhgari
cb5cc4ef6b
Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg
2011-04-14 10:18:02 -04:00
Serge Gautherie
031f194849
Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
...
r=benjamin.
2011-04-14 12:47:41 +02:00
Mike Hommey
2e34091c98
Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted
2011-04-14 11:23:13 +02:00
Mike Hommey
1134591309
Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg
2011-04-14 11:22:09 +02:00
Kyle Huey
746351dc18
Backed out changeset aa200a803e07
2011-04-13 23:17:02 -07:00
Kyle Huey
c2ed6a11c4
Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg
2011-04-13 19:41:34 -07:00
Ehsan Akhgari
dd5c804aa9
Merge cedar into mozilla-central
2011-04-13 14:00:55 -04:00
Chris Coulson
7dcfbfecde
Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt
2011-04-12 16:11:20 -04:00
Ehsan Akhgari
6dbc8ed166
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
e1c0dab9dd
Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480)
2011-04-10 17:12:52 -04:00
Benjamin Smedberg
8489c6e6df
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
47dfb01d0c
Merge mozilla-central to tracemonkey.
2011-04-11 16:54:01 -07:00
Luke Wagner
b573ab190a
Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv)
2011-04-07 16:53:33 -07:00
Ehsan Akhgari
2cc302e02c
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
b8fdd3ad9d
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
18eec4d83d
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
Ehsan Akhgari
cccdef8b2f
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
4342d9e7e4
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
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
912845af59
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
699024f868
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)
0ce53bb598
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
02fde279ea
Merge mozilla-central and tracemonkey.
2011-03-29 14:52:44 -07:00
Chris Leary
7f1a11eb97
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Andrew McCreight
8a822b4e90
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
8761668e87
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Steve Harper
37d598147b
Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm
2011-03-28 07:36:33 -05:00
Ehsan Akhgari
eb31aa597e
Merge cedar into mozilla-central
2011-03-26 12:16:48 -04:00
Matheus Kerschbaum
0570662051
Bug 640838: Remove OpenVMS support. r=khuey
2011-03-26 11:51:35 -04:00
Markus Stange
a477f2efe9
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Chris Leary
347b8d483b
Merge tracemonkey to mozilla-central.
2011-03-31 15:47:46 -07:00
Chris Jones
cdfe5750a6
Bug 646259: Some trivial formatting fixes to deadlock detector output. r=bsmedberg
2011-03-31 14:51:19 -05:00
David Mandelin
3f43be2dfd
Bug 646304: Fix MSVC warning, r=bent
2011-03-29 19:05:12 -07:00
Ehsan Akhgari
bd51cb9b94
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
18b3ad188c
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
54d6f693a6
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
Ehsan Akhgari
cb6a971f1a
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
Mounir Lamouri
6e945be67b
Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg
2011-03-25 12:13:59 +01:00
Neil Rashbrook
f0721f4c06
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
1ad7ee1a76
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
0bd9cb7b3e
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
7c0acef8c1
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
0cfcd44b08
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
68eba45f45
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
ae5b4dccf8
Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg
2011-03-23 15:13:41 -04:00
Josh Aas
a562088481
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
68f964b8bb
Bump the binary compatibility version post-branch.
2011-03-23 10:28:41 -04:00
Kyle Huey
a4544fbedb
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Mounir Lamouri
3dc7fe104c
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
3044331f35
Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted
2011-03-07 15:54:21 +09:00
Kyle Huey
8b2b2d95a7
Merge m-c to bs.
2011-03-04 23:54:03 -05:00
Brad Lassey
81cc8b631f
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
4b4150a43d
bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+
2011-03-01 19:32:32 -05:00
Jonas Sicking
187d172f47
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
087439bb24
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