120 Commits

Author SHA1 Message Date
warren%netscape.com
1b07f99ee9 Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
git-svn-id: svn://10.0.0.236/trunk@47659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:41:20 +00:00
warren%netscape.com
86827a5f86 idl versions
git-svn-id: svn://10.0.0.236/trunk@47565 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:51:46 +00:00
warren%netscape.com
0216c948bf Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
git-svn-id: svn://10.0.0.236/trunk@47564 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:49:18 +00:00
warren%netscape.com
bdc5086fff Added nsIRunnable.h and nsIThreadPool.h temporarily.
git-svn-id: svn://10.0.0.236/trunk@47216 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:45:31 +00:00
warren%netscape.com
56190e4c58 Added temporarily, until I can get nsIThreadPool.h added to all the .cpp files, and then switch over to nsIThreadPool.idl
git-svn-id: svn://10.0.0.236/trunk@47214 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:43:02 +00:00
warren%netscape.com
4399a4d568 Added temporarily, until I can get nsIRunnable.h added to all the .cpp files, and then switch over to nsIRunnable.idl
git-svn-id: svn://10.0.0.236/trunk@47213 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:40:52 +00:00
cls%seawood.org
0f01bea98e Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one.
git-svn-id: svn://10.0.0.236/trunk@47051 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 12:03:20 +00:00
waterson%netscape.com
2242e97898 Fix variable scoping problem that busts #ifdef DEBUG build.
git-svn-id: svn://10.0.0.236/trunk@46162 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:40:22 +00:00
sdagley%netscape.com
2f2304f3a9 Fix build bustage for brendan. Some platforms actually scope variables to the for loop where they're declared.
git-svn-id: svn://10.0.0.236/trunk@46143 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 00:08:30 +00:00
brendan%mozilla.org
2b966ff47f Pick nits.
git-svn-id: svn://10.0.0.236/trunk@46139 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 23:00:17 +00:00
brendan%mozilla.org
465d7386fa Deadlock detection hacks.
git-svn-id: svn://10.0.0.236/trunk@46119 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:28:56 +00:00
brendan%mozilla.org
497490abee Initial version.
git-svn-id: svn://10.0.0.236/trunk@46118 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:16:25 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
warren%netscape.com
34a55c9d19 Added more logging code.
git-svn-id: svn://10.0.0.236/trunk@43179 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 08:13:07 +00:00
cls%seawood.org
6a502d3b0e 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.


git-svn-id: svn://10.0.0.236/trunk@42646 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:01:31 +00:00
ramiro%netscape.com
44d2ea1fa2 Match the window DEFINES. Also took out -D_IMPL_NS_WIDGET, which smells
like a cut and paste error.


git-svn-id: svn://10.0.0.236/trunk@38662 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:16:57 +00:00
toshok%hungry.com
a418e1c996 squelch unused parameter warnings.
git-svn-id: svn://10.0.0.236/trunk@38593 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 04:17:45 +00:00
ramiro%netscape.com
43391c2dca Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.


git-svn-id: svn://10.0.0.236/trunk@38035 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:06:48 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
scc%netscape.com
9ea8cebe57 Added |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:28:56 +00:00
sspitzer%netscape.com
ff17b25cf6 fix warnings
git-svn-id: svn://10.0.0.236/trunk@36991 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 04:17:58 +00:00
warren%netscape.com
5b627064e6 Added missing release.
git-svn-id: svn://10.0.0.236/trunk@35937 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:22:38 +00:00
warren%netscape.com
55783c414e Added assertions.
git-svn-id: svn://10.0.0.236/trunk@35936 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:22:16 +00:00
warren%netscape.com
1fafa621b4 Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
git-svn-id: svn://10.0.0.236/trunk@35645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:08 +00:00
dveditz%netscape.com
8b1ee7529d proxy can now find main thread
git-svn-id: svn://10.0.0.236/trunk@35630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:26:37 +00:00
warren%netscape.com
07f8f36a84 Added PR_LOG stuff.
git-svn-id: svn://10.0.0.236/trunk@35355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:57:07 +00:00
dougt%netscape.com
5fa77fef77 Adding IsQueueOnCurrentThread().
git-svn-id: svn://10.0.0.236/trunk@35163 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:20:33 +00:00
danm%netscape.com
fb18842156 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
git-svn-id: svn://10.0.0.236/trunk@35060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:30:38 +00:00
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