105 Commits

Author SHA1 Message Date
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
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