Commit Graph

14877 Commits

Author SHA1 Message Date
Lucas De Marchi 00b797e50b emotion: g_free already checks if pointer is NULL
semantic patch:

@r1@
expression E1;
@@

- if (E1)
-	g_free(E1);
+ g_free(E1);




SVN revision: 62834
2011-08-25 21:09:42 +00:00
Carsten Haitzler 3705bda72b oooooh wowo! that prefix change broke stuff1 it looks ok on elm. revert!
SVN revision: 62813
2011-08-25 12:13:16 +00:00
Tom Hacohen 9f23c221d6 Evas callbacks: Do the same change daniel did to smart callbacks.
Spank Spank for not applying it here as well.

SVN revision: 62798
2011-08-25 10:06:12 +00:00
Jérémy Zurcher c5606319d9 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62795
2011-08-25 10:01:22 +00:00
Daniel Juyung Seo 733ac6e274 evas evas_object_smart.c: Reverted smart callback calling sequence.
Now, smart callback is prepended among the same priorities. After the
discussion with hermet and raster.

I fixed this because I think it's better keeping the default behavior
even we have new priority option. This is for evas backward
compatibility and for the world peace. Although I know there is no
official policy and it's not recommended to rely on the smart callback
calling sequence in application, I really hope evas needs to have
compatibility. Otherwise we need to adopt the new policy in next
version of evas. 


SVN revision: 62792
2011-08-25 09:18:39 +00:00
Carsten Haitzler fc4c7aa7a0 chglog++
SVN revision: 62791
2011-08-25 08:55:16 +00:00
Carsten Haitzler 4dbff7d352 typo--
SVN revision: 62790
2011-08-25 08:54:12 +00:00
Cedric BAIL a4601bb4b7 evas: refactorise code.
SVN revision: 62788
2011-08-25 08:28:34 +00:00
ChunEon Park c6bd24febb ecore_evas - patched by Gwanglim Lee <gl77.lee@samsung.com>
Hi all,

I've fixed a minor bug in the ecore_evas_gl_x11_pre_post_swap_callback_set API.
It wasn't setting a post_swap callback properly.

Please review it.

BR,




SVN revision: 62785
2011-08-25 08:14:21 +00:00
Jihoon Kim 94561e19eb From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add elm_entry_input_panel_layout_set API

elm_entry_input_panel_layout_set API is high level API to call
ecore_imf_context_input_panel_layout_set (through edje).
This API will be used to set layout of input panel (such as URL, Email,
Number layout...) by application programmer.

Would you please review this patch?
Please let me know if I have to do more.



SVN revision: 62782
2011-08-25 07:25:37 +00:00
Sung W. Park f3d21a04d0 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel]  [Review] [Patch] Evas_GL bug fixes/updates


I've fixed some minor issues that I've been pushing off for later.

The patch does the following:

1. Evas_GL and Evas had an issue where the viewport parameters were
being reset in the wrong context. Previously, this issue was temporarily
patched by flushing evas' pipeline and setting
evas_gl_common_context_use(NULL) in EvasGL's
make current. I know, it was pretty hacky. It turns out that in
evas_engine,
there was a code evas_gl_common_context_resize(NULL) without doing
eng_window_use() first.  So i've added that part and problem went was
resolved properly. :-)

2. Naturally, I've taken out the temporary patch from 1.

3. I've added code that took care of glBindFramebuffer(..., fbo) where
the
fbo had to be saved and restored in case the user wanted to use his
own fbo.
Also, I've had to take care of the case when fbo is 0 since 0 need to
point
to evas_gl surface.

4. I've updated make_current a little as well.



SVN revision: 62780
2011-08-25 06:30:52 +00:00
ChunEon Park c3676cdabd Evas - updated AUTHORS
SVN revision: 62779
2011-08-25 06:14:43 +00:00
Carsten Haitzler 5cc90f00d9 oh my bad! i broke desktop gl compilation! bad bad bad me. spank! fix.
SVN revision: 62777
2011-08-25 05:17:43 +00:00
Jiyoun Park 4b59fd460e From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] evas gl engine's texture creation

Hello. 

1. _pool_tex_dynamic_new function, it didn’t set pt to NULL when secsym_eglCreateImage function failed.
In this case, it returns wrong pt pointer and it has possibility to make crash.
So I add free pt code and return NULL code into _pool_tex_dynamic_new function.

2. I modified eng_image_data_get of gl engine.

