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
Jonas M. Gastal
538e2af886
Emotion: signals documentation.
...
SVN revision: 60917
2011-07-01 13:46:25 +00:00
ChunEon Park
4e0544d8d8
evas/evas_map - removed white trailings.
...
SVN revision: 60916
2011-07-01 11:43:50 +00:00
ChunEon Park
208593a07d
evas/main.c - removed useless lines.
...
SVN revision: 60915
2011-07-01 11:32:21 +00:00
ChunEon Park
01a9741c05
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
2011-07-01 11:30:17 +00:00
ChunEon Park
bda8d0b373
evas/evas_map - reverted the work around code.
...
SVN revision: 60913
2011-07-01 10:58:58 +00:00
Cedric BAIL
8578459813
emotion: add empty infrastructure for suspending the pipeline.
...
SVN revision: 60909
2011-07-01 08:57:54 +00:00
ChunEon Park
4d9ad50d67
evas/evas_map - fixed workaround code more properly.
...
SVN revision: 60906
2011-07-01 04:35:26 +00:00
Iván Briano
82bc5b8140
Not so unused
...
SVN revision: 60904
2011-07-01 02:02:02 +00:00
ChunEon Park
f568df5ad2
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
2011-07-01 01:10:32 +00:00
Carsten Haitzler
bf448752f4
Fix epoll delete fd handling in child process - #796
...
SVN revision: 60895
2011-07-01 00:04:06 +00:00
Gustavo Lima Chaves
d05c2ef3c2
[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
2011-06-30 21:55:16 +00:00
Jonas M. Gastal
4450930374
Emotion: emotion play control functions documentation.
...
SVN revision: 60888
2011-06-30 21:38:44 +00:00
Gustavo Lima Chaves
54a13c07c0
[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
2011-06-30 21:29:02 +00:00
Rafael Antognolli
4c434a15d3
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
2011-06-30 20:02:12 +00:00