jband%netscape.com
e445180e90
fix bug 106122. build xpt file search path based on NS_XPCOM_COMPONENTS_DIR *and* NS_APP_PLUGINS_DIR_LIST. Also, correctly detect that search path has changed - even when the change is just appended items. r=ccarlen sr=jst.
2001-11-11 19:01:00 +00:00
dbaron%fas.harvard.edu
8cd8d91750
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
2001-11-07 06:24:10 +00:00
jband%netscape.com
5c71948424
fix bug 108045. Don't crash on case where an xpt file is missing an interface info that was there when the manifest got built. Insead, fail gracefully and force the subsequent run to re-autoreg. r=jst sr=brendan
2001-11-02 04:40:13 +00:00
jband%netscape.com
0e7f7529b8
file had no newline at EOF. rs=jband
2001-11-01 04:42:19 +00:00
pete%alphanumerica.com
b52992027b
b=107823, r=ccarlen, sr=brendan
...
--pete
2001-11-01 00:11:15 +00:00
jband%netscape.com
e9bfc484c2
fix bug 106541. Do a rename rather than a copy to create the new xpti.dat. And don't leave behind xptitemp.dat. r=valeski sr=jst.
2001-10-26 07:15:56 +00:00
jband%netscape.com
4ca6952df1
fix Mac installer crash. bug 105437. r/sr=sfraser
2001-10-19 00:15:43 +00:00
jband%netscape.com
c400a4e26f
fix warning (and perhaps wrong behavior) by restoring new-style C++ cast of nsInt64 reference into a PRInt64 when passing to PR_fprintf. This was inadvertantly removed in the recent checkin. rs=jband
2001-10-18 07:55:38 +00:00
jband%netscape.com
91a3cddac1
Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst.
2001-10-18 04:23:25 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
d1a7bfa843
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2
Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
2001-09-17 19:06:35 +00:00
alecf%netscape.com
c20ca03a02
dumb
...
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dbradley%netscape.com
c7afe77c82
Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband
2001-08-21 12:29:34 +00:00
pete%alphanumerica.com
f020dcc1cd
Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
...
Renamed all Delete methods to Remove.
--pete
2001-07-24 18:38:25 +00:00
cls%seawood.org
bf5fb48486
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jband%netscape.com
7c06335f78
PRBool values should be members of the set {0,1}. r=sfraser sr=jst. see bug 80722
2001-05-15 19:09:33 +00:00
jst%netscape.com
ea706038cf
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
cls%seawood.org
d62bacf705
Remove unneeded LOST_SYM_LIBS defines.
2001-04-30 01:13:22 +00:00
cls%seawood.org
00f28396a9
Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
2001-04-28 19:48:12 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
jband%netscape.com
ea496b8199
add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
2001-01-26 02:32:18 +00:00
jband%netscape.com
c1564bb79e
fix bug 58959 and groundwork for bug 57370. Handle interface whose name has changed correctly and add support for comparing iids without fetching. r=mccabe sr=hyatt
2000-11-30 06:55:40 +00:00
cls%seawood.org
66a18fcbbf
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
jband%netscape.com
d9691850b8
Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com
2000-09-19 21:42:47 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
jband%netscape.com
45fd8ce1e8
add caching of jar/zip files to help fix bug 46707. Also factor out conditional compilation of ziploader support to not just be dependent on XPCOM_STANDALONE. And, factor out manifest directory from component directory (even though they are the same for now) in prepatation for a better fix to bug 39808. r=rginda@netscape.com
2000-08-31 09:48:39 +00:00
jband%netscape.com
6ba416e575
changed comment to show why compiler warning will not be fixed
2000-08-29 08:55:28 +00:00
beard%netscape.com
20faf976ac
use QueryElementAt() to save space and time. r=jband
2000-08-24 04:08:07 +00:00
jband%netscape.com
e0aa9a49db
fix bustage after nsIBaseStream removal
2000-08-22 09:28:52 +00:00
mccabe%netscape.com
f14eb49869
Fix to 43282, courtesy Mark Hammond <markh@activestate.com>
...
Common code between GetIIDForParam and GetInfoForParam, and reinforce a needed check against null.
r=jband
a=brendan
2000-08-22 01:19:22 +00:00
jband%netscape.com
3e0ad5c4a1
fix bug 49137 by using PR_GetEnv rather than prefs to get these developer options r=mccabe
2000-08-17 01:20:02 +00:00
conrad%ingress.com
d9e8edcf29
Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski
2000-08-11 20:31:57 +00:00
jband%netscape.com
d94c7958e2
fix 46904. a=warren. Same change as on m17 branch
2000-07-29 01:52:59 +00:00
dmose%mozilla.org
4b5231a715
on some windows configurations, the build has been messed up for at least a couple of weeks because some microsoft header file defines 'interface', which conflicts with the member variable in xpt_struct.h. rename the member variable from interface to iface. workaround suggested by alecf@netscape.com. r=jband@netscape.com, a=waterson@mozilla.org
2000-07-28 04:03:50 +00:00
cls%seawood.org
1f3b6d75ab
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
jband%netscape.com
1a7630d560
Fix dogfood/crash bugs: 42750, 39858 and fix 43897 and improve JS/XPConnect error reporting to help with crasher 40792. r=mccabe@netscape.com.
2000-06-30 04:04:46 +00:00
dbaron%fas.harvard.edu
5695245ccb
Count various classes in leak/bloat logs. r=waterson@netscape.com
2000-06-15 02:18:32 +00:00
warren%netscape.com
512c8bf433
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
mccabe%netscape.com
7958962de4
Patch GetMethodInfoForName to not just return the first method found. Apparently, it never really worked.
...
Thanks to Mark G. Adams <madams@janna.com> for the patch.
r=mccabe
a=bruce (deputized)
2000-05-18 05:55:25 +00:00
dp%netscape.com
faaf62dfd6
Standalone xpcom.
2000-05-14 22:46:24 +00:00
cls%seawood.org
5be082e304
More OS/2 Makefile changes. Bug #34106 Batch 13
2000-05-11 14:15:34 +00:00
jband%netscape.com
9b9748680c
not part of build
2000-04-28 05:42:57 +00:00
dougt%netscape.com
74229b4903
if components directory does not include any xpt files, we should not fail
...
autoregistration. This caused the xpinstall stub installer to fail.
r=dveditz, a=leaf
2000-04-25 19:37:57 +00:00
jband%netscape.com
cb7218b7d7
Remove use of nsSpecialSystemDirectory. r=dougt
2000-04-25 05:01:05 +00:00
jband%netscape.com
9d875e83a6
a little safer
2000-04-22 19:21:18 +00:00
jband%netscape.com
d215f9d186
cleanup manifest line scanner - was reading one char beyond the end of the array
2000-04-22 19:13:39 +00:00
jband%netscape.com
18fcb10e12
fix bug 36805 - was leaking xptiInterfaceGuts by unconditionally overwriting a union
2000-04-22 06:30:46 +00:00
jband%netscape.com
3b2b23e4af
fix bug 36806 - leaking locks. Just plain sloppy!
2000-04-22 06:28:44 +00:00
jband%netscape.com
3cc2080a10
hey! someone changed the progid for the zip reader, updating my copy of the progid. xptiZipLoader.cpp
2000-04-22 04:11:33 +00:00
jband%netscape.com
5fdabe94b1
fix debug message
2000-04-22 01:07:39 +00:00
jband%netscape.com
ad9d41e522
trivial renaming of local var to fix compiler warning
2000-04-21 08:42:14 +00:00
jband%netscape.com
a4ca5b3475
fix bustage due to relative path include of removed (and otherwise unused) file
2000-04-21 01:12:19 +00:00
jband%netscape.com
d5ab77d656
removing unused files
2000-04-21 00:17:56 +00:00
dveditz%netscape.com
3ad6a9bd64
resurrecting VC 5 build (and other pedantic compilers)
2000-04-20 18:52:06 +00:00
jband%netscape.com
2964aea322
landing typelib loading improvements. bug 30753
2000-04-20 08:52:05 +00:00
jband%netscape.com
1f72633906
update comment - mostly just to verify that I can checkin from my Mac without bad things happening.
2000-04-20 04:50:06 +00:00
jband%netscape.com
a7f472e543
NOT PART OF BUILD. cvs is a fine place for the TODO list
2000-04-18 22:19:12 +00:00
jband%netscape.com
89115d7adc
NOT YET PART OF SEAMONKEY BUILD. added locking
2000-04-18 21:33:46 +00:00
jband%netscape.com
a5764bd971
NOT PART OF BUILD. Getting recent fixes to this stuff we aren't building yet safely into cvs
2000-04-14 23:06:39 +00:00
jband%netscape.com
f373a4c39a
NOT PART OF BUILD - removing this badly named and unused work around file
2000-04-14 23:01:11 +00:00
sspitzer%netscape.com
39f6943e30
fix spelling mistake. I'm so anal, it is scary.
2000-04-12 06:54:35 +00:00
cls%seawood.org
f6740baa20
Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
2000-04-04 04:46:38 +00:00
jband%netscape.com
ab61ae1c62
adding new file - not part of build
2000-03-28 05:10:05 +00:00
sfraser%netscape.com
466c068544
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
2000-03-22 02:43:48 +00:00
warren%netscape.com
c0497e31be
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
cls%seawood.org
192e307283
Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
...
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
cls%seawood.org
18d8f2f08c
Use EXPORT_XPT_API define when building libraries. Needed for mingw32.
2000-03-02 12:27:58 +00:00
jband%netscape.com
9059c3a2c7
more speedups for bug 28964. Check for .xpt at end of filename before checking to see if the thing is a file or dir because the name check is way faster than the isDir check - if the name check fails then we don't have to even do the isDir check. r=dp, a=jar
2000-02-27 21:43:04 +00:00
rpotts%netscape.com
282d92c915
bug #21556 . Made Addref/Release on nsInterfaceInfo threadsafe.
2000-02-27 05:29:58 +00:00
mccabe%netscape.com
6c37c5d9ad
Switch from using cached-and-refcounted nsIAllocator to linking directly to nsAllocator, as we're in the same DLL. Also turn some freecoded memcpy sequences into calls to nsAllocator::Clone
...
r=jband
2000-02-11 05:08:10 +00:00
jband%netscape.com
8ebdc7fd46
Fix to deal with arrays of interface pointers. r=mccabe
2000-01-13 05:54:40 +00:00
dp%netscape.com
aa23a77403
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-12-01 00:21:53 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
mccabe%netscape.com
c0c0c3eb35
Fix many nsInterfaceInfo leaks, thanks in part to patches provided by Patrick Beard. Fixes 15855. Some remain.
...
Clear up build warnings, and quiet nsInterfaceInfomanager debug output unless DEBUG_iim. Makes startup a li'l less noisy. Fixes 15628.
r=jband
1999-11-03 07:23:37 +00:00
mccabe%netscape.com
49f0952f48
Fix to 15813. Change to using nsFileSpec to read .xpt files; this is 2x faster on the Mac. Fix courtesy Simon Fraser.
...
r=sfraser, or r=mccabe, depending on how you look at it.
1999-10-09 02:07:35 +00:00
kipp%netscape.com
79afe35b3b
Button up some shutdown memory leaks
1999-09-30 21:43:35 +00:00
briano%netscape.com
99db328245
Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
1999-09-28 03:16:38 +00:00
jband%netscape.com
49b32adc11
round out the isDependent test and change an || to a switch
1999-09-20 07:30:04 +00:00
jband%netscape.com
04c77e4064
- 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
1999-09-20 02:50:28 +00:00
briano%netscape.com
04e901e2a5
General cleanup.
1999-09-18 02:12:56 +00:00
frankm%eng.sun.com
e1662d0d9e
- 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
slamm%netscape.com
ddb878d278
Fix build warnings.
1999-09-16 00:15:30 +00:00
cls%seawood.org
543e7a6f14
Renamed function arguments to avoid warnings about shadowing member variables
1999-09-12 12:08:56 +00:00
jband%netscape.com
a3a6462404
add arrays to xpidl and typelibs. got rid of vararg support scheme
1999-09-11 05:20:39 +00:00
shaver%netscape.com
6cecf4c569
convert to CreateInstanceFromProgID
1999-09-05 06:27:42 +00:00
jband%netscape.com
e4d792bba4
fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs
1999-09-02 00:01:08 +00:00
cyeh%netscape.com
9577b5cefa
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 00:54:34 +00:00
scc%netscape.com
68340a37ef
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
1999-08-23 10:14:16 +00:00
jband%netscape.com
d63d8a18c4
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
waterson%netscape.com
6ed0233553
Bug 11667. Fix unsigned/signed mismatch.
1999-08-12 08:49:44 +00:00
jband%netscape.com
c153f122e9
adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
1999-08-09 05:02:25 +00:00
mccabe%netscape.com
bf8f545b8e
Fix lxr-visible file description comments.
1999-08-07 09:45:12 +00:00
mccabe%netscape.com
923fe76ae3
Fixes for 'warning: unsigned value < 0 is always 0' warnings.
1999-08-07 09:32:45 +00:00
jband%netscape.com
d8830cee22
adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com>
1999-08-04 06:13:05 +00:00
sfraser%netscape.com
e45ae9e281
Change ResolveAlias to ResolveSymlink. dougt should have done this.
1999-07-27 23:05:53 +00:00
dougt%netscape.com
5adb63dcaf
Fix for bug 10177 and 10041.
1999-07-26 22:09:42 +00:00
mccabe%netscape.com
459c3adbcb
Warning fix.
1999-07-22 10:48:05 +00:00
jband%netscape.com
4c6c13185a
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
1999-07-17 03:10:31 +00:00
briano%netscape.com
eeca469d06
Workaround for platforms that don't have --whole-archive (or equivalents).
1999-07-14 22:58:39 +00:00
dveditz%netscape.com
0eb6c820cf
nakefile cleanups
1999-07-02 13:42:17 +00:00
dp%netscape.com
b46fdbf168
Removing old RegisterComponent calls as these are inbuilt into XPCOM
1999-07-02 03:50:44 +00:00
jband%netscape.com
e06dbc9ea9
doing my part for bug 8227
1999-06-29 21:15:31 +00:00
briano%netscape.com
8699ea0019
Handle the (Unix) platform-specific DLL naming conventions properly.
1999-06-04 22:17:30 +00:00
warren%netscape.com
cbbfa208f8
IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
1999-06-03 21:50:47 +00:00
waterson%netscape.com
b871cd51bb
Replace NS_IS_ERROR() with NS_FAILED(): NS_IS_ERROR() is buggy and redundant.
1999-06-03 20:25:15 +00:00
beard%netscape.com
ac136c368f
added prlog.h, prprf.h since since xpt_xdr.h no longer includes nspr headers.
1999-05-26 23:20:22 +00:00
dp%netscape.com
a54a346f39
reversing previous change 'cause I added the missing to xpcom/build/dlldeps.cpp
...
and things work.
1999-05-26 04:43:01 +00:00
dp%netscape.com
7c7fc290b3
I dont have a clue why I need this. If I dont add the xptinfo.lib
...
to the link line, I get a undefined for _XPTI_GetInterfaceInfoManager
Some windows dude should fix this.
1999-05-26 04:16:23 +00:00
dp%netscape.com
94344009c8
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
dp%netscape.com
1a52db2035
Rolling over from initial XPCOM 2.0 changes
1999-05-18 09:19:05 +00:00
mcafee%netscape.com
de36a26dbc
Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok.
1999-05-10 05:34:26 +00:00
waterson%netscape.com
393a1c1727
Don't set record->typelibRecord until we know that we're actually indexifying the typelib in which the interface lives.
1999-05-04 03:45:55 +00:00
waterson%netscape.com
cb6a6ca9b8
Use nsFileSpec and nsDirectoryIterator to make the implementation fully XP.
1999-04-27 17:49:14 +00:00
bruce%cybersight.com
4fdf80796d
Fix an array bounds write when writing to this->interfaceRecords[size] in the nsTypelibRecord constructor.
1999-04-27 04:06:33 +00:00
bruce%cybersight.com
d872a41e60
Fix build bustage for this.
1999-04-27 03:14:57 +00:00
waterson%netscape.com
265cb8db39
Whoops. Don't force linkage: build ordering problem.
1999-04-26 23:59:44 +00:00
waterson%netscape.com
c3bd0744bd
Add linker directives to ensure all the libs we need get loaded.
1999-04-26 23:30:59 +00:00
waterson%netscape.com
755eaf1c0f
Use nsSpecialSystemFileSpec on Unix to get components dir.
1999-04-26 23:30:40 +00:00
jband%netscape.com
cd509e21b0
ifdef'ing out a much more likely cause for the Mac bustage
1999-04-26 05:50:12 +00:00
jband%netscape.com
e50a30b40d
changing a member name in hopes that this has something to do with the Mac bustage. I can't see what else might be wrong. Pure voodoo!
1999-04-26 05:40:18 +00:00
jband%netscape.com
c176dc05a1
Make xptinfo fail more gracefully. Fix a couple of warnings. Get rid of XPTDIR env var hack for XP_PC (other platforms coming soon)
1999-04-26 04:23:29 +00:00
mccabe%netscape.com
ba4f36c065
Backed out my previous checkin.
...
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
ceb11bcb32
Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo.
1999-04-23 09:10:09 +00:00
beard%netscape.com
f8327c01f7
First Checked In.
1999-04-10 23:52:55 +00:00
jband%netscape.com
7b8c54ca32
making the overloaded assignment operator sig better match the usage in hopes that the ambiguous error on Sun will go away
1999-04-10 08:17:05 +00:00
jband%netscape.com
5b6af6f244
convert fprintf calls to TRACE macros so they can be more easily turned on and off
1999-04-10 06:11:55 +00:00
jband%netscape.com
fd8376fcba
added overloaded asingment operator to quiet pedantice warning
1999-04-10 06:09:54 +00:00
jband%netscape.com
52b186b884
Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
1999-04-06 22:42:10 +00:00
jband%netscape.com
01475d8a25
fixed typo so no extra .pdb files get left behind
1999-04-06 00:10:10 +00:00
jband%netscape.com
25cf140c82
prepare makefiles for building libxpt and xpidl before xpcom/public and xpcom/src. Fix warnings and errors in libxpt exposed in Mac port
1999-04-04 03:09:12 +00:00
beard%netscape.com
8004230b40
XP_MAC doesn't have <sys/stat.h>, <stat.h> instead.
1999-04-04 01:51:00 +00:00
briano%netscape.com
a0880a3146
Only descend into tests if ENABLE_TESTS is set.
1999-03-31 22:58:07 +00:00
jband%netscape.com
2f094e7206
add support for 'shared' flag in typelibs. This is available for use to indicate pointer type 'out' params which will not follow the xpcom rules of transfering ownership - i.e. they want to share a pointer rather than cloning the underlying data for the caller to delete when finished
1999-03-28 21:48:34 +00:00
jband%netscape.com
3bfd1f867e
removing export of removed file
1999-03-27 08:36:20 +00:00
mccabe%netscape.com
a4aefc434d
Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
...
modified uses...
1999-03-27 08:02:15 +00:00
jband%netscape.com
4d4fa94952
removing misplaced semi-colonsthat break some platforms
1999-03-27 01:53:40 +00:00
danm%netscape.com
9d90b52b72
removing glowcode. a:jband
1999-03-26 02:37:22 +00:00
mccabe%netscape.com
4d4e61a4dd
Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch.
1999-03-25 10:28:39 +00:00
jband%netscape.com
e0c20dd684
fix build bustage due to use of nscore.h before it is exported - I don't understand why this stuff is being compiled in the export phase. We can that later.
1999-03-25 09:05:28 +00:00
mccabe%netscape.com
0d46aaa627
Adding libxpt and xpconnect to the build.
1999-03-25 07:50:11 +00:00
warren%netscape.com
9ed31cf894
Added GetMethodInfoForName
1999-03-25 07:30:47 +00:00
jband%netscape.com
4b66e49f5a
initial checking of xptcall code. This module allows arbitrary invocation of xpcom methods and also allows an object to impersonate an object of an arbitrary xpcom class. This code is used for XPConnect and will also be used for a scriptable interface to RDF. The build scheme for libxpt, xptinfo, and xpconnect may be a bit screwy on some platforms until this settles down. Luckily, none of these modules are part of the client build yet and very few people should even notice the change
1999-03-23 02:23:29 +00:00
leaf%mozilla.org
4ad9f70d5d
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
mccabe%netscape.com
44463b458c
Another reworking of the loader -
...
- added a forward declaration of nsIInterfaceInfoManager to xptinfo.h
- reworked and cleaned up most aspects of the loader; typelib files now get associated typelib records, which have arrays of pointers to shared interface records; no hashtable lookup is necessary to resolve index pointers from params, etc to nsInterfaceInfo objects.
- moved to two hashtables in nsInterfaceInfoManager, mapping from name->interface record and iid->interface record. Still unclear if I handle the different-iid, same-name case correctly.
1999-03-15 05:50:11 +00:00
jband%netscape.com
95c5de89a9
made in params const, added some comments
1999-03-13 01:34:37 +00:00
mccabe%netscape.com
1f415231ec
Fixed a place where I was missing an NS_RELEASE, thanks jband.
1999-03-13 00:56:47 +00:00
mccabe%netscape.com
25ebe42e73
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
jband%netscape.com
41b9e6001a
get xptinfo building on Win32 again
1999-03-11 02:21:23 +00:00
mccabe%netscape.com
b625b6aa37
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
mccabe%netscape.com
1a1a2d5d23
Not yet part of the Monkey.
...
- Added magic comments to make the LXR browsing experience more pleasant.
- introduced the nsInterfaceRecord class (formerly less formally interface_record).
- changed the XPTInterfaceDirectoryEntry pointer in InterfaceInfoes into nsInterfaceRecord pointers, removing the need for a hash just to go from entries to records to support nsXPTParamInfo::GetInterface.
- made the destructor for InterfaceInfo objects remove null the pointer in the corresponding reference.
1999-03-10 09:30:48 +00:00
mccabe%netscape.com
c95fc2f4b8
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
mccabe%netscape.com
4f6e0a7c6e
Not part of seamonkey.
...
Fixed bustage due to improper use of DEBUG_somehacker.
1999-03-10 06:59:53 +00:00
jband%netscape.com
122488c723
making it compile on Win32
1999-03-10 06:36:03 +00:00
mccabe%netscape.com
5a43e6a2dd
Not part of seamonkey.
...
API change - changed nsXPTParamInfo from taking an InterfaceDirectoryEntry* (which really isn't part of the API I want to expose) to taking an nsIInterfaceInfo*, which is.
1999-03-10 06:06:19 +00:00
mccabe%netscape.com
a7a7b4f959
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
shaver%netscape.com
bf2718b64b
ignore generated files
1999-03-08 21:27:03 +00:00
jband%netscape.com
aae72939cf
makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
1999-03-02 07:59:53 +00:00
mccabe%netscape.com
8c24b0a7f5
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
mccabe%netscape.com
40181d78ce
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