Commit Graph

14278 Commits

Author SHA1 Message Date
Tom Hacohen 6c67f54efb Evas tests: Added tests for evas_textblock_cursor_range_geometry_get.
SVN revision: 61249
2011-07-11 15:19:33 +00:00
Tom Hacohen 6d082b5da7 Evas: Move the HAVE_TESTS define to the m4 macro.
Thanks to vtorri for the spanking.

SVN revision: 61245
2011-07-11 14:39:53 +00:00
Tom Hacohen a425de556c Evas: Added HAVE_TESTS to config.h
This is set to 1 if tests are enabled.

SVN revision: 61244
2011-07-11 14:08:13 +00:00
Tom Hacohen 6465e886fe Evas tests: Added a test for evas_textblock_node_format_list_get.
SVN revision: 61243
2011-07-11 13:55:53 +00:00
Tom Hacohen 40d8a3a433 Evas tests: Added tests to evas_textblock_node_format_remove_pair.
SVN revision: 61242
2011-07-11 13:55:48 +00:00
Tom Hacohen 9924c133c1 Evas tests: Add another textblock test.
SVN revision: 61240
2011-07-11 13:39:46 +00:00
Tom Hacohen 78d304e37f Evas tests: Improved textblock tests.
SVN revision: 61239
2011-07-11 12:30:18 +00:00
Tom Hacohen 5c0443cf79 Evas textblock: Removed useless function.
SVN revision: 61238
2011-07-11 12:30:15 +00:00
Tom Hacohen 30ed908c18 Evas tests: Added various text and textblock tests.
SVN revision: 61237
2011-07-11 12:30:09 +00:00
Tom Hacohen 697f8eb592 Evas tests: Added more textblock tests, including one to verify my last fix.
SVN revision: 61236
2011-07-11 11:20:45 +00:00
Tom Hacohen 7c14357161 Evas textblock: Fixed an issue with string_escaped_get.
SVN revision: 61235
2011-07-11 11:20:42 +00:00
Tom Hacohen 4ef7602216 Evas textblock: Fixed an error in docs.
SVN revision: 61234
2011-07-11 11:20:37 +00:00
Tom Hacohen f046b06c23 Evas tests: Added more textblock tests, including one to verify my last fix.
SVN revision: 61233
2011-07-11 08:56:19 +00:00
Tom Hacohen e01d587617 Evas textblock: Fixed evas_textblock_cursor_format_prev.
SVN revision: 61232
2011-07-11 08:56:17 +00:00
Tom Hacohen 8fe3776f8a Evas textblock: Deprecated evas_textblock_cursor_set_at_format.
This was a duplicate of evas_textblock_cursor_at_format_set.
The only difference is the name, and this one doesn't conform to the naming
conventions.

SVN revision: 61231
2011-07-11 08:56:13 +00:00
Tom Hacohen 06a85ddbdf Evas textblock: Fixed a confusing parameter name.
SVN revision: 61230
2011-07-11 08:56:10 +00:00
Tom Hacohen 1504fdb4a7 Evas tests: Added more textblock tests, including a test for the last fix.
SVN revision: 61228
2011-07-11 07:23:18 +00:00
Tom Hacohen 181eda995a Evas textblock: Hopefully eliminate all issues with uninit cursors.
SVN revision: 61227
2011-07-11 07:23:12 +00:00
ChunEon Park 6852dc4971 evas/evas_engine - patched by Seung-Soo Woo.
Dear all,

There is a below issue.

Problem : Evas gl engine call eglWaitNative() and eglWaitGL() before/after eglSwapBuffers().
The sync APIs are not call only in case of SGX_DDK.
Resolution : It is necessary to check MALI string too.

So, I fixed it.
Please find enclosed file.

Thanks.



SVN revision: 61226
2011-07-11 06:29:20 +00:00
Mike McCormack 4ff69d688c ecore: Fix logic bug in g_main_loop
Want to use timerfd if either seconds or nanoseconds is non-zero.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61224
2011-07-11 02:51:37 +00:00
Jiyoun Park 81098de5a6 evas: fix _evas_jpeg_membuf_src_skip bug
If file was corrupted , the size value of app frame is bigger than real file
size.

For example, if somebody change file using editor, the file start with (FF
D8 FF E0 FF DB ..).

But real file size can be small than (FF DB).

In that case, _evas_jpeg_membuf_src_skip set src->pub.bytes_in_buffer to
negative value, it make crash later.

Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>

SVN revision: 61222
2011-07-11 02:29:16 +00:00
Mike McCormack 3b5050421b ecore: Ignore new binary ecore_test
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 61218
2011-07-11 01:21:59 +00:00
Mike McCormack ebe85185b8 ecore: Comment missing example
This is causing problems for autogen.sh

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 61217
2011-07-11 01:21:49 +00:00
Tom Hacohen f24a0f896e Evas tests: Added a bunch of text object tests.
SVN revision: 61213
2011-07-10 14:58:37 +00:00
Tom Hacohen 0db401e003 Evas: Updated .gitignore.
SVN revision: 61212
2011-07-10 14:23:50 +00:00
Tom Hacohen c9227dc271 Evas tests: Added a basic evas_objet_text test.
SVN revision: 61211
2011-07-10 14:23:47 +00:00
Tom Hacohen 0a1773ef31 Evas tests: Added some more textblock tests.
SVN revision: 61210
2011-07-10 14:23:43 +00:00
Tom Hacohen bcae70565d Evas tests: Added a lot more textblock tests.
Some verify the fixes I just committed, some are just general tests.

