Commit Graph

932 Commits

Author SHA1 Message Date
Benoit Jacob
99204847e9 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
c505fabbd6 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
9051626aa4 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
c8db8050ae 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
54f69a7a09 Bug 721264 - Followup: Add bug number to comment. DONTBUILD
--HG--
extra : rebase_source : f64958f476febe85bbac1b1ba40f3707ed3132af
2012-08-22 13:37:22 -07:00
Johnathan Nightingale
257ea2537a 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
8c296bbcd4 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
072c3e10ea Bug 782252 - Convert declared types to nsresult; r=ehsan 2012-08-06 15:02:31 +03:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
6aed290562 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
bfa6d4f6a4 Bug 777292 - modules/libpref/, toolkit/: Fix incorrect conversions to nsresult; r=bsmedberg 2012-07-30 12:24:36 +03:00
Aryeh Gregor
ec556ac7f6 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
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Jeff Muizelaar
76bbae078d 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
66e3cf369b Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
Ted Mielczarek
a56fd7229b bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Benjamin Smedberg
5e47967333 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
2b55595288 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
adc71ae1dd 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
5b30baa4c3 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
37613a5ba3 Bug 763361 - shutdown. sigsegv during freelibrary.
Call RecordShutdownEndTimeStamp from XRE_main. r=benjamin.
2012-07-06 18:29:53 -04:00
Ehsan Akhgari
ac04219de6 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
1df5f270e1 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
a8a17bcdca Back out 6a386d638a1a (bug 746277) for packaged build bustage 2012-06-27 08:31:38 -07:00
Joey Armstrong
19374d1d46 bug 746277: replace hg shell pipelines with make logic 2012-05-16 15:09:00 -04:00
Benjamin Smedberg
c15c4ed945 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
fa65d41f83 Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
Honza Bambas
f29e1ac591 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
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jacek Caban
2a7f9766f4 Bug 759063 - toolkit/xre Windows tests link to unneeded updatecommon lib; r=ehsan 2012-05-29 18:01:31 -04:00
Matthew Noorenberghe
aac556568f 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
0ec3af6b42 Bug 758742 - Fix up the string manipulation in nsUpdateProcessor::ProcessUpdate; r=Neil 2012-05-25 15:52:54 -04:00
Joey Armstrong
6889549546 bug 758748: change SOURCE_REPO var check from error to warn. 2012-05-25 18:52:52 -04:00
Ed Morley
984de288d8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-25 14:25:53 +01:00
Jim Mathies
20eb979e64 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
cd9f362b03 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay
98b430ab64 Bug 756131 - API for creating default profiles for webapps, r=benjamin 2012-05-24 17:29:52 +03:00
Nicolas Silva
3dbfab5718 Bug 722012 - Added a call to XInitThreads before the first call to XOpenDisplay to fix OMTC crashes. r=karlt
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0113_general.js => toolkit/mozapps/update/test/unit/test_0110_general.js
rename : toolkit/mozapps/update/test/unit/test_0114_general.js => toolkit/mozapps/update/test/unit/test_0111_general.js
rename : toolkit/mozapps/update/test/unit/test_0115_general.js => toolkit/mozapps/update/test/unit/test_0112_general.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js
extra : rebase_source : f527614c4a5f0b8979bd8bc39dcd3ca739ba9e08
2012-05-22 11:34:34 -04:00
Ehsan Akhgari
e49ce8531b Merge from mozilla-central 2012-05-22 10:51:49 -04:00
Ehsan Akhgari
904efc4f7a 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
Mike Hommey
add0086b65 Bug 658848 - Clean up XRE_WANT_DLL_BLOCKLIST. r=bsmedberg 2012-05-22 08:46:17 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
1ff26e1fb8 Bug 757437 - Remove the rest of the support code for xpcshell-specific Mac bundle hacks from bug 307181; r=rstrong 2012-05-22 11:32:01 -04:00
Ehsan Akhgari
46b9cd51f7 Merge mozilla-central into mozilla-inbound 2012-05-24 14:52:27 -04:00
Alexandre Poirot
589ba3f08e Bug 753856 - Use CONOUT$ for stderr on Windows. r=ted 2012-05-24 16:11:34 +02: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
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00