Ehsan Akhgari
e368dc9c85
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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ehsan Akhgari
92064e6d3f
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
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Matheus Kerschbaum
6eb93f7dd3
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
timeless@mozdev.org
a484089327
Bug 577921 mark DEBUG only variables as ifdef DEBUG in xpcom
...
r=bsmedberg
a=bsmedberg
a=sheriff for landing
2010-07-11 16:00:19 +03:00
Chris Jones
0c29675086
bug 490072: upgrade XPCOM unit tests to new thread sync API. drop nsAutoLock test. r=bsmedberg
2009-07-22 22:55:02 -05:00
Chris Jones
18c52db5ae
Bug 58904: Create strong types for synchronization primitives. r=bsmedberg.
2009-04-18 18:54:23 -07:00
Serge Gautherie
cf5294d696
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; (Cv1) Remove obsolete |#if 0| code; r=benjamin
2008-10-20 19:24:43 +02:00
Serge Gautherie
afcf19b8de
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin
2008-10-08 02:27:05 +02:00
Serge Gautherie
22bc4a73fd
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin
2008-10-08 02:24:31 +02:00
Serge Gautherie
396a7dbca1
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
2008-09-25 20:06:13 +02:00
Serge Gautherie
71ab0224cc
Bug 190177 – ASSERTION: received wrong amount: 'received == writeCount', file .../xpcom/tests/TestPipes.cpp, line 273. r=shaver, sr=bsmedberg
2008-08-24 12:16:33 -07:00
reed@reedloden.com
a389f02605
Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons]
2007-11-13 02:27:26 -08:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
0c7c3a2ff3
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
2004-01-15 06:14:18 +00:00
darin%meer.net
cbcb460359
fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
2003-10-09 01:54:07 +00:00
bryner%brianryner.com
06c7c1b2b4
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-08 00:31:50 +00:00
darin%netscape.com
685a7af468
modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
timeless%mac.com
651ae14d30
Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
...
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
darin%netscape.com
281c86ec58
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
cathleen%netscape.com
8baf662f08
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
dougt%netscape.com
4f3a44d63b
API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
2001-10-16 03:35:52 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
darin%netscape.com
6a7567992b
Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
...
r=dougt@netcape.com , sr=mscott@netscape.com .
2001-01-23 22:10:34 +00:00
warren%netscape.com
e05eef45e9
Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
2000-08-22 07:03:33 +00:00
edburns%acm.org
13be6d7ebf
I know it's unorthodox to do a top level checkin like this, but I've got so many files
...
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got
r=dp
on this checkin.
Here are the touched files:
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp
The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.
The new signature is
extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);
I filed a bug for this problem:
b=23157
The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.
I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
warren%netscape.com
e07863e48c
Added OnClose method to nsIPipeObserver (bug#23080)
2000-01-05 05:07:46 +00:00
dp%netscape.com
aa23a77403
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-12-01 00:21:53 +00:00
warren%netscape.com
09ec7d51d0
Fixed QI problem now that comptrs check.
1999-11-13 06:18:34 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
valeski%netscape.com
d66cd6ac49
15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr.
1999-10-01 23:30:06 +00:00
dp%netscape.com
d0ccf9a6eb
Ability for XPCOM to use non-default component registry and component directory
1999-09-16 19:28:57 +00:00
warren%netscape.com
211d856af2
Added missing includes.
1999-09-15 22:33:38 +00:00
warren%netscape.com
40ed9d6ad2
Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
1999-09-09 22:05:05 +00:00
warren%netscape.com
bb629a4c18
Added TestSearch routine from now obsolete TestBuffers test.
1999-08-27 10:32:51 +00:00
warren%netscape.com
8e8c466e58
Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more.
1999-08-24 08:45:17 +00:00
warren%netscape.com
e5ce287362
More extensive tests for pipes. Now we test for read returning when there's data but the buffer isn't yet full. Also testing new pipe implementation.
1999-08-10 19:27:05 +00:00
warren%netscape.com
b686fa2108
Beefed up buffer/pipe tests.
1999-07-10 11:27:14 +00:00
dp%netscape.com
3082cbf9af
Using default autoregistration.
1999-06-16 00:29:34 +00:00
warren%netscape.com
a00f9dda7e
Fixed buffer tests.
1999-06-15 08:36:27 +00:00
mcmullen%netscape.com
c9ea567a8e
trying to fix windows bustage with new parameters = set 'em to null!
1999-06-15 07:19:16 +00:00
warren%netscape.com
a619c8caf6
Added ReadSegments and WriteSegments to nsIBuffer to avoid the need to allocate intermediate buffers.
1999-06-09 04:52:47 +00:00
warren%netscape.com
b113f2332f
Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
1999-06-08 20:57:32 +00:00