path: root/src/lib/ecore_cocoa (follow)
AgeCommit message (Collapse)Author
2017-10-29ecore_cocoa: fix the backspace keyJean Guyomarc'h
The backspace key is supposed to send an ASCII code of 0x08, not 0x7F (this would be the delete key). This has not be seen before as it is is rare to use the ASCII code for the BackSpace key. @fix
2017-10-29ecore_cocoa: consitfy structure fieldsJean Guyomarc'h
This structure is exclusively statically initialized. As none of its fields will be altered, they can all be const.
2017-07-17OSX: fix version detection in buildAndy Williams
2017-06-27eina,ecore_cocoa: fix detection of the macOS SDK versionJean Guyomarc'h
There was trouble with Homebrew's CI to build EFL on a macOS < 10.12 which uses a 10.12 SDK. See PR #13252 on github, Homebrew/homebrew-core for details. @fix
2017-06-07docs: Fix typos and some wrong expressions in Ecore, Ecore_Audio, ↵Myoungwoon Roy, Kim
Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Summary: I had fixed some typos and wrong expressions, such as capital letters, $simbols in .eo and singulars in Ecore, Ecore_Audio, Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Test Plan: Doxygen Revision Reviewers: Jaehyun_Cho, stefan, jpeg, cedric, raster Reviewed By: Jaehyun_Cho Differential Revision:
2017-03-09ecore_cocoa: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2017-03-09ecore_cocoa: fix windows initial renderingJean Guyomarc'h
We need to refresh the Cocoa's content view when showing the window. In some particular cases (including the elementary_test initial window), the content view is redrawn because of external events (the entry animator). When no action at all is performed, the window and the content view are resized... nice... but not drew... Such a simple fix for this hell of a bug! Fixes T5210
2017-03-09ecore_cocoa: factorize a little access to the cocoa windowJean Guyomarc'h
2017-03-09ecore_cocoa: pass the right window to ecore_evasJean Guyomarc'h
2016-10-30ecore_cocoa: fix handling of some keysJean Guyomarc'h
The ascii circumflex (^) can be typed by pressing twice the ^ key on a mac keyboard. A single press allows composition (e.g. ^+e = ê). Pressing ^ twice though, led to a segmentation fault in elementary, because the result character of the operation (^) appeared in the raw characters stack, and not in the filtered one. This is a bit weird, as backtick (`) appears in the filtered keys stack. @fix
2016-10-30ecore_cocoa: prettify code a bitJean Guyomarc'h
Remove extraneous whitespaces, use appropriate macros when possible, and mark a memory allocation failure as an unlikely case.
2016-10-30ecore_cocoa: fix behaviour of option keyJean Guyomarc'h
Commit e44c48b90408d2518e2708090796988cfd3cacea failed to translate the deprecated API into the Sierra API... replacing the Command key flags by the Option key flags. This resulted of Opt+q quitting the program. @fix
2016-10-30ecore_cocoa: allow to override termination sequenceJean Guyomarc'h
2016-10-10Ecore Cocoa: Add missing modifiers field to Ecore EventsGuilherme Iscaro
Fix T4477
2016-10-10Ecore_Cocoa: Fix repeat modifers keys.Guilherme Iscaro
Some values were repeated.
2016-09-27ecore_cocoa: upgrade API to macOS SierraJean Guyomarc'h
Since macOS 10.12, several enumarations have been deprecated in favor of new ones, with more meaningful ones, which are defined in SDK 10.12.
2016-09-23ecore_cocoa: quit application with keyThiep Ha
In OS X, cmd-q is used to quit application, this patch adds that feature.
2016-09-08ecore_cocoa: fix build warningJean Guyomarc'h
2016-08-31ecore_cocoa: fix wrong key assignmentJean Guyomarc'h
2016-08-26ecore_cocoa: fix fullscreen for older osx versionsJean Guyomarc'h
Tested on 10.11 and 10.9. Fixes T4395
2016-08-26ecore_cocoa: refactor resizing requestJean Guyomarc'h
2016-08-26ecore_cocoa: fix memory leakJean Guyomarc'h
2016-08-08ecore_cocoa: remove pointless debug messageJean Guyomarc'h
This message was also very annoying because systematically printed out in the syslog when a cocoa window was closed.
2016-06-25ecore_cocoa: release Ecore_Cocoa as stableJean Guyomarc'h
2016-06-25ecore_cocoa: mark clipboard API as BETAJean Guyomarc'h
Also, Since the API is beta, don't make is available to Doxygen.
2016-06-07ecore_cocoa: simplify clipboard functions namingJean Guyomarc'h
ecore_cocoa_selection_clipboard_xxxx() have been renamed into ecore_cocoa_clipboard_xxxx() and they have nothing to do with selection, only with clipboard. Since the API is not stable yet, I can change it.
2016-06-07ecore_cocoa: move the default cursor definition out of the enumJean Guyomarc'h
This makes the code more explicit and less awkward.
2016-06-07ecore_cocoa: improve documentationJean Guyomarc'h
2016-06-05ecore_cocoa: fix main loop handlingJean Guyomarc'h
Pffff... another tricky one... -windowDidResize is actually also called when the window is not resize by the user, leading to multiple event posting, and of course the infamous call of ecore_main_loop_iterate() when it was not paused at all, leading to messy events handling... the most visible being the initial resizing of the window going rogue. We now ensure with -windowWillStartLiveResize and -windowDidEndLiveResize that we only send an event when the user requested it. Since the main loop is paused at this point, calling ecore_main_loop_iterate() becomes safe. Fixes T3648
2016-06-04ecore_cocoa: fix broken scrollingJean Guyomarc'h
Evas events recently changed, and involved the use of the 'multi' field within a mouse mouve event. It was used afterwards for mouse scrolling, but since it was never set by ecore_cocoa, scrolling went broken... Fixes T3789
2016-06-04ecore_cocoa: fix window hiding logicJean Guyomarc'h
2016-06-04ecore_cocoa: remove extra whitespacesJean Guyomarc'h
2016-06-01ecore_cocoa: fix bad copy/paste in documentationJean Guyomarc'h
Thanks to Stefan Schmidt.
2016-04-20Ecore: Use calloc() to initialize Ecore_Event_Mouse_XXXXDuna Oh
Summary: To ensure initialize all fields of Ecore_Event_Mouse_XXX, use calloc() instead of malloc(). Test Plan: N/A Reviewers: gwanglim, cedric, raster, devilhorns, ManMower, zmike Subscribers: jpeg, input.hacker, JHyun Differential Revision:
2016-03-02ecore_cocoa: add function attributesJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: add missing documentationJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: move Ecore_Cocoa_Cursor.h in Ecore_Cocoa.hJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: full documentation of Ecore_Cocoa.hJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: remove Ecore_Cocoa_Event_WindowJean Guyomarc'h
Create specific structures for each event: - Ecore_Cocoa_Event_Window_Focused - Ecore_Cocoa_Event_Window_Unfocused - Ecore_Cocoa_Event_Window_Destroy They are currently hold the same data, but this will allow not to break the event protocol when future extensions will be needed. Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: rename width and height parametersJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: better naming of eventsJean Guyomarc'h
Lost and got focused have been renamed FOCUSED and UNFOCUSED to mirror the focus API in Elementary. Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: replace Ecore_Cocoa_Window_Id by Ecore_Cocoa_ObjectJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: unify API with Ecore_EvasJean Guyomarc'h
- Sizes are signed integers - Width is named w - Height is named h Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: introduce Ecore_Cocoa_ObjectJean Guyomarc'h
This type is used as a bridge between objective-c objects (which are ALWAYS pointed to) and the C interface. Ecore_Cocoa_Object* is a less ugly substitute for void*. Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: use Eina_Bool instead of intJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: implement and const-correct window size step getterJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: implement and const-correct window size max getterJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: implement and const-correct window min size getterJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: implement and const-correct window size getterJean Guyomarc'h
Signed-off-by: Cedric BAIL <>
2016-03-02ecore_cocoa: implement and const-correct window geometry getterJean Guyomarc'h
Signed-off-by: Cedric BAIL <>