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

1959 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 6b77452659 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
Olli Pettay 58c025a7d4 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
Geoff Lankow 5ee192b3ff Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jan Varga 5f93a89306 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Shriram Kunchanapalli 67cf743563 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Michael Tokarev f6e5037006 Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg 2012-05-23 20:56:39 -04:00
Ehsan Akhgari 76ea7b2703 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
Gervase Markham e95524780d Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy 4cca3c0871 Bug 290735 - When launching a file use download path as working directory. r=jimm 2012-05-14 09:19:22 -04:00
Benjamin Smedberg c19ee28084 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
Ehsan Akhgari 6867c361f4 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy a290c67652 Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Shriram Kunchanapalli 62bdf990da Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Felipe Gomes af04879d8b Bug 738501. follow-up, rev uuid. rs,a=gavin 2012-04-18 15:16:34 -07:00
Tim Abraldes 677350ec08 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
Mats Palmgren 83c1ea4e0e Bug 744541. r=bz 2012-04-17 18:53:06 +02:00
Asaf Romano 9fc177a7fc Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Steven Michaud b2a46e2132 Bug 313700 - Stale information in about:plugins (pluginreg.dat) after a plugin update. r=josh 2012-04-10 10:56:49 -05:00
Geoff Lankow 5e4842784e Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Ryan VanderMeulen bda847dac0 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli 6016fb9ec9 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Jacek Caban c537fd044d Bug 734903 - Undefined reference to XRE_GetProcessType in nsMediaCacheRemover.cpp on mingw r=benjamin 2012-03-14 15:08:04 +01:00
Justin Lebar 1c0932be59 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
Jacob Holzinger f326001732 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
Adam Dane 4dc0e96c3b 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
Ed Morley 77cf334953 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar d8c31bf3a6 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar 6bfc4045d7 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar dfd973e9a5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Brian R. Bondy 8a0cc36e9f Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg 2012-02-28 13:42:13 -05:00
Brian R. Bondy 6717a26c23 Bug 632556 - Run nsIFile::Reveal/Launch asynchronously. r=bsmedberg 2012-02-26 16:46:38 -05:00
Masatoshi Kimura 255bbbc1c1 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Brian R. Bondy b57f97f5c4 Bug 726576 - Optimize calls to nsLocalFileWin's HasFileAttribute. r=neil 2012-02-17 09:24:09 -05:00
John Schoenick e93a4499ff Bug 716556 - Fix possible buffer overflow in nsScriptableInputStream (attempt 2). r=bsmedberg 2012-02-13 11:26:28 -08:00
Brian R. Bondy 4e9b28f4a3 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 702b246043 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
Phil Ringnalda 4d5305c56a Back out 20ad3570d599 (bug 716556) for xpcshell orange 2012-02-08 22:11:42 -08:00
John Schoenick 52adb32639 Bug 716556 - Fix possible buffer overflow with nsScriptableInputStream, r=bsmedberg 2012-02-08 14:44:55 -08:00
Brian R. Bondy 27affcdc05 Bug 724207 - Save 15-20ms on startup from unused file attributes fetch when opening files. r=neil. 2012-02-08 16:51:45 -05:00
Brian R. Bondy 7ad7ce390a Bug 724203 - Optimize nsLocalFile::IsDirectory on Windows by 50% giving 5ms startup improvement. r=neil. 2012-02-08 16:48:23 -05:00
Brian R. Bondy 2a72afbadd Bug 713485 - Crash when invalid drive is used in local file URL. r=neil. 2012-02-08 16:41:12 -05:00
Ed Morley 685743b883 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura 3a5954b8de Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Boris Zbarsky 13e98ce965 Bug 723498. Make sure to always set our out param in nsMultiplexInputStream::IsNonBlocking when returning success. r=bsmedberg 2012-02-07 15:28:06 -05:00
Benjamin Smedberg 02263dee0d Bug 716594 - Switch nsBinaryInputStream::ReadBytes back to using the fallible allocator because it correctly checks for allocation errors and streams are untrusted input we should try to work with, r=dbaron 2012-02-07 13:06:05 -05:00
Brian R. Bondy 9fbd5f183f Bug 724256 - Optimize move file calls on Windows, saving about 2ms per call (1 call on startup). r=bsmedberg 2012-02-07 08:58:17 -05:00
Makoto Kato ecd7965199 Bug 723055 - remove nsLocalFileUnicode.h. r=bsmedberg 2012-02-07 11:36:09 +09:00
Brian R. Bondy cd0f00e07f Bug 724177 - 30-50ms (5%) Firefox startup speed optimization on Windows in nsLocalFileWin. r=jimm 2012-02-06 14:11:30 -05:00
Tim Taubert 398fc89f7b Bug 720697 - Provide internal API to get canvas image data as nsIInputStream; r=khuey 2012-02-01 01:13:44 +01:00
Makoto Kato 07fb70e23f Bug 710112 - cleanup xpcom/io for windows (reduce LoadLibrary/PR_LoadLibrary). r=jimm 2012-01-16 10:54:20 +09:00