Commit Graph

32147 Commits

Author SHA1 Message Date
Jean Guyomarc'h 9901d392ea edje: on Mac OS X, use Apple's key bindings with entries 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 79e77fe67d ecore_cocoa_cnp: remove trailing whitespace 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 1b33654252 ecore_cocoa: NSEvent modifiers are of type NSUInteger 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 385595fad9 ecore_evas_cocoa: factorize code 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 724b6d23f1 ecore_cocoa: report error when [super init] fails 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h af0339cd25 ecore_evas_cocoa: remove dead code 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h a77a05c249 ecore_cocoa: remove EINA_UNUSED because parameter is used 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 1d0af3490c ecore_cocoa: remove debug log 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 9dc8174b08 ecore_cocoa: reindent file 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 5d0a4a862c ecore_cocoa: add more safety checks 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 7791d2b318 ecore_cocoa: remove EINA_UNUSED because parameter is actually used 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h b057781fd6 ecore_cocoa: prevent Ecore_Cocoa_Window to be re-defined 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h ee482699e4 ecore_cocoa: remove ECORE_COCOA_EVENT_EXPOSE 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h b86f9d6947 ecore_cocoa: remove unused events 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 4d35066bbf ecore_cocoa: start doxygen 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h cc35c02746 ecore_evas_cocoa: focus: handle ignore_events 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 9c7ef8c15c ecore_cocoa: don't track NSAppKitDefined event
Currently, it was used only to get track of focus, howver focus was
already handled (and better) in ecore_cocoa_window (with
NSWindowDelegate).
This led to the LOST_FOCUS event to be posted twice, with different
values, which messed up the focus stack.

@fix
2015-11-10 08:27:25 +01:00
Jean Guyomarc'h e287c97246 ecore_evas_cocoa: don't reset the init count if negative 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 7adfc5a56c ecore_evas_cocoa: use Eina macro to determine the size of a static array 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 1af0d97582 ecore_evas_cocoa: don't shutdown ecore_event_evas() twice 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 4ac9aaa200 ecore_evas_cocoa: EAPI cannot be set for WIN32 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h bed4b0fa83 ecore_cocoa: fix types 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 2bae9bdbb8 ecore_evas_cocoa: remove dead code 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 0c67a343ce ecore_cocoa: copy and paste support 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h cc5f0eff73 ecore_cocoa: silent warning: unused parameter 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 2a9bed66d0 ecore_cocoa: use EAPI in implementation 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h f3c824a898 ecore_cocoa: improve const-correctness 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h 22e71eca07 ecore_cocoa: don't specify inline 2015-11-10 08:27:25 +01:00
Jean Guyomarc'h a489370c1a ecore_cocoa: add support for system cursors
- Ecore_Cocoa_Cursor enum which references system cursors;
- API to show/hide cursor: ecore_cocoa_window_cursor_show();
- API to set system cursor: ecore_cocoa_window_cursor_set();
- Ecore_Evas interface to get Ecore_Cocoa_Window from Ecore_Evas.
2015-11-10 08:27:25 +01:00
Nicolas Aguirre 1522eddc47 ecore_cocoa/evas_gl_cocoa: Fix indent, remove printf, and add DBG messages 2015-11-10 08:27:25 +01:00
Vincent Torri c6cb13934a Ecore_Win32: add support of X11 shaped cursors
@feature
2015-11-10 08:27:25 +01:00
Vincent Torri 24984131d7 Ecore_Win32: add clipboard management
@feature
2015-11-10 08:27:25 +01:00
Vincent Torri 9068d0db87 Eina: use eina_file_path_join() and eina_environment_tmp_get() when needed 2015-11-10 08:27:25 +01:00
Vincent Torri d97f433714 Ecore_File: fix ecore_file_file_get() on Windows
@fix
2015-11-10 08:27:25 +01:00
Daniel Kolesa 247c860aac eolian generator: finalize refactoring main.c 2015-11-09 15:02:32 +00:00
Daniel Kolesa 10883d080f eolian generator: refactor the main function (remove cruft) 2015-11-09 15:02:32 +00:00
Daniel Kolesa a29d6aed66 eolian generator: remove useless --eo argument 2015-11-09 15:02:32 +00:00
Tom Hacohen e992a3a1e0 Revert "Eo: Optimise event callback call"
This reverts commit 4b116627c2.

This can't be done, because the freeze state can change from within the
callbacks so you need to check if events are frozen every time.
2015-11-09 14:06:39 +00:00
Jérémy Zurcher 4b116627c2 Eo: Optimise event callback call
check if the event is frozen before walking the event list
2015-11-09 15:03:03 +01:00
Tom Hacohen 0bebaed0ac Eo do: use the __thread directive when available to manage call stack.
This is faster in most cases, and to be honest, should be much faster
than it is. I don't understand why there's no better directive to mark a
variable as *really* important thread storage that is used all the time.
2015-11-09 11:43:04 +00:00
Tom Hacohen 3e40b45be6 Eo: Remove extra paranoid-never could happen safety checks.
I was not able to reach those without arbitrary memory corruption, but
in that case we are in trouble anyway.
2015-11-09 11:43:04 +00:00
Tom Hacohen 6ed69b1d11 Eo: Reorganise some of the code and cleanup.
This is cleaner and makes more sense.
2015-11-09 11:43:04 +00:00
Tom Hacohen 3782931c50 Eo: Removed weird unneeded condition. 2015-11-09 11:43:04 +00:00
Tom Hacohen f28f6ecbfa Eo: Move op resolve check to where it belongs (out of hot path).
It was put in the wrong place. It should abort early if it detects we
can't resolve, and shouldn't check it if we already know it's OK.
2015-11-09 11:43:04 +00:00
Tom Hacohen 9686e44b92 Eo unref: Decrease amount of checks and hint branch prediction.
This may look minor, but this is such a hot path, that this actually
speeds things up a bit.
2015-11-09 11:43:04 +00:00
Tom Hacohen f7f7fc69cf Eo: Split object checking from class checking and simplify.
The check there was wrong for objects anyway, and was ultra conservative
for classes.
2015-11-09 11:43:04 +00:00
Tom Hacohen f7196513d0 Eo callback call: Remove redundant safety checks.
This is already being checked by eo_do, no need to duplicate this here.
2015-11-09 11:43:04 +00:00
Tom Hacohen 5661f96c05 Eo callback call: Remove redundant refcounting.
We already get refcounting from eo_do, no need to have more refcounting here.
2015-11-09 11:43:04 +00:00
Tom Hacohen 0908422084 Eo callback call: Simplify callback desc matching code.
As part of this change, we also error on adding invalid callbacks.
2015-11-09 11:43:04 +00:00
Tom Hacohen 9d68b14313 Eo callbacks: simplify callback call code a bit.
We don't need this check because it's already checked in the match function.
2015-11-09 11:43:04 +00:00