Commit Graph

4468 Commits

Author SHA1 Message Date
Christopher Michael ac7e3bfe64 Ecore_Wayland: Fix binding of output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78052
2012-10-16 11:57:13 +00:00
Christopher Michael e1c5667826 Ecore_Wayland: Be sure to call wl_surface_commit after we damage a
surface.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78051
2012-10-16 11:57:10 +00:00
Christopher Michael cc85b42a0d Ecore_Wayland: Update ecore_wayland to work with most recent Wayland
from their git repo. This changes the way events are dispatched, and
adds the new wl_registry listeners in place of
wl_display_add_global_listener. Also fixes calls to non-existant
wl_display_iterate. Fixes binding the various Wayland interfaces
(compositor, shell, etc). Fixes binding of output and input.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78050
2012-10-16 11:57:06 +00:00
Christopher Michael 8f1abe4a2c Ecore_Wayland: Add wl_registry to the Ecore_Wayland_Display structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78049
2012-10-16 11:57:03 +00:00
Christopher Michael a8f58dc90d Ecore_Evas (Wayland): Do not set the Smart_Data Frame rectangle as the
"frame object". The resulting smart object is set to the frame object.
Add the Smart_Data Frame Text to be part of the Smart Object.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78048
2012-10-16 11:56:57 +00:00
Carsten Haitzler 6912aba9db remove 8bpp evas engine support from e3core-evas as its now gone from
evas.



SVN revision: 78027
2012-10-16 02:54:05 +00:00
Carsten Haitzler a2a51a28fa since mask is not being used by sw engine in alpha mode - dont make
one (even for input event mask).



SVN revision: 77999
2012-10-15 13:04:47 +00:00
Carsten Haitzler 890e35cb11 16bpp ecore-evas support gone now its gone in evas.
SVN revision: 77998
2012-10-15 13:02:39 +00:00
Mike McCormack 27ae7e7cdb ecore: Fix warning
ecore_poll.c: In function ‘_poller_constructor’:
ecore_poll.c:273:10: warning: ‘return’ with a value, in function returning void

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77997
2012-10-15 12:12:36 +00:00
Carsten Haitzler e1ada6ad4d oops - yes - windows. ugh. indeed.
SVN revision: 77985
2012-10-15 08:00:31 +00:00
Carsten Haitzler 7de4d6b72a actually create idler if no idler exists.. not timer. i suspect a typo
here. :)



SVN revision: 77984
2012-10-15 07:38:56 +00:00
Carsten Haitzler 93721ebdab more formatting.
SVN revision: 77983
2012-10-15 07:19:31 +00:00
Carsten Haitzler f97fb16ac2 no need to set idler to null in init.
SVN revision: 77982
2012-10-15 07:19:01 +00:00
Carsten Haitzler cba81eea06 clean up some fmting
SVN revision: 77981
2012-10-15 07:18:10 +00:00
rustyBSD 5c81b6e412 From: rustyBSD <rustyBSD@gmx.fr>
Subject: [E-devel] [ecore] Recursive rm

I looked at the ecore_file_recursive_rm() function
(in ecore/src/lib/ecore_file/), and I wonder why this
is so ugly/complicated.

We are doing a readlink() and two stat(). Why not simply
do a lstat() ?

It takes less memory and it's simplier. Here is a patch.

(And readlink() is ssize_t)



SVN revision: 77979
2012-10-15 06:51:39 +00:00
Carsten Haitzler 2e5c26b2e5 make idler static and null... by default
SVN revision: 77973
2012-10-15 05:49:38 +00:00
Vikram Narayanan 80ece5f272 ecore ecore_directfb.c: Use correct structure. Patch by Vikram Narayanan <vikram186@gmail.com>
From: Vikram Narayanan <vikram186@gmail.com>
Date: Sun, 14 Oct 2012 22:57:05 +0530
Subject: [PATCH] ecore/ecore_directfb: Fix a pedantic bug

Though someone can argue it is correct, (as the two structures have the
same size and numbers) it gives a room for a little confusion. Fix this.

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>

