Commit Graph

4043 Commits

Author SHA1 Message Date
Tom Hacohen a66ec744e9 Evas tests: Added some format removal tests.
SVN revision: 61502
2011-07-19 13:19:18 +00:00
Carsten Haitzler ca357bea50 fix pack_set of evas table (fix to added feature already in changelog)
SVN revision: 61501
2011-07-19 11:24:34 +00:00
Gustavo Lima Chaves f9737c3187 [evas] Fixing oopsies on text/image object docs.
Text needed an explanation and citation to the .c example and large
images explaining borders were prettyfied on html docs.



SVN revision: 61488
2011-07-18 21:45:14 +00:00
Iván Briano 094f06522a Images and more Map stuff
SVN revision: 61486
2011-07-18 21:06:56 +00:00
Tom Hacohen 50e197ecc0 Evas text: Fixed text_props_index_find and added props_cluster_next/prev.
SVN revision: 61469
2011-07-18 07:41:27 +00:00
Tom Hacohen c6a1f2caa1 Evas text: Made text_props_index_find faster.
SVN revision: 61468
2011-07-18 07:41:21 +00:00
ChunEon Park 5440167a6d evas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>
Dear all,

eng_image_stride_get() of gl backend get fault stride value.
In case of using dynamic image, it get from dyn.w*4.
But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in _pool_tex_dynamic_new().
dyn.stride can be changed according to DDK.
So, the stride needs to get from dyn.stride.

Please find enclosed file.

Thanks.



SVN revision: 61463
2011-07-18 05:32:06 +00:00
Tom Hacohen 1fdf2c67b5 Evas textblock: Adjusted textblock_item_text struct fields.
Removed the unused per-item baseline and changed inset to Evas_Coord.

SVN revision: 61443
2011-07-17 13:42:55 +00:00
Tom Hacohen 7f37b26856 Evas textblock: Fixed inline valign.
SVN revision: 61442
2011-07-17 13:42:51 +00:00
Tom Hacohen 12fa2337cc Evas tests: Enabled mixed wrap tests now that it's fixed.
SVN revision: 61441
2011-07-17 11:15:23 +00:00
Tom Hacohen 73a5f2277a Evas textblock: Fixed a bug in mixed wrapping mode.
SVN revision: 61440
2011-07-17 11:15:18 +00:00
Tom Hacohen 6898c688f2 Evas textblock: Fixed linegap.
SVN revision: 61438
2011-07-17 10:48:05 +00:00
Tom Hacohen 5501f844d3 Evas tests: Added a textblock test that emulates edje's min size calc.
Currently mixed wrapping is disabled, because something is wrong there,
but word and char work. This also tests the bugs fixed in previous commits.

SVN revision: 61437
2011-07-17 10:48:01 +00:00
Tom Hacohen 0af138b6ff Evas textblock: Fixed a bug in RELSIZE items size calculation.
SVN revision: 61436
2011-07-17 10:47:58 +00:00
Tom Hacohen c47d4bebd8 Evas text: Added _text_props_cluster_next.
Started using it in tb.

SVN revision: 61435
2011-07-17 10:47:54 +00:00
Tom Hacohen 4f9010d33d Evas textblock: Fixed an issue with item formats.
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.

SVN revision: 61434
2011-07-17 10:47:39 +00:00
Lucas De Marchi 1feec2b65e evas: fix common misppellings
Mispellings detected by codespell.



SVN revision: 61408
2011-07-15 14:37:49 +00:00
Gustavo Lima Chaves 8de348318f [evas] More diagrams on docs.
SVN revision: 61374
2011-07-14 15:11:36 +00:00
Tom Hacohen 6dc9a02f09 Evas tests: Fixed a textblock cursor test.
SVN revision: 61372
2011-07-14 14:38:41 +00:00
Tom Hacohen 4431349f56 Evas textblock: Removed useless code. We should never get there.
SVN revision: 61370
2011-07-14 14:25:46 +00:00
Tom Hacohen 8b59100774 Evas tests: Added more cursor tests, this time with bidi.
SVN revision: 61369
2011-07-14 14:25:42 +00:00
Tom Hacohen 00e8406b24 Evas textblock: Fixed cursor_coord_set with rtl/bidi in some cases.
Fix it when pressing beyond line boundaries.

SVN revision: 61368
2011-07-14 14:25:39 +00:00
Tom Hacohen 344a98d2a9 Evas textblock: Added a small fix to valign.
SVN revision: 61366
2011-07-14 12:47:17 +00:00
Tom Hacohen 77978d965a Evas textblock: Fixed an issue with in-line valign.
Thanks to SeoZ for the report.

SVN revision: 61365
2011-07-14 12:31:24 +00:00
Tom Hacohen b976ff8adf Evas tests: Added more textblock cursor tests.
Added a set of tests to verify my last fix.

SVN revision: 61363
2011-07-14 08:00:27 +00:00
Tom Hacohen 1128519838 Evas textblock: Fixed issue with char/line_coord_set with valign. #2.
After adding some tests, I found out that my previous fix was not enough.

SVN revision: 61362
2011-07-14 08:00:23 +00:00
Tom Hacohen 9615dc0226 Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.

SVN revision: 61361
2011-07-14 07:36:49 +00:00
Tom Hacohen 218042176b Evas textblock: Fixed issue with char/line_coord_set with valign.
SVN revision: 61360
2011-07-14 07:36:45 +00:00
Tom Hacohen 8b499b1984 Evas tests: Added textblock line_coord_set tests.
These also verifies the bug fix from my previous commit.

