Commit Graph

83 Commits

Author SHA1 Message Date
emmanuel ff9ace1033 Fix test for getWaitRunnable 2016-12-06 12:56:42 -05:00
emmanuel 063cad61cd Upgrade dependency on gclc, fixed test. 2016-12-06 12:27:50 -05:00
emmanuel 201b6ad366 Added test on reading runnable 2016-12-06 11:39:36 -05:00
emmanuel bf8d76750f Cleanup for release stage
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-06 11:35:38 -05:00
emmanuel 5d25971b56 Fix the non delivery of Bye message
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-05 23:51:50 -05:00
emmanuel c27872de94 Added parameters parsing exception rather than boolean
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-05 19:21:39 -05:00
emmanuel 543b1ef605 Fixed thread surviving the application lifespan.
+tests in swt.

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-03 20:18:20 -05:00
emmanuel efa492570e Corrections on the socket closing.
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-03 16:47:26 -05:00
emmanuel 18c7f89564 Made gclc-swt and -system compatible with gclc-1.3.1
Added an abstract runnable for output forwarding from piped output

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-12-01 13:48:20 -05:00
emmanuel d4f428d311 Factor constant string and comments added to ReadingRunnable
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-30 20:07:28 -05:00
emmanuel e602a269f8 Made socket comply with new version of gclc. Fixed piped console manager
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-30 20:00:36 -05:00
emmanuel c1692019a6 Commentings and minors
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-30 09:53:20 -05:00
emmanuel 72362936be Added piped stream manager
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-30 09:49:16 -05:00
emmanuel 65b6be8283 Added prompting interruption, add exception in parameterized commands
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-29 16:37:20 -05:00
emmanuel fd8dde32f1 Removed deprecated code
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
2016-11-19 19:50:36 -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 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 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 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 4ddce780e0 Escape character prepare for platform dependent... 2016-06-12 12:15:11 -04:00
emmanuel 2dbdf55694 Update l10n for message format 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 48c51b3a16 Changed exit mechanism on gclc 2016-06-09 17:04:53 -04:00
emmanuel 1ffe321898 gclc clean up. socket and swt configured for current stable gclc
gclc items moved around. gclc ready for release.
gclc internationalization
gclc extract command interface
socket server issue (close socket) "fixed"
swt minor improvments (user con't input commands while the application
is actually running one, the history keeps track of mispelled commands
to).
2016-06-02 12:50:36 -04:00
emmanuel 87a668d308 Adding swt and socket frontends 2016-05-24 14:55:45 -04:00
emmanuel f3560a37b8 Commenting 2015-05-29 16:15:46 -04:00
emmanuel 8de80a4693 Refatorings 2015-05-29 15:57:43 -04:00
emmanuel 7510afa682 Project in version 1 2014-11-05 17:13:36 +01:00