Commit Graph

4329 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 28429a6888 [evas] typos
SVN revision: 61085
2011-07-06 13:53:19 +00:00
Gustavo Lima Chaves 2cca9c6485 [evas] Documenting/exemplifying the following:
- evas_object_smart_member_add
 - evas_object_smart_member_del
 - evas_object_smart_members_get
 - evas_object_smart_move_children_relative
 - evas_object_smart_need_recalculate_get
 - evas_object_smart_need_recalculate_set
 - evas_object_smart_parent_get
 - evas_object_smart_smart_get



SVN revision: 61084
2011-07-06 13:52:47 +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
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
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
Gustavo Lima Chaves a90ffde10c [evas] cedric, stop influencing me to break builds.
SVN revision: 61022
2011-07-04 20:37:16 +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
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
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
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
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
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
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
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
Gustavo Lima Chaves f9e31be489 [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
2011-06-29 21:06:36 +00:00
Gustavo Lima Chaves b24e04ac82 [evas] Unbork examples, sorry.
SVN revision: 60821
2011-06-29 14:46:29 +00:00
Gustavo Lima Chaves 83711f3d95 [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
2011-06-29 13:25:58 +00:00
Tom Hacohen 5a88f63381 Evas events: Fix issues with mouse_in/out caused by previous commit.
SVN revision: 60793
2011-06-29 05:05:35 +00:00
Tom Hacohen 3287d97442 Evas events: Re-apply commits 60787,60788.
SVN revision: 60792
2011-06-29 05:05:32 +00:00
Carsten Haitzler 99475ecdf3 REVERT commits 60787 and 60788 by tasn. BORK mouse in/out (e17 menus)
SVN revision: 60790
2011-06-29 03:14:57 +00:00
Tom Hacohen 5182b1d519 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
2011-06-29 02:03:33 +00:00
Tom Hacohen 067053b970 Evas events: Fix 1 more issue with pointer grabbing.
We only need to change the list of grabbed objects if we are initiating
a new grab, and not if are already in a grab because of multi touch.

SVN revision: 60787
2011-06-29 02:03:25 +00:00
Jonas M. Gastal aad8c69071 Evas: document evas_object_rectangle.
SVN revision: 60772
2011-06-28 18:19:30 +00:00
Jonas M. Gastal c5518e7ece Evas: Fix latex doc generation.
SVN revision: 60771
2011-06-28 18:19:09 +00:00
Gustavo Lima Chaves 003ab96f81 [evas] Documenting more functions on Evas objects:
- evas_object_event_callback_add
     - evas_object_event_callback_del_full
     - evas_object_focus_get
     - evas_object_focus_set
     - evas_object_key_grab
     - evas_object_key_ungrab
     - evas_object_pass_events_get
     - evas_object_pass_events_set
     - evas_object_precise_is_inside_get
     - evas_object_precise_is_inside_set
     - evas_object_propagate_events_get
     - evas_object_propagate_events_set
     - evas_object_repeat_events_get
     - evas_object_repeat_events_set

    Examples on them also follow.



SVN revision: 60769
2011-06-28 17:43:44 +00:00
Cedric BAIL 2759f47524 evas: raise level of warning.
SVN revision: 60758
2011-06-28 14:26:22 +00:00
Tom Hacohen c357c362fb Evas textblock: Yet another coord_set fix.
SVN revision: 60750
2011-06-28 08:27:26 +00:00
Tom Hacohen c81a71d18d Evas textblock: Fixed coord_set and line_coord set in a couple of cases.
SVN revision: 60749
2011-06-28 08:13:45 +00:00
Carsten Haitzler 7e9a7c59df actually - we dont need to clear at all. rely on engine alpha
returning right value and let evas_render do it.



SVN revision: 60748
2011-06-28 08:11:07 +00:00
Tom Hacohen c69ba03da1 Evas: Updated changelog.
SVN revision: 60744
2011-06-28 02:10:36 +00:00
Tom Hacohen 7ead474aae Evas polygon: Hopefully this time really fix is_inside calculation.
SVN revision: 60743
2011-06-28 02:10:31 +00:00
Gustavo Lima Chaves 0198df7fd5 [evas] Examples and doc. revamping of stacking functions.
SVN revision: 60737
2011-06-27 16:04:51 +00:00
Carsten Haitzler 5e6d04feaf fix clear of gl buffer for alpha dest gl engine rendering
SVN revision: 60724
2011-06-27 08:35:59 +00:00
Tom Hacohen fa78e73f6b Evas polygon: Fix polygon is_inside calculation.
SVN revision: 60721
2011-06-27 05:31:07 +00:00
Tom Hacohen df97b91f09 Revert "bla" - Wasn't supposed to go in yet.
This reverts commit 60711.

SVN revision: 60713
2011-06-27 02:19:41 +00:00
Tom Hacohen e85f91b3a3 Evas polygon: Implement "is_inside" for polygons.
SVN revision: 60712
2011-06-27 02:18:34 +00:00