Commit graph

2965 commits

Author SHA1 Message Date
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
kervala
ed7586656b Fixed: Wrong check for OS X
--HG--
branch : develop
2016-10-11 18:42:39 +02:00
kervala
9744b44b6e Changed: Specify server to use (the one of default profile)
--HG--
branch : develop
2016-10-11 18:04:01 +02:00
kervala
cc8a200156 Changed: Better error message
--HG--
branch : develop
2016-10-11 18:03:26 +02:00
kervala
bc45604e46 Changed: Only return if downloading data
--HG--
branch : develop
2016-10-11 18:02:55 +02:00
kervala
d2edc7d418 Changed: Remove unused code
--HG--
branch : develop
2016-10-11 18:02:34 +02:00
kervala
0087f4aec9 Changed: Abort if operation failed
--HG--
branch : develop
2016-10-11 18:02:20 +02:00
kervala
27550081da Changed: Put real identifier for Ryzom Installer under OS X
--HG--
branch : develop
2016-10-11 17:46:05 +02:00
kervala
fdf69c006d Changed: Remove useless information in Info.plist
--HG--
branch : develop
2016-10-11 17:45:39 +02:00
kervala
2460943bea Fixed: Check if profiles are correct before using them
--HG--
branch : develop
2016-10-11 17:43:53 +02:00
kervala
f8155c116d Changed: Little optimization
--HG--
branch : develop
2016-10-11 17:43:03 +02:00
kervala
44ddae76b8 Changed: Escape strings that will be in XML file
--HG--
branch : develop
2016-10-11 17:42:46 +02:00
kervala
f0d591bca7 Changed: Remove nameToId
--HG--
branch : develop
2016-10-11 17:41:49 +02:00
kervala
a1fab80cad Changed: Added more comments
--HG--
branch : develop
2016-10-11 17:28:54 +02:00
kervala
977241a37a Changed: Use same name for executable than bundle
--HG--
branch : develop
2016-10-10 20:47:33 +02:00
kervala
efdbedce3e Changed: Disable architecture choice under OS X (always 64 bits)
--HG--
branch : develop
2016-10-10 20:47:15 +02:00
kervala
4ed4c14971 Changed: Create a bundle for Ryzom Installer under OS X
--HG--
branch : develop
2016-10-10 20:02:38 +02:00
kervala
73fd215b21 Fixed: Use exec instead of open to launch an executable under OS X
--HG--
branch : develop
2016-10-10 18:54:03 +02:00
kervala
9a402ea68c Fixed: Create directory before trying to create a client.cfg
--HG--
branch : develop
2016-10-10 18:53:39 +02:00
kervala
f279e5f726 Fixed: Missing .sh file in QRC
--HG--
branch : develop
2016-10-10 16:35:45 +02:00
kervala
5e0338d622 Fixed: Wrong modification dates of files uncompressed from 7z and ZIP archives
--HG--
branch : develop
2016-10-10 16:35:29 +02:00
kervala
7b6a6945e5 Changed: Error 6 occurs when a 7z file is damaged and can't be uncompressed
--HG--
branch : develop
2016-10-09 19:50:35 +02:00
kervala
8caac6363f Changed: Support special bundle structure for OS X client
--HG--
branch : develop
2016-10-09 19:50:06 +02:00
kervala
1a3a0911e3 Changed: Write icon under Linux if not found
--HG--
branch : develop
2016-10-09 15:10:15 +02:00
kervala
cd618d4402 Changed: Remove whole directory if empty
--HG--
branch : develop
2016-10-09 15:09:54 +02:00
kervala
533e01ea5a Changed: Created and used isDirectoryWritable() function
--HG--
branch : develop
2016-10-09 15:09:30 +02:00
kervala
16ee68d3d3 Changed: Write shortcuts under OS X
--HG--
branch : develop
2016-10-09 15:08:37 +02:00
kervala
360907c48d Changed: Better quality icon for Linux
--HG--
branch : develop
2016-10-09 14:51:18 +02:00
kervala
e366d8cb9b Changed: Renamed ryzom_installer.png to ryzom.png
--HG--
branch : develop
2016-10-09 14:50:51 +02:00
kervala
d3bf97e00f Fixed: NL_OS_WIN32 is never defined
--HG--
branch : develop
2016-10-08 18:28:54 +02:00
kervala
263665696a Changed: Don't propose to migrate in CInstallDialog
--HG--
branch : develop
2016-10-08 14:14:37 +02:00
kervala
c348bbb3de Changed: Delete old profiles shortcuts (in case where they are renamed)
--HG--
branch : develop
2016-10-04 19:27:29 +02:00
kervala
d1575b9f58 Fixed: Don't check if directory is empty when reinstalling in same directory
--HG--
branch : develop
2016-10-04 11:58:51 +02:00
kervala
fc6415d64b Fixed: Wrong signals
--HG--
branch : develop
2016-10-03 17:20:43 +02:00
kervala
3df8c75227 Changed: Call updateAddRemoveEntry() instead of setting details twice
--HG--
branch : develop
2016-10-03 17:20:25 +02:00
kervala
0cab55f3f9 Changed: Update product comments
--HG--
branch : develop
2016-10-03 17:19:53 +02:00
kervala
53854c88ae Fixed: EstimatedSize is in KiB
--HG--
branch : develop
2016-10-03 17:19:41 +02:00
kervala
2377b6a45d Changed: Minor changes
--HG--
branch : develop
2016-10-03 17:18:48 +02:00
kervala
983f4f81df Fixed: Create Menu directory before creating shortcuts
--HG--
branch : develop
2016-10-03 17:18:25 +02:00
kervala
72144c3131 Fixed: Wrong size for downloaded components
--HG--
branch : develop
2016-10-03 17:17:57 +02:00
kervala
7d7ce29894 Changed: Installer filename should not depend on server
--HG--
branch : develop
2016-10-03 17:17:20 +02:00