SVN revision: 61345
2011-07-13 15:16:41 +00:00
Tom Hacohen 70da0ccdbe Evas textblock: Fixed a bug in line_coord_set with y<0.
SVN revision: 61344
2011-07-13 15:16:38 +00:00
Tom Hacohen edf4d4ee86 Evas tests: Added a bit of line geometry tests.
SVN revision: 61343
2011-07-13 15:16:34 +00:00
Tom Hacohen e03f8274dc Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.

SVN revision: 61342
2011-07-13 14:35:15 +00:00
Tom Hacohen 3b71290152 Evas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
SVN revision: 61341
2011-07-13 14:35:12 +00:00
Tom Hacohen 94255cd511 Evas tests: Added a missing fail_if to a textblock test.
SVN revision: 61337
2011-07-13 13:56:40 +00:00
Tom Hacohen c4a1b9c53b Evas tests: Added textblock tests, including ones to verify my last fixes.
SVN revision: 61335
2011-07-13 12:49:33 +00:00
Tom Hacohen 6c48f6f881 Evas textblock: Fixed a bug with scaling items.
SVN revision: 61334
2011-07-13 12:49:29 +00:00
Tom Hacohen 3755bdac92 Evas tests: Make sure default bidi direction of empty texts is correct.
SVN revision: 61333
2011-07-13 11:36:34 +00:00
Tom Hacohen 69abe2e093 Evas: Stopped using the typo enum EVAS_BIDI_DIRECTION_NATURAL.
s/EVAS_BIDI_DIRECTION_NATURAL/EVAS_BIDI_DIRECTION_NEUTRAL/

SVN revision: 61332
2011-07-13 11:36:31 +00:00
Tom Hacohen 9da04fdce9 Evas tests: Added more bidi, script and other tests to text object.
SVN revision: 61331
2011-07-13 11:36:26 +00:00
Tom Hacohen 420d235bff Evas: Moved font functions from object_text.c to font_dir.c
Not the best place, but at least better than putting them in object_text.c

SVN revision: 61327
2011-07-13 08:54:49 +00:00
Tom Hacohen 9f2e58e6f0 Evas tests: Added last_up_to_pos tests to text object.
SVN revision: 61326
2011-07-13 08:54:17 +00:00
ChunEon Park cf4ed126c4 [E-devel] [Patch] evas_gl_shader patch for get_program_binary extension
from gl77.lee@samsung.com

Dear all,

I attached a patch of evas_gl_shader.

I've removed a comment which is creating dummy shader when using GL_OES_get_program_binary extension.
Mr. Haegeun Park who is in charge of GPU driver fixed get_program_binary bug in the SGX driver.
There's no need to create dummy shaders any longer.

And I've added link status checking code to validate the binary object.

Please review this patch.

Thanks.



SVN revision: 61309
2011-07-13 00:56:12 +00:00
Gustavo Lima Chaves 7a64f6312b [evas] Filling more gaps of image object docs.
SVN revision: 61304
2011-07-12 17:30:14 +00:00
Gustavo Lima Chaves 4a37443310 [evas] Text objects example tweaks.
SVN revision: 61303
2011-07-12 17:29:39 +00:00
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 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 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 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 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
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
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 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
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
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 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
Tom Hacohen a6948c292f bla
SVN revision: 60711
2011-06-27 02:18:31 +00:00
Tom Hacohen 584bb92495 Evas events: handle MOUSE_OUT stuff only if there's no mouse grab on.
ATTENTION: if you find any weird issues, please let me know. After testing
here, reading the code and discussing it with raster I decided to commit it,
but this is a very sensitive area. :P

SVN revision: 60651
2011-06-24 06:59:30 +00:00
Carsten Haitzler 5bff0873d1 multitouch grab fix.
SVN revision: 60650
2011-06-24 05:35:33 +00:00
Michael Jennings 1461fec9ec Assorted build and spec fixes.
SVN revision: 60624
2011-06-23 07:01:45 +00:00
Michael Jennings ebff48bf92 evas/autotools - Fix dist-check because of missing files in EXTRA_DIST.
Patch by: "Michael Jennings" <mej@kainx.org>



SVN revision: 60610
2011-06-22 22:38:05 +00:00
Christopher Michael af78dafc91 Evas: Pass 'make distcheck' for gl_common.
SVN revision: 60607
2011-06-22 20:32:43 +00:00
Gustavo Lima Chaves 2a93705baf [evas] More references to examples on doxygen groups.
SVN revision: 60531
2011-06-20 17:18:39 +00:00
Gustavo Lima Chaves 5fbf57272d [evas] Referencing examples on size hints doxygen group.
SVN revision: 60530
2011-06-20 17:00:44 +00:00
Carsten Haitzler 8ba3385505 typo--
SVN revision: 60519
2011-06-20 11:10:55 +00:00
Tom Hacohen c0ca25ea91 Evas font: Fix font run len calculation.
Co-fixed with MJ :P. Thanks a lot for your report + help.

SVN revision: 60508
2011-06-20 07:28:57 +00:00
Carsten Haitzler 36e2d698a4 free on success, not failure of pthread_join.
SVN revision: 60499
2011-06-20 06:44:37 +00:00
ChunEon Park 8302133e1b hermet - just changed my email address.
SVN revision: 60477
2011-06-18 16:16:28 +00:00
ChunEon Park a76601e123 evas_layer.c - fixed indenation and removed white spaces
SVN revision: 60472
2011-06-18 09:16:22 +00:00
ChunEon Park 8a6f620675 evas/evas_layer.c - added some missed exception handlings.
SVN revision: 60471
2011-06-18 09:08:33 +00:00
Carsten Haitzler 6d7dceeb5c @since 1.1.0++
SVN revision: 60469
2011-06-17 23:50:02 +00:00
Vincent Torri 7bd56b975d useless code
SVN revision: 60464
2011-06-17 21:43:04 +00:00
Gustavo Lima Chaves 5f8f61921b [evas] Examples on the rest of the size hints.
SVN revision: 60461
2011-06-17 21:17:07 +00:00
Gustavo Lima Chaves ded7959193 [evas] Example on aspect hints.
SVN revision: 60460
2011-06-17 21:16:59 +00:00
Gustavo Lima Chaves b3b4adabdf [evas] Documenting our dear size hints.
Examples coming in sequence.



