Commit Graph

61 Commits

Author SHA1 Message Date
Ehsan Akhgari
eaa7491d77 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
Jacek Caban
c6f4ebd28d Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01:00
Birunthan Mohanathas
de354c9745 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Aryeh Gregor
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jacek Caban
b34bfbddbd Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (uriloader part) r=jlebar
--HG--
extra : rebase_source : db2c0de5c099b85f9f378e2315b418900f59c798
2012-10-04 10:31:06 +02:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian R. Bondy
c1463d8d0f Bug 772711 - Invoking default application does not work if default application is a metro app. r=jimm 2012-07-14 20:44:07 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
49d110f1df Unescape URLs in mail subjects before passing them to ShellExecute. Bug 227268, r=bsmedberg, sr=biesi 2012-02-25 23:12:55 -08:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Ed Morley
ada565efab Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -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
Ed Morley
6d4a0d93cd Bug 655176 - Remove WinCE code from docshell (incl broken uriloader/exthandler/Makefile.in WINNT |ifeq|s); r=bz 2011-05-06 11:41:29 -07: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
Ehsan Akhgari
4d60f9bf5f Bug 589190 - Load rundll32.exe from the system directory; r=bsmedberg a=jst 2010-08-25 14:26:20 -04:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Simon Montagu
16606db5c5 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Mook
3261283c4d Bug 504025 - [windows x64] casting pointer to long is illegal on win64; don't cast HINSTANCE to int, use LONG_PTR instead; r=benjamin sr=cbiesinger
--HG--
extra : rebase_source : b60364af67246d341865a1d52c6fc93d4b62cf4b
2009-08-09 00:50:39 +02:00
Siddharth Agarwal
81ff1e06cd Part 3 of bug 472093 -- fix build system to use NTDDI_VERSION instead of random checks -- add MOZ_NTDDI_* defines, switch code over to use these defines.
r=ted for build config parts, r=jmathies for app association and download manager changes, r+sr=bz for helper app service, r=vlad + sr=ted for stock icons.
2009-04-12 20:25:29 +05:30
Paolo Amadini
74267f8de9 Bug 484579 - nsIMIMEService.getTypeFromExtension may fail unexpectedly on Windows when "Content Type" is empty in the registry; r=(robert.bugzilla + sdwilsh) sr=bzbarsky 2009-04-16 20:05:25 +02: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
Brad Lassey
84f523a585 bug 464194 - ShellExecuteW and SHParseDisplayName do not exist on wince r=emk, bsmedberg 2008-12-29 11:56:21 -05:00
Aiko
c8e12cfbf9 Bug 461754 - Wrong error handling in nsMIMEInfoWin.cpp; r=benjamin 2008-10-29 03:48:00 +01:00
Doug Turner
6ef51a2d2a bug 457040 - WinCE RegOpenKeyExA causes compiler error. patch by wolfe, r=bz 2008-09-27 13:52:58 -07:00
Doug Turner
ef3fb4ab5c Backed out changeset 53cb1c06d6ea 2008-09-26 16:09:57 -07:00
Doug Turner
fa46a2323f Bug 457040 - WinCE RegOpenKeyExA causes compiler error. patch by wolfe, r=bz 2008-09-26 15:36:00 -07:00
Brian Crowder
2687f76259 Bug 422791 - reduce narrow Windows API calls in uriloader, original patch by Brad Lassey <blassey@mozilla.com>, r=bsmedberg 2008-08-14 14:30:58 -07:00
Brad Lassey
af375d4358 Bug 422791 - Reduce ambiguous wide/narrow char API calls in uriloader r=bsmedberg 2008-07-07 18:57:08 -04:00
gavin@gavinsharp.com
c112ac7e3b Bug 428970 followup: remove unused file 2008-04-28 09:08:16 -07:00
gavin@gavinsharp.com
9da77cc629 Bug 428970: Implement --disable-vista-sdk-requirements configure option and update source to use it, patch by Jim Mathies <jmathies@mozilla.com>, r=rob_strong, r=bsmedberg, a=beltzner 2008-04-25 09:44:16 -07:00
reed@reedloden.com
14ad72b4b5 Bug 397678 - "Windows nsOSHelperAppService uses wrong default apps in Vista" [p=jmathies@mozilla.com (Jim Mathies) r=biesi r=rob_strong a1.9=damons a=blocking1.9+] 2008-04-09 00:07:43 -07:00
reed@reedloden.com
7b49c268ee Bug 395961 - "Shouldn't show full path to handler executable in Launch Application dialog (show 'pretty name' instead)" (cleanup cmd handler path) [p=jmathies@mozilla.com (Jim Mathies) r=rob_strong sr=biesi a=blocking-firefox3+] 2008-04-08 12:31:37 -07:00
reed@reedloden.com
f5a33b3cf8 Bug 421255 - "fix misc mingw cross-compile issues" [p=cls@seawood.org (Chris Seawood [cls]) r=bsmedberg a1.9=beltzner] 2008-03-14 09:22:25 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -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
benjamin@smedbergs.us
348b951ad0 Bug 396052 - Firefox fails to start when run from a directory with non-native characters, r=luser sr=neil 2007-12-31 07:15:43 -08:00
reed@reedloden.com
a80924a821 Bug 394974 - "URIs with invalid % encodings launch wrong handler on WinXP+IE7" (use Windows's own rules to vet URIs before handing them off to the shell) [p=jimm r=biesi a=blocking1.9+ for M9] 2007-10-22 16:03:14 -07:00
reed@reedloden.com
5b7c6fe237 Bug 348808 - "use application selector instead of file selector dialog when picking helper apps" [p=jimm r=dolske r=rob_strong r=myk r=biesi a=blocking-firefox3+ for M9] 2007-10-18 21:15:41 -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
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