Commit graph

3044 commits

Author SHA1 Message Date
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
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
kervala
713a58dc2a Merge with develop 2016-02-13 14:00:02 +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
4616792df2 Merge with develop 2016-02-12 16:05: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
ea976ec1e8 Merge with develop 2016-02-11 21:01:27 +01:00
kervala
23ec09c4b1 Fixed: CPath::makePathAbsolute removing first / 2016-02-11 21:00:54 +01:00
kervala
4a77ebcd44 Merge with develop 2016-02-10 18:48:09 +01:00
kervala
2da2788b57 Changed: Minor changes 2016-02-10 18:47:35 +01:00
kervala
ab738861ac Merge with develop 2016-02-05 12:30:26 +01:00
kervala
6a049dec8b Fixed: NeL unit test with GCC 2016-02-05 12:29:42 +01:00
kervala
462e89efe8 Merge with develop 2016-02-04 14:33:30 +01:00
kaetemi
b171323b91 Also support AppData/Local to allow a non-roaming config 2016-02-04 13:02:32 +01:00
kaetemi
22aef38af5 Fix for VS2008 build 2016-02-04 12:07:36 +01:00
kervala
0bf28bf3b6 Merge with develop 2016-02-03 21:58:58 +01:00
kervala
b21ebd149b Changed: Updated launchProgramAndWaitForResult to support .bat files 2016-02-03 21:58:29 +01:00
kervala
c920c9d634 Merge with develop 2016-02-02 19:51:11 +01:00
kervala
5c8e42734c Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess 2016-02-02 19:49:37 +01:00
kervala
f80966aed4 Merge with develop 2016-02-02 19:31:12 +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
8d21f350b4 Merge with develop 2016-02-02 12:37:59 +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
4d95accfd5 Merge with develop 2016-02-01 09:07:45 +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
7945684a96 merge with develop 2016-01-28 13:27:35 +01:00
kervala
39574e4352 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg 2016-01-28 13:25:21 +01:00
kervala
85eb2026f6 Merge with develop 2016-01-27 13:30:49 +01:00
kervala
ba3b4a977b Changed: Removed libxml2 dependencies from other targets 2016-01-27 12:56:16 +01:00
kervala
b6bbcb2eb4 Merge with develop 2016-01-26 23:43:34 +01:00
kervala
154e01ec79 Fixed: Remove inherited dependency on libxml2 for all projects 2016-01-26 23:42:55 +01:00
kervala
869b5d0044 Merge with develop 2016-01-26 23:30:48 +01:00
kervala
1c694c3216 Fixed: libxml2 dependencies 2016-01-26 23:26:38 +01:00
kervala
2583139ea9 Merge with develop 2016-01-26 22:44:40 +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
237b6767b0 Fixed: Remove inherited dependency on libxml2 for all projects 2016-01-26 22:30:13 +01:00
kervala
b39f4864fb Merge with develop 2016-01-23 19:07:13 +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
c051cc0b92 Merge with develop 2016-01-23 13:03:27 +01:00
kervala
344fc44359 Fixed: -o option of tga2dds for directory output 2016-01-23 13:02:29 +01:00
kervala
f928fa8b5c Merge with develop 2016-01-23 12:30:33 +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
kervala
61b6ea0723 Fixed: Return true if a required argument is found 2016-01-23 12:28:22 +01:00
kervala
4151b88b3a Merge with develop 2016-01-23 10:59:56 +01:00
kervala
5e575d505e Fixed: Link to Qt ICO plugin 2016-01-23 10:59:30 +01:00
kervala
267bbcfb23 Merge with develop 2016-01-23 10:28:00 +01:00
kervala
f992ab007f Changed: Use CCmdArgs for tga2dds 2016-01-23 10:27:34 +01:00
kervala
b7c65ae7df Merge with develop 2016-01-23 10:19:01 +01:00
kervala
02bb9edf7d Changed: Minor changes 2016-01-23 10:18:23 +01:00
kervala
9d319a5688 Changed: Centralize BNP unpacking and packing methods, to be reused in other tools/programs 2016-01-23 10:18:09 +01:00
kervala
94b033caf9 Changed: Add a parameter to CPath::makePathAbsolute to simplify the path (remove all . and ..) 2016-01-23 09:44:41 +01:00
kervala
4bcb41896e Merge with develop 2016-01-21 10:08:56 +01:00
kervala
05ce879469 Changed: Improve toString(const bool &val)... 2016-01-21 10:06:35 +01:00
kervala
82395e86f6 Fixed: Use icon under Windows 2016-01-21 10:05:26 +01:00
Nimetu
6a01e0c28b Merge with develop 2016-01-20 19:15:45 +02:00
Nimetu
5c3e84cf1b Changed: Use url from <base> element for relative urls 2016-01-20 19:15:20 +02:00
kervala
d8986e4fe3 Merge with develop 2016-01-19 20:42:11 +01:00
kervala
b31816911a Changed: Removed fromString(const char *, ...) because useless 2016-01-19 20:41:41 +01:00
kervala
c00a1608ec Changed: Local includes against system includes 2016-01-19 20:38:05 +01:00
kervala
5dfd931cf8 Fixed: Compilation without PCH 2016-01-19 20:37:03 +01:00
kervala
28365d4012 Removed: Binary file generated by VC++ 2016-01-19 20:35:59 +01:00
kervala
40617b1f70 Fixed: Some unit tests with fromString 2016-01-19 13:12:53 +01:00
kervala
9f22359d02 Merge with develop 2016-01-18 21:48:31 +01:00
kervala
655e105d71 Fixed: Updated with new changes 2016-01-18 21:48:00 +01:00
kervala
1c791785f6 Merge with develop 2016-01-18 21:32:01 +01:00
kervala
4f8aa63f78 Changed: Improved CCmdArgs 2016-01-18 21:22:57 +01:00
kervala
53fb7f39f4 Changed: Don't need to create it on heap 2016-01-18 13:27:48 +01:00
kervala
1641e48be0 Fixed: Import static platform plugin 2016-01-18 13:27:23 +01:00
kaetemi
e7b977c780 Faster Qt startup 2016-01-18 11:27:14 +01:00
Tobias Peters
6359017dce Merged github:zerotacg/ryzomcore/issue/fix-failing-unit-tests 2016-01-17 20:05:02 +01:00
kervala
25f98dbca8 Merge with develop 2016-01-17 13:24:01 +01:00
kervala
9ff0f99cea Fixed: Compilation with static Qt 5 2016-01-17 13:23:25 +01:00
kervala
0a77dfbd5a Merge with develop 2016-01-16 23:50:23 +01:00
kervala
2355f81fbd Fixed: Missing ++ 2016-01-16 23:48:44 +01:00
kervala
1cc7c18f1a Changed: Set CMP0020 NEW in root project 2016-01-16 23:48:32 +01:00
kervala
66c8dcab61 Fixed: Use lua_tointeger under Lua 5.2 and prior versions 2016-01-16 21:35:34 +01:00
kervala
c0e1abd41d Merge with develop 2016-01-16 15:58:19 +01:00
kervala
45a3bf320e Fixed: moc doesn't use the right namespace for std::string when using STLPort, so prefer QString for slots and signals 2016-01-16 15:55:56 +01:00
kervala
5c0fcc5cfc Fixed: Compilation with Qt 5 and STLport (std::move doesn't exist) 2016-01-16 15:54:46 +01:00
kervala
9ba7bcf720 Fixed: Compilation with Qt 5 and STLport (std::move doesn't exist) 2016-01-16 15:52:51 +01:00
kervala
bdcfa10c66 Fixed: Link to X11 under Linux 2016-01-16 15:50:45 +01:00
kervala
0d8b09001a Merge with develop 2016-01-16 10:52:18 +01:00
kaetemi
7d11f82e58 Update mask pixel format in panoply preview tool 2016-01-15 17:22:27 +01:00
kaetemi
20f93996ea Add panoply preview tool 2016-01-15 17:11:10 +01:00
kaetemi
8f61c6dfa9 Separate window displayer message stringify 2016-01-15 17:10:39 +01:00
kaetemi
9c1d333924 More of the VS2015 stuff 2016-01-15 12:29:05 +01:00
kaetemi
8405248a32 VS2015 fixes for NeL Samples 2016-01-15 12:22:35 +01:00
kaetemi
b81ae23369 Fix another VS2015 warning 2016-01-15 12:07:33 +01:00
kaetemi
e9912417bf More VS2015 fixes 2016-01-15 12:04:06 +01:00
kaetemi
a6b1ac4331 Fix VS2015 warnings 2016-01-15 11:52:09 +01:00
kaetemi
6abf73a61d VS2015 compilation fixes 2016-01-15 11:34:23 +01:00
kervala
156b14e989 Merge with develop 2016-01-14 23:58:34 +01:00
kervala
13f1ddd6f3 Fixed: Compilation 2016-01-14 23:58:04 +01:00
kervala
d60244a9c5 Merge with develop 2016-01-14 23:54:26 +01:00
kervala
3d9d77484a Changed: Minor changes 2016-01-14 23:53:17 +01:00
kervala
8040a6495b Changed: Invert version and help checks 2016-01-14 23:47:24 +01:00
kervala
1720f33c53 Fixed: Compilation 2016-01-14 23:46:19 +01:00
kervala
e856e59a2d Merge with develop 2016-01-14 21:28:47 +01:00
kervala
2682f4f4af Improve CCmdArgs (a generic command line parser in NeL Misc), fixes #257 2016-01-14 21:26:10 +01:00
kervala
7b075b979f Merge with develop 2016-01-13 20:05:06 +01:00
kervala
02f6248bd4 Changed: Expand environment variables in paths read from cfg files 2016-01-13 19:59:09 +01:00
kervala
b05b865cfb Changed: Minor changes 2016-01-13 19:54:23 +01:00
kervala
2c8b51e9f9 Changed: Remove duplicate lines 2016-01-13 19:53:20 +01:00
kervala
9ab71b6c27 Fixed: Convert .bank filenames with / and use existing CFile::fileExists 2016-01-13 19:51:00 +01:00
kervala
50c796236b Fixed: getLastSeparator should return std::string::size_type instead of an integer 2016-01-13 19:47:35 +01:00
kervala
12e16e83e2 Changed: Implement CPath::isAbsolutePath 2016-01-13 19:46:27 +01:00
kervala
179499a5c1 Changed: Implement expandEnvironmentVariables function 2016-01-13 19:45:02 +01:00
kervala
b8d7b685f5 Fixed: Save filenames in .bank with / instead of system separator 2016-01-13 19:43:46 +01:00
kervala
ac2229d42c Merge with develop 2016-01-12 22:32:22 +01:00
kervala
5b01b79a4c Fixed: lua_tointeger doesn't work if value has a decimal part and returns 0 2016-01-12 22:21:38 +01:00
kervala
15e7f957c7 Merge with develop 2016-01-11 11:44:44 +01:00
kervala
7e5c664125 Changed: Table keys are integers 2016-01-11 11:43:59 +01:00
kervala
3e10ebf773 Fixed: In Lua, all integers are numbers and numbers can be converted to integers 2016-01-11 11:34:32 +01:00
Nimetu
683a06efea Merge with develop 2016-01-10 16:34:13 +02:00
Nimetu
70673d5fb5 Fixed: Invalid image width/height on error 2016-01-10 16:33:42 +02:00
kervala
ef261f1be3 Merge with develop 2016-01-10 12:13:59 +01:00
kervala
5a01065159 Fixed: Compilation of object_viewer_widget in static under Linux 2016-01-10 12:12:50 +01:00
kervala
91bb4037ae Merge with develop 2016-01-09 16:32:59 +01:00
kervala
2ef9f7dbd9 Fixed: Compilation 2016-01-09 16:29:59 +01:00
kervala
e47fbc461b Merge with develop 2016-01-09 16:08:34 +01:00
kervala
8875d144bc Changed: Minor changes 2016-01-09 15:57:20 +01:00
kervala
d216c8610a Fixed: Compilation under Linux 2016-01-09 15:56:50 +01:00
kervala
b1226353c1 Merge with develop 2016-01-07 17:41:02 +01:00
kervala
5be17937df Changed: HAVE_X86_64 is defined or not 2016-01-07 17:39:53 +01:00
kervala
3dad90c23f Changed: Minor changes 2016-01-07 17:36:17 +01:00
Nimetu
3b828dacc5 Fixed: Wrong DD indent in nested list when tag is not closed 2016-01-07 01:00:48 +02:00
kervala
c4b512950d Merge with develop 2016-01-06 23:22:57 +01:00
kervala
546a91bb13 Changed: Added more fromString tests 2016-01-06 23:21:22 +01:00
kervala
52502537a8 Changed: Don't need to use system API, NeL already has equivalent 2016-01-06 23:20:40 +01:00
kervala
f6d4804411 Merge with develop 2016-01-06 16:06:23 +01:00
kervala
1ddbd69af1 Fixed: Compilation with Qt 4 2016-01-06 16:01:53 +01:00
kervala
f7894c58c7 Merge with develop 2016-01-06 13:22:47 +01:00
kervala
7fc5e0fa1b Changed: Remove unused variable 2016-01-06 13:21:47 +01:00
kervala
b03f60bbf2 Changed: Code simplification 2016-01-06 13:19:48 +01:00
kervala
29f297a955 Changed: Minor changes 2016-01-06 13:17:07 +01:00
kervala
cf1f3542d5 Changed: Don't fix files within panoply_maker, use textures_optimizer (but checks can be enabled) 2016-01-06 12:43:57 +01:00
kervala
8b3076ab69 Changed: Support for new key events 2016-01-06 12:42:10 +01:00
kervala
84da97851b Changed: Minor change 2016-01-06 12:39:58 +01:00
kervala
0f7afabf3f Changed: Comments to support DXTC1a for textures with one level of transparency later 2016-01-06 12:35:21 +01:00
kervala
db86bb006a Changed: Compile tile_edit_qt and object_viewer_widget if WITH_QT5 is defined 2016-01-06 12:33:58 +01:00
kervala
f1563437df Fixed: Compilation of object_viewer_qt with Qt 5 2016-01-06 12:33:05 +01:00
kervala
6852b21324 Fixed: Allow to select PNG and TGA for bitmaps 2016-01-06 12:31:53 +01:00
kervala
ab8e339b14 Fixed: Remove dependency on Pic (NeL manages TGA and PNG itself, reused code by Kaetemi) 2016-01-06 12:31:13 +01:00
kervala
6df07a9f2a Fixed: Compilation of tile_edit_qt with Qt 5 2016-01-06 12:29:34 +01:00
Nimetu
6b10613fce Merge with develop 2016-01-06 01:02:22 +02:00
Nimetu
cd60a50e8f Changed: Refactor DL 2016-01-06 00:11:17 +02:00
Nimetu
39cfbc2a7c Fixed: Align UL, LI list style type marker outside content 2016-01-06 00:08:41 +02:00
Nimetu
9140d23557 Fixed: DL list top margin 2016-01-05 23:23:19 +02:00
Nimetu
531934b3bf Fixed: DL list DD element indent 2016-01-05 23:02:21 +02:00
Nimetu
f38e5e8877 Changed: UL list style type depending on nested depth 2016-01-05 20:23:11 +02:00
Nimetu
03a821a9b9 Changed: Merge UL and OL code 2016-01-05 20:21:40 +02:00
kervala
32848f4bc1 Merge with develop 2016-01-05 17:12:29 +01:00
kervala
10e7d8d4ff Fixed: Don't load grayscale textures as alpha 2016-01-05 17:11:37 +01:00
kervala
17fbe32091 Merge with develop 2016-01-05 13:00:18 +01:00
kervala
9a2d36f684 Changed: Added default checks for textures and masks (-t and -m) 2016-01-05 12:57:26 +01:00
kervala
d910feb086 Fixed: Alpha channel with 0 is correct, don't change it 2016-01-05 12:54:47 +01:00
kervala
0336b434ae Changed: %u to format a uint 2016-01-05 12:53:57 +01:00
kervala
bfad691d56 Fixed: Instead of returning an error, convert the bitmap in RGBA 2016-01-05 12:53:32 +01:00
kervala
66dc091c20 Fixed: Alpha channel with 0 is correct, don't change it 2016-01-05 12:52:45 +01:00
kervala
001b9facbe Fixed: GCC warnings 2016-01-05 12:51:06 +01:00
kervala
ad58af8ae4 Merge with develop 2016-01-04 22:17:00 +01:00
kervala
3ef42e9bd0 Fixed: Converting AlphaLuminance to Luminance 2016-01-04 22:16:21 +01:00
kervala
c04d656021 Merge with develop 2016-01-04 19:27:21 +01:00
kervala
0f4a307e18 Fixed: __rdtsc() under old versions of GCC 2016-01-04 19:26:25 +01:00
kervala
5956441186 Changed: Define CLANG_VERSION is using clang compiler 2016-01-04 19:18:19 +01:00
kervala
c564cd4389 Merge with develop 2016-01-04 16:15:03 +01:00
kervala
d07e0d76d9 Fixed: Compilation 2016-01-04 16:14:30 +01:00
kervala
1bb74a8bb0 Merge with develop 2016-01-04 15:41:29 +01:00
kervala
8c3da3d5d7 Changed: Use same _mm_getcsr and __cpuid intrinsics everywhere 2016-01-04 15:40:45 +01:00
kervala
6dde138039 Changed: Use new code to determine free disk space 2016-01-04 15:39:31 +01:00
kervala
f2e851c6db Changed: Use __rdtsc() intrinsics everywhere for Intel CPUs 2016-01-04 15:35:02 +01:00
kervala
1a7595369a Merge with develop 2016-01-04 14:03:11 +01:00
kervala
4f92766afa Fixed: If mask is using colors, convert it to grayscale using Red value (compatible with previous algorithm) 2016-01-04 13:58:54 +01:00
kervala
f17137bb57 Changed: OutputPath is already "standardized" 2016-01-04 13:57:21 +01:00
kervala
33c6b92c43 Changed: Use lowercase instead of uppercase for extensions 2016-01-04 13:56:56 +01:00
kervala
1d7439f12a Changed: Allow to resample Luminance (grayscale) bitmaps 2016-01-04 13:54:59 +01:00
kervala
28ad88d698 Changed: Don't redefine new and delete operators if targetting x86_64 2016-01-04 13:48:57 +01:00
kervala
873ac7e727 Changed: Copy tools related to client into client bundle under OS X 2016-01-04 13:43:49 +01:00
kervala
1725f5b0e6 Merge with develop 2016-01-03 18:16:07 +01:00
kervala
fc90365c18 Changed: Convert masks to 8 bits grayscale instead of using only Red component of RGBA bitmaps 2016-01-03 18:14:46 +01:00
kervala
459d6b611b Changed: Cast to CRGBA* is faster than set8888 2016-01-03 17:51:49 +01:00
kervala
3fae0fe91f Changed: Use LD_LIBRARY_PATH only when opening a document or URL 2016-01-03 17:51:09 +01:00
kervala
d96b5d236c Changed: Only use filename in setProcessName 2016-01-03 17:50:21 +01:00