SVN revision: 77971
2012-10-15 04:53:18 +00:00
Jihoon Kim f0cf6abc31 ecore_imf_example: ecore_imf_context_reset should be called in mouse-up event
SVN revision: 77842
2012-10-11 01:42:59 +00:00
Jihoon Kim 35529c84c0 ecore: fix ecore_magic_fail error in ecore_imf_example.c
SVN revision: 77841
2012-10-11 01:39:52 +00:00
Cedric BAIL d4eb9e7fde ecore: fix typos reported in #1611
SVN revision: 77840
2012-10-11 01:29:56 +00:00
Carsten Haitzler 9ec7d338a2 oops - good catch seb!
SVN revision: 77762
2012-10-10 13:06:27 +00:00
Michal Pakula vel Rutka 0a8bed1b66 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [Patch] [Ecore] Allow to send SelectionNotify event
if there is no data from XGetWindowProperty.

The issue I want to fix is that elementary clipboard does not return 
paste callback if selection does not contain any data.
Currently when ecore_x_window_prop_property_get function is called
asking for AnyProperty it returns 0 if there is no data (number of
items stored equals 0). This causes ecore_x_event_handle_selection
_notify to exit before SelectionNotify event is added and eventually
elementary paste callback is not fired.
My patch removes this condition and changes behaviour of this function
by allowing to add SelectionNotify event even if data returned is empty.



SVN revision: 77732
2012-10-10 09:17:21 +00:00
Yakov Goldberg dbda81582a Porting to Eo: Job, Animator, Idler, Idle_Enterer, Idle_Exiter, Timer, Ecore_Poll
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 77722
2012-10-10 08:19:58 +00:00
Christopher Michael 922030ca72 Ecore_X (xcb): Make sure we have a valid connection before checking
source state.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77694
2012-10-10 06:47:54 +00:00
Christopher Michael 3c6e2fabf3 Fix typo (a period != a comma) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77633
2012-10-09 09:51:21 +00:00
Sebastian Dransfeld f438ce3bcb ecore_con_socks: split version check from cast
SVN revision: 77622
2012-10-09 08:27:55 +00:00
Sebastian Dransfeld e5dc5ce162 ecore_con: make buf correct type
Should be the same as the return type from eina_binbuf_string_get

SVN revision: 77621
2012-10-09 08:27:38 +00:00
Eduardo Lima (Etrunko) 8a014153d4 Wayland_SHM: Add listener to frame callback
This is the method necessary to synchronize Wayland and Evas rendering, similar
to vblank sync that is used in X11. This solves the Wayland SHM render issues
(tearing effect) without the need to add double buffering to the engine.

In a near future, the SHM implementation will feature double (or triple)
buffering and this syncrhonization mechanism will be changed to be optional.

Patch based on the work started by Robert Bradford on ticket #1280
http://trac.enlightenment.org/e/ticket/1280

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77580
2012-10-08 14:22:17 +00:00
Eduardo Lima (Etrunko) 352926829e Ecore_Evas: Share code between SHM and EGL
implementations

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77579
2012-10-08 14:09:53 +00:00
Sebastian Dransfeld 89d1fdb265 ecore_wayland: Remove unneeded header
Already included by ecore_wl_private.h

SVN revision: 77548
2012-10-06 17:10:58 +00:00
Sebastian Dransfeld b111a5046e ecore_wayland: Make modifiers correctly at once
SVN revision: 77546
2012-10-06 15:58:27 +00:00
Sebastian Dransfeld a91fd04ead ecore_wayland: Use correct modifier flags
Events should use ECORE_EVENT_MODIFER_* flags...

SVN revision: 77534
2012-10-05 13:46:35 +00:00
Cedric BAIL 433803e3dc ecore: let's try another approach thanks to Guillaume Friloux.
SVN revision: 77533
2012-10-05 13:07:14 +00:00
Cedric BAIL d308248e4c ecore: properly reschedule call to curl.
SVN revision: 77524
2012-10-05 10:17:18 +00:00
Sebastian Dransfeld 248fb9b2d9 ecore-x: expose ecore_x_selection_converter_text
Needed to convert COMPOUND_TEXT

SVN revision: 77477
2012-10-04 23:18:18 +00:00
Vincent Torri 607eb7d0de Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested)
SVN revision: 77444
2012-10-04 17:04:38 +00:00
Stefan Schmidt 383af77fce ecore_con: No need to check for the for the same flag two times.
I did not do changelog, news or backport here as it has zero effect on the
functionality. Just makes the code easier to udnerstand and read. If you think
it needs to be done neverless howl and let me know what you actually want in
it. :)

SVN revision: 77441
2012-10-04 14:56:22 +00:00
Christopher Michael 3b0804e195 Remove unused variables.
SVN revision: 77425
2012-10-04 10:43:07 +00:00
Cedric BAIL 3d8678ab86 ecore: add ecore_x_input_raw_select and friends.
SVN revision: 77404
2012-10-04 05:56:59 +00:00
Christopher Michael 492eb02253 Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for
calloc of randr_output_change event.



