timeless%mac.com
43e442ad09
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
...
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
kmcclusk%netscape.com
b395ee5751
On WIN32 only, changed native dispatch of PLEvent notification to use timers instead of Posting WM_APP messages when user input or painting is starved to solve UI Lockup and paint starvation when loading large files from the cache or locally b=157144 r=dougt@netscape.com sr=kin@netscape.com
2002-08-29 23:04:14 +00:00
bbaetz%student.usyd.edu.au
c1b134e11b
Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
...
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
jst%netscape.com
ad4e8b0300
Fixing part of bug 96108. Don't ask for items in an empty nsVoidArray, and speed things up a bit too. r=pavlov@netscape.com, sr=brendan@mozilla.org
2002-08-15 21:00:58 +00:00
seawood%netscape.com
67c2c5b3c0
Removing unused defines:
...
_IMPL_NS_BASE (bug #162142 )
_IMPL_NS_GFXONXP (bug #162145 )
_IMPL_NS_UI (bug #162183 )
B_ONE_M (bug #162196 )
XP_NEW_SELECTION (bug #162230 )
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
gerv%gerv.net
a6d4accdea
Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
blythe%netscape.com
1b20cc170c
fix crash in bug 119034
...
r=timeless,sr=darin,a=asa
Simple NULL check, safe
2002-08-10 00:25:39 +00:00
dougt%netscape.com
36abefe61e
Attempting to fix the idle time topcrash. b=155447, r=pavlov, sr=dveditz
2002-08-09 04:03:45 +00:00
bryner%netscape.com
d0cfcc1da2
Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa.
2002-07-30 21:30:05 +00:00
seawood%netscape.com
fe2f4b55ff
Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
...
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
mkaply%us.ibm.com
937dfac4d5
#157770
...
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
bryner%netscape.com
90a2f7dfb7
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
2002-07-08 07:56:50 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
cbiesinger%web.de
15a321ca78
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
2002-06-11 20:47:04 +00:00
dougt%netscape.com
913bbb6f6c
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
2002-06-11 19:26:04 +00:00
pavlov%netscape.com
4dbb77cafa
fixing bug 142113. r=varga sr=brendan
2002-05-15 10:28:42 +00:00
dougt%netscape.com
28495a117d
initalizes member variables in thread poll. 141479. r=dp, sr=darin
2002-05-10 20:48:45 +00:00
brendan%mozilla.org
f4ef397c40
Followup fix for 138791, neil@parkwaycc.co.uk's superior bit-fu (r=rjesup, sr=waterson, a=asa).
2002-05-01 23:34:18 +00:00
darin%netscape.com
e554d83626
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
brendan%mozilla.org
41c5804b65
Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson).
2002-04-25 21:07:54 +00:00
dougt%netscape.com
1938b600bf
PAC instantiation hangs Regxpcom Solaris nightly build packaging process. Fixing timer logic. Patch by Kenneth Herron. r=dougt@netscape.com, sr=brendan@mozilla.org, b=106009
2002-04-23 03:15:52 +00:00
dbaron%fas.harvard.edu
10d0952274
Relanding pavlov's changes for bug 129953, in pieces.
2002-04-14 00:27:16 +00:00
dbaron%fas.harvard.edu
f44cff55c4
Relanding pavlov's changes for bug 129953, in pieces.
2002-04-13 19:00:50 +00:00
brade%netscape.com
3a5f38632b
backout changes by pavlov (bug 136677) r=cathleen
2002-04-11 18:50:42 +00:00
pavlov%netscape.com
bf162df187
re-landing 129953
2002-04-11 07:55:53 +00:00
pavlov%netscape.com
0f9706f1e1
backing out changes for 129953...
2002-04-11 05:38:55 +00:00
darin%netscape.com
d645b6c31c
fixes bug 135547 "make event queues more robust"
...
r=danm sr=rpotts,brendan
2002-04-11 00:16:04 +00:00
pavlov%netscape.com
e188784b71
adding ,0 to fix os2 bustage
2002-04-10 09:06:18 +00:00
seawood%netscape.com
b0ce526238
Add newline to fix hpux tinderbox bustage.
2002-04-10 08:44:15 +00:00
pavlov%netscape.com
d74f52c017
adding nsITimerManager
2002-04-10 06:06:12 +00:00
pavlov%netscape.com
812bbc8074
er, missing idl file on windows gmake builds
2002-04-10 04:51:17 +00:00
pavlov%netscape.com
ca2a20ef48
bug 129953 r=rjesup sr=rpotts
2002-04-10 04:41:23 +00:00
bryner%netscape.com
0108846dbf
Fixing crash dismissing dialogs on linux (bug 134070). r=dougt, sr=darin, a=asa & adt.
2002-04-05 23:42:35 +00:00
dougt%netscape.com
9c15603e2d
Adding better comments. r=jband, sr=brendan
2002-04-04 23:04:53 +00:00
ccarlen%netscape.com
5acd1026e5
Bug 105445 - Difficult to process PLEvents without either latency or CPU hogging. r=pink/sr=sfraser/a=asa
2002-03-27 07:16:12 +00:00
bnesse%netscape.com
97ac9e9fa4
Checkin for bug 120866. Add getenv() support to autoconfig module. Checking in for Jerry Tan. r=dveditz, sr=alecf, a=asa.
2002-03-22 21:37:50 +00:00
darin%netscape.com
9fbd1028d6
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
brendan%mozilla.org
29538a0bb4
Try to fix design flaw where a timer's destructor races with TimerThread::Run -- really want a better design, but this patches the problem in the context of the current design (118004, r=dbradley/pavlov, sr=shaver/jband, a=asa).
2002-03-08 20:11:49 +00:00
sgehani%netscape.com
bdc87e0fa7
Land update notifications.
...
b=120201; r=law,pavlov; sr=dveditz
2002-02-20 04:01:34 +00:00
brendan%mozilla.org
2f0fe5e0c7
Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst).
2002-02-18 00:10:55 +00:00
bzbarsky%mit.edu
3902553fc7
Make sure we never set a timer for before "now" when given a positive
...
delay. Bug 124103, r=pavlov, sr=brendan
2002-02-08 23:45:26 +00:00
dp%netscape.com
9152d21130
bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser
2002-01-24 06:37:38 +00:00
seawood%netscape.com
e56e20b1dc
Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
...
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
pavlov%netscape.com
36aa1ffff0
patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan
2002-01-15 01:20:47 +00:00
dougt%netscape.com
536f007ec0
adding check for null. GetThreadEventQueue can return a null queue which we need to check for
2002-01-15 00:43:10 +00:00
ccarlen%netscape.com
525230cf76
Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
2002-01-07 14:35:04 +00:00
dp%netscape.com
bedfa36902
bug 117256 Timer core dump on shutdown. Protecting against null
...
gthread. r=cathleen
2001-12-31 04:04:22 +00:00
sfraser%netscape.com
df6b1f965b
Fix Mac shutdown crash, bug 116128. Ensure that the timer thread dies by using Join(). r=syd, sr=jag
2001-12-22 00:21:46 +00:00
dougt%netscape.com
849d297364
nsIComponentManager API Changes (bug 98553)
...
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.
b) rename the old nsIComponentManager to nsIComponentManagerObsolete.
c) fixes callers which use to access the nsIComponentManager for component
registration functionality. These callers will temporary use the
nsIComponentManagerObsolete interface.
d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()
e) Perserves the old NS_GetGlobalComponentManager(). Note the cast usage.
r/sr = rpotts@netscape.com alecf@netscape.com brendan@mozilla.org
2001-12-19 00:12:41 +00:00
pavlov%netscape.com
1452245cdc
fixing tomorrow's blocker today (115527). r=ben sr=mscott
2001-12-17 06:59:55 +00:00
pavlov%netscape.com
70cdcc571a
lets try PR_STATIC_CALLBACK to please os/2
2001-12-16 09:31:39 +00:00
pavlov%netscape.com
2dcc233662
silly mac, get a real build system
2001-12-16 07:53:25 +00:00
pavlov%netscape.com
15273ea50a
bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
2001-12-16 06:13:17 +00:00
seawood%netscape.com
33ab7a9398
Add win32 support to xpcom Makefile.ins
...
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com
e24b13a938
Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397
2001-11-30 00:06:32 +00:00
seawood%netscape.com
7733357d51
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
wtc%netscape.com
a03f097dfb
Bugzilla bug 109389: changed the PLEvent event receiver window class
...
name to say "XPCOM" instead of "NSPR". r=dougt. sr=alecf.
2001-11-14 01:37:41 +00:00
dbaron%fas.harvard.edu
8cd8d91750
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
2001-11-07 06:24:10 +00:00
seawood%netscape.com
be10c3b1a8
Backing out fix for remote mach-o builds as it left mach-o builds fragile.
...
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
seawood%netscape.com
8a2a775382
Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
...
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pavlov%netscape.com
594f5ea963
fixing bug 107106 r=valeski sr=jst
2001-11-01 00:05:19 +00:00
seawood%netscape.com
9b5ae05e33
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dougt%netscape.com
0a62d4e8d5
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
2001-10-22 22:01:27 +00:00
dougt%netscape.com
d18d7e2b17
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
2001-10-19 20:52:59 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
d1a7bfa843
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2
Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
2001-09-17 19:06:35 +00:00
alecf%netscape.com
c20ca03a02
dumb
...
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
cls%seawood.org
80edcd8228
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
rpotts%netscape.com
8e0cf5d073
bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
2001-07-16 21:26:04 +00:00
jaggernaut%netscape.com
5a6317b8a5
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
cls%seawood.org
bf5fb48486
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
dougt%netscape.com
ea1c9a9cab
Fixes bug 84489. Ensures that worker threads can not process the same reque
...
st at the same time. r-danm@netscape.com , sr-darin@netscape.com , a-clayton@n
etscape.com
2001-06-12 18:35:23 +00:00
dougt%netscape.com
330156b06e
fixes bug 84489. ensures that workthreads never process the same request at the same time. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com.
2001-06-12 18:32:26 +00:00
syd%netscape.com
56d9a5e8f8
trunk fix for 84115. Pass arguments to the process (I omitted these in an earlier
...
checkin). Bad because xpi files that invoke processes with args are not functioning
correctly. r=ssu, sr=mscott, a=drivers (asa)
2001-06-06 04:33:19 +00:00
syd%netscape.com
b3a0275496
Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=80383
...
r=dbragg, sr=mscott, a=asa
For the nsIProcess component, which is only used by XPInstall, instead of calling
nspr for process creation, we call a simplified version which, on windows, will
cause the child process not to inherit fds open by the forking process.
Fix is only XP_WIN. nspr will provide a more risky, non-nsIProcess, XP solution at
some point which is either achieved by modifying open() to accept a non-inherit
flag (on win32) or do an fcntl() on Unix (see the bug for details specific to the
fcntl()), or provide another pair of create processes functions that are geared
towards non-inheriting process creation.
The bug fixed here is the XP installer is not able, on win32, to remove the
components.reg file from the "cleanup" process, which leads to all sorts of mayhem,
because the cleanup process inherits the component.reg fd which is open at the
time the cleanup process is forked, and this it cannot remove something it has an
open reference to.
2001-06-02 00:06:44 +00:00
darin%netscape.com
c269cb141b
Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
...
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
2001-05-18 22:39:52 +00:00
kandrot%netscape.com
ebed782046
bug #77233 , r=waterson, sr=brendan Changed a delete to a free for a malloced ptr
2001-05-15 05:55:15 +00:00
cls%seawood.org
6f256984a9
Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
...
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0 (mac)
to turn it off globally.
Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
dougt%netscape.com
a1d0305b36
Fixes a problem where hreadpool optimistically kills worker threads. r=darin@netscape.com, sr=waterson@netscape.com, b=76198
2001-04-26 05:30:26 +00:00
dougt%netscape.com
eb4c3841af
Adding a new method that will allow caller to check if there pending events in the elder queue. r=sfraser@netscape.com, danm@netscape.com, b=76075
2001-04-26 05:28:43 +00:00
sgehani%netscape.com
8bb68e879f
66735: implement blocking processes on the mac.
2001-03-28 00:45:05 +00:00
sspitzer%netscape.com
98ca212dcc
fix for #68036 . (quiet compiler warnings) sr=brendan/waterson a long time ago.
2001-03-19 22:14:07 +00:00
colin%theblakes.com
7f10438944
Fix OpenVMS build breakage
...
b=71990 r=danm sr=blizzard a=leaf
2001-03-16 21:39:49 +00:00
blizzard%redhat.com
737f6b241a
try to fix it harder
2001-03-13 00:42:07 +00:00
blizzard%redhat.com
b930312a99
try to fix mac + windows bustage
2001-03-13 00:36:54 +00:00
blizzard%redhat.com
9b5b88fd95
Bug #67370 . Better interleaving of xlib + plevents. r=danm sr=shaver
2001-03-12 23:57:18 +00:00
disttsc%bart.nl
a6f2f5861a
Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
2001-02-22 09:35:51 +00:00
danm%netscape.com
3d72fd68cd
RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov
2001-01-22 23:01:03 +00:00
dbragg%netscape.com
b62b903001
First part of adding nsIProcess to the Mac build (MANIFEST file). r=dougt, sr=brendan
2001-01-22 21:46:14 +00:00
dbragg%netscape.com
dbc435ab55
Adding nsIProcess to unix build. a=dougt sr=brendan
2001-01-22 21:44:04 +00:00
dbragg%netscape.com
c169358cad
Adding nsIProcess to windows build. a=dougt sr=brendan
2001-01-22 21:42:20 +00:00
dbragg%netscape.com
809a820ca1
Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167
2001-01-22 21:40:33 +00:00
dbragg%netscape.com
88f5cb7159
First Checked In.
2001-01-19 21:26:41 +00:00
dbragg%netscape.com
1f9e47be7f
New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan
2001-01-19 21:23:24 +00:00
cls%seawood.org
a159227bd0
Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
...
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646 . r=danm
2001-01-07 09:03:09 +00:00
danm%netscape.com
84daaa9b30
delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
2000-12-11 21:55:47 +00:00
dmose%mozilla.org
0a3c12b78b
Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org
2000-12-08 04:30:36 +00:00
jband%netscape.com
b27fc45e0b
fix warnings from fix to bug 61369
2000-12-06 19:40:56 +00:00
jband%netscape.com
fe62695f13
fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson
2000-11-30 05:24:53 +00:00
danm%netscape.com
06a281a74b
ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari
2000-11-28 22:38:02 +00:00
cls%seawood.org
434edd6f33
Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
2000-11-21 00:18:46 +00:00
cls%seawood.org
66a18fcbbf
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
disttsc%bart.nl
a8a18302a4
Checking in the correct patch for bug 59526.
2000-11-10 01:30:07 +00:00
edburns%acm.org
b1aacc0ff8
bug 59526
...
sr=waterson
r=valeski
This bullet-proofs the code so the one thread does not exit twice.
2000-11-09 23:49:57 +00:00
brendan%mozilla.org
b238fa4ec4
Fix leaks for 'unregistered' monitors and locks (55498, r=beard, sr=jband).
2000-11-01 22:21:28 +00:00
dougt%netscape.com
66479b016a
Replaces check for processingEvents. r=danm, darin a=hyatt
2000-10-04 19:47:12 +00:00
mkaply%us.ibm.com
2281d92324
#52455
...
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.
2000-10-03 00:20:05 +00:00
dougt%netscape.com
25f36f554d
Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750
2000-10-01 05:35:03 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
dougt%netscape.com
8af176eece
Backing out changes which reduces the number of notifies on the event queue monitor. We still are reducing the number of native notifications.
2000-09-12 04:37:35 +00:00
dougt%netscape.com
d4abfb1de7
PLEvent optimizations. Part of bug 50104. This reduces the number notifications. r-valeski@netscape.com
2000-09-11 20:59:56 +00:00
dougt%netscape.com
16835b5d5f
Removing Cached Monitors from plevent. They are about 5x slower than
...
a lock and condvar according to the nspr documentation. r=valeski
Also I fix a problem where we would wake up from a wait without checking
any data which could cause all sorts of problems.
b=50634
2000-09-01 00:50:51 +00:00
warren%netscape.com
84b5fd67e3
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2000-08-10 06:19:37 +00:00
dougt%netscape.com
7a11b65ba3
Debuggin code
...
a=waterson@netscape.com
2000-07-07 04:17:24 +00:00
cls%seawood.org
1f3b6d75ab
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com
ed15a3c3c0
# 37239
...
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm
2000-06-08 14:18:07 +00:00
pavlov%netscape.com
6d72d15bf9
Fix for eventqueue objects leaking bug #20166 . This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac
2000-06-05 21:53:25 +00:00
pavlov%netscape.com
9854479716
fix for nsbeta2+ bug 35921 (event notification outlives its event) r=danm,bryner,blizzard
2000-05-31 02:19:17 +00:00
brendan%mozilla.org
cceee2aa69
Space cleanup.
2000-05-15 06:21:49 +00:00
mkaply%us.ibm.com
152f6f29e4
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
mkaply%us.ibm.com
505e88817e
# 37239
...
r= dougt@netscape.com
OS/2 bring up continues - need another INCL_
2000-05-01 22:27:21 +00:00
warren%netscape.com
e92a3a917a
Fixed optimized build problem.
2000-04-21 05:32:59 +00:00
warren%netscape.com
5e96caa8ea
Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.)
2000-04-21 05:12:57 +00:00
pavlov%netscape.com
19af2ccf12
use C comments
2000-04-15 04:05:53 +00:00
pavlov%netscape.com
4432eff8e8
hack to fix 35594 so that evaughan can land his box changes
2000-04-14 23:27:19 +00:00
scc%netscape.com
c05019b2a8
making string conversions explicit
2000-04-01 00:39:02 +00:00
rickg%netscape.com
7838b08ad9
removed reference to nsString2
2000-03-26 23:06:01 +00:00
pavlov%netscape.com
ce094b4cfc
changes to let us build on MacOS X
2000-03-11 03:08:04 +00:00
pavlov%netscape.com
bfd20afd4c
backing out dougt's thread changes r=dougt
2000-03-06 01:13:20 +00:00
warren%netscape.com
c0497e31be
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
dougt%netscape.com
c673d88d87
Adding dynamic thread allocation to thread pool. Fixes 27736.
...
Also fixing warning in plevent.c
r=damn, a=chofmann
2000-03-05 21:01:33 +00:00
danm%netscape.com
155b1b253e
add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar
2000-03-04 03:17:01 +00:00
danm%netscape.com
3c58d88539
unix-only: allow system notification pipe to drain when event processing is stalled. unpegs CPU when showing certain dialogs. bug 28100. r=dp,pavlov a=jevering
2000-03-02 21:38:19 +00:00
danm%netscape.com
70a674879d
just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque.
2000-02-12 00:27:57 +00:00
dougt%netscape.com
48219cc034
Fix for bug 26732. r=danm. event queue need to be able to init a plevent
2000-02-09 02:28:51 +00:00
wtc%netscape.com
77ae2ff6a6
Bugzilla bug #17101 : move plevent.h and plevent.c from mozilla/nsprpub
...
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h
2000-01-28 00:27:37 +00:00
wtc%netscape.com
adb2c3f5c4
Bugzilla bug #17101 : added plevent.h (same as
...
mozilla/nsprpub/lib/ds/plevent.h, revision 3.12) and plevent.c
(same as mozilla/nsprpub/lib/ds/plevent.c, revision 3.36) to
mozilla/xpcom/threads. These two new files have not been added
to the makefiles or project file, so they are not picked up by
the build.
2000-01-25 14:48:51 +00:00
scc%netscape.com
cb4567b4c8
replaced |nsVector| with |nsVoidArray| as per bug #11666 . r=brendan
2000-01-18 22:19:52 +00:00
dougt%netscape.com
d887958ad4
fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
...
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com
bfc6760bd6
Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt.
2000-01-06 19:46:44 +00:00
sspitzer%netscape.com
3a7dedd313
turn off assertions until dougt fixes #22943 . r=dougt
2000-01-04 00:14:37 +00:00
dougt%netscape.com
bad2d6b476
Adding back the assert since I fixed the problem in the GTK appshell.
1999-12-20 23:12:18 +00:00
sspitzer%netscape.com
cc7ea1bbf1
make it so dougt's assertions only happen for him.
...
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
valeski%netscape.com
2f303433fa
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.
1999-12-14 22:06:17 +00:00
dougt%netscape.com
0a71a2d506
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.
1999-12-13 23:05:31 +00:00
dp%netscape.com
e2bc0e3623
Removing usage of nsComponentManager.h r=selmer
1999-12-08 01:59:32 +00:00
dp%netscape.com
aa23a77403
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-12-01 00:21:53 +00:00
dougt%netscape.com
c031e1c389
Fix for 18078. R=mstoltz,warren
1999-11-30 00:14:55 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
dougt%netscape.com
490e502cc6
fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
1999-11-16 16:04:14 +00:00
jband%netscape.com
8369137469
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
1999-11-15 22:15:27 +00:00
pepper%netscape.com
e541e3cf6e
Changed friend declaration to make HP Compilers Happy.
...
r=mgleeson
1999-11-11 00:39:59 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
danm%netscape.com
d9cffd60b6
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
1999-11-03 05:30:49 +00:00
danm%netscape.com
b9aa00d5ce
fixing obvious flaw in Unlink. r:waterson@netscape.com
1999-10-20 08:35:04 +00:00
danm%netscape.com
2849f7a812
retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com
1999-10-19 22:00:12 +00:00
danm%netscape.com
7fc86226d9
added CreateFromIThread. r:valeski@netscape.com
1999-10-19 19:18:27 +00:00
danm%netscape.com
588868b60c
event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com
1999-10-18 14:59:57 +00:00
danm%netscape.com
81e0c798a7
new r:hyatt@netscape.com
1999-10-18 14:57:07 +00:00
warren%netscape.com
1df0904cc1
Fixed build warnings.
1999-10-06 08:51:48 +00:00
valeski%netscape.com
d66cd6ac49
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.
1999-10-01 23:30:06 +00:00
shaver%netscape.com
3948cf5000
need to use different module names to avoid overwriting xpcom.xpt
1999-09-21 14:12:26 +00:00
warren%netscape.com
0f38c8859b
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
1999-09-20 22:35:06 +00:00
warren%netscape.com
68777de60f
fixed refcounting in nsThread so threads and runnables are freed
1999-09-20 20:54:23 +00:00
briano%netscape.com
04e901e2a5
General cleanup.
1999-09-18 02:12:56 +00:00
brendan%mozilla.org
f7ba68844b
*** empty log message ***
1999-09-17 23:21:29 +00:00
cls%seawood.org
1699d31f60
For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
1999-09-15 22:00:12 +00:00
warren%netscape.com
387c151435
Removed this in favor of idl
1999-09-15 21:49:21 +00:00
warren%netscape.com
994f05a34e
Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
1999-09-15 21:41:20 +00:00
warren%netscape.com
be2ef806ea
idl versions
1999-09-15 09:51:46 +00:00
warren%netscape.com
279545985d
Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
1999-09-15 09:49:18 +00:00
warren%netscape.com
7440b39dc0
Added nsIRunnable.h and nsIThreadPool.h temporarily.
1999-09-13 23:45:31 +00:00
warren%netscape.com
9ca7f9a98f
Added temporarily, until I can get nsIThreadPool.h added to all the .cpp files, and then switch over to nsIThreadPool.idl
1999-09-13 23:43:02 +00:00
warren%netscape.com
55d5affe5b
Added temporarily, until I can get nsIRunnable.h added to all the .cpp files, and then switch over to nsIRunnable.idl
1999-09-13 23:40:52 +00:00
cls%seawood.org
af786fe1e7
Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one.
1999-09-12 12:03:20 +00:00
waterson%netscape.com
a792915daf
Fix variable scoping problem that busts #ifdef DEBUG build.
1999-09-07 05:40:22 +00:00
sdagley%netscape.com
a509302246
Fix build bustage for brendan. Some platforms actually scope variables to the for loop where they're declared.
1999-09-07 00:08:30 +00:00
brendan%mozilla.org
849e52b0fb
Pick nits.
1999-09-06 23:00:17 +00:00
brendan%mozilla.org
154f675bda
Deadlock detection hacks.
1999-09-06 19:28:56 +00:00
brendan%mozilla.org
a00bee9700
Initial version.
1999-09-06 19:16:25 +00:00
cyeh%netscape.com
9577b5cefa
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 00:54:34 +00:00
scc%netscape.com
68340a37ef
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
1999-08-23 10:14:16 +00:00
warren%netscape.com
02dc3a6a93
Added more logging code.
1999-08-11 08:13:07 +00:00
cls%seawood.org
3f1dcd11dc
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.
1999-08-07 06:01:31 +00:00
ramiro%netscape.com
830ae7c945
Match the window DEFINES. Also took out -D_IMPL_NS_WIDGET, which smells
...
like a cut and paste error.
1999-07-07 08:16:57 +00:00
toshok%hungry.com
e84027ae5a
squelch unused parameter warnings.
1999-07-07 04:17:45 +00:00
ramiro%netscape.com
f41e67c622
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.
1999-07-02 13:06:48 +00:00
scc%netscape.com
f79508bc68
|nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
1999-06-29 21:01:31 +00:00
scc%netscape.com
4973918df6
Added |GetIID()|
1999-06-29 20:28:56 +00:00
sspitzer%netscape.com
9bef23e66b
fix warnings
1999-06-26 04:17:58 +00:00
warren%netscape.com
81aa368a6f
Added missing release.
1999-06-19 22:22:38 +00:00
warren%netscape.com
35b98be4f9
Added assertions.
1999-06-19 22:22:16 +00:00
warren%netscape.com
ea65cc126c
Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
1999-06-16 04:15:08 +00:00
dveditz%netscape.com
fc6f0e281e
proxy can now find main thread
1999-06-16 03:26:37 +00:00
warren%netscape.com
d1a7f6e578
Added PR_LOG stuff.
1999-06-15 04:57:07 +00:00
dougt%netscape.com
bbbf030084
Adding IsQueueOnCurrentThread().
1999-06-14 20:20:33 +00:00
danm%netscape.com
9bf4058960
moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
1999-06-13 03:30:38 +00:00
valeski%netscape.com
d459a0bb4b
added the HandleEvent method
1999-06-04 15:02:27 +00:00
alecf%netscape.com
52492a749f
stop using [] operator on nsISupportsArray - going away for scriptability.
1999-06-02 00:07:54 +00:00
dougt%netscape.com
1c4881668c
Adding a few more functions to nsIEventQueue.
...
Moving proxy to use nsIEventQueue instead of PLEvents direct.
1999-05-29 22:50:25 +00:00
bruce%cybersight.com
288da9f9ef
Fix usage of kISupportsIID so that my next checkin won't hork the tree.
1999-05-29 16:22:36 +00:00
dp%netscape.com
87abaa38bd
Adding progid and classname
1999-05-27 22:47:27 +00:00
sspitzer%netscape.com
c6e0e5e2df
cvs ignorage for xpcom2 landing
1999-05-26 17:51:05 +00:00
dp%netscape.com
94344009c8
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren%netscape.com
0142cb7a14
Added
1999-05-18 21:43:13 +00:00
dp%netscape.com
34b30431ba
Initial version
1999-05-18 09:11:01 +00:00
warren%netscape.com
87b26617d5
Fixed nsICollection (and Count in particular) to be xpidl friendly.
1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
3c2da32000
destructor should be virtual.
1999-05-13 00:44:20 +00:00
sspitzer%netscape.com
b2cb4ec80d
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.
1999-05-07 00:09:46 +00:00
sspitzer%netscape.com
bc476bdf98
check for existance before dereferencing
1999-05-06 00:24:45 +00:00
hyatt%netscape.com
17ab1677de
Changed the arguments to PostSynchronousEvent. Added an EventLoop method.
1999-05-05 23:55:10 +00:00
hyatt%netscape.com
73333ee036
Committing the changes to support the new nsIEventQueue interface and
...
nested queues in the event queue service.
1999-05-04 23:35:47 +00:00
hyatt%netscape.com
2777be6ebf
Committing changes to support the new nsIEventQueue interface.
1999-05-04 23:35:25 +00:00
hshaw%netscape.com
a96f72d866
include prcmon.h for nsThread.h, until unix defines NS_MT_SUPPORTED for nsISupports.h
1999-05-04 07:11:31 +00:00
warren%netscape.com
cd4fdddee8
Added include for nsError.h to get nsresult.
1999-04-30 23:49:30 +00:00
warren%netscape.com
15356905f2
Made Notify and Wait methods return nsresult.
1999-04-30 22:55:16 +00:00
warren%netscape.com
16745abb64
Added nsAutoMonitor
1999-04-22 04:12:08 +00:00
waterson%netscape.com
cb7e7a95c4
Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
1999-04-14 23:06:22 +00:00
warren%netscape.com
f63b0306a1
Fixed thread problems.
1999-04-13 18:15:27 +00:00
davidm%netscape.com
7d31b1f4dc
Added code to allow mac process the event queues
1999-04-12 22:47:48 +00:00
warren%netscape.com
3710889772
Added GetIThread method
1999-04-06 06:09:15 +00:00
warren%netscape.com
a9edb098e8
Fixed refcount problems.
1999-04-06 04:57:44 +00:00
warren%netscape.com
bf4df879ef
Fixed thread pool shutdown.
1999-04-06 01:42:01 +00:00
warren%netscape.com
338082238a
Mostly works now, except for nsIThreadPool::Join
1999-04-05 21:02:24 +00:00
warren%netscape.com
9ee65b1f03
Added nsIThread and nsIThreadPool.
1999-04-02 09:20:44 +00:00
rpotts%netscape.com
2de3a1dc1e
fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac.
1999-03-19 05:54:17 +00:00
leaf%mozilla.org
4ad9f70d5d
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
ramiro%netscape.com
eb2ce0674f
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.
1999-03-09 19:19:02 +00:00
warren%netscape.com
4b2d56fbaa
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
ramiro%netscape.com
8a849f863a
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.
1999-03-08 09:44:16 +00:00
waterson%netscape.com
fc32751b45
Fixed comments that were referring to monitors.
1999-02-04 23:20:30 +00:00
waterson%netscape.com
791d6357f5
Added headers that nsAutoLock needs.
1999-02-04 00:39:49 +00:00
waterson%netscape.com
bf217ad0ab
Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store.
1999-02-04 00:25:56 +00:00
waterson%netscape.com
9b6f064b72
Initial revision.
1999-02-03 22:44:14 +00:00
rpotts%netscape.com
d4127b40fa
overhaul of the EventQueue service...
1999-01-10 08:12:01 +00:00
rpotts%netscape.com
d24a5c8c3d
On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available...
1999-01-05 09:44:28 +00:00
rpotts%netscape.com
2e0ca1df56
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...
1999-01-05 05:43:53 +00:00
rpotts%netscape.com
ea08a6a9d0
This is the implementation of the EventQueue service...
1999-01-04 08:50:10 +00:00
rpotts%netscape.com
dd0172c911
Interface to the EventQueue Service...
1999-01-04 08:43:12 +00:00