Jacek Caban
32ab578920
Bug 969330 - Fix -Werror=int-to-pointer-cast in windows-only code. r=ehsan
2014-02-10 12:05:22 +01:00
Jacek Caban
1b93481411
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
...
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Carsten "Tomcat" Book
15546f37d1
Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE
2014-01-07 15:18:43 +01:00
Jacek Caban
40790e8807
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2014-01-07 14:54:52 +01:00
Ehsan Akhgari
1b83407ce9
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
e2cd5ba18b
Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2013-12-04 13:19:09 +01:00
Benjamin Smedberg
8fd1bc7f20
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
James Kitchener
8d6c5dce65
Bug 936886 - Account for possibility of non-null terminated strings in nsWindowsRegKey::ReadStringValue(). r=dmajor
2013-11-19 09:09:41 -05:00
Birunthan Mohanathas
0244dd58be
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Nathan Froyd
73f84114cc
Bug 901976 followup - fix Windows build bustage; r=bustage
2013-08-09 11:11:31 -04:00
Nathan Froyd
5f9e07125e
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -04:00
Trevor Saunders
0f94b545d6
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
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
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
Ed Morley
33aac194a8
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Ehsan Akhgari
d9b3b4ace6
Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
...
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ehsan Akhgari
b6e363a27f
Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver
2011-02-17 16:18:53 -05:00
Benjamin Smedberg
29e089defb
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
c611ebcd81
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Jacek Caban
f48d5e9dd0
Bug 569586 - XPCOM compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=benjamin
...
--HG--
extra : rebase_source : e4d0b0b110992af5f397aea52c36a5f5ed9f56c5
2010-06-25 14:02:24 +02:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Serge Gautherie
1bf86ff50c
Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
...
--HG--
extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
2009-08-09 00:45:46 +02:00
jshin%mailaps.org
88da57650a
bug 359808 : drop support for Win9x/ME (get rid of 'A' API code) : r=darin, sr=dougt, sr=darin
2007-02-08 17:48:22 +00:00
asqueella%gmail.com
f491e43897
Bug 368310 - Remove the obsolete Windows "A" style API calls in nsWindowsRegKey
...
patch by Ryan Jones <bugs@ryan-jones.com>
r+sr=bsmedberg
2007-01-31 21:02:48 +00:00
darin%meer.net
5625eac67e
fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin
2006-03-10 05:30:58 +00:00
darin%meer.net
c2ff4e354b
fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg
2005-07-21 16:54:39 +00:00
dougt%meer.net
d1460e3a0a
* Fixes some build problems when trying to build non-static. (removing link
...
libraries that don't exist on Windows CE)
* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)
* Windows CE on ARM doesn't support C++ exceptions. In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla. On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.
* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.
* Disabling more code in nsOSHelperAppService for Windows CE.
* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).
Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa
2005-06-16 21:20:45 +00:00
bryner%brianryner.com
d9035a7667
fix vc6 debug build bustage, r=darin
2005-05-17 19:15:17 +00:00
darin%meer.net
d96f04776d
fixing VC6 build bustage
2005-05-16 23:00:47 +00:00
darin%meer.net
b0d896c4cd
fixes bug 292981 "Provide a scriptable interface to the Windows registry" r=neil,dougt a=chofmann
2005-05-16 21:23:09 +00:00