Commit Graph

3022 Commits

Author SHA1 Message Date
Landry Breuil
d4d6157146 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Landry Breuil
41cc4fa3d5 Bug 785738 Part 1: Use INT64_MAX/MIN instead of LL_MAXINT/MININT constants. r=ehsan 2012-08-30 09:10:26 +02:00
Joe Olivas
37f025b377 Bug 786789 - Optimize TimeDuration::ToSeconds on Windows to avoid blocked store forwards; r=ehsan 2012-08-29 21:09:01 -04:00
Jan Beich
704350b41d Bug 784124 - Remove OS X sanity check, F_BSIZE should reduce ambiguity. r=bz 2012-08-29 17:00:10 -04:00
Jan Beich
a4a4756bd5 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
d35cc7cfdc Bug 784124 - Always use .f_frsize with statvfs(). r=karlt 2012-08-29 17:00:10 -04:00
Jan Beich
d35e358f18 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
d75c53bcf0 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
27742fe364 Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg 2012-08-29 17:00:09 -04:00
Andrew McCreight
6e474d295c Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg 2012-08-27 10:28:38 -07:00
Rafael Ávila de Espíndola
fa9b9c167a 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
Ryan VanderMeulen
50112c0069 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
Alex Keybl
b3319338f9 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Landry Breuil
d6526247fe Bug 783875: Fix OpenBSD/arm platforms detection in xpcom. r=bsmedberg. 2012-08-26 21:54:19 +02:00
Ryan VanderMeulen
f88b773991 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Olli Pettay
5931bf34db Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8 2012-08-24 12:26:44 -07:00
Ben Turner
2e0265c8ef 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
f02292c9f4 Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
af6a76cff2 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Chris Double
5951c5ddb1 Backed out changeset 581cdaf67a25
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Paul Adenot
1fb050e013 Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-21 16:00:23 -07:00
Rafael Ávila de Espíndola
7ab935bae1 Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Ryan VanderMeulen
15bd519dbe Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Paul Adenot
ad0546ec85 Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-08-15 15:46:08 -07:00
Paul Adenot
e7f75f1f49 Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-15 10:36:12 -07:00
Gian-Carlo Pascutto
9b64357c0e Bug 779687 - Add detection for ARMv7 CPUs. r=dougt 2012-08-21 13:20:46 +02:00
Andrew McCreight
0d31841b85 Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Andrew McCreight
8c942e77dd Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07:00
Andrew McCreight
6a69e406cb Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.

In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.

Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Andrew McCreight
86e263762f Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Andrew McCreight
671b32897c Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Ben Turner
4a96b44593 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Justin Lebar
8387ccd3cb Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey 2012-08-22 18:27:04 -07:00
Phil Ringnalda
2d4e07a293 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Kyle Huey
d540fe9d4c Bug 774888: Error out if there's no TimeStamp implementation. r=glandium 2012-08-18 12:15:22 -07:00
Doug Turner
36fb75252f Bug 759416 - Backout API change part 2. r=dougt 2012-08-17 19:43:00 -07:00
Doug Turner
a8763f4c37 Bug 759416 - Backout API change. r=dougt 2012-08-17 19:43:00 -07:00
Aryeh Gregor
5ea6a83221 Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg 2012-08-07 20:17:27 +03:00
Aryeh Gregor
8274fefd77 Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg 2012-06-27 17:54:01 +03:00
Ben Turner
81d9415df5 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
105b55a935 Bug 782252 - Cast some nsresult to bool where the function really returns bool; r=ehsan 2012-08-13 16:32:28 +03:00
Aryeh Gregor
0a8f6b4783 Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Aryeh Gregor
4c54d98fcb Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Rafael Ávila de Espíndola
f643277414 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Jan Beich
c34ac7f060 Bug 781457 - Define _GNU_SOURCE for _Unwind_Backtrace. r=dbaron 2012-08-10 11:29:59 -04:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jacek Caban
3133ef552a Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
--HG--
extra : rebase_source : 98185fe262366e0212115d3a3e296bd95d6ffc85
2012-08-14 11:17:34 +02:00