Commit graph

5443 commits

Author SHA1 Message Date
kervala
f0bfd6264e Fixed: Big endian number
--HG--
branch : develop
2016-01-06 13:15:01 +01:00
kervala
92fe9a6554 Fixed: Compilation
--HG--
branch : develop
2016-01-06 13:14:29 +01:00
kervala
a53ff71469 Changed: Replace strlwr by toLower
--HG--
branch : develop
2016-01-06 13:05:49 +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
64428d0018 Changed: Allow to debug Lua in FV too
--HG--
branch : develop
2016-01-06 12:38:10 +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
478371a666 Changed: Minor changes
--HG--
branch : develop
2016-01-05 12:59:40 +01:00
kervala
aa3993681b Changed: Use std::numeric_limits
--HG--
branch : develop
2016-01-05 12:59:28 +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
4d5be82f19 Changed: Minor changes
--HG--
branch : develop
2016-01-04 15:40:56 +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
9fc317bd20 Changed: Compile tools first because client needs some of them
--HG--
branch : develop
2016-01-04 15:33:55 +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
23e4517baa Fixed: Compilation with clang
--HG--
branch : develop
2016-01-03 20:13:21 +01:00
kervala
873f4995ce Fixed: Missing PATHS in MySQL CMake module
--HG--
branch : develop
2016-01-03 19:35:44 +01:00
kervala
bf19a4c61c Fixed: MySQL client under OS X
--HG--
branch : develop
2016-01-03 19:17:44 +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
ea937ba4f3 Changed: Remove SIGPIPE signal listener (hack for libwww)
--HG--
branch : develop
2016-01-03 17:49:02 +01:00
kervala
47bc397a30 Fixed: Don't force 1024x768 windowed if desktop resolution is already 1024x768 or less
--HG--
branch : develop
2016-01-03 17:48:23 +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
697ac2221c Changed: Allow to specify CPUMask in client.cfg to force the use of some cores
--HG--
branch : develop
2016-01-02 22:28:49 +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
de77bb634d Changed: Don't need to cast since it's already a sint32
--HG--
branch : develop
2016-01-02 17:10:50 +01:00
kervala
0c98a86e4b Fixed: Display alpha as an integer
--HG--
branch : develop
2016-01-02 17:10:23 +01:00
kervala
958ccb9b58 Changed: Add CPUMask variable
--HG--
branch : develop
2016-01-02 17:08:25 +01:00
kervala
20711e24e3 Fixed: Typos
--HG--
branch : develop
2016-01-02 17:04:45 +01:00
kervala
25a7caf341 Fixed: Use SaveShardRoot from game_share
--HG--
branch : develop
2016-01-02 17:02:07 +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
860a4d99ba Changed: Replaced substr == by compare, because more optimized (thanks to Kaetemi for the hint!)
--HG--
branch : develop
2016-01-01 16:26:12 +01:00
kervala
03eaa9181a Changed: Minor changes
--HG--
branch : develop
2016-01-01 16:08:11 +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
3984309945 Changed: Useless code because all clients will be able to patch themselve
--HG--
branch : develop
2016-01-01 15:59:32 +01:00
kervala
149adc351a Fixed: Path when UnpackTo doesn't have a trailing /
--HG--
branch : develop
2016-01-01 15:58:31 +01:00
kervala
aebc890f9c Fixed: Define RZ_USE_CUSTOM_PATCH_SERVER for ryzom_client_patcher
--HG--
branch : develop
2016-01-01 15:57:10 +01:00
kervala
ef6b8fb501 Fixed: Compilation
--HG--
branch : develop
2015-12-30 00:46:22 +01:00
kervala
17090524b1 Fixed: Compilation
--HG--
branch : develop
2015-12-30 00:13:58 +01:00
kervala
424e9ba99f Fixed: Compilation
--HG--
branch : develop
2015-12-30 00:10:08 +01:00
kervala
c032446549 Changed: Use WITH_UNIX_STRUCTURE for client icons
--HG--
branch : develop
2015-12-29 22:07:30 +01:00
kervala
130ca08bc7 Changed: Minor change
--HG--
branch : develop
2015-12-29 22:07:10 +01:00
kervala
ab4dc8ec01 Changed: Merge code from private repository
--HG--
branch : develop
2015-12-29 22:06:49 +01:00
kervala
d5e74ca5c8 Fixed: Wrong check (if c is NULL, nothing is happening)
--HG--
branch : develop
2015-12-29 17:59:18 +01:00
kervala
c6927af7c0 Changed: Minor changes
--HG--
branch : develop
2015-12-29 16:39:37 +01:00
kervala
ef16bab62e Changed: Merge code from private repository
--HG--
branch : develop
2015-12-29 16:35:47 +01:00
kervala
88042cc28d Changed: Minor changes
--HG--
branch : develop
2015-12-29 16:19:46 +01:00
kervala
8b770d41ac Fixed: Wrong bitmap size
--HG--
branch : develop
2015-12-29 16:15:07 +01:00
Nimetu
82afdecc72 Changed: Save screenshots with year-month-day info in filename
--HG--
branch : develop
2015-12-29 14:34:24 +02: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
4c0fc6074f Fixed: Set process name (fixes the <Unknown> under Linux and OS X)
--HG--
branch : develop
2015-12-28 18:13:37 +01:00
kervala
19cbbb2bec Changed: Don't create log.log anymore
--HG--
branch : develop
2015-12-28 18:12:45 +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
1928f6229c Fixed: Universe channel tab close
--HG--
branch : develop
2015-12-26 17:49:06 +01:00
kervala
478a2102b8 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 15:12:41 +01:00
kervala
28df949870 Fixed: Forgot to link to PlatformSupport under other platforms
--HG--
branch : develop
2015-12-26 15:12:29 +01:00
kervala
a8383e8f0f Changed: Use entity textures cache size depending on video memory
--HG--
branch : develop
2015-12-26 14:37:53 +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
1f2678eb10 Fixed: Warnings compiling with Qt 5
--HG--
branch : develop
2015-12-25 18:00:37 +01:00
kervala
1be6901176 Fixed: Link errors under Linux
--HG--
branch : develop
2015-12-25 17:59:41 +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
cbc1acfcd2 Fixed: Link order with Qt 5 static under Linux
--HG--
branch : develop
2015-12-25 15:33:03 +01:00
kervala
75d16f7054 Fixed: Define QT_NO_DEBUG in Release with Qt 5 also in PCH
--HG--
branch : develop
2015-12-25 15:31:34 +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
b68f217274 Fixed: client_config_qt needs QXcbGlxIntegrationPlugin in static
--HG--
branch : develop
2015-12-25 15:28:11 +01:00
kervala
2c6d4b6a50 Fixed: Frequency checks useless because it can be 0 or a wrong value, 16 bits depth requirement
--HG--
branch : develop
2015-12-25 15:26:32 +01:00
kervala
be0951f21f Fixed: Need to initialize OpenGL driver
--HG--
branch : develop
2015-12-25 15:25:08 +01:00
kervala
a86a013a16 Fixed: Warning when $json was empty (but perhaps we should fix the real reason...)
--HG--
branch : develop
2015-12-23 15:30:52 +01:00
kervala
cfd905b4a9 Changed: Replace ~0u by std::numeric_limits<uint>::max()
--HG--
branch : develop
2015-12-23 15:30:12 +01:00
kervala
4694ca2580 Fixed: Colors are on 3 bits (colors goes from 0 to 7) so 254 was converted to 6 (white)
--HG--
branch : develop
2015-12-23 15:28:33 +01:00
kervala
4fa6247672 Changed: windows.h already included in stdligo.h
--HG--
branch : develop
2015-12-23 15:23:50 +01:00
kervala
f1cc782223 Changed: Need more checks before using getTotalVideoMemory()
--HG--
branch : develop
2015-12-23 15:22:06 +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
kervala
016390446d Changed: Forgot to change RYZOM_GAMES_PREFIX
--HG--
branch : develop
2015-12-21 18:20:04 +01:00
kervala
5cf0fd10af Changed: Only copy installscript_osx.vdf in compatibility branch
--HG--
branch : develop
2015-12-21 17:34:09 +01:00
kervala
fb98ffe809 Changed: Added WITH_RYZOM_CUSTOM_PATCH_SERVER that allows to give priority to PatchUrl defined in client.cfg
--HG--
branch : develop
2015-12-21 17:33:32 +01:00
kervala
93225c6495 Changed: Minor changes
--HG--
branch : develop
2015-12-21 17:32:05 +01:00
kervala
9bc4534660 Fixed: use PatchUrl instead of PatchServer in ryzom_client_patcher
--HG--
branch : develop
2015-12-21 17:31:14 +01:00