If Evas_GL_Image's texture creation failed and evas_gl_image's cache image was droped, 
Im->im can be NULL. So I add check code. 
Example: evas_gl_common_image_content_hint_set
     1) EVAS_IMAGE_CONTENT_HINT_DYNAMIC , it drop cache image
     2) if evas_gl_common_texture_dynamic_new failed
     3) then, im->im =NULL, im->tex=NULL
        In this situation, if application call's evas_object_image_data_get function, 
It make crash in evas_cache_image_load_data function.

3. I think function's related with evas_object's engine data have to be return NULL if it failed.
If function's returns null, evas object code can handle error more easily.  
But evas object's code was implemented differently each case. Does my suggestion right?
I add engine data null check code to evas_object_image based on upper consumtion.
If it is wrong , the patch code related with evas object image have to be removed.
If it is right , I will survey other evas object type also.  



SVN revision: 62775
2011-08-25 04:48:45 +00:00
Gustavo Lima Chaves 73aa354e05 [edje] Putting edc examples in src/examples dir, so that
docs find them as well.



SVN revision: 62754
2011-08-24 16:31:11 +00:00
Cedric BAIL cea7b9dddb evas: refactorize OpenGL engine.
SVN revision: 62752
2011-08-24 16:20:15 +00:00
Gustavo Lima Chaves b63efee190 [eina] Repeated link, be gone.
SVN revision: 62749
2011-08-24 15:13:10 +00:00
Gustavo Lima Chaves 0608f4962e [emotion] Fix alphabetical index of doc. components.
SVN revision: 62748
2011-08-24 15:07:36 +00:00
Gustavo Lima Chaves 9736929538 [ecore] Fix alphabetical index of doc. components.
SVN revision: 62747
2011-08-24 15:01:56 +00:00
Gustavo Lima Chaves 9cf7351f27 [ecore] Don't mess with page names anymore (doxygen's
lameness).



SVN revision: 62743
2011-08-24 14:23:05 +00:00
Christopher Michael e07f363689 Ecore_X(cb): More work toward the effort of getting drag-n-drop to
work for gtk apps (tho no success yet).



SVN revision: 62731
2011-08-23 18:03:11 +00:00
Daniel Juyung Seo f915dca8ae edje edje_calc.c: Removed warnings.
SVN revision: 62729
2011-08-23 16:44:36 +00:00
Christopher Michael dafdb01872 Ecore_X(cb): Readd missing doxy.
SVN revision: 62728
2011-08-23 16:43:18 +00:00
Christopher Michael 4d6e04c512 Ecore_X(cb): Rework cursor code to be more like the Xlib version.
SVN revision: 62727
2011-08-23 16:39:52 +00:00
Christopher Michael b28995b31d Ecore_X(cb): Fix compiler warnings when building without xprint support.
SVN revision: 62726
2011-08-23 16:39:07 +00:00
Christopher Michael 921497a9fc Ecore_X(cb): Make selection code more like the Xlib version. Fix
return from parser_files function.



SVN revision: 62725
2011-08-23 16:38:24 +00:00
Cedric BAIL ca93d80a3c evas: update ChangeLog.
SVN revision: 62723
2011-08-23 16:08:00 +00:00
Cedric BAIL efcceff953 evas: fix evas_object_image_data_convert.
SVN revision: 62722
2011-08-23 16:06:41 +00:00
Cedric BAIL 7ae4bd0f31 evas: add YUY2 shader to GL engine.
TODO: add NV12 and NV12T to evas.


SVN revision: 62721
2011-08-23 15:13:40 +00:00
Lucas De Marchi 428c512599 ecore: silence warnings the right way
Setting a variable but not using it will trigger another warning on gcc >= 4.6.



SVN revision: 62717
2011-08-23 12:04:52 +00:00
Jiyoun Park 9cce5f3959 From: Jiyoun Park <jy0703.park@samsung.com>
Sometimes, gif loader can miss some previous frame.
In that case, display can be dirty.
If frame N loaded without N-1 make these problem.
I fixed this problem. 
And I modified wrong document.



SVN revision: 62712
2011-08-23 06:08:02 +00:00
Carsten Haitzler 19124f1282 add some comments and debug to eina_preifx. in case we have to test it
when packaged under debians new multiarch.



SVN revision: 62706
2011-08-22 23:40:05 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Christopher Michael 121d5b7314 Ecore_X(cb): Enable code for using xprint to get window root list
(like xlib has). Remove some fixme's (implement error checking for a
few functions).

