Neil Rashbrook
cac68b5f36
Bug 879957 Avoid calling FileEncryptionStatusW r=jimm
2013-06-11 19:01:58 +01:00
Sumedh Shekhar
fdf142e775
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Iivari Äikäs
bcbed478aa
Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt
2013-05-07 10:25:21 -04:00
Chris Peterson
6031ca870d
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Trevor Saunders
4185ee3161
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Ehsan Akhgari
0d97a08bd7
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Brian R. Bondy
5f8d12082a
Bug 369108 - Win32's nsIFile::Create and nsIFile::CreateUnique ignore permissions argument. r=bsmedberg
2012-11-03 13:39:02 -04:00
Andrew Quartey
3c46b00d0f
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
c70ace2203
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Nathan Froyd
e2fbb0a25b
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
e4907ec4f6
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
a2064e331e
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Landry Breuil
195915de31
Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan
2012-08-30 09:10:35 +02: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
Jacek Caban
074be47729
Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
2012-08-14 11:17:34 +02:00
Ms2ger
c8ea20cf42
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02: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
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
Brian R. Bondy
f1a5c1b8df
Bug 290735 - When launching a file use download path as working directory. r=jimm
2012-05-14 09:19:22 -04:00
Brian R. Bondy
8e6a9a754f
Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz
2012-05-03 15:23:28 -04:00
Tim Abraldes
a1a92061ea
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
Geoff Lankow
4118e90551
Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg
2012-04-04 23:04:37 +12:00
Brian R. Bondy
7a2a9e73c3
Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg
2012-02-28 13:42:13 -05:00
Brian R. Bondy
e8fac1f682
Bug 632556 - Run nsIFile::Reveal/Launch asynchronously. r=bsmedberg
2012-02-26 16:46:38 -05:00
Masatoshi Kimura
3a5286efbe
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Brian R. Bondy
4aa2815d48
Bug 726576 - Optimize calls to nsLocalFileWin's HasFileAttribute. r=neil
2012-02-17 09:24:09 -05:00
Brian R. Bondy
ee909d4678
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
081d091fb4
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
Brian R. Bondy
a4faab5135
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
7a69b1658f
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
9f8c15e197
Bug 713485 - Crash when invalid drive is used in local file URL. r=neil.
2012-02-08 16:41:12 -05:00
Ed Morley
8086dffedb
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
89dc26a595
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06:00
Brian R. Bondy
a22eee2da5
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
Brian R. Bondy
50fcf31cb9
Bug 724177 - 30-50ms (5%) Firefox startup speed optimization on Windows in nsLocalFileWin. r=jimm
2012-02-06 14:11:30 -05:00
Makoto Kato
7d9ae0f12c
Bug 710112 - cleanup xpcom/io for windows (reduce LoadLibrary/PR_LoadLibrary). r=jimm
2012-01-16 10:54:20 +09:00
Mats Palmgren
5289e81f00
Bug 710060 - Make sure |mDir| is always nulled out after it's deleted. r=bbondy
2011-12-17 22:19:18 +01:00
Jim Mathies
0d16ec958b
Bug 710995 - (pvs-studio) Possible bad null-check in ShortcutResolver::Init(). False positive, no bug. Code cleanup patch. r=rstrong
2011-12-16 08:53:07 -06:00
Jeff Walden
d7340cf852
Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky
2011-10-21 03:16:47 -07:00
Michal Novotny
c1b64f0555
Bug 681407 - crash nsLocalFile::CopyMove
2011-10-19 13:02:57 +02: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
Jeff Walden
7d613942b0
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Taras Glek
6b84a69d43
Bug 686691 - Plumbing to expose OS-level readhead. r=bsmedberg
2011-10-02 21:24:54 +02:00
Brian R. Bondy
61f7c3c5cc
Bug 688882 - Investigate stack buffer overflow in nsLocalFile::EnsureShortPath. r=bsmedberg
2011-09-29 09:06:27 -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
Brian R. Bondy
5110997b62
Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg
2011-09-22 09:21:03 -04:00