198 Commits

Author SHA1 Message Date
jband%netscape.com
63a2567d8b avoid uninitialized memory reads by copying only the significant part of the union when initializing an nsXPTCVariant from a nsXPTCMiniVariant using nice encapsulated inline method.
git-svn-id: svn://10.0.0.236/trunk@48841 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:53:07 +00:00
jband%netscape.com
26a4c69f38 round out the isDependent test and change an || to a switch
git-svn-id: svn://10.0.0.236/trunk@48336 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 07:30:04 +00:00
jband%netscape.com
f6186afc2f - Changed the interface for getting the interface_is argnum.
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size


git-svn-id: svn://10.0.0.236/trunk@48304 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 02:50:28 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
frankm%eng.sun.com
8b6ad17152 - 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.


git-svn-id: svn://10.0.0.236/trunk@48042 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 22:46:44 +00:00
slamm%netscape.com
f5b0948ce6 Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@47687 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:15:30 +00:00
cls%seawood.org
b79af681f6 Renamed function arguments to avoid warnings about shadowing member variables
git-svn-id: svn://10.0.0.236/trunk@47054 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:08:56 +00:00
jband%netscape.com
b9d4c03546 add arrays to xpidl and typelibs. got rid of vararg support scheme
git-svn-id: svn://10.0.0.236/trunk@46934 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 05:20:39 +00:00
shaver%netscape.com
708e94e89e convert to CreateInstanceFromProgID
git-svn-id: svn://10.0.0.236/trunk@46048 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 06:27:42 +00:00
jband%netscape.com
e1161ebb6d fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs
git-svn-id: svn://10.0.0.236/trunk@45576 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:01:08 +00:00
jband%netscape.com
1aea9c516f OpenVMS only change to Makefile.in from Colin Blake <colin@theblakes.com>
git-svn-id: svn://10.0.0.236/trunk@45574 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:54:58 +00:00
jband%netscape.com
143c2319f9 updating status page
git-svn-id: svn://10.0.0.236/trunk@45563 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:46:21 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
beard%netscape.com
80b87b24fe fixed stack management so that stack crawls work, added a traceback table.
git-svn-id: svn://10.0.0.236/trunk@44970 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:59:33 +00:00
ramiro%netscape.com
cb934ee5cc Cleanup linking of libimg.
git-svn-id: svn://10.0.0.236/trunk@44493 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:37:11 +00:00
slamm%netscape.com
3935e6e01e Removed items from DIRS that do not exist.
git-svn-id: svn://10.0.0.236/trunk@44341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:45:26 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
cls%seawood.org
c40becaa41 Removed all references to obsolete OBJDIR variable.
Removed various sections of config.mk & rules.mk that were only used by OBJDIR or by a non-autoconf build.


git-svn-id: svn://10.0.0.236/trunk@43791 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 06:52:59 +00:00
mgleeson1%netscape.com
794f5cd2f3 change for hpux porting
git-svn-id: svn://10.0.0.236/trunk@43691 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 21:17:31 +00:00
mgleeson1%netscape.com
d70dfd8146 HP-UX additions
git-svn-id: svn://10.0.0.236/trunk@43668 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 20:36:06 +00:00
jband%netscape.com
a14de7a2e8 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.
git-svn-id: svn://10.0.0.236/trunk@43580 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 10:12:30 +00:00
waterson%netscape.com
8f51e073d4 Bug 11667. Fix unsigned/signed mismatch.
git-svn-id: svn://10.0.0.236/trunk@43233 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 08:49:44 +00:00
jband%netscape.com
d1add0c0a4 updating status page
git-svn-id: svn://10.0.0.236/trunk@42942 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 06:30:34 +00:00
rogerl%netscape.com
db941463f3 Backing away from SUNW 5.0 version - the 4.2 workshop is the same as GCC
output and Matthias has a way to get the 5.0 workshop to produce 4.2 (and
hence GCC) compatible vtables. I'm leaving the structure intact for now in
case we need to use it for flag setting or whatever.


git-svn-id: svn://10.0.0.236/trunk@42803 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 21:07:57 +00:00
mccabe%netscape.com
2ae3da34ec Change a mispatched | to a !. Thanks to Anton Blanchard <anton@progsoc.uts.edu.au>.
git-svn-id: svn://10.0.0.236/trunk@42746 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 12:37:24 +00:00
jband%netscape.com
5630b79f6c adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
git-svn-id: svn://10.0.0.236/trunk@42738 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 05:02:25 +00:00
mccabe%netscape.com
7e79107377 Fix lxr-visible file description comments.
git-svn-id: svn://10.0.0.236/trunk@42651 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 09:45:12 +00:00
mccabe%netscape.com
1302f9251b Fixes for 'warning: unsigned value < 0 is always 0' warnings.
git-svn-id: svn://10.0.0.236/trunk@42650 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 09:32:45 +00:00
cls%seawood.org
6a502d3b0e Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.


