Commit Graph

483 Commits

Author SHA1 Message Date
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Andrew Quartey
1d28872093 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
f117c7a7b0 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Abhishek Potnis
2509c81393 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Matthew Gregan
4bedd96175 Bug 799234 - Fix seeking within a single stream's range within a multiplexed stream. r=biesi,amarchesini
--HG--
extra : rebase_source : 73658a2351a9a0a9476f6d1f4f6e5d8a77413eb5
2012-10-20 08:29:41 +13:00
Andrew Quartey
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey
7d3807c62d Bug 792581 - part 14 - Replace LL_SHL, LL_SHR, LL_USHR macros with bitwise operators. r=ehsan 2012-10-12 13:29:10 -04:00
Andrea Marchesini
48b684aaaf Bug 797871 - Fix nsMultiplexInputStream.Seek. r=dougt 2012-10-11 06:26:30 -04:00
Andrew Quartey
e0477b23d8 Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Chris Pearce
4afda51dd1 Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Nathan Froyd
5f8f36ca5f 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
bdd40e5c18 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
d66cf7dc03 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
Doug Turner
4c4ba5d4bd Bug 795478 - Remove blizzard fudge from xpcom io code. r=bsmedberg 2012-10-01 20:44:47 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ed Morley
9f14ce22ba Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows 2012-09-25 13:46:25 +01:00
Chris Pearce
76b593e69b Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Nathan Froyd
cc76c0f5b3 Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan 2012-09-21 14:40:14 -04:00
Ms2ger
14bb88f62a Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Makoto Kato
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Daniel Holbert
5299512755 Bug 788729: Check rv of nsDirectoryService::Create, to fix GCC build warning. r=bsmedberg 2012-09-09 16:31:12 -07:00
Aryeh Gregor
689e42fd63 Bug 783869 part 3 - Make nsDirectoryService::RealInit infallible; r=bsmedberg 2012-08-21 15:02:37 +03:00
Aryeh Gregor
9082152c84 Bug 783869 part 2 - Make FindProviderFile type-safe; r=bsmedberg 2012-08-21 15:02:37 +03:00
Aryeh Gregor
af7e08160e Bug 783869 part 1 - Convert nsDirectoryService::mProviders to nsTArray; r=bsmedberg 2012-08-21 15:02:37 +03:00
Masatoshi Kimura
36583b9824 Bug 788924 - Implement "pictures", "music", and "videos" special folders. r=dougt 2012-09-07 16:23:01 -04:00
Paul Adenot
a8a6b828f5 Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-09-04 14:53:52 -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
b1804e7390 Bug 784124 - Remove OS X sanity check, F_BSIZE should reduce ambiguity. r=bz 2012-08-29 17:00:10 -04:00
Jan Beich
ff60eabdba Bug 784124 - Don't use statvfs() on Linux and Tru64, it's buggy. r=karlt 2012-08-29 17:00:10 -04:00
Jan Beich
7973f0287f Bug 784124 - Always use .f_frsize with statvfs(). r=karlt 2012-08-29 17:00:10 -04:00
Jan Beich
9c4bffe1fd Bug 784124 - Let it reach NS_ERROR_NOT_IMPLEMENTED if stat(v)fs is not available. r=bsmedberg 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
Jan Beich
0c5156e74b Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg 2012-08-29 17:00:09 -04:00
Rafael Ávila de Espíndola
3ae64f38a4 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Chris Double
31255e897a Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
9543e95d97 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Paul Adenot
15058d402d Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-21 16:00:23 -07:00
Ryan VanderMeulen
351d01c8ff Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Paul Adenot
7751daec1e Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-15 10:36:12 -07:00
Ben Turner
1557efd8b1 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Doug Turner
9955b5ed76 Bug 759416 - Backout API change part 2. r=dougt 2012-08-17 19:43:00 -07:00
Doug Turner
a0ebc76feb Bug 759416 - Backout API change. r=dougt 2012-08-17 19:43:00 -07:00
Ben Turner
10787d0206 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Aryeh Gregor
9f23801918 Bug 782252 - Cast some nsresult to bool where the function really returns bool; r=ehsan 2012-08-13 16:32:28 +03:00
Jacek Caban
2fccaed5c0 Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
--HG--
extra : rebase_source : 98185fe262366e0212115d3a3e296bd95d6ffc85
2012-08-14 11:17:34 +02:00