Commit Graph

115 Commits

Author SHA1 Message Date
Marshall Culpepper
a383a90145 Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Koosha Khajeh Moogahi
0fb083278a Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Aryeh Gregor
387d2921ba Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Marshall Culpepper
6c7db8dc75 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
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ehsan Akhgari
e7ebfc3046 Bug 758742 - Fix up the string manipulation in nsUpdateProcessor::ProcessUpdate; r=Neil 2012-05-25 15:52:54 -04:00
Ehsan Akhgari
e1af685c9b 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.
2012-05-22 10:50:04 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Peng Kang
efbe608ae3 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
d4d46d723d Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
16252c82f6 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Chris Jones
4276265c9a Bug 737368, part 1: Fix up ifdefs to support building update code for Gonk. r=mwu 2012-03-21 15:50:53 -07:00
Robert Strong
fd7a8fc54e Main patch - Bug 660038 - Remove channel switching support. r=bbondy 2012-01-18 14:10:38 -08:00
Brian R. Bondy
18edf696d5 Bug 708854 - No longer use session ID for work item files. r=rstrong. 2012-01-04 23:19:15 -05:00
Ehsan Akhgari
b605624938 Bug 481815 - Automated tests for updates using the maintenance service; r=rstrong. 2012-01-04 23:19:14 -05:00
Brian R. Bondy
cae5b5518b Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Ehsan Akhgari
a0172ab04c Bug 695795 - Drop the reference argument in ProcessUpdates because it's not really needed; r=bbondy
DONTBUILD
2011-10-19 15:09:53 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
arno renevier
dc09fc8a13 Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Robert Strong
d657b19b30 1. main patch - Bug 642765 - Add ability to channel change to the client. r=mossop 2011-04-11 21:24:16 -07:00
Mitchell Field
907029389d Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Robert Strong
29768085c2 Bug 616775 - Use OpenNSPRFileDesc instead of OpenANSIFileDesc in nsUpdateDriver.cpp. r=dtownsend, a=approval2.0 2010-12-07 12:06:22 -08:00
Robert Strong
06683ac5be Bug 616765 - Useless Exists check in nsUpdateDriver.cpp. r=dtownsend, a=approval2.0 2010-12-07 12:06:05 -08:00
Robert Strong
f9b7d0019f Bug 601469 - Updater in 10/02 and 10/03 Windows nightly is broken. r=dolske, a=blockingB7 2010-10-03 12:47:00 -07:00
Josh Aas
56d73b72ed Bug 600777: Update driver code should launch updater application with a preference for the parent architecture. r=rstrong a=blocking-beta7 2010-10-02 00:11:24 -04:00
Robert Strong
18af340f83 Main patch - Bug 596813 - Check for updates inside the About window without opening a new window. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta7 2010-09-23 21:02:08 -07:00
Robert Strong
e4c29c6664 Always use the '0' dir for updates - Bug 588163 - Crash [@ @0x0 | ProcessUpdates(nsIFile*, nsIFile*, nsIFile*, int, char**, char const*&) ]. r=dtownsend, approval2.0=dtownsend 2010-08-17 20:09:07 -04:00
Josh Aas
6cb1cc47af Simplify nsCommandLineServiceMac, make it easier to understand and faster. Remove unused code. b=542936 r=mstange r=bsmedberg 2010-06-08 18:26:12 -04:00
Nickolay Ponomarev
8d1ce14115 bug 369147, "Warning: unrecognized command line flag -foreground" on launch
r=josh
Don't add the '-foreground' flag to the list of command line arguments if we're not restarting,
since no-one outside of XRE_main knows how to handle it.
2010-04-17 13:50:17 +04:00
Robert Strong
d8e475a598 Bug 504432 - [WinCE] updater.exe not launched when there is an update during startup. r=vlad 2009-07-29 23:01:50 -07:00
Dave Townsend
cff0bc5f6f Bug 498379: Checking that we aren't updating to an older version of the application fails in certain cases. r=robstrong 2009-06-15 20:48:30 +01:00
David Dahl
0afa3bcb5c Bug 473337 - Refresh the updater application icon; Linux part; r=(robert.bugzilla + ted.mielczarek) ui-r=faaborg 2009-02-24 17:53:36 +01:00
Robert Strong
27b40cc759 Bug 459615 - Remove the needElevation param from WinLaunchChild. r=ted.mielczarek, r=jmathies 2009-01-01 16:18:33 -08:00
Robert Strong
ad4844451d Bug 313057: Automatic updater downgrades/overwrites browser version when an older/identical version is in the queue. r=bsmedberg, a1.9.1b2=beltzner 2008-11-14 12:11:08 +00:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Dave Townsend
6c6c7be4c4 Bug 436719: Read updater.ini from app dir, not gre. r=bsmedberg, r=robstrong 2008-08-14 17:08:03 +01:00
Robert Strong
2050ac1da0 Bug 437349 - updater.exe lacks elevation manifest and fails to start when installer detection is disabled r=jmathies r=ted.mielczarek 2008-06-23 12:06:37 -07:00
e2cf3b375b bug 411505 - fix more software update charset fallout. r=bsmedberg 2008-01-21 17:20:19 -08:00
5eaa798300 Bug 411505 - Automatic update broken in Swedish and Spanish Windows, r=luser 2008-01-18 08:27:44 -08:00
e58600c985 Bug 396052 - Firefox fails to start when run from a directory with non-native characters, r=luser sr=neil 2007-12-31 07:15:43 -08:00
rob_strong@exchangecode.com
0725d0a518 Landing of interdependent bugs for Vista support. Bug 354005 Setting the app as the OS default is broken on Vista. r=sspitzer, r=dougt, sr=bsmedberg. Bug 351949 � Automatic Update is not working for Vista users with limited account privilege and UAC (User Account Control) enabled. r=sspitzer, r=rstrong. Bug 354226 � nsPostUpdateWin.js fails to update registry keys / log files after an update has been applied. r=rstrong. 2007-01-30 05:14:50 +00:00
wr@rosenauer.org
2be3703310 Bug 360941 - UpdateDriver and UpdateService update location mismatch, r=bsmedberg 2006-11-28 06:09:19 +00:00
bent.mozilla@gmail.com
13a0464897 Bug 349737 - "XULRunner Software Update restarts app in a disabled state on OS X". r=bsmedberg. 2006-08-24 21:08:00 +00:00
mark@moxienet.com
8528f54be6 345057 Improve Mac launch behavior through xpcom fork/exec restart and autoupdate restart. Open URLs and documents requested at launch time in the final process. Bring the final process to the foreground if appropriate. Minimize dock icon games. r=bsmedberg r=josh 2006-07-19 21:08:19 +00:00
gijskruitbosch@gmail.com
a03e452c7b Bug 339213 - Software update fails because XULRunner doesn't ship updater.ini
p=rdmsoft@bugs.rdmsoft.com (Robert Marshall)
first-r=bsmedberg
second-r=darin
2006-06-12 14:08:33 +00:00
sergei_d@fi.tartu.ee
a8a821a159 [BEOS]Bug 338742.nsUpdateDriver does nott build. First step to allow updater for BeOS.p=sergei_d, r=cbiesinger 2006-05-21 21:13:52 +00:00