Commit Graph

662 Commits (077f57c4b994f48634c82914cdf67b569f64d50e)

Author SHA1 Message Date
kervala 1d7b3f470c Changed: Include PCH
--HG--
branch : develop
8 years ago
kervala 8cc3963ddd Fixed: Respect coding standard for "parser" variable and delete it in destructor (fix a memory leak)
--HG--
branch : develop
8 years ago
kervala b7e3e4b4f0 Changed: Memory leaks detection
--HG--
branch : develop
8 years ago
kervala 4aaec3dfc9 Changed: Use wide characters version of ShellExecute
--HG--
branch : develop
8 years ago
kervala 94d3440148 Fixed: Strict aliasing warnings
--HG--
branch : develop
8 years ago
kervala f605c5faa5 Changed: Replace all "" by empty(), clear(), Empty(), etc...
--HG--
branch : develop
8 years ago
Nimetu 83bd0ffe38 Fixed: Crash when <select> element was without <form>
--HG--
branch : develop
8 years ago
kervala 16df8b8c1d Changed: Use empty() instead of comparison with ""
--HG--
branch : develop
8 years ago
kervala e3c2cb2a30 Changed: Use clear() instead of affectation
--HG--
branch : develop
8 years ago
kervala 19e8ee1d05 Changed: Simplified all ENDIF and ELSE
--HG--
branch : develop
8 years ago
kervala 497c488166 Fixed: Wrong syntax for NL_I64
--HG--
branch : develop
8 years ago
Nimetu 02dd8db21f Added: Lua function to render html string as new webpage
--HG--
branch : develop
8 years ago
Nimetu b5717de4fc Added: Remove hardcoded text overflow indicator
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 4a722c7783 Changed: Use UI scale change event to change CViewText font scale
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 279f67fc2d Changed: Use current scale value instead of asking CViewRenderer
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 7b0d1cd056 Fixed: Double font width scaling
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu f56e9e5e4c Merge with develop
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 7aeedf7ad4 Fixed: Bad typo
--HG--
branch : develop
9 years ago
Nimetu 290e7e97d1 Merge with develop
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 357973aa10 Added: font style to <pre> element
--HG--
branch : develop
9 years ago
Nimetu fe3601d664 Added: font-family style option
--HG--
branch : develop
9 years ago
Nimetu 9fb14c42d8 Added: Monospace font options
--HG--
branch : develop
9 years ago
Nimetu 58bf225891 Changed: Support custom font
--HG--
branch : develop
9 years ago
Nimetu afc08d2efd Added: Possible to use multiple fonts at the same time
--HG--
branch : develop
9 years ago
Nimetu f720b23dce Merge with develop
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu ef703ed6de Fixed: Double tooltip on web image links
--HG--
branch : develop
9 years ago
Nimetu 8d09471a6d Fixed: Pixel align underline/strikethrough line on text
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 44208ba1ad Changed: Use float for bitmap pos for better pixel align when scale is used
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 5e1c6cd287 Added: Bilinear filtering option for texture atlas textures
--HG--
branch : experimental-ui-scaling
9 years ago
kervala 8d3ca27424 Changed: Don't need to hardcode a text offset because the old font was not aligned
--HG--
branch : develop
9 years ago
kervala 58f0ee5e9e Fixed: The height of a CViewText was wrong in some cases because "|" is not the tallest character of the current font (ryzom.ttf)
--HG--
branch : develop
9 years ago
Nimetu 69f956583a Added: HTML css hsl(), hsla() color
--HG--
branch : develop
9 years ago
Nimetu c05fcd9b34 Added: HTML css rgb() and rgba() color
--HG--
branch : develop
9 years ago
Nimetu 5db76bfe99 Added: HTML #RGBA color
--HG--
branch : develop
9 years ago
Nimetu 07a68281a5 Fixed: Inconsistent html color parsing
--HG--
branch : develop
9 years ago
Nimetu b5a4ba313d Fixed: Keep \n inside <textarea>
--HG--
branch : develop
9 years ago
Nimetu 69728b9a2e Changed: CSS inherit value for some properties
--HG--
branch : develop
9 years ago
Nimetu f201abe6db Changed: Set <textarea>, <input> font style
--HG--
branch : develop
9 years ago
Nimetu caf8c5195c Added: Rows attribute to <textarea> element
--HG--
branch : develop
9 years ago
Nimetu e8c7cdbb32 Added: Minimum lines option to multiline text
--HG--
branch : develop
9 years ago
Nimetu 2cb71e654a Fixed: Update text widget parent size when interface scale changes
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 8965ce50d5 Changed: Font scaling
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu cf357edcb9 Added: Interface auto scaling to view renderer
--HG--
branch : experimental-ui-scaling
9 years ago
Nimetu 9ba0ac65ea Fixed: Send user-agent string and cookies with image request.
--HG--
branch : develop
9 years ago
Nimetu 85051340e1 Changed: Move addLink code to beginElement
--HG--
branch : develop
9 years ago
Nimetu 250a94e186 Changed: minor changes
--HG--
branch : develop
9 years ago
kervala 4b1959a560 Changed: Replace size() comparisons by empty()
--HG--
branch : develop
9 years ago
Nimetu f15926dd7e Changed: Remove legacy HTTPCurrentDomain variable
--HG--
branch : develop
9 years ago
Nimetu ae46d76d88 Fixed: Parsing url authority when path is empty
--HG--
branch : develop
9 years ago
Nimetu 8aa2a3ced6 Changed: Rename CUrlParser domain variable
--HG--
branch : develop
9 years ago
Nimetu 131f3814a3 Fixed: Resolve http-equiv refresh url
--HG--
branch : develop
9 years ago
Nimetu cdfecc8d69 Fixed: url inheriting for defined empty query component
--HG--
branch : develop
9 years ago
Nimetu 6f8a9b8108 Changed: Increase default request timeout for web browsers
--HG--
branch : develop
9 years ago
Nimetu a1e8408be0 Fixed: Tooltip position related to parent window
--HG--
branch : develop
9 years ago
kervala a002b20c7f Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala 89be3e39de Fixed: Clang warnings
--HG--
branch : develop
9 years ago
kaetemi 48a120b21f Fix curl crash
--HG--
branch : develop
9 years ago
Nimetu 1d0d1a505c Added: Possibility to set text as grayed in combo box
--HG--
branch : develop
9 years ago
Nimetu a95c887534 Changed: Implement multi-row select box
--HG--
branch : develop
9 years ago
Nimetu e2fca3a8f3 Added: http-equiv refresh
--HG--
branch : develop
9 years ago
Nimetu a50689a885 Changed: Use multiline text for http errors
--HG--
branch : develop
9 years ago
kervala aaecf96b67 Use new wrapper insteaf of fopen, issue #261
--HG--
branch : develop
9 years ago
Nimetu 6d9c9600a2 Fixed: reloading cached image with style reload:1 hint
--HG--
branch : develop
9 years ago
kervala 093ee91656 Fixed: libxml2 dependencies
--HG--
branch : develop
9 years ago
kervala af2f38612a Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
9 years ago
Nimetu 52dcf1a300 Changed: Use url from <base> element for relative urls
--HG--
branch : develop
9 years ago
kaetemi 9a477d976b VS2015 compilation fixes
--HG--
branch : develop
9 years ago
kervala 59c06630cd Changed: Table keys are integers
--HG--
branch : develop
9 years ago
kervala 839928a57a Fixed: In Lua, all integers are numbers and numbers can be converted to integers
--HG--
branch : develop
9 years ago
Nimetu ad8059c345 Fixed: Invalid image width/height on error
--HG--
branch : develop
9 years ago
Nimetu 511a004827 Fixed: Wrong DD indent in nested list when tag is not closed
--HG--
branch : develop
9 years ago
Nimetu 8475f25e75 Changed: Refactor DL
--HG--
branch : develop
9 years ago
Nimetu 639ce91e61 Fixed: Align UL, LI list style type marker outside content
--HG--
branch : develop
9 years ago
Nimetu 6bcb153930 Fixed: DL list top margin
--HG--
branch : develop
9 years ago
Nimetu f95d445839 Fixed: DL list DD element indent
--HG--
branch : develop
9 years ago
Nimetu bbe9ca2b67 Changed: UL list style type depending on nested depth
--HG--
branch : develop
9 years ago
Nimetu 298a659c6f Changed: Merge UL and OL code
--HG--
branch : develop
9 years ago
kervala 9f761780f1 Changed: %u to format a uint
--HG--
branch : develop
9 years ago
kervala 20711e24e3 Fixed: Typos
--HG--
branch : develop
9 years ago
kervala 478a2102b8 Fixed: GCC warnings
--HG--
branch : develop
9 years ago
kervala af0eabbdea Fixed: GCC warnings
--HG--
branch : develop
9 years ago
kervala 83ef24dab7 Changed: Renamed screenH and screenW to _ScreenH and _ScreenW
--HG--
branch : develop
9 years ago
kervala d7255a63d8 Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala 2d0d87a05e Fixed: Warnings with GCC
--HG--
branch : develop
9 years ago
Nimetu f4d47f27aa Fixed: Crash when div was following p element
--HG--
branch : develop
9 years ago
Nimetu b06d8bb039 Fixed: Stuck scrollbar
--HG--
branch : develop
9 years ago
Nimetu e68d6f83fe Fixed: Incorrect vertical spacing between block style elements
--HG--
branch : develop
9 years ago
Nimetu 5e61995c3c Changed: Render p and div as block level elements
--HG--
branch : develop
9 years ago
Nimetu bcae216816 Fixed: Table colspan overwrites previous row column width
--HG--
branch : develop
9 years ago
Nimetu fe476d4872 Added: html TH element
--HG--
branch : develop
9 years ago
Nimetu 2eb56b6460 Added html HR element
--HG--
branch : develop
9 years ago
Nimetu 045a6471fe Added: html OL list
--HG--
branch : develop
9 years ago
kervala fc951a24ce Fixed: Homogenize CFile::moveFile with other methods (use std::string instead of const char*)
--HG--
branch : develop
9 years ago
Nimetu dceb45e373 Fixed: Keyboard capture not reset when clicking outside GUI.
--HG--
branch : develop
9 years ago
Nimetu 612125a243 Added: Size attributes to img (width, height, max-width, max-height)
--HG--
branch : develop
9 years ago
kervala 079ea3e5c5 Changed: Let dependencies propagate to other targets
--HG--
branch : develop
9 years ago
Nimetu 8f87990a1b Added: Smooth scrolling
--HG--
branch : develop
9 years ago
Nimetu cb94cb4f9f Fixed: Scrolling in small steps not working.
--HG--
branch : develop
9 years ago
Nimetu 7cbd840ce1 Added: style for html elements del, u, em, strong, small, and dl list
--HG--
branch : develop
9 years ago
Nimetu a7100eb5bc Changed: Ignore text from <script> element
--HG--
branch : develop
9 years ago
Nimetu d4ed66d99b Added: URL #fragment navigation.
--HG--
branch : develop
9 years ago
Nimetu f4599e183b Added: Common attributes to h1..h6 elements
--HG--
branch : develop
9 years ago
kervala 34b3334182 Fixed: Bug when CURLMOPT_MAX_HOST_CONNECTIONS is not supported
--HG--
branch : develop
9 years ago
kervala 9e88fa645b Changed: Support for integer types in Lua 5.3, fixes #253
--HG--
branch : develop
9 years ago
kervala 53f46eb5fa Changed: Support for integer types in Lua 5.3, fixes #253
--HG--
branch : develop
9 years ago
kervala 630a22d428 Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala aa3d209d39 Fixed: Crash in CLuaManager
--HG--
branch : develop
9 years ago
kervala a8d81c689b Changed: Support for integer types in Lua 5.3, fixes #253
--HG--
branch : develop
9 years ago
kervala 4a97f339a3 Changed: Replaced some NLMISC::strlwr by NLMISC::toLower
--HG--
branch : develop
9 years ago
Nimetu 76ee797e49 Add lua function CCtrlBase::setTooltipUtf8 to set tooltip from html page
--HG--
branch : develop
9 years ago
Nimetu 55e687e80d Fixed displaying utf8 string on <img> alt attr.
--HG--
branch : develop
9 years ago
kervala 9525d24cd7 Fixed: Compilation with old libcurl versions
--HG--
branch : develop
9 years ago
Nimetu 84dfa01176 Fixed: CViewText not updating visible text when used by CCtrlTextButton
--HG--
branch : develop
9 years ago
Nimetu 8a55f1b1e9 Changed: Allow to set max concurrent cURL connections per CGroupHTML instance
--HG--
branch : develop
9 years ago
kervala cafc06e70c Fixed: Clang warnings
--HG--
branch : develop
9 years ago
kervala 9e74adee86 Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala 6aaeedb077 Fixed: Crash when cursor is over WebPage, Outpost or WebIG at first frame, patch by kishan_grimout (issue #245)
--HG--
branch : develop
9 years ago
Nimetu f187421011 Fixed: Crash in CWidgetManager::sendClockTickEvent when element removed from _ClockMsgTargets (issue #250)
--HG--
branch : develop
9 years ago
Nimetu 08e5345e14 Fix 'ah:' urls for untrusted domains
--HG--
branch : develop
10 years ago
Nimetu 15766d4d17 Add radio button type to CGroupHTML (issue 237)
--HG--
branch : develop
10 years ago
Nimetu 11ca61be54 Fix compiling on 32bit linux
--HG--
branch : develop
10 years ago
Nimetu ce4cb9c4f1 Fix sending and receiving cookies
--HG--
branch : develop
10 years ago
Nimetu a6cf9730be Fix possible curl handle leak
--HG--
branch : develop
10 years ago
Nimetu 26571de439 Fix compiling under windows
--HG--
branch : develop
10 years ago
Nimetu dc082f3921 Replace url parser with one less strict
--HG--
branch : develop
10 years ago
Nimetu ad3fac7b15 Make sure image src attribute matches local file or is absolute url
--HG--
branch : develop
10 years ago
Nimetu 2771185ef7 Fix utf8 tooltips on web links
--HG--
branch : develop
10 years ago
Nimetu 8e1ada36b0 Use cURL as http transport
--HG--
branch : develop
10 years ago
Nimetu c6535ee2fd Ensure that html is valid utf8 and that tags come in correct(ish) order
--HG--
branch : develop
10 years ago
Nimetu be95880a95 Remove libwww, only keep html entitites list
--HG--
branch : develop
10 years ago
Nimetu d1d0c0cf50 Parse local files (ingame help) with new html parser
--HG--
branch : libxml2-html-parser
10 years ago
Nimetu 1dc48143f3 Implement html parser using libxml2
--HG--
branch : libxml2-html-parser
10 years ago
Nimetu 5d4cbdce26 Remove libwww dependency from CGroupHTML::addLink() signature
--HG--
branch : libxml2-html-parser
10 years ago
Nimetu eeb881d49e Add span tag and bold, italic, underline, strikethrough styles to CGroupHTML
--HG--
branch : develop
10 years ago
Nimetu 55672485c9 Add embolden, oblique, underline, strikethrough styles to CViewText
--HG--
branch : develop
10 years ago
kervala c2139e95c0 Fixed: Compilation with GCC
--HG--
branch : develop
10 years ago
Nimetu c00ba3f2c1 Fix compilation
--HG--
branch : develop
10 years ago
kaetemi 18d211f79b Merge with hotfix
--HG--
branch : develop
10 years ago
kaetemi 6e06b4e79e Merge with dfighter-tools
--HG--
branch : hotfix
10 years ago
kaetemi 1879a434f7 Visual Studio 2013 compilation support for NLGUI
--HG--
branch : develop
10 years ago
kervala e8b0765e7c Merge with hotfix
--HG--
branch : develop
10 years ago
kervala b0937ec02b Changed: Minor changes
--HG--
branch : hotfix
10 years ago
Jan Boon d360f78a1c Merged in nimetu/ryzomcore/fix-issue-225 (pull request #98)
CGroupEditBox: ignore enter key when ctrl is pressed (ctrl+m combo) (issue #225)

--HG--
branch : develop
10 years ago
Nimetu 85f63b7db3 Fix html submit button value that is included with form data (issue #226)
--HG--
branch : fix-issue-226
10 years ago
Nimetu fbea1d2173 CGroupEditBox: ignore enter key when ctrl is pressed (ctrl+m combo) (issue #225)
--HG--
branch : fix-issue-225
10 years ago
dfighter1985 4d67a41f94 CCtrlTextbutton checkcoords should call it's text's checkcoords method. Fix #219.
--HG--
branch : hotfix
10 years ago
dfighter1985 0ac94e3e72 CDBViewQuantity shouldn't crash in the editor.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 8c5ad81199 it's not a bad idea to store the value in the right variable...
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 b6d9e3285f DBViewNumber shouldn't crash anymore.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 2fe2077170 When setting the Id of the decorated edit box, set the Id of the text as well.
--HG--
branch : dfighter-tools
10 years ago
Jan Boon e2eb5d739c Merged in nimetu/ryzomcore/html-table-rendering (pull request #92)
Some improvements to table rendering

--HG--
branch : develop
10 years ago
Nimetu 78e1bb6147 Fix html img not showing on some cases, clean up addImage method
--HG--
branch : develop
10 years ago
Nimetu 48b346fed8 Fix crash when using textarea without form
--HG--
branch : develop
10 years ago
dfighter1985 67aa7a50d2 set the Id of the text properly when loading the decorated edit box.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 923b36f0e5 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.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 ba1e3c9919 Fixed a typo that messed up the textures of decorated editbox.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 210f93a4f2 Save decorated edit box as such.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 18866c88af Update decorated edit box decoration coords while dragging.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 274efe6798 Allow selection of CGroupEditBox.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 42ebad94f6 Implemented CGroupEditBoxDecor a decorated CGroupEditBox.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 f91846c970 Fix parent pos and size parsing.
--HG--
branch : dfighter-tools
10 years ago
Nimetu 0a1a1244ae Change table defaults valign=middle, cellpadding=1, cellspacing=2
--HG--
branch : html-table-rendering
10 years ago
Nimetu 799705b7ed Render table with rowspan, colspan.
Borders, if enabled, adds +1 to cell padding.

--HG--
branch : html-table-rendering
10 years ago
Nimetu a53b9305a2 Add rowspan and colspan attributes
--HG--
branch : html-table-rendering
10 years ago
dfighter1985 c5cd6990fe When creating a new GUI set the base color to white.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 8066717aa2 Pos and Size parent setters should now use the widget directly as well.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 2dd6278771 Size parent is now queried directly from the widget.
--HG--
branch : dfighter-tools
10 years ago
Nimetu 11927cca93 Render table and cell borders
--HG--
branch : html-table-rendering
10 years ago
Nimetu 283cbe8092 Add bordercolor attribute to table tag
--HG--
branch : html-table-rendering
10 years ago
dfighter1985 487c6a3440 GUI Editor should show the right parent position.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 b3dd26e01c Parent positions should now be saved right again.
--HG--
branch : dfighter-tools
10 years ago
Nimetu 2de4315027 Fix table cellpadding
--HG--
branch : html-table-rendering
10 years ago
dfighter1985 ded18b266c Implemented new action.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 e5d2e9293d Moved CRootGroup out of CInterfaceParser.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 7e16e95c35 CInterfaceParser in editor mode should look for files in the working directory first.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 fe89e8f77c Added limits to pch, should fix Linux build.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 481298b9f1 Merged develop
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 7b45a05562 Added support for grouping widgets.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 aac2fd41a1 Allow multiselection.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 8cec8de3a0 Unselect selection when clicking 'nothing'.
--HG--
branch : dfighter-tools
10 years ago
kaetemi 74827a1808 Handle shadow outline in gui
--HG--
branch : develop
10 years ago
dfighter1985 a1e2c5667a A little crash fix.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 bec078af25 Sizes should remain the same when ungrouping.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 3ffe56b862 Added support for ungrouping.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 d7d62e690c Make group selection optional.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 08b6675b3d Only select a group first in editor mode.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 ad9e9839fb Don't try to handle the right mouse button actions in editor mode.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 64571abd47 When moving a group draw it's children too.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 97ddd3573d Select groups first.
--HG--
branch : dfighter-tools
10 years ago
kaetemi ec68d2c317 Fix rendering of specially sized window highlights
--HG--
branch : develop
10 years ago
kaetemi ec6ea26323 Fix when tx_b and tx_b_open have different heights
--HG--
branch : develop
10 years ago
kaetemi 88a9a809a9 Add inset_t parameter to layer options, allows putting header graphics in top texture
--HG--
branch : develop
10 years ago
kaetemi 25f1aa6247 Fix a bad copy paste in NLGUI
--HG--
branch : develop
10 years ago
dfighter1985 d2587df8c1 From now on dragged widgets will be re-aligned on drop. They will find the nearest hotspot of the group they are dropped into, and calculate an offset so they will align to the hotspot and yet remain where they were dropped.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 4571038fa6 Update CCtrlTextButton's CViewText's coords after updating it's own coords.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 86007c9156 Posref changes in the editor should apply...
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 2603ad3a2b Refactoring. Added CInterfaceFactory.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 0055e2dd91 A little refactoring.
--HG--
branch : dfighter-tools
10 years ago
dfighter1985 4797b150d8 Move the text too with the text button.
--HG--
branch : dfighter-tools
10 years ago
Nimetu 0d62650159 Add maxlength attribute to input and textarea tags
--HG--
branch : html-maxlength-attr
10 years ago