path: root/src/lib/ecore_cocoa (follow)
AgeCommit message (Collapse)Author
2015-03-12ecore_cocoa: remove ObjC autorelease block to avoid segv when window is closed.Nicolas Aguirre
autorelease block is used in ObjC to release automatically objects not used anymore. Placed here this block release the NSWindow we created by hand in the ecore_cocoa code and give us a SEGV as we use memory already freed automatically. Removing this block fix this issue. @fix Signed-off-by: Cedric BAIL <>
2015-02-20ecore_cocoa: cosmetic color.Guilherme Lepsch
Summary: The log is registered with the private definition ECORE_DEFAULT_LOG_COLOR from ecore_private.h. Changed to a explicit color. Reviewers: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-20ecore_cocoa: remove duplicated includes.Guilherme Lepsch
Summary: Remove duplicated includes in source file. Reviewers: naguirre Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-20ecore_cocoa: fix MacOS X build with clang 3.6Guilherme Lepsch
Summary: * Fix extern declaration of _ecore_cocoa_log_domain variable defined as private with static; * Fix including a private header from another module (ecore). Reviewers: naguirre Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: Handle more special characters and capital characters.Michelle Legrand
This improve the situation and only affect Ecore_Cocoa code base by detecting a useful charactere. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: add ecore event on mouse scroll for cocoa.Michelle Legrand
Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: replace "keyname" by "key".Michelle Legrand
Ecore_Event_Key attribute "key" cannot be NULL. This raise a segmentation fault in Enventor when hitting on modifier keys. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: create a log domain and use Eina_Log.Nicolas Aguirre
Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: don't send mouse event with negative x or y values.Nicolas Aguirre
With cocoa you may have negatives values when Mouse Down or Up. This changes fix this behavior by sending mouse event only if x and y are inside the ecore_evas space. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: add new events type for multiple window support.Romain Perier
This commit adds a method in Ecore_Cocoa_Window to be able to retrieve an unique identifier for each window. It adds new events type and modify existing ones to pass these windows identifiers through the event call chain. Resize, GotFocus and LotFocus events are also updated to pass these identifiers to event handlers. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: use the right Cocoa notification handlers for focus eventsRomain Perier
Don't use NSAppKitDefined events subtype for focus events, which contain NULL window object most of the time. Use the NSWindowDelegate method designed for that purpose instead. It fixes random focus issues in windows which was caused by incorrect window identifier not found in ecore_evas_cocoa. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: add on the fly resizing support.Romain Perier
Until now, video_resize events was received only when application returned control to the event loop. When a window is resized dynamically a lot of video_resize events are emitted from EcoreCocoaWindow::windowDidResize and not handled immediatly, only when the main thread is back to the ecore main loop. This is why there are not refreshed window areas. Call ecore_main_loop_iterate() from windowDidResize solves the issue. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: fix _nsevent_window_is_type_of() type checkRomain Perier
isKindOfClass should receive an instance of a class and a class as arguments and not two class. It fixes Mouse events sent to a window on OSX. Signed-off-by: Cedric BAIL <>
2015-02-05ecore_cocoa: handle more special characters and capital characters.Michelle Legrand
This patch is self contained for Mac OS X and improve its keyboard handling. Signed-off-by: Cedric BAIL <>
2014-09-03ecore_cocoa: NSRunLoop integrationJean Guyomarc'h
Summary: Get rid of the old NSApplicationLoad() which was aimed to be use with Carbon. Unless the NSRunLoop is strictly integrated to the ecore_main_loop() (where cocoa events would be checked when entering the ecore_main_loop) I think the poller is the only option left. Reviewers: raster, naguirre, raoulh, stefan_schmidt, cedric @feature Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-07-23ecore_cocoa: Lion fullscreen workaround + warning fixesJean Guyomarc'h
Summary: Warnings and deprecated code fixes. I started to implement the OSX-Lion fullscreen style. Reviewers: cedric, naguirre, raster, raoulh Subscribers: cedric Differential Revision:
2014-07-10ecore_cocoa: Introduce canvas resizing + warning fixesJean Guyomarc'h
Summary: Add support for canvas resizing: the window was resizable but its content was not resized. Reviewers: raster, raoulh, naguirre, cedric Subscribers: cedric Differential Revision:
2014-06-18ecore_cocoa: add code from old branchRaoul Hecky
2014-06-18ecore_cocoa: add missing header from my old branchRaoul Hecky
2014-06-18ecore_cocoa: switch keys to map correctly on OS-X.Nicolas Aguirre
os-x is notoriously switching the meaning of those keys calling "BackSpace" "Delete, and "Delete" "Forward Delete" Original patch by Pierre Tardy
2014-06-18ecore_cocoa: fix button order.Nicolas Aguirre
2014-06-18ecore_cocoa: indent with efl styleNicolas Aguirre
2014-06-18ecore_cocoa: fix Key up/down usage, the event window was missing and the ↵Nicolas Aguirre
ev->key was not specified
2014-06-18ecore_cocoa: remove printfNicolas Aguirre
2013-02-17More removal of \rIvan Briano
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995