Commit graph

5757 commits

Author SHA1 Message Date
kervala
81408bbc5a Fixed: Missing translation for bytes in patcher
--HG--
branch : develop
2016-03-01 14:01:47 +01:00
kervala
c182708cd0 Changed: Escape Linux upgrade script as well
--HG--
branch : develop
2016-03-01 13:46:04 +01:00
kervala
4519893d78 Fixed: Loading PEM file
--HG--
branch : develop
2016-03-01 13:45:45 +01:00
kervala
22b582fe46 Fixed: Escape paths with quotes under OS X
--HG--
branch : develop
2016-02-29 09:32:27 +01:00
kervala
d39911345e Fixed: Only use "open" if extension is app
--HG--
branch : develop
2016-02-28 16:44:08 +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
3f2d1da933 Added: Scripts launched after patch
--HG--
branch : develop
2016-02-28 16:36:46 +01:00
kervala
0040fa888e Fixed: Compilation under OS X
--HG--
branch : develop
2016-02-28 12:45:31 +01:00
kervala
a47d3845bd Fixed: Compilation
--HG--
branch : develop
2016-02-27 19:22:23 +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
b3b48a3ae3 Changed: New functions to convert arguments string from/to an array of strings
--HG--
branch : develop
2016-02-27 18:37:43 +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
79be594f54 Changed: Trim URL before to display it
--HG--
branch : develop
2016-02-23 17:05:04 +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
ad4857cfaa Changed: Minor changes
--HG--
branch : develop
2016-02-23 16:57:34 +01:00
kervala
dd15287d6c Changed: Use a wchar_t buffer for registry
--HG--
branch : develop
2016-02-21 20:29:14 +01:00
kervala
14f46e884b Changed: Updated world_editor_classes.xml
--HG--
branch : develop
2016-02-21 17:10:28 +01:00
kervala
3dfcdb758a Fixed: Add unlearn_brick command for missions (a big thanks to Depyraken for the patch!)
--HG--
branch : develop
2016-02-21 17:05:54 +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
35e3ef1d68 Changed: Minor changes (replaced l: by L:)
--HG--
branch : develop
2016-02-21 13:30:48 +01:00
kervala
f698c31aa1 Changed: Allow to compile WITH_NEL_TESTS without compiling tools
--HG--
branch : develop
2016-02-21 13:20:49 +01:00
kervala
3e14025cf8 Changed: Include wang_hash.h in NLMISC files
--HG--
branch : develop
2016-02-21 13:19:41 +01:00
kervala
d18c7b24f5 Changed: Don't look for Qt5WinExtras in root CmakeLists.txt
--HG--
branch : develop
2016-02-21 13:19:23 +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
460708a015 Changed: Use L:/ path instead of R:/ for leveldesign
--HG--
branch : develop
2016-02-21 13:10:16 +01:00
kervala
ce382f87dc Fixed: Compilation
--HG--
branch : develop
2016-02-20 20:42:43 +01:00
kervala
c6ac53598b Changed: Renamed uiCP_Surame and uiCP_Name to uiCP_FirstName and uiCP_LastName
--HG--
branch : develop
2016-02-20 20:42:29 +01:00
kervala
ae100981d7 Changed: Removed extraenous spaces at the end of lines
--HG--
branch : develop
2016-02-20 20:41:34 +01:00
kervala
087ee9b76b Changed: Added IG Name Generator by Osquallo (thanks a lot for your amazing work!)
--HG--
branch : develop
2016-02-20 19:48:13 +01:00
kervala
db92fc81f1 Changed: Minor changes
--HG--
branch : develop
2016-02-20 19:26:43 +01:00
kervala
3f0e6f3757 Fixed: Compilation under Linux (thanks Kishan for the patch!), fixes #260
--HG--
branch : develop
2016-02-20 19:26:34 +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
0575a51632 Last changes for Unicode support under Windows, fixes #261
--HG--
branch : develop
2016-02-20 19:21:39 +01:00
kervala
2b7ce14a57 Changed: Minor changes
--HG--
branch : develop
2016-02-20 19:20:49 +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
591c7ed0bf Fixed: Display an error if unable to open a ogg file
--HG--
branch : develop
2016-02-20 19:01:31 +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
baecfcf944 Adapt CSTLoader to use nlfopen and some simplifications, issue #261
--HG--
branch : develop
2016-02-20 18:56:21 +01:00
kervala
33a30d186c Use Unicode of CreateProcess, issue #261
--HG--
branch : develop
2016-02-20 18:54:32 +01:00
kervala
e68d6e3617 Changed: Minor changes
--HG--
branch : develop
2016-02-20 18:53:39 +01:00
kervala
ba077aaab8 Use right versions of Win32 functions, issue #261
--HG--
branch : develop
2016-02-20 18:52:57 +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
69547db6ce New function to format a timestamp to human readable
--HG--
branch : develop
2016-02-20 18:10:17 +01:00
kervala
9370e93dd6 Removed useless comments/commented code
--HG--
branch : develop
2016-02-20 18:09:24 +01:00
kervala
6d21e22905 Use CIFile to load font instead of internal Freetype functions, issue #261
--HG--
branch : develop
2016-02-20 18:01:57 +01:00
kervala
aaecf96b67 Use new wrapper insteaf of fopen, issue #261
--HG--
branch : develop
2016-02-20 17:56:25 +01:00
kervala
e69090c457 Create fopen wrapper that internally uses wide characters under Windows, issue #261
--HG--
branch : develop
2016-02-20 17:46:11 +01:00
kaetemi
871093d4ce Merge
--HG--
branch : develop
2016-02-18 11:58:56 +01:00
kaetemi
e28b6deaf9 Fix gl context not being deleted with custom window
--HG--
branch : develop
2016-02-18 11:56:44 +01:00
kaetemi
30077f3977 Move some stuff for easier debug
--HG--
branch : develop
2016-02-18 11:55:58 +01:00
Gary Preston
c2084480c8 libxml include/lib related build errors for studio.
--HG--
branch : develop
2016-02-17 14:52:01 +00:00
Gary Preston
7281c40577 Update indentation of tiles_model::data to match coding standard use of tabs.
--HG--
branch : develop
2016-02-17 14:07:19 +00:00
Gary Preston
48e86eedee Fix qt4 build error.
--HG--
branch : develop
2016-02-17 14:03:57 +00:00
Gary Preston
b4a7ab66ab Add vector include and remove extra qualification on s_InitFlags.
--HG--
branch : develop
2016-02-16 19:01:14 +00:00
kaetemi
1fbc179bc3 Centralized project directory configuration mechanism
--HG--
branch : feature-material-editor
2016-02-16 02:28:03 +01:00
kaetemi
874ac2c921 Move pipeline utilities into new pipeline library
--HG--
branch : feature-material-editor
2016-02-16 00:28:24 +01:00
kaetemi
30c5a88eb7 Sorry
--HG--
branch : develop
2016-02-15 22:09:43 +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
2330fc26ec Fixed: Warning (wrong size)
--HG--
branch : develop
2016-02-15 11:54:28 +01:00
kervala
fdd5f69e2d Fixed: Windows XP doesn't support inet_pton and inet_ntop
--HG--
branch : develop
2016-02-14 19:58:42 +01:00
kervala
767d91ce6d Fixed: Set _WIN32_WINNT used by WinSock for IPv6
--HG--
branch : develop
2016-02-14 19:16:22 +01:00
kervala
edf4331d1a Fixed: Implements IPv6 in CInetAddress
--HG--
branch : develop
2016-02-14 18:21:09 +01:00
Nimetu
6d9c9600a2 Fixed: reloading cached image with style reload:1 hint
--HG--
branch : develop
2016-02-14 01:22:44 +02: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
e2271f8db3 Fixed: All files and directories names are using 8-bits locale at the moment, so don't mix with UTF-8 under Windows (we could improve that later but it'll need a lot of changes, especially for all fopen calls)
--HG--
branch : develop
2016-02-13 23:33:27 +01:00
kervala
4c8d804d25 Fixed: Don't force lower case with only first letter in upper case
--HG--
branch : develop
2016-02-13 23:30:59 +01:00
kervala
e70a169955 Changed: Display a warning when a environment variable doesn't exist
--HG--
branch : develop
2016-02-13 23:30:18 +01:00
kervala
fc69d4cec9 Changed: Use same code as under Linux for OS X when executing sheel scripts
--HG--
branch : develop
2016-02-13 23:30:00 +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
9913ec7e72 Fixed: Don't try to convert next meshes if an error occurs
--HG--
branch : develop
2016-02-13 13:58:21 +01:00
kervala
c9740a9e61 Fixed: Return true when "open" succeeds under OS X
--HG--
branch : develop
2016-02-13 13:57:43 +01:00
kervala
7ed708eae8 Fixed: Display an error if unable to find database.cfg
--HG--
branch : develop
2016-02-12 16:04:55 +01:00
kervala
34282be5af Changed: Reuse NLMISC::formatErrorMessage instead of native FormatMessage
--HG--
branch : develop
2016-02-12 16:04:18 +01:00
kervala
07709e9cfc Changed: Minor changes
--HG--
branch : develop
2016-02-11 21:06:00 +01:00
kervala
53a16257f1 Fixed: CPath::makePathAbsolute removing first /
--HG--
branch : develop
2016-02-11 21:00:54 +01:00
kervala
ff73ce9ff3 Changed: Minor changes
--HG--
branch : develop
2016-02-11 21:00:08 +01:00
kervala
df70c9a9f9 Changed: Minor changes
--HG--
branch : develop
2016-02-10 18:47:35 +01:00
kervala
e9db9dd37b Fixed: Compilation of bin2c (replaced _splitpath and _makepath by something more portable)
--HG--
branch : develop
2016-02-09 13:02:22 +01:00
kervala
328b7ee91f Changed: Increase maximum size of font in chat
--HG--
branch : develop
2016-02-08 14:35:55 +01:00
kervala
47933826b0 Changed: Increase scrollbars width in configuration
--HG--
branch : develop
2016-02-08 14:35:40 +01:00
kervala
34eb27eadb Changed: Translate "No files..." in MP3 player
--HG--
branch : develop
2016-02-08 14:35:11 +01:00
kervala
cb77f1df66 Added: CMake file for bin2c
--HG--
branch : develop
2016-02-07 16:28:23 +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
fd1344a12e Fixed: NeL unit test with GCC
--HG--
branch : develop
2016-02-05 12:29:42 +01:00
kervala
0f727e7714 Changed: Only link to Qt5::WinExtras if required
--HG--
branch : develop
2016-02-04 15:23:02 +01:00
kervala
eb263cd4e4 Fixed: Client patcher compilation
--HG--
branch : develop
2016-02-04 14:32:40 +01:00
kervala
a8fdf67c19 Changed: Simplify client_patcher to not rely on UXT files anymore and only use english
--HG--
branch : develop
2016-02-04 13:21:14 +01:00
kaetemi
9602fcc8f0 Also support AppData/Local to allow a non-roaming config
--HG--
branch : develop
2016-02-04 13:02:32 +01:00
kaetemi
e2d60e8183 Fix tools compilation
--HG--
branch : develop
2016-02-04 12:27:41 +01:00
kaetemi
8ea6f521d3 Fix for VS2008 build
--HG--
branch : develop
2016-02-04 12:07:36 +01:00
kervala
6a7c33fa32 Changed: Updated launchProgramAndWaitForResult to support .bat files
--HG--
branch : develop
2016-02-03 21:58:29 +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
dc95c97a2f Changed: Translate patch screen
--HG--
branch : develop
2016-02-03 21:56:54 +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
27e7efca56 Changed: Use CCmdArgs for client_patcher
--HG--
branch : develop
2016-02-02 19:30:19 +01:00
kervala
5a57de43fa Changed: Simplify client_patcher
--HG--
branch : develop
2016-02-02 19:30:00 +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
9b52f6bc28 Changed: Use "open" to open other programs too under OS X
--HG--
branch : develop
2016-02-02 19:20:34 +01:00
kervala
d8ddb1fd11 Fixed: Async execution of .bat under Windows
--HG--
branch : develop
2016-02-02 19:20:02 +01:00
kervala
be6168d8d6 Removed: Files for patcher
--HG--
branch : develop
2016-02-02 14:32:06 +01:00
kervala
dd695f0b1f Fixed: Compile seven_zip for tools
--HG--
branch : develop
2016-02-02 14:31:57 +01:00
kervala
e5a601c109 Changed: Unit tests for bytesToHumanReadableUnits
--HG--
branch : develop
2016-02-02 12:37:20 +01:00
kervala
092a3226bd Changed: New function bytesToHumanReadableUnits to use specific strings for units
--HG--
branch : develop
2016-02-02 12:37:06 +01:00