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

2263 Коммитов

Автор SHA1 Сообщение Дата
gagan%netscape.com 1bbec91b6b Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
bienvenu%netscape.com 1a2472bcc8 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu%netscape.com d6dd860f3c attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com a1c6eb6459 Don't generate 'void' as a parameter in call portion of NS_FORWARD_NSIFOO macro. Whoops. 1999-08-22 11:18:21 +00:00
mccabe%netscape.com b601095f5d Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro. 1999-08-22 09:18:49 +00:00
mccabe%netscape.com 5746b51c9a Make a new XPIDL_WARNING macro to generalize the check against using IDL_tree_warning when compiled against libIDL 0.6.5. 1999-08-22 01:10:14 +00:00
scc%netscape.com f3c4fc5051 fixed ambiguous static cast in the NS_IMPL_QUERYINTERFACE2 case 1999-08-21 22:33:15 +00:00
jband%netscape.com 6c8672fc58 fix bustage due to ambiguity in use of static_cast 1999-08-21 22:03:39 +00:00
scc%netscape.com b4ce414c43 Bad merge left two copies of ...QUERYINTERFACE2. Sorry. 1999-08-21 20:39:59 +00:00
scc%netscape.com 2de2cc6d8a Added NS_IMPL_QUERY_INTERFACE[01]; fixed NS_IMPL_QUERY_INTERFACE2; added NS_IMPL_ISUPPORTS[01]; can't fix NS_IMPL_QUERY_INTERFACE without changing a ton of files, so I'm checking in this partial fix first. Then people can help me switch us away from NS_IMPL_ISUPPORTS and NS_IMPL_QUERY_INTERFACE. Both are now deprecated. 1999-08-21 20:22:35 +00:00
scc%netscape.com 9d8652d710 added license, fixed tabs 1999-08-21 20:07:27 +00:00
scc%netscape.com c092767679 added comments, fixed tabs 1999-08-21 20:06:52 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
mccabe%netscape.com 779d51d186 First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
dougt%netscape.com 6fdb4496ff first cut of a new file class. 1999-08-21 07:38:26 +00:00
dougt%netscape.com 6b767dab39 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com 61215a73a7 removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com 8cf9b81629 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
mccabe%netscape.com f55e794098 Generate NS_FORWARD_NSIFOO(_to) macro to facilitate declaring forwarding implementations for a given interface.
Fix bug where both GetFoo and SetFoo prototypes were generated into the NS_DECL_NSIFOO macro for readonly attributes.  Thanks go to jband for catching this.
1999-08-21 07:04:33 +00:00
dougt%netscape.com 8659e6f66c adding nsIAtom to build project 1999-08-21 07:00:51 +00:00
dougt%netscape.com 6a190b04ac First cut of an IDL for nsIAtom. This preserves most of the origanal C++
interface quirks.
1999-08-21 06:38:59 +00:00
dp%netscape.com 4f8136dd2b PlatformFind() changed to return nsDll * instead of FactoryEntry. This
is an internal api change.
1999-08-20 23:06:47 +00:00
jband%netscape.com 9575270f2d adding a comment referencing a bug number for why this was done the way it was 1999-08-20 22:45:30 +00:00
mccabe%netscape.com 806ac16a86 Fix problem with generating \ \n for getters and setters, and move generated NS_DECL_NSIFOO to below the interface.
Thanks to jband for catching this problem.
1999-08-20 09:08:40 +00:00
cls%seawood.org 0991be09fa 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.
1999-08-20 06:52:59 +00:00
jband%netscape.com ebb79eaa0a adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com 610ed8b92a Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
mgleeson1%netscape.com a802a5ded7 change for hpux porting 1999-08-19 21:17:31 +00:00
shaver%netscape.com f48a471044 don't use IDL_tree_warning on 0.6.5, it crashes sometimes.
r=alecf, a=mcafeee
1999-08-19 21:09:08 +00:00
mgleeson1%netscape.com 179ca27661 HP-UX additions 1999-08-19 20:36:06 +00:00
dp%netscape.com 8ff4b44481 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
mccabe%netscape.com e7e02f01c7 Changes to the xpidl compiler to support generating an 'NS_DECL_NSIFOO' macro when generating the nsIFoo interface, which provides a shorthand to declare all of the methods of that interface.
Also included are various architectural changes to support this, (which required descending the interface and method subtree of the IDL parse tree an extra time) including abstracting out the write_method_signature and write_attr_accessor methods so that they can be called both when generating the interface and when generating the macro.

