Mike McCormack [Wed, 6 Jul 2011 10:54:30 +0000 (10:54 +0000)]
ecore: Remove most #ifdef HAVE_EPOLL blocks
Replace with if statements and stub epoll calls, and let the
compiler optimize out the stub code.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61081
Mike McCormack [Wed, 6 Jul 2011 10:54:20 +0000 (10:54 +0000)]
ecore: Remove most HAVE_TIMERFD_CREATE ifdefs
Introduce stub timerfd_create and timerfd_settime functions
so ifdefs can be removed.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61080
Mike McCormack [Wed, 6 Jul 2011 10:54:11 +0000 (10:54 +0000)]
ecore: Use timerfd with g_main_loop
glib only allows millisecond resolution in g_main_loop.
To avoid this limitation, use timerfd to wake up the main loop.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61079
Carsten Haitzler [Wed, 6 Jul 2011 10:21:16 +0000 (10:21 +0000)]
provide alpha set call for buffer canvas in ecore-evas. new feature
related to elm shot engine.
SVN revision: 61077
Carsten Haitzler [Wed, 6 Jul 2011 08:43:18 +0000 (08:43 +0000)]
Fix bug in in mouse grabs while frozen events are in place.
SVN revision: 61070
Tom Hacohen [Wed, 6 Jul 2011 07:32:23 +0000 (07:32 +0000)]
Evas textblock: Fixed _cursor_char_coord_set with coords after the eol.
SVN revision: 61068
Tom Hacohen [Wed, 6 Jul 2011 07:32:14 +0000 (07:32 +0000)]
Evas textblock: Fixed weird cursor behavior with empty textblocks.
SVN revision: 61067
Daniel Juyung Seo [Wed, 6 Jul 2011 06:24:18 +0000 (06:24 +0000)]
evas evas_map.c: Added warning messages to some codes. It has an
infinite loop issue.
SVN revision: 61066
Gustavo Lima Chaves [Tue, 5 Jul 2011 21:10:19 +0000 (21:10 +0000)]
[evas] Documenting and exemplifying the following:
- evas_object_smart_add
- evas_object_smart_calculate
- evas_object_smart_changed
- evas_object_smart_clipped_class_get
- evas_object_smart_clipped_clipper_get
- evas_object_smart_clipped_smart_set
- evas_object_smart_data_get
- evas_object_smart_data_set
SVN revision: 61062
Jonas M. Gastal [Tue, 5 Jul 2011 16:36:50 +0000 (16:36 +0000)]
Making evas doc work with IE8 and IE9(copied from ecore).
SVN revision: 61056
Jonas M. Gastal [Tue, 5 Jul 2011 16:35:20 +0000 (16:35 +0000)]
Make eina docs work on IE8 and IE9.
SVN revision: 61055
Cedric BAIL [Tue, 5 Jul 2011 13:25:38 +0000 (13:25 +0000)]
emotion: fix race condition and never call fill_set in the backend.
SVN revision: 61051
Rafael Antognolli [Tue, 5 Jul 2011 13:09:57 +0000 (13:09 +0000)]
ecore/ecore_con - improved documentation and added example.
Just ecore_con_init, shutdown and lookup documented for now.
SVN revision: 61050
Sanjeev BA [Tue, 5 Jul 2011 11:13:47 +0000 (11:13 +0000)]
ecore: Minor changes to documentation of ecore_con_url_fd_set
Signed-off-By: Sanjeev BA <as2902.b@samsung.com>
SVN revision: 61043
Mike McCormack [Tue, 5 Jul 2011 11:13:39 +0000 (11:13 +0000)]
ecore: Only dispatch if we have something to do
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61042
Mike McCormack [Tue, 5 Jul 2011 11:13:29 +0000 (11:13 +0000)]
ecore: Add basic thread checks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61041
Mike McCormack [Tue, 5 Jul 2011 11:13:20 +0000 (11:13 +0000)]
ecore: Add function to check we're the main loop thread
Rearrange the the order of startup to avoid triggering
the thread checks in ecore_event_type_new().
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61040
Cedric BAIL [Tue, 5 Jul 2011 11:02:28 +0000 (11:02 +0000)]
emotion: fix off by one.
SVN revision: 61039
Carsten Haitzler [Tue, 5 Jul 2011 09:54:57 +0000 (09:54 +0000)]
actually handle -1 pointer return from shmat correctly. man. i cant
believe the code has checked for NULL all these years rather than -1!!
SVN revision: 61036
Carsten Haitzler [Tue, 5 Jul 2011 04:08:01 +0000 (04:08 +0000)]
diable fix_hz - little need for that these days. i almost forgot that
this existed!
SVN revision: 61030
Mike McCormack [Tue, 5 Jul 2011 02:32:07 +0000 (02:32 +0000)]
ecore: Sleep at least until the next timeout
The g_main_loop was spinning waiting for timers that were
almost ready. The spinning was due to waking up from
the g_main_loop too early, and then having nothing to do.
To solve this, round the timeout up to the nearest millisecond,
so that when the main loop wakes, the timer will definitely be
ready.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61028
Mike McCormack [Tue, 5 Jul 2011 02:31:58 +0000 (02:31 +0000)]
ecore: Remove excessively verbose logging
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61027
Hyoyoung Chang [Tue, 5 Jul 2011 01:33:59 +0000 (01:33 +0000)]
From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] evas - add checking event type
Dear developers.
I found a bug about evas event handling.
In some situation, evas blocks some events by checking _evas_event_counter.
So I made a patch that is checking event type also event counter.
Reproduce steps:
1. make a window
2. show window before adding a elementary/genlist widget
--- codes ---
void _gl_mousedown_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
{
printf("_gl_mousedown_cb !! \n");
}
static Eina_Bool create_main_win(App *app)
{
app->win = elm_win_add(NULL, "genlist-win", ELM_WIN_BASIC);
evas_object_show(app->win); <-- position 1
Evas_Object *genlist = elm_genlist_add(app->win);
elm_win_resize_object_add(app->win, genlist);
evas_object_event_callback_add(genlist, EVAS_CALLBACK_MOUSE_DOWN, _gl_mousedown_cb, NULL);
evas_object_show(genlist);
evas_object_resize(app->win, 320, 240);
//evas_object_show(app->win); <-- position 2
return EINA_TRUE;
}
--- codes ---
In common use case, apps don't show main window at position 1.
However to reproduce, it can be at position 1. Then, focus is at just on main window.
In that situation, if a user clicks a genlist, its event is dropped by evas.
Because in mouse down callback, it give focus to genlist.
Then two events is made. First is mouse down, second is focus handling.
In event callback, evas processes mouse down after focus handling.
But evas found that mouse event is retarded event than focus handling.
So it ignores it.
This patch is introduce event handling type checking to
evas_object_event_callback_call.
SVN revision: 61026
Mike Blumenkrantz [Tue, 5 Jul 2011 00:06:27 +0000 (00:06 +0000)]
unify more event handling, fix a little formatting
SVN revision: 61025
Gustavo Lima Chaves [Mon, 4 Jul 2011 20:37:16 +0000 (20:37 +0000)]
[evas] cedric, stop influencing me to break builds.
SVN revision: 61022
Rafael Antognolli [Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)]
ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
SVN revision: 61021
Jonas M. Gastal [Mon, 4 Jul 2011 19:48:01 +0000 (19:48 +0000)]
Eina: Spelling fixes and using smaller size for hash image.
SVN revision: 61018
Rafael Antognolli [Mon, 4 Jul 2011 18:31:23 +0000 (18:31 +0000)]
ecore/fd_handler - Add detailed description to this group.
SVN revision: 61016
Rafael Antognolli [Mon, 4 Jul 2011 18:31:13 +0000 (18:31 +0000)]
ecore/events - add detailed description to this group.
SVN revision: 61015
Rafael Antognolli [Mon, 4 Jul 2011 18:31:02 +0000 (18:31 +0000)]
ecore - add and fix links to examples on each module description.
SVN revision: 61014
Jonas M. Gastal [Mon, 4 Jul 2011 17:18:30 +0000 (17:18 +0000)]
Eina: Adding link to example in eina_str documentation.
SVN revision: 61013
Gustavo Lima Chaves [Mon, 4 Jul 2011 16:23:12 +0000 (16:23 +0000)]
[evas] Documenting and exemplifying the following:
- evas_object_text_add
- evas_object_text_font_get
- evas_object_text_font_set
- evas_object_text_font_source_get
- evas_object_text_font_source_set
- evas_object_text_glow2_color_get
- evas_object_text_glow2_color_set
- evas_object_text_glow_color_get
- evas_object_text_glow_color_set
- evas_object_text_outline_color_get
- evas_object_text_outline_color_set
- evas_object_text_shadow_color_get
- evas_object_text_shadow_color_set
- evas_object_text_style_get
- evas_object_text_style_set
- evas_object_text_text_get
- evas_object_text_text_set
SVN revision: 61012
Gustavo Lima Chaves [Mon, 4 Jul 2011 16:23:00 +0000 (16:23 +0000)]
[evas] Allowing one to build examples by hand.
SVN revision: 61011
Iván Briano [Mon, 4 Jul 2011 15:22:53 +0000 (15:22 +0000)]
Evas Map, little clarifications and an overview example
SVN revision: 61010
Rafael Antognolli [Mon, 4 Jul 2011 14:42:56 +0000 (14:42 +0000)]
emotion/doc - add a link in the main page to the API reference.
SVN revision: 61009
Rafael Antognolli [Mon, 4 Jul 2011 14:31:01 +0000 (14:31 +0000)]
emotion - better introduction and link to emotion_test.
SVN revision: 61008
Rafael Antognolli [Mon, 4 Jul 2011 14:30:54 +0000 (14:30 +0000)]
emotion/example - basic usage of emotion commented.
SVN revision: 61007
Carsten Haitzler [Mon, 4 Jul 2011 09:59:49 +0000 (09:59 +0000)]
and also enable mmap safety here
SVN revision: 60984
Carsten Haitzler [Mon, 4 Jul 2011 09:44:11 +0000 (09:44 +0000)]
use eina mmap safety.
SVN revision: 60982
Carsten Haitzler [Mon, 4 Jul 2011 09:36:07 +0000 (09:36 +0000)]
enable mmap safety in eet.
SVN revision: 60979
Carsten Haitzler [Mon, 4 Jul 2011 09:35:39 +0000 (09:35 +0000)]
enable mmap safety in efreet.
SVN revision: 60978
Carsten Haitzler [Mon, 4 Jul 2011 09:35:17 +0000 (09:35 +0000)]
and include eina_mmap.h in Eina.h <- forgot
SVN revision: 60977
Carsten Haitzler [Mon, 4 Jul 2011 09:29:59 +0000 (09:29 +0000)]
add eina mmap safety handling.
SVN revision: 60976
Mike Blumenkrantz [Mon, 4 Jul 2011 03:50:37 +0000 (03:50 +0000)]
fix some segvs in eet_node
SVN revision: 60958
Mike Blumenkrantz [Mon, 4 Jul 2011 03:47:03 +0000 (03:47 +0000)]
add a bunch of functions for manipulating eet_node structs
SVN revision: 60957
Mike Blumenkrantz [Sun, 3 Jul 2011 17:58:57 +0000 (17:58 +0000)]
<arrowdodger> Patch to unbreak eio build on systems without xattr: intara.org.ru/eio.diff
SVN revision: 60955
Cedric BAIL [Sat, 2 Jul 2011 11:06:52 +0000 (11:06 +0000)]
eio: morning speedup, pack feedback together to reduce context switch.
SVN revision: 60935
Jonas M. Gastal [Fri, 1 Jul 2011 17:13:17 +0000 (17:13 +0000)]
Emotion: making emotion_object_play_set doc appear.
SVN revision: 60923
Gustavo Lima Chaves [Fri, 1 Jul 2011 16:19:27 +0000 (16:19 +0000)]
[evas] Documentation fixes.
SVN revision: 60922
Gustavo Lima Chaves [Fri, 1 Jul 2011 16:19:15 +0000 (16:19 +0000)]
[evas] Documenting the following:
- evas_object_image_load_dpi_get
- evas_object_image_load_dpi_set
- evas_object_image_load_error_get
- evas_object_image_load_region_get
- evas_object_image_load_region_set
- evas_object_image_load_scale_down_get
- evas_object_image_load_scale_down_set
- evas_object_image_load_size_get
- evas_object_image_load_size_set
SVN revision: 60921
Rafael Antognolli [Fri, 1 Jul 2011 14:08:29 +0000 (14:08 +0000)]
emotion/doc - Document more functions
- emotion_object_size_get
- emotion_object_smooth_scale_set
- emotion_object_smooth_scale_get
- emotion_object_ratio_get
- emotion_object_video_mute_set
- emotion_object_video_mute_get
- emotion_object_title_get
- emotion_object_meta_info_get
- emotion_object_vis_set
- emotion_object_vis_get
- emotion_object_vis_supported
SVN revision: 60919
Gustavo Lima Chaves [Fri, 1 Jul 2011 13:51:44 +0000 (13:51 +0000)]
[evas] Documenting the following.
- evas_object_image_content_hint_get
- evas_object_image_content_hint_set
- evas_object_image_data_copy_set
- evas_object_image_data_get
- evas_object_image_data_set
- evas_object_image_data_update_add
SVN revision: 60918
Jonas M. Gastal [Fri, 1 Jul 2011 13:46:25 +0000 (13:46 +0000)]
Emotion: signals documentation.
SVN revision: 60917
ChunEon Park [Fri, 1 Jul 2011 11:43:50 +0000 (11:43 +0000)]
evas/evas_map - removed white trailings.
SVN revision: 60916
ChunEon Park [Fri, 1 Jul 2011 11:32:21 +0000 (11:32 +0000)]
evas/main.c - removed useless lines.
SVN revision: 60915
ChunEon Park [Fri, 1 Jul 2011 11:30:17 +0000 (11:30 +0000)]
evas/evas_map - added workaround code for avoid afterimage problem temporary.
Since the last frame is not updated when map is disabled,
Afterimage problem is happened in s/w rendering.
Need to find out the fundanmental reason then fix it.
SVN revision: 60914
ChunEon Park [Fri, 1 Jul 2011 10:58:58 +0000 (10:58 +0000)]
evas/evas_map - reverted the work around code.
SVN revision: 60913
Cedric BAIL [Fri, 1 Jul 2011 08:57:54 +0000 (08:57 +0000)]
emotion: add empty infrastructure for suspending the pipeline.
SVN revision: 60909
ChunEon Park [Fri, 1 Jul 2011 04:35:26 +0000 (04:35 +0000)]
evas/evas_map - fixed workaround code more properly.
SVN revision: 60906
Iván Briano [Fri, 1 Jul 2011 02:02:02 +0000 (02:02 +0000)]
Not so unused
SVN revision: 60904
ChunEon Park [Fri, 1 Jul 2011 01:10:32 +0000 (01:10 +0000)]
evas/evas_map - added workaround code to remove afterimage problem.
Sine the last frame is not updated when map is disabled,
Afterimage problem is happened in software rendering.
Need to find out the reason in the rendering engine then fix it.
However, it's hard to fix the problem now, added a just workaround code temporary.
This problem will be fixed later or be removed when the rendering engine is refactored completely.
SVN revision: 60901
Carsten Haitzler [Fri, 1 Jul 2011 00:04:06 +0000 (00:04 +0000)]
Fix epoll delete fd handling in child process - #796
SVN revision: 60895
Gustavo Lima Chaves [Thu, 30 Jun 2011 21:55:16 +0000 (21:55 +0000)]
[evas] Documenting the following:
- evas_object_image_preload
- evas_object_image_reload
- evas_object_image_save
- evas_object_image_scale_hint_get
- evas_object_image_scale_hint_set
- evas_object_image_size_get
- evas_object_image_size_set
SVN revision: 60889
Jonas M. Gastal [Thu, 30 Jun 2011 21:38:44 +0000 (21:38 +0000)]
Emotion: emotion play control functions documentation.
SVN revision: 60888
Gustavo Lima Chaves [Thu, 30 Jun 2011 21:29:02 +0000 (21:29 +0000)]
[evas] Documenting/exemplifying the following:
- evas_object_image_smooth_scale_get
- evas_object_image_smooth_scale_set
- evas_object_image_source_get
- evas_object_image_source_set
- evas_object_image_source_unset
- evas_object_image_stride_get
SVN revision: 60887
Rafael Antognolli [Thu, 30 Jun 2011 20:02:12 +0000 (20:02 +0000)]
emotion/doc - Document some audio functions.
- emotion_object_audio_volume_set
- emotion_object_audio_volume_get
- emotion_object_audio_mute_set
- emotion_object_audio_mute_get
SVN revision: 60884
Rafael Antognolli [Thu, 30 Jun 2011 18:31:39 +0000 (18:31 +0000)]
emotion/doc - documented the initialization functions.
SVN revision: 60880
Rafael Antognolli [Thu, 30 Jun 2011 18:31:36 +0000 (18:31 +0000)]
emotion/doc - Give a brief description of the library in the front page.
SVN revision: 60879
Jonas M. Gastal [Thu, 30 Jun 2011 18:10:30 +0000 (18:10 +0000)]
Ecore: ecore_pipe documentation.
SVN revision: 60878
Cedric BAIL [Thu, 30 Jun 2011 09:49:24 +0000 (09:49 +0000)]
emotion: cleanup emotion async loader on file set.
SVN revision: 60869
Mike Blumenkrantz [Thu, 30 Jun 2011 08:15:42 +0000 (08:15 +0000)]
create mount point directory if it doesn't exist
SVN revision: 60866
Mike Blumenkrantz [Thu, 30 Jun 2011 06:49:54 +0000 (06:49 +0000)]
shuffle signal handler setup and remove job, fix startup file check
SVN revision: 60864
WooHyun Jung [Thu, 30 Jun 2011 05:31:08 +0000 (05:31 +0000)]
edje : Password's last char show feature supported. This patch is made
by Shilpa.
SVN revision: 60858
Mike Blumenkrantz [Thu, 30 Jun 2011 03:57:49 +0000 (03:57 +0000)]
add signal handlers
SVN revision: 60857
Mike Blumenkrantz [Thu, 30 Jun 2011 03:57:47 +0000 (03:57 +0000)]
make eeze_scanner suid
SVN revision: 60856
Gustavo Lima Chaves [Wed, 29 Jun 2011 21:06:36 +0000 (21:06 +0000)]
[evas] Documenting the following image functions:
- evas_object_image_alpha_get
- evas_object_image_alpha_set
- evas_object_image_border_center_fill_get
- evas_object_image_border_center_fill_set
- evas_object_image_border_get
- evas_object_image_border_scale_get
- evas_object_image_border_scale_set
- evas_object_image_border_set
SVN revision: 60844
Rafael Antognolli [Wed, 29 Jun 2011 20:26:15 +0000 (20:26 +0000)]
emotion/doc - Use the same doc style from the other libraries.
Copied css, header, footer and images from ecore.
SVN revision: 60840
Rafael Antognolli [Wed, 29 Jun 2011 20:13:37 +0000 (20:13 +0000)]
emotion/doc - doc build now uses the build system, instead gendoc.
SVN revision: 60839
Mike Blumenkrantz [Wed, 29 Jun 2011 19:54:39 +0000 (19:54 +0000)]
whoops, forgot to actually add the scanner last time
SVN revision: 60838
Mike Blumenkrantz [Wed, 29 Jun 2011 19:53:11 +0000 (19:53 +0000)]
sync disk find/watch qualifiers
SVN revision: 60836
Christopher Michael [Wed, 29 Jun 2011 19:40:20 +0000 (19:40 +0000)]
Ecore: Ecore_X: Add missing EAPI for ecore_x_dnd_source_action_get
function.
SVN revision: 60834
Mike Blumenkrantz [Wed, 29 Jun 2011 18:53:40 +0000 (18:53 +0000)]
eeze_scanner seems to finally be complete, have at it
SVN revision: 60833
Mike Blumenkrantz [Wed, 29 Jun 2011 18:53:38 +0000 (18:53 +0000)]
fix some segvs and drive detection
SVN revision: 60832
Rafael Antognolli [Wed, 29 Jun 2011 18:15:36 +0000 (18:15 +0000)]
ecore/timer - Document ecore_timer_freeze and ecore_timer_thaw.
SVN revision: 60830
Rafael Antognolli [Wed, 29 Jun 2011 18:07:34 +0000 (18:07 +0000)]
ecore/poller - Add a poller example and its explanation.
SVN revision: 60829
Rafael Antognolli [Wed, 29 Jun 2011 18:07:23 +0000 (18:07 +0000)]
ecore/time - Rename example to avoid mismatch.
SVN revision: 60828
Rafael Antognolli [Wed, 29 Jun 2011 18:07:08 +0000 (18:07 +0000)]
ecore/timer - Add a commented example.
SVN revision: 60827
Cedric BAIL [Wed, 29 Jun 2011 17:45:13 +0000 (17:45 +0000)]
emotion: add some help to debug the pipeline.
SVN revision: 60826
Cedric BAIL [Wed, 29 Jun 2011 17:30:19 +0000 (17:30 +0000)]
emotion: restore/save last know position for file.
SVN revision: 60825
Cedric BAIL [Wed, 29 Jun 2011 17:28:55 +0000 (17:28 +0000)]
eio: more xattr support.
SVN revision: 60824
Gustavo Lima Chaves [Wed, 29 Jun 2011 14:46:29 +0000 (14:46 +0000)]
[evas] Unbork examples, sorry.
SVN revision: 60821
Cedric BAIL [Wed, 29 Jun 2011 14:16:41 +0000 (14:16 +0000)]
eio: forgotten Eio.h decl.
SVN revision: 60820
Cedric BAIL [Wed, 29 Jun 2011 13:58:42 +0000 (13:58 +0000)]
emotion: use stringshare for file.
SVN revision: 60818
Gustavo Lima Chaves [Wed, 29 Jun 2011 13:25:58 +0000 (13:25 +0000)]
[evas] Documantation and examples on this group of
functions:
- evas_object_image_add
- evas_object_image_file_get
- evas_object_image_file_set
- evas_object_image_filled_add
- evas_object_image_filled_get
- evas_object_image_filled_set
- evas_object_image_fill_get
- evas_object_image_fill_set
SVN revision: 60817
Cedric BAIL [Wed, 29 Jun 2011 08:24:13 +0000 (08:24 +0000)]
ecore: forgotten eina_threads_init/shutdown.
SVN revision: 60801
Tom Hacohen [Wed, 29 Jun 2011 05:05:35 +0000 (05:05 +0000)]
Evas events: Fix issues with mouse_in/out caused by previous commit.
SVN revision: 60793
Tom Hacohen [Wed, 29 Jun 2011 05:05:32 +0000 (05:05 +0000)]
Evas events: Re-apply commits 60787,60788.
SVN revision: 60792
Carsten Haitzler [Wed, 29 Jun 2011 03:14:57 +0000 (03:14 +0000)]
REVERT commits 60787 and 60788 by tasn. BORK mouse in/out (e17 menus)
SVN revision: 60790
Iván Briano [Wed, 29 Jun 2011 02:32:37 +0000 (02:32 +0000)]
It doesn't look like this matters, so let's fix the build.
And if it does matter, I hope it breaks something from cedric. One femur, for example. Or both.
SVN revision: 60789
Tom Hacohen [Wed, 29 Jun 2011 02:03:33 +0000 (02:03 +0000)]
Evas events: Fixed more issues with pointer grabbing.
We want to free the grab even if mouse up happened outside of the
object's region (that's the whole point of grabbing...). Also, we don't
want to update the grabbed list anywhere but in mouse down.
SVN revision: 60788