summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Support for Utf8 in translationsJan Darmochwal2010-10-091-1/+1
| | | | use trUtf8() instead of tr()
* Fix for bugs in build.shJan Darmochwal2010-10-081-8/+9
| | | | | * don't remove BUILDDIR when called with --clean from wrong directory * set SCRIPTNAME before displaying it
* Sort SessionsJan Darmochwal2010-10-081-1/+7
| | | | sort the Sessions by priority/short description before displaying them
* Tidy up the codeJan Darmochwal2010-10-0716-287/+221Star
| | | | | | | | | | | | | | | | | | * 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
* Added files to parse command line optionsJan Darmochwal2010-10-072-0/+77
| | | | command_line_options.{cpp,h} must have slipped
* delete ifaceDBus_ifaceDBus_ in ~DialogJan Darmochwal2010-10-071-0/+1
|
* Support for command line arguments and conf filesJan Darmochwal2010-10-077-1623/+182Star
| | | | | | | | * 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
* recursive globbing in VSession::readXmlDir()Jan Darmochwal2010-10-061-4/+8
| | | | VSession::readXmlDir() now reads .xml files in subdirectories as well
* XSession init from single .desktop-fileJan Darmochwal2010-10-062-54/+61
| | | | xsession.init(file) can initialize an XSession from a single .desktop file
* Remove debug printfsJan Darmochwal2010-10-065-54/+1Star
|
* i18n support and German translationJan Darmochwal2010-10-066-7/+122
| | | | | | 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-053-1/+28
| | | | | | 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.
* simple PVS configuration in vmchooserJan Darmochwal2010-10-055-0/+299
| | | | | | | | | | 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.
* Allow sessions to be active for a given date rangeJan Darmochwal2010-10-041-2/+35
| | | | | | | | | | | | | | | | | | | | .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 for sessions (replaces ListView)Jan Darmochwal2010-10-0319-350/+339Star
| | | | | | | | | 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
* Qt port is almost complete (at least it compiles)Jan Darmochwal2010-10-0226-1648/+704Star
| | | | | | | | | | | | | | | | | | 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
* fixed bad copy & paste in CMakeLists.txtJan Darmochwal2010-07-141-2/+0Star
|
* qmake -> cmake; (mostly) cosmetic changesJan Darmochwal2010-07-13327-32910/+898Star
| | | | | | | | | | | | | | | | | | | 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
* initial qt4 versionJan Darmochwal2010-07-136-292/+81Star
|
* Revert "Qt4 port" use branch instead of subdirectory for Qt4 portJan Darmochwal2010-07-1385-74354/+0Star
| | | | This reverts commit 7fd5c1176f04b6351dc41132888eddcb14720fc0.
* Qt4 portJan Darmochwal2010-07-1285-0/+74354
|
* updated svn:ignoreSebastian Schmelzer2009-11-110-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3202 95ad53e4-c205-0410-b2fa-d234c58c8868
* modify default pathsSebastian Schmelzer2009-11-045-9/+37
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3195 95ad53e4-c205-0410-b2fa-d234c58c8868
* Version 0.0.12 of vmchooser ;-)Bastian Wissler2009-08-266-14/+33
| | | | | | | | | | | | =============================== * now omits <active> flag when starting xml explicitly * reads <active param="false" /> and just does not display them * fixed ugly bug, when the above mentioned flag was false ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3135 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser bug:Bastian Wissler2009-07-311-1/+1
| | | | | | * until now it displayed only windows logo git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3043 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary source:Bastian Wissler2009-07-241-10/+11
| | | | | | * added right selection of icons git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3034 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary:Bastian Wissler2009-07-233-18/+48
| | | | | | | | | * added an option to support selecting an image via command line "--default|-d" -> just specify a part of the display name (short_description). Attention: If you use this feature, it will disable the saved session feature git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3032 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary:Bastian Wissler2009-07-2321-12/+17527
| | | | | | | | * added option to select icon for image <icon param="bsd" /> * added default vmware icon * added icons for: macos, bsd, gentoo, suse, ubuntu git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@3031 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary source changes:Bastian Wissler2009-06-189-244/+520
| | | | | | | | | | | | | | | * added support for feature #426 (nodes from group specific xml in /etc/opt/openslx/vmchooser-${ENV}.xml gets added into xml to run) -> printers.sh / scanners.sh are still usable - but no more warning messages are printed. * removed some unnecessary output (also about missing printers.sh/scanners.sh) * new version 0.0.10 ;-)) * Changed CMakeLists.txt to produce a "release" binary * changed svn:ignore to ignore eclipse project files etc. git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2965 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser: Bastian Wissler2009-06-1112-594/+316Star
| | | | | | | | | | | | | * Now supports reading from /etc/opt/openslx/vmchooser-stage3.conf for the xml filter path * new binary included * changed make system to CMake to support better platform specific handling -> in the past different boost libraries had to be changed in the makefile * Closes Feature Request #429 git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2947 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser update:Bastian Wissler2009-05-192-1/+5
| | | | | | | | | * Added support for the "active" parameter -> if in xml file something is not equal <active param="true".* the entry is discarded (only if "active" node is available) git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2859 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary:Bastian Wissler2009-04-021-4/+1Star
| | | | | | | | - added fix suggested by Klaus - thx - new version for 5.0-branch and trunk git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2792 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchoooser source + libs:Bastian Wissler2009-04-0210-20/+20
| | | | | | | | | | * added various fixes to vmchooser sources * changed default printer.sh and scanner.sh path to /etc/opt/openslx * imported missing libraries (fltk+libxml2 soft ignored from svn) git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2790 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-04-012-70/+0Star
| | | | | | | * removed some useless files git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2787 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-04-01196-0/+14865
| | | | | | | * added fltk libs and includes git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2778 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-04-01262-14894/+17357
| | | | | | | | | | * Various fixes found by Valgrind * libxml2 lib included * fltk from weekly snapshot updated git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2777 95ad53e4-c205-0410-b2fa-d234c58c8868
* new version of vmchooser binary imported to 5.0-branchBastian Wissler2009-03-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2737 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-03-094-28/+37
| | | | | | | | * added support for starting xml with argument * version: 0.0.8 git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2703 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-02-264-7/+54
| | | | | | | * path to xml file included in node 'image_name' git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2644 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source:Bastian Wissler2009-02-222-4/+19
| | | | | | | | | * Added source support for .openslx-folder -> uses boost filesystem libs git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2629 95ad53e4-c205-0410-b2fa-d234c58c8868
* * typoSebastian Schmelzer2009-02-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2626 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fix for segfault if no .vmchooser is found ..Sebastian Schmelzer2009-02-202-9/+20
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2625 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser source: * added feature to save last session and choose it again ↵Bastian Wissler2009-02-195-2/+99
| | | | | | next time. git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2619 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser binary:Bastian Wissler2009-02-172-19/+7Star
| | | | | | | | * set the default script to "/var/X11R6/bin/run-virt.sh" * in sources and binary git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2583 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Moved /var/lib/vmware => /var/lib/virt/vmware as temporaery workaroundVolker Uhrig2009-01-212-2/+2
| | | | | | | till we removed vmconfigs/ git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2513 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser:Bastian Wissler2009-01-142-15/+17
| | | | | | | * Fixed bug in binary: Memory gets freed to early git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2479 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser:Bastian Wissler2009-01-143-87/+110
| | | | | | | | * fixed bug: Linux sessions getting message "Starting Image:" * added <computername param=* /> - parseable by bootpgm git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2476 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser plugin: * Fixed Bug with argument of mesgdisp.Bastian Wissler2008-12-011-3/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2393 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser:Bastian Wissler2008-11-288-15/+130
| | | | | | | | * added 10 secs messge to tell about image start * fixed bug with waiting on fork() git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2390 95ad53e4-c205-0410-b2fa-d234c58c8868
* vmchooser plugin: * changed version of binaryBastian Wissler2008-10-171-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2354 95ad53e4-c205-0410-b2fa-d234c58c8868