Tom Hacohen
22ed7e2e3b
Evas tests: Added text tests, including ones to verify my last fixes.
...
SVN revision: 61302
2011-07-12 15:04:13 +00:00
Tom Hacohen
85f116cc9e
Evas text: Fixed a bug with char_coords_get searching at the wrong x.
...
SVN revision: 61301
2011-07-12 15:04:10 +00:00
Tom Hacohen
d808ccdaab
Evas text: Fixed a bug in evas_object_text_char_pos_get - wrong X returned.
...
Happens when using multiple scripts in the same text object.
SVN revision: 61300
2011-07-12 15:04:07 +00:00
Tom Hacohen
b0a4063d6b
Evas text: Fixed mistake in comment.
...
SVN revision: 61299
2011-07-12 15:04:03 +00:00
Tom Hacohen
9871789a5e
Evas tests: Added various text object tests.
...
SVN revision: 61280
2011-07-12 11:40:28 +00:00
Tom Hacohen
a6d0247724
Evas bidi: Fixed typo DIRECTION_NATURAL -> DIRECTION_NEUTRAL.
...
Kept the old one just for not breaking ABI/API.
To all of you that are fast on the trigger, I set it to the same value,
so it doesn't matter that I inserted it at the start.
SVN revision: 61279
2011-07-12 11:40:25 +00:00
Tom Hacohen
6ae3ed79f1
Evas tests: Added textblock replacement char tests.
...
SVN revision: 61278
2011-07-12 11:40:22 +00:00
Tom Hacohen
53fb33ec2c
Evas tests: Also test EVAS_TEXTBLOCK_CURSOR_BEFORE cursor mode.
...
SVN revision: 61275
2011-07-12 09:12:20 +00:00
Tom Hacohen
5f488bb789
Evas tests: Added hinting change coverage to textblock.
...
SVN revision: 61274
2011-07-12 09:04:10 +00:00
Tom Hacohen
3b917c52a7
Evas tests: Added various text wrapping + ellipsis tests.
...
SVN revision: 61273
2011-07-12 09:04:07 +00:00
Tom Hacohen
ebb8c6c2a3
Evas tests: More textblock style padding tests.
...
SVN revision: 61272
2011-07-12 09:04:04 +00:00
Tom Hacohen
c56ce3a747
Evas tests: Add more style tests to verify bug fixed in previous commit.
...
SVN revision: 61254
2011-07-11 16:39:48 +00:00
Tom Hacohen
9d6d6cedc9
Evas textblock: Fixed style padding calculation.
...
SVN revision: 61253
2011-07-11 16:39:45 +00:00
Tom Hacohen
e4dcb66095
Evas tests: Added a test to verify the last bug is fixed.
...
SVN revision: 61252
2011-07-11 15:56:51 +00:00
Tom Hacohen
b55c9032aa
Evas textblock: Fixed an issue with escaped-html-like chars.
...
SVN revision: 61251
2011-07-11 15:56:47 +00:00
Tom Hacohen
b9acb9687c
Evas tests: More textblock tests.
...
SVN revision: 61250
2011-07-11 15:27:53 +00:00
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
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
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
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
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
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
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
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
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
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
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
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