Commit graph

3005 commits

Author SHA1 Message Date
kervala
6565603216 Changed: Convert CString and TCHAR* from/to std::string
--HG--
branch : develop
2016-11-22 13:07:52 +01:00
kervala
b7ca1d224c Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-22 12:39:44 +01:00
kervala
a3262bb971 Fixed: Warnings
--HG--
branch : develop
2016-11-22 12:22:17 +01:00
kervala
94d3440148 Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-11-22 12:14:32 +01:00
kervala
501e1d9d27 Fixed: Specify working directory for getVersionFromExecutable
--HG--
branch : develop
2016-11-21 16:36:12 +01:00
kervala
cc331d6295 Fixed: Wrong variable
--HG--
branch : develop
2016-11-21 16:35:28 +01:00
kervala
7afe10373b Fixed: Use default path for ryzom_installer.log is installation directory not defined
--HG--
branch : develop
2016-11-21 16:35:18 +01:00
kervala
88bfa8ec70 Fixed: Warnings
--HG--
branch : develop
2016-11-21 13:22:05 +01:00
kervala
91a1f4e34b Fixed: Compilation
--HG--
branch : develop
2016-11-20 16:40:39 +01:00
kervala
f605c5faa5 Changed: Replace all "" by empty(), clear(), Empty(), etc...
--HG--
branch : develop
2016-11-20 14:49:13 +01:00
kervala
0fb9906929 Changed: Constification of catches
--HG--
branch : develop
2016-11-20 12:31:48 +01:00
kervala
481bbae8ee Changed: Use wide versions of Win32 API
--HG--
branch : develop
2016-11-19 21:12:04 +01:00
kervala
61bb58bea3 Fixed: Typos
--HG--
branch : develop
2016-11-19 21:07:52 +01:00
kervala
791821d6d6 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-19 21:07:20 +01:00
kervala
8d82472586 Changed: Macros to convert to/from TCHAR* and std::string
--HG--
branch : develop
2016-11-19 19:46:40 +01:00
kervala
9941fcf82b Fixed: Typos detected by Lintian
--HG--
branch : develop
2016-11-19 19:11:12 +01:00
kervala
f05cab8579 Changed: liblzma 16.04
--HG--
branch : develop
2016-11-15 11:32:20 +01:00
kervala
2cbb1614d4 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-15 10:53:22 +01:00
kervala
556590e73a Fixed: Don't use hash to extract clauses but identifier (else there could be conflict if the same text if used several times)
--HG--
branch : develop
2016-11-15 10:47:02 +01:00
kervala
2749d40508 Changed: Minor changes
--HG--
branch : develop
2016-11-15 10:44:59 +01:00
kervala
9ce39945ce Fixed: Crash when processing comments
--HG--
branch : develop
2016-11-15 10:40:38 +01:00
kervala
e9a54a310e Changed: Resume download for 2xx HTTP status codes
--HG--
branch : develop
2016-11-13 16:53:04 +01:00
kervala
857b60dd82 Fixed: Any 3xx HTTP status codes are redirections
--HG--
branch : develop
2016-11-13 11:07:32 +01:00
kervala
f9117d8e94 Changed: Rerun Installer from a specific directory with right arguments
--HG--
branch : develop
2016-11-05 19:46:12 +01:00
kervala
a9c3982d21 Changed: Minor changes
--HG--
branch : develop
2016-11-04 20:23:01 +01:00
kervala
589be3bbbb Changed: Don't display an error if file doesn't exist
--HG--
branch : develop
2016-11-04 20:22:42 +01:00
kervala
9f934f7765 Changed: Discard \r and only use \n
--HG--
branch : develop
2016-11-04 20:22:10 +01:00
kervala
a2a7dfa028 Changed: Minor changes
--HG--
branch : develop
2016-11-04 20:20:39 +01:00
kervala
9e0954fad5 Changed: ForceUtf8 parameter useless now
--HG--
branch : develop
2016-11-04 20:19:41 +01:00
kervala
369a121aa1 Fixed: Wrong size of nl
--HG--
branch : develop
2016-11-04 09:17:32 +01:00
kervala
b7c008c014 Changed: Minor changes
--HG--
branch : develop
2016-11-04 09:14:08 +01:00
kervala
37d34a2f0f Changed: Removed trailing spaces
--HG--
branch : develop
2016-11-04 09:09:51 +01:00
kervala
11e9a7ea81 Changed: Sleep 1 second after copying files (because to some disk cache)
--HG--
branch : develop
2016-11-03 14:44:01 +01:00
kervala
ee2d17c24b Changed: Don't try to copy Installer several times (if it fails once, it'll fail forever)
--HG--
branch : develop
2016-11-03 14:43:08 +01:00
kervala
469bd13a28 Changed: Use QSaveFile to be sure the file is fully written
--HG--
branch : develop
2016-11-03 14:42:07 +01:00
kervala
23d1d0f458 Fixed: Spaces in paths for patch under Linux and OS X
--HG--
branch : develop
2016-10-31 18:58:49 +01:00
kervala
ef5efc0102 Changed: Don't update qtbase_*.ts files
--HG--
branch : develop
2016-10-31 18:58:07 +01:00
kervala
9ee427cda1 Changed: Updated some variables names in interface
--HG--
branch : develop
2016-10-31 18:57:42 +01:00
kervala
29a3e24204 Changed: Updated translations
--HG--
branch : develop
2016-10-31 18:57:18 +01:00
kervala
19291f1b96 Fixed: Layout of some interfaces in Ryzom Configuration
--HG--
branch : develop
2016-10-31 18:56:55 +01:00
kervala
b25298f0f8 Changed: std::string already empty
--HG--
branch : develop
2016-10-30 16:00:04 +01:00
kervala
16df8b8c1d Changed: Use empty() instead of comparison with ""
--HG--
branch : develop
2016-10-30 15:59:20 +01:00
kervala
e3c2cb2a30 Changed: Use clear() instead of affectation
--HG--
branch : develop
2016-10-30 15:56:41 +01:00
kervala
2fe0e84096 Changed: Simplified layout for display
--HG--
branch : develop
2016-10-30 15:35:58 +01:00
kervala
86415a3c2b Fixed: Add config variable if not present
--HG--
branch : develop
2016-10-30 15:35:44 +01:00
kervala
8f6aa83a7b Fixed: Choice of sound driver
--HG--
branch : develop
2016-10-30 15:35:11 +01:00
kervala
1c872d9ef9 Fixed: Translations files are all using UTF-8 by default now (and LF instead of CRLF), fixes #128
--HG--
branch : develop
2016-10-29 19:50:28 +02:00
kervala
482b292a03 Changed: Minor changes
--HG--
branch : develop
2016-10-27 16:48:07 +02:00
kervala
1362e2d470 Fixed: Restore last selected profile
--HG--
branch : develop
2016-10-27 16:47:44 +02:00
kervala
6d2c530210 Changed: Typo
--HG--
branch : develop
2016-10-27 10:55:20 +02:00
kervala
3c8bd42335 Changed: Minor change
--HG--
branch : develop
2016-10-27 10:54:55 +02:00
kervala
19e8ee1d05 Changed: Simplified all ENDIF and ELSE
--HG--
branch : develop
2016-10-27 10:54:09 +02:00
kervala
f2f2e94e51 Fixed: Crash when calling runAH in Lua scripts too soon
--HG--
branch : develop
2016-10-26 14:29:49 +02:00
kervala
a7531eac0d Fixed: Ryzom client patcher doesn't depend on any cfg file anymore
--HG--
branch : develop
2016-10-25 16:02:46 +02:00
kervala
a0075414c0 Changed: Use empty() to check if a string is empty
--HG--
branch : develop
2016-10-25 15:52:14 +02:00
kervala
7f4fa540e1 Changed: Display a warning when SetWindowTextW fails
--HG--
branch : develop
2016-10-25 11:49:46 +02:00
kervala
0b99222330 Fixed: Clear m_srcDirectory if directory doesn't exist anymore
--HG--
branch : develop
2016-10-23 16:28:17 +02:00
kervala
e9ba12b931 Changed: Display filename in unsuported format warning
--HG--
branch : develop
2016-10-23 16:27:49 +02:00
kervala
e957923ed2 Fixed: Default action tooltip text position
--HG--
branch : develop
2016-10-23 16:24:18 +02:00
kervala
eedebb6833 Changed: Removed trailing spaces at EOL
--HG--
branch : develop
2016-10-23 16:16:48 +02:00
kervala
8db56f5671 Changed: Name edit box better aligned
--HG--
branch : develop
2016-10-22 19:38:13 +02:00
kervala
d52cede669 Fixed: Wrong height in action edit
--HG--
branch : develop
2016-10-22 19:38:05 +02:00
kervala
c2d0a3690f Changed: Name edit box better aligned
--HG--
branch : develop
2016-10-22 19:24:20 +02:00
kervala
de3d3971b7 Changed: Removed trailing spaces at EOL
--HG--
branch : develop
2016-10-22 18:50:43 +02:00
kervala
c106557bbc Changed: Force process name for Ryzom Installer
--HG--
branch : develop
2016-10-22 16:48:34 +02:00
kervala
f22fc6cea7 Changed: Support RYZOM_BUILD CMake option to force Bundle version
--HG--
branch : develop
2016-10-22 16:48:15 +02:00
kervala
76f036e802 Changed: OS X icon slightly changed
--HG--
branch : develop
2016-10-22 16:47:43 +02:00
kervala
39280d10b8 Changed: MACOSX_BUNDLE_BUNDLE_VERSION must a short version
--HG--
branch : develop
2016-10-21 20:00:23 +02:00
kervala
6920f0d5ba Fixed: Use real Ryzom version instead of 1.0
--HG--
branch : develop
2016-10-21 19:03:40 +02:00
kervala
7c9a242b66 Changed: Compile CMigrateDialog anyway even if unused
--HG--
branch : develop
2016-10-21 16:54:08 +02:00
kervala
70be3a6093 Changed: Merge pull request in develop too
--HG--
branch : develop
2016-10-21 16:48:42 +02:00
kervala
177dacf100 Fixed: Compilation of Ryzom Installer
--HG--
branch : develop
2016-10-21 16:09:02 +02:00
kervala
552e147c76 Changed: If old installer doesn't return a version, overwrite it
--HG--
branch : develop
2016-10-21 14:27:05 +02:00
kervala
7ad0b610ba Changed: Open in ReadOnly the process
--HG--
branch : develop
2016-10-21 14:26:46 +02:00
kervala
41fa1a938e Changed: More warnings
--HG--
branch : develop
2016-10-21 14:26:31 +02:00
kervala
0a502f64b2 Changed: More messages in log
--HG--
branch : develop
2016-10-21 12:58:23 +02:00
kervala
fccaee006b Changed: Only check if Ryzom is installed in current directory under Windows
--HG--
branch : develop
2016-10-21 12:57:35 +02:00
kervala
6b9a267abc Changed: Only enable migration under Windows when launched from 2.1 client directory
--HG--
branch : develop
2016-10-21 12:53:10 +02:00
kervala
d574641c79 Changed: HTTP code 307 is not an error
--HG--
branch : develop
2016-10-20 15:30:43 +02:00
kervala
e50c1fcf98 Changed: Write warnings in log
--HG--
branch : develop
2016-10-20 15:30:30 +02:00
kervala
efaadd4301 Changed: Real version of Ryzom Installer as user-agent
--HG--
branch : develop
2016-10-20 15:30:12 +02:00
kervala
22ff9504a7 Changed: Log version of installed Installer
--HG--
branch : develop
2016-10-20 14:47:45 +02:00
kervala
3526efb920 Fixed: 307 is a normal redirect
--HG--
branch : develop
2016-10-20 14:47:28 +02:00
kervala
b6fe697a5d Changed: Init log just after loading config file
--HG--
branch : develop
2016-10-20 14:47:08 +02:00
kervala
084bc2bba9 Changed: Allow to enable Sandbox under OS X
--HG--
branch : develop
2016-10-20 13:53:23 +02:00
kervala
881375c35f Added: Missing file
--HG--
branch : develop
2016-10-20 13:13:53 +02:00
kervala
9321323ba4 Changed: Use sender() instead of member
--HG--
branch : develop
2016-10-20 13:07:56 +02:00
kervala
de2eba12fe Changed: Logs in Ryzom Installer
--HG--
branch : develop
2016-10-20 13:07:18 +02:00
kervala
661975a471 Changed: Simplify toString
--HG--
branch : develop
2016-10-20 12:35:24 +02:00
kervala
3ae41bfa58 Changed: Minor changes
--HG--
branch : develop
2016-10-20 12:34:25 +02:00
kervala
517336923f Changed: Replace sscanf by fromString
--HG--
branch : develop
2016-10-20 12:33:37 +02:00
kervala
25faa27ef5 Fixed: Compilation with VC++ 2015 (need spaces around NL_I64)
--HG--
branch : develop
2016-10-20 12:30:24 +02:00
kervala
2858fce968 Fixed: Trying to resume after a 206 HTTP status code
--HG--
branch : develop
2016-10-19 17:23:42 +02:00
kervala
5539873337 Fixed: Use 3 numbers version (without revision) for MACOSX_BUNDLE_SHORT_VERSION_STRING
--HG--
branch : develop
2016-10-19 17:07:31 +02:00
kervala
37fe37c8ed Fixed: When incrementing version of ini file, check servers by ID not by index
--HG--
branch : develop
2016-10-19 17:06:25 +02:00
kervala
1cbbd9083f Changed: Use best dictionary size (128MB) to compress files and other parameters auto
--HG--
branch : develop
2016-10-19 13:31:45 +02:00
kervala
b62562c896 Changed: Save default profile when clicking on Play or Configure
--HG--
branch : develop
2016-10-19 10:49:51 +02:00
kervala
142155d8c8 Fixed: Use & to not wait until client exits in bash script
--HG--
branch : develop
2016-10-19 10:49:20 +02:00
kervala
4f996024d9 Fixed: Catch ESocket exceptions when disconnecting and log it
--HG--
branch : develop
2016-10-19 10:48:32 +02:00
kervala
c05a8d3c2e Fixed: Try to put executable permissions before to launch an executable under UNIX
--HG--
branch : develop
2016-10-19 10:46:56 +02:00
kervala
3c5a7de588 Fixed: Also rename executable under Linux
--HG--
branch : develop
2016-10-19 09:52:12 +02:00
kervala
31f4957a40 Fixed: Display a more explicit error if NLMISC::CSystemInfo::availableHDSpace returns 0
--HG--
branch : develop
2016-10-18 20:34:25 +02:00
kervala
daf3edd056 Changed: Typo
--HG--
branch : develop
2016-10-18 17:49:56 +02:00
kervala
f93e5458d9 Changed: Skip already uncompressed files
--HG--
branch : develop
2016-10-18 17:46:31 +02:00
kervala
a62e5ec380 Changed: Minor changes
--HG--
branch : develop
2016-10-18 17:45:55 +02:00
kervala
a656985518 Fixed: Possible SQL injection, fixes #297
--HG--
branch : develop
2016-10-18 17:44:47 +02:00
kervala
d7f62326aa Fixed: Restart Installer at the end of installation/migration
--HG--
branch : develop
2016-10-18 13:42:19 +02:00
kervala
1162edcb46 Fixed: Case where additional files are not in source directory
--HG--
branch : develop
2016-10-18 13:37:43 +02:00
kervala
0080dfc44e Changed: Use exec command under OS X to relaunch client
--HG--
branch : develop
2016-10-18 10:32:45 +02:00
kervala
6801bf34d4 Fixed: Special case under Windows when Installer is run from TEMP directory
--HG--
branch : develop
2016-10-18 10:26:41 +02:00
kervala
bf8d9aef12 Changed: Check written bytes at each step and at the end
--HG--
branch : develop
2016-10-18 10:25:31 +02:00
kervala
508a6723a2 Changed: Use getInstallerCurrentDirPath() instead of QApplication::applicationDirPath()
--HG--
branch : develop
2016-10-18 10:24:10 +02:00
kervala
29aa0c1722 Changed: Restart installed Installer intead of current one
--HG--
branch : develop
2016-10-18 10:23:49 +02:00
kervala
a57a0eb0ce Fixed: Support QFile write in smaller parts
--HG--
branch : develop
2016-10-17 20:45:14 +02:00
kervala
f24346486f Fixed: Use parent directories
--HG--
branch : develop
2016-10-17 16:51:01 +02:00
kervala
e43551908e Fixed: Missing variable
--HG--
branch : develop
2016-10-17 15:43:05 +02:00
kervala
0e0ae0fde4 Fixed: Typo...
--HG--
branch : develop
2016-10-17 13:52:20 +02:00
kervala
25824bf8bf Fixed: Check exact filename with pgrep
--HG--
branch : develop
2016-10-17 13:29:37 +02:00
kervala
292dd3b6fb Fixed: Ryzom was the executable name in same directory
--HG--
branch : develop
2016-10-17 13:13:55 +02:00
kervala
3a2488a126 Fixed: Escape path (it can contains spaces)
--HG--
branch : develop
2016-10-17 13:08:44 +02:00
kervala
273d5ab80d Fixed: getInstallerCurrentFilePath instead of getInstallerCurrentDirPath
--HG--
branch : develop
2016-10-17 13:08:14 +02:00
kervala
8f2fc49d7d Changed: Don't need arguments
--HG--
branch : develop
2016-10-17 13:07:32 +02:00
kervala
4aac2d263b Fixed: Bundle name under OS X
--HG--
branch : develop
2016-10-17 11:24:31 +02:00
kervala
3476eeb5e9 Changed: Don't copy twice the same file under other platforms than Windows
--HG--
branch : develop
2016-10-17 11:23:49 +02:00
kervala
45c326a733 Changed: Keep other servers when upgrading ryzom_installer.ini
--HG--
branch : develop
2016-10-17 11:20:20 +02:00
kervala
ab1fb50ab5 Changed: Relaunch installed Ryzom Installer if exists
--HG--
branch : develop
2016-10-17 11:19:50 +02:00
kervala
d1e078aea5 Fixed: getInstallerCurrentDirPath() returns bundle parent directory under OS X
--HG--
branch : develop
2016-10-17 11:19:11 +02:00
kervala
f40e6deb7a Changed: Display also destination in error
--HG--
branch : develop
2016-10-17 11:17:35 +02:00
kervala
48f013a86e Changed: Use getInstallerCurrentFilePath() instead of QApplication::applicationFilePath()
--HG--
branch : develop
2016-10-17 11:16:34 +02:00
kervala
0101cdfacf Fixed: Recursive copy
--HG--
branch : develop
2016-10-17 11:13:49 +02:00
kervala
cb878500ad Fixed: Ryzom Installer executable under OS X
--HG--
branch : develop
2016-10-17 11:12:06 +02:00
kervala
c8891166ff Changed: Disable FXAA checkbox if bloom not supported
--HG--
branch : develop
2016-10-16 17:39:07 +02:00
kervala
8e1123b9fb Changed: Upgrade scripts
--HG--
branch : develop
2016-10-16 17:38:37 +02:00
kervala
bf39b96792 Fixed: Compilation
--HG--
branch : develop
2016-10-16 17:38:00 +02:00
kervala
b78444490c Fixed: Infinite loop when HTTP error occurs
--HG--
branch : develop
2016-10-16 17:29:10 +02:00
kervala
a5a488da3e Changed: Always launch the more recent version of Installer
--HG--
branch : develop
2016-10-16 17:28:17 +02:00
kervala
f65883296b Changed: Use getInstallerInstalledFilePath() to get installed Installer full path
--HG--
branch : develop
2016-10-16 17:26:05 +02:00
kervala
34734e4fbe Fixed: Display all executables under OS X and Linux
--HG--
branch : develop
2016-10-16 17:22:51 +02:00
kervala
35b79a347b Changed: Updated translations
--HG--
branch : develop
2016-10-16 17:20:02 +02:00
kervala
cfe14a5bcd Changed: Better profiles editor under OS X
--HG--
branch : develop
2016-10-16 17:19:51 +02:00
kervala
999fd9d3aa Changed: Install shorcuts in Applications instead of /Applications
--HG--
branch : develop
2016-10-15 17:13:51 +02:00
kervala
43736cf523 Fixed: Wrong filename (because unallocated)
--HG--
branch : develop
2016-10-15 17:12:51 +02:00
kervala
f14a220e8e Changed: Use flat frames (better under Windows XP)
--HG--
branch : develop
2016-10-15 17:12:20 +02:00
kervala
85c2535a1f Fixed: Deadlock while calling CoUninitialize()
--HG--
branch : develop
2016-10-15 17:11:53 +02:00
kervala
7a0a35586a Changed: Copy Ryzom Installer in parent directory if present
--HG--
branch : develop
2016-10-15 10:27:34 +02:00
kervala
a70b4d2613 Fixed: Also copy DLLs compatible with Ryzom Installer
--HG--
branch : develop
2016-10-15 10:22:50 +02:00
kervala
016e075fa5 Changed: Only install same client arch as Installer under Linux
--HG--
branch : develop
2016-10-13 19:50:11 +02:00
kervala
4d6842495d Changed: Use a 128x128 icon for Linux
--HG--
branch : develop
2016-10-12 15:12:26 +02:00
kervala
a8d741882b Changed: Also set executable flag for ryzom_installer_qt
--HG--
branch : develop
2016-10-12 15:12:09 +02:00
kervala
01fd44cdc2 Changed: Don't need to install PNG, it'll be created
--HG--
branch : develop
2016-10-11 20:27:55 +02:00