SVN revision: 60459
2011-06-17 21:16:49 +00:00
Gustavo Lima Chaves 665837d7df [evas] Oopsies-- on an example.
SVN revision: 60458
2011-06-17 21:16:25 +00:00
Gustavo Lima Chaves 04180e384d [evas] Fixing scaling functions docs.
SVN revision: 60457
2011-06-17 21:16:17 +00:00
Gustavo Lima Chaves 2bcd0a2cc9 [evas] Let's not forget box and table in the smart
objects.



SVN revision: 60456
2011-06-17 21:16:11 +00:00
Carsten Haitzler 8575821c1a allow getting ot table packing child too.
SVN revision: 60447
2011-06-17 11:34:30 +00:00
Carsten Haitzler 5c5581fc95 evas table -> allow packing of same object again to update packing
parameters



SVN revision: 60446
2011-06-17 11:25:30 +00:00
Michael BOUCHAUD 396e256fc6 evas: warn dev to clip on a rect and not on an other object
SVN revision: 60443
2011-06-17 10:55:26 +00:00
Vincent Torri 18d1e68924 whitespaces--------
SVN revision: 60426
2011-06-17 07:47:28 +00:00
ChunEon Park 19ef9ecc95 evas/evas_map - trivial changes.
SVN revision: 60425
2011-06-17 07:12:20 +00:00
ChunEon Park bac87b9e06 evas/evas_map - stuffed trivial missing things.
SVN revision: 60415
2011-06-17 01:16:16 +00:00
ChunEon Park 2e73238792 evas - updated AUTHORS
SVN revision: 60402
2011-06-16 17:10:21 +00:00
ChunEon Park f8bf6ff656 evas/evas_map - modified to use Eina_Bool values.
SVN revision: 60392
2011-06-16 12:18:19 +00:00
ChunEon Park 4eeb5f77fe evas/main.c - added Evas_GL magic_string_get
SVN revision: 60391
2011-06-16 12:11:41 +00:00
ChunEon Park 81672eac1c evas/evas_map - added magic check
SVN revision: 60390
2011-06-16 12:08:46 +00:00
ChunEon Park eac7a5832d evas/evas_map - just removed unused lines and moved internal function position
SVN revision: 60389
2011-06-16 11:48:41 +00:00
ChunEon Park def0aed32f evas/evas_private.h - just removed white spaces and fixed indentation.
SVN revision: 60388
2011-06-16 11:19:30 +00:00
ChunEon Park a5537f4193 evas/evas_gl - fixed to release magic field and it's data type
SVN revision: 60387
2011-06-16 11:12:40 +00:00
ChunEon Park 14e66e3fb8 evas/canvas - ok. it works fine. modified to use the standard computation again.
SVN revision: 60386
2011-06-16 10:03:37 +00:00
ChunEon Park 6be9967699 evas/canvas - reverted evas_map since some texture mapping is incorrect.
SVN revision: 60381
2011-06-16 08:46:16 +00:00
ChunEon Park 1bece16fc0 evas/canvas - just made standard computation.
SVN revision: 60379
2011-06-16 08:21:39 +00:00
Mike McCormack f118d7c853 evas: Spelling fix
SVN revision: 60370
2011-06-16 05:32:23 +00:00
Tom Hacohen 4d13de35e9 Evas textblock: Should invalidate before declaring the object as changed.
SVN revision: 60353
2011-06-15 14:57:38 +00:00
Tom Hacohen 2da2cd7611 Evas textblock: Fixed scale update.
SVN revision: 60352
2011-06-15 14:57:21 +00:00
Jiyoun Park 8729820393 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas_image_load_gif bug fix

I found if gif file didn't have colormap, evas make segmentation fault. 
So I add null check code of the gif color map . 



SVN revision: 60337
2011-06-15 09:34:16 +00:00
ChunEon Park 21713b5991 evas/canvas - sorry i added two lines should not be added.
SVN revision: 60334
2011-06-15 09:02:04 +00:00
ChunEon Park b310df818a evas/canvas - it will be more standard computation. and compute less than before.
SVN revision: 60333
2011-06-15 08:57:45 +00:00
ChunEon Park bca5315dca evas/canvas - just removed white trailings
SVN revision: 60321
2011-06-15 00:48:38 +00:00
Gustavo Lima Chaves 3f57d86df3 [evas] Using @b where possible on docs.
SVN revision: 60319
2011-06-14 20:13:05 +00:00
Gustavo Lima Chaves aa0922e547 [evas] "the the" -> "the" on docs.
SVN revision: 60318
2011-06-14 20:12:59 +00:00
Gustavo Lima Chaves 4d8c554a08 [evas] Example files for basic object manipulation
functions.



SVN revision: 60317
2011-06-14 20:12:53 +00:00
Gustavo Lima Chaves b61a6eea67 [evas] Missing reference for an example.
And ditching unused variable on it.



SVN revision: 60316
2011-06-14 20:12:46 +00:00
Gustavo Lima Chaves 2205a21281 [evas] Docs: fixing a doxygen group placement.
SVN revision: 60314
2011-06-14 20:12:33 +00:00
Gustavo Lima Chaves 07416c0e20 [evas] Docs: evas object -> Evas object
SVN revision: 60313
2011-06-14 20:12:28 +00:00
Gustavo Lima Chaves 9618de0653 [evas] Documentation fixes for object manipulation
functions.



