Commit Graph

2982 Commits

Author SHA1 Message Date
Benoit Jacob
6598b33e08 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
24273e706e Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
0211452d2b Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
e1f7c314f4 Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
04d0f2f860 Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
44add94a59 Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
52fdb22c45 Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
0293563829 Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Josh Matthews
3e60a1dc11 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Justin Lebar
e3983d9b9b Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
--HG--
extra : rebase_source : dc4eddd09b2d074e830ec153af4a5ff4bb8b7a3a
2012-05-24 11:10:58 -04:00
Mike Hommey
e519957658 Bug 756745 - Use the "right" headers for mips xptc assembly on android. r=bsmedberg 2012-05-24 10:57:39 +02:00
Matt Brubeck
773ffb6265 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Mike Hommey
000ba7ebc5 Fixup for bug 754625. r=ted 2012-05-14 17:55:43 +02:00
Mike Hommey
5262f75c2c Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Brian R. Bondy
b0e8b53044 Bug 290735 - When launching a file use download path as working directory. r=jimm 2012-05-14 09:19:22 -04:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 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
e00e2ce48b Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
2f148bd23f Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
50c67f59af Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
bafa7da1bc Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
beb3891ba6 Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
eb8bc7b70d Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
4369473239 Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Gavin Sharp
b9ece23533 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Landry Breuil
a7b3472b9e bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Benjamin Smedberg
7de09be4eb Bug 737164 part A - make the nsTSubstring string API infallible by default. Note that this patch for reviewing sanity does not modify the subclass APIs, that will be a separate revision, r=jlebar
--HG--
extra : rebase_source : 48db8595e35e95ea6ddc3a35a553d5641b8d1a42
2012-05-08 12:42:27 -04:00
Andrew McCreight
d170aa07e6 Bug 748040 - remove malloc hooks from cycle collector. r=smaug 2012-05-10 07:59:00 -07:00
Nathan Froyd
4e4c07f7b3 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Gregor Wagner
605b015b11 Bug 743336 - Settings API Service Tests. r=fabrice 2012-05-08 11:28:59 -07:00
Ryan VanderMeulen
dbbb10d4f3 Merge m-c to inbound 2012-05-07 20:29:19 -04:00
Kyle Huey
b996299575 Bug 751585: Followup to adjust tests. (Last one I promise) 2012-05-07 17:19:31 -07:00
Kyle Huey
53126d9a8f Bug 751585: Followup to adjust tests. 2012-05-07 15:52:32 -07:00
Ehsan Akhgari
f646566d44 Merge mozilla-central into mozilla-inbound 2012-05-07 19:03:55 -04:00
John Ford
b1878ac302 bug 747448 - convert shell calls to pwd to using core_*path functions r=khuey 2012-05-07 15:21:11 -07:00
Jeff Muizelaar
0c87fbf8db Bug 751727. Remove NSPR TimeStamp implementation. r=roc
PR_IntervalNow() is not necessarily monotonic and so we shouldn't be using it
for implementing TimeStamp, especially now that it is exposed to web content
(Bug 539095).

Furthermore, it seems that the nspr implementation is being used
unintentionally on some platforms. For example, we used to use it on Android
and just now I see that it is being used in FF12 on Ubuntu.

