Commit Graph

57 Commits

Author SHA1 Message Date
emmanuel a70be63894 Separation of concerns between SWTConsole and Key listener.
made an interface for the listener to use. Added test of the listener
effects.

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-19 17:36:51 -05:00
emmanuel c2fa0f2c0b Added charset for communication
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-19 17:35:16 -05:00
emmanuel 5280ee98bd Code compliance huge changes.
* Fixed issues
CliPrompter:
------------
- print list size
- long text line prompt is in CliPromptMessages
- multi chhoice prompt from map gets the currect choice

CommandParameters:
------------------
- Get boolean null pointer exception fixed
- Access to arguments keys.

CommandProvider:
----------------
- Check command name on addition

ConsoleApplication
------------------
- run status update when exiting start()

HelpExecutor
------------
- help content depends on whether the element is a subed command or not

ParametrizedCommand
-------------------
- Check parameter for modification when adding already existing
parameter
- Remove need status for boolean arguments
- Added invalid command exception
- Fail if not interactive and missing needed parameter
- Added getters

PrintUtils
----------
- Remove last empty line in wrap

SystemConsoleManager
--------------------
- Added charset for streams
- Removal of NULL characters from stream

* Added test elements. Use test console manager rather that system one.

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-19 17:28:25 -05:00
emmanuel 1a207c8100 Script line number tracking, bug fix in cmd reading
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-10-19 13:40:27 -04:00
emmanuel 80d10d7d85 Set socket closing by interruption trace as FINE level
Additional comments, extract exec command default name to constant

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-08-30 12:16:58 -04:00
emmanuel ecc10994ca New project for the system command execution command in gclc
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-08-05 09:54:35 -04:00
emmanuel 7289fc12ad Update of dependencies versionx
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-08-05 09:54:01 -04:00
emmanuel f44366ff05 [maven-release-plugin] prepare for next development iteration 2016-06-20 20:12:53 -04:00
emmanuel 70a71c06a7 [maven-release-plugin] prepare release gclc-1.2.5 gclc-1.2.5 2016-06-20 20:12:50 -04:00
emmanuel a0202de532 Removed faulty test class
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-06-20 20:11:35 -04:00
emmanuel caa00f2a61 Order of commands preserved in command provider implementation
Minor correction in the CLIPrompter to avoid null pointer exception when
cancel on promptChoice

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-06-13 15:49:05 -04:00
emmanuel eed6f43aea Fixed error message for SubedCommand run exceptions 2016-06-12 23:02:03 -04:00
emmanuel 59ab689a36 [maven-release-plugin] prepare for next development iteration 2016-06-12 22:39:43 -04:00
emmanuel 2bf1fa7c80 [maven-release-plugin] prepare release gclc-1.2.4 gclc-1.2.4 2016-06-12 22:39:36 -04:00
emmanuel 32e5f777fe licensing 2016-06-12 22:38:53 -04:00
emmanuel f8aeef14e3 Corrected ScriptExecution and added tests 2016-06-12 22:36:09 -04:00
emmanuel 763b7361ec Update gclc-swt and -socket for gclc-1.2.3 2016-06-12 16:11:44 -04:00
emmanuel c151107207 [maven-release-plugin] prepare for next development iteration 2016-06-12 16:08:19 -04:00
emmanuel f95d2f114a [maven-release-plugin] prepare release gclc-1.2.3 gclc-1.2.3 2016-06-12 16:08:17 -04:00
emmanuel e04e7ceaa5 Code compliance 2016-06-12 16:07:14 -04:00
emmanuel 3c1c8e85c8 Adding simple script command. Improving run exception.
Adding a simple script command implementation in ScriptExecution
The CommandRunException now embeds a type for usage, interaction or
running and the source
2016-06-12 15:59:50 -04:00
emmanuel 095a363520 [maven-release-plugin] prepare for next development iteration 2016-06-12 12:47:08 -04:00
emmanuel 932780e9d9 [maven-release-plugin] prepare release gclc-socket-1.0.6 gclc-socket-1.0.6 2016-06-12 12:47:06 -04:00
emmanuel d404d0ab69 Set parent to update release-plugin version 2016-06-12 12:43:59 -04:00
emmanuel 8038db26f3 release-prepare 2016-06-12 12:19:38 -04:00
emmanuel a29fe4b458 pom gclc-socket-1.0.5 2016-06-12 12:17:54 -04:00
emmanuel 4ddce780e0 Escape character prepare for platform dependent... gclc-socket-1.0.4 2016-06-12 12:15:11 -04:00
emmanuel 12326b7cba Prepare for next development 2016-06-11 18:10:27 -04:00
emmanuel 04fcb5bedd Update dependencies to match platform by profiles 2016-06-11 18:10:03 -04:00
emmanuel fef08dd29a Released gclc-swt-1.0.3 2016-06-11 16:38:26 -04:00
emmanuel 801189fdeb GCLC swt code compliance 2016-06-11 16:35:34 -04:00
emmanuel 04ca80f1b5 Update POM gclc-1.2.2 2016-06-09 20:10:15 -04:00
emmanuel 2dbdf55694 Update l10n for message format gclc-1.2.1 2016-06-09 19:20:15 -04:00
emmanuel 3ac978bdc1 Correction of message key test long run command 2016-06-09 19:09:17 -04:00
emmanuel edc9c2070f License update gclc-swt-1.0.2 2016-06-09 17:23:53 -04:00
emmanuel 777fd9a837 SCM updates on pom 2016-06-09 17:21:59 -04:00
emmanuel 282720faec Prepare for next development 2016-06-09 17:14:08 -04:00
emmanuel d2164d2dd9 gclc 1.2.0 2016-06-09 17:12:10 -04:00
emmanuel 33eb0faba8 Ignore jvm crash logs 2016-06-09 17:05:40 -04:00
emmanuel 48c51b3a16 Changed exit mechanism on gclc 2016-06-09 17:04:53 -04:00
emmanuel 9660d675b6 Prepare swt for next development 2016-06-02 13:47:48 -04:00
emmanuel 740a467fdf Release swt 1.0.1 - Prepare socket for next development 2016-06-02 13:47:28 -04:00
emmanuel 9f4598d9d3 Release socket 1.0.3 2016-06-02 13:46:37 -04:00
emmanuel df159e4ca6 Update socket and swt dependency on gclc last stable 2016-06-02 13:44:54 -04:00
emmanuel 38322d4fed Prepare gclc for next develpment 2016-06-02 12:56:15 -04:00
emmanuel decdcffc5c Release gclc 1.1.2 2016-06-02 12:55:55 -04:00
emmanuel b60ef9192a prepare gclc-socket for next development 2016-06-02 12:54:39 -04:00
emmanuel d5a6fc3fe5 release gclc-socket 1.0.2 2016-06-02 12:54:15 -04:00
emmanuel 7bf7759b28 prepare gclc-swt for next development 2016-06-02 12:52:38 -04:00
emmanuel 0ccf462238 gclc-swt release 1.0.0 2016-06-02 12:52:07 -04:00