SVN revision: 60312
2011-06-14 20:12:20 +00:00
Tom Hacohen 80a5464888 Evas: Fixed some annoying Wshadow warnings.
SVN revision: 60305
2011-06-14 14:04:07 +00:00
Tom Hacohen cd91e94255 Evas bidi: Fix line reordering.
We passed the wrong offset of the embedding level, moved to just using
the offset part of the API. Also, Fribidi expects v_to_l to point to the
start of a (start + len) sized buffer, fixed that as well.

SVN revision: 60304
2011-06-14 12:34:42 +00:00
Tom Hacohen b403eb49e0 Evas textblock: Fixed a rare issue with line wrapping and white stripping.
SVN revision: 60275
2011-06-13 16:04:55 +00:00
Carsten Haitzler cb74d132fb should now handle implicit object grabs with multi touch too..
SVN revision: 60265
2011-06-13 10:00:25 +00:00
Cedric BAIL 937cbfe675 evas: reorder accessing Evas_Object to prevent accessing them after their death.
SVN revision: 60260
2011-06-13 07:34:44 +00:00
Carsten Haitzler 6b8645a8b4 from sungwoo <- fix gl context setup with evas_gl when working between
windows.



SVN revision: 60257
2011-06-13 06:03:00 +00:00
Jiyoun Park fd68d7fdb6 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] evas scale function overflow problem.

patch in with modifications to be "nicer" to deal with.



SVN revision: 60252
2011-06-13 02:57:01 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Gustavo Lima Chaves d6d4006e72 [evas] Pretifying NULL on docs.
SVN revision: 60210
2011-06-10 21:32:09 +00:00
Gustavo Lima Chaves ea4f6225e9 [evas] Examples on the last block of documented
functions.



SVN revision: 60209
2011-06-10 21:32:02 +00:00
Gustavo Lima Chaves d37a9ec355 [evas] Use this doxygen trick.
SVN revision: 60208
2011-06-10 21:31:52 +00:00
Gustavo Lima Chaves e6a4893dfd [evas] Remove warnings.
SVN revision: 60207
2011-06-10 21:31:44 +00:00
Gustavo Lima Chaves 75d78f9b6f [evas] No need to double check dependencies of external
libs on examples.



SVN revision: 60205
2011-06-10 21:31:17 +00:00
Gustavo Lima Chaves 8aae6106b1 [evas] Document one more block of functions.
Examples for them come next.



SVN revision: 60204
2011-06-10 21:31:09 +00:00
Tom Hacohen 04207db6b7 Evas textblock: Fixed charwrap for very small textblocks.
SVN revision: 60185
2011-06-10 10:12:51 +00:00
Christopher Michael 01c5c9f340 Evas: GL_X11 engine: Do not set UNUSED on variables that we actually
use and remove some extra whitespace between functions.



SVN revision: 60153
2011-06-09 19:25:21 +00:00
Gustavo Lima Chaves 07ff60a884 [evas] Fixing placement of key input funcions' doc
group.
Documentation comes later.



SVN revision: 60145
2011-06-09 17:01:27 +00:00
Gustavo Lima Chaves 9d7d17f188 [evas] Reorganizing evas events documenting blocks.
SVN revision: 60144
2011-06-09 17:01:21 +00:00
Gustavo Lima Chaves 8d38f7ad7f [evas] Documentation bumps on
evas{_init,_shutdown,_load_error_str}.



SVN revision: 60143
2011-06-09 17:01:14 +00:00
Gustavo Lima Chaves ef41d78fce [evas] Example code for evas{_init,_shutdown,_load_error_str}.
SVN revision: 60142
2011-06-09 17:00:24 +00:00
Gustavo Lima Chaves e79cc153ea [evas] Lots of documentation groups didn't have end
delimiters set.



SVN revision: 60141
2011-06-09 16:48:31 +00:00
ChunEon Park 9442a38b81 evas/canvas - removed white trailing
SVN revision: 60112
2011-06-09 03:08:50 +00:00
ChunEon Park c982843cb3 evas/canvas - removed white spaces / fixed indentation
SVN revision: 60109
2011-06-09 02:45:59 +00:00
Carsten Haitzler 54afc1bba6 neon rendering bug - fix by disabling
SVN revision: 60068
2011-06-08 03:04:12 +00:00
Christopher Michael a96a4c12a0 Evas: Make sure we return a value from image_load_orientation_get.
SVN revision: 60052
2011-06-07 22:09:18 +00:00
Cedric BAIL 260718c700 evas: add evas_object_image_load_orientation_set, evas_object_image_load_orientation_get.
SVN revision: 60040
2011-06-07 13:39:13 +00:00
Cedric BAIL 1e62ad24a3 evas: use Eina_File for JPEG loader.
SVN revision: 60039
2011-06-07 13:34:18 +00:00
Tom Hacohen 59a22ad090 Evas textblock: Fixed two ellipsis issues.
1. If there's no wrapping enabled, do ellipsis even if we still have vertical
room left.
2. Fixed updating of o->have_ellipsis.

