Commit graph

469 commits

Author SHA1 Message Date
Nimetu
a5ede6e08a Fixed: Keyboard capture not reset when clicking outside GUI. 2015-12-10 10:56:03 +02:00
Nimetu
c13e885561 Added: Size attributes to img (width, height, max-width, max-height) 2015-12-08 21:53:54 +02:00
kervala
c4235f7b1e Changed: Let dependencies propagate to other targets 2015-12-07 21:48:32 +01:00
Nimetu
4827dcd60e Added: Smooth scrolling 2015-12-06 16:38:29 +02:00
Nimetu
2b11880d9f Fixed: Scrolling in small steps not working. 2015-12-06 16:26:39 +02:00
Nimetu
737d068147 Added: style for html elements del, u, em, strong, small, and dl list 2015-12-03 15:50:54 +02:00
Nimetu
d8735be24e Changed: Ignore text from <script> element 2015-12-03 15:50:46 +02:00
Nimetu
d3625364c6 Added: URL #fragment navigation. 2015-11-26 11:29:50 +02:00
Nimetu
9014aa6fad Added: Common attributes to h1..h6 elements 2015-12-02 20:37:44 +02:00
kervala
7e7deb34e2 Fixed: Bug when CURLMOPT_MAX_HOST_CONNECTIONS is not supported 2015-12-02 18:57:21 +01:00
kervala
9f2b505b49 Changed: Support for integer types in Lua 5.3, fixes #253 2015-11-14 18:19:58 +01:00
kervala
3ea4340ce6 Changed: Support for integer types in Lua 5.3, fixes #253 2015-11-14 11:46:17 +01:00
kervala
74fd0ba557 Changed: Minor changes 2015-11-13 19:37:32 +01:00
kervala
75a28a149b Fixed: Crash in CLuaManager 2015-11-13 19:18:41 +01:00
kervala
c27e1062e4 Changed: Support for integer types in Lua 5.3, fixes #253 2015-11-13 18:42:50 +01:00
kervala
380bac5728 Changed: Replaced some NLMISC::strlwr by NLMISC::toLower 2015-11-13 16:22:49 +01:00
Nimetu
ef50655b79 Add lua function CCtrlBase::setTooltipUtf8 to set tooltip from html page 2015-11-12 20:15:04 +02:00
Nimetu
bba1523d37 Fixed displaying utf8 string on <img> alt attr. 2015-11-12 16:01:57 +02:00
kervala
d4d12f2c81 Fixed: Compilation with old libcurl versions 2015-11-09 10:47:28 +01:00
Nimetu
f1e4fa9739 Fixed: CViewText not updating visible text when used by CCtrlTextButton 2015-11-08 05:15:40 +02:00
Nimetu
356cc7c3df Changed: Allow to set max concurrent cURL connections per CGroupHTML instance 2015-11-08 01:51:34 +02:00
kervala
0afd605acc Fixed: Clang warnings 2015-11-07 18:33:43 +01:00
kervala
72e707bbe0 Changed: Minor changes 2015-11-06 15:48:23 +01:00
kervala
32a82cc7a0 Fixed: Crash when cursor is over WebPage, Outpost or WebIG at first frame, patch by kishan_grimout (issue #245) 2015-11-03 13:40:49 +01:00
Nimetu
97754b7af1 Fixed: Crash in CWidgetManager::sendClockTickEvent when element removed from _ClockMsgTargets (issue #250) 2015-11-03 01:06:12 +02:00
Nimetu
79c101b4a2 Fix 'ah:' urls for untrusted domains 2015-08-11 19:35:27 +03:00
Nimetu
746a0b9f24 Add radio button type to CGroupHTML (issue 237) 2015-03-31 18:47:46 +03:00
Nimetu
1ae44aecdd Fix compiling on 32bit linux 2015-04-22 13:44:21 +03:00
Nimetu
e14c131332 Fix sending and receiving cookies 2015-04-20 20:51:00 +03:00
Nimetu
db2cee5b84 Fix possible curl handle leak 2015-04-20 20:50:56 +03:00
Nimetu
8d86495364 Fix compiling under windows 2015-04-20 01:04:52 +03:00
Nimetu
f8813e4d2e Replace url parser with one less strict 2015-04-19 22:12:05 +03:00
Nimetu
d7da85970d Make sure image src attribute matches local file or is absolute url 2015-04-19 22:01:46 +03:00
Nimetu
918d2c70fe Fix utf8 tooltips on web links 2015-04-19 20:26:38 +03:00
Nimetu
7e54d79be2 Use cURL as http transport 2015-04-17 17:41:01 +03:00
Nimetu
0933ffc9d2 Ensure that html is valid utf8 and that tags come in correct(ish) order 2015-04-18 23:23:23 +03:00
Nimetu
f3c99aa589 Remove libwww, only keep html entitites list 2015-04-17 15:10:00 +03:00
Nimetu
6198b7f496 Parse local files (ingame help) with new html parser 2015-04-13 20:53:10 +03:00
Nimetu
55a3c66c78 Implement html parser using libxml2 2015-04-13 20:52:34 +03:00
Nimetu
1f08e3ac94 Remove libwww dependency from CGroupHTML::addLink() signature 2015-04-13 20:51:39 +03:00
Nimetu
c1670e1318 Add span tag and bold, italic, underline, strikethrough styles to CGroupHTML 2015-03-29 18:24:19 +03:00
Nimetu
a1c11a07ba Add embolden, oblique, underline, strikethrough styles to CViewText 2015-03-29 18:24:16 +03:00
kervala
a9f2459f35 Fixed: Compilation with GCC 2015-03-02 23:27:12 +01:00
Nimetu
ba1052672f Fix compilation 2015-03-01 18:41:16 +02:00
kaetemi
60c7bfcf00 Merge with hotfix 2015-02-22 10:53:17 +01:00
kaetemi
d75b7f3491 Merge with dfighter-tools 2015-02-22 10:45:48 +01:00
kaetemi
51721efeec Visual Studio 2013 compilation support for NLGUI 2015-02-20 17:17:07 +01:00
kervala
5221bf199c Merge with hotfix 2015-02-14 14:31:19 +01:00
kervala
a5d69a78d7 Changed: Minor changes 2015-02-14 12:47:03 +01:00
Jan Boon
fce776f93e Merged in nimetu/ryzomcore/fix-issue-225 (pull request #98)
CGroupEditBox: ignore enter key when ctrl is pressed (ctrl+m combo) (issue #225)
2015-01-09 18:09:17 +01:00
Nimetu
e2517b8ebc Fix html submit button value that is included with form data (issue #226) 2015-01-09 13:11:20 +02:00
Nimetu
c05b296472 CGroupEditBox: ignore enter key when ctrl is pressed (ctrl+m combo) (issue #225) 2015-01-09 12:59:53 +02:00
dfighter1985
fe5c94505f CCtrlTextbutton checkcoords should call it's text's checkcoords method. Fix #219. 2014-12-21 22:55:27 +01:00
dfighter1985
b6c9cc5498 CDBViewQuantity shouldn't crash in the editor. 2014-10-20 22:49:46 +02:00
dfighter1985
38d2366a71 it's not a bad idea to store the value in the right variable... 2014-10-20 22:21:59 +02:00
dfighter1985
112d137add DBViewNumber shouldn't crash anymore. 2014-10-20 20:57:08 +02:00
dfighter1985
3193ab11de When setting the Id of the decorated edit box, set the Id of the text as well. 2014-10-20 18:51:53 +02:00
Jan Boon
841f06be25 Merged in nimetu/ryzomcore/html-table-rendering (pull request #92)
Some improvements to table rendering
2014-10-18 04:44:34 +02:00
Nimetu
754a0ff04d Fix html img not showing on some cases, clean up addImage method 2014-10-18 01:20:56 +03:00
Nimetu
a24400c059 Fix crash when using textarea without form 2014-10-18 00:15:51 +03:00
dfighter1985
c96c030b25 set the Id of the text properly when loading the decorated edit box. 2014-10-17 22:25:30 +02:00
dfighter1985
68fa126867 Create the viewtext of the decorated edit box when the box is created, also adjust it so the text is drawn to the right of the left texture. 2014-10-17 21:18:26 +02:00
dfighter1985
25b5750239 Fixed a typo that messed up the textures of decorated editbox. 2014-10-17 16:01:50 +02:00
dfighter1985
2a07542bf2 Save decorated edit box as such. 2014-10-16 21:03:58 +02:00
dfighter1985
50625d3e29 Update decorated edit box decoration coords while dragging. 2014-10-16 20:58:47 +02:00
dfighter1985
9b8991038d Allow selection of CGroupEditBox. 2014-10-16 20:29:36 +02:00
dfighter1985
715fdd1ddf Implemented CGroupEditBoxDecor a decorated CGroupEditBox. 2014-10-16 20:25:19 +02:00
dfighter1985
03c6a69141 Fix parent pos and size parsing. 2014-10-15 19:46:43 +02:00
Nimetu
11442b15ae Change table defaults valign=middle, cellpadding=1, cellspacing=2 2014-10-15 00:02:38 +03:00
Nimetu
66ca072948 Render table with rowspan, colspan.
Borders, if enabled, adds +1 to cell padding.
2014-10-14 15:29:06 +03:00
Nimetu
23d51172c2 Add rowspan and colspan attributes 2014-10-14 15:26:14 +03:00
dfighter1985
284de64589 When creating a new GUI set the base color to white. 2014-10-13 17:47:42 +02:00
dfighter1985
b8d16d8b9b Pos and Size parent setters should now use the widget directly as well. 2014-10-13 15:43:10 +02:00
dfighter1985
126631020f Size parent is now queried directly from the widget. 2014-10-13 15:26:47 +02:00
Nimetu
d938a90da6 Render table and cell borders 2014-10-13 01:59:20 +03:00
Nimetu
13b947861d Add bordercolor attribute to table tag 2014-10-13 01:10:46 +03:00
dfighter1985
cc3e44ac2b GUI Editor should show the right parent position. 2014-10-12 23:07:08 +02:00
dfighter1985
a96cdafb29 Parent positions should now be saved right again. 2014-10-12 23:05:22 +02:00
Nimetu
80e2d7fa35 Fix table cellpadding 2014-10-12 17:43:18 +03:00
dfighter1985
479625968d Implemented new action. 2014-10-11 21:43:28 +02:00
dfighter1985
f5826add20 Moved CRootGroup out of CInterfaceParser. 2014-10-11 19:30:30 +02:00
dfighter1985
c47188179a CInterfaceParser in editor mode should look for files in the working directory first. 2014-10-11 16:26:38 +02:00
dfighter1985
f6d34ddb37 Added limits to pch, should fix Linux build. 2014-10-11 13:04:03 +02:00
dfighter1985
c7bfb9cf20 Merged develop 2014-10-11 02:15:07 +02:00
dfighter1985
6c05ced558 Added support for grouping widgets. 2014-10-11 00:42:43 +02:00
dfighter1985
0aead6db70 Allow multiselection. 2014-10-10 20:25:25 +02:00
dfighter1985
20ccee370b Unselect selection when clicking 'nothing'. 2014-10-10 17:33:57 +02:00
kaetemi
a1262b71b2 Handle shadow outline in gui 2014-10-08 23:20:35 +02:00
dfighter1985
733fb56703 A little crash fix. 2014-10-08 21:28:20 +02:00
dfighter1985
a4dfd8c95e Sizes should remain the same when ungrouping. 2014-10-08 21:00:56 +02:00
dfighter1985
003ddd6881 Added support for ungrouping. 2014-10-08 20:36:16 +02:00
dfighter1985
e9f5fef158 Make group selection optional. 2014-10-08 18:45:17 +02:00
dfighter1985
01cdcaa480 Only select a group first in editor mode. 2014-10-08 18:00:54 +02:00
dfighter1985
b524c9fec1 Don't try to handle the right mouse button actions in editor mode. 2014-10-08 17:59:39 +02:00
dfighter1985
1111a022af When moving a group draw it's children too. 2014-10-08 17:52:56 +02:00
dfighter1985
4d06c3c278 Select groups first. 2014-10-08 17:37:05 +02:00
kaetemi
6ec644e2ba Fix rendering of specially sized window highlights 2014-10-08 09:31:13 +02:00
kaetemi
d2e9352d4c Fix when tx_b and tx_b_open have different heights 2014-10-08 09:30:59 +02:00
kaetemi
cbe5cb66f7 Add inset_t parameter to layer options, allows putting header graphics in top texture 2014-10-04 01:43:27 +02:00
kaetemi
96ea88ac07 Fix a bad copy paste in NLGUI 2014-10-04 01:43:13 +02:00