Commit Graph

656 Commits

Author SHA1 Message Date
Martín Lucas Golini
33f8a2eebb Several bug fixes.
CSS properties now support real CSS properties names.

--HG--
branch : dev
2019-11-03 03:34:02 -03:00
Martín Lucas Golini
bb30c62fab Removed support for SFML2 module (mantaining this backend does not make any sense at this point).
Removed custom Platform implementations for windows and cursor control (control is taken by the SDL2 backend).
And some clean up.

--HG--
branch : dev
2019-10-06 02:49:41 -03:00
Martín Lucas Golini
82116c4323 Minor clean up.
--HG--
branch : dev
2019-09-30 18:40:23 -03:00
Martín Lucas Golini
9aa7b4b7d0 Renamed TextureSaver to ScopedTexture.
Added System::ThreadPool.
Refactored ResourceLoader.
Removed OjbectLoader and all object type loaders.
Some minor refactors.

--HG--
branch : dev
2019-09-08 02:26:33 -03:00
Martín Lucas Golini
78a66ea0fa Some fixes to image resize and Color constructors
--HG--
branch : dev
2019-08-11 18:16:21 -03:00
Martín Lucas Golini
2e663e86b9 More accurate Sys::Sleep for Windows.
More accurate Milliseconds().
More accurate Window::setFrameRateLimit.

--HG--
branch : dev
2019-07-02 02:34:15 -03:00
Martín Lucas Golini
53681be832 Allow custom colors.
--HG--
branch : dev
2019-06-26 01:18:21 -03:00
Martín Lucas Golini
f122c1554c Texture is now a DrawableResource.
DrawableResource now can emit events on resource changes, load and unload.
UIImage improvements.

--HG--
branch : dev
2019-06-24 23:42:47 -03:00
Martín Lucas Golini
e3873780ad Added Actions::Runnable.
UINode::setSkinColor invalidates draw.
Added Node::runOnMainThread.

--HG--
branch : dev
2019-06-24 22:03:36 -03:00
Martín Lucas Golini
a6c82095a3 UIScrollView, UIScrollBar, UISlider, UITabWidget fixes.
Fixed * selector with pseudoclasses.

--HG--
branch : dev
2019-06-23 23:14:37 -03:00
Martín Lucas Golini
ddf335fd79 Minor fixes.
--HG--
branch : dev
2019-06-22 15:15:53 -03:00
Martín Lucas Golini
a176383c07 Fixed crash when changing skin states from the stylesheet.
--HG--
branch : dev
2019-06-21 01:00:44 -03:00
Martín Lucas Golini
11b3cfc1f4 Added Window::getScale() to get the device scale factor.
mingw32 build now uses premake5.

--HG--
branch : dev
2019-06-19 23:46:17 -03:00
Martín Lucas Golini
dd9d2021f2 Windows fixes and some changes in the premake projects.
--HG--
branch : dev
2019-06-19 03:15:47 -03:00
Martín Lucas Golini
514bf2da2e Using String::hash as constexpr.
String minor refactor.

--HG--
branch : dev
2019-06-16 20:55:26 -03:00
Martín Lucas Golini
357314f4c8 Minor UIMenuSubMenu improvement.
--HG--
branch : dev
2019-06-01 18:01:47 -03:00
Martín Lucas Golini
6a79fdc314 UIWinMenu and UIPopUpMenu fixes.
--HG--
branch : dev
2019-06-01 01:00:47 -03:00
Martín Lucas Golini
4d69b2bf7f Removed typedefs for structs.
--HG--
branch : dev
2019-05-24 22:37:42 -03:00
Martín Lucas Golini
4841b871f1 EE::Scene clean up.
--HG--
branch : dev
2019-05-24 00:49:34 -03:00
Martín Lucas Golini
648ef47628 TextureAtlasTextureRegionEditor fix.
--HG--
branch : dev
2019-05-23 22:21:03 -03:00
Martín Lucas Golini
676af424fd Added Http::Pool class.
Added static functions:
Http::request, Http::get, Http:post, Http:requestAsync, Http::getAsync, Http:postAsync.
Fixed UILayout::isType, UILinearLayout::isType.
Fixed recursive loop on UILinearLayout::pack.
Added DrawableSearcher HTTP resources support.

--HG--
branch : dev
2019-05-23 02:42:51 -03:00
Martín Lucas Golini
bdd337b229 UILoader don't invalidate draw when not visible.
--HG--
branch : dev
2019-05-23 00:34:38 -03:00
Martín Lucas Golini
c3b368ee76 UI bug fixes and minor changes.
--HG--
branch : dev-css
2019-05-22 00:35:01 -03:00
Martín Lucas Golini
120f277a7f Texture modifications are thread-safe with shared OpenGL contexts.
--HG--
branch : dev-css
2019-05-21 01:47:13 -03:00
Martín Lucas Golini
61c9a10361 Minor bug fix.
More css and xml clean up.

