Commit Graph

61 Commits

Author SHA1 Message Date
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
a7cfe4f5a9 Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud 2013-10-10 12:59:40 -04:00
Andrew Quartey
e4f9aac912 Bug 878144 - Remove nsExternalHelperAppService::FixFilePermissions. r=paolo 2013-08-14 16:26:07 -04:00
Joshua Cranmer
97cdff02d6 Bug 884061 - Part 3w: Use NS_DECL_THREADSAFE_ISUPPORTS in uriloader/, r=bz
--HG--
extra : rebase_source : cad6dd305dc36ca1b4fab141625b1c466980d5f4
2013-07-18 21:24:15 -05:00
Steven Michaud
634cd975ce Bug 877500 - Add a null check so that CFRelease() doesn't crash. r=joshmoz 2013-06-14 17:05:55 -05:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
passfree
5d01df5227 Bug 636841 - Stop using unneeded private API on OS X (_LSCopyDefaultSchemeHandlerURL). r=smichaud 2012-02-13 14:55:28 -06:00
Steven Michaud
13b4e4fff2 Bug 720168 - Crash in nsHttpChannel::CallOnStartRequest @ objc_msgSend | nsOSHelperAppService::GetMIMEInfoFromOS. r=bgirard 2012-01-23 16:37:40 -06:00
Steven Michaud
f316045bd7 Bug 675356 - Dmg files sometimes not handled correctly. r=josh 2012-01-19 11:12:58 -06:00
Matt Brubeck
e924be656a Back out 2c762ec80235 (bug 675356) because of crashes in GetMIMEInfoFromOS in Mac tests 2012-01-17 16:04:32 -08:00
Steven Michaud
38a826cf58 Bug 675356 - Dmg files sometimes not handled correctly. r=josh 2012-01-17 16:58:39 -06:00
Ehsan Akhgari
2a602a5685 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
d8e503c38b 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
Boris Zbarsky
d35c271619 Bug 624995. Make sure to fix the file permissions on Mac when downloading, now that mac's nsILocalFile::Create actually pays attention to permissions. r=josh, a=blocker 2011-01-18 21:20:35 -05:00
Brad Lassey
854d433e01 bug 582616 - Sharing back-end for Android r=mwu,mfinkle sr=stuart a=blocking-fennec 2010-09-30 11:37:36 -04:00
Steven Michaud
a497cdf461 Bug 548719 - CFStringCreateWithCString() and CFStringCreateWithBytes() can return NULL without having run out of memory. r=josh 2010-04-06 16:46:39 -05:00
Josh Aas
bcb41f783d More Carbon usage cleanup. b=550787 r=bsmedberg 2010-03-10 14:30:11 -05:00
Steven Michaud
52b5f2cff3 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Steven Michaud
3cf940577e get rid of nsIInternetConfigService. b=489864 r=josh sr=roc 2009-06-23 14:09:19 -05:00
Josh Aas
98e0114875 Port uriloader to 64-bit Mac OS X. b=489344 r=smichaud sr=roc 2009-04-22 09:06:58 -04:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
HÃ¥kan Waara ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
1652f1d792 Bug 422511 - "Open with 'TextEditor.app'" Should be "Open with 'TextEditor'"
This changeset gets an application bundle's name instead of the bundle's file
name on OS X.
Original patch by HÃ¥kan Waara, updated by Shawn Wilsher.
Original patch r=sdwilsh, sr=biesi
Updated patch r=hwaara, sr=biesi
2008-09-03 12:22:16 -04:00
Mark Banner
977c40cb88 Core parts of Bug 378991 - Enable IDN link support in messages for Thunderbird and only pass punycode values to external apps. r=masayuki,dmose,sr=biesi 2008-06-03 13:05:59 +01:00
vladimir@pobox.com
ab872ae08d Followup to 414201, get rid of some release calls 2008-03-20 16:22:41 -07:00
vladimir@pobox.com
c8852d69da b=414201, [relanding] JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner 2008-03-20 15:57:44 -07:00
vladimir@pobox.com
9a51934262 backing out 414201 because I hate 10.4 2008-03-20 14:56:31 -07:00
vladimir@pobox.com
ce6f8c1c55 b=414201, JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner 2008-03-20 14:39:09 -07:00
joshmoz@gmail.com
dbd3fa04fd protect against obj-c exceptions in uriloader. b=419390 r/sr=roc 2008-03-04 00:14:47 -08:00
joshmoz@gmail.com
9f0b667d23 rename files to .mm. b=419390,419392 r/sr=roc 2008-02-26 18:03:08 -08:00
joshmoz@gmail.com
efe666da43 When opening a .dmg file downloaded from site, user receives error message. p=shebs b=394342 r=dmose sr=roc 2008-02-21 18:24:42 -08:00
dmose@mozilla.org
130936f242 Fix SunOS build bustage + wrongly typed return value in landing of bug 395277, a=build-bustage 2008-02-19 22:10:33 -08:00
dmose@mozilla.org
9f7b7b4f8e Add an l10n strategy for web-based protocol handler updating (bug 395277); r=myk, sr=biesi, r=gavin (for browser/ pieces), a=blocking-1.9+; late-l10n checkin 2008-02-19 20:46:35 -08:00
florian@queze.net
3d9c2a229c Bug 412907 - Failure to find the system default application. r+sr=vlad, a1.9=schrep 2008-01-18 11:03:51 -08:00
dmose@mozilla.org
9474dbc670 First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking 2007-10-03 23:10:47 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
dmose@mozilla.org
b3b2ff44a4 Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
dmose@mozilla.org
91643370ed Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
myk@mozilla.org
02bb1ac2c6 bug 389969: followup patch that makes the protocol handling dialog work on Mac as well;
r=biesi
sr=dmose
a=schrep for M7
2007-07-30 21:57:37 -07:00
sdwilsh@shawnwilsher.com
e50a443cd2 Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
dmose@mozilla.org
37bc219194 local protocol handling apps can be chosen but don't work (bug 389758); patch by dolske and me, r=biesi, sr=bz, a=mconnor 2007-07-28 20:38:52 -07:00
dmose@mozilla.org
e91f12a7a9 nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc 2007-07-27 11:31:13 -07:00