SVN revision: 77401
2012-10-04 05:49:28 +00:00
Eduardo Lima (Etrunko) c76d15436b Wayland_SHM: Remove unecessary initialization
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77375
2012-10-03 16:30:45 +00:00
Eduardo Lima (Etrunko) 4c750dfd37 Ecore_Evas: Cleanup unused function prototypes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77374
2012-10-03 16:30:37 +00:00
Eduardo Lima (Etrunko) 536114dd46 Ecore_Evas: Fix Wayland engine includes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77373
2012-10-03 16:30:28 +00:00
Cedric BAIL 94978e3079 ecore: Fix memory allocation size in ecore_thread_feedback()
Patch by Daniel Willmann <d.willmann@samsung.com>


SVN revision: 77340
2012-10-03 05:55:32 +00:00
Christopher Michael 5824001bef Ecore_X (xcb): Revert previous screensaver commit.
NB: I was misinformed...apparently it did Not cut down the usage.



SVN revision: 77312
2012-10-02 12:13:32 +00:00
Christopher Michael f209467e08 Ecore_X: We don't need to listen for Cycle events here. These raise
when the screensaver cycle interval passes. That is not what we are
interested in here. We only need to know when the screensaver
activates/deactivates.

NB: This cuts cpu usage down incredibly when screensavers are set with
a short timeout.



SVN revision: 77310
2012-10-02 12:08:58 +00:00
Carsten Haitzler 8c1cae1318 maybe patch over imf ibus module oopsie?
SVN revision: 77144
2012-09-27 09:44:00 +00:00
Carsten Haitzler 0f1366f323 oops use micro not minor
SVN revision: 77131
2012-09-27 07:13:15 +00:00
Carsten Haitzler 234a81b897 actualyl do option this way.
SVN revision: 77130
2012-09-27 07:00:28 +00:00
Carsten Haitzler 4645656f38 support new swap mode field.
SVN revision: 77129
2012-09-27 06:57:16 +00:00
Christopher Michael 1e3f4b329c Ecore_Evas (wayland): Add missing close.
SVN revision: 77100
2012-09-26 19:26:24 +00:00
Christopher Michael a37ddfb283 Ecore_Evas (wayland): Remove goto. (don't need them, don't want them)
;) Also, remove an extra blank line that got in there.



SVN revision: 77099
2012-09-26 19:01:04 +00:00
Eduardo Lima (Etrunko) 1750a5a144 Wayland_SHM: Simplify code for buffer creation
Removed unecessary ensure_pool_size function move the checks to _pool_create.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77097
2012-09-26 18:42:47 +00:00
Eduardo Lima (Etrunko) 617b6f62dc Wayland_SHM: new functions for freeing SHM buffer and
pool

_ecore_evas_wl_buffer_free() and _ecore_evas_wl_shm_pool_free() were added,
avoid repeating the same calls everywhere.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77096
2012-09-26 18:41:57 +00:00
Cedric BAIL 357cbb570c ecore: include Eina.h as we need it.
SVN revision: 76967
2012-09-21 13:10:01 +00:00
Carsten Haitzler 5834a7956c oooh fix nasty bug never found to date in ecore-x - gettign if image
is argb or not was WRONG. fixed. :) this now affected the comp
software non-32bit support as it used it.



SVN revision: 76961
2012-09-21 12:12:54 +00:00
Christopher Michael 9507c20a53 Ecore_X: Fix more randr functions. Properly return output Modes from
ecore_x_randr_output_modes_get (more memcpy madness).



SVN revision: 76940
2012-09-21 08:17:35 +00:00
Carsten Haitzler 6062b09c81 oh oops - err needs a var ecore doesn ecport. use the eina log macro
instead.



SVN revision: 76868
2012-09-19 14:04:33 +00:00
Patryk Kaczmarek 23676f34fb From: Patryk Kaczmarek <patryk.k@samsung.com>
Subject: Re: [E-devel] [Patch] [Ecore] Patch with NULL checks to some
functions in ecore module

I had prepared patch for some Ecore functions which, in my opinion,
critically need NULL checks. I had tried to keep each file convention.



