Mike McCormack
0ddf5b9cab
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
2011-07-06 10:54:11 +00:00
Carsten Haitzler
f1b0e8d075
provide alpha set call for buffer canvas in ecore-evas. new feature
...
related to elm shot engine.
SVN revision: 61077
2011-07-06 10:21:16 +00:00
Carsten Haitzler
90d7dbddd4
Fix bug in in mouse grabs while frozen events are in place.
...
SVN revision: 61070
2011-07-06 08:43:18 +00:00
Tom Hacohen
a51b5660a2
Evas textblock: Fixed _cursor_char_coord_set with coords after the eol.
...
SVN revision: 61068
2011-07-06 07:32:23 +00:00
Tom Hacohen
3c6a42b04b
Evas textblock: Fixed weird cursor behavior with empty textblocks.
...
SVN revision: 61067
2011-07-06 07:32:14 +00:00
Daniel Juyung Seo
3b80b133bf
evas evas_map.c: Added warning messages to some codes. It has an
...
infinite loop issue.
SVN revision: 61066
2011-07-06 06:24:18 +00:00
Gustavo Lima Chaves
39c9b99fca
[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
2011-07-05 21:10:19 +00:00
Jonas M. Gastal
e5d5e438e8
Making evas doc work with IE8 and IE9(copied from ecore).
...
SVN revision: 61056
2011-07-05 16:36:50 +00:00
Jonas M. Gastal
750fa56716
Make eina docs work on IE8 and IE9.
...
SVN revision: 61055
2011-07-05 16:35:20 +00:00
Cedric BAIL
865761672e
emotion: fix race condition and never call fill_set in the backend.
...
SVN revision: 61051
2011-07-05 13:25:38 +00:00
Rafael Antognolli
4bd6379356
ecore/ecore_con - improved documentation and added example.
...
Just ecore_con_init, shutdown and lookup documented for now.
SVN revision: 61050
2011-07-05 13:09:57 +00:00
Sanjeev BA
d5208c6ed9
ecore: Minor changes to documentation of ecore_con_url_fd_set
...
Signed-off-By: Sanjeev BA <as2902.b@samsung.com>
SVN revision: 61043
2011-07-05 11:13:47 +00:00
Mike McCormack
2e00abb45f
ecore: Only dispatch if we have something to do
...
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61042
2011-07-05 11:13:39 +00:00
Mike McCormack
7b1d7bd4a0
ecore: Add basic thread checks
...
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61041
2011-07-05 11:13:29 +00:00
Mike McCormack
f7ec79e13e
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
2011-07-05 11:13:20 +00:00
Cedric BAIL
95b6992006
emotion: fix off by one.
...
SVN revision: 61039
2011-07-05 11:02:28 +00:00
Carsten Haitzler
2bff72b07a
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
2011-07-05 09:54:57 +00:00
Carsten Haitzler
f7c9b4fa43
diable fix_hz - little need for that these days. i almost forgot that
...
this existed!
SVN revision: 61030
2011-07-05 04:08:01 +00:00
Mike McCormack
a967e4f98a
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
2011-07-05 02:32:07 +00:00
Mike McCormack
d1691ffd70
ecore: Remove excessively verbose logging
...
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 61027
2011-07-05 02:31:58 +00:00
Hyoyoung Chang
24a3c5a092
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
2011-07-05 01:33:59 +00:00
Mike Blumenkrantz
58d3ee0924
unify more event handling, fix a little formatting
...
SVN revision: 61025
2011-07-05 00:06:27 +00:00
Gustavo Lima Chaves
a90ffde10c
[evas] cedric, stop influencing me to break builds.
...
SVN revision: 61022
2011-07-04 20:37:16 +00:00
Rafael Antognolli
60aa52189d
ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
...
SVN revision: 61021
2011-07-04 20:04:18 +00:00
Jonas M. Gastal
239864e32c
Eina: Spelling fixes and using smaller size for hash image.
...
SVN revision: 61018
2011-07-04 19:48:01 +00:00
Rafael Antognolli
923ee3f2b9
ecore/fd_handler - Add detailed description to this group.
...
SVN revision: 61016
2011-07-04 18:31:23 +00:00
Rafael Antognolli
2440b258ed
ecore/events - add detailed description to this group.
...
SVN revision: 61015
2011-07-04 18:31:13 +00:00
Rafael Antognolli
2cb63dce2a
ecore - add and fix links to examples on each module description.
...
SVN revision: 61014
2011-07-04 18:31:02 +00:00
Jonas M. Gastal
8bd2207fd7
Eina: Adding link to example in eina_str documentation.
...
SVN revision: 61013
2011-07-04 17:18:30 +00:00
Gustavo Lima Chaves
9777055551
[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
2011-07-04 16:23:12 +00:00
Gustavo Lima Chaves
436e94c46a
[evas] Allowing one to build examples by hand.
...
SVN revision: 61011
2011-07-04 16:23:00 +00:00
Iván Briano
c10661b430
Evas Map, little clarifications and an overview example
...
SVN revision: 61010
2011-07-04 15:22:53 +00:00
Rafael Antognolli
53d0a3fe82
emotion/doc - add a link in the main page to the API reference.
...
SVN revision: 61009
2011-07-04 14:42:56 +00:00
Rafael Antognolli
ffcf50987f
emotion - better introduction and link to emotion_test.
...
SVN revision: 61008
2011-07-04 14:31:01 +00:00
Rafael Antognolli
1d4852f11e
emotion/example - basic usage of emotion commented.
...
SVN revision: 61007
2011-07-04 14:30:54 +00:00
Carsten Haitzler
93519bd4c4
and also enable mmap safety here
...
SVN revision: 60984
2011-07-04 09:59:49 +00:00
Carsten Haitzler
17a27a3763
use eina mmap safety.
...
SVN revision: 60982
2011-07-04 09:44:11 +00:00
Carsten Haitzler
d151871a25
enable mmap safety in eet.
...
SVN revision: 60979
2011-07-04 09:36:07 +00:00
Carsten Haitzler
39a63149cf
enable mmap safety in efreet.
...
SVN revision: 60978
2011-07-04 09:35:39 +00:00
Carsten Haitzler
db6157d408
and include eina_mmap.h in Eina.h <- forgot
...
SVN revision: 60977
2011-07-04 09:35:17 +00:00
Carsten Haitzler
d926889559
add eina mmap safety handling.
...
SVN revision: 60976
2011-07-04 09:29:59 +00:00
Mike Blumenkrantz
015a2ca208
fix some segvs in eet_node
...
SVN revision: 60958
2011-07-04 03:50:37 +00:00
Mike Blumenkrantz
c4349599a3
add a bunch of functions for manipulating eet_node structs
...
SVN revision: 60957
2011-07-04 03:47:03 +00:00
Mike Blumenkrantz
fc64fb5a71
<arrowdodger> Patch to unbreak eio build on systems without xattr: http://intara.org.ru/eio.diff
...
SVN revision: 60955
2011-07-03 17:58:57 +00:00
Cedric BAIL
ceecea1f3e
eio: morning speedup, pack feedback together to reduce context switch.
...
SVN revision: 60935
2011-07-02 11:06:52 +00:00
Jonas M. Gastal
d640fdca1a
Emotion: making emotion_object_play_set doc appear.
...
SVN revision: 60923
2011-07-01 17:13:17 +00:00
Gustavo Lima Chaves
bab06d24bf
[evas] Documentation fixes.
...
SVN revision: 60922
2011-07-01 16:19:27 +00:00
Gustavo Lima Chaves
3a9f6766eb
[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
2011-07-01 16:19:15 +00:00
Rafael Antognolli
ab09c3a11e
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
2011-07-01 14:08:29 +00:00
Gustavo Lima Chaves
f6e14ae8bf
[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
2011-07-01 13:51:44 +00:00