Commit graph

1160 commits

Author SHA1 Message Date
kervala
2db7ca9729 Changed: Use std::numeric_limits instead of ~0
--HG--
branch : develop
2016-06-26 19:43:08 +02:00
kervala
4e761f69d6 Changed: Use toString instead of std::stringstream
--HG--
branch : develop
2016-06-26 14:54:28 +02:00
kervala
83c97c6c36 Changed: Init CSystemUtils in INelContext
--HG--
branch : develop
2016-06-19 20:48:30 +02:00
Nimetu
7e488219a7 Changed: Add scrollbar to macro commands list
--HG--
branch : develop
2016-06-16 23:32:31 +03:00
kervala
389e5712df Changed: Allow to compile Ryzom Installer alone
--HG--
branch : develop
2016-06-12 14:13:42 +02:00
kervala
70aad8085d Changed: LZMA updated to 16.02
--HG--
branch : develop
2016-06-07 13:22:34 +02:00
kervala
e140951e56 Changed: More details on OS and machine in client.log
--HG--
branch : develop
2016-06-07 13:21:45 +02:00
kervala
9a7bcd8613 Fixed: Create Ryzom profile folder if not already created and return 1 if unable to create it
--HG--
branch : develop
2016-05-29 20:36:53 +02:00
kervala
13ab34d174 Changed: Remove useless comments/commented code
--HG--
branch : develop
2016-05-29 20:35:56 +02:00
kervala
aeb33f9967 Fixed: Set VSync value after 3D driver initialized
--HG--
branch : develop
2016-05-27 22:17:25 +02:00
kervala
efe00fa8bf Changed: Replace string empty assign by clear()
--HG--
branch : develop
2016-05-25 23:19:26 +02:00
kervala
4b1959a560 Changed: Replace size() comparisons by empty()
--HG--
branch : develop
2016-05-25 23:18:11 +02:00
kervala
5ad9a57ada Fixed: Append _dev suffix to ryzom_client under Linux too
--HG--
branch : develop
2016-05-24 11:19:41 +02:00
kervala
df1e6aa11b Changed: New command /version to display Ryzom client version
--HG--
branch : develop
2016-05-18 14:29:23 +02:00
kervala
0c811510d5 Changed: Delete SoundMngr to avoid memory leaks
--HG--
branch : develop
2016-05-17 10:59:28 +02:00
kervala
00ccc811f6 Changed: LZMA updated to 16.00
--HG--
branch : develop
2016-05-15 12:04:31 +02:00
kervala
5b3683bbd3 Changed: Replace other cp=1 by cp=2
--HG--
branch : develop
2016-05-12 20:02:40 +02:00
kervala
c1d142b9ee Changed: Append cp=2 parameter to query when requesting salt to know that we support SHA512 crypt
--HG--
branch : develop
2016-05-12 19:53:16 +02:00
kervala
011b545ac8 Changed: Minor changes
--HG--
branch : develop
2016-05-12 19:52:20 +02:00
kervala
a885b9b557 Changed: Added new command /playedTime that displays time played with this character
--HG--
branch : develop
2016-05-12 19:51:52 +02:00
kervala
c95bd7faba Changed: Check for NULL X509_INFO
--HG--
branch : develop
2016-05-08 13:33:38 +02:00
kervala
a0916ca14a Changed: Useless to put a space after method name (if needed, we'll add ourself later)
--HG--
branch : develop
2016-05-08 13:33:21 +02:00
kervala
8099537d02 Changed: Minor changes
--HG--
branch : develop
2016-05-08 13:31:54 +02:00
kervala
8fb8cfb218 Changed: Specify host too for login HTTP requests
--HG--
branch : develop
2016-05-08 13:31:08 +02:00
kervala
0786abd9f6 Backed out changeset: d758db202adf
--HG--
branch : develop
2016-05-05 17:57:05 +02:00
Nimetu
7cd5204457 Changed: When writing to icfg or keys files, write to temp file and then rename
--HG--
branch : develop
2016-04-29 12:16:43 +03:00
kervala
811a39aa1a Changed: Display certificate path
--HG--
branch : develop
2016-04-18 13:40:13 +02:00
kervala
631b7346c2 Fixed: Warnings with clang
--HG--
branch : develop
2016-04-18 13:40:02 +02:00
kervala
5b53bbbe3f Fixed: Ignore "certificate already in hash table" errors
--HG--
branch : develop
2016-04-18 13:39:48 +02:00
kervala
8090ddd12f Changed: Display parameters passed to batch in log
--HG--
branch : develop
2016-04-12 19:54:38 +02:00
kervala
28f66549a0 Fixed: CURLE_NOT_BUILT_IN undefined with some CURL versions
--HG--
branch : develop
2016-04-12 15:42:43 +02:00
kervala
c5e57273a9 Changed: Give priority to login specified as argument
--HG--
branch : develop
2016-04-06 09:36:06 +02:00
kervala
bac64a0860 Changed: Reverted change, not sure it fixes anything
--HG--
branch : develop
2016-04-02 19:33:53 +02:00
kervala
89be3e39de Fixed: Clang warnings
--HG--
branch : develop
2016-03-19 19:29:03 +01:00
kervala
cf20e21f83 Changed: Use named arguments in uiFilterMenuDynamic translation
--HG--
branch : develop
2016-03-18 22:11:03 +01:00
kervala
4074f095eb Fixed: Move setrlimit after initializing logs
--HG--
branch : develop
2016-03-18 22:10:19 +01:00
kervala
94f4e901c9 Changed: Fix clang warnings
--HG--
branch : develop
2016-03-18 22:06:20 +01:00
kervala
6e816dfaa2 Changed: Init log before calling prelogInit()
--HG--
branch : develop
2016-03-18 18:10:01 +01:00
kervala
413dd8eb93 Fixed: We need to restart client from the same startup directory as parent one
--HG--
branch : develop
2016-03-16 19:13:57 +01:00
kervala
d113bb7b10 Changed: Search client_default.cfg also in ETC_RYZOM_PREFIX
--HG--
branch : develop
2016-03-15 17:44:21 +01:00
kaetemi
4762b33ac0 Fix thunder update
--HG--
branch : develop
2016-03-10 12:08:48 +01:00
kaetemi
c8646b26d1 Fix rounding error in _RyzomDay and _RyzomTime calculation
--HG--
branch : develop
2016-03-10 12:08:48 +01:00
kaetemi
48a120b21f Fix curl crash
--HG--
branch : develop
2016-03-08 12:46:15 +01:00
kervala
846be58379 Changed: Better warning
--HG--
branch : develop
2016-03-05 12:42:32 +01:00
kervala
4519893d78 Fixed: Loading PEM file
--HG--
branch : develop
2016-03-01 13:45:45 +01:00
kervala
3ddefec294 Changed: Delete updt_nl.bat/sh only when patch enabled and after determining ClientRootPath
--HG--
branch : develop
2016-02-28 16:41:53 +01:00
kervala
eac2cec783 Fixed: Wrong check for OS X
--HG--
branch : develop
2016-02-28 16:38:12 +01:00
kervala
6104011d11 Changed: New functions launchProgramArray to pass an array of strings as arguments (easier to escape)
--HG--
branch : develop
2016-02-27 18:38:58 +01:00
kervala
76674c4fd4 Changed: Improve formatting of UNIX script
--HG--
branch : develop
2016-02-27 18:35:59 +01:00
kervala
58d9ba6c50 Fixed: Use / instead of \ under UNIX
--HG--
branch : develop
2016-02-27 18:34:50 +01:00
kervala
98bd20967d Fixed: Use export under UNIX to make variables available in upgd_nl.sh too
--HG--
branch : develop
2016-02-27 18:33:59 +01:00
kervala
b897d9fe74 Fixed: Wrong patch categories
--HG--
branch : develop
2016-02-27 18:32:45 +01:00
kervala
2b64e30aa2 Changed: Minor changes
--HG--
branch : develop
2016-02-23 19:42:15 +01:00
kervala
c0fe37ab8e Fixed: Memory leak
--HG--
branch : develop
2016-02-23 19:41:49 +01:00
kervala
e7645739a6 Fixed: Don't append empty login, password or shard ID to batch
--HG--
branch : develop
2016-02-23 16:58:57 +01:00
kervala
89d1c51408 Fixed: Use full path for client_default.cfg
--HG--
branch : develop
2016-02-23 16:58:07 +01:00
kervala
baf9f6c7f9 Changed: Make OpenSSL required
--HG--
branch : develop
2016-02-21 14:21:49 +01:00
kervala
18c5193fb9 Fixed: Compilation under Linux
--HG--
branch : develop
2016-02-21 13:55:58 +01:00
kervala
901759d039 Changed: Don't use DOS path under UNIX
--HG--
branch : develop
2016-02-21 13:17:10 +01:00
kervala
9a4156d9cf Changed: Launch upgrade script even if we don't want to launch client
--HG--
branch : develop
2016-02-21 13:16:50 +01:00
kervala
bfe817f92c Changed: Minor changes
--HG--
branch : develop
2016-02-21 13:16:04 +01:00
kervala
24dda2e7b9 Changed: Don't use SrcPath and DstPath anymore (ClientPatchPath and ClientRootPath are more explicit)
--HG--
branch : develop
2016-02-21 13:15:29 +01:00
kervala
4b023d1ace Changed: Renamed DSTPATH to ROOTPATH and SRCPATH to UNPACKPATH and fixed paths with spaces
--HG--
branch : develop
2016-02-21 13:13:28 +01:00
kervala
aa15b96187 Changed: Add a 7 seconds pause under UNIX
--HG--
branch : develop
2016-02-21 13:10:48 +01:00
kervala
ce382f87dc Fixed: Compilation
--HG--
branch : develop
2016-02-20 20:42:43 +01:00
kervala
fad63280db Try to open certificate using cURL callback (allow to load it from BNP and support UTF-8 pathes), issue #261
--HG--
branch : develop
2016-02-20 19:25:31 +01:00
kervala
9322fa87b3 Music player can now handle unicode filenames and m3u8 playlists, issue #261
--HG--
branch : develop
2016-02-20 19:12:55 +01:00
kervala
a0f8660d0d Changed: Removed useless commented code
--HG--
branch : develop
2016-02-20 19:11:43 +01:00
kervala
e583a7a970 Huge refactoring of batch creation process, because .bat files don't support unicode at all, we can pass Unicode paths on command-line though, issue #261
--HG--
branch : develop
2016-02-20 19:11:05 +01:00
kervala
3c1a41d2b3 Changed: Use ClientCfg.getDefaultConfigLocation to get location of client root
--HG--
branch : develop
2016-02-20 19:07:34 +01:00
kervala
3487bf16ff Fixed: Display human readable version of file timestamps
--HG--
branch : develop
2016-02-20 19:06:15 +01:00
kervala
0c7aeaaac7 Changed: Display only filename in patch screen
--HG--
branch : develop
2016-02-20 19:05:39 +01:00
kervala
83090fc2f5 Changed: Use uiByte translation
--HG--
branch : develop
2016-02-20 19:04:34 +01:00
kervala
872bb2e697 Changed: Don't put spaces in front of percent value
--HG--
branch : develop
2016-02-20 19:04:18 +01:00
kervala
1bfc12bd6c Changed: Use upgrade script if present
--HG--
branch : develop
2016-02-20 19:03:31 +01:00
kervala
d3ad91923d Changed: Use --profile instead of --config for client profile expression
--HG--
branch : develop
2016-02-20 19:02:35 +01:00
kervala
dba1ff8cf9 Changed: Added NamingPolicyURL variable in cfg
--HG--
branch : develop
2016-02-20 19:00:25 +01:00
kervala
6e54ba6420 Display patch errors/warnings in UTF-8, issue #261
--HG--
branch : develop
2016-02-20 18:59:03 +01:00
kervala
e68d6e3617 Changed: Minor changes
--HG--
branch : develop
2016-02-20 18:53:39 +01:00
kervala
4d48beeaa4 Use ANSI versions of Win32 functions when not using Unicode text, issue #261
--HG--
branch : develop
2016-02-20 18:38:17 +01:00
kervala
ac51d16583 Use Unicode versions of Win32 functions, issue #261
--HG--
branch : develop
2016-02-20 18:30:51 +01:00
kervala
f644805ff7 Replace ifstream and ofstream to manage UTF-8 filenames, issue #261
--HG--
branch : develop
2016-02-20 18:15:04 +01:00
kervala
9370e93dd6 Removed useless comments/commented code
--HG--
branch : develop
2016-02-20 18:09:24 +01:00
kervala
aaecf96b67 Use new wrapper insteaf of fopen, issue #261
--HG--
branch : develop
2016-02-20 17:56:25 +01:00
kervala
52252e691b Changed: We're now using crash_report to send reports
--HG--
branch : develop
2016-02-15 12:08:55 +01:00
kervala
5981452e42 Changed: Add other parameters for client
--HG--
branch : develop
2016-02-15 12:07:49 +01:00
kervala
1b2655eaa3 Changed: Translate bytes units in patch screen
--HG--
branch : develop
2016-02-13 23:42:18 +01:00
kervala
c4fc57a0bc Changed: Useless code, but later we could call launchProgram
--HG--
branch : develop
2016-02-13 23:40:59 +01:00
kervala
1c6378841a Changed: Path can be too long, so display only filename
--HG--
branch : develop
2016-02-13 23:40:25 +01:00
kervala
a264be16f8 Changed: Don't need to call exit(0), Ryzom will exit itself after that
--HG--
branch : develop
2016-02-13 23:39:40 +01:00
kervala
e92a3e03a8 Changed: Call launchProgram instead of CreateProcess
--HG--
branch : develop
2016-02-13 23:39:05 +01:00
kervala
a790d1766e Fixed: Wait until Ryzom client is released from memory before to launch the new client
--HG--
branch : develop
2016-02-13 23:37:21 +01:00
kervala
13f5347ee4 Changed: If --config is specified on command-line, we shouldn't check client_default.cfg in current directory
--HG--
branch : develop
2016-02-13 23:36:22 +01:00
kervala
b262c90fdb Changed: Minor changes
--HG--
branch : develop
2016-02-13 23:35:37 +01:00
kervala
6e68e4ae31 Changed: Simplify defaultConfigPath order
--HG--
branch : develop
2016-02-13 23:35:06 +01:00
kervala
40d8fdede0 Changed: Don't need to convert a std::string to a std::string
--HG--
branch : develop
2016-02-13 23:34:09 +01:00
kervala
5a779472f3 Changed: LIBXML2_DEFINITIONS was defined twice
--HG--
branch : develop
2016-02-13 23:33:45 +01:00
kervala
a4d98fb13b Changed: Remember startup path (the initial current directory)
--HG--
branch : develop
2016-02-13 23:29:00 +01:00
Nimetu
5d44cc4075 Changed: Set context menu case mode to 'normal'
--HG--
branch : develop
2016-02-13 17:36:40 +02:00
kervala
c28ecf85a0 Changed: Don't call FormatMessage
--HG--
branch : develop
2016-02-13 13:59:32 +01:00
kervala
203e09dca1 Fixed: Check VerboseLog config variable instead of "pPM->isVerboseLog()"
--HG--
branch : develop
2016-02-13 13:58:51 +01:00
kervala
ff73ce9ff3 Changed: Minor changes
--HG--
branch : develop
2016-02-11 21:00:08 +01:00
kervala
8d2e962a7a Fixed: Use %f to display a float
--HG--
branch : develop
2016-02-06 00:24:06 +01:00
kervala
9a573dfd6c Fixed: Don't process again same directory
--HG--
branch : develop
2016-02-06 00:23:43 +01:00
kervala
3e02d29050 Changed: Only display filename because path can be too long for UI
--HG--
branch : develop
2016-02-03 21:57:51 +01:00
kervala
3005d131e9 Changed: Minor changes
--HG--
branch : develop
2016-02-03 21:56:28 +01:00
kervala
39eaaa95c5 Fixed: Compilation of shared library
--HG--
branch : develop
2016-02-02 20:48:49 +01:00
kervala
72e1724b67 Changed: Use absolute path
--HG--
branch : develop
2016-02-02 19:50:04 +01:00
kervala
923434aa72 Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess
--HG--
branch : develop
2016-02-02 19:49:37 +01:00
kervala
d1252b44dd Changed: Convert unpackTo directories to absolute directories
--HG--
branch : develop
2016-02-02 19:28:47 +01:00
kervala
69b5157da5 Fixed: Use launchProgram to launch batch
--HG--
branch : develop
2016-02-02 19:28:10 +01:00
kervala
6ff327f99c Fixed: Use absolute paths in patch batch and escape all paths
Fixed: If not using batch file and unable to delete/move some files, use batch anyway only for these files

--HG--
branch : develop
2016-02-02 19:26:02 +01:00
kervala
32c7ee794d Changed: Use application or current directory as root directory for patch
--HG--
branch : develop
2016-02-02 19:22:25 +01:00
kervala
705173bce7 Changed: Minor changes
--HG--
branch : develop
2016-02-02 19:21:14 +01:00
kervala
dd695f0b1f Fixed: Compile seven_zip for tools
--HG--
branch : develop
2016-02-02 14:31:57 +01:00
kervala
0979b19e8e Fixed: Use absolute path of current directory instead of relative path (avoid to check more than once the same location)
--HG--
branch : develop
2016-02-02 10:23:57 +01:00
kervala
b3309951c4 Changed: Moved LZMA and 7z functions/methods in seven_zip
Changed: Removed old 7z/lzma code since the library has been updated
Fixed: Implemented packLZMA function to compress a file with LZMA

--HG--
branch : develop
2016-02-02 10:21:42 +01:00
kervala
733f319c4f Fixed: Only call setCPUMask once
--HG--
branch : develop
2016-01-27 14:44:13 +01:00
kervala
36f886f5f1 Changed: Removed more useless dependencies
--HG--
branch : develop
2016-01-26 22:43:35 +01:00
kervala
af2f38612a Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
2016-01-26 22:30:13 +01:00
kervala
30d7571aad Fixed: Compilation under Linux
--HG--
branch : develop
2016-01-23 20:32:37 +01:00
kervala
be92ac8e60 Fixed: Display of emotes using the same character case as in translations and showing corresponding command to type
--HG--
branch : develop
2016-01-23 19:06:28 +01:00
kervala
ba7b4094ef Changed: Use CCmdArgs to get program path and search data there
--HG--
branch : develop
2016-01-23 19:04:52 +01:00
kervala
482b1ba73a Fixed: Display wrong commands with UTF-8 characters
--HG--
branch : develop
2016-01-23 19:04:07 +01:00
kervala
dcd38de3f2 Changed: Minor changes
--HG--
branch : develop
2016-01-23 18:59:20 +01:00
kervala
61fb66d3af Changed: Support -config/-c parameter passed by Ryzom Installer
--HG--
branch : develop
2016-01-23 18:58:58 +01:00
kervala
895df72e3f Changed: Use CCmdArgs to parse client command-line
--HG--
branch : develop
2016-01-23 18:57:32 +01:00
kervala
ded0b3a252 Changed: Remove commented old crash report code
--HG--
branch : develop
2016-01-23 18:55:56 +01:00
kervala
e35fe4384b Changed: Use CBigFile to unpack BNP in CPatchManager
--HG--
branch : develop
2016-01-23 12:27:41 +01:00
kervala
1082c49aa6 Changed: Use a different original filename for DEV version
--HG--
branch : develop
2016-01-20 13:06:15 +01:00
kervala
b0ad9b0315 Changed: Only add search paths that exist
--HG--
branch : develop
2016-01-18 21:29:43 +01:00
kervala
5b3e181227 Changed: Minor changes
--HG--
branch : develop
2016-01-16 23:47:58 +01:00
kaetemi
53b62c66d2 More of that VS2015 magic
--HG--
branch : develop
2016-01-15 16:17:23 +01:00
kaetemi
5c6edf6cee And more VS2015 fixes
--HG--
branch : develop
2016-01-15 12:33:27 +01:00
kaetemi
e4b72e63a1 More of the VS2015 stuff
--HG--
branch : develop
2016-01-15 12:29:05 +01:00
kervala
cb26d897ae Fixed: Warning with clang
--HG--
branch : develop
2016-01-14 21:27:42 +01:00
kervala
27ae7dddf0 Fixed: Right directory under OS X
--HG--
branch : develop
2016-01-14 21:27:10 +01:00
kervala
c8c563807d Fixed: Compilation under OS X
--HG--
branch : develop
2016-01-14 10:21:50 +01:00
kervala
a4dd37efc9 Changed: Try different alternative paths for game folders
--HG--
branch : develop
2016-01-13 19:52:58 +01:00
kervala
6ec0ab01cf Changed: Init CLoginProgressPostThread only if InstallStatsUrl is defined
--HG--
branch : develop
2016-01-12 22:31:06 +01:00
kervala
7104a6cb29 Fixed: Wrong directory
--HG--
branch : develop
2016-01-11 13:53:01 +01:00
kervala
fc5e6ca982 Fixed: Error when signing bundle
--HG--
branch : develop
2016-01-11 12:55:09 +01:00
kervala
fe40e9e6b7 Fixed: Compilation
--HG--
branch : develop
2016-01-09 19:41:45 +01:00
kervala
93c6f521c5 Fixed: Compilation
--HG--
branch : develop
2016-01-09 19:32:20 +01:00
kervala
f10060eaa1 Fixed: Compilation
--HG--
branch : develop
2016-01-09 18:10:16 +01:00
kervala
688076e056 Changed: Enable new LZMA SDK code
--HG--
branch : develop
2016-01-09 17:17:24 +01:00
kervala
1a3f5729fe Changed: Update LZMA SDK to latest version
--HG--
branch : develop
2016-01-09 17:15:31 +01:00
kervala
c81301ca30 Changed: Don't need to extract the original filename
--HG--
branch : develop
2016-01-09 16:31:36 +01:00
kervala
4e4f19f809 Changed: Replace strlwr by toLower
--HG--
branch : develop
2016-01-09 16:07:38 +01:00
kervala
cc0174e800 Changed: Moved 7z/lzma code in login_patch_seven_zip.cpp
Fixed: Updated code to work with new versions of LZMA SDK

--HG--
branch : develop
2016-01-09 15:53:25 +01:00