Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
99b3ba82ab
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Igor Kolupaev
7bdea89913
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Birunthan Mohanathas
04c14a71bf
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
ff8ce9bd42
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
90f0f64d5b
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
61a6f7901d
Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan
2014-03-17 13:00:17 -04:00
Kyle Huey
7067fb5db1
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Ryan VanderMeulen
760e2a311f
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
ef5d7c4e73
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
c35dd65bb1
Bug 975634 - Detect posix_fadvise() via configure. r=glandium
2014-03-04 09:30:29 -05:00
L. David Baron
2b5d6b3cfb
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.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Yuan Xulei
6de5c9f2fd
Bug 956646 - Implement nsIFile#renameTo on Unix. r=bsmedberg
2014-01-06 17:39:03 +08:00
Yuan Xulei
30cb28ce42
Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg
2014-01-06 16:51:39 +08:00
Neil Rashbrook
34dcf4918b
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Ehsan Akhgari
ebd358dfd7
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
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Chris Kitching
7144e8c767
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Benjamin Smedberg
9bfc4e98e3
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
ISHIKAWA, Chiaki
f4e80246c7
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
44b6331925
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
2d417d2685
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
4dce3f3fa6
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Ehsan Akhgari
276e4b787c
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Chris Kitching
b1a7881e9c
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
805876c713
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Nathan Froyd
6230cde5a9
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -04:00
Joshua Cranmer
03b669f709
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
...
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Aaron Klotz
d74616e865
Bug 880435: Fixed Linux OS_READAHEAD implementation in nsLocalFile. r=glandium
2013-06-19 17:57:24 -06:00
Doug Turner
4c4ba5d4bd
Bug 795478 - Remove blizzard fudge from xpcom io code. r=bsmedberg
2012-10-01 20:44:47 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Landry Breuil
038741989a
Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan
2012-08-30 09:10:35 +02:00
Jan Beich
7973f0287f
Bug 784124 - Always use .f_frsize with statvfs(). r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
26147a73ae
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
0fd9123eac
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
17e25febb8
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Martin Stransky
e8f7aa8752
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Ehsan Akhgari
ddcea4e3b7
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
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Michael Tokarev
19012c1dec
Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg
2012-05-23 20:56:39 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Asaf Romano
163327fae2
Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg.
2012-04-16 21:40:47 +03:00
Steven Michaud
a64cadb51a
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
0b8feafd61
Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg
2012-04-04 23:04:37 +12:00
Justin Lebar
0dbaf73150
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
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Ehsan Akhgari
2a602a5685
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