Commit graph

5709 commits

Author SHA1 Message Date
kervala
90962e292f 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 2016-02-20 19:11:05 +01:00
kervala
7e6114985e Changed: Use ClientCfg.getDefaultConfigLocation to get location of client root 2016-02-20 19:07:34 +01:00
kervala
ba5a164ec8 Fixed: Display human readable version of file timestamps 2016-02-20 19:06:15 +01:00
kervala
b2409763f9 Changed: Display only filename in patch screen 2016-02-20 19:05:39 +01:00
kervala
2024023541 Changed: Use uiByte translation 2016-02-20 19:04:34 +01:00
kervala
220930fd02 Changed: Don't put spaces in front of percent value 2016-02-20 19:04:18 +01:00
kervala
703bae5882 Changed: Use upgrade script if present 2016-02-20 19:03:31 +01:00
kervala
0a70560372 Changed: Use --profile instead of --config for client profile expression 2016-02-20 19:02:35 +01:00
kervala
008071caa3 Fixed: Display an error if unable to open a ogg file 2016-02-20 19:01:31 +01:00
kervala
c93112f3c5 Changed: Added NamingPolicyURL variable in cfg 2016-02-20 19:00:25 +01:00
kervala
2f9f1b249d Display patch errors/warnings in UTF-8, issue #261 2016-02-20 18:59:03 +01:00
kervala
35570eb0a3 Adapt CSTLoader to use nlfopen and some simplifications, issue #261 2016-02-20 18:56:21 +01:00
kervala
64af254ece Use Unicode of CreateProcess, issue #261 2016-02-20 18:54:32 +01:00
kervala
e9f8202701 Changed: Minor changes 2016-02-20 18:53:39 +01:00
kervala
f076548844 Use right versions of Win32 functions, issue #261 2016-02-20 18:52:57 +01:00
kervala
50afa42d93 Use ANSI versions of Win32 functions when not using Unicode text, issue #261 2016-02-20 18:38:17 +01:00
kervala
e7bebba3d3 Use Unicode versions of Win32 functions, issue #261 2016-02-20 18:30:51 +01:00
kervala
e4dc8ae94b Replace ifstream and ofstream to manage UTF-8 filenames, issue #261 2016-02-20 18:15:04 +01:00
kervala
3c74803187 New function to format a timestamp to human readable 2016-02-20 18:10:17 +01:00
kervala
bfb32b811d Removed useless comments/commented code 2016-02-20 18:09:24 +01:00
kervala
fa8f3b1c0f Use CIFile to load font instead of internal Freetype functions, issue #261 2016-02-20 18:01:57 +01:00
kervala
808f7b2c30 Use new wrapper insteaf of fopen, issue #261 2016-02-20 17:56:25 +01:00
kervala
667ddd1989 Create fopen wrapper that internally uses wide characters under Windows, issue #261 2016-02-20 17:46:11 +01:00
kaetemi
e22507ed1f Merge 2016-02-18 11:58:56 +01:00
kaetemi
f0051bb24d Fix gl context not being deleted with custom window 2016-02-18 11:56:44 +01:00
kaetemi
8bd8b3ea3e Move some stuff for easier debug 2016-02-18 11:55:58 +01:00
Gary Preston
20bc437d54 libxml include/lib related build errors for studio. 2016-02-17 14:52:01 +00:00
Gary Preston
816058ae75 Update indentation of tiles_model::data to match coding standard use of tabs. 2016-02-17 14:07:19 +00:00
Gary Preston
ba13914303 Fix qt4 build error. 2016-02-17 14:03:57 +00:00
Gary Preston
cb44c01ad4 Add vector include and remove extra qualification on s_InitFlags. 2016-02-16 19:01:14 +00:00
kaetemi
db5c59d607 Centralized project directory configuration mechanism 2016-02-16 02:28:03 +01:00
kaetemi
9815393c27 Move pipeline utilities into new pipeline library 2016-02-16 00:28:24 +01:00
kaetemi
ab7512cfc0 Sorry 2016-02-15 22:09:43 +01:00
kervala
544aaa2510 Changed: We're now using crash_report to send reports 2016-02-15 12:08:55 +01:00
kervala
6dcae90a4c Changed: Add other parameters for client 2016-02-15 12:07:49 +01:00
kervala
ea37b61710 Fixed: Warning (wrong size) 2016-02-15 11:54:28 +01:00
kervala
395df606c0 Fixed: Windows XP doesn't support inet_pton and inet_ntop 2016-02-14 19:58:42 +01:00
kervala
588b832ddb Fixed: Set _WIN32_WINNT used by WinSock for IPv6 2016-02-14 19:16:22 +01:00
kervala
c63e211cab Fixed: Implements IPv6 in CInetAddress 2016-02-14 18:21:09 +01:00
Nimetu
a16f8a6f18 Fixed: reloading cached image with style reload:1 hint 2016-02-14 01:22:44 +02:00
kervala
ea35e47aba Changed: Translate bytes units in patch screen 2016-02-13 23:42:18 +01:00
kervala
b7f0121fbe Changed: Useless code, but later we could call launchProgram 2016-02-13 23:40:59 +01:00
kervala
c851313a66 Changed: Path can be too long, so display only filename 2016-02-13 23:40:25 +01:00
kervala
aa4f7eae76 Changed: Don't need to call exit(0), Ryzom will exit itself after that 2016-02-13 23:39:40 +01:00
kervala
da2916e41e Changed: Call launchProgram instead of CreateProcess 2016-02-13 23:39:05 +01:00
kervala
6813351e57 Fixed: Wait until Ryzom client is released from memory before to launch the new client 2016-02-13 23:37:21 +01:00
kervala
1b344d78ed Changed: If --config is specified on command-line, we shouldn't check client_default.cfg in current directory 2016-02-13 23:36:22 +01:00
kervala
2f1481f60d Changed: Minor changes 2016-02-13 23:35:37 +01:00
kervala
26d883ed2e Changed: Simplify defaultConfigPath order 2016-02-13 23:35:06 +01:00
kervala
f62ee8756a Changed: Don't need to convert a std::string to a std::string 2016-02-13 23:34:09 +01:00
kervala
8f1359eb49 Changed: LIBXML2_DEFINITIONS was defined twice 2016-02-13 23:33:45 +01:00
kervala
5fcfc87655 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) 2016-02-13 23:33:27 +01:00
kervala
53ab0c5aed Fixed: Don't force lower case with only first letter in upper case 2016-02-13 23:30:59 +01:00
kervala
daa42945b3 Changed: Display a warning when a environment variable doesn't exist 2016-02-13 23:30:18 +01:00
kervala
c98bf02cb0 Changed: Use same code as under Linux for OS X when executing sheel scripts 2016-02-13 23:30:00 +01:00
kervala
b577182adb Changed: Remember startup path (the initial current directory) 2016-02-13 23:29:00 +01:00
Nimetu
3962546457 Changed: Set context menu case mode to 'normal' 2016-02-13 17:36:40 +02:00
kervala
3513d7be5f Changed: Don't call FormatMessage 2016-02-13 13:59:32 +01:00
kervala
e95436e2da Fixed: Check VerboseLog config variable instead of "pPM->isVerboseLog()" 2016-02-13 13:58:51 +01:00
kervala
0c675f63eb Fixed: Don't try to convert next meshes if an error occurs 2016-02-13 13:58:21 +01:00
kervala
2481119b04 Fixed: Return true when "open" succeeds under OS X 2016-02-13 13:57:43 +01:00
kervala
82e4a6183e Fixed: Display an error if unable to find database.cfg 2016-02-12 16:04:55 +01:00
kervala
a69103237f Changed: Reuse NLMISC::formatErrorMessage instead of native FormatMessage 2016-02-12 16:04:18 +01:00
kervala
f2ae43d229 Changed: Minor changes 2016-02-11 21:06:00 +01:00
kervala
23ec09c4b1 Fixed: CPath::makePathAbsolute removing first / 2016-02-11 21:00:54 +01:00
kervala
cc888d2dec Changed: Minor changes 2016-02-11 21:00:08 +01:00
kervala
2da2788b57 Changed: Minor changes 2016-02-10 18:47:35 +01:00
kervala
ea3e661db5 Fixed: Compilation of bin2c (replaced _splitpath and _makepath by something more portable) 2016-02-09 13:02:22 +01:00
kervala
50ac2f917e Changed: Increase maximum size of font in chat 2016-02-08 14:35:55 +01:00
kervala
5d8ef9248a Changed: Increase scrollbars width in configuration 2016-02-08 14:35:40 +01:00
kervala
24bb648949 Changed: Translate "No files..." in MP3 player 2016-02-08 14:35:11 +01:00
kervala
1d492138fb Added: CMake file for bin2c 2016-02-07 16:28:23 +01:00
kervala
d103415052 Fixed: Use %f to display a float 2016-02-06 00:24:06 +01:00
kervala
2ce00ad573 Fixed: Don't process again same directory 2016-02-06 00:23:43 +01:00
kervala
6a049dec8b Fixed: NeL unit test with GCC 2016-02-05 12:29:42 +01:00
kervala
a176240189 Changed: Only link to Qt5::WinExtras if required 2016-02-04 15:23:02 +01:00
kervala
b00b6acf03 Fixed: Client patcher compilation 2016-02-04 14:32:40 +01:00
kervala
f72cf4789c Changed: Simplify client_patcher to not rely on UXT files anymore and only use english 2016-02-04 13:21:14 +01:00
kaetemi
b171323b91 Also support AppData/Local to allow a non-roaming config 2016-02-04 13:02:32 +01:00
kaetemi
1ed19d8677 Fix tools compilation 2016-02-04 12:27:41 +01:00
kaetemi
22aef38af5 Fix for VS2008 build 2016-02-04 12:07:36 +01:00
kervala
b21ebd149b Changed: Updated launchProgramAndWaitForResult to support .bat files 2016-02-03 21:58:29 +01:00
kervala
62153a10a2 Changed: Only display filename because path can be too long for UI 2016-02-03 21:57:51 +01:00
kervala
016fce1d59 Changed: Translate patch screen 2016-02-03 21:56:54 +01:00
kervala
e408242a39 Changed: Minor changes 2016-02-03 21:56:28 +01:00
kervala
07ef52ebe0 Fixed: Compilation of shared library 2016-02-02 20:48:49 +01:00
kervala
7028b0ce67 Changed: Use absolute path 2016-02-02 19:50:04 +01:00
kervala
5c8e42734c Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess 2016-02-02 19:49:37 +01:00
kervala
47f4a5d501 Changed: Use CCmdArgs for client_patcher 2016-02-02 19:30:19 +01:00
kervala
22c8ce32a7 Changed: Simplify client_patcher 2016-02-02 19:30:00 +01:00
kervala
2f7992e43c Changed: Convert unpackTo directories to absolute directories 2016-02-02 19:28:47 +01:00
kervala
6d41451d64 Fixed: Use launchProgram to launch batch 2016-02-02 19:28:10 +01:00
kervala
178a8a949d 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
2016-02-02 19:26:02 +01:00
kervala
12204bb7e8 Changed: Use application or current directory as root directory for patch 2016-02-02 19:22:25 +01:00
kervala
13c4282911 Changed: Minor changes 2016-02-02 19:21:14 +01:00
kervala
e9a39a9a55 Changed: Use "open" to open other programs too under OS X 2016-02-02 19:20:34 +01:00
kervala
2274cfff89 Fixed: Async execution of .bat under Windows 2016-02-02 19:20:02 +01:00
kervala
a83862f498 Removed: Files for patcher 2016-02-02 14:32:06 +01:00
kervala
78d17f478d Fixed: Compile seven_zip for tools 2016-02-02 14:31:57 +01:00
kervala
3d285b1fc3 Changed: Unit tests for bytesToHumanReadableUnits 2016-02-02 12:37:20 +01:00
kervala
6679aa7621 Changed: New function bytesToHumanReadableUnits to use specific strings for units 2016-02-02 12:37:06 +01:00
kervala
e77a8b17b7 Fixed: Tests for fromStringwith a boolean 2016-02-02 11:38:08 +01:00
kervala
54001f553d Added: New unit tests for common.h 2016-02-02 11:37:46 +01:00
kervala
1978cab022 Fixed: Don't display logs in console for unit tests 2016-02-02 11:34:16 +01:00
kervala
7ffc842ba4 Fixed: Support new ISO units (KiB, MiB, etc...) in humanReadableToBytes 2016-02-02 11:33:44 +01:00
kervala
a82b0baa72 Changed: Support more values for fromString with a boolean 2016-02-02 11:32:20 +01:00
kervala
816d812ea2 Fixed: Use absolute path of current directory instead of relative path (avoid to check more than once the same location) 2016-02-02 10:23:57 +01:00
kervala
54aaa51736 Fixed: patch_gen is now using packLZMA function to compress a file instead of using lzma executable 2016-02-02 10:22:47 +01:00
kervala
92c598c81e 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
2016-02-02 10:21:42 +01:00
Gary Preston
388050a7fa Allow bnp_make to process "if" and "ifnot" argumenets multiple times instead of
accepting only one instance or each.
2016-01-31 18:02:47 +00:00
Cédric OCHS
47caf67fd8 Merged in BWGaryP/ryzomcore/fix/bnp_make_call (pull request #134)
Update BnpMake arguements to output bnp files to target folder/name using -o switch.
2016-01-31 14:57:54 +01:00
Gary Preston
5239e9545b Update BnpMake arguements to output bnp files to target folder/name
using -o switch.

Exclude first element from package[1] which was used to build the targetBnp file
rather than a file to be included within the bnp.
2016-01-31 13:35:27 +00:00
kervala
23c017c4f3 Fixed: Typo 2016-01-30 20:44:33 +01:00
kervala
a9f05efe06 Fixed: Crash if spawnBot is NULL 2016-01-30 20:44:25 +01:00
kervala
bebae652cc Fixed: AIS crash if variable not initialized (forgot to commit) 2016-01-30 18:15:48 +01:00
kervala
bbc7692aff Changed: Minor changes 2016-01-30 18:01:55 +01:00
kervala
7ab17400e7 Fixed: AIS crash if variable not initialized (a big thanks to depyraken to finding it) 2016-01-30 18:01:27 +01:00
kervala
976ebabf74 Changed: Minor changes (thanks to SIELA1915) 2016-01-30 16:22:55 +01:00
kervala
ec3e54f29f Changed: OS X bundles have app extension 2016-01-28 13:27:08 +01:00
kervala
3ac60ba7d8 Fixed: ReleaseDebug configuration not used anymore 2016-01-28 13:26:45 +01:00
kervala
8e54d7b25b Fixed: Don't display D3D item in tree under Linux and OS X 2016-01-28 13:26:02 +01:00
kervala
39574e4352 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg 2016-01-28 13:25:21 +01:00
kervala
936148de9d Fixed: Only call setCPUMask once 2016-01-27 14:44:13 +01:00
kervala
fc4ef1909b Fixed: Compilation of client_patcher 2016-01-27 14:42:19 +01:00
kervala
ba3b4a977b Changed: Removed libxml2 dependencies from other targets 2016-01-27 12:56:16 +01:00
kervala
154e01ec79 Fixed: Remove inherited dependency on libxml2 for all projects 2016-01-26 23:42:55 +01:00
kervala
8b817eea07 Changed: Minor change 2016-01-26 23:29:58 +01:00
kervala
f118b85dc6 Fixed: Useless dependencies 2016-01-26 23:29:45 +01:00
kervala
a1bf53ca89 Changed: Minor changes 2016-01-26 23:26:50 +01:00
kervala
1c694c3216 Fixed: libxml2 dependencies 2016-01-26 23:26:38 +01:00
kervala
5a2be0659b Changed: Works for C compilers too 2016-01-26 22:43:58 +01:00
kervala
3faeb82290 Changed: Removed more useless dependencies 2016-01-26 22:43:35 +01:00
kervala
9bdccc82d1 Changed: Put libxml code in .cpp (it was a hack for libwww, that is not used anymore...) 2016-01-26 22:41:58 +01:00
kervala
798194a6d9 Changed: Added PCH for logic 2016-01-26 22:41:02 +01:00
kervala
d05c011033 Changed: Minor changes (EOL, spaces, etc...) 2016-01-26 22:32:45 +01:00
kervala
237b6767b0 Fixed: Remove inherited dependency on libxml2 for all projects 2016-01-26 22:30:13 +01:00
kervala
1af5ce7b2e Fixed: Compilation under Linux 2016-01-23 20:32:37 +01:00
kervala
bc86030636 Fixed: Display of emotes using the same character case as in translations and showing corresponding command to type 2016-01-23 19:06:28 +01:00
kervala
9eaa7b8399 Changed: Use CCmdArgs to get program path and search data there 2016-01-23 19:04:52 +01:00
kervala
0820939b59 Fixed: Display wrong commands with UTF-8 characters 2016-01-23 19:04:07 +01:00
kervala
8465076ec9 Changed: Minor changes 2016-01-23 18:59:20 +01:00
kervala
13347aeffa Changed: Support -config/-c parameter passed by Ryzom Installer 2016-01-23 18:58:58 +01:00
kervala
4ca9ffa35e Changed: Use CCmdArgs to parse client command-line 2016-01-23 18:57:32 +01:00
kervala
5212e35775 Changed: Remove commented old crash report code 2016-01-23 18:55:56 +01:00
kervala
c0fb23c007 Changed: Make absolute program path (useful if launched from current directory under Linux)
Changed: Set process name for logs
2016-01-23 18:50:17 +01:00
kervala
be0355c570 Fixed: Display an error if adding more than once the same filename in BNP 2016-01-23 18:49:10 +01:00
kervala
d06bff716f Fixed: toLower shouldn't transform a eszett to s 2016-01-23 18:48:25 +01:00
kervala
344fc44359 Fixed: -o option of tga2dds for directory output 2016-01-23 13:02:29 +01:00
kervala
3446cb4038 Changed: Use CBigFile to manage BNP and CCmdArgs for command-line in bnp_make 2016-01-23 12:30:01 +01:00
kervala
0ff951d94c Changed: Replace tabs by spaces 2016-01-23 12:28:40 +01:00