Commit Graph

1329 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
4ca30d5e47 Bug 826029 - Assertion in mozPoisonWriteMac due to Mac camera code trying to write a defaults file on exit | Assertion failure: ok, at ../../../xpcom/build/mozPoisonWriteMac.cpp:90. r=ehsan.
--HG--
extra : rebase_source : 511835e6d24a0b58b5c9eb684b258456b7a7019e
2013-01-02 21:04:10 -05:00
Neil Rashbrook
41d5c4cd99 Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Benjamin Smedberg
ab775a4ccf Bug 807757 main part - remove nsIProfileChangeStatus, nsIProfile and remnants of code to support them, r=glandium
--HG--
rename : profile/public/nsIProfileChangeStatus.idl => profile/public/notifications.txt
extra : rebase_source : 89db8a63effc2eab589a184a2b686cfcca3f8f63
2012-12-13 12:20:56 -05:00
Jim Mathies
d768d99a05 Bug 820200 - Pass application directory to XRE_InitEmbedding2 in content process. r=bsmedberg 2012-12-18 10:24:42 -06:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ed Morley
2720ada529 Backout 4ebd50016f35 & 9033700cc24f (bug 807757) for failing to build on a CLOSED TREE 2012-12-13 18:46:38 +00:00
Benjamin Smedberg
a7244b9828 Bug 807757 main part - remove nsIProfileChangeStatus, nsIProfile and remnants of code to support them, r=glandium
--HG--
rename : profile/public/nsIProfileChangeStatus.idl => profile/public/notifications.txt
extra : rebase_source : e7caf9d124a4295ced9d607ab6b75b663b97ed8e
2012-12-13 12:20:56 -05:00
Oleg Romashin
503cc5fd3e Bug 818787 - Return back NS_ENSURE_TRUE(appShell, into XRE_RunAppShell. r=cjones 2012-12-10 09:14:52 -05:00
Bas Schouten
5c2da9fbfd Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Benoit Girard
8124a450e6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Benoit Girard
ed38a0c373 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Ehsan Akhgari
33a9b305c1 Backed out 3 changesets (bug 799640) on the suspicion of regressing Tp5 by 50%
Backed out changeset 133c704dbcc6 (bug 799640)
Backed out changeset b130bb991d84 (bug 799640)
Backed out changeset e47b059493cf (bug 799640)
2012-11-30 16:05:13 -05:00
Benoit Girard
ff46d9c9c6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Benoit Girard
3280834c40 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Landry Breuil
2a066f0df0 Bug 803955 followup - add missing defined(__FreeBSD__), forgotten in cf6c50786ee5. was r=bsmedberg 2012-11-15 20:07:09 +01:00
Isaac Aggrey
6058811463 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan 2012-11-14 13:14:21 -06:00
Ehsan Akhgari
ab48da6035 Backed out changeset da25394a8b55 (bug 802706) for build bustage 2012-11-14 13:24:12 -08:00
Isaac Aggrey
12202e6725 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc 2012-11-14 13:14:21 -06:00
Landry Breuil
37fd657c5f Bug 803955: {Free,Open}BSD use alternative dirs for systemwide extensions/plugins. r=bsmedberg 2012-11-14 20:02:07 +01:00
Kartikaya Gupta
ad1f488329 Bug 808875 - Fix unused variable warnings in nsAppRunner.cpp. r=bsmedberg 2012-11-14 09:36:41 -08:00
Jim Mathies
1627b67306 Bug 807593 - Land metro specific nsAppRunner bits on mc. r=bbondy 2012-11-05 05:26:12 -06:00
Neil Rashbrook
cd349de7a0 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f1d654c74a Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
958b1668fa Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Graeme McCutcheon
4007709169 Bug 724513 - Part 2 - nsAppRunner shouldn't assume the deletion of invalid startup cache file succeeded. r=mwu 2012-10-23 17:46:51 +01:00
Rafael Ávila de Espíndola
f518b77a02 Bug 804828 - Talagent trips ValidWriteAssert (when Firefox tries to restart in safe mode due to previous crashes). r=ted.
--HG--
extra : rebase_source : dd4a3dec5204181a4c421d84daccf9ea172757c8
2012-10-31 14:18:03 -04:00
Ehsan Akhgari
59dacf4015 Backed out 3 changesets (bug 724513) for a 20-30% Ts regression across the board
Backed out changeset 006eb98e9d6f (bug 724513)
Backed out changeset f418d97d12ac (bug 724513)
Backed out changeset 1baac3f2334c (bug 724513)

--HG--
extra : rebase_source : e361496807916c968524446d32d3eb1d6af346eb
2012-10-31 11:28:21 -04:00
Graeme McCutcheon
97eb7696a7 Bug 724513 - Part 2 - nsAppRunner shouldn't assume the deletion of invalid startup cache file succeeded. r=mwu 2012-10-23 17:46:51 +01:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Steven Michaud
e364be4527 Bug 801883 - New profile directories are hidden in Finder. r=josh 2012-10-26 12:21:12 -05:00
Brian R. Bondy
398707a8f3 Bug 765598 - Remove newly created MozUpdater folders in tmp on post update. r=ehsan 2012-10-25 22:30:34 -04:00
Ehsan Akhgari
8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Isaac Aggrey
f3cb73b9c7 Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc 2012-10-11 01:00:54 -05:00
Wes Johnston
7af2a0ac17 Bug 800840 - Setup profile locker after unlocking on Android. r=bsmedberg 2012-10-18 10:54:42 -07:00
Mike Hommey
5055bfb2f5 Bug 794472 - Add quoting for some commands to make pymake happier. r=ted 2012-10-18 14:44:12 +02:00
Isaac Aggrey
220c75c473 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
Jan Beich
9b4ca63b2a Bug 778078 - Disable GLib slice allocator on systems with jemalloc in libc. r=glandium 2012-10-17 16:36:43 +02:00
Wes Johnston
93a77cc9b7 Bug 795406 - Set up profile unlocker. r=bsmedberg 2012-10-05 17:58:29 -07:00
Wes Johnston
5d4a9e0c25 Bug 795053 - Unlock locked profiles on Android. r=blassey 2012-10-05 12:35:26 -07:00
Wes Johnston
c161af875f backout c1b386c21158 2012-10-02 11:48:31 -07:00
Wes Johnston
f84327cacf Bug 795053 - Add ability to unlock a profile from Java. r=blassey 2012-10-02 11:00:13 -07:00
Phil Ringnalda
03892eaa4c Back out 63105f3adf34 (bug 721843) for xpcshell timeouts 2012-10-01 20:43:27 -07:00
Benoit Girard
432b7c8fd8 Bug 721843 - Add just-in-time debugging by using CRAWL_STACK_ON_SIGSEGV on non official builds for mac/linux. r=ted 2012-10-01 22:09:20 -04:00
Marshall Culpepper
7ad8f721a7 Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Kyle Huey
35610fce7c Bug 792625: Fix xpcshell to accept non-ASCII command line arguments on Windows. r=bsmedberg 2012-09-30 09:45:05 -07:00
Ryan VanderMeulen
f88ee14247 Bug 787313 - Add back code that was erroneously reverted. r=ochameau 2012-09-26 18:56:49 -04:00
Mounir Lamouri
25a3db2998 Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Benjamin Smedberg
a4f76fb27d Bug 792541 - Block sprotector.dll on Windows 8 and up. Add support in the windows blocklist for flags and add a flag for "win8 and up only", r=ehsan
--HG--
rename : build/valgrind/cross-architecture.sup => build/valgrind/x86_64-redhat-linux-gnu.sup
extra : rebase_source : e7f5420fd981d467f109e2dc9a7408f32cc18394
2012-09-25 22:25:51 -07:00
Alexandre Poirot
91d710b076 Bug 787313 - Add /attach-console argument on Windows in order to attach Firefox std IO to parent console. r=ted 2012-09-25 12:58:08 -04:00
Benoit Jacob
3321942c35 Bug 786383 - add MOZ_AVOID_OPENGL_ALTOGETHER option - r=karlt 2012-09-21 13:44:35 -04:00
Ms2ger
abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
4cf7905fe1 Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Jan Beich
03d2fe0829 Bug 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking 2012-09-18 21:35:04 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Matt Brubeck
c08c72f6fe Bug 789346 - Remove obsolete comment about .purgecaches and debug builds [r=taras] 2012-09-10 18:53:23 -07:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
291bfa222b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Benoit Jacob
e5257b17de Bug 680644 - Simplify glxtest and make it similar to glxinfo to avoid X server crashes - r=karlt
We were getting orange B's due to X server crashes on builders.
2012-08-28 15:38:08 -04:00
Martin Vogt
a9cc8b6088 Bug 680644 - Let glxtest use a XWindow instead of a GLXPixmap - r=bjacob
This simplifies code and avoids a X server crash with certain FGLRX setups.
2012-08-22 23:16:30 -04:00
Bob Clary
46479356f7 Bug 587982 - Log MS CRT Warnings and Abort on MS CRT Errors and Assertions, r=ted.mielczarek. 2012-08-27 12:12:32 -07:00
Marshall Culpepper
5ca7854451 Bug 764683: Manage /system mount permissions when applying Gecko updates in B2G, and download them to /data/local. r=rstrong r=bbondy r=cjones 2012-08-27 12:27:14 -03:00
Justin Lebar
96f43679ba Bug 721264 - Followup: Add bug number to comment. DONTBUILD
--HG--
extra : rebase_source : f64958f476febe85bbac1b1ba40f3707ed3132af
2012-08-22 13:37:22 -07:00
Johnathan Nightingale
c29cbb13fb Bug 721264 - Blocklist babyfox.dll for instability. r=bsmedberg a=lsblakk
--HG--
extra : rebase_source : 2baba41b8a8d5546a67d9e366a23e27841cdffb2
2012-08-21 17:29:51 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
ff57e540e2 Bug 782252 - Convert declared types to nsresult; r=ehsan 2012-08-06 15:02:31 +03:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
5c0b54c0b2 Bug 776325 - Set gtk program name to the one defined in application.ini. r=karlt 2012-08-09 16:34:26 +02:00
Aryeh Gregor
f74602e698 Bug 777292 - modules/libpref/, toolkit/: Fix incorrect conversions to nsresult; r=bsmedberg 2012-07-30 12:24:36 +03:00
Aryeh Gregor
f040f500c1 Bug 777292 - modules/libpref/, toolkit/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=bsmedberg 2012-07-27 16:54:09 +03:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Jeff Muizelaar
1764d4b703 Bug 777879. Add SAMPLE_INIT() to XRE_InitChildProcess. r=ehsan
We need this for profiling child processes.

--HG--
extra : rebase_source : 3ea50c12da824daa0fe35b52e58f58f29b5de986
2012-07-27 14:57:48 -04:00
Brian R. Bondy
21c143f097 Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
Ted Mielczarek
e865ee4b36 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Benjamin Smedberg
b341414c8f Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Neil Rashbrook
026e29eb7e Bug 766494 Followup to bug 278860 to check for the actual missing profile folder r=bsmedberg 2012-07-10 19:53:19 +01:00
Benoit Girard
325b77e999 Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Rafael Ávila de Espíndola
9119d7eaa9 Bug 763361 - shutdown. sigsegv during freelibrary.
Call RecordShutdownEndTimeStamp from XRE_main. r=benjamin.
2012-07-06 18:29:53 -04:00
Ehsan Akhgari
9e7e7c3aab 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 (xre parts); r=jrmuizel 2012-06-19 23:49:05 -04:00
Benjamin Smedberg
b9aa5eee3b Bug 769048 part C - Build an injector DLL which can watch for crashes in Flash player processes. This involves building two copies of breakpad: one to live inside of libxul which uses mozalloc and the dynamic CRT, another to link into the injector which links the CRT statically and doesn't use mozalloc. Introduce a new define/makefile variable MOZ_CRASHREPORTER_INJECTOR rather than repeating "#if defined(XP_WIN) && !defined(HAVE_64BIT_OS) in many places. r=ehsan/khuey
--HG--
extra : rebase_source : 33bd0a74ce70a564963a6ca125e01048577fb554
2012-07-02 14:55:12 -04:00
Phil Ringnalda
794274aa42 Back out 6a386d638a1a (bug 746277) for packaged build bustage 2012-06-27 08:31:38 -07:00
Joey Armstrong
40e722a2da bug 746277: replace hg shell pipelines with make logic 2012-05-16 15:09:00 -04: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
Martin Stransky
b057ab26b1 Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12: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
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jacek Caban
305f60e301 Bug 759063 - toolkit/xre Windows tests link to unneeded updatecommon lib; r=ehsan 2012-05-29 18:01:31 -04:00
Matthew Noorenberghe
513dd332d4 Bug 731047 - Clean up old profile after Firefox profile reset. r=bsmedberg, ui-r=limi
--HG--
extra : rebase_source : 28d16189069f2a05cbe5e16d271561ab53aa9b1e
2012-03-19 17:01:49 -07:00
Ehsan Akhgari
12313fb4bf Bug 758742 - Fix up the string manipulation in nsUpdateProcessor::ProcessUpdate; r=Neil 2012-05-25 15:52:54 -04:00
Joey Armstrong
b1e8f16431 bug 758748: change SOURCE_REPO var check from error to warn. 2012-05-25 18:52:52 -04:00
Ed Morley
4a43704eee Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-25 14:25:53 +01: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
Ed Morley
3018aec902 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00