Paul Szabo
c8668a7004
Bug 918140 - mis-interprets disk "hard quota" (blocks vs bytes confusion). r=benjamin
2014-11-23 22:20:38 +02:00
Stephen Pohl
9b827c34b7
Bug 1082777: Support running of xpcshell on OSX with relative path invocation on Terminal. r=smichaud
2014-10-21 09:43:02 -04:00
Birunthan Mohanathas
6e9ec233ed
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Birunthan Mohanathas
9c531b5b34
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
1ebdb921a5
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
10838f95c7
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Igor Kolupaev
8644bd29b7
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Birunthan Mohanathas
b7e2587f32
Bug 995730 - Change xpcom/io/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
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
snigdha
724d084f99
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -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
Kyle Huey
be9c9b3eba
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Ryan VanderMeulen
86af8bac61
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
238d3a6bf5
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Jan Beich
6dd3047ed4
Bug 975634 - Detect posix_fadvise() via configure. r=glandium
2014-03-04 09:30:29 -05: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
425bbe8576
Bug 956646 - Implement nsIFile#renameTo on Unix. r=bsmedberg
2014-01-06 17:39:03 +08:00
Yuan Xulei
73d6f1a7a2
Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg
2014-01-06 16:51:39 +08:00
Neil Rashbrook
faa06fc386
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00: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
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08: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
ISHIKAWA, Chiaki
1d9e40c212
Bug 936987 - Propagate the error code of PR_Close() against a file under CIFS-share under Linux. r=froydnj
...
(Network error causes the file share to fail, and read()/close() and possibly write() can return network-related error. close() error was not caught before.)
2013-11-19 14:56:58 -05:00
Nelson BenÃtez León
97c46aca65
Bug 417952 - Open Containing Folder doesn't highlight/select file in Nautilus. r=karlt
...
If the File Manager DBus Interface[1] is present, use it to
launch file manager and select the file, otherwise fallback to
existing code for backwards compatibility.
[1] http://www.freedesktop.org/wiki/Specifications/file-manager-interface/
2013-11-12 08:31:33 -05:00
ISHIKAWA, Chiaki
ff2d9b8e2f
Bug 931720 - Return low-level error correctly from nsLocalFile::CopyToNative(). r=bsmedberg
...
Fix copytonative to return better meaningful error (from errno) when PR_Write()/PR_Read() failed (e.g., failed to write to full file system, etc.)
2013-10-31 23:04:11 -04: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
Chris Kitching
69f2f80f9a
Bug 794981 - Part 4: Consistently pass nsAString into the JNI methods, instead of the veritable smorgasbord of string types previously used. r=kats
2013-09-09 08:57:36 -04:00
Doug Turner
7767c0773f
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Nathan Froyd
66b65565bd
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -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
Aaron Klotz
41c228791d
Bug 880435: Fixed Linux OS_READAHEAD implementation in nsLocalFile. r=glandium
2013-06-19 17:57:24 -06:00
Doug Turner
4d09f9eade
Bug 795478 - Remove blizzard fudge from xpcom io code. r=bsmedberg
2012-10-01 20:44:47 -07:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -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
Jan Beich
8e77ba5442
Bug 784124 - Always use .f_frsize with statvfs(). r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
401da3c3d2
Bug 784124 - Properly check for stat(v)fs, only used by XPCOM implementation. r=bsmedberg
2012-08-29 17:00:10 -04: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
Ms2ger
dad17c4159
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +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
Martin Stransky
8683ac2f0e
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Ehsan Akhgari
6c1914b71f
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
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Michael Tokarev
abd4c81902
Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg
2012-05-23 20:56:39 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Asaf Romano
50640a8cc8
Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg.
2012-04-16 21:40:47 +03:00
Steven Michaud
e6e4333994
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
4118e90551
Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg
2012-04-04 23:04:37 +12:00