Commit graph

5686 commits

Author SHA1 Message Date
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
kervala
b692b78718 Fixed: Tests for fromStringwith a boolean
--HG--
branch : develop
2016-02-02 11:38:08 +01:00
kervala
285965fe76 Added: New unit tests for common.h
--HG--
branch : develop
2016-02-02 11:37:46 +01:00
kervala
20c7c342ca Fixed: Don't display logs in console for unit tests
--HG--
branch : develop
2016-02-02 11:34:16 +01:00
kervala
7b1ab1592e Fixed: Support new ISO units (KiB, MiB, etc...) in humanReadableToBytes
--HG--
branch : develop
2016-02-02 11:33:44 +01:00
kervala
0919fc66e4 Changed: Support more values for fromString with a boolean
--HG--
branch : develop
2016-02-02 11:32:20 +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
31e6bd1bb1 Fixed: patch_gen is now using packLZMA function to compress a file instead of using lzma executable
--HG--
branch : develop
2016-02-02 10:22:47 +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
Gary Preston
963ee5a66e Allow bnp_make to process "if" and "ifnot" argumenets multiple times instead of
accepting only one instance or each.

--HG--
branch : develop
2016-01-31 18:02:47 +00:00
Cédric OCHS
c2e444774e 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.

--HG--
branch : develop
2016-01-31 14:57:54 +01:00
Gary Preston
45755dd86f 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.

--HG--
branch : fix/bnp_make_call
2016-01-31 13:35:27 +00:00
kervala
475864dac0 Fixed: Typo
--HG--
branch : develop
2016-01-30 20:44:33 +01:00
kervala
5bf17060c0 Fixed: Crash if spawnBot is NULL
--HG--
branch : develop
2016-01-30 20:44:25 +01:00
kervala
fc96bdf46d Fixed: AIS crash if variable not initialized (forgot to commit)
--HG--
branch : develop
2016-01-30 18:15:48 +01:00
kervala
e60b630d09 Changed: Minor changes
--HG--
branch : develop
2016-01-30 18:01:55 +01:00
kervala
b6f8fe80e9 Fixed: AIS crash if variable not initialized (a big thanks to depyraken to finding it)
--HG--
branch : develop
2016-01-30 18:01:27 +01:00
kervala
75307d00da Changed: Minor changes (thanks to SIELA1915)
--HG--
branch : develop
2016-01-30 16:22:55 +01:00
kervala
178c1acc3b Changed: OS X bundles have app extension
--HG--
branch : develop
2016-01-28 13:27:08 +01:00
kervala
086401f5d1 Fixed: ReleaseDebug configuration not used anymore
--HG--
branch : develop
2016-01-28 13:26:45 +01:00
kervala
0b4a2a39b3 Fixed: Don't display D3D item in tree under Linux and OS X
--HG--
branch : develop
2016-01-28 13:26:02 +01:00
kervala
6e93a0d395 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg
--HG--
branch : develop
2016-01-28 13:25:21 +01:00
kervala
733f319c4f Fixed: Only call setCPUMask once
--HG--
branch : develop
2016-01-27 14:44:13 +01:00
kervala
3683193dde Fixed: Compilation of client_patcher
--HG--
branch : develop
2016-01-27 14:42:19 +01:00
kervala
63a36fc2f8 Changed: Removed libxml2 dependencies from other targets
--HG--
branch : develop
2016-01-27 12:56:16 +01:00
kervala
4c96c5a608 Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
2016-01-26 23:42:55 +01:00
kervala
b6dae7002e Changed: Minor change
--HG--
branch : develop
2016-01-26 23:29:58 +01:00
kervala
93d89700bc Fixed: Useless dependencies
--HG--
branch : develop
2016-01-26 23:29:45 +01:00
kervala
c1125199ca Changed: Minor changes
--HG--
branch : develop
2016-01-26 23:26:50 +01:00
kervala
093ee91656 Fixed: libxml2 dependencies
--HG--
branch : develop
2016-01-26 23:26:38 +01:00
kervala
59aaad27c1 Changed: Works for C compilers too
--HG--
branch : develop
2016-01-26 22:43:58 +01:00
kervala
36f886f5f1 Changed: Removed more useless dependencies
--HG--
branch : develop
2016-01-26 22:43:35 +01:00
kervala
89319eb99c Changed: Put libxml code in .cpp (it was a hack for libwww, that is not used anymore...)
--HG--
branch : develop
2016-01-26 22:41:58 +01:00
kervala
df22787f90 Changed: Added PCH for logic
--HG--
branch : develop
2016-01-26 22:41:02 +01:00
kervala
c5d8c9965e Changed: Minor changes (EOL, spaces, etc...)
--HG--
branch : develop
2016-01-26 22:32:45 +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
7237736922 Changed: Make absolute program path (useful if launched from current directory under Linux)
Changed: Set process name for logs