SVN revision: 61208
2011-07-10 13:22:45 +00:00
Tom Hacohen 0aab125684 Evas textblock: Fixed evas_textblock_cursor_eol_get.
SVN revision: 61207
2011-07-10 13:22:42 +00:00
Tom Hacohen 9fe4504574 Evas textblock: Fixed cursor_paragraph_text_length_get.
SVN revision: 61206
2011-07-10 13:22:38 +00:00
Tom Hacohen d30603e37f Evas textblock: Fixed a bug in _paragraph_char_last with the last par.
SVN revision: 61205
2011-07-10 13:22:33 +00:00
Tom Hacohen b6fd1539e8 Evas tests: Added a test to verify the last issue I fixed.
SVN revision: 61204
2011-07-10 12:18:52 +00:00
Tom Hacohen ad79facc8a Evas textblock: Fixed returned position of "clean" cursors.
Issue reported by Shilpa.

SVN revision: 61203
2011-07-10 12:18:48 +00:00
Tom Hacohen b43f08436d Evas tests: Added textblock tests.
SVN revision: 61202
2011-07-10 12:18:45 +00:00
Tom Hacohen 70f9cf686f Evas textblock: textblock_cursor_get's return should not be const.
This does not break API as it's more permissive and behavior doesn't change.

SVN revision: 61201
2011-07-10 12:18:42 +00:00
David Walter Seikel fc1d772c79 Fix ancient typo, and make them all consistant.
Google tells me it's a fairly common miss spelling in USA, and a male singing group.



SVN revision: 61199
2011-07-10 12:02:53 +00:00
Christopher Michael 0869862e5e Evas: Fix building xcb backend as static.
SVN revision: 61178
2011-07-09 21:12:43 +00:00
Christopher Michael 246321e372 Evas: Remove 'double =' signs from configure --help output.
SVN revision: 61177
2011-07-09 20:34:32 +00:00
Iván Briano f42ff0e33c don't build ecore-evas when statically building software-x11
SVN revision: 61176
2011-07-09 18:34:13 +00:00
Iván Briano 4dbecee5e9 keep'em consistent
SVN revision: 61175
2011-07-09 18:19:23 +00:00
Christopher Michael 62078f2372 Evas: Add ability to detect if opengl is built w/ xlib or xcb backend.
SVN revision: 61172
2011-07-09 14:26:46 +00:00
Christopher Michael 2148b1d2f6 Evas: Remove dependency on xcb-aux and add code to find the visual
based on id, as we were only using one function from there.



SVN revision: 61171
2011-07-09 13:48:39 +00:00
Vincent Torri 090ab4805c Eina : lock (win32) : fix compilation
cedric, can you confirm me that

-             LeaveCriticalSection(&mutex->cond_read->threads_count_lock);
...
+             LeaveCriticalSection(&mutex->cond_read.waiters_count_lock);

is correct ?



SVN revision: 61170
2011-07-09 10:20:02 +00:00
Iván Briano efc2f2e1f0 Follow portability advice from Master vtorri.
SVN revision: 61168
2011-07-09 03:04:13 +00:00
Vincent Torri e9518f1521 Add unit tests + coverage support to evas, for Tasn.
unit tests : make check
coverage   : make coverage


SVN revision: 61167
2011-07-09 02:59:24 +00:00
Vincent Torri 049ee49bc9 fix maintainer-clean rule
SVN revision: 61166
2011-07-09 02:57:27 +00:00
Iván Briano 541012930b Fix building gl_xlib as a static module
SVN revision: 61164
2011-07-09 01:47:01 +00:00
Iván Briano 0e0ab628c7 Don't try to build examples if dependencies are not met.
SVN revision: 61163
2011-07-09 01:20:18 +00:00
Rafael Antognolli 0a61ad17b6 ecore/ecore_con - add more reference doc to some functions.
Also add description to the examples.



SVN revision: 61161
2011-07-08 18:06:19 +00:00
Rafael Antognolli 8c3c7f0dac ecore/ecore_con - Add simple examples of ecore_con_url usage.
SVN revision: 61160
2011-07-08 18:06:12 +00:00
Rafael Antognolli 3f02227826 ecore/ecore_con - Move documentation from .c to .h.
This only affects ecore_con_url_* for now.
Also add docs to the structures used by ecore_con_url, and move them to
the Ecore_Con_Url_Group.



SVN revision: 61159
2011-07-08 18:06:04 +00:00
Gustavo Lima Chaves ebe741dbba [evas] Documenting/exemplifying the following:
- evas_object_smart_callback_add
 - evas_object_smart_callback_call
 - evas_object_smart_callback_del
 - evas_object_smart_callback_description_find
 - evas_object_smart_callbacks_descriptions_get
 - evas_object_smart_callbacks_descriptions_set



