Commit Graph

2155 Commits

Author SHA1 Message Date
danm%netscape.com
bd95ca26db fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com
c9e56a6673 Removed useless nsIServiceManager.h 1999-08-11 08:13:52 +00:00
warren%netscape.com
02dc3a6a93 Added more logging code. 1999-08-11 08:13:07 +00:00
danm%netscape.com
ca50a5658b synch declaration of NS_GetWeakReference with its implementation 1999-08-11 06:14:05 +00:00
cls%seawood.org
ce48612218 More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
shaver%netscape.com
38f90b75e4 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com
2af3f14ead Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
scc%netscape.com
d8c88a29c9 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com
d82a873519 Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dp%netscape.com
3370809f6a Logging error from canunload 1999-08-10 23:06:33 +00:00
dougt%netscape.com
a85217672a Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
dougt%netscape.com
980adec33f Fix for bug 10838. 1999-08-10 22:53:02 +00:00
frankm%eng.sun.com
31aad87217 Add nsID constant to IDL-generated Java interface 1999-08-10 21:10:06 +00:00
warren%netscape.com
563d8e59a5 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com
9af30238a1 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com
0d2bbb1e6a Added GetGlobalAllocator. 1999-08-10 19:54:17 +00:00
warren%netscape.com
e5ce287362 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
1291f48b62 Added new pipe implementation. 1999-08-10 19:25:27 +00:00
warren%netscape.com
d843a8f952 Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com
a56c79fa7d Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com
8f99a6da43 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
9951f9c0ca 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
2a403483de 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
70082a6469 stop tripping myself up 1999-08-10 06:47:38 +00:00
jband%netscape.com
a4e5d1f7cf updating status page 1999-08-10 06:30:34 +00:00
rogerl%netscape.com
16febf486b 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
2ad4814518 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
c05b826555 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
89a8cf7fd3 dummy 1999-08-09 05:40:51 +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
dp%netscape.com
03345897e4 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com
45f122e177 Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com
01767f42a8 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com
eafe93ca1f Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com
cefde4f516 added files: mozilla/xpcom/components/nsIModule.idl 1999-08-08 21:57:09 +00:00
dp%netscape.com
fd465dc33e 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
389af52bf1 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com
fc03d7e008 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
20f2eccf21 adding missing initializer for member 1999-08-08 03:37:03 +00:00
alecf%netscape.com
27b6432552 fix constructor warning 1999-08-07 20:06:38 +00:00
rjc%netscape.com
0b9f7ca8a1 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +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
cls%seawood.org
3f1dcd11dc 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
004e21bbe1 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
rjc%netscape.com
014212dbee 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
5cce3b6948 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
761823a1f3 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
7de4e04eed 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
e3426f29f5 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
0fc6c99e2d fix warnings 1999-08-05 19:47:10 +00:00
dp%netscape.com
3ef823214e Fixed typo. 1999-08-05 12:58:04 +00:00
briano%netscape.com
7741ff3cfd Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com
30737d6cd2 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
5c073ab917 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
486dff05ff Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
dp%netscape.com
7e2f23ac4e Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
jband%netscape.com
d7a6bea3c2 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com
0b4a14015d 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
710fdbd02e adding changes suggested by brendan 1999-08-04 07:07:37 +00:00
jband%netscape.com
221ded4589 added files: mozilla/xpcom/ds/nsISupportsPrimitives.idl 1999-08-04 07:02:54 +00:00
jband%netscape.com
522a0fee69 added files: mozilla/xpcom/ds/nsSupportsPrimitives.cpp 1999-08-04 07:01:10 +00:00
jband%netscape.com
589e60fed8 adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com
95cfebf717 adding PRUnichar as a type we can talk about in idl 1999-08-04 06:53:48 +00:00
brendan%mozilla.org
455b45a12b Shaver and I are @mozilla.org. 1999-08-04 06:24:33 +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
jband%netscape.com
63a28cec83 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
8595e46ea8 added files: mozilla/xpcom/ds/nsHashtableEnumerator.cpp 1999-08-04 02:28:03 +00:00
jband%netscape.com
018b98b1b3 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
62e9ec43a0 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
11dd31636f Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
troy%netscape.com
1a2cee6cc1 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
briano%netscape.com
e2cc541f86 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
79d5c5f26d 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
2e0d0f92ea experiment: I don't think it like the forward declaration 1999-08-03 10:44:12 +00:00
scc%netscape.com
f311d065ca well, now it needs to include nsCOMPtr, since the header doesn't anymore 1999-08-03 08:34:17 +00:00
scc%netscape.com
ea29b57a08 First Checked In. 1999-08-03 08:30:05 +00:00
scc%netscape.com
264a0e83ae 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
f8db1fc479 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
4756a19b59 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
ea78a0060a Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes. 1999-08-03 07:21:39 +00:00
scc%netscape.com
2598cda853 Added nsWeakReference.h, .cpp in the appropriate places 1999-08-03 07:20:37 +00:00
scc%netscape.com
f1005aa67f Added "nsWeakReference.cpp" 1999-08-03 07:17:26 +00:00
scc%netscape.com
e16adcb40a getting ready to build 1999-08-03 04:59:47 +00:00
pinkerton%netscape.com
7a45f9e75f remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
scc%netscape.com
3c39c54ca6 Add nsIWeakReference.idl 1999-08-03 03:48:58 +00:00
scc%netscape.com
96a8412a39 Added nsIWeakReference.idl 1999-08-03 03:48:04 +00:00
scc%netscape.com
fbc8779752 First Checked In. 1999-08-03 03:41:27 +00:00
dp%netscape.com
345a893929 - 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
04fdcf4983 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com
beb0260ed5 Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com
969c6446c4 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
mccabe%netscape.com
ed3c4eb1e7 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
3e1e43dd00 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
97d2f06afc 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
7e30331770 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
briano%netscape.com
9ce9036be3 Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
dougt%netscape.com
c7f4c61668 Changing nonscriptable to noscript. 1999-07-31 17:37:29 +00:00
dougt%netscape.com
f070fbf1c5 Fix for bug 10997 submitted by rginda@ix.netcom.com. 1999-07-31 17:36:18 +00:00
mang%subcarrier.org
1c8a4c1c43 Comment only change.
Editing and pedantry.
1999-07-31 17:23:59 +00:00
dp%netscape.com
759351891f - 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
6e7f78ba22 - 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
4dbf387099 Getting nsHashtable and nsObjectHashtable Reset()s working together. 1999-07-31 05:50:13 +00:00
dp%netscape.com
3ee9b381f5 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
ba5c8a9d98 Using nsCRT instead of PL_str*() 1999-07-31 00:28:51 +00:00
jband%netscape.com
ff192b13a2 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
9a96223724 Removed ASSERTION. Added comments for shutdown. 1999-07-31 00:07:31 +00:00
duncan%be.com
6b45701716 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
9b00e5191d Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
rickg%netscape.com
85c5846e13 fixed compaction error 1999-07-30 02:22:37 +00:00
sspitzer%netscape.com
b1cecd9cfd make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
dougt%netscape.com
d1f9df9cb9 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
b9a86e618c 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
05843a1179 include config.mak 1999-07-29 04:51:00 +00:00
sspitzer%netscape.com
131a753df2 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
8305695dc9 fix build breakage by adding NECKO to link lines. 1999-07-29 03:20:47 +00:00
mscott%netscape.com
94b8521246 fix build breakage...include config.mak 1999-07-29 03:17:36 +00:00
briano%netscape.com
5ca4aa0b87 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
c6ccbf04df Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
blizzard%redhat.com
2b0131b77e work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
dp%netscape.com
85f51e5be9 Component Loaders 1999-07-28 20:22:49 +00:00
warren%netscape.com
1308b7eb5e Added ability to instantiate a component to test it for leaks. 1999-07-28 08:28:10 +00:00
warren%netscape.com
14ca7569f8 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
2117385b18 Added TestShutdown to detect memory leaks in xpcom. 1999-07-28 08:01:55 +00:00
warren%netscape.com
334c7b3f3e Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
warren%netscape.com
37708773d9 Added NS_ShutdownXPCOM for memory cleanup. 1999-07-28 07:57:39 +00:00
warren%netscape.com
d3f90ec755 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements. 1999-07-28 07:56:28 +00:00
mang%subcarrier.org
7bbd81cd83 mang's lies added to rginda's supa-phatt comments 1999-07-28 04:05:15 +00:00
mang%subcarrier.org
8584284918 Comments and documentation contributed by rginda@ndcico.com 1999-07-27 23:46:47 +00:00
sspitzer%netscape.com
17a4c1fb71 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
007ea62765 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
e45ae9e281 Change ResolveAlias to ResolveSymlink. dougt should have done this. 1999-07-27 23:05:53 +00:00
briano%netscape.com
7b72bff0ba 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
56eefb0d35 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
0f8c192cc4 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
0a3b32f604 fixes VC5 link bustage, but I feel dirty 1999-07-27 00:57:50 +00:00
dougt%netscape.com
5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
rickg%netscape.com
d9e840013c odd 'n' ends 1999-07-25 17:21:34 +00:00
rickg%netscape.com
b396c554b0 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
rickg%netscape.com
0c9e33a09b narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
rickg%netscape.com
22d68c4060 removed old debug code 1999-07-25 17:18:41 +00:00
valeski%netscape.com
ad4cdd8e64 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00
jband%netscape.com
b80f98a64a differentiate between Win32 x86 and NT Alpha for a few low level debug activities. From bob meader <bob@guiduck.com> 1999-07-24 22:00:00 +00:00
jband%netscape.com
e0a4f492bb include of config.mak needed for NT Alpha according to bob meader <bob@guiduck.com> 1999-07-24 21:57:34 +00:00
jband%netscape.com
48912de6ac Adding NT Alpha only makefile rule for asm from bob meader <bob@guiduck.com> 1999-07-24 21:56:17 +00:00
jband%netscape.com
63a9507a57 update to xptcall status page 1999-07-24 21:54:38 +00:00
jband%netscape.com
d5d6f63fa9 transposed two letters in a comment 1999-07-24 21:53:11 +00:00
jband%netscape.com
0a012c1d28 NT Alpha only change to rename misnamed file and to add a bunch of casting. From 1999-07-24 21:20:56 +00:00
peterl%netscape.com
23918a8d61 nuked 1999-07-24 18:57:59 +00:00
peterl%netscape.com
6f23083749 removed files: mozilla/xpcom/ds/nsBTree.cpp, mozilla/xpcom/ds/nsRBTree.cpp 1999-07-24 18:57:13 +00:00