Commit Graph

39 Commits

Author SHA1 Message Date
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Xidorn Quan
d517cf4d1e Bug 1132679 - Fix warnings on windows widget and enable FAIL_ON_WARNINGS there. r=jimm 2015-02-14 11:29:29 +11:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ehsan Akhgari
68bfe70f09 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
20aa364672 Bug 944894 - Fix char16_t/wchar_t mismatch in widget/windows/. r=jimm 2013-12-03 16:12:57 +01:00
Henri Sivonen
f88a566f89 Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Masatoshi Kimura
a39c875384 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Birunthan Mohanathas
610c975730 Bug 784739 - Switch from NULL to nullptr in widget/windows/ (1/3); r=ehsan 2013-10-08 14:48:02 -04:00
Masayuki Nakano
c23797df63 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Jonathan Watt
7695a3a508 Bug 894840, part 1 - Refactor and move the mode storage to nsBaseFilePicker. r=mounir 2013-07-22 10:12:32 +01:00
Hector Zhao
cc3272a22a Bug 739156 - Replace illegal characters in filename for Win Vista+ file picker. r=jimm 2013-05-13 14:58:10 +08:00
Trevor Saunders
5efd174530 bug 869284 - fix some gcc warnings for windows widgetish stuff r=roc 2013-05-06 22:04:02 -04:00
Ryan VanderMeulen
df51ed1a12 Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs. 2012-10-28 00:24:02 -04:00
Neil Deakin
ae4bb16641 Bug 782547, allow killfocus and deactivate messages to arrive in any order, remove blur suppression code, r=jmathies 2012-10-24 16:05:29 -04:00
Brian R. Bondy
3167de3c0e Bug 787808 - Create common base class for Win32 and WinRT filepickers. r=jimm 2012-09-03 11:25:08 -04:00
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jim Mathies
9aafaedbd0 Bug 776902 - msvc nullptr fix for nsFilePicker. r=bbondy 2012-07-25 04:22:03 -05:00
Jim Mathies
3a6e699ab5 backout ea7070555f4f CLOSED TREE 2012-07-24 16:59:41 -05:00
Jim Mathies
d95820df98 Bug 776902 - vc11 nullptr fix for nsFilePicker. r=bbondy 2012-07-24 15:07:41 -05:00
Brian R. Bondy
4fcd3f96e6 Bug 751729 - File dialogs don't open with Visual Themes disabled in Windows 7 fix. r=jimm 2012-07-03 10:38:09 -04:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
56634dd6f6 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Honza Bambas
646f4355b5 Bug 744887 - Build error: nsFilePicker.cpp(227) : error C2065: 'nsPIDOMWindow' : undeclared identifier, r=jmathies 2012-04-14 01:49:11 +02:00
Diana Koenraadt
e577171acd Bug 722864 - change nsFilePicker to no longer use global Private Browsing service. Instead, use nearest relevant docshell; r=jimm 2012-04-09 21:53:46 +02:00
Ryan VanderMeulen
1becc7707c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
349ef2e799 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Mark Capella
590ec2e743 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Jim Mathies
9ed2d720eb Bug 718374 - File picker support for choosing Win7 library default folders, and strip sdk ifdefing junk. r=neil 2012-02-16 18:36:04 -06:00
Serge Gautherie
4d2bcaa6b6 Bug 720071. (Av1a) Fix windows/nsFilePicker to actually be buildable using "--with-windows-version=502". r=jmathies. 2012-01-24 07:05:15 +01:00
Jim Mathies
02cb09d8cb Bug 718752 - Only apply read only checks in save mode for Vista+ file pickers. r=bbondy 2012-01-18 07:31:09 -06:00
Masayuki Nakano
bd45f36c2b Bug 716819 Move nsToolkit::VistaCreateItemFromParsingNameInit() and nsToolkit::createItemFromParsingName to WinUtils r=jimm 2012-01-11 11:09:41 +09:00
Ed Morley
b725abb502 Merge mozilla-central to mozilla-inbound 2012-01-04 20:43:25 +00:00
Neil Rashbrook
cbca7b5ef2 Bug 715129 File picker can't pick applications on Vista or later r=jimm 2012-01-04 20:30:57 +00:00
Neil Rashbrook
392813270b Backout changeset d1f777b14d52
DONTBUILD
2012-01-04 20:22:59 +00:00
Neil Rashbrook
38c9f18d96 Bug 715129 File picker can't pick applications on Vista or later r=jimm 2012-01-04 20:13:35 +00:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
Masayuki Nakano
18f679ee2e Bug 712483 Implement mozilla::widget::WinUtils r=jimm 2012-01-04 19:21:44 +09:00