Commit Graph

22 Commits

Author SHA1 Message Date
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
Olli Pettay
8111d06371 Bug 761621 - interfaces inheriting a builtinclass-interface should be builtinclass too, r=khuey
--HG--
extra : rebase_source : 5b3379e0c8263846177aa7854547b3809f4b0109
2012-06-06 19:30:58 +03:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Steven Michaud
b02d7f21d4 Bug 313700 - Stale information in about:plugins (pluginreg.dat) after a plugin update. r=josh 2012-04-10 10:56:49 -05: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
Josh Aas
45cb20c144 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Josh Aas
77db992206 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
e2c39ae137 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Serge Gautherie
dac4f591cb Bug 514787 - Remove unused TARGET_CARBON and TARGET_API_MAC_CARBON in configure.in; (Cv1) Update nsILocalFileMac.idl too.
r=benjamin.
2010-03-05 21:57:14 +01:00
Josh Aas
cffeb5a089 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Josh Aas
4a486a40f2 optimize/modernize Mac OS X toolkit/xre code. b=486733 r=mstange sr=bsmedberg 2009-04-09 20:54:11 -04:00
Josh Aas
dde6460538 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Josh Aas
ffb320ce01 Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
mozilla.mano%sent.com
177a1e40ad Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink. 2006-12-23 20:17:29 +00:00
beng%bengoodger.com
65ef342f8e 334747, 339893 - desktop application feed readers do not display their app name properly or launch with the specified feed on OSX due to lack of support for a function to get the application bundle name, and a method to invoke an application bundle on OS X with a URL. Add an attribute to nsILocalFileMac called bundleDisplayName to show the application's name, and a method to nsIShellService called openApplicationWithURL which launches an application with a URL parameter appropriately across platforms (nsIProcess on windows and linux, LaunchServices on OS X). Update the client code to use bundleDisplayName, and also the <filefield> binding in preferences to use it too. r=mark sr=darin 2006-06-27 22:38:55 +00:00
mark%moxienet.com
9e051c299b 326668 Add NS_NewLocalFileWithFSRef function to create nsLocalFiles from FSRefs on Mac prior to xpcom startup. r=josh sr=dougt 2006-03-07 01:26:13 +00:00
ccarlen%netscape.com
dabf53c9c0 Bug 179932 - Need GetCFURL() on nsILocalFileMac. r=sdagley/sr=sfraser 2002-11-15 15:35:17 +00:00
ccarlen%netscape.com
32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
sdagley%netscape.com
f5ad1d9272 Fix #139360 - Don't silently fail when file name from FilePicker >31 characters. Do a mid-trunc until we can switch to HFS+ APIs. r=ccarlen,pinkerton sr=scc 2002-04-29 06:22:55 +00:00
rjc%netscape.com
73c203cb23 Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
ccarlen%netscape.com
9890da27d7 Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00