Commit Graph

14095 Commits

Author SHA1 Message Date
Jihoon Kim fe041aca5f From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add ecore_imf_context_cursor_location_set API

In this patch, it will add ecore_imf_context_cursor_location_set API in
Ecore_IMF.

The cursor location can be used to determine the position of candidate
word window in immodule.



SVN revision: 61105
2011-07-07 06:23:46 +00:00
Daniel Juyung Seo 72bcec17b9 edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.


SVN revision: 61104
2011-07-07 04:58:34 +00:00
Bruno Dilly 8c90fc2072 Ecore File Download: don't mess with Ecore_Con event status
For some reason it was passing !ev->status instead of ev->status
to completion_cb, so all the information that should be provided
(200, 400 or 404 error, ...) was becoming 0.


SVN revision: 61099
2011-07-06 20:56:55 +00:00
Gustavo Lima Chaves 153c7394df [evas] Just explaining more the main top function blocks the
main doc. page points to.
The rest is just a proof read check on the main section.



SVN revision: 61098
2011-07-06 19:41:31 +00:00
Nicolas Aguirre 32d38b1a61 Eet : correction for make distcheck
SVN revision: 61097
2011-07-06 19:23:21 +00:00
Gustavo Lima Chaves c56c7c8b89 [evas] Documenting/exemplifying the following:
- evas_object_smart_type_check
 - evas_object_smart_type_check_ptr
 - evas_object_static_clip_get
 - evas_object_static_clip_set
 - evas_smart_class_get
 - evas_smart_class_new
 - evas_smart_data_get
 - evas_smart_free
 - evas_smart_objects_calculate



SVN revision: 61096
2011-07-06 18:46:58 +00:00
Iván Briano 693af50513 Expand Ecore_Thread docs.
Thanks cedric for technical advice.
Thanks discomfitor for helping when English vanished.
Thanks myself for keeping both of them busy so they don't break SVN *too* much.


SVN revision: 61095
2011-07-06 18:08:21 +00:00
Rafael Antognolli 0dd5077566 eina/hash - Add examples to list and fix doc of some functions.
SVN revision: 61094
2011-07-06 18:01:42 +00:00
Rafael Antognolli 948cdf95f1 eina/hash - Add example that demonstrate many ways of deleting items.
SVN revision: 61093
2011-07-06 18:00:38 +00:00
Rafael Antognolli 9bb4278df8 eina/hash - Added examples that use different types of hash.
SVN revision: 61092
2011-07-06 17:59:58 +00:00
Rafael Antognolli eb7f4de17d eina/hash - improve performance comparison between different hashes.
For the hashes available for storing string keys, give a better
explanation about the difference of performance.

Also add to the documentation that the data_free_cb will be called when
when items are deleted from the hash table, not only on the hash table
free.



SVN revision: 61091
2011-07-06 17:58:41 +00:00
Jonas M. Gastal d8d3e290be Eina: Improving eina_accessor documentation.
SVN revision: 61089
2011-07-06 14:50:46 +00:00
Jonas M. Gastal 6b3b2c15b5 Eina: Improvements to eina_list's documentation.
SVN revision: 61088
2011-07-06 14:50:33 +00:00
Jonas M. Gastal 0705400fbf Eina: Improvement to eina_iterator's documentation.
SVN revision: 61087
2011-07-06 14:50:12 +00:00
Jonas M. Gastal aef23ad7ef Eina: Improvements to eina_array's documentation.
SVN revision: 61086
2011-07-06 14:49:44 +00:00
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
Mike McCormack c94a9eff7f 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
2011-07-06 10:54:30 +00:00
Mike McCormack 829571df27 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
2011-07-06 10:54:20 +00:00
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