204 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
brendan%mozilla.org
3758741719 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).
git-svn-id: svn://10.0.0.236/trunk@116167 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 20:11:49 +00:00
sgehani%netscape.com
ede69d0b9a Land update notifications.
b=120201; r=law,pavlov; sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@115030 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:01:34 +00:00
brendan%mozilla.org
dd2c45762c Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@114756 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:10:55 +00:00
bzbarsky%mit.edu
935007ecaa Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114086 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:45:26 +00:00
dp%netscape.com
826c21e7bc bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112666 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:37:38 +00:00
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
pavlov%netscape.com
ec9006ed1a patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@112138 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:20:47 +00:00
dougt%netscape.com
4011d640c0 adding check for null. GetThreadEventQueue can return a null queue which we need to check for
git-svn-id: svn://10.0.0.236/trunk@112128 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 00:43:10 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
dp%netscape.com
2654c07f6f bug 117256 Timer core dump on shutdown. Protecting against null
gthread. r=cathleen


git-svn-id: svn://10.0.0.236/trunk@111179 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-31 04:04:22 +00:00
sfraser%netscape.com
969b04ca5e Fix Mac shutdown crash, bug 116128. Ensure that the timer thread dies by using Join(). r=syd, sr=jag
git-svn-id: svn://10.0.0.236/trunk@111020 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-22 00:21:46 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
pavlov%netscape.com
28a3b1348b fixing tomorrow's blocker today (115527). r=ben sr=mscott
git-svn-id: svn://10.0.0.236/trunk@110610 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 06:59:55 +00:00
pavlov%netscape.com
4fe7f03adb lets try PR_STATIC_CALLBACK to please os/2
git-svn-id: svn://10.0.0.236/trunk@110573 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 09:31:39 +00:00
pavlov%netscape.com
15c13b4272 silly mac, get a real build system
git-svn-id: svn://10.0.0.236/trunk@110568 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 07:53:25 +00:00
pavlov%netscape.com
b7d549610f bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
dougt%netscape.com
d3046e16dd Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397
git-svn-id: svn://10.0.0.236/trunk@109279 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:06:32 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
wtc%netscape.com
390af0f971 Bugzilla bug 109389: changed the PLEvent event receiver window class
name to say "XPCOM" instead of "NSPR".  r=dougt.  sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@107990 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:37:41 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
seawood%netscape.com
76780820f4 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


git-svn-id: svn://10.0.0.236/trunk@107199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:29:05 +00:00
seawood%netscape.com
acaf3004b5 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


git-svn-id: svn://10.0.0.236/trunk@106904 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:54:48 +00:00
pavlov%netscape.com
6d74812810 fixing bug 107106 r=valeski sr=jst
git-svn-id: svn://10.0.0.236/trunk@106884 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:05:19 +00:00
seawood%netscape.com
4551221bef Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
alecf%netscape.com
1a422e5b81 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@102380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:56:35 +00:00
cls%seawood.org
e8d28b7625 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


git-svn-id: svn://10.0.0.236/trunk@100998 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:18:27 +00:00
rpotts%netscape.com
6496d65bc9 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
git-svn-id: svn://10.0.0.236/trunk@99342 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 21:26:04 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
dougt%netscape.com
25b069207e 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


git-svn-id: svn://10.0.0.236/trunk@96929 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:35:23 +00:00
dougt%netscape.com
8735a6cb14 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.
git-svn-id: svn://10.0.0.236/trunk@96928 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:32:26 +00:00
syd%netscape.com
d5571f3e1b 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)


git-svn-id: svn://10.0.0.236/trunk@96494 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 04:33:19 +00:00
syd%netscape.com
aa42fb70f8 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.


git-svn-id: svn://10.0.0.236/trunk@96205 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 00:06:44 +00:00
darin%netscape.com
04773b4360 Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@95443 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:39:52 +00:00
kandrot%netscape.com
d29bc03ec5 bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr
git-svn-id: svn://10.0.0.236/trunk@94951 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 05:55:15 +00:00
cls%seawood.org
4846ed0caf 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


git-svn-id: svn://10.0.0.236/trunk@94048 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 10:18:53 +00:00
dougt%netscape.com
1acd19bbe8 Fixes a problem where hreadpool optimistically kills worker threads. r=darin@netscape.com, sr=waterson@netscape.com, b=76198
git-svn-id: svn://10.0.0.236/trunk@93114 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 05:30:26 +00:00
dougt%netscape.com
27efadd782 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
git-svn-id: svn://10.0.0.236/trunk@93112 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 05:28:43 +00:00
sgehani%netscape.com
85dcbe6866 66735: implement blocking processes on the mac.
git-svn-id: svn://10.0.0.236/trunk@90594 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:45:05 +00:00
sspitzer%netscape.com
45720cad07 fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago.
git-svn-id: svn://10.0.0.236/trunk@89817 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:14:07 +00:00
colin%theblakes.com
33a9d0232e Fix OpenVMS build breakage
b=71990 r=danm sr=blizzard a=leaf


git-svn-id: svn://10.0.0.236/trunk@89717 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 21:39:49 +00:00
blizzard%redhat.com
daebc3e984 try to fix it harder
git-svn-id: svn://10.0.0.236/trunk@89405 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:42:07 +00:00