Commit Graph

3163 Commits

Author SHA1 Message Date
jband%netscape.com
d53ce384e4 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.
git-svn-id: svn://10.0.0.236/trunk@42087 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 02:24:34 +00:00
tbogard%aol.net
7a6366a6f9 First check-in of XP Event Loop Interfaces. --This is not connected to the build--.
git-svn-id: svn://10.0.0.236/trunk@42065 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 23:57:18 +00:00
vidur%netscape.com
82a8c8a756 Reserved IID for nsIDOMNSLocation
git-svn-id: svn://10.0.0.236/trunk@42058 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 23:17:16 +00:00
troy%netscape.com
f4302a9e0c Reserved IID for nsIFrameManager
git-svn-id: svn://10.0.0.236/trunk@42039 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 22:35:42 +00:00
briano%netscape.com
72d652537a Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff.
git-svn-id: svn://10.0.0.236/trunk@42027 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 21:40:56 +00:00
jfrancis%netscape.com
d7d49b4391 uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@41970 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 12:42:19 +00:00
scc%netscape.com
8a2956c416 experiment: I don't think it like the forward declaration
git-svn-id: svn://10.0.0.236/trunk@41968 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 10:44:12 +00:00
scc%netscape.com
80b34575a6 well, now it needs to include nsCOMPtr, since the header doesn't anymore
git-svn-id: svn://10.0.0.236/trunk@41967 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 08:34:17 +00:00
scc%netscape.com
b771e48bf1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@41966 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 08:30:05 +00:00
scc%netscape.com
c796513d70 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|.
git-svn-id: svn://10.0.0.236/trunk@41965 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 08:15:31 +00:00
scc%netscape.com
ce7de850a7 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.
git-svn-id: svn://10.0.0.236/trunk@41964 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 08:10:08 +00:00
scc%netscape.com
c17c627e25 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).
git-svn-id: svn://10.0.0.236/trunk@41963 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 07:44:53 +00:00
scc%netscape.com
2e57a4c5d6 Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes.
git-svn-id: svn://10.0.0.236/trunk@41960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 07:21:39 +00:00
scc%netscape.com
894a6bb8cd Added nsWeakReference.h, .cpp in the appropriate places
git-svn-id: svn://10.0.0.236/trunk@41959 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 07:20:37 +00:00
scc%netscape.com
9b56ae1ddf Added "nsWeakReference.cpp"
git-svn-id: svn://10.0.0.236/trunk@41958 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 07:17:26 +00:00
scc%netscape.com
9f1efce3fd getting ready to build
git-svn-id: svn://10.0.0.236/trunk@41944 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 04:59:47 +00:00
pinkerton%netscape.com
086f5f9900 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@41942 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 04:51:45 +00:00
scc%netscape.com
d1e21b2775 Add nsIWeakReference.idl
git-svn-id: svn://10.0.0.236/trunk@41940 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 03:48:58 +00:00
scc%netscape.com
7213de2371 Added nsIWeakReference.idl
git-svn-id: svn://10.0.0.236/trunk@41939 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 03:48:04 +00:00
scc%netscape.com
abcca60995 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@41938 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 03:41:27 +00:00
dp%netscape.com
92d0478e7d - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.


git-svn-id: svn://10.0.0.236/trunk@41910 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:53:55 +00:00
dp%netscape.com
4f3fd45b8b Using nsObjectHashtable::RemoveAndDelete()
git-svn-id: svn://10.0.0.236/trunk@41890 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:03:38 +00:00
dp%netscape.com
795fd0002d Adding RemoveAndDelete() to nsObjectHashtable
git-svn-id: svn://10.0.0.236/trunk@41877 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 23:55:03 +00:00
jfrancis%netscape.com
adfe2a956c fixing mac NS_LINEBREAK macro
git-svn-id: svn://10.0.0.236/trunk@41814 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 13:25:19 +00:00
mccabe%netscape.com
1ebd99e9fb 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.


git-svn-id: svn://10.0.0.236/trunk@41809 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 11:19:30 +00:00
mccabe%netscape.com
e09e5e3c84 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.


