Commit graph

2884 commits

Author SHA1 Message Date
kervala
d0c587e445 Changed: Remove duplicate lines
--HG--
branch : develop
2016-01-13 19:53:20 +01:00
kervala
6a3292c600 Fixed: Convert .bank filenames with / and use existing CFile::fileExists
--HG--
branch : develop
2016-01-13 19:51:00 +01:00
kervala
e1c14db5a0 Fixed: getLastSeparator should return std::string::size_type instead of an integer
--HG--
branch : develop
2016-01-13 19:47:35 +01:00
kervala
a66fa8cc9c Changed: Implement CPath::isAbsolutePath
--HG--
branch : develop
2016-01-13 19:46:27 +01:00
kervala
af9610328f Changed: Implement expandEnvironmentVariables function
--HG--
branch : develop
2016-01-13 19:45:02 +01:00
kervala
ad36e59a71 Fixed: Save filenames in .bank with / instead of system separator
--HG--
branch : develop
2016-01-13 19:43:46 +01:00
kervala
df816b2a5d Merge with develop
--HG--
branch : compatibility-develop
2016-01-12 22:32:22 +01:00
kervala
49ef5a1ed7 Fixed: lua_tointeger doesn't work if value has a decimal part and returns 0
--HG--
branch : develop
2016-01-12 22:21:38 +01:00
kervala
6471fada97 Merge with develop
--HG--
branch : compatibility-develop
2016-01-11 11:44:44 +01:00
kervala
59c06630cd Changed: Table keys are integers
--HG--
branch : develop
2016-01-11 11:43:59 +01:00
kervala
839928a57a Fixed: In Lua, all integers are numbers and numbers can be converted to integers
--HG--
branch : develop
2016-01-11 11:34:32 +01:00
Nimetu
e44e131365 Merge with develop
--HG--
branch : compatibility-develop
2016-01-10 16:34:13 +02:00
Nimetu
ad8059c345 Fixed: Invalid image width/height on error
--HG--
branch : develop
2016-01-10 16:33:42 +02:00
kervala
63983cd5ac Merge with develop
--HG--
branch : compatibility-develop
2016-01-10 12:13:59 +01:00
kervala
bb3726fd46 Fixed: Compilation of object_viewer_widget in static under Linux
--HG--
branch : develop
2016-01-10 12:12:50 +01:00
kervala
ef8c8d0401 Merge with develop
--HG--
branch : compatibility-develop
2016-01-09 16:32:59 +01:00
kervala
3af2813fbf Fixed: Compilation
--HG--
branch : develop
2016-01-09 16:29:59 +01:00
kervala
9dc7f5102b Merge with develop
--HG--
branch : compatibility-develop
2016-01-09 16:08:34 +01:00
kervala
14f48d821a Changed: Minor changes
--HG--
branch : develop
2016-01-09 15:57:20 +01:00
kervala
9ee32071d8 Fixed: Compilation under Linux
--HG--
branch : develop
2016-01-09 15:56:50 +01:00
kervala
3f4a5010f6 Merge with develop
--HG--
branch : compatibility-develop
2016-01-07 17:41:02 +01:00
kervala
9e8cd07e4b Changed: HAVE_X86_64 is defined or not
--HG--
branch : develop
2016-01-07 17:39:53 +01:00
kervala
b3a392d559 Changed: Minor changes
--HG--
branch : develop
2016-01-07 17:36:17 +01:00
Nimetu
511a004827 Fixed: Wrong DD indent in nested list when tag is not closed
--HG--
branch : develop
2016-01-07 01:00:48 +02:00
kervala
ef29c2b5ef Merge with develop
--HG--
branch : compatibility-develop
2016-01-06 23:22:57 +01:00
kervala
59aff6a4bc Changed: Added more fromString tests
--HG--
branch : develop
2016-01-06 23:21:22 +01:00
kervala
245726f347 Changed: Don't need to use system API, NeL already has equivalent
--HG--
branch : develop
2016-01-06 23:20:40 +01:00
kervala
ad3df5084a Merge with develop
--HG--
branch : compatibility-develop
2016-01-06 16:06:23 +01:00
kervala
ea5b041844 Fixed: Compilation with Qt 4
--HG--
branch : develop
2016-01-06 16:01:53 +01:00
kervala
ddba3e583c Merge with develop
--HG--
branch : compatibility-develop
2016-01-06 13:22:47 +01:00
kervala
ecb47bc2dc Changed: Remove unused variable
--HG--
branch : develop
2016-01-06 13:21:47 +01:00
kervala
0ef79083a0 Changed: Code simplification
--HG--
branch : develop
2016-01-06 13:19:48 +01:00
kervala
80ae07c8b3 Changed: Minor changes
--HG--
branch : develop
2016-01-06 13:17:07 +01:00
kervala
f323974dba Changed: Don't fix files within panoply_maker, use textures_optimizer (but checks can be enabled)
--HG--
branch : develop
2016-01-06 12:43:57 +01:00
kervala
6efce5ba59 Changed: Support for new key events
--HG--
branch : develop
2016-01-06 12:42:10 +01:00
kervala
76744b18c7 Changed: Minor change
--HG--
branch : develop
2016-01-06 12:39:58 +01:00
kervala
03c9c93fc1 Changed: Comments to support DXTC1a for textures with one level of transparency later
--HG--
branch : develop
2016-01-06 12:35:21 +01:00
kervala
75eb7cb922 Changed: Compile tile_edit_qt and object_viewer_widget if WITH_QT5 is defined
--HG--
branch : develop
2016-01-06 12:33:58 +01:00
kervala
ec7699aca9 Fixed: Compilation of object_viewer_qt with Qt 5
--HG--
branch : develop
2016-01-06 12:33:05 +01:00
kervala
af14cbe3aa Fixed: Allow to select PNG and TGA for bitmaps
--HG--
branch : develop
2016-01-06 12:31:53 +01:00
kervala
2923fe7c89 Fixed: Remove dependency on Pic (NeL manages TGA and PNG itself, reused code by Kaetemi)
--HG--
branch : develop
2016-01-06 12:31:13 +01:00
kervala
fad179731a Fixed: Compilation of tile_edit_qt with Qt 5
--HG--
branch : develop
2016-01-06 12:29:34 +01:00
Nimetu
410ddea49d Merge with develop
--HG--
branch : compatibility-develop
2016-01-06 01:02:22 +02:00
Nimetu
8475f25e75 Changed: Refactor DL
--HG--
branch : develop
2016-01-06 00:11:17 +02:00
Nimetu
639ce91e61 Fixed: Align UL, LI list style type marker outside content
--HG--
branch : develop
2016-01-06 00:08:41 +02:00
Nimetu
6bcb153930 Fixed: DL list top margin
--HG--
branch : develop
2016-01-05 23:23:19 +02:00
Nimetu
f95d445839 Fixed: DL list DD element indent
--HG--
branch : develop
2016-01-05 23:02:21 +02:00
Nimetu
bbe9ca2b67 Changed: UL list style type depending on nested depth
--HG--
branch : develop
2016-01-05 20:23:11 +02:00
Nimetu
298a659c6f Changed: Merge UL and OL code
--HG--
branch : develop
2016-01-05 20:21:40 +02:00
kervala
4785b88068 Merge with develop
--HG--
branch : compatibility-develop
2016-01-05 17:12:29 +01:00
kervala
95404bd724 Fixed: Don't load grayscale textures as alpha
--HG--
branch : develop
2016-01-05 17:11:37 +01:00
kervala
ad6e10df76 Merge with develop
--HG--
branch : compatibility-develop
2016-01-05 13:00:18 +01:00
kervala
f2b43c2d7e Changed: Added default checks for textures and masks (-t and -m)
--HG--
branch : develop
2016-01-05 12:57:26 +01:00
kervala
dc5ddadcbb Fixed: Alpha channel with 0 is correct, don't change it
--HG--
branch : develop
2016-01-05 12:54:47 +01:00
kervala
9f761780f1 Changed: %u to format a uint
--HG--
branch : develop
2016-01-05 12:53:57 +01:00
kervala
687301377e Fixed: Instead of returning an error, convert the bitmap in RGBA
--HG--
branch : develop
2016-01-05 12:53:32 +01:00
kervala
798cb1c7ce Fixed: Alpha channel with 0 is correct, don't change it
--HG--
branch : develop
2016-01-05 12:52:45 +01:00
kervala
f482f77179 Fixed: GCC warnings
--HG--
branch : develop
2016-01-05 12:51:06 +01:00
kervala
5ee0b484da Merge with develop
--HG--
branch : compatibility-develop
2016-01-04 22:17:00 +01:00
kervala
ac57a464d4 Fixed: Converting AlphaLuminance to Luminance
--HG--
branch : develop
2016-01-04 22:16:21 +01:00
kervala
e91c529a98 Merge with develop
--HG--
branch : compatibility-develop
2016-01-04 19:27:21 +01:00
kervala
0dc70105d5 Fixed: __rdtsc() under old versions of GCC
--HG--
branch : develop
2016-01-04 19:26:25 +01:00
kervala
ae752f72d8 Changed: Define CLANG_VERSION is using clang compiler
--HG--
branch : develop
2016-01-04 19:18:19 +01:00
kervala
9b4127311b Merge with develop
--HG--
branch : compatibility-develop
2016-01-04 16:15:03 +01:00
kervala
0fe6ec67ba Fixed: Compilation
--HG--
branch : develop
2016-01-04 16:14:30 +01:00
kervala
91c559d48a Merge with develop
--HG--
branch : compatibility-develop
2016-01-04 15:41:29 +01:00
kervala
9b8cdc2821 Changed: Use same _mm_getcsr and __cpuid intrinsics everywhere
--HG--
branch : develop
2016-01-04 15:40:45 +01:00
kervala
68aa20257f Changed: Use new code to determine free disk space
--HG--
branch : develop
2016-01-04 15:39:31 +01:00
kervala
b11fabe867 Changed: Use __rdtsc() intrinsics everywhere for Intel CPUs
--HG--
branch : develop
2016-01-04 15:35:02 +01:00
kervala
b78afa1c4d Merge with develop
--HG--
branch : compatibility-develop
2016-01-04 14:03:11 +01:00
kervala
aaa9c394d7 Fixed: If mask is using colors, convert it to grayscale using Red value (compatible with previous algorithm)
--HG--
branch : develop
2016-01-04 13:58:54 +01:00
kervala
ed98662de3 Changed: OutputPath is already "standardized"
--HG--
branch : develop
2016-01-04 13:57:21 +01:00
kervala
fe018c959b Changed: Use lowercase instead of uppercase for extensions
--HG--
branch : develop
2016-01-04 13:56:56 +01:00
kervala
47bde9ccc7 Changed: Allow to resample Luminance (grayscale) bitmaps
--HG--
branch : develop
2016-01-04 13:54:59 +01:00
kervala
c263e4dffb Changed: Don't redefine new and delete operators if targetting x86_64
--HG--
branch : develop
2016-01-04 13:48:57 +01:00
kervala
6627c04a97 Changed: Copy tools related to client into client bundle under OS X
--HG--
branch : develop
2016-01-04 13:43:49 +01:00
kervala
cf89d60682 Merge with develop
--HG--
branch : compatibility-develop
2016-01-03 18:16:07 +01:00
kervala
79e3ec61b1 Changed: Convert masks to 8 bits grayscale instead of using only Red component of RGBA bitmaps
--HG--
branch : develop
2016-01-03 18:14:46 +01:00
kervala
494ab2ce20 Changed: Cast to CRGBA* is faster than set8888
--HG--
branch : develop
2016-01-03 17:51:49 +01:00
kervala
96fab4210b Changed: Use LD_LIBRARY_PATH only when opening a document or URL
--HG--
branch : develop
2016-01-03 17:51:09 +01:00
kervala
82acfb3bf2 Changed: Only use filename in setProcessName
--HG--
branch : develop
2016-01-03 17:50:21 +01:00
kervala
33e701192d Fixed: Sign OS X binaries needed by client and copy them in Ryzom bundle
--HG--
branch : develop
2016-01-03 17:47:31 +01:00
kervala
06b83f85f7 Changed: Add an icon for crash_report under Windows
--HG--
branch : develop
2016-01-03 17:46:27 +01:00
kervala
a1ee429b92 Merge with develop
--HG--
branch : compatibility-develop
2016-01-02 22:36:05 +01:00
kervala
12c4adf943 Changed: Minor changes
--HG--
branch : develop
2016-01-02 22:24:16 +01:00
kervala
de0df1645b Changed: Don't create bundle for Ryzom client tools (we will try to package them in same bundle)
--HG--
branch : develop
2016-01-02 22:23:49 +01:00
kervala
1a00dec5c3 Changed: Unused code
--HG--
branch : develop
2016-01-02 22:23:04 +01:00
kervala
47364c47c3 Merge with develop
--HG--
branch : compatibility-develop
2016-01-02 20:29:55 +01:00
kervala
8087b76397 Fixed: Load 8bits textures as grayscale instead of alpha in textures_optimizer
--HG--
branch : develop
2016-01-02 20:29:24 +01:00
kervala
844b1e3d02 Fixed: Warnings with GCC
--HG--
branch : develop
2016-01-02 19:19:39 +01:00
kervala
b50ca03e92 Fixed: Use --args only with open
--HG--
branch : develop
2016-01-02 19:16:33 +01:00
kervala
046c69066d Fixed: Don't use system() under Windows, because it'll open a console window, use launchProgramAndWaitForResult instead
--HG--
branch : develop
2016-01-02 19:15:21 +01:00
kervala
266a32ea19 Fixed: Implements launchProgramAndWaitForResult to launch a command synchronously
--HG--
branch : develop
2016-01-02 19:14:13 +01:00
kervala
11c0a073ed Merge with develop
--HG--
branch : compatibility-develop
2016-01-02 17:11:59 +01:00
kervala
0c98a86e4b Fixed: Display alpha as an integer
--HG--
branch : develop
2016-01-02 17:10:23 +01:00
kervala
20711e24e3 Fixed: Typos
--HG--
branch : develop
2016-01-02 17:04:45 +01:00
kervala
295818e9a8 Merge with develop
--HG--
branch : compatibility-develop
2016-01-02 11:35:26 +01:00
kervala
6e36d06f76 Changed: Minor changes
--HG--
branch : develop
2016-01-02 11:34:17 +01:00
kervala
71f7cb28dc Changed: Remove X11 code for OS X (we support Cocoa now)
--HG--
branch : develop
2016-01-02 11:34:04 +01:00
kervala
8e57f2ed2e Fixed: Dead keys under Linux (Ubuntu was using ibus input method)
--HG--
branch : develop
2016-01-02 11:33:18 +01:00
kervala
bcfdd36844 Merge with develop
--HG--
branch : compatibility-develop
2016-01-01 16:27:45 +01:00
kervala
cf8ed540a7 Changed: Use new methods in panoply_maker
--HG--
branch : develop
2016-01-01 16:07:27 +01:00
kervala
80759eafb4 Changed: Minor changes
--HG--
branch : develop
2016-01-01 16:04:57 +01:00
kervala
e995b7221f Added: Textures optimizer tool
--HG--
branch : develop
2016-01-01 16:04:45 +01:00
kervala
d34e3d120d Changed: Parse nvidia-smi output to determine video memory
--HG--
branch : develop
2016-01-01 16:04:06 +01:00
kervala
ee26c7377b Changed: Minor change
--HG--
branch : develop
2016-01-01 16:03:06 +01:00
kervala
437aa5b939 Changed: Added helpers methods to CBitmap
--HG--
branch : develop
2016-01-01 16:02:54 +01:00
kervala
27a2263bd6 Changed: Added set8888() method to CGRBA
--HG--
branch : develop
2016-01-01 16:01:03 +01:00
kervala
2ed7c0be88 Changed: Added isGray() method to CGRBA
--HG--
branch : develop
2016-01-01 16:00:17 +01:00
kervala
98c485bd94 Merge with develop
--HG--
branch : compatibility-develop
2015-12-29 18:03:21 +01:00
kervala
8b770d41ac Fixed: Wrong bitmap size
--HG--
branch : develop
2015-12-29 16:15:07 +01:00
kervala
aee315bda9 Merge with develop
--HG--
branch : compatibility-develop
2015-12-28 18:21:56 +01:00
kervala
9b9ee4e492 Fixed: Install readme.txt in same directory if not using WITH_UNIX_STRUCTURE
--HG--
branch : develop
2015-12-28 18:16:07 +01:00
kervala
91f2913026 Changed: Don't need to use std::stringstream
--HG--
branch : develop
2015-12-28 18:15:28 +01:00
kervala
6710268d0a Merge with develop
--HG--
branch : compatibility-develop
2015-12-28 16:44:35 +01:00
kervala
77352d5759 Changed: Minor change
--HG--
branch : develop
2015-12-28 16:43:20 +01:00
kervala
b93414cd27 Fixed: Warning when DDS_HEADER is not initialized
--HG--
branch : develop
2015-12-28 16:41:26 +01:00
kervala
5ccf0df1ab Changed: Allow panoply_maker to optimize textures and masks (remove alpha channel if useless)
--HG--
branch : develop
2015-12-28 16:37:32 +01:00
kervala
83f43657ad Merge with develop
--HG--
branch : compatibility-develop
2015-12-27 16:07:11 +01:00
kervala
d8bc7384ae Fixed: Don't crash if GL_VERSION returns NULL (it should never happen)
--HG--
branch : develop
2015-12-27 16:06:35 +01:00
kervala
545569d049 Merge with develop
--HG--
branch : compatibility-develop
2015-12-26 18:00:04 +01:00
kervala
ba7c4ae4d4 Changed: Support for GLX_MESA_query_renderer to detect video memory
--HG--
branch : develop
2015-12-26 17:51:36 +01:00
kervala
57859636cd Changed: Minor changes
--HG--
branch : develop
2015-12-26 17:49:54 +01:00
kervala
7a0c06a845 Merge with develop
--HG--
branch : compatibility-develop
2015-12-26 15:13:08 +01:00
kervala
478a2102b8 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 15:12:41 +01:00
kervala
4806693f49 Merge with develop
--HG--
branch : compatibility-develop
2015-12-26 14:38:37 +01:00
kervala
ba6f66d310 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 14:10:27 +01:00
kervala
af0eabbdea Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 14:09:15 +01:00
kervala
83ef24dab7 Changed: Renamed screenH and screenW to _ScreenH and _ScreenW
--HG--
branch : develop
2015-12-26 14:02:01 +01:00
kervala
d7255a63d8 Changed: Minor changes
--HG--
branch : develop
2015-12-26 14:00:39 +01:00
kervala
ec86bdcf96 Changed: Force 32 bits depth with XRandr
--HG--
branch : develop
2015-12-26 13:38:09 +01:00
kervala
cbea85c105 Changed: Implement CSystemUtils::getTotalVideoMemory() under Linux (Xorg log and lspci parsing)
--HG--
branch : develop
2015-12-26 13:28:09 +01:00
kervala
2006f1a866 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 13:26:51 +01:00
kervala
9b5c426c19 Merged with develop
--HG--
branch : compatibility-develop
2015-12-25 20:52:18 +01:00
kervala
2d0d87a05e Fixed: Warnings with GCC
--HG--
branch : develop
2015-12-25 20:49:59 +01:00
kervala
86a903c96e Merge with develop
--HG--
branch : compatibility-develop
2015-12-25 15:37:07 +01:00
kervala
4a1f4cd725 Changed: Use shared libs for X11 because API doesn't change
--HG--
branch : develop
2015-12-25 15:35:04 +01:00
kervala
21ada78b63 Changed: Display a warning when calling getModes if Display is NULL
--HG--
branch : develop
2015-12-25 15:30:14 +01:00
kervala
a5d3b2d461 Changed: Added new function getCommandOutput
--HG--
branch : develop
2015-12-25 15:29:23 +01:00
kervala
59c0cf7f00 Merge with develop
--HG--
branch : compatibility-develop
2015-12-23 15:31:37 +01:00
kervala
4fa6247672 Changed: windows.h already included in stdligo.h
--HG--
branch : develop
2015-12-23 15:23:50 +01:00
kervala
36358cef50 Fixed: Wrong units (1 KiB = 1024 B, 1 KB = 1000 B, etc...)
--HG--
branch : develop
2015-12-23 15:11:26 +01:00
kervala
dd69f64225 Changed: Use a stack size of 1 MiB under all platforms for CCoTask (default under Windows)
--HG--
branch : develop
2015-12-23 15:10:06 +01:00
kervala
55feca30d7 Changed: Use nlSleep instead of usleep
--HG--
branch : develop
2015-12-23 15:08:08 +01:00
kervala
4061826715 Changed: Use _LP64 macro instead of sizeof(long unsigned int) == 8
--HG--
branch : develop
2015-12-23 15:04:22 +01:00
kervala
ffe0571a12 Changed: Use nlwarning instead of nlerror
--HG--
branch : develop
2015-12-23 15:03:32 +01:00
kervala
360a634f5b Changed: Don't need to use XDG_CURRENT_DESKTOP under OS X
--HG--
branch : develop
2015-12-23 15:03:08 +01:00
kervala
5d64a01f58 Fixed: Use Xcb plugin for Qt 5 under Linux
--HG--
branch : develop
2015-12-23 15:00:49 +01:00
kervala
09e22e292d Changed: Use toString instead of sprintf
--HG--
branch : develop
2015-12-23 14:56:36 +01:00
kervala
f57b1b9421 Changed: Implement CSystemUtils::getTotalVideoMemory() for Windows
--HG--
branch : develop
2015-12-23 14:48:33 +01:00