Commit Graph

5319 Commits

Author SHA1 Message Date
Daniel Zaoui 9eb2d0e685 Remove EAPI that were not supposed to be.
vtorri is hot today!!!

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78303
2012-10-21 08:17:08 +00:00
Daniel Zaoui cacd9955ab Fix: compilation problem due to _ecore_parent declaration and
HAVE_MALLINFO conflict.

Thanks to vtorri for having found that.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78301
2012-10-21 08:04:20 +00:00
Mike McCormack 6d4317ee2b ecore: Fix unbalanced lock
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 78274
2012-10-20 05:08:18 +00:00
Cedric BAIL d84053ccfe ecore: oops fix a typo.
SVN revision: 78243
2012-10-19 10:45:25 +00:00
Cedric BAIL 6e6d623148 ecore: update to new API.
SVN revision: 78230
2012-10-19 07:13:21 +00:00
Cedric BAIL e882b94434 ecore: use Eina_Thread in Ecore_Thread.
SVN revision: 78227
2012-10-19 05:49:48 +00:00
Sebastian Dransfeld 2f60b3930d ecore_file: Don't check for file existance
This isn't needed, as inotify_add_watch will check this.

SVN revision: 78168
2012-10-18 09:11:25 +00:00
Christopher Michael 838da7d970 Ecore_Evas (Wayland): Add missing LOGFN to ecore_evas_wayland_common
code. Patch from Rafael Antognolli, Thanks :)

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

SVN revision: 78147
2012-10-18 05:43:07 +00:00
Cedric BAIL ca7ed55ed4 ecore: remove duplicate.
SVN revision: 78146
2012-10-18 03:40:38 +00:00
Cedric BAIL 0340df883a ecore: fix pedantic warning.
Patch by Vikram Narayanan <vikram186@gmail.com>


SVN revision: 78144
2012-10-18 01:27:50 +00:00
Rob Bradford acbf60bbb2 Ecore_Wayland: Update to changed direction
Positive and negative have been switched so we no longer need to invert
ourselves.

Patch by: Rob Bradford <rob@linux.intel.com>



SVN revision: 78136
2012-10-17 21:50:31 +00:00
Christopher Michael 33f46cd5c4 Ecore: Update NEWS for ecore_wayland fixes.
Thanks Daniel ;)

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

SVN revision: 78058
2012-10-16 12:40:46 +00:00
Christopher Michael b24575b3e9 Ecore: Update ChangeLog for ecore_wayland changes.
Thanks Daniel ;)

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

SVN revision: 78057
2012-10-16 12:40:42 +00:00
Christopher Michael aae18b4dd9 Ecore_Wayland: More fixes for recent wayland changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78056
2012-10-16 11:57:25 +00:00
Christopher Michael d8301202a0 Ecore_Wayland: Don't need to use display_dispatch_pending here, and
fix the data_handler callback so we receive events from the weston
compositor.

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

SVN revision: 78055
2012-10-16 11:57:22 +00:00
Christopher Michael b90b94709a Ecore_Wayland: Change Input to use wl_registry functions and not
wl_display_bind.

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

SVN revision: 78054
2012-10-16 11:57:19 +00:00
Christopher Michael 426b5518b6 Ecore_Evas (wayland): Don't return if we failed to get the frame smart
data. We can still set the shell surface title.

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

SVN revision: 78053
2012-10-16 11:57:16 +00:00
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
Massimo Maiurana 0f616576b3 updating galician translations
SVN revision: 78046
2012-10-16 11:11:09 +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 67fa000e09 Ecore: Update ChangeLog for Daniel's patch.
SVN revision: 77402
2012-10-04 05:51:12 +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 24d1d1bccc typeo in chlog
SVN revision: 77151
2012-09-27 11:11:38 +00:00
Carsten Haitzler 9a354e2cb8 checnglog/news my fix now its confirmed
SVN revision: 77150
2012-09-27 11:06:41 +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
Cedric BAIL 0f44cbd30e ecore: fix build without Ecore_Con support.
SVN revision: 76966
2012-09-21 13:08:51 +00:00
Christopher Michael 17713baa05 Ecore: Update ChangeLog for RandR fix.
SVN revision: 76964
2012-09-21 13:01:20 +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
Vincent Torri 371defbd32 merge: add COPYING files (BSD 2-clause, LGPL and GPL) and doc
doc though head.html should be improved :)



SVN revision: 76843
2012-09-19 06:57:03 +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
Vincent Torri 8abaff3bdf merge: add eet
SVN revision: 76768
2012-09-17 16:35:38 +00:00
Vincent Torri 785f2a6b3a merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do


SVN revision: 76710
2012-09-16 10:57:48 +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
Christopher Michael 4637b5e972 Ecore: Boss says to update NEWS, then update NEWS I will ;)
SVN revision: 76600
2012-09-13 10:27:27 +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
Vincent Torri 59a9dfd118 merge: add infra for evil
SVN revision: 76463
2012-09-11 16:04:21 +00:00
Christopher Michael 2ad877574e Ecore: Update changelog ;)
SVN revision: 76456
2012-09-11 11:43:29 +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 bbde32900c Ecore: Ooops, wrong date for ChangeLog entry. Fix.
SVN revision: 76398
2012-09-10 12:25:29 +00:00
Christopher Michael 6aefdd2a6c Ecore: Update ChangeLog for recent ecore_x fix.
SVN revision: 76396
2012-09-10 12:21:04 +00:00