Commit Graph

218 Commits

Author SHA1 Message Date
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
Justin Lebar
8dfd539864 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz 2012-03-12 18:53:18 -04:00
Michael Wu
21ff4d9ef1 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08: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
Hanspeter Niederstrasser
85fcc021e2 Bug 691133 - xpcom: fails to build darwin/x11. r=smichaud 2011-10-14 10:43:35 -05: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
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
Daniel Holbert
c245cb67df Bug 689195: Fix signed/unsigned comparison warning in nsLocalFileUnix.cpp. r=smichaud 2011-09-26 15:00:34 -07:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Adam Rosenfield
db4182a805 Bug 646748 - Use Launch Services to check if a file is executable on Mac OS X before checking file permissions; r=smichaud 2011-07-24 01:36:58 +02:00
Matheus Kerschbaum
200b657e7d Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Cameron Kaiser
837f4f80ee Bug 663899 - mark certain file extensions always executable; r=smichaud 2011-06-22 20:07:24 -07:00
Kyle Huey
59a4659732 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Brad Lassey
d1ed0c2923 bug 637487 - Unable to install extensions when Fennec moved to SD Card r=dougt a=blocking-fennec 2011-03-04 17:57:25 -05:00
Mitchell Field
907029389d Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Jeremias Bosch
cdd8e4d0cc Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0 2011-02-03 08:31:36 +02:00
Boris Zbarsky
f09ab8ed3a Bug 626259. Use the right statvfs fields for determining disk size. r=josh, a=blocker 2011-01-18 21:20:35 -05:00
b65a48fa38 Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
r=bsmedberg
2010-12-04 11:07:31 +01:00
Wolfgang Rosenauer
c281782958 Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt 2010-07-30 12:46:20 -07:00
Michael Wu
5c7709b419 Bug 580434 - Use of readdir in nsLocalFileUnix not reliable when recursively deleting files on Android/Bionic. r=dougt 2010-07-28 18:12:34 -07:00