Purged passing the single TreeState parameter from several leaf functions, and broke it out into parameters foo_tree and output file.  This saved a lot of tree->state twiddling when calling tree-descent functions.

This checkin will cause depend builds to rebuild most of the tree, so be patient...
1999-08-19 13:02:08 +00:00
jband%netscape.com 3854fff49d 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
tbogard%aol.net c8c8eea4c0 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
tbogard%aol.net 968e8cf4a5 XPCOM Cleanup: Added macros to make checking arguments and state upon entering interface boundaries easier. 1999-08-19 05:32:15 +00:00
leaf%mozilla.org 5e30086b55 Backing out dougt 1999-08-19 02:34:33 +00:00
mang%subcarrier.org 1217e35037 Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00
dougt%netscape.com 07dc620ff9 Removing ProxyType so that I can do masking
Added new proxy type so that we bypass the Current Thread check.
1999-08-18 09:21:47 +00:00
waterson%netscape.com b76b94a281 Add TestStackCrawl, which is currently broken :-(. 1999-08-18 04:53:51 +00:00
dp%netscape.com 8943ef6722 XPCOM Brownbag 1 1999-08-18 02:17:28 +00:00
dougt%netscape.com 7aa075083f Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
verify.
1999-08-18 02:17:21 +00:00
jband%netscape.com dbc05e0eaa reserving NS_ERROR_MODULE_XPCONNECT 1999-08-18 02:08:26 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com d8761c4de1 Make it look prettier. 1999-08-17 16:24:46 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
dp%netscape.com 889759b581 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
briano%netscape.com 13486f087a Now it will handle the obscure case where sprintf returns a string instead of an int. Reviewed by mccabe and jband. Approved by chofmann. 1999-08-14 03:11:10 +00:00
sfraser%netscape.com b25977cb8b Part of fix for 11790, crash on quit. Don't try to delete static data. r dp, a chofmann 1999-08-13 23:26:47 +00:00
scc%netscape.com 944678da9d renamed to QueryReferent, do_QueryReferent, etc. 1999-08-13 23:00:58 +00:00
dp%netscape.com 153c3a6d49 - using ComponentManager instead of service manager in nsIModule
- Adding UnregisterComponentSpec()
All the above are required for xpcom review.
1999-08-13 19:30:13 +00:00
dp%netscape.com 793f8e02bd Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
warren%netscape.com 02691853e5 Reduced max page count. 1999-08-13 03:31:56 +00:00
warren%netscape.com 0357d0e958 Fix for bug 10797: Messenger hang. 2 problems: mac shouldn't be using page manager -- doesn't do vm, and trying to flush when the buffer is empty ends up spinning. 1999-08-13 00:46:16 +00:00
waterson%netscape.com 8b2cc3fbdc Bug 11667. Fix unsigned/signed mismatch. 1999-08-12 08:49:44 +00:00
beard%netscape.com 0ceb9f4881 added nsPipe2.cpp, nsSegmentedBuffer.cpp. 1999-08-12 00:12:37 +00:00
beard%netscape.com 0d760e6c86 added NS_NewPipe* exports for nsPipe.cpp & nsPipe2.cpp 1999-08-12 00:11:54 +00:00
danm%netscape.com 4b3daedbe5 fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com 322d910c5a Removed useless nsIServiceManager.h 1999-08-11 08:13:52 +00:00
warren%netscape.com 63a541d49e Added more logging code. 1999-08-11 08:13:07 +00:00
danm%netscape.com 471dc93288 synch declaration of NS_GetWeakReference with its implementation 1999-08-11 06:14:05 +00:00
cls%seawood.org 48332341cd More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
shaver%netscape.com d4e1855665 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com 4042d3a6f6 Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
scc%netscape.com ea68100320 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com a38d83701e Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dp%netscape.com 95b69a3611 Logging error from canunload 1999-08-10 23:06:33 +00:00
dougt%netscape.com 1f154a72f4 Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
dougt%netscape.com f962a16511 Fix for bug 10838. 1999-08-10 22:53:02 +00:00
frankm%eng.sun.com 2a4acf1b3b Add nsID constant to IDL-generated Java interface 1999-08-10 21:10:06 +00:00
warren%netscape.com bc45ad76c9 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com 2dde613bf0 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com 4e5c4a64eb Added GetGlobalAllocator. 1999-08-10 19:54:17 +00:00
warren%netscape.com aadb711b2c More extensive tests for pipes. Now we test for read returning when there's data but the buffer isn't yet full. Also testing new pipe implementation. 1999-08-10 19:27:05 +00:00
warren%netscape.com e50aa72a0f Added new pipe implementation. 1999-08-10 19:25:27 +00:00
warren%netscape.com 6dd8807c5f Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com 7e2cecfcc6 Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com 2fb04397c8 Made Read return as soon as it's got something, rather than waiting until the buffer is full. 1999-08-10 19:13:48 +00:00
dougt%netscape.com 4582d26d09 Commenting why I am using direct error codes rather than the module base with
and offset.
1999-08-10 18:19:57 +00:00
mccabe%netscape.com d6e7410f31 Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
shaver%netscape.com 1b9b03a295 stop tripping myself up 1999-08-10 06:47:38 +00:00
jband%netscape.com 3ca29de1ee updating status page 1999-08-10 06:30:34 +00:00
rogerl%netscape.com 4ef6eb6906 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.
1999-08-09 21:07:57 +00:00
mccabe%netscape.com a3dc02805b Change a mispatched | to a !. Thanks to Anton Blanchard <anton@progsoc.uts.edu.au>. 1999-08-09 12:37:24 +00:00
mccabe%netscape.com 961500de8e Fix to 11451.
Stop coredump on bad argument name in [iid_is(bogus)]; add != NULL safety check to loop.
1999-08-09 09:34:22 +00:00
dp%netscape.com c0dea43629 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com 3f75ebc9ff adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
dp%netscape.com e0799f7257 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com d92799422f Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com 2c568a0cd6 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com 40ff09f510 Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com 8b0952aee5 added files: mozilla/xpcom/components/nsIModule.idl 1999-08-08 21:57:09 +00:00
dp%netscape.com 1911b3be38 Adding new interface for Module access. This will replace entry points like
NSRegisterSelf() etc.. in the Module dlls.
1999-08-08 21:54:43 +00:00
morse%netscape.com e64235c412 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com ce08f4eea5 adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us 1999-08-08 19:34:31 +00:00
jband%netscape.com dc563842ea adding missing initializer for member 1999-08-08 03:37:03 +00:00
alecf%netscape.com 0cce3d24a3 fix constructor warning 1999-08-07 20:06:38 +00:00
rjc%netscape.com 158163c078 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
mccabe%netscape.com c3567729e0 Fix lxr-visible file description comments. 1999-08-07 09:45:12 +00:00
mccabe%netscape.com e5300a345a Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
cls%seawood.org 9eea17be39 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.
1999-08-07 06:01:31 +00:00
dveditz%netscape.com 0bb7417a68 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
rjc%netscape.com 40870414c8 On Mac, check a file's type (skip the creator, so that 3rd party shared libraries can be noticed) to see if its a shared library. 1999-08-06 23:06:07 +00:00
tao%netscape.com 5284e6851e Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.
1999-08-06 20:24:02 +00:00
mccabe%netscape.com 5264239545 Made use of ... varargs result in failure, as we don't currently seem
to support it.
1999-08-06 10:25:16 +00:00
jband%netscape.com 5a54ef9f38 changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS 1999-08-06 09:42:12 +00:00
jband%netscape.com 2a76ddde40 fix xpidl compiler failure when a block of 'raw' stuff straddles a buffer block boundary 1999-08-06 07:57:53 +00:00
sspitzer%netscape.com cbcb2ce098 fix warnings 1999-08-05 19:47:10 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
briano%netscape.com 6980bacec1 Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com 7ee699bbcf Rearranged things a bit and reworked some of the ifdefs to (hopefully) make the whole thing a bit more efficient. 1999-08-05 01:32:48 +00:00
rogerl%netscape.com 1eb9c2aa52 New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.
1999-08-04 20:50:01 +00:00
rogerl%netscape.com d9d532ff9a Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
dp%netscape.com 2a61eca94a Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
jband%netscape.com f9fca51347 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com 5236d2999c adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation 1999-08-04 07:08:58 +00:00
dp%netscape.com 0a9a225986 adding changes suggested by brendan 1999-08-04 07:07:37 +00:00
jband%netscape.com 82c1b58275 added files: mozilla/xpcom/ds/nsISupportsPrimitives.idl 1999-08-04 07:02:54 +00:00
jband%netscape.com 8f5b0667c5 added files: mozilla/xpcom/ds/nsSupportsPrimitives.cpp 1999-08-04 07:01:10 +00:00
jband%netscape.com 70d09b9aad adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com 0387cd7850 adding PRUnichar as a type we can talk about in idl 1999-08-04 06:53:48 +00:00
brendan%mozilla.org e8edbc13d5 Shaver and I are @mozilla.org. 1999-08-04 06:24:33 +00:00
jband%netscape.com acdcdf2c30 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
jband%netscape.com e7394effc7 make sure that NS_NewHashtableEnumerator gets exported - yes I'm guilty for adding another global entry point 1999-08-04 06:05:29 +00:00
jband%netscape.com be825b5d4b added files: mozilla/xpcom/ds/nsHashtableEnumerator.cpp 1999-08-04 02:28:03 +00:00
jband%netscape.com a9d20725ec Adding nsHashtableEnumerator from Rob Ginda, rginda@ix.netcom.com. This is used to create an nsIEnumerator object from a hashtable. When some object has a hashtable as an implementation detail it can use this to expose the data in the table as an enumeration. This is used by the soon-to-be-checkedin systems for enumerating interface and class ids that will be reflected into JavaScript. 1999-08-04 02:24:34 +00:00
tbogard%aol.net 72ca4658da First check-in of XP Event Loop Interfaces. --This is not connected to the build--. 1999-08-03 23:57:18 +00:00
vidur%netscape.com 41882c9270 Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
troy%netscape.com 77457a51a0 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
briano%netscape.com f1ffca414c Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
jfrancis%netscape.com afe43490ca uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp 1999-08-03 12:42:19 +00:00
scc%netscape.com 1f0ab10430 experiment: I don't think it like the forward declaration 1999-08-03 10:44:12 +00:00
scc%netscape.com fffe08a5ec well, now it needs to include nsCOMPtr, since the header doesn't anymore 1999-08-03 08:34:17 +00:00
scc%netscape.com ec8316be78 First Checked In. 1999-08-03 08:30:05 +00:00
scc%netscape.com e4d1a4321f Moved the typedef to its own file: "nsWeakPtr.h". This avoids the circular includes problem and lets people #include just "nsWeakPtr.h" when they want an |nsWeakPtr|. 1999-08-03 08:15:31 +00:00
scc%netscape.com b5ee2a318a OK, now only nsCOMPtr.h includes nsIWeakReference, and not the other way around. I'll probably have to make a header file just to contain the one-line typedef I moved. 1999-08-03 08:10:08 +00:00
scc%netscape.com eaeff321cf Well, not everybody could do it just from the forward declared class. Yes, nsCOMPtr.h and nsIWeakReference.h include eachother, but it works anyway (they test for already being included). 1999-08-03 07:44:53 +00:00
scc%netscape.com dfa83459be Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes. 1999-08-03 07:21:39 +00:00
scc%netscape.com af5ba49b94 Added nsWeakReference.h, .cpp in the appropriate places 1999-08-03 07:20:37 +00:00
scc%netscape.com 0fbdb1874a Added "nsWeakReference.cpp" 1999-08-03 07:17:26 +00:00
scc%netscape.com 3b6747cc0a getting ready to build 1999-08-03 04:59:47 +00:00
pinkerton%netscape.com a595b44378 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
scc%netscape.com 3495a2113a Add nsIWeakReference.idl 1999-08-03 03:48:58 +00:00
scc%netscape.com c996de5e16 Added nsIWeakReference.idl 1999-08-03 03:48:04 +00:00
scc%netscape.com 7099e1336a First Checked In. 1999-08-03 03:41:27 +00:00
dp%netscape.com 2bd01df1c4 - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.
1999-08-03 00:53:55 +00:00
dp%netscape.com 4b555e2372 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 16a59c22db Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com b5b13c4f48 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
mccabe%netscape.com bec8580cb5 Further warning enhancements engendered by 10693.
- Added xpidl_sprint_iid method for printing an nsID to a string.

- Removed "this is a gross hack" code for parsing and printing iids, and replaced with calls to xpidl_sprint_iid

- Made write_classname_iid_define() void, and removed cluttering tests against its failure.

- Cleaned up.
1999-08-02 11:19:30 +00:00
mccabe%netscape.com 8c92e507dd Improved abstraction of uuid parsing; uuid parsing function now no longer understands "" to mean 'the uuid consisting of only 0s.' Also broke the function out into xpidl_idl.c (where utility functions live) towards reusing it in xpidl_headers as well.
Removed outdated reference to (resolved) bug 5872.
1999-08-02 09:46:57 +00:00
mccabe%netscape.com 32c7b823a8 Fix to 10693. Error on malformed uuid (currently we just check for a uuid of the wrong length) rather than failing silently. 1999-08-02 09:35:28 +00:00
dp%netscape.com 360e8cfe27 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
briano%netscape.com ff69b9b5fa Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
dougt%netscape.com a731c6e7b4 Changing nonscriptable to noscript. 1999-07-31 17:37:29 +00:00
dougt%netscape.com 0ef5bbced1 Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
mang%subcarrier.org e5fbf730c1 Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
dp%netscape.com e20bfe9359 - Added internal UnloadLibraries() that can take a NULL service
manager too for nsXPComShutdown()'s sake
1999-07-31 05:55:26 +00:00
dp%netscape.com 74581714e5 - Fixing ComponentManager destruction
- CLSIDToProdID() fixed to use the correct subtree in registry
- ProgID() enumneration on startup enabled
- Added internal UnloadLibraries() that can take a NULL service
  manager too for nsXPComShutdown()'s sake
- Setting autoreg DirectoryIterator not to resolve symbolic links
1999-07-31 05:55:04 +00:00
dp%netscape.com ef2588f29f Getting nsHashtable and nsObjectHashtable Reset()s working together. 1999-07-31 05:50:13 +00:00
dp%netscape.com 18c2f1d9a6 Adding nsHashtable::Reset(). Changing nsObjectHashtable destructor to use Reset instead of enumerate. This will cause hash entires to be removed from the hash table as values in the hash table are released. 1999-07-31 05:41:54 +00:00
dp%netscape.com 64e5e2d348 Using nsCRT instead of PL_str*() 1999-07-31 00:28:51 +00:00
jband%netscape.com 1d04b3c73c fix this macro that no one is using so that I can use it in my factory in xpconnect 1999-07-31 00:14:55 +00:00
dp%netscape.com fc6866431d Removed ASSERTION. Added comments for shutdown. 1999-07-31 00:07:31 +00:00
duncan%be.com ff731855d1 Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!
1999-07-30 12:03:25 +00:00
warren%netscape.com 1215da1e30 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
rickg%netscape.com 135409072a fixed compaction error 1999-07-30 02:22:37 +00:00
sspitzer%netscape.com 859fd92e85 make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
dougt%netscape.com ae85056ed9 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.
1999-07-29 14:24:47 +00:00
sspitzer%netscape.com 1d299b52b0 other half of fix for #10697. directory iterators work again. r=blizzard. a=leaf. 1999-07-29 04:59:13 +00:00
mscott%netscape.com b16c24f10d include config.mak 1999-07-29 04:51:00 +00:00
sspitzer%netscape.com 47eb34bb8d fix for #10697. ResolveSymlink() messes with mCurrent, so we need to restore it. Also, make ResolveSymlink() return an absolute file, instead of a relative one. 1999-07-29 04:31:04 +00:00
mscott%netscape.com e0ae901872 fix build breakage by adding NECKO to link lines. 1999-07-29 03:20:47 +00:00
mscott%netscape.com 994f9f3f0d fix build breakage...include config.mak 1999-07-29 03:17:36 +00:00
briano%netscape.com ea37bbc00a Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
harishd%netscape.com c1d4c36bb7 Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
blizzard%redhat.com cbfe27c7cb work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
dp%netscape.com 5af4dde495 Component Loaders 1999-07-28 20:22:49 +00:00
warren%netscape.com 28be3c9bc4 Added ability to instantiate a component to test it for leaks. 1999-07-28 08:28:10 +00:00
warren%netscape.com 119a2cefeb Fully initialized arena so that it won't fail in destructor without first calling Init. 1999-07-28 08:27:38 +00:00
warren%netscape.com b2e94aeec5 Added TestShutdown to detect memory leaks in xpcom. 1999-07-28 08:01:55 +00:00
warren%netscape.com 44ede8a7bc Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
warren%netscape.com 4212287ebf Added NS_ShutdownXPCOM for memory cleanup. 1999-07-28 07:57:39 +00:00
warren%netscape.com f079935296 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +00:00
mang%subcarrier.org ee203ff96f mang's lies added to rginda's supa-phatt comments 1999-07-28 04:05:15 +00:00
mang%subcarrier.org 9cabd2f1f4 Comments and documentation contributed by rginda@ndcico.com 1999-07-27 23:46:47 +00:00
sspitzer%netscape.com e2dd59c128 change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac! 1999-07-27 23:33:54 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
sfraser%netscape.com 5e4da3ca9e Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
briano%netscape.com 87c88264a5 Temporarily avoid the NECKO-related tests on BSD/OS since I can't get them to link. 1999-07-27 22:17:29 +00:00
duncan%be.com 76a7b45779 Cut down on the number of warnings in the BeOS build, HAVE_CPP_NEW_CASTS
is also defined in config-defs.h, like on XP_UNIX.
mcafee@netscape.com checked.
1999-07-27 21:22:56 +00:00
mscott%netscape.com fbb2f93a77 Fix unitialized memory read. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com> for making the purify log that I
found this in.
1999-07-27 02:22:26 +00:00
dveditz%netscape.com 5c1ff9d297 fixes VC5 link bustage, but I feel dirty 1999-07-27 00:57:50 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
rickg%netscape.com da2aeda53f odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com 048f765557 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
rickg%netscape.com e96cca5f68 narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com d203577fd7 removed old debug code 1999-07-25 17:18:41 +00:00
valeski%netscape.com cd09f25002 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00