| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* formerly vmchooser_env in vmchooser.conf
* pool/vmchooser_env in vmchooser.conf
* -P/--pools command line option
* a virtual session will only be displayed if
a) their pools attribute contains pool
b) their pools attribute is unset/empty
c) pool is unset/empty
* fix for segfault with invalid command line options
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 64x64 px PNGs with transparency
* SVG sources for most logos
* logos have at least 2 px empty space on top and bottom
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This patch adds support for SVG icons.
Add an image with an alias ending in .svg to images.qrc to use SVG images.
SVG icons will be preferred over other icons.
|
|
|
|
|
| |
* added empty icon "none"
* default to vmware icon if no icon is set for a VSession
|
| |
|
|
|
|
| |
use trUtf8() instead of tr()
|
|
|
|
| |
sort the Sessions by priority/short description before displaying them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixed compiler warnings, added -Werror to CMakeLists.txt
* removed LibXml2 and boost stuff from CMakeLists.txt
* fixed some things cpplint.py complains about:
* make single-argument constructors explicit
* add space before if/for/while/...
* don't put { on a line of its own
* remove space after ! operator
* add space between // and comment
* remove extra space before ( in function call
* remove extra space before )
* shorten lines to <= 80 characters
* remove blank lines at the start of a code block
* maybe others
|
|
|
|
| |
command_line_options.{cpp,h} must have slipped
|
| |
|
|
|
|
|
|
|
|
| |
* anyoption has been replaced by getopt
* replaces huge unmaintainable .cpp and .h files from an external source by standard POSIX library calls
* I would suggest using Boost.Program_options if cross-platform support is needed
* support user/global configuration file
|
|
|
|
| |
VSession::readXmlDir() now reads .xml files in subdirectories as well
|
|
|
|
| |
xsession.init(file) can initialize an XSession from a single .desktop file
|
| |
|
|
|
|
|
|
| |
Translation can be done with .ts-files in src/i18n/de.ts. The resulting .qm-files are stored as resources in the program binary.
build.sh has a new option --update-translations that causes the .ts files to be updated
|
|
|
|
|
|
| |
This patch makes vmchooser hightlight the previous session run.
Selection of the session is only based on the session name.
The topmost session with the same name as the previous session will be highlighted.
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a GroupBox with PVS access restriction options to vmchooser.
Vmchooser checks if a PVS daemon is running and if so, displays some access configuration options.
The options will be sent to the PVS daemon after a session has been started (just before vmchooser exits).
All PVS configuration program logic is contained in the Dialog class. (It would probably be better to use a custom widget for the PVS options.)
The file org.openslx.pvs.xml has been copied from a PVS build. This file has to be updated manually when the PVS D-Bus specification changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.xml files for Virtual Sessions may have an "active"-element
this patch allows a date range to be given as a parameter for that element
<active param="[YYYY-MM-DD]/[YYYY-MM-DD]"/>
examples:
* <active param="1970-01-01/1971-01-01">
active from Jan 1st 1970 till Jan 1st 1971
* <active param="/1971-01-01">
active till Jan 1st 1971
* <active param="1970-01-01/">
active from Jan 1st 1970 onwards
notes:
* invalid dates are treated like empty dates (eg. "1984-01-01/1984-02-30" is equal to "1984-01-01/")
* active defaults to "true" for all values except "false" and past or future date ranges
* an inactive session will not be displayed by vmchooser, this does not prevent the user from manually starting the corrensponding virtual machine image
|
|
|
|
|
|
|
|
|
| |
TreeView with SessionTreeModel replaces the old List View
Other changes:
* fixed bad copy and paste in CMakeLists.txt
* added make clean to build.sh
* removed moc_ and ui_ files from src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Major change:
* struct DataEntry has become class Session with sub-classes XSession and VSession
* functions from addInfo.cpp, addPrinters.cpp, addScanners.cpp, readLinSess.cpp, readXmlDir.cpp, runImage.cpp have been moved to XSession and VSession
Several minor changes:
* new files globals.h and globals.cpp for global variables (replaces constants.h and paths.h)
* replaced (all) libxml2, (much) std:: and (most) boost:: stuff by Qt stuff
Things left to do:
* remove tons of debug printfs
* show error messages on errors
* tidy up anyoption stuff in main()
* highlight session run previously
* readGroupXml stuff
* tree view (with "X Sessions" and "Virtual Sessions" sections) instead of list view for session selection
|
|
Switched to cmake:
CMakeLists.txt in base directory
use ./build.sh to build vmchooser (or mkdir -p build; cd build cmake .. && make)
updated README
removed fltk/
removed libxml2/
removed mesgdisp/
renamed vmchooser/ to src/
moved all header files (.h) from vmchooser/inc/ to src/
added files to repository that must have slipped the last time
|