Commit graph

3446 commits

Author SHA1 Message Date
Nimetu
ac4fd3f8b2 Fixed: Changing font name for already rendered text leading to crash.
--HG--
branch : develop
2019-04-10 00:31:37 +03:00
Nimetu
fb54672815 Changed: Implement HTML renderer with CSS styling
--HG--
branch : develop
2019-04-05 21:57:42 +03:00
Nimetu
9587e9bcef Added: transparent, currentcolor values for background-color
--HG--
branch : develop
2019-04-29 15:03:55 +03:00
Nimetu
aede4dbab7 Added: relative/absolute font size values for css
--HG--
branch : develop
2019-04-29 15:03:55 +03:00
Nimetu
c107bdc56f Changed: Split css style from CGroupHTML
--HG--
branch : develop
2019-03-29 15:03:39 +02:00
Nimetu
7f41881be7 Changed: Split http parsing from CGroupHTML
--HG--
branch : develop
2019-04-29 15:03:32 +03:00
Nimetu
82f084982a Fixed: Reusing CIFile to load from bnp and from regular files.
--HG--
branch : develop
2019-04-29 14:10:19 +03:00
Nimetu
f065b7f747 Fixed: Opening local file with @ char in filename
--HG--
branch : develop
2019-04-25 08:38:23 +03:00
Nimetu
d67a9ccdb5 Backed out changeset: ce73fd40aa54
--HG--
branch : develop
2019-04-25 08:28:45 +03:00
Nimetu
f23fa7b0fe Added: const char* version of toLower()
--HG--
branch : develop
2019-03-28 14:44:58 +02:00
Nimetu
24767a86df Fixed: CSS inherit rules
--HG--
branch : develop
2019-03-15 15:41:02 +02:00
Nimetu
dafd8cf7f7 Changed: Add font inherit style rule
--HG--
branch : develop
2019-03-15 15:41:02 +02:00
Nimetu
64e54f24c1 Changed: Form element styling
--HG--
branch : develop
2019-03-14 22:59:33 +02:00
Nimetu
69f73ba28b Changed: Add hmin attribute to text button
--HG--
branch : develop
2019-03-14 14:57:55 +02:00
Nimetu
b6d3ff8323 Changed: Parse css pt/em/rem size values
--HG--
branch : develop
2019-03-12 20:03:34 +02:00
Nimetu
d62c139ee0 Changed: Parse html style attribute
--HG--
branch : develop
2019-03-12 20:02:43 +02:00
Nimetu
4cbed9f957 Fixed: Looping sound or crash during teleport with OpenAL driver
--HG--
branch : develop
2019-02-22 18:57:56 +02:00
Nimetu
70e40339a1 Fixed: Possible use after free and null pointer issues
--HG--
branch : develop
2019-02-22 18:57:56 +02:00
Nimetu
1635330a14 Fixed: Possible crash when queued buffers are already empty
--HG--
branch : develop
2019-02-18 22:22:25 +02:00
Nimetu
1e6027c970 Added: mp3 decoder based dr_mp3 single file library
--HG--
branch : develop
2019-02-18 13:46:39 +02:00
Nimetu
3a5bb966a8 Fixed: ffmpeg deocde getLength function was placeholder
--HG--
branch : develop
2019-02-13 14:52:07 +02:00
Nimetu
838dd14d15 Changed: Use popup menu for chat-copy function
--HG--
branch : develop
2019-02-11 14:32:13 +02:00
Nimetu
0e4048661c Fixed: Copy to clipboard mangles utf8 chars
--HG--
branch : develop
2019-02-11 12:45:37 +02:00
Nimetu
5e68a4e293 Fixed: Loss of precision when calculating text line width
--HG--
branch : develop
2019-02-11 12:45:15 +02:00
Nimetu
07d9107b6b Fixed: build interface border duplication
--HG--
branch : develop
2019-01-30 23:54:18 +02:00
Nimetu
1f1bd9fb8f Changed: Allow to override scroll bar texture width/height
--HG--
branch : develop
2019-01-29 00:34:38 +02:00
Nimetu
a888ce0080 Changed: Make border duplication as default for build interface
--HG--
branch : develop
2019-01-28 11:40:52 +02:00
Nimetu
8c51bbc808 Fixed: typo
--HG--
branch : develop
2019-01-19 22:28:13 +02:00
Nimetu
f4ade875a3 Added: CViewText centered text mode option.
--HG--
branch : develop
2019-01-19 22:26:36 +02:00
Nimetu
8b69d673be Changed: Allow to set font size without adding global font size coef
--HG--
branch : develop
2019-01-08 11:32:01 +02:00
Nimetu
dda8a36ee2 Changed: Allow to set custom sizing chars for text
--HG--
branch : develop
2019-01-08 11:31:50 +02:00
Nimetu
ef1977330b Fixed: Glyph size step not taken into account.
--HG--
branch : develop
2019-01-05 21:10:14 +02:00
Nimetu
0099eb3ba4 Changed: Do not restrict html font-family to inherit/monospace only.
--HG--
branch : develop
2018-12-27 11:32:52 +02:00
Nimetu
06c0f6800c Added: CGroupHTML::clearRefresh() lua function
--HG--
branch : develop
2018-12-27 09:03:02 +02:00
Nimetu
2607db5b51 Added: CGroupHTML::clearUndoRedo() lua function
--HG--
branch : develop
2018-12-27 09:02:07 +02:00
Nimetu
32109c7197 Changed: Wrong isEnded state for streaming file when still in waiting state.
--HG--
branch : develop
2018-12-26 18:16:21 +02:00
Nimetu
e1be4260d5 Fixed: Audio mixer isEventMusicEnded status was always true.
--HG--
branch : develop
2018-12-26 18:16:21 +02:00
Nimetu
2bbdbd82d5 Changed: Set image and form input element ids so then can be accessed with lua
--HG--
branch : develop
2018-12-20 22:21:43 +02:00
Nimetu
a34d4342d7 Merge with experimental-ui-scaling
--HG--
branch : develop
2018-12-06 15:20:18 +02:00
Nimetu
fcac398696 Fixed: More fixes for LineMaxW with scaling
--HG--
branch : experimental-ui-scaling
2018-12-06 15:19:54 +02:00
Nimetu
8a18a5dade Merge with experimental-ui-scaling
--HG--
branch : develop
2018-11-23 12:05:46 +02:00
Nimetu
8e53cd87e5 Fixed: Zero width/height letters (ie space) should not be included in atlas
--HG--
branch : develop
2018-11-19 11:26:31 +02:00
Nimetu
06ab5b5f16 Fixed: Invalid LineMaxW with scaling
--HG--
branch : experimental-ui-scaling
2018-11-18 17:17:56 +02:00
Nimetu
7ccd9da497 Merge with develop
--HG--
branch : experimental-ui-scaling
2018-11-17 10:09:34 +02:00
Nimetu
e5b7064a4d Changed: New font texture implementation
--HG--
branch : develop
2018-10-24 14:22:35 +03:00
Nimetu
ab6467f64c Fixed: Html P element not using style attribute
--HG--
branch : develop
2018-11-11 23:50:16 +02:00
Nimetu
5b4b7893f8 Fixed: openURL crash under linux
--HG--
branch : develop
2018-11-05 13:11:43 +02:00
Nimetu
edf1d12f65 Fixed: Opening local file with @ char in filename.
--HG--
branch : develop
2018-11-04 18:14:52 +02:00
Nimetu
19e1b47ddb Fixed: Compiling under windows
--HG--
branch : develop
2018-11-04 15:59:42 +02:00
Nimetu
cea7a4c0cb Backed out changeset: 68e5d9033466
--HG--
branch : develop
2018-11-01 08:33:35 +02:00
Nimetu
9b9bd0eb8c Fixed: Compiling withoud ffmpeg
--HG--
branch : develop
2018-10-24 08:38:47 +03:00
Nimetu
e994c12983 Added: FFmpeg based audio decoder
--HG--
branch : develop
2018-10-23 11:19:07 +03:00
Nimetu
c74a56f3b9 Fixed: Streaming source did not report finished state correctly
--HG--
branch : develop
2018-10-20 19:07:32 +03:00
Nimetu
12ec528b5a Fixed: Mouse events on partially hidden elemnts
--HG--
branch : develop
2018-10-20 19:07:32 +03:00
Nimetu
9aa52bc267 Fixed: Scale button height as needed based on text height
--HG--
branch : develop
2018-10-20 19:07:32 +03:00
Nimetu
31ad00a241 Merge with develop
--HG--
branch : experimental-ui-scaling
2018-09-27 12:37:59 +03:00
Nimetu
c2ffa714d2 Fixed: Wrong width for container list element
--HG--
branch : develop
2018-09-27 12:36:09 +03:00
Nimetu
4f7c082a4a Fixed: Wrong text width
--HG--
branch : develop
2018-09-27 08:30:33 +03:00
Nimetu
3157984c21 Merge with develop
--HG--
branch : experimental-ui-scaling
2018-09-15 21:40:00 +03:00
Nimetu
f5c8335fa9 Fixed: Wrong table width if colspan is used
--HG--
branch : develop
2018-08-26 22:58:48 +03:00
Nimetu
ea95d8e091 Fixed: HTML list element invalidates content on each frame
--HG--
branch : develop
2018-08-26 22:58:48 +03:00
Nimetu
dd03e1f0b1 Fixed: Remove onenter callback from html textarea
--HG--
branch : develop
2018-08-18 14:15:32 +03:00
kervala
729ba2ebbd Fixed: Typo
--HG--
branch : develop
2018-08-18 11:51:55 +02:00
kervala
6097ada1fa Changed: Removed other throws
--HG--
branch : develop
2018-08-18 11:20:37 +02:00
kervala
58efd082c1 Changed: Don't include curl.h in headers to avoid dependencies on CURL for more files that required
--HG--
branch : develop
2018-08-18 10:57:33 +02:00
kervala
40dc2188f2 Fixed: Check CURL backend on old CURL versions (tested with 7.22)
--HG--
branch : develop
2018-08-18 10:53:04 +02:00
Nimetu
adc89b3a82 Fixed: style inheritance for underline, strikethrough
--HG--
branch : develop
2018-08-18 09:16:14 +03:00
kervala
b86bf43090 Fixed: Simplify certificates management
--HG--
branch : develop
2018-08-11 21:47:50 +02:00
Nimetu
15355e3815 Changed: shadow attributes for CViewText and editbox templates
--HG--
branch : develop
2018-08-11 15:33:01 +03:00
Nimetu
33f6b64bb9 Changed: Add text-shadow and text-stroke style properties
--HG--
branch : develop
2018-08-10 14:09:34 +03:00
Nimetu
1525b03a83 Changed: Extend style attribute to other tags
--HG--
branch : develop
2018-08-11 09:59:01 +03:00
Nimetu
d32877ddc9 Changed: Keep track of style states in a single struct
--HG--
branch : develop
2018-08-10 16:00:43 +03:00
kervala
91fa4d3f5f Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-09 19:54:08 +02:00
kervala
c13b758be9 Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-09 19:47:44 +02:00
kervala
184d3698c9 Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-09 19:38:33 +02:00
kervala
dcaf417aee Changed: Minor changes
--HG--
branch : develop
2018-08-09 14:34:28 +02:00
kervala
cc6ed038b9 Fixed: Don't use memory aligned functions while debugging with VC++
--HG--
branch : develop
2018-08-09 14:32:00 +02:00
kervala
78670dfdda Fixed: Compilation with VC++ 2010
--HG--
branch : develop
2018-08-09 14:31:17 +02:00
kervala
f39c6ed3c6 Fixed: Warnings
--HG--
branch : develop
2018-08-09 14:30:13 +02:00
kervala
facc5f6d28 Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-09 14:27:42 +02:00
kervala
443cc7df65 Fixed: Don't throw an exception when a certifcate can't be found
--HG--
branch : develop
2018-08-08 20:55:40 +02:00
kervala
8a1588c147 Fixed: Also use SSL context callback when manually using Windows CA certs
--HG--
branch : develop
2018-08-08 20:55:14 +02:00
kervala
c4888b2d5b Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-08 20:54:09 +02:00
kervala
675f85c288 Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG--
branch : develop
2018-08-08 20:37:51 +02:00
kervala
53bae35fc4 Fixed: Use GlobalMemoryStatusEx instead of GlobalMemoryStatus (returns 64 bits numbers)
--HG--
branch : develop
2018-08-08 09:39:40 +02:00
kervala
b4f69007f6 Fixed: Compilation
--HG--
branch : develop
2018-08-07 20:29:39 +02:00
kervala
6966bc1a12 Fixed: Compilation with older CURL
--HG--
branch : develop
2018-08-07 18:41:04 +02:00
kervala
d9e6d34fcc Changed: Make sslCtxFunction private and don't include curl.h in header
--HG--
branch : develop
2018-08-07 18:40:48 +02:00
kervala
a0c3a3adc5 Fixed: Link nelgui to Security framework (fix compilation with curl using DarwinSSL backend)
--HG--
branch : develop
2018-08-07 13:29:36 +02:00
kervala
ce31c4c17f Changed: Minor changes
--HG--
branch : develop
2018-08-05 14:59:28 +02:00
kervala
1dc5ad039e Fixed: Link NELGUI to Crypt32.lib and Cryptui.lib under Windows
--HG--
branch : develop
2018-08-05 14:59:06 +02:00
kervala
f04fd9809c Fixed: Allow to use custom CA Certificates under all platforms if libcurl compiled with OpenSSL for WebIG and login
--HG--
branch : develop
2018-08-05 14:31:53 +02:00
kervala
1000e29a96 Fixed: Compilation with VC++ 2013
--HG--
branch : develop
2018-07-31 18:36:36 +02:00
kervala
307eb77e63 Changed: Generate version_nl.h in include/nel/misc
--HG--
branch : develop
2018-07-28 11:31:32 +02:00
Jan Boon
13e2da698a Fix build under Visual Studio 2008
--HG--
branch : develop
2018-07-03 16:09:15 +08:00
Nimetu
7eb63bfb3f Fixed: Font underline position
--HG--
branch : experimental-ui-scaling
2018-06-25 11:16:59 +03:00
Nimetu
1c142ef968 Fixed: Font size calculations for scaled text.
--HG--
branch : experimental-ui-scaling
2018-06-22 19:44:12 +03:00
Nimetu
375cedb09e Merge with develop
--HG--
branch : experimental-ui-scaling
2018-06-21 22:21:14 +03:00
ulukyn
0863830734 Added: Downloadable textures in texture property of CViewBitmap
--HG--
branch : develop
2018-06-12 14:43:20 +02:00
ulukyn
1a128ac269 Added: Diplay:inline-block option to style of div in group_html
--HG--
branch : develop
2018-06-12 13:39:33 +02:00
ulukyn
6573d96fd7 Fixed: enable _TrustedDomain when html is rendered by lua code
--HG--
branch : develop
2018-05-31 21:03:05 +02:00
Nimetu
97d0d45384 Fixed: lua:showDiv accessing already deleted objects
--HG--
branch : develop
2018-05-29 22:34:29 +03:00
Nimetu
e2617bfe9b Fixed: Decoding dds with improper width/height
--HG--
branch : develop
2018-05-28 14:46:16 +03:00
Nimetu
30caac063e Fixed: Wrong text width when used inside html list element
--HG--
branch : develop
2018-05-23 22:18:19 +03:00
Nimetu
ebbb270bc1 Fixed: Use target_stepy to calculate dy for scrolling
--HG--
branch : develop
2018-05-13 17:00:45 +03:00
Nimetu
e625f2b3c7 Fixed: Mouse wheel should scroll target object instead scroll bar (fixes issue #327)
--HG--
branch : develop
2018-05-10 12:46:11 +03:00
Nimetu
98ae75fe57 Added: curl ca bundle option to client cfg
--HG--
branch : develop
2018-05-07 21:37:40 +03:00
Nimetu
8ef8b2d62d Fixed: checkCoords needs XReal to be same as in updateCoords
--HG--
branch : develop
2018-09-27 21:42:31 +03:00
Nimetu
23d95705fd Added: Map search filter
--HG--
branch : develop
2017-03-01 20:04:54 +02:00
Nimetu
ccb2cbfa78 Fixed: cURL multi/easy handle cleanup
--HG--
branch : develop
2018-03-13 20:41:46 +02:00
Nimetu
f5928305fe Fixed: unused variable memory leak
--HG--
branch : develop
2018-03-13 19:34:36 +02:00
kervala
afd9566ae8 Fixed: Don't crash when a PNG is truncated
--HG--
branch : develop
2018-03-07 15:49:48 +01:00
kervala
cecfbb9df9 Fixed: Warnings, throw(NLMISC::EStream) deprecated in C++11 and removed in C++17, and class keyword is useless
--HG--
branch : develop
2018-02-02 21:13:07 +01:00
kervala
613d4ddc34 Fixed: Warnings, throw(NLMISC::EStream) deprecated in C++11 and removed in C++17, and class keyword is useless
--HG--
branch : develop
2018-02-02 21:04:30 +01:00
kervala
f790af1d57 Fixed: Wrong size for 32 bits indices array
--HG--
branch : develop
2018-01-26 12:29:13 +01:00
kervala
56d17e2729 Changed: Constify parameters
--HG--
branch : develop
2018-01-03 18:07:47 +01:00
kervala
31a7e3a90d Changed: CNelExport destructor now virtual like parent's one
--HG--
branch : develop
2018-01-03 18:07:08 +01:00
kervala
c41b20c9e9 Fixed: Compilation of Tiles Editor MFC version
--HG--
branch : develop
2018-01-03 18:05:54 +01:00
kervala
2502e10592 Fixed: Warnings with VC++ 2017
--HG--
branch : develop
2018-01-03 18:04:00 +01:00
kervala
cba3e90f32 Changed: Minor change
--HG--
branch : develop
2018-01-03 14:52:39 +01:00
kervala
c5507b8728 Changed: Display string length in message (to debug empty strings)
--HG--
branch : develop
2018-01-03 14:52:26 +01:00
kervala
dcb3f2b149 Fixed: Send an Unicode empty string
--HG--
branch : develop
2018-01-03 14:10:30 +01:00
kervala
8c46a655c6 Fixed: Wrong string conversions
--HG--
branch : develop
2018-01-03 14:06:25 +01:00
kervala
51e4a5e7c1 Fixed: Use c_str() to display a string
--HG--
branch : develop
2018-01-02 17:43:09 +01:00
kervala
3d3046ff97 Changed: Minor changes
--HG--
branch : develop
2018-01-02 17:42:33 +01:00
kervala
c744fc9acd Fixed: RollupMouseMessage useless since 3dsmax 2.0
--HG--
branch : develop
2018-01-02 17:41:03 +01:00
kervala
6a06255c61 Fixed: Crash because CreateDialogParam returns NULL (a big thanks to Teanwen!)
--HG--
branch : develop
2018-01-02 16:33:13 +01:00
kervala
584621fe2f Changed: Minor changes
--HG--
branch : develop
2018-01-02 16:31:50 +01:00
kervala
189ed246b1 Fixed: Crash in 3dsmax plugins (patch provided by Teanwen, thank you so much)
--HG--
branch : develop
2018-01-02 16:29:42 +01:00
kervala
e2dda1585d Changed: Minor changes
--HG--
branch : develop
2017-12-02 16:46:44 +01:00
kervala
9e9b005b3b Changed: Centralize hexadecimal conversions
--HG--
branch : develop
2017-12-02 16:44:38 +01:00
Nimetu
b00d62d4ce Fixed: Client exit on unicode composite character errors
--HG--
branch : develop
2017-11-20 16:00:51 +02:00
Nimetu
8febcb1f60 Fixed: Detecting video mem on ATI cards
--HG--
branch : develop
2017-11-15 15:13:00 +02:00
kervala
3e4a873429 Changed: Implement escapeArgument function
--HG--
branch : develop
2017-11-05 19:07:51 +01:00
kervala
93c2f55290 Changed: Minor changes
--HG--
branch : develop
2017-11-05 19:07:19 +01:00
kervala
d099e98dae Changed: Moved strFindReplaceAll to algo.h
--HG--
branch : develop
2017-11-05 19:06:03 +01:00
kervala
f1cdcd1654 Changed: More memory leaks detection
--HG--
branch : develop
2017-11-05 18:30:30 +01:00
kervala
c1188a9e25 Fixed: Use our own defines for Windows editions to not rely on Windows 10 SDKs (not compatible with Windows XP)
--HG--
branch : develop
2017-10-25 21:35:12 +02:00
Nimetu
e8c5960882 Fixed: Image with tooltip did not expire.
--HG--
branch : develop
2017-10-17 14:44:28 +03:00
Nimetu
b98bd57659 Fixed: Comparing HSTS timestamp value
--HG--
branch : develop
2017-10-17 13:54:36 +03:00
Nimetu
81adb6c787 Fixed: Reading gif, off-by-one
--HG--
branch : develop
2017-10-16 19:38:35 +03:00
kervala
ef42c45da3 Fixed: Compilation
--HG--
branch : develop
2017-10-03 14:33:33 +02:00
kervala
c9aa7142bc Fixed: New versions of AssImp depend on IrrXML
--HG--
branch : develop
2017-10-03 14:33:25 +02:00
Nimetu
6b7617f8e1 Changed: Expand/collapse all tree node childs with right click
--HG--
branch : develop
2017-10-02 13:52:44 +03:00
kervala
bd901c5a8c Fixed: Commented too verbose messages
--HG--
branch : develop
2017-10-01 15:25:30 +02:00
kervala
2fad59f296 Changed: Added more memory leaks checks
--HG--
branch : develop
2017-10-01 15:08:31 +02:00
Nimetu
64c90c4fdc Fixed: Null pointer error
--HG--
branch : develop
2017-09-02 23:53:06 +03:00
Nimetu
9dce8df546 Fixed: Image tooltip not showing correctly
--HG--
branch : develop
2017-09-02 23:13:47 +03:00
Nimetu
d6dcf7415a Fixed: Multiline text inside lists
--HG--
branch : develop
2017-09-02 23:13:04 +03:00
Nimetu
c22b361dc2 Changed: Remove NeL tests temp files
--HG--
branch : develop
2017-08-31 12:36:06 +03:00