summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32 (follow)
AgeCommit message (Collapse)Author
2020-10-13Ecore_Win32: add the API ecore_win32_window_maximized_set()Vincent Torri
Summary: ecore_evas win32 engine is updated to support it. This fixes the "maximized/unmaximized" elm "windows states" test. Test Plan: elm_test Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12177
2020-10-13Ecore_Evas win32: fix activate() functionVincent Torri
Summary: activating the function needs un-iconified first Test Plan: elm windows status tests Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12176
2020-05-27refactor buildMarcel Hollerbach
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
2020-04-20doxygen docs: Fix all invalid @param namesXavi Artigas
There were quite a few of these...
2020-04-03free memory in clipboard notify event and fix clipboard clear eventVincent Torri
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11564
2020-03-08port cnp on WindowsMarcel Hollerbach
Test Plan: Ctrl-c and Ctrl-Vworking Reviewers: raster, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11439
2020-02-25Ecore_Win32: free 'compose' field when needed, fix memory leakVincent Torri
Reviewers: raster, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11415
2020-02-25Evil: add evil_utf8_to_utf16() API ; use evil_utf16_to_utf8() in Ecore_Win32Vincent Torri
Summary: use existing utf-16 to utf-8 conversion function in Ecore_Win32. Add API to convert utf-8 to utf-16 in Evil for copy'n paste on Windows Test Plan: compilation Reviewers: raster, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11406
2019-11-28ecore_win32: fix compose event fieldVincent Torri
Summary: compose event field was encoded in UTF-16 and not UTF-8. Also string event field was not correctly defined and was generating eina error messages Test Plan: running a test Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10753
2019-07-28ecore win32 - disable #warning because all it does is fill build logsCarsten Haitzler (Rasterman)
we see it 100's of times during build. disabling this. the comments etc. are still there, but more value in commenting out than keeping it so we can see the forest from the trees.
2019-05-06meson: support ecore-win32Mike Blumenkrantz
thx @vtorri fix T7786 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8722
2019-04-17ecore_win32: use AddClipboardFormatListener and ↵Vincent Torri
RemoveClipboardFormatListener explicitely instead of loading them from user32.dll Summary: current mingw-w64 declare these functions Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8644
2019-04-17ecore_win32: remove explicit define of WM_CLIPBOARDUPDATEVincent Torri
Summary: since ewpi is used, a newer mingw-w64 is used, which defines WM_CLIPBOARDUPDATE Test Plan: compilation Reviewers: raster, zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8643
2018-05-02ecore-win32: propagate WM_SIZE eventMike Blumenkrantz
Summary: this is the event which informs an app of its current size also use the HWND from the msg pointer to avoid invalid access in the WM_SIZE event which passes different message data Reviewers: vtorri Reviewed By: vtorri Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D6033
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-14Ecore_Win32: move monitor window initialization to earlier in init funcVincent Torri
Summary: This monitor window is just used to receive events when mutiple monitors are available. it should not be managed by the ecore loop (creation and destruction events), so initting it earlier means ecore_win32 attaches less memory/overhead to it as it's just being used for notifications for devices. Test Plan: DrMemory to check used memory Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5736
2017-12-19efl: Reset ecore event types on initJean-Philippe Andre
This fixes cycles of init/shutdown/init where ecore event types would become invalid, since they are now stored in a dynamic array rather than a statically stored array. The risk here is that if a module of EFL tends to init/shutdown in a "normal" scenario then the event type array will grow in a leaking manner. This could be fixed by resetting those event ID's only when the loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using EFL_EVENT_DEL in this patch as this would add too many event callbacks to the main loop object, which may result in slightly slower event calls to it, affecting the overall performance.
2017-10-13efl: unsigned int/long never be less than zero. Fixed.Prince Kumar Dubey
Reviewers: raster, cedric Subscribers: rajeshps, jpeg Differential Revision: https://phab.enlightenment.org/D5300 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-01Windows: remove XP support and forbid compilation and run on this platformVincent Torri
Test Plan: run on XP Reviewers: jpeg, cedric, ajwillia.ms Reviewed By: ajwillia.ms Subscribers: ajwillia.ms Differential Revision: https://phab.enlightenment.org/D5245
2017-07-09Add ecore_win32_cursor_show() API and ecore_evas_win32_cursor_(un)set() ↵Vincent Torri
functions This fixes double mouse cursor in elm entries on Windows (for example) @feature @fix
2017-06-15elm+evas - windows - fix alt+f4 to work without losing alt keyVincent Torri
fixes T5581
2017-05-08Ecore_Win32: add API to retrieve the geometry and dpi of plugged displaysVincent Torri
@feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-26Ecore_Evas: use window states and event property to fix ↵Vincent Torri
ecore_evas_fullscreen_set() This implies that elm_win_fullscreen_set() is also fixed @fix
2017-04-26Ecore_Win32: add Property event APIVincent Torri
@feature
2017-04-26Ecore_Win32: add ecore_win32_window_state_get() API to retrieve a window statesVincent Torri
@feature
2017-04-26Ecore_Win32: update fullscreen stateVincent Torri
2017-04-26Ecore_Win32: follow a bit more X codeVincent Torri
2017-04-26Ecore_Win32: fix information messageVincent Torri
2017-04-26Ecore_Win32: fix spellingVincent Torri
2017-03-09ecore_win32: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2016-12-20Ecore_win32: do not handle WM_SYSKEY* events.Mykyta Biliavskyi
Summary: In case if WM_SYSKEYDOWN or WM_SYSKEYUP events are handled in DefWindowProc - system doesn't init event for a system shortcuts. For example any EFL application on Windows couldn't be closed by Alt+F4 combination. @fix Test Plan: Launch Elemenatry_test app. Try to close by Alt+F4 combination. Reviewers: vtorri, raster Reviewed By: raster Subscribers: an.kroitor, bowonryu, cedric, jpeg, #eflete Differential Revision: https://phab.enlightenment.org/D4477
2016-12-14Fix generate ecore key events on windows.Mykyta Biliavskyi
If Ctrl+number combination pressed/unpressed function _ecore_win32_event_keystroke_get return NULL. It happens because ToUnicode WinAPI func fails to prepare unicode string for given scancode and the keyboard state. This commit add exception for the case with digits keys. In case if there no translate string, but the digit key processed - will be created a normal event as usual.
2016-05-09efl: everyone should now rely on Eina MIN/MAX redefinition.Cedric BAIL
2015-12-14Ecore_Win32: let cursors on the non-client area (the borders) be like the ↵Vincent Torri
default ones After the support of the X11 cursors on Windows, the cursors were set for the whole window (even the borders). Now we let the system use the default cursors for the borders and we use the cursors set by the API for the client area only
2015-12-01ecore_win32: add support of X11 shaped cursorsVincent Torri
@feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01ecore_win32: add clipboard managementVincent Torri
@feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-04ecore: win32: remove executable bit from source fileStefan Schmidt
2015-08-25Revert "Revert "ecore_win: fix the incorrect mouse cursor position.""ChunEon Park
This reverts commit 3ce8860dab29ba6d0849ed1ecbbc72bbe0e11773. Apply only to mouse wheel case. Button press/release wans't problem actually. If I correct, this is caused because of different nature of window systems. Anyway our Ecore_Event_Mouse values should keep consistency among the various systems.
2015-08-25Revert "ecore_win: fix the incorrect mouse cursor position."ChunEon Park
This reverts commit 1f1542f82404fa2262526cc3eed7b2edc622c5ce. coordinate has been corrupted. need to investigate more.
2015-08-25ecore_win: fix the incorrect mouse cursor position.ChunEon Park
Ecore_Event_Mouse_* x, y values are relative to the current window position as well as the root x, y, values are relative to the root window. previously, x,y is started from the root window and root x, y values are invalid. fix them @fix
2015-07-23Ecore_Win32: do not allocate data as it is useless. Fix memory leak.Vincent Torri
@fix
2015-05-07ecore: remove the need to order the header correctly for Windows.Cedric BAIL
2015-04-18ecore_win32: don't fail if OleInitialize() had been called before.Adrien Nader
2015-01-30ecore_win32: don't allocate Ecore_Event_Key events with NULL keysRomain Perier
If "keyname" and "key" are NULL an Ecore_Event_Key is allocated throught calloc. strlen() is called on these variables, which crashes the program. As it is not correct to return a key event for NULL keys to ecore, it is preferrable to return NULL and exit the function before the key event is allocated, which fixes the crash in the same time. @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-14Ecore_Win32: Fix string for the BackSpace key on WindowsVincent Torri
@fix
2014-07-09Ecore_Win32: fix resize of windows when step and base sizes are setVincent Torri
2014-07-09Ecore_Win32: fix typo in docVincent Torri
2014-06-29ecore_win32: discard WM_MOUSEMOVE message if it has the same mouse ↵Vincent Torri
coordinates than the previous one. See link in commit for an explanation