Andrew Halberstadt
c2f03c6447
Bug 1152428 - [mozprocess] Fix UnicodeEncodeError when non-ascii characters are in the environment, r=wlach
...
MozReview-Commit-ID: 3AG9oLxWexy
--HG--
extra : rebase_source : a1f0d66c9434e2129c166181105b55fad43fe716
2016-03-16 11:07:35 -04:00
Ms2ger
4d796781c7
Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
...
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Chris Manchester
7bec6d7863
Bug 1055224
- Run gtest output through a stack fixer. r=ahal
...
--HG--
extra : commitid : EI5D81v5sjt
2016-01-15 10:36:46 -08:00
Julien Pagès
46f35681b7
Bug 1215756
- Fix mozprocess unit tests failures. r=ahal
...
This now check process status based on pids, not anymore
on an arbitrary string given in the command line.
Some cleanup in there, including removing code duplicate.
2015-10-21 10:57:58 -04:00
Julien Pagès
e6f8f405f1
Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher
...
--HG--
extra : commitid : DGexoEWiJn4
extra : rebase_source : 51bc43ca702d67522e58a74286dcaa3487bdacc7
2015-10-06 21:35:43 +02:00
Gregory Szorc
2ec17b35ed
Bug 1176642 - Fix typo in import name; r=smacleod
...
This regressed in 101600812e66.
--HG--
extra : commitid : D0l0sNE394Y
extra : amend_source : 3b811d6911996fb5e56ade252d7c71e83e16bbfe
2015-06-25 13:06:25 -07:00
Gregory Szorc
03600b9f4c
Bug 1176642 - Use relative imports in mozprocess; r=smacleod
...
This regressed in 101600812e66.
--HG--
extra : commitid : BIrMVQYfgXC
2015-06-25 12:55:48 -07:00
Gregory Szorc
df5168acca
Bug 1176642 - Use absolute_import, remove unused imports from mozprocess; r=chmanchester
...
--HG--
extra : commitid : AYv7GiLGo4p
extra : rebase_source : bc4157c319894b7a6a9aeda7623cba3f2544738e
2015-06-25 12:13:27 -07:00
Julien Pagès
4dc4420abe
Bug 1124695
- [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default; r=ahal
...
--HG--
extra : rebase_source : f748f2b0ed6e3cf17f7bc9da1be8a8d243dff468
2015-02-27 15:11:14 -05:00
Philip Chee
ceb176ce0d
Bug 1050561 - Decode string when building an environment block to support non-ASCII environment variables. r=ahalberstadt
2015-04-07 16:09:49 +08:00
Julien Pagès
5bd5f0f1fe
Bug 1088192 - mozprocess.ProcessHandlerMixin does not handle missing property "proc" on unstarted processes. r=ahal
2015-03-17 01:10:00 +01:00
Julien Pagès
ef6b0d32e0
Bug 923381 - [mozprocess] mozprocess.ProcessHandler should have an option not to print. r=ahal
2015-03-12 13:38:00 +01:00
Chris Manchester
b232b5d003
Bug 1140507 - Bump mozprocess version and release to pypi to pick up recent changes.;r=ahal DONTBUILD
2015-03-06 13:55:58 -08:00
Chris Manchester
c49a2dcff4
Bug 1139722 - Allow use of nested job objects in mozprocess on windows versions that support them.;r=ahal
...
This patch detects when breaking away from the parent job isn't strictly necessary to manage processses in a new job to allow using nested job objects to manage processes and their children. Loss of job object functionality is handled in mozprocess as non-fatal, however mozrunner and others doing things like restarting firefox require it.
2015-03-05 18:02:38 -08:00
Ted Mielczarek
61b17bc728
bug 1137228 - use readline instead of iterator for reading mozprocess output. r=ahal
...
--HG--
extra : rebase_source : dfea4b912d5e91e13330e92fdd300a44bf0a9dc4
2015-02-26 15:16:59 -05:00
Julien Pagès
21fb986d25
Bug 794984 - [mozprocess] Add ability to separate stderr from stdout. r=ahal
...
A new parameter called 'processStderrLine' is added. When specified, stdout gets processed by the
'processOutputLine' callbacks and stderr is processed by the 'processStderrLine' callbacks. When
not specified, stderr is redirected to stdout which is the same default behaviour.
A side effect of this is that mozprocess now uses three threads to process output. One thread each
for stdout and stderr that reads output lines and stores them in a Queue as fast as possible, this
makes sure there is no blocking in stdout.write(). A third thread executes the callbacks.
2015-02-23 07:39:00 -05:00
Andrew Halberstadt
56769d6693
Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin
...
--HG--
extra : rebase_source : 773b4bdcbaa088caa958b6d084989439f00a0370
2014-11-14 08:47:32 -05:00
Pankaj Malhotra(:bitgeeky)
945b5e8e0b
Bug 1064960 - [mozprocess] Guard against the output thread trying to join with itself. r=ahal
2014-11-04 02:35:00 +01:00
Daniel Lee
eed6da99ca
Bug 705864 - [mozprocess] mozprocess tests should use mozprocess.pid. r=ahal
2014-10-07 07:00:40 -07:00
Daniel Lee
955aae0525
Bug 1067008 - [mozprocess] mozprocess.pid running_process should look at the entire command not just the executable name. r=ahal
2014-09-16 16:56:21 -07:00
Armen Zambrano Gasparnian
d1eeaa0d52
Bug 1051799 - [mozprocess] Bump mozprocess to 0.21. r=wlach. DONTBUILD
2014-08-11 11:36:01 -04:00
Armen Zambrano Gasparnian
115f77927e
Bug 1046087 - Normalize line endings on mozprocess for Adb Windows. r=wlach
2014-08-11 08:59:56 -04:00
Ryan VanderMeulen
1bcc49deea
Backed out changeset 735394aa3813 (bug 1046087) for Windows bustage.
...
CLOSED TREE
2014-08-08 13:01:25 -04:00
Armen Zambrano Gasparnian
ea2dac5c99
Bug 1050756 - Bump mozprocess to 0.20. r=wlach. DONTBUILD
2014-08-08 09:10:12 -04:00
Armen Zambrano Gasparnian
354655b26f
Bug 1046087 - Normalize line endings on Windows. r=wlach
...
We have found out that the output of Adb on Windows ends with
\r\r\n rather than \r\n. This abnormal line ending cannot be
dealt properly with python's universal_lines. Instead we
decided to normalize every line ending to \n.
2014-08-08 08:47:05 -04:00
Armen Zambrano Gasparnian
d268839202
Bug 1026710
- Make DeviceManagerADB use mozprocess to allow logging. r=wlach
...
Up until now, mozdevice has been using subprocess. The switch gives us the
ability to log adb commands and its output. This will be mainly used
for the Firefox OS cert suite.
2014-07-15 08:59:48 -04:00
Chris Manchester
1c97de1410
Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach
2014-07-07 14:51:34 -04:00
Sylvestre Ledru
bf348fed7c
Bug 991866: Catch the exception and returns the iso8859-1 string. In some cases, the display was failing r=ahal
...
--HG--
extra : rebase_source : 2a913276a15f721d3a9f07783735544bf292ec7e
2014-07-04 12:07:38 +02:00
Andrew Halberstadt
e60605718c
Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin
2014-06-19 14:17:26 -04:00
Ryan VanderMeulen
d6d20ed14c
Backed out changeset 12536416d070 (bug 991866) for breaking B2G mochitests.
...
CLOSED TREE
2014-06-04 16:04:14 -04:00
Andrew Halberstadt
4c459289ac
Bug 991866 - Decode mozprocess output before printing to stdout, r=gps
2014-06-04 15:00:01 -04:00
James Graham
1e5a6da82f
Bug 991727 - Update mozprocess version due to API change, r=ahal
2014-04-03 22:19:31 +01:00
dadadel
eff50c44d9
Bug 975136 - Test mozprocess parameters;r=wlach
...
DONTBUILD
--HG--
extra : rebase_source : 87f60210eccbfe7925cdcce3fafc878cb873c13b
2014-03-10 12:34:03 -04:00
Andrew Halberstadt
b1dff3469e
Bug 967647 - Enforce an unbuffered stream by default in mozprocess, r=jgriffin
2014-03-03 15:16:54 -05:00
dadadel
554c21189d
Bug 975136 - Fix mozprocess to accept single function or array of functions for onTimeout/onFinish, update docs;r=wlach
2014-02-21 16:33:30 -05:00
Andrew Halberstadt
2162ac0779
Bug 949600 - Sync mozbase to m-c one last time, r=wlach
2014-02-19 16:42:01 -05:00
Wes Kocher
572d78adfd
Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE.
2014-02-18 16:12:34 -08:00
Andrew Halberstadt
354168bb48
Bug 949600 - Sync mozbase to m-c one last time, r=wlach
2014-02-18 09:25:58 -05:00
Andrew Halberstadt
e72ae5743e
Bug 947974 - Add signal parameter to mozprocess.kill(), r=wlach
2014-01-24 16:26:57 -05:00
Jeff Hammel
374dd9f02b
Bug 943481 - Mirror mozprocess 0.14 from mozbase github;r=wlach
2013-12-09 09:51:24 -05:00
Ted Mielczarek
299b704333
bug 932349 - add kill_on_timeout parameter to ProcessHandlerMixin. r=ahal
2013-11-05 15:13:30 -05:00
Jonathan Griffin
672e0179ef
Bug 929667 - Mirror mozprocess,mozrunner, r=ahal
2013-10-24 13:21:39 -07:00
Andrew Halberstadt
bfcbe4015d
Bug 895940 - Mirror mozbase to m-c, r=jhammel
2013-07-25 16:27:53 -04:00
Jeff Hammel
8a0915646b
Bug 877733 - bump mozinfo, mozprocess, mozdevice, mozinstall version and mirror to m-c;r=jmaher
2013-06-17 13:23:38 -07:00
Jeff Hammel
f608040afd
Bug 872285 - bump packages and mirror to m-c for bug 790765;r=ahal
...
--HG--
rename : testing/mozbase/mozfile/tests/is_url.py => testing/mozbase/mozfile/tests/test_url.py
2013-05-28 09:51:35 -07:00
Jeff Hammel
c23752e4c1
Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal
2013-03-21 21:06:28 -07:00
Phil Ringnalda
91489a9327
Back out 27fb990d7fc7 (bug 838374) for Android bustage
...
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel
00016781fd
Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal
2013-03-21 21:06:28 -07:00
Ryan VanderMeulen
9dc32220b2
Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE.
2013-03-14 17:45:49 -04:00
Jeff Hammel
27d9bb71ca
Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal
2013-03-14 13:06:14 -07:00