Skip to content

Releases: c-toolbox/C-Troll

2.0

13 Aug 15:32

Choose a tag to compare

This is the release of the 2.0 version of C-Troll with many new and useful additions for all users

C-Troll

  • The application doesn't close anymore but minimizes into the Tray instead. To close it properly, you can right-click on the Tray icon and select "Quit". A system message will show information that C-Troll is still running in the background
  • If someone tries to start a new C-Troll while one is already running in the tray, the tray version is restored instead
  • We made it easier to see which Tags are currently selected
  • Added the ability to restart nodes from the "Clusters" window
  • There now is an optional setting in the configuration file showShutdownButton (default is false); if it is set to true, the Cluster portion of the C-Troll window will also have buttons to completely shut down the nodes, rather than restarting them
  • Added some color and made it possible in the "Processes" window to see which buttons are clickable
  • There are now two possible REST API endpoints. One that worked like before, the other one will only every allow connections from the localhost
  • The annoying message about mismatching data versions only appears once now and not once per cluster
  • When editing configuration files while C-Troll is running, a system notification pops up informing that C-Troll should probably be restarted C-Troll now verifies that a connected port is actually belonging to a Tray application. It was showing a node as connected if some other application had that port open
  • When killing all running processes they will now longer show up as "Crashed"
  • There is a now a button on the right side of each program that will jump to the location of that program on the C-Troll computer
  • New commandline arguments
    • --debug: Starts C-Troll in debug mode that logs a lot more information
    • --pos X Y: Places the C-Troll window at the X,Y pixel coordinates on startup
    • --tags X Y Z: Automatically select tags X, Y, and Z on startup

Tray

  • New grayscale icon in the systemtray that also shows a red/green bulb depending on if at least one C-Troll is connected to the Tray
  • Prevent the Tray from being started twice and restore the running version instead
  • New commandline arguments
    • --debug: Starts Tray in debug mode that logs a lot more information and also does not hide the window immediately
    • --pos X Y: Places the Tray window at the X,Y pixel coordinates on startup

Editor

  • Can now drag and drop an exe file into the Programs tree view to start creating a new JSON files
  • Adopted to the changes in the Configuration (see below)

Starter

  • New application that takes commandline arguments to send a start command to a running C-Troll instance. I am using this to make Desktop shortcuts to start, for example, OpenSpace: D:\C-Troll\bin\Starter.exe localhost:7000 OpenSpace Draco Default will send a command to C-Troll running on the localhost at port 7000 [the REST API from above] to start a program called "OpenSpace" on the "Draco" cluster with the "Default" configuration

Configurations

Program

  • Programs can now be enabled or disabled in a configuration. If a program is disabled, it won't show up in the list at all
  • Programs can now have per-cluster commandline arguments in addition to global arguments and per-configuration arguments. If more than one is provided the total commandline argument will be: exe.exe <global arguments> <per-configuration arguments> <per-cluster arguments>
  • Programs can now have a PreStart script, which is a program that the C-Troll computer executes before actually starting the program. The program only starts once the PreStart script finishes

General

  • Only Windows is support from now on as support on the other OSs was never tested anyway and was probably broken
  • All code is now testing the JSON files more properly using JSON schema files, so the error messages should be a bit more relevant now
  • If there are CTROLL_CONFIG and/or CTRAY_CONFIG environment variables set, C-Troll will always try to load those configuration files instead. If the variables are not set, the behavior doesn't change and C-Troll looks in the current working directory for those initial configuration file

1.0.1

29 Nov 10:24

Choose a tag to compare

A patch release fixing a few minor inconveniences:

  • Add exception handling to the Tray and C-Troll applications that prevent the application from dying when encountering a problem
  • The editor automatically creates the application, nodes, and cluster folder if they don't exist
  • Fix an issue in which the working directory was not automatically inferred from the executable when no explicit working directory was provided
  • Switch colors for the "Kill" and "Remove" buttons in the process list
  • Output window in the process list shows the process ID to make it easier to navigate if multiple output windows are open
  • Fix issue with the startup delay being set to some large number when editing an application
  • Fix issue that prevented the REST API from being enabled when no other parameters were set

1.0

09 Oct 13:58
75d2b92

Choose a tag to compare

1.0

The first public release of the C-Troll suite of softwares