184 Commits

Author SHA1 Message Date
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
blizzard%redhat.com
8040b120b6 try to fix mac + windows bustage
git-svn-id: svn://10.0.0.236/trunk@89404 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:36:54 +00:00
blizzard%redhat.com
dd94b87174 Bug #67370. Better interleaving of xlib + plevents. r=danm sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89399 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:57:18 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
danm%netscape.com
9fd692eed2 RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov
git-svn-id: svn://10.0.0.236/trunk@85315 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:01:03 +00:00
dbragg%netscape.com
51ee444251 First part of adding nsIProcess to the Mac build (MANIFEST file). r=dougt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85301 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:46:14 +00:00
dbragg%netscape.com
830b5d58df Adding nsIProcess to unix build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85299 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:44:04 +00:00
dbragg%netscape.com
c8716317df Adding nsIProcess to windows build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85297 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:42:20 +00:00
dbragg%netscape.com
44e9d0cf4d Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167
git-svn-id: svn://10.0.0.236/trunk@85294 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:40:33 +00:00
dbragg%netscape.com
82c55620d0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85179 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:26:41 +00:00
dbragg%netscape.com
561a3dc878 New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85177 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:23:24 +00:00
cls%seawood.org
c87631519f 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


git-svn-id: svn://10.0.0.236/trunk@84525 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 09:03:09 +00:00
danm%netscape.com
7fd562da0d delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
git-svn-id: svn://10.0.0.236/trunk@83495 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:55:47 +00:00
dmose%mozilla.org
08808bf8f9 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
git-svn-id: svn://10.0.0.236/trunk@83395 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 04:30:36 +00:00
jband%netscape.com
16416c0908 fix warnings from fix to bug 61369
git-svn-id: svn://10.0.0.236/trunk@83323 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:40:56 +00:00
jband%netscape.com
0404f79f76 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
git-svn-id: svn://10.0.0.236/trunk@83111 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:24:53 +00:00
danm%netscape.com
928279c539 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
git-svn-id: svn://10.0.0.236/trunk@82984 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:38:02 +00:00
cls%seawood.org
8373cf37d8 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
git-svn-id: svn://10.0.0.236/trunk@82809 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:18:46 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
disttsc%bart.nl
be1daf13dc Checking in the correct patch for bug 59526.
git-svn-id: svn://10.0.0.236/trunk@82518 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 01:30:07 +00:00
edburns%acm.org
c692199dd2 bug 59526
sr=waterson
r=valeski

This bullet-proofs the code so the one thread does not exit twice.


git-svn-id: svn://10.0.0.236/trunk@82513 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:49:57 +00:00