180 Commits

Author SHA1 Message Date
nisheeth%netscape.com
c01441892a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin.
git-svn-id: svn://10.0.0.236/trunk@115344 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:41:42 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
bryner%netscape.com
632ac8da85 Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@113571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 07:05:10 +00:00
jband%netscape.com
5518ba6525 Add support for chaining 'additional managers' to the global interface info manager. This includes weakref support. This system allows us to dynamically aggregate interface info managers to support systems like SOAP. Clients of the interface info manager can traverse that list of additonal managers (if any are present) or ignore it. This fixes bug 103805. r=dbradley sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@113546 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:56:16 +00:00
jband%netscape.com
07ee695610 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113179 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:36:20 +00:00
jband%netscape.com
d024232d2d fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@112081 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:02:14 +00:00
jband%netscape.com
c3ba209a21 Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@111887 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:49:47 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
mkaply%us.ibm.com
9990130236 PR_FALSE NOT false
git-svn-id: svn://10.0.0.236/trunk@110079 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 11:01:12 +00:00
mkaply%us.ibm.com
2736fa8c17 PR_FALSE NOT false
git-svn-id: svn://10.0.0.236/trunk@110071 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 04:05:58 +00:00
sfraser%netscape.com
5e6a880abd Fix bug 113714 -- optimized mac builds would sporadically autoregister XPT files on startup, because doing a string compare of persistent descriptor strings is not a valid way to compare them (Mac aliases to the same file can differ). r=ccarlen, sr=jband
git-svn-id: svn://10.0.0.236/trunk@110044 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:52:52 +00:00
waterson%netscape.com
a6396f40ca Bug 11079. xptinfo shouldn't be an EXPORT_LIBRARY, or else it will end up both in the statically linked exectuable _and_ libxpcom.so. r=cls
git-svn-id: svn://10.0.0.236/trunk@109274 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:50:56 +00:00
jband%netscape.com
b9450f6730 fix bug 100187. This is Vidur's patch to expose the interfaceinfomanager as a service accessible via the service manager. r=dbradley sr=jband
git-svn-id: svn://10.0.0.236/trunk@108926 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 22:31:39 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jband%netscape.com
4ef39dc620 fix bug 109893. If we fail to open a zip/jar for reading then just log that fact and continue on rather than failing. r=valeski sr=jst.
git-svn-id: svn://10.0.0.236/trunk@108237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:14:59 +00:00
sfraser%netscape.com
2f9cc4b128 Fix for blocker bug 109893. Comment out line that adds the plugins folder to the XPT search paths, to avoid errors when trying to look in MRJPlugin.jar for .xpt files on Mac. r=jband/a=sleestack
git-svn-id: svn://10.0.0.236/trunk@107977 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:14:08 +00:00
jband%netscape.com
aa380de8e9 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.
git-svn-id: svn://10.0.0.236/trunk@107895 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 19:01:00 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
jband%netscape.com
81edd25932 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
git-svn-id: svn://10.0.0.236/trunk@107064 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 04:40:13 +00:00
jband%netscape.com
e65e0f6378 file had no newline at EOF. rs=jband
git-svn-id: svn://10.0.0.236/trunk@106921 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 04:42:19 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
jband%netscape.com
f5d51737eb 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.
git-svn-id: svn://10.0.0.236/trunk@106340 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 07:15:56 +00:00
jband%netscape.com
dc2c9d5087 fix Mac installer crash. bug 105437. r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105724 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:15:43 +00:00
jband%netscape.com
f40de0e3d3 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
git-svn-id: svn://10.0.0.236/trunk@105685 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:55:38 +00:00
jband%netscape.com
77718ac1ef 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.
git-svn-id: svn://10.0.0.236/trunk@105661 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 04:23:25 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
alecf%netscape.com
1a422e5b81 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@102380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:56:35 +00:00
dbradley%netscape.com
1582213550 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband
git-svn-id: svn://10.0.0.236/trunk@101499 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 12:29:34 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
jband%netscape.com
0abd022da3 PRBool values should be members of the set {0,1}. r=sfraser sr=jst. see bug 80722
git-svn-id: svn://10.0.0.236/trunk@95018 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 19:09:33 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
jband%netscape.com
d15f323b49 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85546 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:32:18 +00:00
jband%netscape.com
730c857866 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
git-svn-id: svn://10.0.0.236/trunk@83116 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 06:55:40 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jband%netscape.com
0d1da1648f 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
git-svn-id: svn://10.0.0.236/trunk@79544 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:42:47 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jband%netscape.com
513373eb6a 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
git-svn-id: svn://10.0.0.236/trunk@77760 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 09:48:39 +00:00
jband%netscape.com
b0d66e0947 changed comment to show why compiler warning will not be fixed
git-svn-id: svn://10.0.0.236/trunk@77470 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:55:28 +00:00
beard%netscape.com
3d489df1c8 use QueryElementAt() to save space and time. r=jband
git-svn-id: svn://10.0.0.236/trunk@77045 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:08:07 +00:00
jband%netscape.com
2c20d53d8c fix bustage after nsIBaseStream removal
git-svn-id: svn://10.0.0.236/trunk@76883 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:28:52 +00:00