--HG--
extra : rebase_source : cacc7f2c1d614631b93768e5979cc0820db46d54
2012-05-04 01:17:55 -04:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
b966ec32a4 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Ehsan Akhgari
381dadb912 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
ea6cc5b78c Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Andrew McCreight
518dcd29db Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
61de8b7612 Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
e9753b7090 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Andrew McCreight
8f2a67acb2 Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug 2012-05-03 12:28:10 -07:00
Ted Mielczarek
efd2485037 bug 654448 - remove xpt.py's Typelib.merge, move all the logic into xpt_link (also make it a lot faster). r=khuey 2012-05-03 13:44:43 -04:00
Ted Mielczarek
8c110be6f4 bug 654448 - refactor pyxpt to accept file-like objects for Typelib.{read,write}. r=khuey 2012-05-03 13:44:40 -04:00
Andrew McCreight
c7b15dad64 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Phil Ringnalda
8ddd6bf9af Back out 28cfc474ab58 (bug 742626) for xpcshell bustage 2012-04-30 11:38:09 -07:00
Justin Lebar
8bae8c2aa9 Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Fabrice Desré
dffd8d682c Bug 742626 - Allow indexedDB parent directory to not be the default profile directory [r=bent] 2012-04-30 10:27:57 -07:00
Justin Lebar
63374154d6 Bug 742849 - Disable AvailableMemoryTracker for 64-bit Windows processes. r=bsmedberg 2012-04-30 12:18:48 -04:00
Ed Morley
5ce11aa657 Backout e00bbdb439ed (bug 707579) for win64 make check failures 2012-04-30 11:37:59 +01:00
Mounir Lamouri
e577fb3d8c Bug 707579, xpt.py shouldn't try to generate destination file if inputs are all older, r=khuey 2012-04-30 15:18:58 +12:00
Mike Hommey
4c9231de07 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Nicholas Nethercote
e78fb15e4c Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
--HG--
extra : rebase_source : 8f726aef17e5b814f5b740b453c9a67a1ef7646d
2012-04-11 19:38:31 -07:00
Nicholas Nethercote
c33177f72e Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Nicholas Nethercote
76a872e30a Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Shriram Kunchanapalli
c75394595e Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Andrew McCreight
b23b951d76 Bug 678615, part 2: remove FinishCycleCollection. r=smaug 2012-04-25 08:10:09 -07:00
Andrew McCreight
9b6a388e23 Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv 2012-04-25 08:10:09 -07:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Ehsan Akhgari
5ab7b33081 Merge the last green PGO changeset from birch to mozilla-central 2012-04-24 20:54:12 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ryan VanderMeulen
796cc4c59a Backout 48213b973bfb (bug 695515) due to suspected OSX orange. 2012-04-24 20:51:53 -04:00
Lukas Blakk
e168a7cf2c Merging in version bump NO BUG a=relman 2012-04-24 12:54:16 -04:00
Ehsan Akhgari
731cf9d3bd Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Peng Kang
2fbc22e590 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
dbae9d14b7 Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
f1c951a722 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Mats Palmgren
4af073ffde Bug 744541. r=bz 2012-04-17 18:53:06 +02:00
Myk Melez
253337cae3 bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Felipe Gomes
71a5a8f571 Bug 738501. follow-up, rev uuid. rs,a=gavin 2012-04-18 15:16:34 -07:00
Tim Abraldes
7249119764 bug 738501: Add setShortcut function to nsILocalFileWin. r=bsmedberg. a=gavin.
The `setShortcut` function allows us to create or update Windows shortcut (.lnk) files.  The usage pattern is like so:
  Create an nsILocalFileWin whose path is something.lnk
  Call its `setShortcut` function to set the shortcut properties
