Граф коммитов

45 Коммитов

Автор SHA1 Сообщение Дата
Arpad Borsos cb08371dfd Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Dave Townsend 97014cac6c Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg 2009-04-16 16:46:10 +01:00
Ginn Chen 9cdb2b0d5d Bug 480427 Fix bustage for Solaris 2009-03-27 13:49:22 +08:00
Dave Townsend a839ae272c Bug 480427: Add a way to run a process in a background threadd. r=bsmedberg 2009-03-25 08:57:21 +00:00
Brad Lassey 26a5e74c64 bug 453185 - follow up, fixes wince build bustage r=bsmedberg 2009-03-18 12:35:48 -04:00
Dave Townsend 80cd6cdd45 Bug 453185: nsIProcess run fails with NS_ERROR_FILE_EXECUTION_FAILED when running an exe with a manifest that specifies requestedExecutionLevel level=requireAdministrator on Vista. r=bsmedberg 2009-03-18 11:00:20 +00:00
Dave Townsend 89705a8b28 Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg 2009-03-18 10:59:32 +00:00
James Boston 94639989fa Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-09 12:47:39 -04:00
James Boston b3b91b03c4 Back out patch for bug 442393. 2009-03-06 16:42:07 -06:00
James Boston d1581bcbba Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-06 16:19:09 -06:00
Brad Lassey 4df65c2143 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes. relanding after backout. r=bsmedberg 2008-12-11 11:50:24 -08:00
Gavin Sharp 5bea591d0a backout changeset ce8fbd7d222e from bug 455381 to fix windows unit test bustage 2008-12-03 18:49:54 -05:00
Brad Lassey df47c3ecc5 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes r=bsmedberg 2008-12-03 08:41:12 -05:00
thunder@mozilla.com c2d135cd74 Bug 421751: make nsIProcess.run() not open any console windows on Windows. r=dougt, sr=mconnor, a=damons 2008-03-12 14:03:08 -07:00
blassey@mozilla.com f15f211ef3 backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com f4c05b9b4a switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
blassey@mozilla.com 516adb4afa backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com 7297b9e37e switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
jwalden@mit.edu 12e960c504 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
thunder%mozilla.com f8c5be9c5c Bug 421751: make nsIProcess.run() not open any console windows on Windows. r=dougt, sr=mconnor, a=damons 2008-03-12 21:03:08 +00:00
blassey%mozilla.com b8929025f0 backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 22:46:32 +00:00
blassey%mozilla.com fc37ea022b switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 21:49:58 +00:00
blassey%mozilla.com d66d0b8772 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 22:56:48 +00:00
blassey%mozilla.com fbc9687a30 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 21:39:35 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
timeless%mozdev.org eab0384d8e Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt
2006-09-22 07:43:07 +00:00
dougt%meer.net 1ebff7a81a 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. 2005-09-02 18:00:23 +00:00
timeless%mozdev.org af00efe42b Bug 283429 javascript undefined object -> crash in nsIProcess::Init
r=dougt
2005-02-24 18:41:50 +00:00
timeless%mozdev.org fc1db9810d Bug 270107 nsProcess::Run is broken
r=dougt
2005-01-14 11:52:09 +00:00
jst%mozilla.jstenback.com 8d53dd0302 Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net 2004-12-10 01:06:37 +00:00
jst%mozilla.jstenback.com 83953b0991 Fixing bugstage. 2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com 471617b8f8 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 2004-11-11 19:42:26 +00:00
jst%mozilla.jstenback.com 50ced49104 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 2004-10-22 23:55:56 +00:00
jst%mozilla.jstenback.com f242538f08 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com 2004-10-12 05:31:37 +00:00
gerv%gerv.net 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
neil%parkwaycc.co.uk 8697a8f8d8 Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt 2004-01-23 10:23:12 +00:00
bryner%brianryner.com bc829daafa 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. 2004-01-15 06:14:18 +00:00
dbaron%dbaron.org f2cd5e3e66 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
bnesse%netscape.com 6b43b951d8 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
syd%netscape.com 421006c67d 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 0180b1d074 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
dbragg%netscape.com 4d63df0429 New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan 2001-01-19 21:23:24 +00:00