Commit graph

7004 commits

Author SHA1 Message Date
Riasan
319cab93cd Fixed: force_camera_fp command
--HG--
branch : develop
2017-05-23 18:24:49 +02:00
Riasan
18823c28fa Changed: Add new lua command force_camera_fp to force camarea to first person view
--HG--
branch : develop
2017-05-22 19:50:47 +02:00
Guillaume Dupuy
7e1556520f Fix an issue where item in groups could not be moved
Multiple group move would result in some item beeing incorrectly marked as equipped

--HG--
branch : fix_item_group
2017-05-21 19:32:08 +02:00
Nimetu
6c01ded28d Fixed: Redirect for image requests
--HG--
branch : develop
2017-05-14 01:03:49 +03:00
Riasan
28b4474ae4 Changed: Add a new gui window web_lua_action
--HG--
branch : develop
2017-05-12 19:29:10 +02:00
Nimetu
4f0717c58a Fixed: Image cookies
--HG--
branch : develop
2017-05-04 10:26:22 +03:00
Nimetu
3752884a91 Changed: Add next weather tooltip to ingame map
--HG--
branch : develop
2017-05-03 20:52:02 +03:00
Nimetu
753d9efccb Changed: Add humidity to ingame map
--HG--
branch : develop
2017-05-03 20:52:02 +03:00
Nimetu
e06f8b0976 Changed: Add minutes to ingame map
--HG--
branch : develop
2017-05-03 20:52:02 +03:00
Nimetu
5c56eb400e Changed: Workaround for white/black textures on Intel GPU (issue #310)
--HG--
branch : develop
2017-03-01 20:36:25 +02:00
Cédric OCHS
9bc910d102 Merged in Glorf/ryzomcore/fix_compilation_mac (pull request #152)
Fix compilation (tools + server) on OSX

Approved-by: Cédric OCHS <kervala@gmail.com>

--HG--
branch : develop
2017-04-29 09:09:09 +00:00
Guillaume Dupuy
431e2349d5 Fix build with macOS clang
--HG--
branch : fix_compilation_mac
2017-04-28 23:58:16 +02:00
Guillaume Dupuy
d5080e07cb Fix compilation on mac (thanks Siela for the fixes !)
--HG--
branch : fix_compilation_mac
2017-04-28 23:56:06 +02:00
Nimetu
a47a481c7a Changed: Force max table width if requested.
--HG--
branch : develop
2017-04-26 08:53:02 +03:00
Nimetu
bff8ed488e Changed: CGroupParagraph does not handle text with line-breaks
--HG--
branch : develop
2017-04-25 12:18:53 +03:00
Nimetu
108759952e Changed: Use http cache headers for image cache
--HG--
branch : develop
2017-04-20 21:19:51 +03:00
Nimetu
3d09dd2094 Changed: Save cookies from image request
--HG--
branch : develop
2017-04-20 21:19:01 +03:00
Nimetu
3d48368de6 Changed: Workaround for dancing trees under direct3d (issue #160)
--HG--
branch : develop
2017-04-23 20:01:35 +03:00
kervala
532a81f5cb Changed: Don't use CSString
--HG--
branch : develop
2017-04-22 18:16:27 +02:00
kervala
e94b06066f Fixed: LibXml must be initialized only once and xmlSetGenericErrorFunc set a global function (calling it for each instance of CIXml is a mistake)
--HG--
branch : develop
2017-04-22 18:15:43 +02:00
kervala
21ca659c70 Changed: More information for osxcross
--HG--
branch : develop
2017-04-21 11:05:57 +02:00
kervala
4a848b0771 Changed: Centralize Foundation framework search
--HG--
branch : develop
2017-04-21 11:04:09 +02:00
kervala
8dca705f73 Fixed: Misc depends on Carbon under OS X
--HG--
branch : develop
2017-04-21 11:03:39 +02:00
Nimetu
72b37450b4 Changed: Use basic cache expire for web images
--HG--
branch : develop
2017-04-20 15:37:47 +03:00
kervala
f23600cd30 Fixed: Compilation in 32 bits with GCC (patch provided by Alistair Leslie-Hughes, thanks a lot)
--HG--
branch : develop
2017-04-20 13:53:36 +02:00
Guillaume Dupuy
9586e39ca4 Use stdpch.h instead for include
--HG--
branch : fix_compilation_windows
2017-04-19 09:53:27 +02:00
Guillaume Dupuy
5b3eed58ec Fix server compilation under windows
--HG--
branch : fix_compilation_windows
2017-04-18 20:15:14 +02:00
Nimetu
20c216ecda Added: Basic queue for curl downloads
--HG--
branch : develop
2017-04-16 22:01:44 +03:00
Nimetu
9e7258d96e Fixed: Crash on webig debug log
--HG--
branch : develop
2017-04-16 21:56:12 +03:00
Guillaume Dupuy
4952eeb585 Add default constructor for CDepositState
--HG--
branch : save_deposit_state_v2
2017-04-12 22:15:23 +02:00
Guillaume Dupuy
bd3a27778e Save deposit state
--HG--
branch : save_deposit_state_v2
2017-04-12 20:02:11 +02:00
Guillaume Dupuy
a1fbc963a9 Avoid rollover in _RyzomDay for low values
--HG--
branch : save_deposit_state_v2
2017-04-10 01:56:44 +02:00
kervala
e5e2ccf45c Changed: Minor changes
--HG--
branch : develop
2017-04-11 17:29:09 +02:00
kervala
a829c31021 Added: Toolchain to compile OS X client under Linux using osxcross
--HG--
branch : develop
2017-04-11 17:28:32 +02:00
Nimetu
dda809d345 Changed: Remove map landmark limit
--HG--
branch : develop
2017-04-07 12:43:33 +03:00
Guillaume Dupuy
55add3ad47 Fix 2 * 1 hands equip when you have a 2 hands equipped
--HG--
branch : item_group
2017-04-07 19:07:26 +02:00
Guillaume Dupuy
91932668c6 Use item create time / serial to identify them (migration code included)
--HG--
branch : item_group
2017-04-07 19:00:36 +02:00
Guillaume Dupuy
ccd8454d60 Add getter/setter for CREATE_TIME/SERIAL
--HG--
branch : item_group
2017-04-07 12:34:19 +02:00
Nuno Gonçalves
ae6b3e38a0 Changed: rollback fixes of Strict aliasing warnings
--HG--
branch : item_group
2017-04-07 02:46:08 +02:00
Nuno Gonçalves
de949a60a9 Added: CREATE_TIME and SERIAL properties to items in database.xml
--HG--
branch : item_group
2017-04-06 15:01:10 +02:00
Guillaume Dupuy
cf3cf69c39 Don't fake invalid action if there is nothing to fake (no item equiped)
--HG--
branch : develop
2017-04-03 01:43:26 +02:00
Guillaume Dupuy
87b0a85fe6 Minor item group fixes :
* Slot properly saved for right/left hand (couldn't equip 1H sword + dagger before)
* Ingame macro edition for item group
* Use the correct index (db index and not item list index) to autoEquip an item
* non ascii characters (accentued characters and stuff like that) are now correctly displayed in interface / commands output

--HG--
branch : develop
2017-04-03 01:34:29 +02:00
Nimetu
b446df86f0 Changed: Remove dead code
--HG--
branch : develop
2017-03-31 20:43:43 +03:00
Nimetu
0236b3e4a4 Fixed: compiling server (fixes #303)
--HG--
branch : develop
2017-03-27 18:08:43 +03:00
Nimetu
4c6f79ed22 Fixed: missing stdpch.h (fixes #303)
--HG--
branch : develop
2017-03-27 17:35:20 +03:00
Nimetu
2eab033283 Fixed: Music player loading non-existing files into playlist.
--HG--
branch : develop
2017-03-25 15:00:43 +02:00
Meelis Mägi
86adf11579 Merged in Glorf/ryzomcore/item_group (pull request #144)
Item group support

--HG--
branch : develop
2017-03-23 16:11:15 +00:00
Guillaume Dupuy
850613ac7e Don't use a separate thread to fake invalid actions
--HG--
branch : item_group
2017-03-23 16:06:47 +01:00
Guillaume Dupuy
6e62b186d0 Fix style
--HG--
branch : item_group
2017-03-21 16:25:50 +01:00
Guillaume Dupuy
1122a4e806 Add translations
--HG--
branch : item_group
2017-03-20 21:50:02 +01:00
Guillaume Dupuy
3d53789e0f Remember the slot (right/left hand) for item that can we weared in two similar slots
--HG--
branch : item_group
2017-03-20 20:38:51 +01:00
Guillaume Dupuy
db3271289d Avoid crashing if interface file is not at the good version
--HG--
branch : item_group
2017-03-20 17:43:50 +01:00
Guillaume Dupuy
332a2b5a74 More verbose message, bad command usage now print a synopsis
--HG--
branch : item_group
2017-03-20 17:16:19 +01:00
Guillaume Dupuy
65ae5b4ad1 Add an option to remember item to remove when creating a group
--HG--
branch : item_group
2017-03-20 16:31:37 +01:00
Nimetu
c247b43a9b Changed: Fix ingame keys list
--HG--
branch : develop
2017-03-18 14:55:15 +02:00
Guillaume Dupuy
f222d1736a Fix uninit/release
--HG--
branch : item_group
2017-03-18 01:45:40 +01:00
Guillaume Dupuy
6af0fd168c Use SLOT_EQUIPEMENT instead of SLOTTYPE
--HG--
branch : item_group
2017-03-16 13:36:56 +01:00
Guillaume Dupuy
08306e6a69 Minor fixes
--HG--
branch : item_group
2017-03-16 12:47:36 +01:00
Guillaume Dupuy
1d36ea9acc Minor interface fixes
--HG--
branch : item_group
2017-03-16 12:24:20 +01:00
Guillaume Dupuy
83dea32f41 Add support for removing items before equipping an item group
--HG--
branch : item_group
2017-03-16 12:19:29 +01:00
Guillaume Dupuy
a6f541aad2 Cleanup
--HG--
branch : item_group
2017-03-16 11:36:24 +01:00
Guillaume Dupuy
27b7131e22 Fix compilation under windows
--HG--
branch : item_group
2017-03-16 00:59:53 +01:00
Guillaume Dupuy
11eeafc12d Support unlimited number of items group (and in a clean way)
--HG--
branch : item_group
2017-03-16 00:58:32 +01:00
Nimetu
be591b2107 Changed: replace c++11 code
--HG--
branch : develop
2017-03-15 17:43:49 +02:00
Guillaume Dupuy
c2049935a4 Support for an item beeing in multiple groups
--HG--
branch : item_group
2017-03-11 19:25:45 +01:00
Guillaume Dupuy
5dcc7932ff Forgot a return
--HG--
branch : item_group
2017-03-11 01:06:39 +01:00
Guillaume Dupuy
d4b2e64c21 Fix compilation
--HG--
branch : item_group
2017-03-10 11:51:36 +01:00
Guillaume Dupuy
8880c37fb2 Remove C++11 features
--HG--
branch : item_group
2017-03-09 21:31:26 +01:00
Guillaume Dupuy
54ff3a88d5 Fix a crash
--HG--
branch : item_group
2017-03-09 20:52:02 +01:00
Guillaume Dupuy
6c9bbb8c0b Allow support for room / guild movement
--HG--
branch : item_group
2017-03-09 18:54:12 +01:00
Guillaume Dupuy
ecf2ac530c Remove usePrice from xml, it's now used if minPrice or maxPrice are not default value
--HG--
branch : item_group
2017-03-09 17:58:07 +01:00
Guillaume Dupuy
9fffec8ef1 Added interface for item groups
--HG--
branch : item_group
2017-03-09 17:47:25 +01:00
Guillaume Dupuy
fdbc261a7e First working prototype of itemgroups
--HG--
branch : item_group
2017-03-08 17:30:09 +01:00
kervala
076a50e3fb Changed: Use modulateFromColorRGBOnly to colorize a bitmap in textures_tool
--HG--
branch : develop
2017-02-27 10:57:24 +01:00
Nimetu
cea9549cd8 Added: Clickable urls in chat text (issue 282)
--HG--
branch : develop
2017-01-21 13:29:34 +02:00
Nimetu
5b0b92710a Added: copy_to_clipboard action handler
--HG--
branch : develop
2017-01-21 13:29:24 +02:00
Nimetu
9d0a2556d0 Changed: Refactor CViewLink to be able to use custom action handlers
--HG--
branch : develop
2017-01-21 13:29:20 +02:00
Nimetu
d7a797bf4a Changed: Ensure that menu resizes from child elements
--HG--
branch : develop
2017-01-21 13:29:15 +02:00
Nimetu
472ccb758a Fixed: Wrong size for list element
--HG--
branch : develop
2017-01-21 13:29:12 +02:00
Nimetu
524f80c8a0 Fixed: Crash when trying to navigate to non-existing #anchor
--HG--
branch : develop
2017-01-21 13:29:05 +02:00
Nimetu
fa8e1d95db Changed: Improve cURL error message for failed requests
--HG--
branch : develop
2017-01-21 13:28:48 +02:00
Nimetu
0f5ec6c0b4 Fixed: Windowed resolution resetting when closing from login/outgame views.
--HG--
branch : develop
2017-01-12 13:29:47 +02:00
Nimetu
109725fc9e Changed: Move dyn channel commands (/0, /1 ..) to commands.xml
--HG--
branch : develop
2017-01-11 15:12:06 +02:00
Nimetu
3e95a8b89f Fixed: Client crash on bad PNG file from webig download.
--HG--
branch : develop
2017-01-10 14:07:11 +02:00
Nimetu
a7ca4ec3b9 Changed: Minor change
--HG--
branch : develop
2017-01-10 14:07:06 +02:00
kervala
9541e78219 Changed: Exit if line is truncated
--HG--
branch : develop
2017-01-04 14:24:25 +01:00
kervala
5af01c7e24 Fixed: Support for quads and any number of vertices for a face
--HG--
branch : develop
2017-01-04 14:24:02 +01:00
kervala
74558b9517 Changed: Allow to define output bitmap size
--HG--
branch : develop
2017-01-04 14:22:38 +01:00
kervala
ca5a4f6788 Changed: Use NLMISC::drawFullLine instead of NLMISC::drawLine for better render
--HG--
branch : develop
2017-01-03 13:43:31 +01:00
kervala
7fac9341ee Fixed: V coordinates are inverted
--HG--
branch : develop
2017-01-03 13:42:32 +01:00
kervala
b55f659a12 Changed: Generate an UV map from a Wavefront OBJ file
--HG--
branch : develop
2017-01-03 12:28:31 +01:00
kervala
147053404d Changed: Formatting
--HG--
branch : develop
2017-01-02 09:58:05 +01:00
kervala
6ed3213a1a Changed: Use _T and tStrToUtf8/utf8ToTStr macros
--HG--
branch : develop
2017-01-02 09:57:48 +01:00
kervala
88d345e857 Changed: Allow to parse HTML color format in CRGBA::stringToRGBA
--HG--
branch : develop
2017-01-02 09:48:40 +01:00
kervala
dde8fd723a Added: New tool textures_tool to produce diffuse, normal, specular, etc... textures from an UV template and seamless textures or colorize a texture with a color
--HG--
branch : develop
2017-01-01 22:44:27 +01:00
kervala
534630bdcc Changed: Implement CBitmap::setPixelColor
--HG--
branch : develop
2017-01-01 22:42:37 +01:00
kervala
1bd7e18ba7 Fixed: Loading of some JPEG variants
--HG--
branch : develop
2017-01-01 22:40:52 +01:00
kervala
065d1dc84c Changed: Minor change
--HG--
branch : develop
2017-01-01 22:40:22 +01:00
kervala
1bb75d8956 Fixed: Bug with C++11 under Linux with clang (an iterator is invalidated after an erase)
--HG--
branch : develop
2016-12-31 15:16:09 +01:00
kervala
66fcc5081a Changed: Temporary comment Lua functions registration (crash when reselect characters)
--HG--
branch : develop
2016-12-24 14:02:33 +01:00
kervala
3265749bfe Changed: Don't need to release twice CEditor
--HG--
branch : develop
2016-12-24 14:01:51 +01:00
kervala
48734b6d2f Changed: Minor change
--HG--
branch : develop
2016-12-24 14:01:35 +01:00
kervala
d8ffb10df8 Changed: Use a global C64BitsParts union to avoid strict aliasing warnings
--HG--
branch : develop
2016-12-24 14:01:21 +01:00
kervala
6c09626fde Changed: Define new variables for VC++ 2015
--HG--
branch : develop
2016-12-23 09:58:44 +01:00
kervala
3efe3ab1c1 Changed: Use hg log -r . instead of hg tip to get last revision
--HG--
branch : develop
2016-12-23 09:58:30 +01:00
Nimetu
3fbfa4743b Fixed: Wrong element width when using scaled texture.
--HG--
branch : develop
2016-12-21 23:47:50 +02:00
Nimetu
04e774dc37 Backed out changeset: c1085bbb3dae
--HG--
branch : develop
2016-12-21 23:46:32 +02:00
Nimetu
254c7690f8 Fixed: Wrong element width when using scaled texture.
--HG--
branch : develop
2016-12-21 23:16:27 +02:00
kervala
43195f71a5 Fixed: Servers compilation under Linux
--HG--
branch : develop
2016-12-21 15:18:26 +01:00
kervala
03ad7b63d4 Fixed: cpptest is using std::auto_ptr
--HG--
branch : develop
2016-12-21 14:51:09 +01:00
kervala
1b1e08b7f6 Changed: Warnings
--HG--
branch : develop
2016-12-19 17:47:15 +01:00
kervala
798fde40f6 Fixed: Recursive call
--HG--
branch : develop
2016-12-19 17:46:48 +01:00
kervala
3defbbbc89 Changed: Don't change x or y in these cases
--HG--
branch : develop
2016-12-19 17:46:38 +01:00
kervala
e2f776d21e Fixed: Memory leak
--HG--
branch : develop
2016-12-19 17:46:17 +01:00
kervala
6570b26297 Fixed: Virtual methods with different parameters
--HG--
branch : develop
2016-12-19 17:46:07 +01:00
kervala
07606ffd77 Fixed: done() is a method of QDialog
--HG--
branch : develop
2016-12-19 17:43:47 +01:00
kervala
c178730b80 Fixed: Virtual method with different parameters warning
--HG--
branch : develop
2016-12-19 16:37:16 +01:00
kervala
4e0a19205c Changed: Check return value of fwrite
--HG--
branch : develop
2016-12-19 15:50:54 +01:00
kervala
7aabc217b0 Fixed: Compilation under Linux
--HG--
branch : develop
2016-12-19 15:50:21 +01:00
kervala
db9fbd2746 Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-12-19 15:49:50 +01:00
kervala
f921040f80 Fixed: Use a string (default was a bool)
--HG--
branch : develop
2016-12-19 15:46:05 +01:00
kervala
408dbb64f6 Fixed: Uninitialized variable
--HG--
branch : develop
2016-12-19 15:44:08 +01:00
kervala
8db7d75e7e Fixed: Uninitialized variables
--HG--
branch : develop
2016-12-19 15:43:38 +01:00
kervala
e29fa9a719 Changed: Display line numbers instead of a pointer
--HG--
branch : develop
2016-12-19 15:21:59 +01:00
kervala
89347cd6a0 Changed: Unicode
--HG--
branch : develop
2016-12-19 13:33:44 +01:00
kervala
6978dc9bee Changed: Use std::string instead of const char*
--HG--
branch : develop
2016-12-19 13:33:24 +01:00
kervala
0a4ce7e4e1 Changed: Unicode
--HG--
branch : develop
2016-12-19 13:17:07 +01:00
kervala
cbb1233ce2 Changed: Minor changes
--HG--
branch : develop
2016-12-19 13:16:48 +01:00
kervala
e186c7796b Changed: New DEV command to display a bubble with a long text
--HG--
branch : develop
2016-12-19 13:16:27 +01:00
kervala
31a540b35d Changed: Replace size() comparisons by empty() ones
--HG--
branch : develop
2016-12-19 13:15:25 +01:00
kervala
1e45f7bd45 Fixed: Truncated bubble texts
--HG--
branch : develop
2016-12-19 12:01:55 +01:00
kervala
61b76ad106 Changed: Minor changes
--HG--
branch : develop
2016-12-19 09:26:46 +01:00
kervala
bd13cabb13 Fixed: Wrong argument checked
--HG--
branch : develop
2016-12-19 09:26:28 +01:00
kervala
ede5a5a53b Fixed: Servers compilation
--HG--
branch : develop
2016-12-19 09:25:51 +01:00
kervala
148c748d31 Fixed: Compilation
--HG--
branch : develop
2016-12-18 20:39:47 +01:00
kervala
0668ff8f04 Changed: Minor changes
--HG--
branch : develop
2016-12-18 20:39:35 +01:00
kervala
8da20b30cc Changed: Merged changes from compatibility-develop that should also be in develop
--HG--
branch : develop
2016-12-18 20:39:16 +01:00
kervala
c458084b59 Fixed: Unicode MFC use
--HG--
branch : develop
2016-12-18 14:42:04 +01:00
kervala
a0b4bb2397 Changed: Strings initialization
--HG--
branch : develop
2016-12-18 14:41:47 +01:00
kervala
cbf407f9a1 Changed: Replaced comparisons with string("") by empty() check
--HG--
branch : develop
2016-12-18 14:40:54 +01:00
kervala
4d6e569f98 Changed: Use NLMISC::toString instead of sprintf
--HG--
branch : develop
2016-12-18 14:03:29 +01:00
kervala
6ac49adb8b Fixed: Warning when generating DLU
--HG--
branch : develop
2016-12-18 14:00:55 +01:00
kervala
1ed5dcdda9 Changed: Use %u instead of %d for uint
--HG--
branch : develop
2016-12-18 14:00:20 +01:00
kervala
32fbf8163d Fixed: Compilation
--HG--
branch : develop
2016-12-18 13:59:17 +01:00
kervala
b52daf9519 Fixed: Unicode MFC use
--HG--
branch : develop
2016-12-18 13:59:02 +01:00
kervala
c4d8565185 Changed: Make 2 different upgd_nl.bat depending on compiler
--HG--
branch : develop
2016-12-18 13:58:20 +01:00
kervala
c3b3db07f1 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-18 13:57:26 +01:00
kervala
cbf2c744f0 Changed: Replace some const char* by std::string
--HG--
branch : develop
2016-12-18 13:45:07 +01:00
Nimetu
ddcdc8b8fb Added: Border duplication option to texture atlas builder.
--HG--
branch : experimental-ui-scaling
2016-12-16 00:03:30 +02:00
Nimetu
bc5bf44c18 Merge with develop
--HG--
branch : experimental-ui-scaling
2018-03-16 11:33:16 +02:00
Nimetu
4c605fcfe0 Backed out changeset: da24b99ddf3d
--HG--
branch : experimental-ui-scaling
2017-05-11 11:48:05 +03:00
Nimetu
edf7551884 Backed out changeset: 85c435fe41bb
--HG--
branch : experimental-ui-scaling
2017-05-11 11:47:30 +03:00
kervala
3142a8d99f Changed: Support VC++ 2013 DLLs
--HG--
branch : develop
2016-12-15 21:11:27 +01:00
kervala
d039598225 Fixed: Compilation
--HG--
branch : develop
2016-12-12 12:02:25 +01:00
kervala
bca1722bdd Changed: Fix warning
--HG--
branch : develop
2016-12-11 19:26:38 +01:00
kervala
b766a01c8a Fixed: Compilation with clang
--HG--
branch : develop
2016-12-11 19:26:23 +01:00
kervala
c94ce037bb Fixed: Use -Wno-...
--HG--
branch : develop
2016-12-11 14:24:43 +01:00
kervala
e4109490cd Changed: GCC warnings
--HG--
branch : develop
2016-12-11 14:23:58 +01:00
kervala
bd8cdb46e0 Fixed: Wrong indent
--HG--
branch : develop
2016-12-11 14:21:28 +01:00
kervala
e7d1710747 Chnged: Sign comparison warning
--HG--
branch : develop
2016-12-11 14:20:52 +01:00
kervala
c240c45514 Changed: Removed unused variables
--HG--
branch : develop
2016-12-11 14:20:31 +01:00
kervala
71b5a1734e Fixed: Compilation
--HG--
branch : develop
2016-12-11 12:42:06 +01:00
kervala
106c924f49 Fixed: Use std::vector instead of CUniquePtr for arrays
--HG--
branch : develop
2016-12-11 12:31:24 +01:00
kervala
34d454c835 Changed: Use %u for uint
--HG--
branch : develop
2016-12-11 11:59:30 +01:00
kervala
62d4d8ccc0 Changed: Display line number instead of a pointer on a string
--HG--
branch : develop
2016-12-11 11:59:10 +01:00
kervala
10f7abb26f Fixed: %s needs a const char*
--HG--
branch : develop
2016-12-11 11:58:30 +01:00
kervala
1920a81a23 Fixed: Don't crash if a file is not unique in BNPs
--HG--
branch : develop
2016-12-11 11:57:02 +01:00
kervala
9d6f842f05 Merge
--HG--
branch : develop
2016-12-10 19:47:19 +01:00
kervala
86c82181ca Changed: Replace Win32 calls by NeL methods
--HG--
branch : develop
2016-12-10 19:46:51 +01:00
kervala
3d36a4bfb5 Changed: Removed unused methods and used TCHARs
--HG--
branch : develop
2016-12-10 19:42:02 +01:00
kervala
a1baec9de2 Changed: Use _T macro
--HG--
branch : develop
2016-12-10 19:39:39 +01:00
kervala
083f44ec32 Fixed: Compilation
--HG--
branch : develop
2016-12-10 19:36:41 +01:00
kervala
30b40568ed Changed: Use 3dsmax SDK definitions
--HG--
branch : develop
2016-12-10 19:07:15 +01:00
kervala
8ef8b60ab8 Fixed: Warning on 64 bits
--HG--
branch : develop
2016-12-10 19:05:24 +01:00
kervala
829092aa8c Fixed: Compilation with 3dsmax 2017 SDK
--HG--
branch : develop
2016-12-10 19:05:05 +01:00
kervala
dbf443beb7 Fixed: C++11 forbids to throw exception in destructor
--HG--
branch : develop
2016-12-10 19:04:29 +01:00
kervala
faecd5b952 Changed: extern keyword useless there
--HG--
branch : develop
2016-12-10 19:02:06 +01:00
kervala
d37a1e032c Fixed: Don't call CCoTask::releaseInstance() because allocated on heap
--HG--
branch : develop
2016-12-10 19:01:34 +01:00
kervala
9a6b3c91b7 Changed: Minor changes
--HG--
branch : develop
2016-12-10 18:58:13 +01:00
kervala
50b6af6d3d Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-12-10 18:55:31 +01:00
kervala
3c568ce8a3 Changed: New "new" definitions for NEW_DEBUG macro defined by MFC
--HG--
branch : develop
2016-12-10 18:50:01 +01:00
kervala
ba35109fe4 Changed: Destructor for CApplicationContext to display singletons still in memory
--HG--
branch : develop
2016-12-10 18:48:53 +01:00
kervala
bbcd14cecb Removed: Empty cpp files
--HG--
branch : develop
2016-12-10 18:40:17 +01:00
kervala
27b272f012 Changed: Replace a lot of const char* by std::string parameters
--HG--
branch : develop
2016-12-10 18:40:03 +01:00
kervala
6bbe0ad774 Changed: Some warnings are specific to clang
--HG--
branch : develop
2016-12-10 18:38:46 +01:00
kervala
fe72e1c8d3 Fixed: Compilation of World Editor in Unicode
--HG--
branch : develop
2016-12-10 18:15:01 +01:00
Nimetu
5d35bb8717 Fixed: Protocol-less url in windows
--HG--
branch : develop
2016-12-10 18:56:44 +02:00
kervala
94bf8fd54e Changed: Use TCHAR functions
--HG--
branch : develop
2016-12-10 14:21:20 +01:00
kervala
f0c5b7ea40 Changed: Use TCHAR functions
--HG--
branch : develop
2016-12-10 13:43:00 +01:00
kervala
934df9bd6f Changed: Already a std::string
--HG--
branch : develop
2016-12-10 13:09:16 +01:00
kervala
699680ac4a Changed: Use addSlashR to replace \n by \r\n
--HG--
branch : develop
2016-12-10 13:08:39 +01:00
kervala
5dfa19518a Changed: NeL helpers to launch an external editor
--HG--
branch : develop
2016-12-10 13:02:26 +01:00
kervala
5658cad02e Changed: Convert std::string <> TCHAR
--HG--
branch : develop
2016-12-10 13:01:27 +01:00
kervala
22de830c26 Changed: Check return code of WaitForSingleObject and log error
--HG--
branch : develop
2016-12-10 12:36:04 +01:00
kervala
c716c48fdb Fixed: Compilation
--HG--
branch : develop
2016-12-10 12:33:44 +01:00
kervala
dbba511ee7 Changed: Replace a lot of const char* by std::string parameters
--HG--
branch : develop
2016-12-10 12:30:57 +01:00
kervala
ab44d7e809 Changed: Use a CUniquePtr macro since std::unique_ptr doesn't exist on all (yet) supported platforms
--HG--
branch : develop
2016-12-10 12:05:29 +01:00
kervala
0f6ae5e239 Changed: Release all memory when leaving in login screen
--HG--
branch : develop
2016-12-09 16:15:18 +01:00
kervala
eabfcbf708 Fixed: Release CCurrentCoTask singleton
--HG--
branch : develop
2016-12-09 16:14:16 +01:00
kervala
06cc0ddec8 Changed: Delete filenames before allocating new ones
--HG--
branch : develop
2016-12-09 16:05:13 +01:00
kervala
995ea1e64f Changed: Unimplemented functions
--HG--
branch : develop
2016-12-09 16:04:50 +01:00
kervala
b66b85cefd Changed: Unicode MFC support
--HG--
branch : develop
2016-12-09 16:04:26 +01:00
kervala
9e0b38e6e0 Changed: New tga2dds option -g to force grayscale image instead of alpha
--HG--
branch : develop
2016-12-09 13:53:43 +01:00
kervala
0b171001d1 Removed: Empty cpp files
--HG--
branch : develop
2016-12-09 13:51:52 +01:00
kervala
e2b74b77c6 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-09 13:51:09 +01:00
kervala
22a8a61a75 Changed: VC++ 2005 (even if not supported...)
--HG--
branch : develop
2016-12-09 13:47:43 +01:00
kervala
80e357ffee Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015
--HG--
branch : develop
2016-12-09 13:47:15 +01:00
kervala
8e15feaa13 Fixed: Replace Win32 code by multiplatform one using NeL classes
--HG--
branch : develop
2016-12-07 14:22:50 +01:00
kervala
28042f6b21 Changed: Use UNICODE for all MFC projects because it's recommended by MS
--HG--
branch : develop
2016-12-07 13:04:43 +01:00
kervala
e5362bdae7 Changed: Warning
--HG--
branch : develop
2016-12-06 20:27:05 +01:00
kervala
9022dfafde Fixed: Compilation with clang
--HG--
branch : develop
2016-12-06 20:26:48 +01:00
kervala
3992b53683 Changed: Use _M and _T macros
--HG--
branch : develop
2016-12-06 20:26:26 +01:00
kervala
b112b7bc9b Fixed: Truncated pointer
--HG--
branch : develop
2016-12-06 20:25:31 +01:00
kervala
c79e47384d Fixed: Compilation
--HG--
branch : develop
2016-12-06 20:24:48 +01:00
kervala
fff0b5ce5b Changed: Don't close a display already closed
--HG--
branch : develop
2016-12-06 20:24:21 +01:00
kervala
363dfb9a3c Changed: Little less verbose warnings
--HG--
branch : develop
2016-12-06 20:23:49 +01:00
kervala
9cdb7446ce Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 20:13:15 +01:00
kervala
0bc80be124 Changed: Minor change
--HG--
branch : develop
2016-12-05 19:52:25 +01:00
kervala
0ae10c404e Changed: Display more warnings if using -fstack-protector
--HG--
branch : develop
2016-12-05 19:52:14 +01:00
kervala
e008cd4dae Changed: Display if using Ninja
--HG--
branch : develop
2016-12-05 19:42:21 +01:00
kervala
957bb8eeed Changed: Display all warnings excepted unused parameters
--HG--
branch : develop
2016-12-05 19:42:11 +01:00
kervala
bb9db58f0c Fixed: Only compile in c++0x in C++
--HG--
branch : develop
2016-12-05 19:40:48 +01:00
kervala
a56b938636 Changed: Only compile with libc++ in C++
--HG--
branch : develop
2016-12-05 19:40:24 +01:00
kervala
9bb46d2ae8 Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 19:39:19 +01:00
kervala
e0cb4bbe9e Changed: Use NLMISC::openURL to open a page in browser
--HG--
branch : develop
2016-12-05 19:35:55 +01:00
kervala
85bb706900 Changed: Use ADD_PLATFORM_LINKFLAGS macro
--HG--
branch : develop
2016-12-05 19:35:29 +01:00
kervala
ac79329448 Fixed: Compilation of Ryzom Installer with Qt versions older than 5.6
--HG--
branch : develop
2016-12-05 14:06:17 +01:00
kervala
5ee53205b9 Fixed: CMake definitions in PCH
--HG--
branch : develop
2016-12-05 14:04:43 +01:00
kervala
6162352d8b Fixed: Target OS X 10.7 so we can switch to libc++ instead of very old GCC 4.2.1 STL
--HG--
branch : develop
2016-12-05 14:04:22 +01:00
kervala
b5fc65ce3e Fixed: Force c++0x for GCC and clang to be able to use std::unique_ptr and std::shared_ptr
--HG--
branch : develop
2016-12-05 14:03:44 +01:00
kervala
10a3255523 Fixed: Compilation
--HG--
branch : develop
2016-12-05 12:03:08 +01:00
kervala
83a64809c6 Changed: Ligo headers path
--HG--
branch : develop
2016-12-05 09:53:25 +01:00
kervala
13ddbf39ef Changed: Moved other Ligo headers to include
--HG--
branch : develop
2016-12-05 09:51:48 +01:00
kervala
ad91edabff Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings)
--HG--
branch : develop
2016-12-05 09:24:26 +01:00
kervala
1dfae26b25 Fixed: Compilation under Linux
--HG--
branch : develop
2016-12-05 09:03:13 +01:00
kervala
ede41a3091 Changed: Only compile gameshare for Ryzom servers, client or tools
--HG--
branch : develop
2016-12-04 20:31:24 +01:00
kervala
85b9398668 Changed: Use -200.f instead of float(-200)
--HG--
branch : develop
2016-12-04 20:00:37 +01:00
kervala
90b57e684b Changed: Catch constification
--HG--
branch : develop
2016-12-04 19:59:45 +01:00
kervala
9e22ece5b6 Fixed: Support 3dsmax 2017 SDK
--HG--
branch : develop
2016-12-04 19:59:25 +01:00
kervala
f5008cb00d Changed: Convert MSTR to UTF-8
--HG--
branch : develop
2016-12-04 19:35:47 +01:00
kervala
6d651b9c68 Changed: Use !empty() instead of size()
--HG--
branch : develop
2016-12-04 19:18:08 +01:00
kervala
c71f712d11 Fixed: Release libxml2 structures before exit
--HG--
branch : develop
2016-12-04 19:17:21 +01:00
kervala
09c99dd2c3 Fixed: Compatibility with CMake 2.8
--HG--
branch : develop
2016-12-04 19:16:34 +01:00
kervala
00048f0d6d Changed: Don't use std::auto_ptr anymore (use std::unique_ptr instead)
--HG--
branch : develop
2016-12-04 18:38:16 +01:00
kervala
36cc1ea2b5 Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions
--HG--
branch : develop
2016-12-04 17:27:29 +01:00
kervala
b3da4247d4 Fixed: Latest 3dsmax SDK versions are using p_end instead of end
--HG--
branch : develop
2016-12-04 17:25:27 +01:00
kervala
664f494b07 Changed: nlwarning already put a \n
--HG--
branch : develop
2016-12-04 17:24:00 +01:00
kervala
b4de1326d1 Fixed: Fix memory leaks about logs, displayers, etc...
--HG--
branch : develop
2016-12-04 17:23:28 +01:00
kervala
b8658f65f1 Changed: Don't need to use const char*
--HG--
branch : develop
2016-12-04 17:22:49 +01:00
kervala
35f1fa0609 Changed: Renamed thread to Thread and assign InstallThread and DownloadThread
--HG--
branch : develop
2016-12-04 17:19:37 +01:00
kervala
0449bee4a8 Changed: Replace 0 by NULL
--HG--
branch : develop
2016-12-04 17:17:25 +01:00
kervala
491b6a2b59 Fixed: Delete CViewRenderer instance (fix a memory leak)
--HG--
branch : develop
2016-12-04 17:17:06 +01:00
kervala
17847efa51 Fixed: Delete created thread (fix a memory leak)
--HG--
branch : develop
2016-12-04 17:15:43 +01:00
kervala
c3a6610f36 Changed: Don't need to use CSString
--HG--
branch : develop
2016-12-04 17:14:47 +01:00
kervala
f17bd720b1 Fixed: Warnings with GGC 6
--HG--
branch : develop
2016-12-04 17:12:58 +01:00
kervala
1a338b3462 Fixed: getMission returns a mission instead of NULL
--HG--
branch : develop
2016-12-04 17:12:39 +01:00
kervala
ec6ffe547c Fixed: Typo
--HG--
branch : develop
2016-12-04 17:11:23 +01:00
kervala
bf7b51ca6c Fixed: Only 1 parameter for forceMissionProgress
--HG--
branch : develop
2016-12-04 17:11:12 +01:00
kervala
e69858491c Fixed: Don't truncate 64 bits pointers
--HG--
branch : develop
2016-12-04 17:10:10 +01:00
kervala
d62c17986d Changed: Remove empty function
--HG--
branch : develop
2016-12-04 17:05:36 +01:00
kervala
18dfbcd5a7 Changed: Only delete _ProcessName if not NULL
--HG--
branch : develop
2016-12-04 17:05:17 +01:00
kervala
00ab100192 Changed: Use NULL instead of 0
--HG--
branch : develop
2016-12-04 17:04:55 +01:00
kervala
7203a23706 Fixed: Warning with VC++ 2015
--HG--
branch : develop
2016-12-04 17:04:38 +01:00
kervala
aef84bea6d Fixed: Compilation restore new to use new placement
--HG--
branch : develop
2016-12-04 17:04:05 +01:00
kervala
1d7b3f470c Changed: Include PCH
--HG--
branch : develop
2016-12-04 17:03:15 +01:00
kervala
0ecac0249c Removed: Empty sources
--HG--
branch : develop
2016-12-04 17:01:38 +01:00
kervala
b6662b9e0b Changed: Memory leaks detection
--HG--
branch : develop
2016-12-04 17:00:20 +01:00
kervala
44c15f946c Fixed: Define new operators when memory leaks detectin is enabled
--HG--
branch : develop
2016-12-04 16:56:32 +01:00
kervala
dbcc8d46f5 Fixed: Use macros instead of functions for memory align wrappers (easier to find memory leaks)
--HG--
branch : develop
2016-12-04 16:55:52 +01:00
kervala
91d6734e2a Fixed: Memory leaks in CBigFile
--HG--
branch : develop
2016-12-04 16:54:57 +01:00
kervala
8cc3963ddd Fixed: Respect coding standard for "parser" variable and delete it in destructor (fix a memory leak)
--HG--
branch : develop
2016-12-04 16:52:50 +01:00
kervala
13154bd79d Fixed: Replace free methods by freeBlock to avoid clash with free macros
--HG--
branch : develop
2016-12-04 15:55:00 +01:00
kervala
fd6a4d9f75 Fixed: Compilation
--HG--
branch : develop
2016-12-04 15:50:28 +01:00
kervala
b7e3e4b4f0 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-04 15:14:10 +01:00
kervala
730fee8538 Fixed: Compilation
--HG--
branch : develop
2016-12-03 18:14:58 +01:00
kervala
f3564ed86e Fixed: Compilation with GCC 6
--HG--
branch : develop
2016-12-03 18:14:31 +01:00
kervala
d9ab55640c Changed: Use MCHAR and _M macros for 3dsmax SDK strings
--HG--
branch : develop
2016-12-02 17:20:25 +01:00
kervala
ffa5203a79 Changed: Minor changes
--HG--
branch : develop
2016-12-02 16:30:10 +01:00
kervala
7af3a4c68c Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-12-02 16:24:31 +01:00
kervala
894151dba8 Changed: Constification of addSlashR and removeSlashR
--HG--
branch : develop
2016-12-02 16:01:43 +01:00
kervala
dd6cc92035 Fixed: We need to pass the executable full path as first argument to CreateProcess
--HG--
branch : develop
2016-12-02 16:00:22 +01:00
kervala
b1d39b07de Changed: Use CreateProcess instead of WinExec (deprecated) to launch an executable
--HG--
branch : develop
2016-12-02 15:59:45 +01:00
kervala
591dc1dffd Changed: Use std::string instead of const char* for openURL and openDoc
--HG--
branch : develop
2016-12-02 15:58:59 +01:00
kervala
58ec64e380 Fixed: Use UNICODE versions of Win32 API
--HG--
branch : develop
2016-12-02 15:57:25 +01:00
kervala
1e97c4f6f1 Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:51:53 +01:00
kervala
5988d7ea82 Changed: Support PNG for Snapshot Tool
--HG--
branch : develop
2016-11-29 20:47:33 +01:00
kervala
fa8c29b60b Changed: Constification of catches
--HG--
branch : develop
2016-11-29 20:46:49 +01:00
kervala
25a4d6bbed Changed: Replace all path native functions by NeL methods
--HG--
branch : develop
2016-11-29 20:43:55 +01:00
kervala
c13b007090 Changed: Moved Ligo headers to include
--HG--
branch : develop
2016-11-29 20:34:35 +01:00
kervala
e941cff0ff Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-11-29 20:32:33 +01:00
kervala
9f90b30699 Fixed: GCC warning "variable might be clobbered by longjmp"
--HG--
branch : develop
2016-11-29 20:28:19 +01:00
kervala
4aaec3dfc9 Changed: Use wide characters version of ShellExecute
--HG--
branch : develop
2016-11-29 20:26:34 +01:00
kervala
d568a0eedd Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:24:58 +01:00
kervala
3e2c731444 Fixed: -Wl,-z doesn't exist under OS X
--HG--
branch : develop
2016-11-26 16:32:09 +01:00
kervala
4f5d3afd51 Fixed: -Wl,-Bsymbolic-functions doesn't exist under OS X
--HG--
branch : develop
2016-11-26 15:59:43 +01:00
Nimetu
3b0c7e896c Changed: minor change to ui
--HG--
branch : develop
2016-11-26 15:24:05 +02:00
Nimetu
cf338681fa Changed: Add free-view mouse tablet mode option
--HG--
branch : develop
2016-11-26 14:55:38 +02:00
kervala
040f7c0fae Fixed: Return 0 if cancel installation
--HG--
branch : develop
2016-11-26 13:15:51 +01:00
kervala
fb21a038d9 Changed: Updated Ryzom Installer translations
--HG--
branch : develop
2016-11-26 13:15:03 +01:00
kervala
1137006eb4 Changed: Minor changes
--HG--
branch : develop
2016-11-25 14:12:03 +01:00