SVN revision: 76852
2012-09-19 10:39:27 +00:00
Christopher Michael e0807db1c3 Ecore_X(cb): Remove old references to the _prefetch functions.
SVN revision: 76817
2012-09-18 13:05:20 +00:00
Carsten Haitzler 8c261bb4de on second thought - limit to 0 if < 0 - rest of ecore-timer does this.
SVN revision: 76809
2012-09-18 11:47:22 +00:00
Patryk Kaczmarek cc72c09b84 From: Patryk Kaczmarek <patryk.k@samsung.com>
Subject: [E-devel] [Patch] [Ecore] Protection for giving below zero
values for ecore_poll and ecore_timer

Please also check attached patch for ecore_timer_interval_set and
ecore_poller_poll_interval_set.

It checks if given time is not zero or below zero.



SVN revision: 76805
2012-09-18 11:38:08 +00:00
Patryk Kaczmarek 042ecacd0f From: Patryk Kaczmarek <patryk.k@samsung.com>
Subject: [E-devel] [Patch] [Ecore] ecore_file_escape_name fix for \n
and \t

Please review and consider the attached patch for ecore_file_escape_name
function, now it correctly escapes tab and new line characters.



SVN revision: 76803
2012-09-18 11:34:36 +00:00
Christopher Michael d7090e953d Ecore_X: Patch from Doyoun Kang to add missing strings for some
ECORE_X_ATOM_E_ILLUME_WINDOW atoms.



SVN revision: 76638
2012-09-14 06:00:56 +00:00
Carsten Haitzler 7075120c5d fix rotation issue with ecore-evas
SVN revision: 76596
2012-09-13 10:20:17 +00:00
Mike Blumenkrantz ec11fcc9c1 return -1 for ecore_con_server_fd_get() in the rare case that the server has already been deleted
SVN revision: 76582
2012-09-13 07:04:11 +00:00
Christopher Michael 4b1e2578b0 Ecore_X: Fix more memcpy madness causing problems in randr. This fixes
crtc_possible_outputs_get and crtc_outputs_get.



SVN revision: 76454
2012-09-11 11:41:26 +00:00
Leandro Pereira a52cb9e0f5 ecore_con_url: Better handling of timeout messages
Timeout messages are given a 408 HTTP status code (request timeout), instead
of a CRIT() message; this gives chance to the completed callback do whatever
is necessary when a timeout happens.



SVN revision: 76419
2012-09-10 19:06:29 +00:00
Christopher Michael 32c68acf3c Ecore_X: Actually, we can still retrieve crtcs without returning Count
of them. Fix (very very minor, imo not worthy of a changelog entry).



SVN revision: 76400
2012-09-10 12:28:17 +00:00
Christopher Michael fd3f6c4045 Ecore_X (randr): Correctly list crtcs also (same fix as outputs).
SVN revision: 76392
2012-09-10 10:46:07 +00:00
Jihoon Kim 0eaa7cea4f ecore_imf: Add ECORE_IMF_PREEDIT_TYPE_SUB4~7 style
SVN revision: 76367
2012-09-10 04:48:28 +00:00
Cedric BAIL 5689ab4363 ecore: Ecore_Con_Eet reset size when receiving an Eet_Data.
SVN revision: 76345
2012-09-08 16:12:34 +00:00
Vincent Torri 849362bd06 Ecore_File: Fix readlink usage in ecore_file.
SVN revision: 76330
2012-09-08 06:21:42 +00:00
Christopher Michael aa88c5697d Ecore_X (RandR): Fix long outstanding randr bug which caused
ecore_x_randr to not work for pretty much everyone. Short version,
don't memcpy something potentially Larger into something Certainly
smaller. (read on for the details).

NB: This 'should' fix all the randr problems in ecore_x (tho I have
not tested Everything).

NB: Ok, here goes:
    XRRGetScreenResources returns a struct. Inside that struct is a
    list of RROutputs.

    RROutput is defined as (from randrproto.h):
      #define RROutput CARD32

    CARD32 is defined as (from X11/Xmd.h): 
      # ifdef LONG64
        typedef unsigned long CARD64;
        typedef unsigned int CARD32;
      # else
        typedef unsigned long CARD32;
      # endif
    so CARD32 can change based on the system (32/64 bit).

    Ecore_X_Randr_Output is defined as (Ecore_X.h):
       typedef Ecore_X_ID Ecore_X_Randr_Output;
       (for reference: typedef unsigned int Ecore_X_ID)

    Double bonus points if you have already spotted the problem !! ;)