NB: While this code makes ecore_x_window_root_list work like the xlib
version does (ability to use xprint to get list), I highly recommend
building ecore without xprint support (--disable-ecore-x-xprint)
because this seems like a lot of work to go through to get the window
root list. Building without xprint support provides a faster code path.



SVN revision: 62696
2011-08-22 20:10:53 +00:00
Tom Hacohen f6724cc23b Evas font: Did some style fixes, we don't like tabs.
SVN revision: 62695
2011-08-22 14:45:23 +00:00
Tom Hacohen 54fd7dc69f Evas font: Fixed font cache.
Apparently someone (probably me) broke it a while ago, now it works.

SVN revision: 62694
2011-08-22 14:45:19 +00:00
Tom Hacohen 4cba183f96 Evas font: Revert "evas/font - removed an unusefull handling."
This reverts commit 62684.

This is needed to verify we don't access info->ot when info is NULL.

SVN revision: 62691
2011-08-22 11:51:18 +00:00
Cedric BAIL 8c078b294c ecore: make ecore_thread_main_loop_begin/end() recursive.
SVN revision: 62687
2011-08-22 09:47:17 +00:00
ChunEon Park 3184b6e863 evas/font - removed an unusefull handling.
Thank you TAsn. 



SVN revision: 62684
2011-08-22 09:39:13 +00:00
Carsten Haitzler ed6ed2987e we dont need 1 if level in ecore mainloop. it really isn't needed.
been harmless though.



SVN revision: 62682
2011-08-22 09:32:39 +00:00
Tom Hacohen 15a3582483 Evas font: Revert last 2 commits by Hermet (62659, 62675).
SPANK SPANK, they broke compilation. Please use the builtin revert
functions when you revert commits. Either:
GIT: 'git revert <commit hash>' (yeah, git is better).
or
SVN: 'svn merge -c <revision> .'

This will prevent this kind of erros from happenning in the future.

Also, plesae compile before committing.

SVN revision: 62678
2011-08-22 08:23:04 +00:00
ChunEon Park 3bd87ec51a evas/evas_font - revert exceptin handlings
requested by TAsn

I do understand. :p

then, it seems no need to set the _ot_itr = NULL in EVAS_FONT_WALK_TEXT_START.



SVN revision: 62675
2011-08-22 03:34:43 +00:00
ChunEon Park 1bed664303 evas/evas_font - added exeption handlings.
SVN revision: 62659
2011-08-21 12:47:11 +00:00
ChunEon Park 40d578abe0 ecore - fixed typo
SVN revision: 62653
2011-08-21 09:30:29 +00:00
Carsten Haitzler 0f2636921b warning--
SVN revision: 62647
2011-08-21 07:46:57 +00:00
Gustavo Sverzut Barbieri cc1d1f95c6 change text's single recalc to use apply version.
Original _edje_part_recalc_single_text() was not working as
expected since it was not doing size fit, range, ellipsis and so
on.

The purpose of this function compared with
_edje_text_recalc_apply() is to be faster, not calling Evas update
functions. However for text this is quite difficult given that to
fit we need to set the font, size, style, etc. If it was done
correctly, we'd save some calls to move and some color sets,
however those shouldn't matter much in the overall picture.

I've changed this to force applying the value, it should be more
correct and not so slow. The previous code is kept below for
reference but should be removed before next release!




SVN revision: 62640
2011-08-21 01:38:17 +00:00
Gustavo Sverzut Barbieri ddc7fb9527 Just cut/ellipsis if text.min.x is not set.
This should fix the bug with the following code:

collections {
   group { name: "main";
      parts {
         part { name: "text";
            type: TEXT;
            description { state: "default" 0.0;
               text {
                  font: "Sans";
                  size: 72;
                  text: "contents";
                  fit: 0 1;
                  min: 1 0;
               }
            }
         }
      }
   }
}




SVN revision: 62639
2011-08-20 23:47:46 +00:00
Christopher Michael f7d1b738e6 Evas: Check for the presence of shm extension (in
evas_software_xcb_can_do_shm) first before trying to make calls to the
shm extension.



SVN revision: 62638
2011-08-20 22:15:44 +00:00
Christopher Michael 57cc30c651 Ecore_X(cb): Filter out some motion_notify events to reduce cpu
intensive operations (helps wrt fps when scrolling).

NB: I've seen no adverse effects from this, but please report if you do.



SVN revision: 62637
2011-08-20 21:14:34 +00:00
Gustavo Sverzut Barbieri b5cffc366e minor corner case fix for extents without some of the return parameters.
SVN revision: 62633
2011-08-20 14:49:21 +00:00