Changeset 145 in tspsg-svn
- Timestamp:
- Oct 15, 2010, 8:15:43 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog.txt
r122 r145 2 2 TSPSG: TSP Solver and Generator Changelog 3 3 =========================================== 4 5 6 TSPSG v0.1.3 beta 1 (build 145) 7 =============================== 8 9 WHAT'S NEW 10 ---------- 11 12 + Solution graph generation. 13 + Support for switching between available Qt styles. 14 + Toolbar customization support (only on desktop platforms). 15 + An option to remember last used directory when saving and opening. 16 + Automatically check for updates at the given interval option (only 17 on Windows platform at this moment). 18 19 20 IMPROVEMENTS 21 ------------ 22 23 + Improved the solution output generation algorithm. It is now about 24 1.65 times faster. 25 + Dragging and dropping task file on the main window now opens it. 26 + The deafult output font is now DejaVu LGC Sans Mono and it comes 27 "embedded" in the executable. 28 + The current desktop icon theme in Linux is now used if it follows 29 freedesktop.org icon theme and icon naming spesifications. 30 + Translations are now "embedded" in the executable but may be 31 overrided by placing files with the same names in l10n folder. 32 + Support for Windows 7 Taskbar Extensions (namely, Progress Bars). 33 34 35 CHANGES 36 ------- 37 38 * About dialog was "tabified". Added GPL License and Credits tabs. 39 * Platform dependent settings (e.g. paths) are saved per-platform. 40 * 32x32 icons are used on handheld platforms. This slightly decreases 41 the size of handheld versions. Desktop icons are still 128x128. 42 * Windows binary builds were moved from MSVC to Mingw-w64: no more 43 Visual C++ Runtime dependency. 44 45 46 BUGFIXES 47 -------- 48 49 - Solution related actions not disabled when solution is canceled. 50 - "Autosize" setting was never saved and was always on. 51 4 52 5 53 -
trunk/INSTALL.txt
r134 r145 12 12 3. SUPPORTED PLATFORMS 13 13 4. BUILDING AND INSTALLATION 14 4.1. GENERAL PROCEDURE 15 4.2. LINUX/UNIX 16 4.3. WINDOWS 17 4.3.1. USING MINGW 18 4.3.2. USING VISUAL STUDIO 19 4.4. WINDOWS MOBILE 20 4.5. SYMBIAN 21 4.6. OTHER PLATFORMS, SUPPORTED BY QT 14 4.1. COMMON INFORMATION 15 4.2. GENERAL PROCEDURE 16 4.3. LINUX/UNIX/BSD 17 4.4. WINDOWS 18 4.4.1. USING MINGW 19 4.4.2. USING VISUAL STUDIO 20 4.5. WINDOWS MOBILE 21 4.6. SYMBIAN 22 4.7. OTHER PLATFORMS, SUPPORTED BY QT 22 23 5. UNINSTALLATION 23 24 6. TROUBLESHOOTING … … 77 78 ============================ 78 79 79 4.1 GENERAL PROCEDURE 80 4.1. COMMON INFORMATION 81 ----------------------- 82 83 To be able ot build TSPSG you need to have the following Qt modules: 84 QtCore, QtGui and QtSvg. The first two are required, the last one is 85 optional. To get support for additional image formats (i.e., JPEG and 86 TIFF) you'll additionally need corresponding Qt imageformats plugins. 87 88 If you want to build TSPSG without SVG support add nosvg to qmake 89 CONFIG parameter, so that qmake command will typically be: 90 91 qmake CONFIG+=release CONFIG+=nosvg 92 93 This way you will not depend on QtSvg module but will not be able to 94 export solution graph in SVG format. 95 96 97 TSPSG uses qmake PREFIX parameter to determine installation path for 98 make install command. If you don't specify it when running qmake, it 99 will be assigned the default value depending on the platform: 100 101 Platform | Default PREFIX value 102 -------------------|------------------------------------- 103 Linux/UNIX/BSD | /usr 104 -------------------|------------------------------------- 105 Windows | %PROGRAMFILES% environment variable 106 | (usually, it is "C:\Program Files") 107 -------------------|------------------------------------- 108 Windows CE/Mobile | "\Program Files" 109 -------------------|------------------------------------- 110 Symbian | <ignored> 111 -------------------|------------------------------------- 112 113 NOTE: Please, note that there are no installation and/or packaging 114 rules for MacOS and other platforms not mentioned in this table. 115 116 117 By default, TSPSG uses precompiled header when being built. If you 118 experience problems with it you may add CONFIG+=nopch parameter to 119 qmake to disable the generation and use of the precompiled header. 120 121 122 4.2. GENERAL PROCEDURE 123 ---------------------- 80 124 81 125 On most platforms the general building and installation procedure is: … … 94 138 95 139 96 4. 2. LINUX/UNIX97 --------------- 140 4.3. LINUX/UNIX/BSD 141 ------------------- 98 142 99 143 Open a shell, navigate to the directory where you have TSPSG source … … 125 169 depending on your distribution. 126 170 127 By default, executable will go to /usr/bin, COPYING and README will go 128 to /usr/share/TSPSG, translations will go /usr/share/TSPSG/l10n, docs 129 will go to /usr/share/doc/TSPSG-<VERSION>. 130 131 132 4.3. WINDOWS 171 The executable goes to <PREFIX>/bin; COPYING, ChangeLog.txt, README.txt 172 and INSTALL.txt go to <PREFIX>/share/doc/TSPSG-<VERSION>. 173 174 175 4.4. WINDOWS 133 176 ------------ 134 177 178 TSPSG will be installed to <PREFIX>\TSPSG folder. 179 135 180 NOTE: Please, read the Section 7 after reading this Section. 136 181 137 4. 3.1. USING MINGW182 4.4.1. USING MINGW 138 183 ~~~~~~~~~~~~~~~~~~ 139 184 … … 153 198 mingw32-make install 154 199 155 TSPSG will be installed to %PROGRAMFILES%\TSPSG folder (usually, it is 156 C:\Program Files\TSPSG). 157 158 159 4.3.2. USING VISUAL STUDIO 200 201 4.4.2. USING VISUAL STUDIO 160 202 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 203 … … 173 215 nmake install 174 216 175 TSPSG will be installed to %PROGRAMFILES%\TSPSG folder (usually, it is 176 C:\Program Files\TSPSG). 177 178 179 4.4. WINDOWS CE/MOBILE 217 218 4.5. WINDOWS CE/MOBILE 180 219 ---------------------- 181 220 … … 208 247 209 248 210 4. 5. SYMBIAN249 4.6. SYMBIAN 211 250 ------------ 212 251 … … 249 288 250 289 251 4. 6. OTHER PLATFORMS, SUPPORTED BY QT290 4.7. OTHER PLATFORMS, SUPPORTED BY QT 252 291 ------------------------------------- 253 292 -
trunk/docs/dox/changelog.dox
r111 r145 9 9 \section cl_toc Table of Contents 10 10 11 -# \ref cl_b145 12 -# \ref cl_b145_w 13 -# \ref cl_b145_i 14 -# \ref cl_b145_c 15 -# \ref cl_b145_b 11 16 -# \ref cl_b100 12 17 -# \ref cl_b100_w … … 18 23 19 24 \attention This ChangeLog is updated only on releases. 25 26 <hr> 27 28 \section cl_b145 TSPSG v0.1.3 beta 1 (build 145) 29 30 \subsection cl_b145_w WHAT'S NEW 31 32 - Solution graph generation. 33 - Support for switching between available Qt styles. 34 - Toolbar customization support (only on desktop platforms). 35 - An option to remember last used directory when saving and opening. 36 - Automatically check for updates at the given interval option (only 37 on Windows platform at this moment). 38 39 40 \subsection cl_b145_i IMPROVEMENTS 41 42 - Improved the solution output generation algorithm. It is now about 43 1.65 times faster. 44 - Dragging and dropping task file on the main window now opens it. 45 - The deafult output font is now DejaVu LGC Sans Mono and it comes 46 "embedded" in the executable. 47 - The current desktop icon theme in Linux is now used if it follows 48 freedesktop.org icon theme and icon naming spesifications. 49 - Translations are now "embedded" in the executable but may be 50 overrided by placing files with the same names in l10n folder. 51 - Support for Windows 7 Taskbar Extensions (namely, Progress Bars). 52 53 54 \subsection cl_b145_c CHANGES 55 56 - About dialog was "tabified". Added GPL License and Credits tabs. 57 - Platform dependent settings (e.g. paths) are saved per-platform. 58 - 32x32 icons are used on handheld platforms. This slightly decreases 59 the size of handheld versions. Desktop icons are still 128x128. 60 - \b Windows binary builds were moved from \b MSVC to \b Mingw-w64: no more 61 <em>Visual C++ Runtime</em> dependency. 62 63 64 \subsection cl_b145_b BUGFIXES 65 66 - Solution related actions not disabled when solution is canceled. 67 - "Autosize" setting was never saved and was always on. 20 68 21 69 <hr> -
trunk/docs/dox/install.dox
r134 r145 19 19 -# \ref i_s42 20 20 -# \ref i_s43 21 -# \ref i_s43122 -# \ref i_s43223 21 -# \ref i_s44 22 -# \ref i_s441 23 -# \ref i_s442 24 24 -# \ref i_s45 25 25 -# \ref i_s46 26 -# \ref i_s47 26 27 -# \ref i_s5 27 28 -# \ref i_s6 … … 50 51 Also, the following assumptions are made: 51 52 52 - For \b Linux/UNIX : \c lrelease and \c qmake are avilable in \c $PATH.53 - For \b Linux/UNIX/BSD: \c lrelease and \c qmake are avilable in \c $PATH. 53 54 - For \b Windows (\em minGW) and \b Symbian: you have installed <em>Qt SDK</em> or 54 55 prebuilt libraries and have Start Menu items for Qt tools. … … 74 75 \subsection i_s41 GENERAL INSTALLATION PROCEDURE 75 76 77 To be able ot build \b TSPSG you need to have the following Qt modules: 78 \em QtCore, \em QtGui and \em QtSvg. The first two are required, the last one is 79 optional. To get support for additional image formats (i.e., \b JPEG and 80 \b TIFF) you'll additionally need corresponding <em>Qt imageformats</em> plugins. 81 82 If you want to build \b TSPSG without \b SVG support add \c nosvg to \c qmake 83 \c CONFIG parameter, so that qmake command will typically be: 84 85 \verbatim 86 qmake CONFIG+=release CONFIG+=nosvg 87 \endverbatim 88 89 This way you will not depend on \em QtSvg module but will not be able to 90 export solution graph in \b SVG format. 91 92 93 \b TSPSG uses \c qmake \c PREFIX parameter to determine installation path for 94 make install command. If you don't specify it when running \c qmake, it 95 will be assigned the default value depending on the platform: 96 97 <table> 98 <tr><th>Platform</th><th>Default \c PREFIX value</th></tr> 99 <tr><td>\b Linux/UNIX/BSD</td><td>\c /usr</td></tr> 100 <tr><td>\b Windows</td><td></td>\c \%PROGRAMFILES\% environment variable (usually, it is <tt>C:\\Program Files</tt>)</tr> 101 <tr><td><b>Windows CE/Mobile</b></td><td><tt>\\Program Files</tt></td></tr> 102 <tr><td>\b Symbian</td><td></td><em>\<ignored></em></tr> 103 </table> 104 105 \note Please, note that there are no installation and/or packaging 106 rules for \b MacOS and other platforms not mentioned in this table. 107 108 109 By default, \b TSPSG uses precompiled header when being built. If you 110 experience problems with it you may add \c CONFIG+=nopch parameter to 111 \c qmake to disable the generation and use of the precompiled header. 112 113 <hr> 114 115 \subsection i_s42 GENERAL INSTALLATION PROCEDURE 116 76 117 On most platforms the general building and installation procedure is: 77 118 … … 87 128 <hr> 88 129 89 \subsection i_s4 2 LINUX/UNIX130 \subsection i_s43 LINUX/UNIX/BSD 90 131 91 132 Open a shell, navigate to the directory where you have \b TSPSG source … … 126 167 depending on your distribution. 127 168 128 By default, executable will go to \c /usr/bin, \c COPYING.txt and \c README.txt will go 129 to \c /usr/share/TSPSG, translations will go \c /usr/share/TSPSG/l10n, all docs 130 will go to <tt>/usr/share/doc/TSPSG-\<VERSION></tt>. 131 132 <hr> 133 134 \subsection i_s43 WINDOWS 169 The executable goes to \c \<PREFIX>/bin; \c COPYING, \c ChangeLog.txt, \c README.txt 170 and \c INSTALL.txt go to \c \<PREFIX>/share/doc/TSPSG-\<VERSION>. 171 172 <hr> 173 174 \subsection i_s44 WINDOWS 175 176 \b TSPSG will be installed to \c \<PREFIX>\\TSPSG folder. 135 177 136 178 \note Please, read the section \ref i_s7 after reading this section. 137 179 138 \subsubsection i_s4 31 USING MINGW180 \subsubsection i_s441 USING MINGW 139 181 140 182 Unpack the downloaded source code of \b TSPSG with your favourite … … 157 199 \endverbatim 158 200 159 \b TSPSG will be installed to \c \%PROGRAMFILES\%\\TSPSG folder (usually, it is 160 <tt>C:\\Program Files\\TSPSG</tt>). 161 162 163 \subsubsection i_s432 USING VISUAL STUDIO 201 202 \subsubsection i_s442 USING VISUAL STUDIO 164 203 165 204 Unpack the downloaded source code of \b TSPSG with your favourite … … 180 219 \endverbatim 181 220 182 \b TSPSG will be installed to \c \%PROGRAMFILES\%\\TSPSG folder (usually, it is 183 <tt>C:\\Program Files\\TSPSG</tt>). 184 185 <hr> 186 187 \subsection i_s44 WINDOWS CE/MOBILE 221 <hr> 222 223 \subsection i_s45 WINDOWS CE/MOBILE 188 224 189 225 Unpack the downloaded source code of \b TSPSG with your favourite … … 215 251 <hr> 216 252 217 \section i_s4 5SYMBIAN253 \section i_s46 SYMBIAN 218 254 219 255 Unpack the downloaded source code of \b TSPSG with your favourite … … 262 298 <hr> 263 299 264 \subsection i_s4 6OTHER PLATFORMS, SUPPORTED BY QT300 \subsection i_s47 OTHER PLATFORMS, SUPPORTED BY QT 265 301 266 302 While \b TSPSG is oficially supported only on \b Linux, \b Windows and <b>Windows -
trunk/docs/dox/mainpage.dox
r126 r145 31 31 \ref changelog 32 32 33 -# \ref cl_b145 33 34 -# \ref cl_b100 34 35 -# \ref cl_b42 -
trunk/docs/tspsg.tag
r129 r145 57 57 <member kind="define"> 58 58 <type>#define</type> 59 <name>DEF_CHECK_FOR_UPDATES</name> 60 <anchorfile>defaults_8h.html</anchorfile> 61 <anchor>a18e68184ae6744c3d45c412cf429ef1c</anchor> 62 <arglist></arglist> 63 </member> 64 <member kind="define"> 65 <type>#define</type> 66 <name>DEF_UPDATE_CHECK_INTERVAL</name> 67 <anchorfile>defaults_8h.html</anchorfile> 68 <anchor>af2574b71a796ed52fc04b046a0f9a0c0</anchor> 69 <arglist></arglist> 70 </member> 71 <member kind="define"> 72 <type>#define</type> 59 73 <name>DEF_FRACTIONAL_ACCURACY</name> 60 74 <anchorfile>defaults_8h.html</anchorfile> … … 183 197 <includes id="defaults_8h" name="defaults.h" local="yes" imported="no">defaults.h</includes> 184 198 <includes id="tspsolver_8h" name="tspsolver.h" local="yes" imported="no">tspsolver.h</includes> 185 <includes id="qtwin_8h" name="qtwin.h" local="yes" imported="no">qtwin.h</includes>186 199 <member kind="define"> 187 200 <type>#define</type> … … 269 282 </member> 270 283 <member kind="function"> 271 <type> void</type>272 <name> toggleStyle</name>273 <anchorfile>globals_8h.html</anchorfile> 274 <anchor>a 3ffe98116f42de97041cde4a2b0404e6</anchor>275 <arglist>( QWidget *widget, bool enable)</arglist>284 <type>bool</type> 285 <name>hasUpdater</name> 286 <anchorfile>globals_8h.html</anchorfile> 287 <anchor>a5625fcd02d07005677ff6ee3dd799e05</anchor> 288 <arglist>()</arglist> 276 289 </member> 277 290 </compound> … … 308 321 <anchorfile>os_8h.html</anchorfile> 309 322 <anchor>a1dd5b94c3a8ca1350a4037270084df73</anchor> 323 <arglist></arglist> 324 </member> 325 <member kind="define"> 326 <type>#define</type> 327 <name>PLATFROM</name> 328 <anchorfile>os_8h.html</anchorfile> 329 <anchor>a5751bcea3ecce2a44d6c294f28dca42b</anchor> 330 <arglist></arglist> 331 </member> 332 <member kind="define"> 333 <type>#define</type> 334 <name>COMPILER</name> 335 <anchorfile>os_8h.html</anchorfile> 336 <anchor>a63f2e19ce36089fbdd99a7a46c62afbe</anchor> 310 337 <arglist></arglist> 311 338 </member> … … 487 514 <filename>changelog</filename> 488 515 <docanchor file="changelog">cl_b100_i</docanchor> 516 <docanchor file="changelog">cl_b145_c</docanchor> 489 517 <docanchor file="changelog">cl_b100_w</docanchor> 490 518 <docanchor file="changelog">cl_toc</docanchor> 491 519 <docanchor file="changelog">cl_b42_f</docanchor> 520 <docanchor file="changelog">cl_b145_i</docanchor> 492 521 <docanchor file="changelog">cl_b100</docanchor> 522 <docanchor file="changelog">cl_b145_w</docanchor> 493 523 <docanchor file="changelog">cl_b42</docanchor> 494 524 <docanchor file="changelog">cl_b100_b</docanchor> 495 525 <docanchor file="changelog">cl_b100_c</docanchor> 526 <docanchor file="changelog">cl_b145_b</docanchor> 527 <docanchor file="changelog">cl_b145</docanchor> 496 528 </compound> 497 529 <compound kind="page"> … … 514 546 <docanchor file="install">i_s45</docanchor> 515 547 <docanchor file="install">i_s46</docanchor> 548 <docanchor file="install">i_s47</docanchor> 549 <docanchor file="install">i_s441</docanchor> 516 550 <docanchor file="install">i_s1</docanchor> 517 <docanchor file="install">i_s4 31</docanchor>551 <docanchor file="install">i_s442</docanchor> 518 552 <docanchor file="install">i_s2</docanchor> 519 <docanchor file="install">i_s432</docanchor>520 553 <docanchor file="install">i_s3</docanchor> 521 554 <docanchor file="install">i_s4</docanchor> -
trunk/src/version.h
r118 r145 52 52 */ 53 53 #ifdef DEBUG 54 #ifndef BUILD_STATUS 54 #ifndef BUILD_STATUS_TYPE 55 55 #define BUILD_STATUS (debug build BUILD_NUMBER) 56 #else 57 #define BUILD_STATUS (BUILD_STATUS_TYPE BUILD_STATUS_NUMBER) 56 58 #endif 57 59 #else 58 60 #if !defined(TSPSG_RELEASE_BUILD) 59 61 #define BUILD_STATUS (nightly build) 60 #elif !defined(BUILD_STATUS )62 #elif !defined(BUILD_STATUS_TYPE) 61 63 #define BUILD_STATUS (build BUILD_NUMBER) 64 #else 65 #define BUILD_STATUS (BUILD_STATUS_TYPE BUILD_STATUS_NUMBER) 62 66 #endif // TSPSG_RELEASE_BUILD 63 67 #endif // DEBUG -
trunk/tspsg.pro
r144 r145 37 37 38 38 # These are only defined on releases 39 #DEFINES += TSPSG_RELEASE_BUILD 40 #!symbian { 41 # DEFINES += BUILD_STATUS="\"(alpha 2)\"" 39 DEFINES += TSPSG_RELEASE_BUILD 40 DEFINES += BUILD_STATUS_TYPE=beta 41 DEFINES += BUILD_STATUS_NUMBER=1 42 43 REVISION = 145 44 #REVISION = $$system(svnversion) 45 #isEmpty(REVISION)|eval(REVISION=="exported") { 46 # REVISION = 0 42 47 #} else { 43 # # Symbian doesn't handle spaces in defines well44 # DEFINES += BUILD_STATUS="(alpha2)"48 # REVISION = $$replace(REVISION,":","") 49 # REVISION = $$replace(REVISION,"M","") 45 50 #} 46 47 #REVISION = 10048 REVISION = $$system(svnversion)49 isEmpty(REVISION)|eval(REVISION=="exported") {50 REVISION = 051 } else {52 REVISION = $$replace(REVISION,":","")53 REVISION = $$replace(REVISION,"M","")54 }55 51 win32-msvc*|wincewm* { 56 52 VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
Note: See TracChangeset
for help on using the changeset viewer.