SVN revision: 76306
2012-09-07 13:12:30 +00:00
Mike Blumenkrantz c504378e80 unbreak ecore's ssl connectivity
SVN revision: 76230
2012-09-06 08:14:46 +00:00
Mike Blumenkrantz c14ede1a73 apparently when using openssl, the prepared flag was never being set for servers
SVN revision: 76228
2012-09-06 08:03:41 +00:00
Mike Blumenkrantz bf8f20a3f6 fix super hard to reproduce race condition with ecore-con clients
SVN revision: 76223
2012-09-06 07:34:00 +00:00
Jihoon Kim 816c904dc8 describe about TERMINAL Layout more detail
SVN revision: 76214
2012-09-06 06:01:37 +00:00
Mike Blumenkrantz ea858b74cf fix crash in ecore_con_ssl when failing to add privkeys/certs with openssl as spotted by Guillaume Friloux
SVN revision: 76193
2012-09-05 12:41:50 +00:00
Carsten Haitzler 853c851dd0 this is an IMPROVEMENT of null checking (so no backport). thanks
shungo kwak. :)



SVN revision: 76099
2012-09-04 02:40:12 +00:00
Jihoon Kim d163208536 ecore_imf: fix description of SIGNIN return key type
SVN revision: 76096
2012-09-04 02:16:43 +00:00
Jihoon Kim 509a28a47c ecore_imf: add ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN type
SVN revision: 76094
2012-09-03 23:56:06 +00:00
Carsten Haitzler 09d2cf7ad6 add 2 new illume sgs's and bump ecore version to 1.8 in svn as thats
now the api ver anyway.



SVN revision: 75990
2012-09-03 09:42:18 +00:00
Carsten Haitzler 76fc983dc9 fmting.
:)



SVN revision: 75954
2012-09-03 06:51:31 +00:00
Jiyoun Park e7d316dbc2 add error check code. service name have to be given.
SVN revision: 75949
2012-09-03 06:09:34 +00:00
Jiyoun Park 59fa846c97 need NULL checks in EAPI function.
patched by Sungho Kwak   sungho.efl@gmail.com


SVN revision: 75946
2012-09-03 05:37:16 +00:00
Jihoon Kim 906961530e ecore_imf: describe default value of ecore_imf APIs
SVN revision: 75928
2012-09-01 13:29:37 +00:00
Cedric BAIL 9bc594da39 ecore: add forgotten EAPI to Ecore_Con_Eet.
SVN revision: 75919
2012-08-31 06:39:57 +00:00
Cedric BAIL 0423ca5a36 ecore: Add Ecore_Con_Eet API.
SVN revision: 75910
2012-08-31 03:11:24 +00:00
Christopher Michael d021536d2b Ecore_X: We can still get output resources even if 'num' is not passed
in.



SVN revision: 75868
2012-08-30 10:31:41 +00:00
Christopher Michael eb8665bfd4 Ecore_X: Formatting.
SVN revision: 75867
2012-08-30 10:30:28 +00:00
Christopher Michael 897c5a6e46 Ecore_Evas (wayland_egl): Be sure to call buffer attach after we show
the window so that the allocated size gets updated.



SVN revision: 75828
2012-08-29 13:04:43 +00:00
Mike Blumenkrantz ce18403541 fix weird ecore-ipc leak
SVN revision: 75822
2012-08-29 09:08:30 +00:00
Christopher Michael e7d8ab323c Ecore_Wayland: Add Copy-n-Paste support for Ecore Wayland.
NB: Based on initial work from Alex <zhiwen.wu@intel.com> (thanks for
the patch), but modified to clean up compiler warnings, fixed function 
declarations, fixed function namespacing.



SVN revision: 75809
2012-08-29 06:35:02 +00:00
Cedric BAIL e629c76ecd ecore: fix leak of evas_render_update list.
SVN revision: 75807
2012-08-29 05:18:27 +00:00
Nicolas Aguirre c20db5be17 ecore : Let's compile ecore with android ndk
SVN revision: 75743
2012-08-27 22:05:51 +00:00
Vincent Torri a1b80a85b3 core_Con: add header
See 'Notes' section in http://linux.die.net/man/2/connect

SVN revision: 75742
2012-08-27 21:22:34 +00:00
Carsten Haitzler 1475fb3586 update @version's
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Vincent Torri dd7d35b1f7 ecore: remove printf
SVN revision: 75721
2012-08-27 06:55:33 +00:00
Vincent Torri b20f37ef58 Ecore: fix seg fault in ecore_thread on Windows
PHS() was returning a wrong value. Thanks to Cedric for the help

SVN revision: 75720
2012-08-27 06:04:16 +00:00