SVN revision: 60038
2011-06-07 11:38:07 +00:00
ChunEon Park 431b652da9 evas/evas_gl - removed white spaces / fixed identation
SVN revision: 60019
2011-06-07 04:30:25 +00:00
Cedric BAIL 8b4793d575 evas: and some doc for the 60000 commits :-)
SVN revision: 60000
2011-06-06 17:49:58 +00:00
Tom Hacohen 2e28418051 Evas textblock: make charwrap not force wrap in an illegal position.
SVN revision: 59965
2011-06-05 10:51:39 +00:00
Vincent Torri 5886a2ed27 fix static link of the generic loader and psd loader
SVN revision: 59951
2011-06-04 05:33:37 +00:00
Carsten Haitzler 7a262be257 add new extens to evas known shortcut list
SVN revision: 59950
2011-06-04 05:26:56 +00:00
Carsten Haitzler 22e4f86c96 protext against <0 table lookups. yes eina_unicode can define
Eina_Unicode as wchart_t.. which is SIGNED.. this is the problem of
not having a fixed typedef that is known to always be the same type
with same underlying properties!



SVN revision: 59947
2011-06-04 03:31:29 +00:00
Vincent Torri 74ead7c758 Evas: add video loaders
SVN revision: 59926
2011-06-03 22:39:03 +00:00
Tom Hacohen 0daae8a59a Evas font-engine: If still after all we can't find a font, use the first.
SVN revision: 59924
2011-06-03 20:48:56 +00:00
Christopher Michael 9257cdc055 Evas: Fix 'reset_time_interval' may be used uninitialized warning.
SVN revision: 59908
2011-06-03 00:26:19 +00:00
Vincent Torri 1fc436ceb7 Evas : evas_image_scalecache.c : usleep() might not be defined on Windows. Use Sleep() instead.
SVN revision: 59906
2011-06-02 19:20:39 +00:00
Tom Hacohen 85cf792f24 Evas font-engine: Use binary search for finding index in text props.
I finally got around to verifying it and the list is assured to be monotonic
(direction depends on bidi direction).

SVN revision: 59903
2011-06-02 15:36:50 +00:00
Tom Hacohen 9bd8ccae80 Evas textblock: Fixed an issue with min size calculation introduced in 59899
SVN revision: 59901
2011-06-02 14:52:43 +00:00
Tom Hacohen 3da52c35cd Evas textblock: Fix skipping of ascii control chars.
SVN revision: 59900
2011-06-02 14:31:15 +00:00
Tom Hacohen 5311e3de70 Evas textblock: Fixed min size calculation with right aligned paragraphs.
SVN revision: 59899
2011-06-02 14:02:31 +00:00
Carsten Haitzler 5d2bd283c3 disable evas filter code. buggy. doesn't work right.
SVN revision: 59898
2011-06-02 10:40:43 +00:00
Carsten Haitzler 2ffa0f4075 disable masking support. back to clip rects.
SVN revision: 59896
2011-06-02 10:00:05 +00:00
Carsten Haitzler 7d08af1ed0 disable map mesh support - engine code still doesnt handle != 4 points
so pointless exposing it as its broken inthe engine.



SVN revision: 59895
2011-06-02 09:49:17 +00:00
Tom Hacohen 4b5440650e Evas text: Fix ellipsis bidi, broke it a couple of days ago.
SVN revision: 59877
2011-06-01 15:08:47 +00:00
Cedric BAIL ad81c809cd evas: make Vincent happy.
SVN revision: 59875
2011-06-01 15:00:55 +00:00
Cedric BAIL 0e0dca586f evas: add evas_object_image_extension_can_load_get.
This functions let you check if a file could be opened by
Evas_Object_Image. It is threadsafe, and you should use it
from another thread as often as possible :-)



SVN revision: 59872
2011-06-01 14:32:08 +00:00
Tom Hacohen 1dfe691a36 Evas textblock: Start splitting layouting and layouting with rendering.
The difference is that we can now avoid doing some things when layouting but
not actually drawing, for example: bidi stuff.

SVN revision: 59871
2011-06-01 14:25:15 +00:00
Tom Hacohen 3e1727f7b1 Evas textblock: Use advance when calculating line breaks and widths.
SVN revision: 59870
2011-06-01 14:25:11 +00:00
Tom Hacohen 0a5b27c1bd Evas textblock: Added a paragraph property to indicate if bidi.
SVN revision: 59869
2011-06-01 14:25:08 +00:00
Tom Hacohen bebbe2253a Evas textblock: Only use paragraph bidi props in the layout code.
Next commits will clear them outside of it. I.e paragraph bidi props are only
valid in the layout code.

SVN revision: 59861
2011-06-01 08:35:25 +00:00
Tom Hacohen 2b23129955 Evas textblock: Paragraphs don't need a x coordinate - remove.
SVN revision: 59860
2011-06-01 08:35:21 +00:00
Tom Hacohen 87d196e4bb Evas textblock: Split _layout to _layout and _layout_pre.
This cleans the code a bit and will soon let us do smarter native size
calculation.

SVN revision: 59845
2011-05-31 12:55:57 +00:00
Tom Hacohen 7cdf099d5c Evas textblock: Remove calc_only from layout, not needed anymore.
SVN revision: 59844
2011-05-31 12:55:54 +00:00
Tom Hacohen 71fe0782d9 Evas textblock: Move native size calculation out of the regular layout.
SVN revision: 59843
2011-05-31 12:55:51 +00:00
Tom Hacohen 8d816d4b43 Evas bidi: Fixed warning when compiling with Wshadow.
SVN revision: 59842
2011-05-31 12:55:46 +00:00
Carsten Haitzler 3fa85660f8 fix gl engine make current impl (for ne evas gl stuff so no chlog
needed)  to handle make current return value right



SVN revision: 59834
2011-05-31 07:10:37 +00:00
Lucas De Marchi 10237c5b56 evas: fix misspellings
Misspellings found by codespell



