summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32 (follow)
AgeCommit message (Collapse)Author
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
2014-06-29ecore_win32: activate an Ecore window when raising itVincent Torri
2014-06-29ecore_win32: fix the raise of an Ecore Window overlapped by another window ↵Vincent Torri
when clicking on the title bar
2014-06-29ecore_win32: simplify logicVincent Torri
To avoid flickering, we have to manage WM_ERASEBKGND. This message is sent because CS_HREDRAW and CS_VREDRAW are used when registering the window class. So just omit CS_HREDRAW and CS_VREDRAW.
2014-06-29ecore_win32: fix typo.Cedric BAIL
2014-06-27windows: make those warning explicit about what they imply.Cedric BAIL
2014-06-27ecore_win32: another forgotten read that is unecessary in current setup.Cedric BAIL
2014-06-27ecore_win32: silent warning by reading the returned value in a useful way.Cedric BAIL
2014-06-23ecore_win32: fix key events on Windows.Vincent Torri
@fix Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2013-03-22ecore: fix some aliasing warning.Cedric BAIL
2013-03-17ecore: another needed virtual destructor.Cedric Bail
2013-03-16ecore: virtual destructors are neededCedric Bail
2012-12-18efl: Created Ecore group and added existing Ecore groups to it.Jonas M. Gastal
SVN revision: 81293
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995