41 Commits

Author SHA1 Message Date
valeski%netscape.com
0f4e775451 added the HandleEvent method
git-svn-id: svn://10.0.0.236/trunk@33737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:02:27 +00:00
alecf%netscape.com
3e1c511db7 stop using [] operator on nsISupportsArray - going away for scriptability.
git-svn-id: svn://10.0.0.236/trunk@33366 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:54 +00:00
dougt%netscape.com
9a2a180d5b Adding a few more functions to nsIEventQueue.
Moving proxy to use nsIEventQueue instead of PLEvents direct.


git-svn-id: svn://10.0.0.236/trunk@33255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 22:50:25 +00:00
bruce%cybersight.com
06932ac48e Fix usage of kISupportsIID so that my next checkin won't hork the tree.
git-svn-id: svn://10.0.0.236/trunk@33239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 16:22:36 +00:00
dp%netscape.com
24134a98b3 Adding progid and classname
git-svn-id: svn://10.0.0.236/trunk@33026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:47:27 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00
dp%netscape.com
35f66733c1 Initial version
git-svn-id: svn://10.0.0.236/trunk@32061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:11:01 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
33a521249a destructor should be virtual.
git-svn-id: svn://10.0.0.236/trunk@31347 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:44:20 +00:00
sspitzer%netscape.com
3ba3c0cafc check for existence before NS_ADDREFing.
this was causing a crash in smtpTest, pop3Test and nntpTest, where we
weren't registering the EventQueue component.

also, make these destructors virtual.


git-svn-id: svn://10.0.0.236/trunk@30609 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:09:46 +00:00
sspitzer%netscape.com
5f83d6c89a check for existance before dereferencing
git-svn-id: svn://10.0.0.236/trunk@30469 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:24:45 +00:00
hyatt%netscape.com
dd5410721e Changed the arguments to PostSynchronousEvent. Added an EventLoop method.
git-svn-id: svn://10.0.0.236/trunk@30452 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:55:10 +00:00
hyatt%netscape.com
f0500e2390 Committing the changes to support the new nsIEventQueue interface and
nested queues in the event queue service.


git-svn-id: svn://10.0.0.236/trunk@30290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:35:47 +00:00
hyatt%netscape.com
e393d712bf Committing changes to support the new nsIEventQueue interface.
git-svn-id: svn://10.0.0.236/trunk@30289 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:35:25 +00:00
hshaw%netscape.com
11378c0a71 include prcmon.h for nsThread.h, until unix defines NS_MT_SUPPORTED for nsISupports.h
git-svn-id: svn://10.0.0.236/trunk@30092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 07:11:31 +00:00
warren%netscape.com
84d15dd692 Added include for nsError.h to get nsresult.
git-svn-id: svn://10.0.0.236/trunk@29917 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:49:30 +00:00
warren%netscape.com
30029587ee Made Notify and Wait methods return nsresult.
git-svn-id: svn://10.0.0.236/trunk@29904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:16 +00:00
warren%netscape.com
67cc942bf2 Added nsAutoMonitor
git-svn-id: svn://10.0.0.236/trunk@28652 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:12:08 +00:00
waterson%netscape.com
78230e652c Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:06:22 +00:00
warren%netscape.com
9b90ba668c Fixed thread problems.
git-svn-id: svn://10.0.0.236/trunk@27336 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:27 +00:00
davidm%netscape.com
bb167a18a2 Added code to allow mac process the event queues
git-svn-id: svn://10.0.0.236/trunk@27231 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:47:48 +00:00
warren%netscape.com
89cf6d5006 Added GetIThread method
git-svn-id: svn://10.0.0.236/trunk@26456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:09:15 +00:00
warren%netscape.com
1b9facf252 Fixed refcount problems.
git-svn-id: svn://10.0.0.236/trunk@26446 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:57:44 +00:00
warren%netscape.com
a823e367c4 Fixed thread pool shutdown.
git-svn-id: svn://10.0.0.236/trunk@26402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:42:01 +00:00
warren%netscape.com
39d6bda2fa Mostly works now, except for nsIThreadPool::Join
git-svn-id: svn://10.0.0.236/trunk@26323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:02:24 +00:00
warren%netscape.com
2fde0b1900 Added nsIThread and nsIThreadPool.
git-svn-id: svn://10.0.0.236/trunk@26037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:20:44 +00:00
rpotts%netscape.com
f991b0aae1 fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac.
git-svn-id: svn://10.0.0.236/trunk@24417 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:54:17 +00:00
leaf%mozilla.org
8fadf11677 Landing nspr library name change, and plevent function call change.
git-svn-id: svn://10.0.0.236/trunk@24276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:03 +00:00
ramiro%netscape.com
f05974cb48 Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.


git-svn-id: svn://10.0.0.236/trunk@23339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:19:02 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
ramiro%netscape.com
240e66fab6 Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.


git-svn-id: svn://10.0.0.236/trunk@23165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 09:44:16 +00:00
waterson%netscape.com
8d39c56892 Fixed comments that were referring to monitors.
git-svn-id: svn://10.0.0.236/trunk@19759 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:20:30 +00:00
waterson%netscape.com
79ee413eec Added headers that nsAutoLock needs.
git-svn-id: svn://10.0.0.236/trunk@19617 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:39:49 +00:00
waterson%netscape.com
c4aee0da62 Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store.
git-svn-id: svn://10.0.0.236/trunk@19612 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:25:56 +00:00
waterson%netscape.com
5f6247537d Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19588 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:44:14 +00:00
rpotts%netscape.com
f7f7d95b74 overhaul of the EventQueue service...
git-svn-id: svn://10.0.0.236/trunk@17464 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 08:12:01 +00:00
rpotts%netscape.com
f0d7f6fddb On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available...
git-svn-id: svn://10.0.0.236/trunk@17157 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:44:28 +00:00
rpotts%netscape.com
bfb6a305f7 On windows only, ignore the eventQ kept by the eventQ service... Until the event Q is created with PL_CreateNativeEventQueue(...) only the main event Q can be used...
git-svn-id: svn://10.0.0.236/trunk@17142 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:43:53 +00:00
rpotts%netscape.com
e9f86cd8cf This is the implementation of the EventQueue service...
git-svn-id: svn://10.0.0.236/trunk@17091 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:50:10 +00:00
rpotts%netscape.com
a0f65d0e99 Interface to the EventQueue Service...
git-svn-id: svn://10.0.0.236/trunk@17087 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:43:12 +00:00