Commit Graph

282 Commits

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