Граф коммитов

10575 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 0a40268f1f Merge m-c to inbound. 2012-07-05 21:07:54 -04:00
Ryan VanderMeulen 36f3902ed9 Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:26:55 -04:00
Ryan VanderMeulen 841d9758fa Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:15:12 -04:00
Jeff Muizelaar cd56fffd20 Bug 771317. Fix comment about FASTCALL and inline functions. r=espindola
Calling convention does not make a difference on functions that are inlined,
but that feels obvious because no call is being made. Inline functions are not
necessarily inlined so this comment is somewhat misleading.

--HG--
extra : rebase_source : f634f18d1a6669147f53162a7bc0ab08b145cc43
2012-07-05 17:38:30 -04:00
Ehsan Akhgari 4951d76b67 Merge mozilla-central into mozilla-inbound 2012-07-05 11:13:45 -04:00
Benoit Jacob e3783dda32 Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg 2012-07-05 10:32:10 -04:00
Benoit Jacob 72a25f630d Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz 2012-07-05 10:14:09 -04:00
Ehsan Akhgari 1bdfc194e2 Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters 2012-07-05 18:19:07 -04:00
Ehsan Akhgari 5906a56d51 Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil 2012-07-05 16:26:59 -04:00
Mounir Lamouri a643785d84 Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari a608ba681b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpcom and gonk parts); r=jrmuizel 2012-06-19 23:41:56 -04:00
Ehsan Akhgari 6236bad8d7 Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar 2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola bc46f77176 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Bill McCloskey 5ba066f3bb Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Ms2ger afc7a3b381 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
L. David Baron 9e2b8313b4 Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging. 2012-06-29 22:50:45 -07:00
Kyle Huey a13be59eca Bug 709747: Fix COMPtr logging for .forget(). r=dbaron 2012-06-29 10:10:31 -07:00
Bonnie Surender 2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vladan Djeric 2e4f27310a Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud 2012-06-28 14:57:52 -04:00
Andrew McCreight ffbaa85872 Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Landry Breuil 2f9178226a Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium 2012-06-26 22:48:57 +02:00
Bill McCloskey db6b5999cb Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Nicholas Nethercote e23d7588a7 Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Jonathan Watt 970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd 7a6a991007 Bug 765326 - atom-table numbers should include the static atom table; r=njn 2012-06-15 15:51:42 -04:00
Mike Hommey 4f54c3b9c9 Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Ehsan Akhgari 205eff8cdd Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg 2012-06-19 18:23:35 -04:00
Oleg Romashin 1100114507 Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf 2012-06-21 13:01:22 -07:00
Gregor Wagner c7221b4636 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Mike Hommey 1bdf8bc56d Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted 2012-06-20 09:00:48 +02:00
Vladan Djeric 70b3e8bfd6 Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan 2012-06-20 19:20:24 -04:00
Michael Wu 1ca4d29c7b Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Mike Hommey 894a244c4f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Benjamin Smedberg 7b269a47ba Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Mike Hommey b95d1d1421 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Makoto Kato 0ab8670a51 Bug 763378 - arm detection should have correct define when -mfpu=neon on gcc or on MSVC. r=tterribe 2012-06-19 12:17:43 +09:00
Nathan Froyd da162f0e8a Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar 2012-06-18 20:10:08 -04:00
Jeff Walden 3b720a666b Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Martin Stransky 2e3eaebbc4 Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg 2012-06-16 18:05:00 +12:00
Mike Hommey cc362780fd Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley e76a671d8e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey 41e8007adc Fixup for bug 616262 to avoid Windows PGO bustage. r=me 2012-06-15 10:49:53 +02:00
Mike Hommey c94455deff Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg 2012-06-15 08:23:08 +02:00
Nathan Froyd 70bf86d653 Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn 2012-06-14 16:29:00 -04:00
Mike Hommey bda3a28b5d Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Matt Brubeck 7445a691a7 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Honza Bambas a07c8267df Bug 729182 - Followup - MPL2 headers, r=Ms2ger 2012-06-13 17:35:31 +02:00
Jim Mathies 2bc95dca5d Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg 2012-06-13 08:37:24 -05:00
Nicholas Nethercote 4fd9fd2bdf Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote a9106b5cbe Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Daniel Holbert a30ffe2e4d Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug 2012-06-14 15:26:04 -07:00
Ehsan Akhgari 0c37360e52 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Andrew McCreight 0507cf0146 Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug 2012-06-14 08:52:54 -07:00
Ehsan Akhgari df3797a6e7 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Honza Bambas fd7f8a3858 Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan 2012-06-12 19:06:21 +02:00
Honza Bambas fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Masatoshi Kimura 7625c2a0a5 Bug 762758 - Implement underscore-escape in xpidl parser r=khuey 2012-06-12 22:01:06 +09:00
Andrew McCreight aa90a88409 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ed Morley f86da2f0f4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-08 11:23:53 +01:00
Ehsan Akhgari ec99d74c58 Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley d1b860bd10 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Olli Pettay 8111d06371 Bug 761621 - interfaces inheriting a builtinclass-interface should be builtinclass too, r=khuey
--HG--
extra : rebase_source : 5b3379e0c8263846177aa7854547b3809f4b0109
2012-06-06 19:30:58 +03:00
Shriram Kunchanapalli e62d02a2ef Bug 760162: Remove obsolete comment about nsCRT::mem* functions in nsCRT.h; r=dougt f=sgautherie 2012-06-06 13:19:08 +01:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Lukas Blakk 7fa7186c92 Merging in version bump NO BUG 2012-06-04 12:36:59 -07:00
Jan Varga 513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Nathan Froyd 2bfe6472eb Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar 2012-05-30 15:11:58 -04:00
Doug Turner 3cee32484e Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-07 10:58:33 -07:00
Jacek Caban 3177e8e330 Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes 2012-05-31 16:09:36 +02:00
Ehsan Akhgari f2dc7d6d96 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Cameron McCormack 75dbe30fac Fix a couple of typos in comments. No bug, no review. 2012-05-31 10:32:17 +10:00
Brian R. Bondy fbae16aaff Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras 2012-05-30 13:25:09 -04:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Shriram Kunchanapalli 5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley 4ff9f1d562 Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Daniel Holbert 963c627976 Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner 2012-05-25 12:29:05 -07:00
Ed Morley 4a43704eee Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-25 14:25:53 +01:00
Brian R. Bondy ef3001237f Bug 710935 - Measure lag in handling user input. r=bsmedberg 2012-05-25 09:22:19 -04:00
Jim Mathies 81bcae808c Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg 2012-05-25 05:01:29 -05:00
Ms2ger 65aa2a4593 Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger 686e870ccd Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg 2012-05-25 09:18:30 +02:00
Michael Tokarev 5637d5d13d Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg 2012-05-23 20:56:39 -04:00
Tim Abraldes e58929288d bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Justin Lebar 80bad27304 Bug 756825 - Fix comments in nsPrintfCString. r=bsmedberg 2012-05-23 11:25:35 -04:00
Ehsan Akhgari 2362f4b5ee Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Jim Mathies 025f49633e Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin 98f9df6c9e Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg 520acef26d Bug 734847 - Make nsTHashtable and its derivatives be infallible to OOM by default; code which is prepared to handle OOM conditions must use the explicit fallible_t() methods, r=jlebar
--HG--
extra : rebase_source : 4acfaa41aa572c570e4627250f2d3ec2e1817e93
2012-05-18 12:42:01 -04:00
Benjamin Smedberg 1033f3c3d5 Bug 754244 - Prevent the XPIDL parser from tokenizing "long longValue" as "long long" "Value" by requiring that the next letter after a named identifier be a non-identifier letter, r?khuey
--HG--
extra : rebase_source : e865be978256496c8b252f33a3d9644367bfe76f
2012-05-18 12:42:01 -04:00
Ms2ger e292b33b2f Merge. 2012-05-18 13:32:47 +02:00
Robert Longson 4fd52b5cbf Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Ms2ger f64d1ecb9a Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc 2012-05-18 10:29:38 +02:00
Nicholas Nethercote 9976c1f421 Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar. 2012-05-16 20:43:36 -07:00
Gavin Sharp 21109e0ca7 Bug 747990 followup: rev nsIXULAppInfo IID 2012-05-17 10:12:35 -07:00
Robert Longson da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Benoit Jacob 6de3cc03da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob fa7d54dc65 Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob 030b3abd45 Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00