2012-04-18 15:01:15 -07:00
Asaf Romano
52433dbe9d Butage fix for bug 745466 (that test is not valid on windows). 2012-04-16 23:47:42 +03:00
Asaf Romano
15eb8aba42 Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Ms2ger
5ac4683866 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
e24ce4be34 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Anant Narayanan
7e7843a3d2 Bug 695515 - Remove last use of memmem. r=khuey 2012-04-24 08:21:12 -07:00
Benjamin Smedberg
7fc7ea84fa Bug 743056 - nsPrintfCString is consistently misused because people don't understand its length-truncation behavior. Make it behave the way people expect by expanding the string as necessary (and use nsTSubstring::AppendPrintf to unify the codepath), r=jlebar
--HG--
extra : rebase_source : 8d638515f4ef5b89f0ecaca5a4cc2974982d7092
2012-04-13 12:58:59 -04:00
Mark Capella
1839be84c0 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Andrew McCreight
3b03476fec Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug 2012-04-11 16:50:03 -07:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Justin Lebar
b35ba51ee4 Bug 743786 - Add IsMainThread assertions to ClearOnShutdown. r=bmsedberg 2012-04-10 15:58:10 -04:00
Justin Lebar
f8a3cab1d6 Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg
--HG--
extra : rebase_source : e50670c28aa95de347ce68efaebb84c9682b2c36
2012-04-10 15:57:20 -04:00
Steven Michaud
c4e4278d46 Bug 313700 - Stale information in about:plugins (pluginreg.dat) after a plugin update. r=josh 2012-04-10 10:56:49 -05:00
Ehsan Akhgari
46c4c63e28 Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Serge Gautherie
d69df89987 Bug 740769. (Cv1a) test_bug325418.js: Create separate observers, Initialize gStartTime[12] later, Use Date.now() instead of (new Date()).getTime(), "timer = null;" a bit later, Nits. r=bzbarsky. 2012-04-10 15:59:43 +02:00
Serge Gautherie
cb2df952ec Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
DONTBUILD.
2012-04-10 04:32:19 +02:00
Takanori MATSUURA
ad43cf956c Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Dave Townsend
c2568a56b8 Bug 738790: Add mozglue to dependentlibs.list to fix xulrunner stub loading. r=glandium 2012-04-06 08:26:38 -07:00
Jacek Caban
1c9b8824e0 Bug 742281 - Append instead of assigning OS_LIBS in xpcom/tests/windows/Makefile.in r=glandium 2012-04-06 11:13:28 +02:00
Richard Newman
ac3180fbf9 Merge m-c to m-i. 2012-04-05 22:06:41 -07:00
Serge Gautherie
5bdb543413 Bug 740769. (Av1) Fix multiple issues in test_bug325418.js. r=bzbarsky. 2012-04-05 22:59:38 +02:00
Mike Hommey
8707a0e9c7 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Michael Wu
5ffa5ec502 Bug 742107 - Use GRE_HOME or /system/b2g on Gonk, r=glandium 2012-04-04 20:24:10 -07:00
Benjamin Smedberg
a5e003aaca Bug 740919 - Don't delay-load gkmedias.dll and make the XPCOM glue work by eagerly loading it in dependentlibs.list, r=khuey
--HG--
extra : rebase_source : cb2c83a5ca23c4ed93b18622503efc834c4465c4
2012-04-03 14:08:23 -04:00
Justin Lebar
90e145253e Bug 741540 - Add AvailableMemoryTracker's hooks before any threads have started up. r=bsmedberg
--HG--
extra : rebase_source : 5135df39b3ae022e75f8651b2e10a378edbae158
2012-04-09 13:53:08 -04:00
Daniel Holbert
959af08a05 backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
7a33df3fb0 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Geoff Lankow
2554d2b36e Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Masatoshi Kimura
cdc32afaa3 Bug 738912 - Part 1: Sort dictionary members lexicographically. r=khuey 2012-04-03 20:08:28 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Justin Lebar
e71332b560 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Matt Brubeck
678b0cfe89 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Justin Lebar
007d8115b5 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Ed Morley
e0cc7fbc48 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
42967d11c8 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : 37480ae937cbe2a09ae0ce7c187dafef94db5e16
2012-03-31 15:39:31 -07:00
Peter Van der Beken
bded75e901 Add include guards to nsVariant.h. No bug. r=bz. 2012-03-29 13:18:32 -07:00
Phil Ringnalda
62e25bcddc Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Kyle Huey
5639dfdb41 Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Jeff Muizelaar
adf7394c63 Bug 719427. Add a comment about malloc_logger. r=espindola 2012-03-27 13:48:58 -04:00
Marco Bonardo
54f60fcf68 Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
06ae9366ee Bug 739108 - Set android_sdk_version on gonk, r=cjones 2012-03-25 18:52:03 -07:00
Doug Turner
d24b5a906e Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
46f2d3abe9 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Cameron McCormack
503444be6a Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron 2012-03-27 09:48:25 +11:00
Andrew McCreight
7e1f1d540f Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Jonathan Kew
5ae7bbbe8c bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
7b572d1603 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Ryan VanderMeulen
ed2b9640bf Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Chris Lord
16ce512a67 Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Benjamin Smedberg
697455b3b3 Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Jonathan Kew
a16c68d182 bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
238a736cb7 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Makoto Kato
5299fa9e59 Bug 738157 - missing nsSubstring_h___. r=dbaron 2012-03-23 14:46:04 +09:00
Ehsan Akhgari
3939916769 Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Matias Juntunen
2cefe6b3a9 Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg 2012-03-21 19:52:24 -04:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Josh Dhaliwal
5062750d82 Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt 2012-03-21 10:52:35 -07:00
Doug Turner
e9b99834bc Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
bb974fd0d2 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
cb66f15674 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Mats Palmgren
d6d8798ce7 Bug 732951. r=bsmedberg 2012-03-20 19:02:38 +01:00
Vladan Djeric
9343cd86e7 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Nathan Froyd
009717fc44 Bug 695214 - Make xpidl.py enforce [retval] parameters coming last. r=khuey 2012-03-13 16:50:45 -04:00
Mounir Lamouri
ac6517508b Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-19 16:49:39 +01:00
Nicholas Nethercote
75315de3e2 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andrew McCreight
31374c7891 Bug 736763 - CanSkipInCC when adding roots. r=smaug 2012-03-18 07:17:04 -07:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Ehsan Akhgari
9fb965340a Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Mounir Lamouri
6ea2bd057f Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-16 19:32:11 +01:00
Kyle Huey
7b8018864e No Bug: Shut pldhash up for the 'probably' case. rs=bz 2012-03-16 10:09:14 -07:00
Andrew McCreight
4ad16ff672 Bug 521853 - Make all cycle collector faults fatal. r=smaug 2012-03-15 21:13:08 -07:00
Ekanan Ketunuti
0fb802fc1b Bug 722180 - Remove error codes for proxies. r=khuey 2012-02-01 18:53:29 +07:00
Landry Breuil
f91d1cc11b Bug 735422: Don't use shared-libraries.h and SharedLibraryInfo structs where SPS is not enabled; r=ehsan 2012-03-14 22:57:04 -04:00
Jacek Caban
1e2974e277 Bug 734903 - Undefined reference to XRE_GetProcessType in nsMediaCacheRemover.cpp on mingw r=benjamin 2012-03-14 15:08:04 +01:00
Mike Hommey
a062e24d2d Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Doug Turner
99adfcf041 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Doug Turner
cb5e3dd11b Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 16:57:09 -07:00
Ed Morley
72b4537851 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Ed Morley
abcf43a320 Merge mozilla-central to mozilla-inbound 2012-03-13 20:52:11 +00:00
Lukas Blakk
b307cc1a9c Merging in version bump NO BUG 2012-03-13 13:38:38 -07:00
Kyle Huey
1a9958311b No bug: Fix ply being dumb. r=ted 2012-03-13 10:22:14 -07:00
Doug Turner
dd357ccffe Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Doug Turner
968cf06489 Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 09:59:24 -07:00
Marco Bonardo
80af6e193a Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
c76813f196 Bug 721569 - Implement nullable types. r=khuey 2012-03-12 21:44:51 -07:00
Masatoshi Kimura
9105b69daf Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Boris Zbarsky
34e1783712 Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Phil Ringnalda
47dd3c842e Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
e77fa3497f Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Daniel Holbert
9fc8dc8ddd Bug 711047, followup to part 2: use C-style comment in nsError.h, to fix build warnings for its inclusion in .c files. rs=sicking 2012-03-16 15:16:40 -07:00
Ehsan Akhgari
0c0326c247 Bug 733277 - Prevent firing timers from lock contention with the main thread; r=bsmedberg 2012-03-04 18:56:19 -05:00
Nathan Froyd
03ed335d44 Bug 695235 - enforce unsigned long type on size_is parameters; r=khuey 2012-03-09 17:06:13 -05:00
Vladan Djeric
31d77b0c5e Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Daniel Holbert
8b79621c1a merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Ms2ger
4733cca974 No bug - Remove unused variables origStr from HashString; r=themaid 2012-03-11 09:48:18 +01:00
Phil Ringnalda
18e8599350 Bug 582821 - skip test_nsIProcess.js on Windows until it can learn not to leave an unremovable file on the slave 2012-03-10 18:01:30 -08:00
Jeff Muizelaar
06af852226 Bug 732806. Make stackwalking respect the stack end on OS X. r=ehsan
This will help us avoid some crashes.
2012-02-15 00:17:34 -05:00
Nicholas Nethercote
d539e72dcc Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Jacob Holzinger
86f648606c Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Justin Lebar
e74bd1ca4a Bug 733495 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:44:20 -05:00
Justin Lebar
eda5f85e3a Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
fa6e712a87 Bug 733496 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:27:14 -05:00
Nathan Froyd
b3d19acfde Bug 730825 - Part 2: remove nsDoubleHashtable.h; r=bsmedberg 2012-03-02 09:52:26 -05:00
Nicholas Nethercote
8b96d26135 Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Ehsan Akhgari
8e4c86f1c4 Bug 733264 - Define FramePointerStackWalk on platforms where stackwalking is not supported; r=jrmuizel 2012-03-06 11:38:04 -05:00
Adam Dane
3297d979d7 Bug 612246 - Store the media cache in the profile directory for single process Gecko and the system temp directory for multi-process. r=cpearce 2012-03-05 14:40:56 -06:00
Cameron McCormack
24ec15b64b Bug 732664 - Use FormatMessageA so that XPCOM stack walker prints error message correctly. r=dbaron 2012-03-06 10:04:40 +11:00
Andrew McCreight
7dc772d01a Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
78363fbd82 Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Justin Lebar
c07407a766 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Aryeh Gregor
88c8133b31 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Jesse Ruderman
5b165a3ca2 Bug 732607 - make nsTArray assertions fatal. r=bz 2012-03-03 13:16:13 -08:00
Nathan Froyd
60c8e4a16a Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Justin Lebar
b3d892cff8 Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz 2012-03-02 17:20:44 -05:00
Nicholas Nethercote
29ca78c292 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Ryan VanderMeulen
cd1d50ec68 Backout bug 666612 (rev 897ee1cf8514) due to build bustage. 2012-03-01 17:26:58 -05:00
Nathan Froyd
2727da5b25 Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Bas Schouten
be63948579 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Boris Zbarsky
7b360ea8bd Bug 730414 followup comment to address review comments 2012-02-29 21:44:02 -05:00
Boris Zbarsky
1922ecc1d7 Bug 730414. Expose a quick way to get a hash key for an atom. r=bsmedberg 2012-02-29 21:40:51 -05:00
Boris Zbarsky
2a3c77316e Bug 730100. Add a Bloom filter implementation. r=waldo 2012-02-29 21:40:47 -05:00
Nathan Froyd
c8b733f8f6 Bug 700659 - Delete nsHashSets code. r=bsmedberg 2012-02-27 11:26:58 -05:00
Brian R. Bondy
1089a70b55 Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg 2012-02-28 13:42:13 -05:00
Matt Brubeck
8aa8ff3307 Merge from mozilla-central to mozilla-inbound 2012-02-28 10:08:33 -08:00
Mark Capella
2b9096ad7f Bug 489728. (Bv6a) Use passed() in TestTXMgr.cpp, Make passed() accept a va_list in TestHarness.h. f=sgautherie r=ehsan. 2012-02-28 10:17:15 +01:00
Brian R. Bondy
213164cf74 Bug 632556 - Run nsIFile::Reveal/Launch asynchronously. r=bsmedberg 2012-02-26 16:46:38 -05:00
Andrew McCreight
19d62669fe Bug 730357 - factor out common NoteChild code. r=smaug 2012-02-26 13:18:44 -08:00
Nicholas Nethercote
4a60fe0183 Bug 728990 - Change "The two measurements of 'explicit' memory usage don't match" assertion to a warning, because it fails occasionally due to races. r=jruderman.
--HG--
extra : rebase_source : 3b2a8c8f14690bea041366dd35ff5147895abd56
2012-02-26 20:17:46 -08:00
Nathan Froyd
89dc714bdb Bug 729256 - Make xpidl.py error out on multiple-method function interfaces. r=bsmedberg 2012-02-27 18:57:28 -05:00
Nathan Froyd
ef27fe4d46 Bug 700659 - Slay nsHashSets in xpcom/base. r=khuey 2011-11-08 15:25:33 -05:00
Nathan Froyd
8c9068a69a Bug 700659 - add a Contains method to nsTHashtable; r=bsmedberg 2012-02-22 06:32:13 -08:00
Marco Bonardo
48c6fcb63b Merge central to inbound 2012-02-25 11:12:42 +01:00
Brian R. Bondy
c12098b4fa Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Andrew McCreight
8acb3a3fe5 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Nathan Froyd
a3e91bce47 Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
Richard Newman
200c9a86f4 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mike Hommey
3184199e4a Bug 728229 - Allow to build with system python ply library. r=ted 2012-02-23 11:00:18 +01:00
Justin Lebar
4edf8b6f57 Bug 729453 - Decrease stack allocation in nsTArray::SwapArrayElements from 8KB to 64B. r=roc 2012-02-22 12:26:21 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
aceman
a12e7ea1ef Bug 406336 - Fix indexOf and enumerate documentation. r=benjamin 2012-02-22 14:05:23 +01:00
Ed Morley
ff348e5594 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-23 13:58:27 +00:00
Kyle Huey
197d5af23e Merge b-s to m-c. 2012-02-22 19:00:04 -08:00
Kyle Huey
392a921f2a Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-22 15:05:28 -08:00
Phil Ringnalda
47628975d4 Merge m-c to m-i 2012-02-21 23:36:31 -08:00
Mike Hommey
4c666b0d0a Bug 723861 - Ship xpidllex.py and xpidlyacc.py. r=ted 2012-02-22 08:12:15 +01:00
Mike Hommey
246ddeca9b Bug 728071 part 1 - Move nsXREAppData definition in a separate header, and use it from application.ini.h. r=bsmedberg 2012-02-22 08:12:15 +01:00
Mike Hommey
99e3690cd6 Bug 686805 part 7 - Display linker stats on each Startup Timeline event. r=tglek,r=khuey 2012-02-22 08:12:15 +01:00
Phil Ringnalda
3fed55bffc Back out b27980f1de54 and 39ea8d8f9768 (bug 728429) for potential Windows PGO build bustage on a CLOSED TREE 2012-02-21 20:01:01 -08:00
Kyle Huey
76b7e71a47 Bug 728429: Fix typo. r=me 2012-02-21 19:07:22 -08:00
Kyle Huey
569fb43e63 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-21 16:09:39 -08:00
Nicholas Nethercote
9472d29e81 Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Nicholas Nethercote
afe0a88b52 Bug 682431 (part 1) - Fix up ns{String,CString} SizeOf* functions. r=bz.
--HG--
extra : rebase_source : 85813ee7d843b6422f1a80a36a06fb42aa93b801
2012-02-19 19:16:41 -08:00
Andrew McCreight
f16d79e531 Bug 727604 - add release assertions to investigate cycle collector crashes. r=smaug 2012-02-20 12:13:29 -08:00
Robert O'Callahan
6a985084a0 Bug 727695. Add TimeDuration::FromMicroseconds. r=cjones 2012-02-19 21:53:40 +13:00
Ed Morley
fe4a039dbe Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Serge Gautherie
c31d0e5c9d Bug 721065. (Bv2a) pyxpt: Report true Typelib filename for both files, when IIDs/names differ. r=ted.mielczarek. 2012-02-17 19:37:52 +01:00
Olli Pettay
80f2d0e592 Bug 726346 - Implement a version of nsICycleCollectorListener for devtools, r=mccr8
--HG--
extra : rebase_source : e0ff9a1bba67eb8efa433f954ac03691252f6bed
2012-02-17 19:35:22 +02:00
Brian R. Bondy
57f6006c7d Bug 726576 - Optimize calls to nsLocalFileWin's HasFileAttribute. r=neil 2012-02-17 09:24:09 -05:00
John Schoenick
830b3cc2e8 Bug 716556 - Fix possible buffer overflow in nsScriptableInputStream (attempt 2). r=bsmedberg 2012-02-13 11:26:28 -08:00
Brian R. Bondy
e55c0ff914 Bug 726503 - FILE_FLAG_SEQUENTIAL_SCAN always being passed for all file IO. r=taras 2012-02-16 08:55:19 -05:00
Brian R. Bondy
f432cc5381 Bug 726481 - Reduce calls to nsLocalFileWin's IsDirectory by not calling it when enumerating directories. r=neil 2012-02-16 08:49:24 -05:00
Marco Bonardo
756b3f734f Merge central to inbound 2012-02-16 11:47:36 +01:00
Marco Bonardo
7a229c8f87 Merge last green PGO from inbound to central 2012-02-16 11:45:18 +01:00