Commit Graph

29500 Commits

Author SHA1 Message Date
Jean-Philippe Andre 841890a7b6 cmake: Add files for Emile, the serial killer 2015-03-17 19:29:14 +09:00
pierre lamot 59532c7d96 ecore_cocoa: add missing window state functions
implement missing window state functions:

  * raise
  * lower
  * activate
  * iconified_set
  * withdrawn_set
  * move

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot ca3bd69485 ecore_cocoa: add functions to allow min/max window size
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot be98af31bf ecore_cocoa: fix mouse scrollwheel direction
horizontal and vertical direction where inverted

@fix
2015-03-17 10:42:51 +01:00
pierre lamot ef7e8562a1 ecore_cocoa: don't reject mouse events outside the window
mouse events ouside the window where rejected. that was creating
interactions where half an event was created, the application was
then not able to process correctly following events.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot de767cabfa eio: don't restart a monitor on MacOSX when every paths have been removed.
This patch check that when a monitor is removed the FSEvent service, it is
not restarted if there is no more paths to monitor. This was generating an
error message from FSEvent.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot c380812496 evas: bypass lockfocus in NSView on OSX
this patch bypass calls to (un)lockFocus, avoid segv
when closing windows

This is certainly not the cleanest way to do it but it seems
to be working correctly at the moment. this may leads to
unexepected behavior which haven't been identified now

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot fec6d1207a ecore_cocoa: add support for non latin keyboard events
this patch adds support for non latin keyboard layout such as
arabic, greek or hebrew, some language might not be functionnal
tough like korean or chineese

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot c80f527dbc ecore_evas: rewrite render loop to conform with other engines.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot e573d65424 evas: make current context on lockFocus for gl_cocoa backend.
make current context on lockFocus as suggested by (following best practice):
https://developer.apple.com/library/mac/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
pierre lamot 6ea9b476ad ecore_cocoa: release resources on window close event
@fix this patch:

catch the window close event from cocoa and send an ecore event
this event is catched by a handler in ecore_evas wich will
call the registered fn_delete_request (from elementary for instance)

/!\ this patch is currently incomplete and leads to a segv when
closing the last window

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17 10:42:51 +01:00
Jean-Philippe Andre 358bd3eb25 Evas GL: Fallback to safe GL configs with GLX as well 2015-03-17 18:42:19 +09:00
Jean-Philippe Andre 9e0095a53c Evas GL: Fallback to safe values of depth, stencil & msaa if not supported
Depth32, Stencil16 and MSAA are known to be unsupported on many platforms.
While applications should try not to request them, we can try to fallback
nicely and still render using depth24+stencil8 (which is often supported),
or reducing the number of MSAA samples (until 0 if not supported at all).
2015-03-17 18:16:40 +09:00
Cedric BAIL 0cf042baee Merge branch 'devs/cedric/emile'
Here come a major code refactoring. There is still work to be done, especially on Ecore_Con_SSl
and also image compression, but it is already an improvement over current situation. Further
development should happen in master.

