Commit graph

2825 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
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
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
ad8059c345 Fixed: Invalid image width/height on error
--HG--
branch : develop
2016-01-10 16:33:42 +02: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
bb3726fd46 Fixed: Compilation of object_viewer_widget in static under Linux
--HG--
branch : develop
2016-01-10 12:12:50 +01:00
kervala
3af2813fbf Fixed: Compilation
--HG--
branch : develop
2016-01-09 16:29:59 +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
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
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
ea5b041844 Fixed: Compilation with Qt 4
--HG--
branch : develop
2016-01-06 16:01:53 +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
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
95404bd724 Fixed: Don't load grayscale textures as alpha
--HG--
branch : develop
2016-01-05 17:11:37 +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
ac57a464d4 Fixed: Converting AlphaLuminance to Luminance
--HG--
branch : develop
2016-01-04 22:16: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
0fe6ec67ba Fixed: Compilation
--HG--
branch : develop
2016-01-04 16:14:30 +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
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
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
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
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
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
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
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
8b770d41ac Fixed: Wrong bitmap size
--HG--
branch : develop
2015-12-29 16:15:07 +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
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
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
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
478a2102b8 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 15:12:41 +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
2d0d87a05e Fixed: Warnings with GCC
--HG--
branch : develop
2015-12-25 20:49:59 +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
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
kervala
07a1285740 Fixed: Target at least Windows 2000
--HG--
branch : develop
2015-12-23 14:47:11 +01:00
kervala
72af4052ee Changed: Add getTotalVideoMemory to IDriver to query total video memory
--HG--
branch : develop
2015-12-23 14:36:16 +01:00
Nimetu
f4d47f27aa Fixed: Crash when div was following p element
--HG--
branch : develop
2015-12-22 01:29:53 +02:00
Nimetu
b06d8bb039 Fixed: Stuck scrollbar
--HG--
branch : develop
2015-12-20 03:33:43 +02:00
Nimetu
e68d6f83fe Fixed: Incorrect vertical spacing between block style elements
--HG--
branch : develop
2015-12-18 21:23:18 +02:00
Nimetu
5e61995c3c Changed: Render p and div as block level elements
--HG--
branch : develop
2015-12-19 20:39:40 +02:00
Nimetu
bcae216816 Fixed: Table colspan overwrites previous row column width
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
fe476d4872 Added: html TH element
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
2eb56b6460 Added html HR element
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
045a6471fe Added: html OL list
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
kervala
ad93a9005f Changed: Improve errors reporting
--HG--
branch : develop
2015-12-17 13:02:12 +01:00
kervala
a22e056de1 Fixed: Typos
--HG--
branch : develop
2015-12-17 12:51:26 +01:00
kervala
5efaa8360f Changed: Minor changes
--HG--
branch : develop
2015-12-17 12:48:57 +01:00
kervala
75eceb9b24 Fixed: loadPNG with RGB images was returning 32
--HG--
branch : develop
2015-12-16 14:50:40 +01:00
kervala
a550f2c760 Changed: Minor changes
--HG--
branch : develop
2015-12-15 14:07:32 +01:00
kervala
70196d2f90 Fixed: Implement launch of executables under OS X
--HG--
branch : develop
2015-12-15 14:06:49 +01:00
kervala
8aff509f0f Fixed: Clang warnings
--HG--
branch : develop
2015-12-13 15:25:28 +01:00
kervala
15aed08533 Fixed: Removed unneeded operator for CSString (compilation fails with VC++ 2010 without STLport)
--HG--
branch : develop
2015-12-13 14:21:20 +01:00
kervala
9d30c279e0 Fixed: Compilation of some tools with Qt 5 in static
--HG--
branch : develop
2015-12-13 13:09:25 +01:00
kervala
7ebe3088bb Fixed: Compile crash_report and ryzom_configuration if WITH_RYZOM_CLIENT is set
--HG--
branch : develop
2015-12-13 13:06:23 +01:00
kervala
fc951a24ce Fixed: Homogenize CFile::moveFile with other methods (use std::string instead of const char*)
--HG--
branch : develop
2015-12-13 13:03:16 +01:00
kervala
977103f9d0 Fixed: OS X uses .dylib extension instead of .so
--HG--
branch : develop
2015-12-11 20:19:10 +01:00
Nimetu
dceb45e373 Fixed: Keyboard capture not reset when clicking outside GUI.
--HG--
branch : develop
2015-12-10 10:56:03 +02:00
Nimetu
612125a243 Added: Size attributes to img (width, height, max-width, max-height)
--HG--
branch : develop
2015-12-08 21:53:54 +02:00
kervala
76a8904e9a Fixed: Compilation under OS X
--HG--
branch : develop
2015-12-08 14:33:09 +01:00
kervala
079ea3e5c5 Changed: Let dependencies propagate to other targets
--HG--
branch : develop
2015-12-07 21:48:32 +01:00
kervala
f393554075 Backed out changeset: 0e65571cbfd1 (doesn't fix anything)
--HG--
branch : develop
2015-12-06 19:46:02 +01:00
kervala
c6b52c4a21 Fixed: Remove \SystemRoot\ from path returned from Registry
--HG--
branch : develop
2015-12-06 16:42:49 +01:00
Nimetu
8f87990a1b Added: Smooth scrolling
--HG--
branch : develop
2015-12-06 16:38:29 +02:00
Nimetu
cb94cb4f9f Fixed: Scrolling in small steps not working.
--HG--
branch : develop
2015-12-06 16:26:39 +02:00
kervala
1fa2e22491 Changed: Port some tools to Qt 5
--HG--
branch : develop
2015-12-05 18:48:59 +01:00
Nimetu
7cbd840ce1 Added: style for html elements del, u, em, strong, small, and dl list
--HG--
branch : develop
2015-12-03 15:50:54 +02:00
Nimetu
a7100eb5bc Changed: Ignore text from <script> element
--HG--
branch : develop
2015-12-03 15:50:46 +02:00
Nimetu
d4ed66d99b Added: URL #fragment navigation.
--HG--
branch : develop
2015-11-26 11:29:50 +02:00