Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Nathan Froyd
c8acba35ef
Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan
2014-03-17 13:00:17 -04:00
David Rajchenbach-Teller
560f78c8d5
Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo
2014-03-14 10:13:26 -04:00
Ryan VanderMeulen
8699cfbd9c
Backed out changesets c6ca1aa3887a, d741e117a033, 1fd26e822e73, and 720962c9f993 (bug 961665) for build bustage and xpcshell failures.
2014-03-13 10:32:57 -04:00
David Rajchenbach-Teller
2fa5a3b3c2
Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo
2014-03-13 09:51:22 -04:00
L. David Baron
dba3efaa58
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
2014-02-26 13:36:36 -08:00
Yuan Xulei
3d09586d0f
Bug 956646 - Implement nsIFile#renameTo on Windows. r=bsmedberg
2014-01-06 19:27:11 +08:00
Yuan Xulei
73d6f1a7a2
Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg
2014-01-06 16:51:39 +08:00
Jacek Caban
a1294fd72f
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2014-02-06 17:42:58 +01:00
Carsten "Tomcat" Book
2891d1aa19
Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE
2014-01-07 15:18:43 +01:00
Jacek Caban
264744c22f
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2014-01-07 14:54:52 +01:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
88a0348924
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
2013-12-08 21:52:54 -05:00
Jacek Caban
1313b2c4df
Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2013-12-04 13:19:09 +01:00
Masatoshi Kimura
86bc960375
Bug 925599 - Replace GetVersion() uses. r=bsmedberg
2013-11-22 12:35:42 +09:00
Benjamin Smedberg
29d63f056d
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Kamil Jozwiak
4d13328043
Bug 933580 - Will switch to the Desktop when downloading a PDF and the default application is not the Windows App Reader. r=jimm
2013-11-07 13:55:47 -05:00
Birunthan Mohanathas
d655a19190
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Ehsan Akhgari
5bdb9ad58e
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Joshua Cranmer
1c073a2540
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
2013-07-18 21:31:26 -05:00
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