Emile does provide a library to put together serialization, compression and ciphering. It is a
low level library and can be use by anything above Eina.
2015-03-17 09:59:16 +01:00
Cedric BAIL f875f759ca emile: fix coding style with ecrustify. 2015-03-17 09:58:21 +01:00
Cedric BAIL aa3b6615ee emile: add a note regarding useless structure member. 2015-03-17 09:58:21 +01:00
Cedric BAIL b301fffe2f ecore_con: fix build with -DISCOMFITOR and OpenSSL. 2015-03-17 09:58:21 +01:00
Cedric BAIL 9b51888104 ecore_con: remove deprecated use of Eina_Binbuf functions. 2015-03-17 09:58:21 +01:00
Cedric BAIL aab01a80b2 edje: remove deprecated use of Eina_Binbuf functions. 2015-03-17 09:58:21 +01:00
Cedric BAIL 0e5686de73 eet: remove use of deprecated Eina_Binbuf functions. 2015-03-17 09:58:21 +01:00
Cedric BAIL 5412be48e1 emile: remove use of deprecated eina binbuf function. 2015-03-17 09:58:21 +01:00
Cedric BAIL 9d29f80eb1 eina: provide a generic eina_binbuf_manage_new.
eina_binbuf_manage_new provide the functionnality of both eina_binbuf_manage_new_length
and eina_binbuf_manage_read_only_new_length. Those function get deprecated.
2015-03-17 09:58:20 +01:00
Cedric BAIL a446624f5f emile: make sure given boolean are really boolean. 2015-03-17 09:58:20 +01:00
Cedric BAIL 90d8932a03 emile: remove binbuf from emile compression functions. 2015-03-17 09:58:20 +01:00
Cedric BAIL 75cd6d3628 emile: use Eina_Log for Jpeg error message. 2015-03-17 09:58:20 +01:00
Cedric BAIL dfe39b3d54 ecore_con: unbreak GNUTLS support. 2015-03-17 09:58:20 +01:00
Cedric BAIL 0fc4091b8c emile: update to latest GNUTLS/GCRYPT API. 2015-03-17 09:58:20 +01:00
Vincent Torri 987607a3c2 emile: fix some warnings in gnutls component 2015-03-17 09:58:20 +01:00
Vincent Torri ce394fae95 emile: ERROR is a macro already defined on Windows 2015-03-17 09:58:20 +01:00
Vincent Torri e86b314971 emile: fix emile_binbuf_sha1() signature when no cipher is used 2015-03-17 09:58:20 +01:00
Vincent Torri 26708e0818 emile: fix array count 2015-03-17 09:58:20 +01:00
Cedric BAIL 065f87bd15 emile: cleanup comments and internal functions name. 2015-03-17 09:58:20 +01:00
Cedric BAIL 6e59828f74 emile: cleanup private header. 2015-03-17 09:58:20 +01:00
Cedric BAIL 4a84267d86 emile: cleanup header from useless cruft. 2015-03-17 09:58:20 +01:00
Cedric BAIL a2385e2ebc emile: follow convention for Emile_Compressor_Level. 2015-03-17 09:58:20 +01:00
Cedric BAIL bbf7ab1cc4 emile: normalize compression header. 2015-03-17 09:58:20 +01:00
Cedric BAIL 4b4bdd9723 emile: normalize version number to 1.14. 2015-03-17 09:58:20 +01:00
Cedric BAIL df20c9ff8e emile: implement emile_cipher_module_get in a useful way. 2015-03-17 09:58:20 +01:00
Cedric BAIL f4c5b3fd70 emile: document the stable cipher function. 2015-03-17 09:58:20 +01:00
Cedric BAIL d6a2f0cad5 emile: actually this set of function are neat enough to be a public API. 2015-03-17 09:58:20 +01:00
Cedric BAIL 8f3ec959b9 emile: change the API to allow supporting other cipher in the future. 2015-03-17 09:58:19 +01:00
Cedric BAIL d32f310a92 emile: mark ssl layer as a beta API for now. 2015-03-17 09:58:19 +01:00
Cedric BAIL 9e2333d408 eet: use Emile type for encoding. 2015-03-17 09:58:19 +01:00
Cedric BAIL 97e3f55de5 emile: document Emile_Image. 2015-03-17 09:58:19 +01:00
Cedric BAIL 8fd9770d95 emile: reduce code duplication between gnutls and openssl backend.
Add a visible emile_binbuf_sha1 implementation and deduplicate
emile_pbkdf2_sha1 (but does not explicitely expose it).
2015-03-17 09:58:19 +01:00
Cedric BAIL d4d22ca5ea emile: remove ambiguity especially for Windows platform.
Thanks Vincent Torri for the review.
2015-03-17 09:58:19 +01:00
Cedric BAIL 2734fde87f emile: add documentation for compression function. 2015-03-17 09:58:19 +01:00
Cedric BAIL 274be9ac24 emile: use an enum for level instead of just an int. 2015-03-17 09:58:19 +01:00
Cedric BAIL 49f017926a emile: update documentation version. 2015-03-17 09:58:19 +01:00
Cedric BAIL 2cd4e1764d emile: split headers. 2015-03-17 09:58:19 +01:00