Birunthan Mohanathas
9c97f8fe32
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
2013-10-10 16:42:16 -04:00
Isaac Aggrey
50d6240e45
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05: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
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Doug Turner
ca9c9e7549
Bug 136936 - TestInterfaceInfo is out of date - nsIServiceManager; r=benjamin
2009-07-06 22:09:39 +02:00
29e95d453a
Backout previous change, as it caused bustage elsewhere.
2007-03-26 12:39:22 -07:00
772826f97e
Backout previous change, as it caused bustage elsewhere.
2007-03-26 12:37:59 -07:00
[email protected]
2337de3ca9
Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst
2005-11-10 16:19:44 +00:00
[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
[email protected]
c27fd02f03
fix bustage after nsIBaseStream removal
2000-08-22 09:28:52 +00:00
[email protected]
a01d95609c
fix bustage due to relative path include of removed (and otherwise unused) file
2000-04-21 01:12:19 +00:00
[email protected]
9ded567d0a
landing typelib loading improvements. bug 30753
2000-04-20 08:52:05 +00:00
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
cfd5b082aa
- In nsInterfaceInfoManager.cpp, get the allocator with nsAllocator::GetGlobalAllocator, not from nsServiceManager. (Allocator now cached with nsCOMPtr.)
...
- Insure that debugging code in nsInterfaceInfo and TestInterfaceInfo fails gracefully instead of segfaulting.
1999-09-17 22:46:44 +00:00
[email protected]
7c68537dbe
Fix build warnings.
1999-09-16 00:15:30 +00:00
[email protected]
3bddc539eb
Fixing xptinfo bug with getting information about the type of an interface pointer parameter of a method when the method is inherited from another interface in another typelib file. The api needs to also pass along the method index in order to convey enough information to always give the right answer. Got that? :) Fixing users of this modified api also.
1999-08-19 10:12:30 +00:00
[email protected]
6ece711456
Removing old RegisterComponent calls as these are inbuilt into XPCOM
1999-07-02 03:50:44 +00:00
[email protected]
b2f8895eaf
Handle the (Unix) platform-specific DLL naming conventions properly.
1999-06-04 22:17:30 +00:00
[email protected]
505cbfc7ea
Not part of seamonkey.
...
Removed awkward nsXPTParamInfo::GetInterface and friend, and als removed supporting nsXPTParamInfo.cpp file. Replace by nsIInterfaceInfo::GetInfoForParam and friend.
Made the constructor for nsInterfaceInfo private, with nsInterfaceInfoManager as a friend class.
1999-03-12 06:49:01 +00:00
[email protected]
e9d7322845
get xptinfo building on Win32 again
1999-03-11 02:21:23 +00:00
[email protected]
ee3e29d26e
Added tests of getting info assoc'd with params to TestInterfaceInfo.cpp, which uncovered an off-by-one problem due to magic typelib offsets for nsXPTParamInfo. Which makes me wonder if we shouldn't have just said #define XPT_INDEX_NO_PARENT 0xFFFF.
1999-03-10 10:36:13 +00:00
[email protected]
48e38b421c
Not part of seamonkey.
...
Added a comment saying preconditions the tests actually needs to
succeed. (also simplified these some.)
1999-03-10 08:22:17 +00:00
[email protected]
5b2025f6e9
Not yet part of Seamonkey.
...
Progress on the nsInterfaceInfoManager typelib loader for xpconnect.
Now has complete (I think) functionality, though the implementation is
still probably rusty.
I punted on defining a directory for .xpt files at this point; the
implementation looks at the value of the XPTDIR environment variable
for this value.
Note that the nsXPTParaminfo interface (public/xpt_cpp) has changed
(possibly temporarily) to take an 'entry' parameter.
1999-03-10 04:26:15 +00:00
[email protected]
1b21478740
makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
1999-03-02 07:59:53 +00:00
[email protected]
4ad675eee1
Not yet part of Seamonkey.
...
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.
1999-03-02 05:38:27 +00:00
[email protected]
df97d07da9
Not yet part of the seamonkey build.
...
Moved nsInterfaceInfoManager files from the libxpt directory (where
they would have precipitated an unpleasant circular dependency between
xpidl and nsISupports.h) into a new subdirectory.
Added corresponding entries to allmakefiles.sh.
nsInterfaceInfoManager is intended to abstract the loading and
management of typelib information generated by xpidl, for use by
xpconnect.
1999-03-02 05:21:31 +00:00