Commit Graph

3835 Commits

Author SHA1 Message Date
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
Tom Hacohen e607c581f0 Evas text: clean up evas_text_style_pad_get a bit further.
SVN revision: 59284
2011-05-09 07:40:14 +00:00
Tom Hacohen 7cd241ae62 Evas text: Made evas_text_style_pad_get faster.
SVN revision: 59282
2011-05-08 15:43:44 +00:00
Tom Hacohen 730bfce44e Evas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.
SVN revision: 59281
2011-05-08 15:33:23 +00:00
Tom Hacohen 1a0fba718f Evas textblock: Remove unused alloca.
SVN revision: 59280
2011-05-08 15:33:20 +00:00
Tom Hacohen edafdf5323 Evas textblock: Clean up clipping and render a bit.
SVN revision: 59279
2011-05-08 14:54:27 +00:00
Tom Hacohen 811b4d9a68 Evas table: fix ui-mirroring with homogeneous tables.
SVN revision: 59277
2011-05-08 12:26:44 +00:00
Tom Hacohen 9f29ea18d3 Evas textblock: Break on mandatory and allowed break options.
SVN revision: 59274
2011-05-08 11:20:19 +00:00
Tom Hacohen 8214888f83 Evas textblock: Moved format text_node invalidation to it's own function.
SVN revision: 59273
2011-05-08 11:20:16 +00:00