valeski%netscape.com
77f1824c47
21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree.
...
git-svn-id: svn://10.0.0.236/trunk@55988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:06:17 +00:00
dougt%netscape.com
8efe8bcc68
Added an assert and return so that eventQs only get
...
processed on the owning thread. This fixes at least
18005 and 17065. r=damn@netscape.com , a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55941 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:05:31 +00:00
dp%netscape.com
af2c8ed503
Removing usage of nsComponentManager.h r=selmer
...
git-svn-id: svn://10.0.0.236/trunk@55678 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:59:32 +00:00
dp%netscape.com
694b0720be
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
dougt%netscape.com
69329e38fe
Fix for 18078. R=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54638 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:14:55 +00:00
warren%netscape.com
eb9a891946
Eliminated the libs build pass.
...
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
dougt%netscape.com
b023f23e6c
fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
...
git-svn-id: svn://10.0.0.236/trunk@53655 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 16:04:14 +00:00
jband%netscape.com
ee57201b52
r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock
...
git-svn-id: svn://10.0.0.236/trunk@53551 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:15:27 +00:00
pepper%netscape.com
b604bfeeca
Changed friend declaration to make HP Compilers Happy.
...
r=mgleeson
git-svn-id: svn://10.0.0.236/trunk@53144 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:39:59 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
danm%netscape.com
7de071230b
instead of using the thread hashtable's enumerator while processing events (a Mac-specific habit), build and use a parallel linked list structure. hashtable and list want unification someday. fixes bug 16551. r:brendan@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@52680 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:30:49 +00:00
danm%netscape.com
f98e5e2bc8
fixing obvious flaw in Unlink. r:waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@51252 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 08:35:04 +00:00
danm%netscape.com
855118ba4a
retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@51191 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:00:12 +00:00
danm%netscape.com
88e77696a0
added CreateFromIThread. r:valeski@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@51156 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 19:18:27 +00:00
danm%netscape.com
0b71323316
event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50986 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 14:59:57 +00:00
danm%netscape.com
e200e99d65
new r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50985 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 14:57:07 +00:00
warren%netscape.com
49e47e3066
Fixed build warnings.
...
git-svn-id: svn://10.0.0.236/trunk@49969 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:51:48 +00:00
valeski%netscape.com
780e7132fd
15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr.
...
git-svn-id: svn://10.0.0.236/trunk@49617 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 23:30:06 +00:00
shaver%netscape.com
ec0efdd4c6
need to use different module names to avoid overwriting xpcom.xpt
...
git-svn-id: svn://10.0.0.236/trunk@48570 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:12:26 +00:00
warren%netscape.com
2bdfab8723
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
...
git-svn-id: svn://10.0.0.236/trunk@48420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:35:06 +00:00
warren%netscape.com
4a15ebde22
fixed refcounting in nsThread so threads and runnables are freed
...
git-svn-id: svn://10.0.0.236/trunk@48375 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:23 +00:00
briano%netscape.com
945d83af9f
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
brendan%mozilla.org
e3cfb6c40d
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@48067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:21:29 +00:00
cls%seawood.org
043415ee86
For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
...
git-svn-id: svn://10.0.0.236/trunk@47665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:00:12 +00:00
warren%netscape.com
f29912ff53
Removed this in favor of idl
...
git-svn-id: svn://10.0.0.236/trunk@47661 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:49:21 +00:00
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