SVN revision: 59822
2011-05-30 16:45:08 +00:00
Tom Hacohen a4b92a0c69 Evas font-engine: Fix an issue with font_run_end_get.
SVN revision: 59818
2011-05-30 15:18:53 +00:00
Tom Hacohen 876e80c1f8 Evas font-engine: font_run_end_get. Fix possible segfault.
Patch by Cedric.

SVN revision: 59817
2011-05-30 13:59:18 +00:00
Tom Hacohen b1d889a1df Evas textblock: There can be only one ellipsis item per textblock.
SVN revision: 59816
2011-05-30 13:19:13 +00:00
Tom Hacohen 5a785e86bf Evas textblock: Use Evas_Coord instead of int for coords.
SVN revision: 59815
2011-05-30 13:19:10 +00:00
Tom Hacohen 6d66a59333 Evas textblock: Removed some fat. Format should be a stringshare.
SVN revision: 59814
2011-05-30 13:19:07 +00:00
Tom Hacohen 943145d125 Evas textblock: Don't try to move text if the length to be moved is 0.
SVN revision: 59813
2011-05-30 13:19:03 +00:00
Tom Hacohen 56b6e2ed28 Evas textblock: Remove a bit of useless fat.
SVN revision: 59812
2011-05-30 13:19:00 +00:00
Tom Hacohen 44dec7a617 Evas text/textblock: Fixed warnings when frame_quening is on.
SVN revision: 59809
2011-05-30 10:55:35 +00:00
Tom Hacohen a403ca75c2 Evas text/textblock: init cur_fi to NULL.
SVN revision: 59808
2011-05-30 10:55:31 +00:00
Tom Hacohen 884eaf1c63 Evas textblock: Fix casting of font when calling pipe op.
SVN revision: 59807
2011-05-30 09:03:46 +00:00
Tom Hacohen a3719b21f9 Evas text/textblock: Check we actually found a font instance.
Currently we only check we have a font_set which is not enough.
Having a fontset and not having an fi should never happen, but it can.

SVN revision: 59804
2011-05-30 08:42:26 +00:00
Tom Hacohen 0b72b9fcf5 Evas font-engine: Fallback to script_fi if we didn't find another one.
SVN revision: 59803
2011-05-30 08:31:29 +00:00
Tom Hacohen 7e01aebd17 Evas textblock: clean up text_append, and possibly solve infinite loop.
I removed the workaround that solved it, for this cleaner, solution that
should work.

SVN revision: 59802
2011-05-30 08:16:35 +00:00
Tom Hacohen 0967176b12 Evas textblock: Removed ununeeded allocation.
SVN revision: 59801
2011-05-30 08:16:32 +00:00
Tom Hacohen 6b894e69fa Evas textblock: Fix an issue with empty textblocks.
SVN revision: 59800
2011-05-30 07:52:44 +00:00
Tom Hacohen 599d9992b6 Evas textblock: Possible workaround for the infinite loop morlenxus is having.
SVN revision: 59791
2011-05-29 21:11:58 +00:00
Vincent Torri 4963571e08 Evas : evas_preload.c : Fix compilation when --disable-async-preload is passed to configure.
SVN revision: 59786
2011-05-29 14:34:33 +00:00
Tom Hacohen a8ddf9b1f8 Evas engines: Adjust all the rest of the engines to use Evas_Font_Set.
SVN revision: 59784
2011-05-29 13:56:23 +00:00
Tom Hacohen 228c7548a4 Evas font-engine: In continuation of the previous commit. Use Evas_Font_Set.
SVN revision: 59783
2011-05-29 13:35:45 +00:00
Tom Hacohen 60aa86a0ef Evas font-engine: Added two font opaque types.
Added Evas_Font_Instance and Evas_Font_Set which correspond to
RGBA_Font_Int and RGBA_Font. This is very important for strict type
checking which we now finally have.

This commit does not include logic changes, only casting and changing
types of pointers to the opaque pointer types.

SVN revision: 59782
2011-05-29 13:00:54 +00:00
Tom Hacohen b7e2277ef0 Evas textblock/font-engine: Fix compiler warnings with -Wshadow.
SVN revision: 59781
2011-05-29 12:03:20 +00:00
Tom Hacohen dbe7a9800e Evas textblock: Added support for numeric escape sequences.
Patch by Raoul Hecky.

SVN revision: 59780
2011-05-29 11:47:53 +00:00
Tom Hacohen 422d9358bf Evas font-engine: Conform to the API changes in Harfbuzz 0.6.0.
SVN revision: 59779
2011-05-29 11:09:47 +00:00
Tom Hacohen 81b217f8c4 Evas font-engine: Fixed font fallback in the same script run.
SVN revision: 59777
2011-05-29 09:20:18 +00:00
Tom Hacohen ca1fc26a0e Evas font-engine: Fixed a bug in the glyph search function.
SVN revision: 59776
2011-05-29 09:20:13 +00:00
Carsten Haitzler bdba0b8171 Add feature: convenience call: evas_event_thaw_eval()
SVN revision: 59727
2011-05-27 08:26:11 +00:00
Christopher Michael 943cd64c7f Evas: Png Loader: Fix shadow declaration of variable 'compress'.
SVN revision: 59718
2011-05-27 02:00:15 +00:00
Christopher Michael 9c9ebcba16 Evas: Fix shadow declaration of 'i' variable.
SVN revision: 59716
2011-05-27 01:50:10 +00:00
Christopher Michael 9b649530bd Evas: Fix more shadow declarations of variables.
SVN revision: 59715
2011-05-27 01:47:58 +00:00
Christopher Michael ffc97c3754 Evas: Fix more shadow declarations of 'index' variable.
SVN revision: 59714
2011-05-27 01:44:10 +00:00
Christopher Michael 6379aa55aa Evas: Fix shadow declaration of variable 'write'.
SVN revision: 59713
2011-05-27 01:22:56 +00:00
Christopher Michael b1181721fa Evas: Fix shadow declaration of variable 'index'
SVN revision: 59712
2011-05-27 01:19:35 +00:00
Christopher Michael 96b00531c9 Evas: Fix shadow declaration of variable 'index'.
SVN revision: 59711
2011-05-27 01:17:15 +00:00
Christopher Michael 04a24dc1f3 Evas: Fix shadow declaration of variable 'index'
SVN revision: 59710
2011-05-27 01:13:41 +00:00
Carsten Haitzler 4b6fcc8afa fix table to actually use fractional weighting.
SVN revision: 59693
2011-05-26 08:37:07 +00:00
Carsten Haitzler f304bf6941 fix table to handle weighting correctly for expands vs not expands. if
ANY elemtn that spans a col or row CANt expand that column or row is
VETOED frome xpanding, as opposed to the inverse