git-svn-id: svn://10.0.0.236/trunk@42646 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:01:31 +00:00
briano%netscape.com
13240d8630 Fixed the broken initial comment block.
git-svn-id: svn://10.0.0.236/trunk@42247 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:36:18 +00:00
briano%netscape.com
27aa60352d Rearranged things a bit and reworked some of the ifdefs to (hopefully) make the whole thing a bit more efficient.
git-svn-id: svn://10.0.0.236/trunk@42246 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:32:48 +00:00
rogerl%netscape.com
cff5cc082e New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.


git-svn-id: svn://10.0.0.236/trunk@42199 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:50:01 +00:00
rogerl%netscape.com
4189aeedca Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.


git-svn-id: svn://10.0.0.236/trunk@42198 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:48:18 +00:00
jband%netscape.com
4137ac2579 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com>
git-svn-id: svn://10.0.0.236/trunk@42114 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 06:13:05 +00:00
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00
sfraser%netscape.com
4bf673a95e Change ResolveAlias to ResolveSymlink. dougt should have done this.
git-svn-id: svn://10.0.0.236/trunk@41342 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:05:53 +00:00
dougt%netscape.com
d219f1385e Fix for bug 10177 and 10041.
git-svn-id: svn://10.0.0.236/trunk@41167 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 22:09:42 +00:00
jband%netscape.com
d3d1fb1286 Adding NT Alpha only makefile rule for asm from bob meader <bob@guiduck.com>
git-svn-id: svn://10.0.0.236/trunk@41010 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:56:17 +00:00
jband%netscape.com
0b9bcf4687 update to xptcall status page
git-svn-id: svn://10.0.0.236/trunk@41009 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:54:38 +00:00
jband%netscape.com
df6496d054 transposed two letters in a comment
git-svn-id: svn://10.0.0.236/trunk@41008 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:53:11 +00:00
jband%netscape.com
2bd9b02f1d NT Alpha only change to rename misnamed file and to add a bunch of casting. From
git-svn-id: svn://10.0.0.236/trunk@41004 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:20:56 +00:00
jband%netscape.com
c220f6aaab adding a mising '$' in the open vms only part
git-svn-id: svn://10.0.0.236/trunk@40720 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:24:59 +00:00
mccabe%netscape.com
c8d7de7576 Warning fix.
git-svn-id: svn://10.0.0.236/trunk@40658 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 10:48:05 +00:00
jband%netscape.com
5ea6447de9 changing 'this' adjust scheme for BSD/OS per request from Bert Driehuis <bert_driehuis@nl.compuware.com>
git-svn-id: svn://10.0.0.236/trunk@40258 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:11:41 +00:00
rogerl%netscape.com
f545119188 Fixed MI dispatch and cleaned up branch slots.
git-svn-id: svn://10.0.0.236/trunk@40140 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 20:18:02 +00:00
jband%netscape.com
bc58ec0eac doing an explict cast of float to double in printf args in test
git-svn-id: svn://10.0.0.236/trunk@40132 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:43:53 +00:00
jband%netscape.com
9064b203c6 adding Linux ARM code contributed by Stefan Hanske <sh990154@mail.uni-greifswald.de>
git-svn-id: svn://10.0.0.236/trunk@40066 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 02:57:59 +00:00
jband%netscape.com
7db966ed03 reducing the count of stubs entries in the xptcstubs* vtbl (down to 128 from 256) to reduce footprint and to make Linux ARM happy
git-svn-id: svn://10.0.0.236/trunk@40064 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 02:56:39 +00:00
jband%netscape.com
c016bb0e14 fix for bug 10033 - failing to resolve at runtime interfaces that were forward declared in one xpt file and resolved in another xpt file. r: mccabe
git-svn-id: svn://10.0.0.236/trunk@39838 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 03:10:31 +00:00
rogerl%netscape.com
56f7f72e79 Return register count from invoke_count so that we can load only the
appropriate registers.


git-svn-id: svn://10.0.0.236/trunk@39769 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:19:34 +00:00