summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for autostarting a session predefined in /opt/openslx/config in ↵HEADmasterSimon Rettberg2014-02-071-1/+9
| | | | SLX_BENCHMARK_VM
* Check if the window is still centered once a second and move it if neccessary.Simon Rettberg2013-12-191-1/+1
| | | | This is needed to account for resolution changes while the vmChooser is being displayed.
* fix problems with unreadable filesSebastian Schmelzer2011-07-131-3/+3
| | | | | cleaned up debug messages changed pools parameter to env
* make --pvs option configurable via vmchooser.confSebastian Schmelzer2011-05-121-1/+8
|
* change conf path to /etc/vmchooser/vmchooser.confSebastian Schmelzer2011-05-121-3/+2Star
| | | | add missing option to usage
* add missing newline ..Sebastian Schmelzer2011-04-281-1/+1
|
* theme support, move directboot option from no parameter to --file / -fSebastian Schmelzer2011-04-281-1/+13
|
* * add debug modeSebastian Schmelzer2011-03-041-0/+5
| | | | | | | | * implement isValid() for vsessions (checks vmdk/vbox existence) * make use of isValid() and isActive() when filling the session list * add icons for vbox, lxde, unknown images, failsafe/term * use exec to guess xsession icon instead of desciption * FIX: remove newlines/whitespaces from xmlfilter.sh output
* Merge branch 'master' of openslx.org:openslx/tools/vmchooserJohann Latocha2011-03-021-0/+1
|\ | | | | | | | | Conflicts: src/main.cpp
| * Merge branch 'master' of openslx.org:openslx/tools/vmchooserSebastian Schmelzer2011-03-021-9/+1Star
| |\ | | | | | | | | | | | | Conflicts: src/main.cpp
| * | gui stuff ..Sebastian Schmelzer2011-03-021-0/+1
| | |
* | | * dbus interface removedJohann Latocha2011-03-021-0/+5
| |/ |/| | | | | | | * write pvs config directly * use "vmchooser --pvs"
* | window manager intergration removedJohann Latocha2011-03-021-9/+1Star
|/
* 1) cmd-switch to use a window managerJohann Latocha2011-03-011-8/+24
| | | | 2) openslx logo added
* Config option: poolJan Darmochwal2010-11-041-0/+9
| | | | | | | | | | | | * 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
* Added global vars, version number in globals.hJan Darmochwal2010-11-011-19/+14Star
|
* Console error messagesJan Darmochwal2010-10-101-7/+23
|
* Return EXIT_SUCCESS or EXIT_FAILURE in main()Jan Darmochwal2010-10-091-15/+24
|
* Sort SessionsJan Darmochwal2010-10-081-1/+7
| | | | sort the Sessions by priority/short description before displaying them
* Tidy up the codeJan Darmochwal2010-10-071-133/+132Star
| | | | | | | | | | | | | | | | | | * 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
* Support for command line arguments and conf filesJan Darmochwal2010-10-071-170/+130Star
| | | | | | | | * 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
* Remove debug printfsJan Darmochwal2010-10-061-3/+0Star
|
* i18n support and German translationJan Darmochwal2010-10-061-2/+7
| | | | | | 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
* highlight previous sessionJan Darmochwal2010-10-051-0/+1
| | | | | | 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.
* Qt port is almost complete (at least it compiles)Jan Darmochwal2010-10-021-36/+18Star
| | | | | | | | | | | | | | | | | | 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
* qmake -> cmake; (mostly) cosmetic changesJan Darmochwal2010-07-131-0/+214
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