SVN revision: 59687
2011-05-26 05:40:47 +00:00
Carsten Haitzler 01cbefe2ae fix c fallback rendering - mask op was wrong. mmx was right. why is
the neon code sitting there.. with no neon? just c? if so.. just kill
the neon code and let c fallbacks take care of it as all we do is dup
code. either that or actually implement the neon.



SVN revision: 59686
2011-05-26 02:44:01 +00:00
Michael BOUCHAUD 5b428f87f9 evas: add raw loaders ...
SVN revision: 59680
2011-05-25 20:21:25 +00:00
Carsten Haitzler 701601b4bc aaah fix brackets i just unfixed.
SVN revision: 59667
2011-05-25 11:56:13 +00:00
Carsten Haitzler 51d97e0f40 remove commented out table code.
SVN revision: 59666
2011-05-25 11:50:37 +00:00
Cedric BAIL 2600ac9160 evas: use Eina_File when possible.
SVN revision: 59645
2011-05-24 10:19:06 +00:00
Carsten Haitzler f854f1f275 fix glpipe optimization that stops the pipes from being used with many
maps



SVN revision: 59638
2011-05-24 06:51:47 +00:00
Boris Faure a9fe27d54c evas: typo
SVN revision: 59631
2011-05-23 19:38:28 +00:00
ChunEon Park 8e9be7f42f evas/evas_map - removed white spaces, fixed identation.
SVN revision: 59620
2011-05-23 10:37:17 +00:00
Vincent Torri 70c27550cf Evas: Fix compilation with libjpeg 8 on Windows.
SVN revision: 59609
2011-05-23 06:45:19 +00:00
Christopher Michael cee78bdc1f Evas: Initialize some variables to zero (to remove compiler warnings).
SVN revision: 59569
2011-05-21 22:28:13 +00:00
Daniel Juyung Seo 924bddfc83 Evas evas_render.c: Fixed formatting.
Fixed indentation and removed trailing whitespaces.


SVN revision: 59560
2011-05-21 06:23:33 +00:00
Christopher Michael 8c2397f8c2 Evas: Add UNUSED to evas_engine function 'eng_image_load_error_get'
for data paramater (it is not used in the function).



SVN revision: 59547
2011-05-20 01:35:41 +00:00
Christopher Michael b3d66d5b25 Evas: evas_common_frameq_thread (in evas_pipe.c) uses 'gettimeofday',
so include the proper header file for that function (so we don't get
implicit declaration warning)



SVN revision: 59546
2011-05-20 01:33:55 +00:00
Carsten Haitzler 88b59a9bb6 fix proxy sourcing of smart obj that updates.
SVN revision: 59536
2011-05-19 13:01:44 +00:00
Vincent Torri 9347b624a6 Add postscript to the list of files supported by the generic loader
SVN revision: 59533
2011-05-19 12:41:17 +00:00
Carsten Haitzler 4dd1d5cf62 fix load of data to ACTUALLY set the load error in evas's image
objects. including preload.



SVN revision: 59529
2011-05-19 11:19:22 +00:00
Tom Hacohen 359e67f68a Evas textblock: Added an rbtree index for the layout paragraphs.
This can be used with both coordinates and line numbers, this is a
faster way to find layout paragraphs in the textblock which means
we should now be a lot faster with big textblocks.

SVN revision: 59527
2011-05-19 09:54:30 +00:00
Tom Hacohen 3227929fcf Evas textblock: Use the saved paragraph pointer instead of searching.
SVN revision: 59526
2011-05-19 09:54:19 +00:00
Carsten Haitzler 59bc413e1f handle surf alloc failures.
SVN revision: 59524
2011-05-19 09:28:43 +00:00
Carsten Haitzler 3789e32040 check return of alloc surf for eet loader.
SVN revision: 59523
2011-05-19 09:25:31 +00:00
Carsten Haitzler 19b70919ad small fix - check surface alloc return and reurn alloc failure.
SVN revision: 59522
2011-05-19 09:22:35 +00:00
Carsten Haitzler 5b2a35392b fix bug in new proxy code (no need for changelog as its a new feature
thats not released yet) wher using proxy via map doesnt let you use uv
coords right as its ALWAYs filling/scaling only due to not using
source image size and proxy size right.



SVN revision: 59519
2011-05-19 05:52:47 +00:00
Vincent Torri b3ed32be46 remove some shadow declarations
SVN revision: 59508
2011-05-18 14:12:10 +00:00
Tom Hacohen f3ef64a31e Evas font-engine: Replace deprecated freetype constants.
SVN revision: 59507
2011-05-18 13:47:45 +00:00
Tom Hacohen 1ad5cdfb89 Evas font-engine: Remove useless if, it's never a bitmap.
SVN revision: 59506
2011-05-18 13:47:37 +00:00
Tom Hacohen b831d3c1e1 Evas font-engine: Fix searching of fonts to ignore more control characters.
SVN revision: 59499
2011-05-18 11:18:08 +00:00
Tom Hacohen fccfbf78b0 Evas font-engine: Don't search fi again in ot populate.
We already calculate it in content create.

