summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2013-02-08efl/eina_xattr: Fix memory leak in eina_xattr_value_ls.Stefan Schmidt
In the error case we freed the iterator but not the attribute. SVN revision: 83791
2013-02-08efl/emotion: Fix memory leak in gstreamer_ecore_x_check().Stefan Schmidt
The suported atom gets allocated in the ecore_x call but we leave the scope here without freeing the resource again. Free it when going out of scope. SVN revision: 83790
2013-02-08Refactor evas_sw_xlib_outbuf to allocate less in case of rotations.Daniel Willmann
Previously whenever evas_software_xlib_outbuf_new_region_for_update was called for images that were rotated (!= 0) we created a new evas_cache_image. This resulted in (quite severe) memory spikes whenever an image was rotated. Now we try to get the original image first and only if that fails allocate a new one. TDevilhorns is already working on the port to the xcb backend. Signed-off-by: Daniel Willmann <d.willmann@samsung.com> Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> SVN revision: 83789
2013-02-08efl, evas_generic_loaders: Removed unused variable. Set EINA_UNUSED to ↵Daniel Juyung Seo
unused variables. SVN revision: 83788
2013-02-08Evas textblock: Fixed a selection issue.Tom Hacohen
The issue happens when selecting in strings that have both bidi and different scripts in the same bidi run. E.g: "עבריתenglishрусскийעברית". SVN revision: 83786
2013-02-08and handle rotated swapbuf if bufsz doesnt match... PROPERLY.Carsten Haitzler
SVN revision: 83781
2013-02-08ecore/wayland: Don't use edge info for resizing in some cases.Rafael Antognolli
Maximized/fullscreen will handle the repositioning of the window by themselves, and restore the window to its original position when coming back from that state. So there's no need to use the edge information and manually adjust the window offsets. SVN revision: 83779
2013-02-08evas/wayland_egl: Fix Evas pointer assignment.Rafael Antognolli
Don't assign the public data to an Evas *. SVN revision: 83778
2013-02-08oops - add back in snprintf.Carsten Haitzler
SVN revision: 83768
2013-02-08fix ecore_x_screen_is_composited...Carsten Haitzler
SVN revision: 83767
2013-02-08Improving ecore_con_server_flush to avoid a faceplant over the OOM Guillaume Friloux
Killer when sending big files. I will explain more in a mail comming after this commit. SVN revision: 83766
2013-02-08swapper infra work - handle if buffer sizes dont match... :)Carsten Haitzler
SVN revision: 83764
2013-02-08devilhorns: ummmm lets not segv and run allover the stack shall we? memset theCarsten Haitzler
size of memory we ALLOCATED! SVN revision: 83757
2013-02-07Add ecore_x_randr_crtc_info_free function.Christopher Michael
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83739
2013-02-07Add ecore_x_randr_crtc_info_free function.Christopher Michael
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83738
2013-02-07Fix crtc_info_get function (memcpy fails here in some cases, soChristopher Michael
manually allocate and copy things over). Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83737
2013-02-07efl/evas: small speed improvement when doing auto sizing of text object.Cedric BAIL
SVN revision: 83732
2013-02-07Add ecore_x_randr_crtc_info_get function.Christopher Michael
NB: This will save us Many X round-trips in the new randr dialog. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83728
2013-02-07Add new Ecore_X_Randr_Crtc_Info structure.Christopher Michael
Add header function for ecore_x_randr_crtc_info_get. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83727
2013-02-07eina eina_inlist.c: Fixed formatting while reading the code.Daniel Juyung Seo
SVN revision: 83714
2013-02-07fix typo in document about ecore_getopt_callback_ecore_evas_list_engines.Jihoon Kim
It's wrriten by Patryk Kaczmarek <patryk.k@samsung.com> SVN revision: 83710
2013-02-07efl/eina: Eina_Tiler take tile size into account.Cedric BAIL
SVN revision: 83708
2013-02-07[edje/edje_program] Checking walking_callbacks for not removing patterns ↵WooHyun Jung
which are still used. SVN revision: 83700
2013-02-07eina: disable randomisation for Eina_Hash superfast.Cedric BAIL
SVN revision: 83698
2013-02-06efl/eina: fix map leak in Eina_File.Cedric BAIL
SVN revision: 83668
2013-02-06efl/eina: check that we always put some random value in hash.Cedric BAIL
SVN revision: 83655
2013-02-05ecore/wayland: Always send the mouse button event.Rafael Antognolli
Don't send only the mouse button stored inside input->button, since more than one button may be pressed and unset the input->button when unpressed. SVN revision: 83647
2013-02-05Fix return of ecore_wl_outputs_get() functionEduardo Lima (Etrunko)
This should return the pointer to the list, to get the desired behavior. Fixes ticket #2252. Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com> SVN revision: 83644
2013-02-05Export API to C++, add wl_registry and global accessorsU. Artie Eoff
Add #ifdef __cpluscplus to Ecore_Wayland.h so the API can be used by C++ programs. Add accessors for the wl_registry and the globals list. Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com> Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com> SVN revision: 83642
2013-02-05Eo tests: Beginning of test output cleanup.Tom Hacohen
SVN revision: 83635
2013-02-05efl/ecore_imf: add comment about ecore_imf_context_cursor_position_set()Jihoon Kim
SVN revision: 83630
2013-02-05ecore/wayland: Add window state changed callback to Ecore_Wl_Window.Rafael Antognolli
This will allow it to report to Ecore_Evas that the window has changed its state. Elementary uses this to update its maximized/fullscreen/other window states internal information. The code that uses this callback is also added to Ecore_Evas. SVN revision: 83625
2013-02-05Be a lot more pedantic and add some more safety checks about xrandrChristopher Michael
return values (ie: if xrandr returns 0 crtcs, then we don't need to allocate anything, etc, etc, etc). Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83624
2013-02-05Be a bit more pedantic when getting outputs for a crtc, in that ifChristopher Michael
xrandr returns 0 outputs, then free resources and return null quickly. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83623
2013-02-05Set number of returned modes early in the process.Christopher Michael
Let's be a bit pedantic here, if the number of returned modes is Zero, then just free resources and get out. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83617
2013-02-04ecore_evas/wayland_egl: Fix window resize when using meta+middle click.Rafael Antognolli
It's needed to set the edge where the middle click is being done in order to allow Evas know which direction the resize should take. SVN revision: 83610
2013-02-04evas: Stop initializing and shutting Fontconfig downRaphael Kubo da Costa
A few days ago I was investigating a bug in the EFL WebKit port and noticed WebKit's and Evas' handling of Fontconfig are somewhat incompatible: while the evas_font code calls both FcInit() and FcFini() when on initialization and shutdown, respectively, WebKit keeps some Fontconfig objects alive until the process exits. In practice, this means that shutting Evas down will cause FcFini() to assert because there are objects which have not been properly destroyed. This is not really a WebKit-specific problem, as any program which also uses Fontconfig directly and shuts Evas down before destroying all FC resources it has allocated is going to crash in the same way. Other libraries such as Qt, Pango and Cairo do not explicitly initialize and shut Fontconfig down. Evas itself got this code in r40242 and was later adjusted in r45829 and r74870. Since we can't completely control the lifetime of all Fontconfig objects used in client code, I was thinking of doing the same thing as other libraries do and get rid of the calls to FcInit() and FcFini(). The part which is really important is not calling FcFini() -- this was already done for a while in the r45829 which I mentioned. Valgrind will complain about some "still reachable" memory blocks, but that's not really important (as raster said in that revision's commit message, "things may look like they leak in Valgrind - they dont. in reality"). Note: tasn tried to talk about it with fc guys and it's the way to go. They won't implemented refcount as suggested in our ml. Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> SVN revision: 83605
2013-02-04evas: Rename evas_font_zero_presure()Raphael Kubo da Costa
There's an obvious typo in the function name, so appease my OCD and rename it. Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> SVN revision: 83604
2013-02-04edbus: Update EDBUS_VERSION_MINORRaphael Kubo da Costa
Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> SVN revision: 83603
2013-02-04efl/eina: prevent denial of service on eina_hash.Cedric BAIL
Thanks goes to Thiago Macieira for sharing the issue. This is the result of the cross-desktop talk at fosdem. A lot more comming in the futur ! SVN revision: 83578
2013-02-04efl/edje_entry: support &, < and > in preedit stringJihoon Kim
SVN revision: 83575
2013-02-01fix typo in stringshare_refplace docMike Blumenkrantz
SVN revision: 83565
2013-02-01Tell X to create the edid atom if it is missing so we can return validChristopher Michael
edid information. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83556
2013-02-01Length is optional here when getting edid from output.Christopher Michael
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83554
2013-02-01add eina_stringshare_refplace(): same as replace(), but calls ref instead of addMike Blumenkrantz
also fixed a small doc error SVN revision: 83549
2013-02-01finally addressing complaints regarding eina_list_last_data_get() not being ↵Mike Blumenkrantz
a function. well now it is SVN revision: 83547
2013-02-01add eet_data_descriptor_name_get()Mike Blumenkrantz
SVN revision: 83546
2013-01-31Fixing a mem leak by adding a call to dns_ai_close which will save us Guillaume Friloux
800 bytes per ecore_con_server_connect() call. SVN revision: 83517
2013-01-31Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed ↵Jaehwan Kim
object is invisible by proxy object. SVN revision: 83501
2013-01-31efl: Fix a warningMike McCormack
Signed-off-by: Mike McCormack <mike@atratus.org> SVN revision: 83498