18 Commits

Author SHA1 Message Date
dougt%meer.net
8c4e2f1dda WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well.
git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:00:23 +00:00
timeless%mozdev.org
4d92426c5c Bug 283429 javascript undefined object -> crash in nsIProcess::Init
r=dougt


git-svn-id: svn://10.0.0.236/trunk@169774 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 18:41:50 +00:00
timeless%mozdev.org
36a1b039c2 Bug 270107 nsProcess::Run is broken
r=dougt


git-svn-id: svn://10.0.0.236/trunk@167721 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 11:52:09 +00:00
jst%mozilla.jstenback.com
c067c7a538 Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@166526 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-10 01:06:37 +00:00
jst%mozilla.jstenback.com
4ad2aecd2d Fixing bugstage.
git-svn-id: svn://10.0.0.236/trunk@165279 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
690b60d4d3 Fixing bug 267269. Make nsIProcess::Run() use NSPR code for running the process if arguments are passed. r=pinkerton@aol.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@165273 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 19:42:26 +00:00
jst%mozilla.jstenback.com
f895095dfc Fixing problem where mExitValue is unconditionally -1 on the mac after running a process. No bug. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 23:55:56 +00:00
jst%mozilla.jstenback.com
3d83688b92 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@163583 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 05:31:37 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
neil%parkwaycc.co.uk
178bfead9d Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@151742 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 10:23:12 +00:00
bryner%brianryner.com
b5ccad4460 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
bnesse%netscape.com
bd3a9a5827 Checkin for bug 120866. Add getenv() support to autoconfig module. Checking in for Jerry Tan. r=dveditz, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117226 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:37:50 +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
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