SVN revision: 59498
2011-05-18 11:18:00 +00:00
Carsten Haitzler 23c715b282 fixed issues on evas gl suport from sungwoo.
SVN revision: 59492
2011-05-18 09:49:58 +00:00
Carsten Haitzler 62efa76e50 add grid layout obj to evas (along with table and box)
SVN revision: 59481
2011-05-18 07:04:32 +00:00
Tom Hacohen dd503b47fd Evas textblock: Fix a potential bug in wrapping.
SVN revision: 59464
2011-05-17 07:08:33 +00:00
Carsten Haitzler a59cd2a040 pointed out by jiyoun ... but patch wasn't quite right. shouldnt
manually ref-- the old im - should call drop. also... dont make
original dirty as we don't modify it, we just drop (unref) it.



SVN revision: 59431
2011-05-16 02:06:41 +00:00
Tom Hacohen e4dada93e6 Evas textblock: Set cursor position if not already set when inserting text.
This was always the meaning of cur->node=NULL, but here it explicitly
does it, which makes things easier in the long run.

SVN revision: 59406
2011-05-15 15:36:04 +00:00
Tom Hacohen 1e542a0d47 Evas textblock: Fixed a possible bug with wordwrap.
SVN revision: 59405
2011-05-15 13:57:47 +00:00
Tom Hacohen 353ce0f48a Evas textblock: Speed up rendering. Find the start paragraph for all.
Until now all the format/text drawing loops went through all the
paragraphs skipping all the ones that are outside the clipping/object
zone. This changeset find the first paragraph to be renedred first so we
don't walk all the paragraphs for nothing. This speeds up rendering of
the ends of very big textblocks in a very noticable manner.

SVN revision: 59404
2011-05-15 12:00:01 +00:00
Tom Hacohen 44b8ca79a4 Evas font-engine: Remove the useless RGBA_Font_Source hb.face.
SVN revision: 59403
2011-05-15 11:59:58 +00:00
Tom Hacohen 726d37b782 Evas font-engine: Adjust code to use latest Harfbuzz (0.5.0)
SVN revision: 59402
2011-05-15 11:59:54 +00:00
Vincent Torri c3d5bfb5c5 Evas: cache: missing guards
SVN revision: 59394
2011-05-15 10:11:22 +00:00
Vincent Torri f0cbd4add5 add some guards for non Windows headers and reorder
alphabetically some autotools stuff

SVN revision: 59393
2011-05-15 05:42:30 +00:00
Tom Hacohen 8315f9879c Evas textblock: Fix segfault with evas_textblock_cursor_content_get.
Patch by Brian Wang.

SVN revision: 59347
2011-05-12 15:12:10 +00:00
Tom Hacohen 909e11f49f Evas font-engine: Fix usage of font cache (= -> ==).
SVN revision: 59344
2011-05-12 08:38:24 +00:00
Tom Hacohen 7d1f21946a Evas font-engine: abort font load even sooner if name is NULL.
SVN revision: 59343
2011-05-12 08:38:21 +00:00
Carsten Haitzler 74d6d2b948 wrn--!
SVN revision: 59342
2011-05-12 08:30:49 +00:00
Carsten Haitzler 3761d8ecf8 Evas Smart: add ability to get usage count
SVN revision: 59341
2011-05-12 08:28:25 +00:00
Carsten Haitzler 9d945dd593 fix svg load WITH scaling - scale down size request broken. 2
different sizing methods.



SVN revision: 59329
2011-05-11 11:26:51 +00:00
Tom Hacohen 13d032d0b1 Evas textblock: Added _format_list_get for fast retrieval of anchors.
This is very useful in edje_entry that keeps a list of anchors.
Currently only "a" and "item" are supported, and unless something
drastic will happen, it will stay this way.

SVN revision: 59325
2011-05-11 10:18:24 +00:00
Carsten Haitzler a5d62bdbcd Fix: egl mode in engine forgot to call pre/post swap callback. thanks
guanglim!



SVN revision: 59322
2011-05-11 09:14:59 +00:00
Tom Hacohen faba2810b4 Evas textblock: Don't allow overwriting the format stack.
SVN revision: 59320
2011-05-11 08:35:09 +00:00
Tom Hacohen fd25efda3a Evas textblock: Only parse formats that can change the format stack.
No need to parse all the newlines when all we want is just to modify the
format stack.

SVN revision: 59319
2011-05-11 08:34:57 +00:00
Cedric BAIL 21971b92a0 evas: fix xcb build.
SVN revision: 59302
2011-05-09 15:18:03 +00:00
Cedric BAIL c2df2df0c6 evas: don't use dead condition.
SVN revision: 59300
2011-05-09 14:42:12 +00:00
Cedric BAIL f91a33ef0d evas: we should not rely on mutex recursive stuff. fix potential source of bug.
SVN revision: 59294
2011-05-09 12:55:57 +00:00
Cedric BAIL b15093851e evas: fix evas_pipe and use eina_condition.
SVN revision: 59291
2011-05-09 11:05:04 +00:00
Cedric BAIL 849eea718d evas: fix software 16 sdl.
SVN revision: 59290
2011-05-09 10:56:32 +00:00
Cedric BAIL 2166ee30c5 evas: use Eina_Condition.
SVN revision: 59288
2011-05-09 10:33:21 +00:00