SVN revision: 61158
2011-07-08 16:54:00 +00:00
Daniel Juyung Seo ea1123d387 evas Evas.h/Evas_GL.h: Removed trailing whitespaces.
SVN revision: 61154
2011-07-08 12:15:25 +00:00
Mike McCormack f297fc260d ecore: Don't come out of idle because due to idlers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61152
2011-07-08 10:26:24 +00:00
Mike McCormack cd493ac0b3 ecore: Check signals in glib prepare only
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61151
2011-07-08 10:26:14 +00:00
Mike McCormack 22719d5107 ecore: Check for pending before entering g_main_loop
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61150
2011-07-08 08:07:40 +00:00
Mike McCormack c69221de26 ecore: Only check timers on zero time left
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61149
2011-07-08 08:07:29 +00:00
Mike McCormack cd5abb2b0f ecore: Fix unused variable warnings
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61147
2011-07-08 06:38:56 +00:00
Mike McCormack bb6ae3956e ecore: Build with -Wall -W by default
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61146
2011-07-08 06:38:47 +00:00
Mike McCormack 218b33a8c6 ecore: Add test for timers created from idlers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61145
2011-07-08 06:38:38 +00:00
Mike McCormack 07ecfa527a ecore: Add a main loop test
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61144
2011-07-08 06:38:28 +00:00
Mike McCormack 8b02e5b6ab ecore: Remove redundant if statement
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61143
2011-07-08 06:38:18 +00:00
Christopher Michael 88d1949180 Evas: Commit new XCB engine code for Evas.
NB: XCB Engine is currently disabled by default as it's not considered
'complete' yet and is of little use to users/devs at the moment
without the needed ecore_x & E changes.



SVN revision: 61139
2011-07-08 00:21:17 +00:00
Christopher Michael 5b771c43f5 Evas: Fix building of gl engine w/ new autofoo stuffs.
SVN revision: 61138
2011-07-08 00:19:06 +00:00
Christopher Michael 1ebf2090d8 Evas: Fix up the check_engine macros for xcb engine & xlib changes.
SVN revision: 61137
2011-07-08 00:18:22 +00:00
Christopher Michael a8d25e6c86 Evas: Fixup autofoo for compiling new xcb engine.
SVN revision: 61136
2011-07-08 00:17:52 +00:00
Christopher Michael 7b087dbb50 Evas: Add myself to authors.
SVN revision: 61135
2011-07-08 00:16:47 +00:00
Gustavo Lima Chaves 0a9e856c97 [evas] More love to image object's documentation group.
More diagrams also in.



SVN revision: 61133
2011-07-07 19:35:17 +00:00
Jonas M. Gastal 4b0536d424 Eina: Adding diagrams for eina list macros.
SVN revision: 61132
2011-07-07 19:26:47 +00:00
Jonas M. Gastal 54fb59c642 Ecore: Ecore_Animator example.
SVN revision: 61131
2011-07-07 18:57:10 +00:00
Jonas M. Gastal cb9c1403fc Ecore: Improved ecore_animator documentation.
SVN revision: 61130
2011-07-07 18:56:57 +00:00
Iván Briano a5b1673a70 Little errors no one cares about, but make thread-less case work as expected
SVN revision: 61129
2011-07-07 18:39:25 +00:00
Rafael Antognolli 5b21cc4aea ecore/ecore_con - If argument is EINA_FALSE, set the value to 0!
SVN revision: 61128
2011-07-07 18:34:20 +00:00
Rafael Antognolli 226b09c172 ecore/ecore_con - Set timer pointers to NULL when exiting them.
Otherwise this will lead to errors when some code does:
if (cl->until_deletion)
    ecore_timer_del(cl->until_deletion);



SVN revision: 61127
2011-07-07 18:18:53 +00:00
Cedric BAIL a0eddcab48 evas: update ChangeLog.
SVN revision: 61124
2011-07-07 15:25:27 +00:00
Cedric BAIL ecb025bdff evas: prevent infinite insertion of object during recalc stage.
SVN revision: 61123
2011-07-07 15:24:16 +00:00
Tom Hacohen ba9e8ca113 Evas events: Added evas_event_refeed_event.
Patch by Aharon Hillel.

SVN revision: 61117
2011-07-07 13:59:50 +00:00
Jihoon Kim 7221f62185 ecore-imf: Add APIs for virtual keyboard support
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 61114
2011-07-07 11:55:05 +00:00
Mike McCormack f7f762154e ecore: Remove unnecessary debugging output
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61112
2011-07-07 11:37:12 +00:00
Mike McCormack 39c049c8d1 ecore: Make sure signals break from the main loop
SVN revision: 61111
2011-07-07 11:37:02 +00:00
Mike McCormack 3c2f6cfbc9 ecore: Update translations
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61110
2011-07-07 10:11:26 +00:00
Mike McCormack 18193e9918 ecore: Fix thread check for quicklaunch
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61109
2011-07-07 10:11:13 +00:00
Carsten Haitzler 8ab4b4042e typo fix!
SVN revision: 61108
2011-07-07 09:37:55 +00:00
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
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