--HG--
branch : develop
2016-01-23 18:50:17 +01:00
kervala
222544f902 Fixed: Display an error if adding more than once the same filename in BNP
--HG--
branch : develop
2016-01-23 18:49:10 +01:00
kervala
0505395fd1 Fixed: toLower shouldn't transform a eszett to s
--HG--
branch : develop
2016-01-23 18:48:25 +01:00
kervala
5892fb8c1c Fixed: -o option of tga2dds for directory output
--HG--
branch : develop
2016-01-23 13:02:29 +01:00
kervala
1ca826cda9 Changed: Use CBigFile to manage BNP and CCmdArgs for command-line in bnp_make
--HG--
branch : develop
2016-01-23 12:30:01 +01:00
kervala
f8d45d01dc Changed: Replace tabs by spaces
--HG--
branch : develop
2016-01-23 12:28:40 +01:00
kervala
9aff198d70 Fixed: Return true if a required argument is found
--HG--
branch : develop
2016-01-23 12:28:22 +01:00
kervala
e35fe4384b Changed: Use CBigFile to unpack BNP in CPatchManager
--HG--
branch : develop
2016-01-23 12:27:41 +01:00
kervala
7f69309e39 Fixed: Link to Qt ICO plugin
--HG--
branch : develop
2016-01-23 10:59:30 +01:00
kervala
12d87b4914 Changed: Use CCmdArgs for tga2dds
--HG--
branch : develop
2016-01-23 10:27:34 +01:00
kervala
e2cc9e622e Changed: Minor changes
--HG--
branch : develop
2016-01-23 10:18:23 +01:00
kervala
19aa093ea8 Changed: Centralize BNP unpacking and packing methods, to be reused in other tools/programs
--HG--
branch : develop
2016-01-23 10:18:09 +01:00
kervala
93e1289a77 Changed: Add a parameter to CPath::makePathAbsolute to simplify the path (remove all . and ..)
--HG--
branch : develop
2016-01-23 09:44:41 +01:00
kervala
963892913f Fixed: Crash in backup service
--HG--
branch : develop
2016-01-21 15:06:40 +01:00
kervala
f5a60e3a60 Fixed: Don't install static libraries if not defining WITH_INSTALL_LIBRARIES
--HG--
branch : develop
2016-01-21 15:06:01 +01:00
kervala
aff9cccd0c Changed: Improve toString(const bool &val)...
--HG--
branch : develop
2016-01-21 10:06:35 +01:00
kervala
a08cdce803 Fixed: Use icon under Windows
--HG--
branch : develop
2016-01-21 10:05:26 +01:00
kervala
e281fc1706 Changed: Minor changes
--HG--
branch : develop
2016-01-21 10:05:10 +01:00
Nimetu
52dcf1a300 Changed: Use url from <base> element for relative urls
--HG--
branch : develop
2016-01-20 19:15:20 +02:00
kervala
1082c49aa6 Changed: Use a different original filename for DEV version
--HG--
branch : develop
2016-01-20 13:06:15 +01:00
kervala
6c27e927b5 Fixed: Compilation in 64 bits under Windows
--HG--
branch : develop
2016-01-20 13:05:55 +01:00
kervala
fa22852adb Changed: Removed fromString(const char *, ...) because useless
--HG--
branch : develop
2016-01-19 20:41:41 +01:00
kervala
5cc2b2865f Changed: Local includes against system includes
--HG--
branch : develop
2016-01-19 20:38:05 +01:00
kervala
00395d6b2e Fixed: Compilation without PCH
--HG--
branch : develop
2016-01-19 20:37:03 +01:00
kervala
5fb0c5d279 Removed: Binary file generated by VC++
--HG--
branch : develop
2016-01-19 20:35:59 +01:00
kervala
1864ad70db Fixed: Some unit tests with fromString
--HG--
branch : develop
2016-01-19 13:12:53 +01:00
kervala
e01f706ccc Fixed: Updated with new changes
--HG--
branch : develop
2016-01-18 21:48:00 +01:00
kervala
a79393e9f8 Changed: Minor changes
--HG--
branch : develop
2016-01-18 21:31:23 +01:00