git-svn-id: svn://10.0.0.236/trunk@41808 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 09:46:57 +00:00
mccabe%netscape.com
5265f102f2 Fix to 10693. Error on malformed uuid (currently we just check for a uuid of the wrong length) rather than failing silently.
git-svn-id: svn://10.0.0.236/trunk@41807 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 09:35:28 +00:00
dp%netscape.com
933c0ab445 VMS changes from Colin Blake <colin@theblakes.com>
git-svn-id: svn://10.0.0.236/trunk@41733 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:39:23 +00:00
briano%netscape.com
c3620d71f5 Fix for SCO OpenServer.
git-svn-id: svn://10.0.0.236/trunk@41731 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:33:36 +00:00
dougt%netscape.com
e4563ddee0 Changing nonscriptable to noscript.
git-svn-id: svn://10.0.0.236/trunk@41722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:37:29 +00:00
dougt%netscape.com
e2b1e60979 Fix for bug 10997 submitted by rginda@ix.netcom.com.
git-svn-id: svn://10.0.0.236/trunk@41721 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:36:18 +00:00
mang%subcarrier.org
3d40c2f4d0 Comment only change.
Editing and pedantry.


git-svn-id: svn://10.0.0.236/trunk@41720 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:23:59 +00:00
dp%netscape.com
1afc4d334b - Added internal UnloadLibraries() that can take a NULL service
manager too for nsXPComShutdown()'s sake


git-svn-id: svn://10.0.0.236/trunk@41682 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:55:26 +00:00
dp%netscape.com
174729ddab - 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


git-svn-id: svn://10.0.0.236/trunk@41681 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:55:04 +00:00
dp%netscape.com
3d8399c70a Getting nsHashtable and nsObjectHashtable Reset()s working together.
git-svn-id: svn://10.0.0.236/trunk@41680 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:50:13 +00:00
dp%netscape.com
22b18d28ec 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.
git-svn-id: svn://10.0.0.236/trunk@41679 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:41:54 +00:00
dp%netscape.com
8283eea7f7 Using nsCRT instead of PL_str*()
git-svn-id: svn://10.0.0.236/trunk@41649 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:28:51 +00:00
jband%netscape.com
27d53aa51d fix this macro that no one is using so that I can use it in my factory in xpconnect
git-svn-id: svn://10.0.0.236/trunk@41644 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:14:55 +00:00
dp%netscape.com
d387db0287 Removed ASSERTION. Added comments for shutdown.
git-svn-id: svn://10.0.0.236/trunk@41643 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:07:31 +00:00
duncan%be.com
ded6da2abc Fix ResolveSymlink for BeOS (BeOS doesn't have realpath).
BEOS ONLY FIX NEEDED TO UNBREAK THE BUILD!


git-svn-id: svn://10.0.0.236/trunk@41591 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 12:03:25 +00:00
warren%netscape.com
de5159d308 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation.
git-svn-id: svn://10.0.0.236/trunk@41589 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 07:58:55 +00:00
rickg%netscape.com
1cca4d7556 fixed compaction error
git-svn-id: svn://10.0.0.236/trunk@41572 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 02:22:37 +00:00
sspitzer%netscape.com
7442fe6354 make mPath canonical after resolving the symlink. a=mcafee.
git-svn-id: svn://10.0.0.236/trunk@41555 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 20:14:42 +00:00
dougt%netscape.com
24830fc232 This fixes a nsDirectoryIterator bug that bliz, seth and I were working on last night.
Approved by cyeh.


git-svn-id: svn://10.0.0.236/trunk@41552 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 14:24:47 +00:00
sspitzer%netscape.com
7057e8db23 other half of fix for #10697. directory iterators work again. r=blizzard. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@41548 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:59:13 +00:00
mscott%netscape.com
e529dbf0a4 include config.mak
git-svn-id: svn://10.0.0.236/trunk@41546 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:51:00 +00:00
sspitzer%netscape.com
851457b19f 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.
git-svn-id: svn://10.0.0.236/trunk@41541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:31:04 +00:00
mscott%netscape.com
6d7e4f3b2c fix build breakage by adding NECKO to link lines.
git-svn-id: svn://10.0.0.236/trunk@41524 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 03:20:47 +00:00
mscott%netscape.com
9e306440a7 fix build breakage...include config.mak
git-svn-id: svn://10.0.0.236/trunk@41523 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 03:17:36 +00:00
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00