--HG--
branch : dev-css
2019-05-21 00:33:34 -03:00
Martín Lucas Golini
8b6ba8920a Added get/set volatile for StyleSheetProperty. Flag used for properties from
non-cacheable selectors. This fixes pseudo-classes events.
Removed unused functions.
Cleaned up CSS code.

--HG--
branch : dev-css
2019-05-20 21:24:30 -03:00
Martín Lucas Golini
59e2ca8038 CSS Improvements and tests.
--HG--
branch : dev-css
2019-05-20 00:19:44 -03:00
Martín Lucas Golini
3a43043fe5 Initial support for non-cacheable CSS styles.
Some minor colors refactor.
Some minor bug fixes.

--HG--
branch : dev-css
2019-05-19 04:00:24 -03:00
Martín Lucas Golini
7d4d53fae0 Minor UIStyle clean up.
--HG--
branch : dev-css
2019-05-19 00:27:52 -03:00
Martín Lucas Golini
6bf721ef2f Fixed skin set color.
--HG--
branch : dev-css
2019-05-16 00:59:25 -03:00
Martín Lucas Golini
f30ee4fb3e Minor changes.
--HG--
branch : dev-css
2019-05-15 00:38:51 -03:00
Martín Lucas Golini
c6fb632aaf Merge with dev
--HG--
branch : dev-css
2019-05-11 01:01:48 -03:00
Martín Lucas Golini
a0711c15a4 Renamed TSafeDataPointer to TScopedBuffer.
--HG--
branch : dev
2019-05-11 00:58:55 -03:00
Martín Lucas Golini
46af3b4e1f More detailed request progress information.
Minor optimization.

--HG--
branch : dev
2019-05-10 01:49:47 -03:00
Martín Lucas Golini
cf281eaa12 Added continue / resume download support for HTTP Requests.
--HG--
branch : dev
2019-05-10 00:40:43 -03:00
Martín Lucas Golini
f028f7b2b9 Http clean up.
--HG--
branch : dev
2019-05-08 02:13:07 -03:00
Martín Lucas Golini
9a42b7606a Added IOStreamDeflate.
--HG--
branch : dev
2019-05-07 00:36:22 -03:00
Martín Lucas Golini
73f2c57a14 Added setSendTimeout and setReceiveTimeout to TcpSocket and UdpSocket.
--HG--
branch : dev
2019-05-06 22:16:59 -03:00
Martín Lucas Golini
5204e31228 Minor changes.
--HG--
branch : dev
2019-05-05 19:16:32 -03:00
Martín Lucas Golini
70dd741491 Added Compression class with gzip and deflate support.
Added IOStreamInflate and IOStreamString.
Added support for compressed response in HTTP requests.

--HG--
branch : dev
2019-05-01 22:00:40 -03:00
Martín Lucas Golini
f664f89d34 HTTP Proxy Tunneling support.
--HG--
branch : dev-proxy
2019-04-28 19:25:56 -03:00
Martín Lucas Golini
9e20da4bff HTTP Proxy without tunneling.
--HG--
branch : dev-proxy
2019-04-28 16:57:35 -03:00
Martín Lucas Golini
ebc5f49b4a HTTP improvements.
--HG--
branch : dev
2019-04-28 03:00:59 -03:00
Martín Lucas Golini
af033b2fd0 Minor improvements on http requests and minor bug fix.
--HG--
branch : dev
2019-04-27 22:56:45 -03:00
Martín Lucas Golini
3b88ca10a1 Added:
Http::Request::setProgressCallback to add a progress callback for the current request.
Http::Request::cancel() to allow current request being cancelled.
And some improvements in Http requests.

--HG--
branch : dev
2019-04-24 23:53:25 -03:00
Martín Lucas Golini
1293958039 Merge with dev
--HG--
branch : dev-css
2019-04-24 21:57:03 -03:00
Martín Lucas Golini
8acc2bb39c Network improvements and fixes.
Added more Requests::Method.
Added Http::downloadAsyncRequest with writePath.
Http::downloadRequest now follows redirections.

--HG--
branch : dev
2019-04-24 20:11:17 -03:00
Martín Lucas Golini
a636cfcc8f Merge with dev
--HG--
branch : dev-css
2019-04-23 00:14:47 -03:00
Martín Lucas Golini
c8628a0205 Added support for http requests to follow redirections.
--HG--
branch : dev
2019-04-23 00:14:13 -03:00
Martín Lucas Golini
4cd44dddcd Minor clean up.
--HG--
branch : dev-css
2019-04-16 00:14:59 -03:00