Commit Graph

422 Commits

Author SHA1 Message Date
Gregor Wagner
07de917b7a Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Martin Stransky
ecf5be87bb Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg 2012-06-16 18:05:00 +12:00
Ehsan Akhgari
b5161f97b8 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
8a62837fdb 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
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Michael Tokarev
8e58ac1194 Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg 2012-05-23 20:56:39 -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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
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
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
Shriram Kunchanapalli
c75394595e Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
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
Mats Palmgren
4af073ffde Bug 744541. r=bz 2012-04-17 18:53:06 +02:00
Asaf Romano
15eb8aba42 Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03: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
Geoff Lankow
2554d2b36e Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
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
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
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
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
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00: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
Brian R. Bondy
1089a70b55 Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg 2012-02-28 13:42:13 -05:00
Brian R. Bondy
213164cf74 Bug 632556 - Run nsIFile::Reveal/Launch asynchronously. r=bsmedberg 2012-02-26 16:46:38 -05:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06: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
Phil Ringnalda
fe89213620 Back out 20ad3570d599 (bug 716556) for xpcshell orange 2012-02-08 22:11:42 -08:00
John Schoenick
8ffc9cabe7 Bug 716556 - Fix possible buffer overflow with nsScriptableInputStream, r=bsmedberg 2012-02-08 14:44:55 -08:00
Brian R. Bondy
f24535668a 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
120e45ff0b 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
98c857b7c0 Bug 713485 - Crash when invalid drive is used in local file URL. r=neil. 2012-02-08 16:41:12 -05:00
Ed Morley
ada565efab Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Boris Zbarsky
ee2cd87854 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
d794b302ef 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
b7c308c36a 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
46a2961958 Bug 723055 - remove nsLocalFileUnicode.h. r=bsmedberg 2012-02-07 11:36:09 +09:00
Brian R. Bondy
8310aed290 Bug 724177 - 30-50ms (5%) Firefox startup speed optimization on Windows in nsLocalFileWin. r=jimm 2012-02-06 14:11:30 -05:00