Граф коммитов

228 Коммитов

Автор SHA1 Сообщение Дата
jband%netscape.com cfecd64ca5 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. 2002-02-03 00:56:16 +00:00
jband%netscape.com 0e1389b8f2 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan 2002-01-30 02:36:20 +00:00
jband%netscape.com 8c8b5a2595 fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
jband%netscape.com 3aae546197 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 2002-01-10 23:49:47 +00:00
seawood%netscape.com 87cae106c8 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
mkaply%us.ibm.com 70dd482038 PR_FALSE NOT false 2001-12-08 11:01:12 +00:00
mkaply%us.ibm.com 4226ecdb6e PR_FALSE NOT false 2001-12-08 04:05:58 +00:00
sfraser%netscape.com ab4fbaa51a 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 2001-12-07 23:52:52 +00:00
waterson%netscape.com e6f0710871 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 2001-11-29 23:50:56 +00:00
jband%netscape.com cda2c04234 fix bug 100187. This is Vidur's patch to expose the interfaceinfomanager as a service accessible via the service manager. r=dbradley sr=jband 2001-11-26 22:31:39 +00:00
timeless%mac.com 7873addd19 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jband%netscape.com ccd0967506 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. 2001-11-16 02:14:59 +00:00
sfraser%netscape.com f97068fa67 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 2001-11-14 01:14:08 +00:00
jband%netscape.com bcdff78ce9 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 261f76a8ba 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 68755c9237 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 5022012045 file had no newline at EOF. rs=jband 2001-11-01 04:42:19 +00:00
pete%alphanumerica.com 41da234dd2 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
jband%netscape.com c9996bbdf9 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 fcfa1d2581 fix Mac installer crash. bug 105437. r/sr=sfraser 2001-10-19 00:15:43 +00:00
jband%netscape.com 9d3301b4b6 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 fd11dc731f 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 f385eb981a 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 e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 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 cf9912aa80 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 68824c3a8d dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dbradley%netscape.com 610d3f8976 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 f65c767018 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 80f526179f 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 289637f85c 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 621060c4fd 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 c06c69763c Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org 25c6dc1c7e 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 7a97a55d82 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 6bf9fd8163 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan 2001-01-26 02:32:18 +00:00
jband%netscape.com b7c28460cd 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 8bd122b3d5 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 4189314fdb 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 6e35f97e31 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 387af722ce 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 6cc70ebd6c 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 a2b34993e9 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 d64ad03515 changed comment to show why compiler warning will not be fixed 2000-08-29 08:55:28 +00:00
beard%netscape.com f2b4c577f8 use QueryElementAt() to save space and time. r=jband 2000-08-24 04:08:07 +00:00
jband%netscape.com 794e8c6c64 fix bustage after nsIBaseStream removal 2000-08-22 09:28:52 +00:00
mccabe%netscape.com e3c7fed2de 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 826c50d8e7 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 008b9ba5fb 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 9fd93d8476 fix 46904. a=warren. Same change as on m17 branch 2000-07-29 01:52:59 +00:00
dmose%mozilla.org 1185ecd2ac 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 e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
jband%netscape.com 9ec0b005fc 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 ce0a7feae1 Count various classes in leak/bloat logs. r=waterson@netscape.com 2000-06-15 02:18:32 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mccabe%netscape.com ac29d121f0 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 7d031aa4f9 Standalone xpcom. 2000-05-14 22:46:24 +00:00
cls%seawood.org fec728bf12 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
jband%netscape.com 479e473d4d not part of build 2000-04-28 05:42:57 +00:00
dougt%netscape.com 7cb21a33be 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 a2827c5018 Remove use of nsSpecialSystemDirectory. r=dougt 2000-04-25 05:01:05 +00:00
jband%netscape.com 2d23299249 a little safer 2000-04-22 19:21:18 +00:00
jband%netscape.com 80765be861 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 45fe5dd669 fix bug 36805 - was leaking xptiInterfaceGuts by unconditionally overwriting a union 2000-04-22 06:30:46 +00:00
jband%netscape.com a43b0cce27 fix bug 36806 - leaking locks. Just plain sloppy! 2000-04-22 06:28:44 +00:00
jband%netscape.com 3aed823910 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 6aae3cf41f fix debug message 2000-04-22 01:07:39 +00:00
jband%netscape.com 43af13977d trivial renaming of local var to fix compiler warning 2000-04-21 08:42:14 +00:00
jband%netscape.com 983ab29f39 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:12:19 +00:00
jband%netscape.com 9248badb25 removing unused files 2000-04-21 00:17:56 +00:00
dveditz%netscape.com 8ba478a993 resurrecting VC 5 build (and other pedantic compilers) 2000-04-20 18:52:06 +00:00
jband%netscape.com f9a733be1f landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
jband%netscape.com 208ce8c320 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 eb124bcc4b NOT PART OF BUILD. cvs is a fine place for the TODO list 2000-04-18 22:19:12 +00:00
jband%netscape.com e6a64cb2a6 NOT YET PART OF SEAMONKEY BUILD. added locking 2000-04-18 21:33:46 +00:00
jband%netscape.com c25668ec9b 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 decc15a9a3 NOT PART OF BUILD - removing this badly named and unused work around file 2000-04-14 23:01:11 +00:00
sspitzer%netscape.com 1c77b5bbb6 fix spelling mistake. I'm so anal, it is scary. 2000-04-12 06:54:35 +00:00
cls%seawood.org 57978e5c23 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 c3cdeca13d adding new file - not part of build 2000-03-28 05:10:05 +00:00
sfraser%netscape.com 449d00bd3c 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 7e37f4f478 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 aeb63a9a96 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 a58c776228 Use EXPORT_XPT_API define when building libraries. Needed for mingw32. 2000-03-02 12:27:58 +00:00
jband%netscape.com 1aa6fe7445 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 7a76ddd5a8 bug #21556. Made Addref/Release on nsInterfaceInfo threadsafe. 2000-02-27 05:29:58 +00:00
mccabe%netscape.com 33476298b9 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 f195ece4f9 Fix to deal with arrays of interface pointers. r=mccabe 2000-01-13 05:54:40 +00:00
dp%netscape.com 10aaba597e 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 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dmose%mozilla.org 8535dda53e 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 f8ee12e046 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 5e4a3d1fa7 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 1136a6cf58 Button up some shutdown memory leaks 1999-09-30 21:43:35 +00:00
briano%netscape.com b7f190a47d 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 ba34c29f9d round out the isDependent test and change an || to a switch 1999-09-20 07:30:04 +00:00
jband%netscape.com f3272a9547 - 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 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
frankm%eng.sun.com 8c0585d7db - 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