Cedric BAIL
966ca4602e
efl/evas: move smart object data to smart object only.
...
SVN revision: 83847
2013-02-12 07:59:53 +00:00
Cedric BAIL
2943dcbc66
efl/evas: let the cow eat more.
...
memfile are not used that often like other direct pixels manipulation code.
Merging them into the same structure make sense and reduce the memory cost
for normal image object. Save between 8 to 16 bytes per image object.
SVN revision: 83843
2013-02-12 07:09:17 +00:00
Carsten Haitzler
d1c6f7d937
don't know if this will help - but try quieten some valgrind
...
complaints... :/ (trying)
SVN revision: 83840
2013-02-12 06:49:42 +00:00
Cedric BAIL
5acb8abc5c
efl/evas: fix that awesome memory leak in E17 and every apps that don't change font name.
...
SVN revision: 83837
2013-02-12 06:07:25 +00:00
Cedric BAIL
ed58d0dd05
efl/eina: let's do all include.
...
SVN revision: 83833
2013-02-12 01:42:47 +00:00
Stefan Schmidt
a9b1e78916
efl/evas: Remove stray ; from evas_gl_core.
...
SVN revision: 83830
2013-02-11 15:03:56 +00:00
Stefan Schmidt
446687d63d
efl/edbus: Make sure to compare EOF against an int from fgetc.
...
Fgetc() return an int to clearly detect EOF. If you want to read more about it:
http://stackoverflow.com/questions/11057259/fgetc-checking-eof
SVN revision: 83829
2013-02-11 15:03:41 +00:00
Stefan Schmidt
62a20b6e95
efl/evas_w32/engine: Add interface name and version.
...
Again they are already used but nobody did bother to declare or define them.
I have choosen the name with what came into my head first and version seem
to be 1 in other engines, too. Evas engine gods please review.
SVN revision: 83826
2013-02-11 13:39:16 +00:00
Stefan Schmidt
4ae1c0d1cb
efl/evas_w32/engine: Add and declare a variable.
...
iface is already be used in the code but not available as variable at all.
*spank, spank*
SVN revision: 83825
2013-02-11 13:27:20 +00:00
Stefan Schmidt
6ef1fc791a
efl/evas_w32/engine: Fix typo to have a functional #endif
...
SVN revision: 83824
2013-02-11 13:18:23 +00:00
Stefan Schmidt
fe86e29fa6
efl/ethumb: Fix more memory leaks in ethumbd_slave.c
...
MAke sure we free strdup'ed memory when hittign an error case.
SVN revision: 83818
2013-02-11 10:54:34 +00:00
Stefan Schmidt
664b4b9db4
efl/ethumb: Fix memory leak on error path in ethumb_slave.
...
When we hit an error with _ec_pipe_str_read we should clean up the strdup
from previous calls to avoid leaks in the error case.
SVN revision: 83817
2013-02-11 10:54:29 +00:00
Christopher Michael
036a067a2c
Fix major memory stompage when using ecore_xcb_atom routines.
...
Thanks TAsn ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83807
2013-02-11 07:12:18 +00:00
Daniel Zaoui
ec7a42b204
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83802
2013-02-10 07:52:17 +00:00
Ricardo de Almeida Gonzaga
825df518a9
efl: now if an error occurs on install-examples, the build will stop
...
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 83796
2013-02-08 17:35:31 +00:00
Ricardo de Almeida Gonzaga
512c759081
efl: add makefile.examples to each lib
...
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 83795
2013-02-08 17:35:24 +00:00
Ricardo de Almeida Gonzaga
e379743c95
efl: add and fix some gcc lines and fix some examples. Its not possible to build from outside the directory with eina_prefix, the build still depends on PACKAGE_DATA_DIR
...
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
SVN revision: 83794
2013-02-08 17:35:17 +00:00
Stefan Schmidt
6467f60395
efl/eina_xattr: Fix memory leak in eina_xattr_value_ls.
...
In the error case we freed the iterator but not the attribute.
SVN revision: 83791
2013-02-08 15:49:59 +00:00
Stefan Schmidt
c24aaf9bd0
efl/emotion: Fix memory leak in gstreamer_ecore_x_check().
...
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-08 15:49:56 +00:00
Daniel Willmann
139737247d
Refactor evas_sw_xlib_outbuf to allocate less in case of rotations.
...
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-08 15:49:50 +00:00
Daniel Juyung Seo
0ed38dbc64
efl, evas_generic_loaders: Removed unused variable. Set EINA_UNUSED to unused variables.
...
SVN revision: 83788
2013-02-08 15:47:11 +00:00
Tom Hacohen
548e548632
Evas textblock: Fixed a selection issue.
...
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-08 15:31:25 +00:00
Carsten Haitzler
dbaf2b8fde
and handle rotated swapbuf if bufsz doesnt match... PROPERLY.
...
SVN revision: 83781
2013-02-08 12:22:04 +00:00
Rafael Antognolli
db268ceb43
ecore/wayland: Don't use edge info for resizing in some cases.
...
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-08 11:50:09 +00:00
Rafael Antognolli
d74b652b29
evas/wayland_egl: Fix Evas pointer assignment.
...
Don't assign the public data to an Evas *.
SVN revision: 83778
2013-02-08 11:50:06 +00:00
Carsten Haitzler
73e9b8ea3d
oops - add back in snprintf.
...
SVN revision: 83768
2013-02-08 09:00:29 +00:00
Carsten Haitzler
c736dd323d
fix ecore_x_screen_is_composited...
...
SVN revision: 83767
2013-02-08 08:56:00 +00:00
Guillaume Friloux
8acf1ebdf2
Improving ecore_con_server_flush to avoid a faceplant over the OOM
...
Killer when sending big files. I will explain more in a mail comming
after this commit.
SVN revision: 83766
2013-02-08 08:35:27 +00:00
Carsten Haitzler
5a80685803
swapper infra work - handle if buffer sizes dont match... :)
...
SVN revision: 83764
2013-02-08 07:23:31 +00:00
Carsten Haitzler
afd8a714f4
devilhorns: ummmm lets not segv and run allover the stack shall we? memset the
...
size of memory we ALLOCATED!
SVN revision: 83757
2013-02-08 03:35:11 +00:00
Christopher Michael
37749b3d3e
Add ecore_x_randr_crtc_info_free function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83739
2013-02-07 12:43:55 +00:00
Christopher Michael
736d81e866
Add ecore_x_randr_crtc_info_free function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83738
2013-02-07 12:43:51 +00:00
Christopher Michael
2fe1fa053f
Fix crtc_info_get function (memcpy fails here in some cases, so
...
manually allocate and copy things over).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83737
2013-02-07 12:43:46 +00:00
Cedric BAIL
ad0bb4c6f6
efl/evas: small speed improvement when doing auto sizing of text object.
...
SVN revision: 83732
2013-02-07 10:48:07 +00:00
Christopher Michael
20d1df8a23
Add ecore_x_randr_crtc_info_get function.
...
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-07 09:32:24 +00:00
Christopher Michael
913f50642c
Add new Ecore_X_Randr_Crtc_Info structure.
...
Add header function for ecore_x_randr_crtc_info_get.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83727
2013-02-07 09:28:58 +00:00
Daniel Juyung Seo
48a06f1252
eina eina_inlist.c: Fixed formatting while reading the code.
...
SVN revision: 83714
2013-02-07 08:03:44 +00:00
Jihoon Kim
8297e007ba
fix typo in document about ecore_getopt_callback_ecore_evas_list_engines.
...
It's wrriten by Patryk Kaczmarek <patryk.k@samsung.com>
SVN revision: 83710
2013-02-07 07:45:04 +00:00
Cedric BAIL
e684f5a823
efl/eina: Eina_Tiler take tile size into account.
...
SVN revision: 83708
2013-02-07 07:32:45 +00:00
WooHyun Jung
5d3e2e48d2
[edje/edje_program] Checking walking_callbacks for not removing patterns which are still used.
...
SVN revision: 83700
2013-02-07 05:36:47 +00:00
Cedric BAIL
d9cafa2052
eina: disable randomisation for Eina_Hash superfast.
...
SVN revision: 83698
2013-02-07 03:07:32 +00:00
Cedric BAIL
1cb8c3c006
efl/eina: fix map leak in Eina_File.
...
SVN revision: 83668
2013-02-06 09:28:00 +00:00
Cedric BAIL
57badb0587
efl/eina: check that we always put some random value in hash.
...
SVN revision: 83655
2013-02-06 07:03:38 +00:00
Rafael Antognolli
a158958267
ecore/wayland: Always send the mouse button event.
...
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-05 18:21:33 +00:00
Eduardo Lima (Etrunko)
251544ad7e
Fix return of ecore_wl_outputs_get() function
...
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-05 17:23:38 +00:00
U. Artie Eoff
a2197ce503
Export API to C++, add wl_registry and global accessors
...
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-05 16:53:31 +00:00
Tom Hacohen
f9cf5bb374
Eo tests: Beginning of test output cleanup.
...
SVN revision: 83635
2013-02-05 14:37:28 +00:00
Jihoon Kim
e5675179b4
efl/ecore_imf: add comment about ecore_imf_context_cursor_position_set()
...
SVN revision: 83630
2013-02-05 13:43:47 +00:00
Rafael Antognolli
74cb944f25
ecore/wayland: Add window state changed callback to Ecore_Wl_Window.
...
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-05 12:19:40 +00:00
Christopher Michael
562b278b52
Be a lot more pedantic and add some more safety checks about xrandr
...
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-05 11:55:51 +00:00
Christopher Michael
0c76117e1e
Be a bit more pedantic when getting outputs for a crtc, in that if
...
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-05 10:51:57 +00:00
Christopher Michael
f317906408
Set number of returned modes early in the process.
...
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-05 08:53:18 +00:00
Rafael Antognolli
cc2b953b65
ecore_evas/wayland_egl: Fix window resize when using meta+middle click.
...
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-04 18:40:14 +00:00
Raphael Kubo da Costa
29dd8e2b47
evas: Stop initializing and shutting Fontconfig down
...
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-04 15:37:41 +00:00
Raphael Kubo da Costa
b236ac69bd
evas: Rename evas_font_zero_presure()
...
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-04 15:33:38 +00:00
Raphael Kubo da Costa
ad5355a307
edbus: Update EDBUS_VERSION_MINOR
...
Patch by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
SVN revision: 83603
2013-02-04 15:29:41 +00:00
Cedric BAIL
01dba3fbc0
efl/eina: prevent denial of service on eina_hash.
...
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-04 07:52:56 +00:00
Jihoon Kim
4b1edd906c
efl/edje_entry: support &, < and > in preedit string
...
SVN revision: 83575
2013-02-04 00:57:50 +00:00
Mike Blumenkrantz
afa9c0ab97
fix typo in stringshare_refplace doc
...
SVN revision: 83565
2013-02-01 12:57:44 +00:00
Christopher Michael
cdb82dc2df
Tell X to create the edid atom if it is missing so we can return valid
...
edid information.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83556
2013-02-01 12:06:55 +00:00
Christopher Michael
e6be42978b
Length is optional here when getting edid from output.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83554
2013-02-01 11:50:59 +00:00
Mike Blumenkrantz
1f9a84b9cc
add eina_stringshare_refplace(): same as replace(), but calls ref instead of add
...
also fixed a small doc error
SVN revision: 83549
2013-02-01 11:12:33 +00:00
Mike Blumenkrantz
bfc76668f4
finally addressing complaints regarding eina_list_last_data_get() not being a function. well now it is
...
SVN revision: 83547
2013-02-01 11:02:53 +00:00
Mike Blumenkrantz
f9d80e493a
add eet_data_descriptor_name_get()
...
SVN revision: 83546
2013-02-01 10:59:23 +00:00
Guillaume Friloux
a3f013ad2f
Fixing a mem leak by adding a call to dns_ai_close which will save us
...
800 bytes per ecore_con_server_connect() call.
SVN revision: 83517
2013-01-31 14:04:54 +00:00
Jaehwan Kim
2c3b1b4143
Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.
...
SVN revision: 83501
2013-01-31 05:52:59 +00:00
Mike McCormack
089bfed33f
efl: Fix a warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83498
2013-01-31 03:30:59 +00:00
Jihoon Kim
916ef25fe8
efl/edje entry : Remove ecore_imf_context_cursor_position_set in functions related to selection.
...
SVN revision: 83495
2013-01-31 01:01:33 +00:00
Christopher Michael
ea30a66335
Since we actually support RandR 1.4 now, lets increment the minor
...
version number.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83484
2013-01-30 15:12:22 +00:00
Christopher Michael
8075dbc796
Remove blank line.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83483
2013-01-30 15:12:15 +00:00
Tom Hacohen
4b230bb164
Eo dbg info: Add support for to_string.
...
SVN revision: 83481
2013-01-30 13:35:31 +00:00
Christopher Michael
324e84e307
Add UNUSED for parameter that is not used.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83474
2013-01-30 10:30:54 +00:00
Christopher Michael
afcc2c64c7
Actually Implement RandR 1.4 functions (with code) ;)
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83471
2013-01-30 10:18:44 +00:00
Christopher Michael
d2a5654c2a
Fix randr 1.4 function declarations to be sane (match rest of efl):
...
There is no point in returning a rectangle if we are filling in the
x, y, w, h params also. That's just stupidness.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83470
2013-01-30 10:18:41 +00:00
Christopher Michael
469aebad27
Fix gamma functions (unsure how this all got messed up from previous
...
commit).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83469
2013-01-30 10:18:38 +00:00
Christopher Michael
cdeedfb975
Fix parameters for new RandR 1.4 functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83468
2013-01-30 10:18:35 +00:00
Christopher Michael
4739b506c0
Add the missing RandR 1.4 functions to Ecore_X header.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83467
2013-01-30 10:18:32 +00:00
Christopher Michael
1330412be7
Deprecate old ecore_x_randr_crtc_gamma functions.
...
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Add some missing UNUSED for function params.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83465
2013-01-30 09:32:52 +00:00
Christopher Michael
7fbaead218
Deprecate old ecore_x_randr_crtc_gamma functions.
...
Create new (proper) Ecore_X_Randr_Crtc_Gamma_Info structure.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83464
2013-01-30 09:32:44 +00:00
Christopher Michael
390c54eda3
Add missing UNUSED to some function parameters.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83458
2013-01-30 07:25:43 +00:00
Sanjeev BA
7b55dc5135
Remove redundant return statement.
...
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>
SVN revision: 83454
2013-01-30 00:27:28 +00:00
Boris Faure
d9e05b1b40
ecore_x: randr: don't crash when launching e without second screen
...
SVN revision: 83449
2013-01-29 19:55:42 +00:00
Tom Hacohen
70156285b0
Eo dbg: Use eina_value as the debug info type.
...
SVN revision: 83443
2013-01-29 16:36:01 +00:00
Christopher Michael
139ca23be1
Remove ecore_x_randr.h file from Make. Not needed anymore.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83440
2013-01-29 14:48:18 +00:00
Christopher Michael
8e62eb9519
Implement & fix ecore_x_randr code.
...
NB: All functions which are in the Ecore_X header have now been
implemented except for 2.
NB: No support yet for the RandR 1.4 functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83439
2013-01-29 14:48:14 +00:00
Christopher Michael
ed1de4e72e
Fix makefile for new randr code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83438
2013-01-29 14:48:11 +00:00
Christopher Michael
3888089a7f
Remove old randr code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83437
2013-01-29 14:48:08 +00:00
Christopher Michael
c951fb5a2d
Use palette mode none for conversion.
...
Comment out idle_flush (for now) as it is causing some segfaults with
elm_win_util_standard_add for some strange reason.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83436
2013-01-29 14:40:21 +00:00
Carsten Haitzler
a349bdc734
fix edje cache miss
...
SVN revision: 83431
2013-01-29 13:48:15 +00:00
Carsten Haitzler
6bf7dd8775
also check priv->o before..
...
SVN revision: 83428
2013-01-29 10:45:31 +00:00
Carsten Haitzler
c73bf6fd00
emotion - be gooder. (use DEL callback not fREE and .. check priv->o!
...
SVN revision: 83427
2013-01-29 10:44:44 +00:00
Carsten Haitzler
bf9f42be90
add @since.
...
SVN revision: 83419
2013-01-29 08:24:21 +00:00
Carsten Haitzler
29ebec4bfb
MINOR feature... not worth changelogging - add send event flag to
...
ecore-x-hide event.
SVN revision: 83418
2013-01-29 08:23:40 +00:00
Aharon Hillel
028f059d32
Clouseau-Eo integration: Added debug info functions.
...
From now, classes implementing the Eo function with id
EO_BASE_SUB_ID_DBG_INFO_GET will be able to show in Clouseau their own
specific information.
Information contents is controlled by the class itself and no more
by Clouseau. Basic types and lists are supported..
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 83410
2013-01-29 06:36:23 +00:00
Jihoon Kim
ed8e0f222a
efl/ecore_imf: remove trailing whitespace in Ecore_IMF.h
...
SVN revision: 83409
2013-01-29 06:17:13 +00:00
Cedric BAIL
da4efb7b56
efl/edje: one less use of evas_object_type_get.
...
SVN revision: 83408
2013-01-29 06:01:42 +00:00
Jihoon Kim
3291f02bff
efl/ecore_imf: fix wrong commit. name, address type shouldn't be uploaded :(
...
SVN revision: 83403
2013-01-29 04:41:23 +00:00
Jihoon Kim
27968b4fec
efl/ecore_imf: fix typo in doxygen
...
SVN revision: 83397
2013-01-29 02:52:53 +00:00
Jihoon Kim
aee571bf18
efl/ecore_imf: supplement the document about ecore_imf_context_cursor_position_set and ecore_imf_context_reset
...
SVN revision: 83396
2013-01-29 02:43:42 +00:00
Cedric BAIL
73694511de
efl/edje: in fact we can now use eo_isa for that purpose.
...
SVN revision: 83395
2013-01-29 02:29:34 +00:00
ChunEon Park
8a7e99b67e
edje - [Edje: Bug fix] NULL check is added before strcmp() in _edje_real_part_swallow() function
...
Hi,
Can some one please verify and merge the attahed patch with open source svn Edje code.
[Issue details :]
NULL checking is not done before sending a string to strcmp().
In _edje_real_part_swallow() function of edje_util.c file, evas_object_type_get() API can return NULL and if
this NULL value is directly passed to strcmp(), it causes a crash.
[Issue fix :]
NULL check is added for obj_type before passing it to strcmp().
Thanks & Regards,
Sumanth
Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com )
SVN revision: 83393
2013-01-29 00:07:17 +00:00
Rafael Antognolli
c46b096c78
ecore_evas/wayland: Merge code from egl and shm engines into common.
...
Since the render code on both engines is using the frame callback, let's
merge it to avoid code duplication.
SVN revision: 83390
2013-01-28 20:28:19 +00:00
Rafael Antognolli
9afa66d722
evas/wayland_egl: Add do_async flag to this engine, but don't use it.
...
SVN revision: 83389
2013-01-28 20:00:03 +00:00
Rafael Antognolli
f75b01b545
ecore_evas/wayland: Add _ecore_evas_wl_common_render_updates back.
...
It shouldn't be removed, since it's still being used.
SVN revision: 83388
2013-01-28 19:45:41 +00:00
Rafael Antognolli
1210067fbe
ecore_evas/wayland_egl: Only render if last frame has been presented.
...
This avoids blocking in eglSwapBuffers and has the side effect of
avoiding doing unnecessary work - painting where a frame won't be
presented.
We do this by using the event that the wayland compositor will send us
to tell us that the frame has been presented. Due to the fact that
evas_render_updates() could do no work and not cause a eglSwapBuffers we
must always have a frame callback listener setup.
Original patch by: Rob Bradford <rob@linux.intel.com>
(I just adjusted the patch to the single efl tree)
SVN revision: 83387
2013-01-28 19:13:46 +00:00
Daniel Willmann
003b7f12d8
edje-multisense: Don't fail if edje-multisense is not enabled
...
Ifdef all the functions that reference ecore_audio so this file can be
compiled without ecore_audio enabled.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 83384
2013-01-28 16:05:49 +00:00
Daniel Juyung Seo
d3e6ba7b78
ecore Ecore_Getopt.h: use one liner for function declaration like other apis.
...
SVN revision: 83383
2013-01-28 15:47:19 +00:00
Daniel Willmann
d2f926a449
edje-multisense: Get rid of the old files
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 83382
2013-01-28 15:15:37 +00:00
Daniel Willmann
e069b829bf
edje-multisense: Replace sound handling with ecore_audio
...
The speed keyword is not yet implemented.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 83380
2013-01-28 15:15:20 +00:00
Christopher Michael
5df48569c8
Free the swapper when we remove the Outbuf.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83378
2013-01-28 08:31:22 +00:00
Carsten Haitzler
a8b7d8551d
oops - forgot to free swapper on swapbuf free! :)
...
SVN revision: 83377
2013-01-28 04:00:36 +00:00
Cedric BAIL
1f1e0cd332
efl/evas: roll in Eina_Cow for Evas_Object_Image cur/prev.
...
This gave us back around 500KB at peak memory consumption in expedite.
More test to come.
SVN revision: 83376
2013-01-28 00:28:53 +00:00
Cedric BAIL
6414b0864f
efl/eina: fix some memleak and improve speed of eina_cow_memcpy.
...
SVN revision: 83375
2013-01-28 00:22:21 +00:00
Cedric BAIL
6174b1c5cf
efl/evas: make shutdown/init cycle work again.
...
SVN revision: 83368
2013-01-27 08:42:57 +00:00
Cedric BAIL
00f8823b95
efl/evas: use inheritance instead of strcmp and work around code running between destructor and free.
...
SVN revision: 83367
2013-01-27 08:34:22 +00:00
Cedric BAIL
8589836860
efl/evas: reduce commit to evas_object_image.
...
SVN revision: 83365
2013-01-27 06:31:11 +00:00
Jiyoun Park
e290dfae93
add info log related with mouse down/up
...
SVN revision: 83351
2013-01-26 09:47:21 +00:00
Jihoon Kim
7cd88ec35a
ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
...
SVN revision: 83341
2013-01-26 03:30:16 +00:00
Jihoon Kim
782a3f0a1a
ecore_imf_example: add parameter NULL checking
...
SVN revision: 83340
2013-01-26 03:01:12 +00:00
Jihoon Kim
0753ec709d
ecore_imf_example: fix comment style
...
SVN revision: 83339
2013-01-26 02:58:50 +00:00
Jihoon Kim
81370c8926
ecore_imf_example: add mouse down event handler
...
SVN revision: 83338
2013-01-26 02:49:39 +00:00
Carsten Haitzler
a9eeda6300
paranoia++ -> if g->object is null - dont use it. :/
...
SVN revision: 83337
2013-01-26 02:34:59 +00:00
Boris Faure
11b98b32e2
evas: make e start again…
...
SVN revision: 83336
2013-01-25 22:21:37 +00:00
Mike McCormack
3fe5d4d6aa
efl: Fix shadow warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83335
2013-01-25 21:30:54 +00:00
Mike McCormack
3642599e8f
efl: Fix unused parameter warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83334
2013-01-25 21:30:48 +00:00
Stefan Schmidt
eae46ba95d
efl/eina: Fix strings to compare correctly and pass test suite.
...
This one is for Cedric.
SVN revision: 83332
2013-01-25 16:03:47 +00:00
Cedric BAIL
c538d8bde3
efl/evas: prevent leak and over write.
...
SVN revision: 83331
2013-01-25 15:19:32 +00:00
Cedric BAIL
6c7edfd38e
efl/evas: roll in more cow, using a new macro per Eina_Cow.
...
SVN revision: 83325
2013-01-25 12:15:38 +00:00
Christopher Michael
aa1f8b4eac
Let's do malloc the EFL way here.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83320
2013-01-25 07:19:48 +00:00
Cedric BAIL
93d1705f77
efl/eina: what the ?? Update text for magic test...
...
SVN revision: 83319
2013-01-25 06:16:33 +00:00
Jihoon Kim
7dd5b326d8
edje entry: move ecore_imf_context_cursor_position_set from mouse down event to mouse up event
...
SVN revision: 83318
2013-01-25 05:15:46 +00:00
Jihoon Kim
57103879f5
edje entry: remove ecore_imf_context_reset, cursor update in mouse move event because it's useless.
...
SVN revision: 83317
2013-01-25 05:10:47 +00:00
Cedric BAIL
7636dc88c4
eina: try to fix debug build typo.
...
SVN revision: 83315
2013-01-25 01:20:58 +00:00
U. Artie Eoff
c36058806a
Cache wayland globals
...
Store the wayland registry globals in a list so that we can bind to them from a
user/test program. When a custom interface (protocol extension) is used in a
wayland compositor, this allows user/test program to use that interface. For
instance, one might provide a custom wayland test protocol that give access to
otherwise hidden/missing functionality that allows effective automated testing
(in wayland engines). See the Weston unit test suite for an example of this
concept.
Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com>
SVN revision: 83312
2013-01-24 22:03:22 +00:00
Boris Faure
fb3c280a95
efl: more valgrind related fixes on eina_cow
...
SVN revision: 83311
2013-01-24 21:42:18 +00:00
Eduardo de Barros Lima
08b96ebc1c
Move typedef enum declarations after the enum to make g++ happy.
...
When compiling a C++ program that includes Ecore_Wayland:
Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration
Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token
Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration
Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token
This patch fixes ticket #2217 .
SVN revision: 83310
2013-01-24 21:35:06 +00:00
Boris Faure
8d13c5ce3e
efl: eina_cow: fix some valgrind instrumentation
...
SVN revision: 83308
2013-01-24 21:06:41 +00:00
Bruno Dilly
1f30bdde5c
edbus: implement edbus_proxy_data_{get, set, del}
...
The prototypes for those functions are defined in edbus_proxy.h, however
there's no implementation at all.
By Raphael Kubo <raphael.kubo.da.costa@intel.com>
SVN revision: 83299
2013-01-24 13:09:26 +00:00
Christopher Michael
def83a6eb1
Add logging function macros
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83294
2013-01-24 12:15:11 +00:00
Christopher Michael
cfbdc648d1
Add logging functions
...
Remove dead commented out code
Do not call wl_surface_attach if the buffer is the same as the one
already attached.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83293
2013-01-24 12:15:07 +00:00
Christopher Michael
b8a9d67c88
Add code to delete the shm pool when we destroy the swapper.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83291
2013-01-24 09:59:50 +00:00
Christopher Michael
76dea59613
Rewrite swapper code to use One shm pool and allocate buffers from
...
that pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83290
2013-01-24 09:21:40 +00:00
Christopher Michael
e645261b95
Remove 'return' in idle_flush.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83289
2013-01-24 09:21:37 +00:00
Christopher Michael
801cfc567d
Use eina_rectangle_free
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83288
2013-01-24 09:21:34 +00:00
Christopher Michael
fdd0a37c61
Add onebuf field to Outbuf struct.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83287
2013-01-24 09:21:30 +00:00
Christopher Michael
0e6b2ad6f7
Reset Render_Engine onebuf if it was set previously.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83286
2013-01-24 09:21:27 +00:00
Christopher Michael
e1fdc232e1
Use eina_rectangle_free to free the rect.
...
Be sure to increment i here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83285
2013-01-24 09:21:24 +00:00
Christopher Michael
95d6577c2d
Add function prototype for swapper_idle_flush.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83284
2013-01-24 09:21:21 +00:00
Christopher Michael
fd2c68dbf2
Add a swapper_buffer_idle_flush function to loop the Wl_Buffer
...
structures inside the swapper and release memory of any invalid ones.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83283
2013-01-24 09:21:18 +00:00
Christopher Michael
913d0cd170
Add code to handle idle_flush which will release memory that is unused
...
by invalid buffers.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83282
2013-01-24 09:21:15 +00:00
Christopher Michael
f785c9fc21
Support an environment variable to set the number of buffers (double
...
buffer by default).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83281
2013-01-24 09:21:12 +00:00
Christopher Michael
18ba710320
Double buffer by default.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83280
2013-01-24 09:21:09 +00:00
Christopher Michael
313e82c680
Rename the env variable that we will check for buffering support.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83279
2013-01-24 09:21:06 +00:00
Christopher Michael
40dec84b3e
Set the engine's wl_shm reference during creation.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83278
2013-01-24 09:21:04 +00:00
Christopher Michael
949d008b13
Check for valid wl_shm before trying to create the shm pool.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83277
2013-01-24 09:21:01 +00:00
Christopher Michael
fa783d8e75
Fix typo.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83276
2013-01-24 09:20:58 +00:00
Christopher Michael
b5c4759f1d
Rename 'time' parameter in function prototype.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83275
2013-01-24 09:20:55 +00:00
Christopher Michael
0d8e6279c5
Rename 'time' parameter.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83274
2013-01-24 09:20:45 +00:00
Christopher Michael
4203a3afbc
Remove unused variable.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83273
2013-01-24 09:20:40 +00:00
Christopher Michael
aed4b4e7b6
Remove included evas_outbuf.h
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83272
2013-01-24 09:20:36 +00:00
Christopher Michael
c329317711
Modify ecore_evas_wayland_shm to handle passing the wl_shm and
...
wl_surface to the new double-buffer engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83270
2013-01-24 09:20:29 +00:00
Christopher Michael
7ebc5523bb
Remove old line which did a wl buffer attach.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83269
2013-01-24 09:19:51 +00:00
Christopher Michael
269ce8364f
Remove all old code from ecore_evas that involved creating the wayland
...
buffer and shm pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83268
2013-01-24 09:18:34 +00:00
Christopher Michael
cf7153e8df
Add new wayland shm engine files to Makefile.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83267
2013-01-24 09:18:26 +00:00
Christopher Michael
ac1ecc770a
Add engine output redraws next update get code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83266
2013-01-24 09:18:19 +00:00
Christopher Michael
17225d31e8
Add merge rectangles code (borrowed from the x11 engine).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83265
2013-01-24 09:18:15 +00:00
Christopher Michael
824971a110
Add local function prototype for mergine rectangles.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83264
2013-01-24 09:18:09 +00:00
Christopher Michael
082f2c8f83
Add engine idle flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83263
2013-01-24 09:18:03 +00:00
Christopher Michael
b5ac8fe948
Add engine output flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83262
2013-01-24 09:17:56 +00:00
Christopher Michael
a3559d4c88
Add code for engine redraws push.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83261
2013-01-24 09:17:51 +00:00
Christopher Michael
4c04c1bb54
Add engine output redraws clear code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83260
2013-01-24 09:17:47 +00:00
Christopher Michael
866576b89b
Add engine output redraws rectangle del code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83259
2013-01-24 09:17:40 +00:00
Christopher Michael
7de14722fe
Add engine output redraws rectangle add code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83258
2013-01-24 09:17:37 +00:00
Christopher Michael
25e5af9ae6
Add engine tile size set function code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83257
2013-01-24 09:17:34 +00:00
Christopher Michael
6eda15c183
Add eng_output_resize code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83256
2013-01-24 09:17:30 +00:00
Christopher Michael
3dcaec35b5
Add code to the eng_output_free function to do any cleanup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83255
2013-01-24 09:17:26 +00:00
Christopher Michael
ae0076c929
Create engine context if missing and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83254
2013-01-24 09:17:23 +00:00
Christopher Michael
a2e3bfc356
Reassign engine data output
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83253
2013-01-24 09:17:19 +00:00
Christopher Michael
8fa451f2db
If we have an existing render engine already, then free the existing
...
output buffer, create a new one, and assign render engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83252
2013-01-24 09:17:15 +00:00
Christopher Michael
f72dfd4c31
Try to create the new Render_Engine on initial engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83251
2013-01-24 09:17:11 +00:00
Christopher Michael
034721bcd8
Add check to make sure output buffer creation worked.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83250
2013-01-24 09:17:00 +00:00
Christopher Michael
8a7ba73169
Add code to create the output buffer of the render engine and set the
...
render_engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83249
2013-01-24 09:16:55 +00:00
Christopher Michael
0fdbf94c23
Add initial swapper code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83248
2013-01-24 09:16:52 +00:00
Christopher Michael
7e13dc5459
Add initial header file for swapper.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83247
2013-01-24 09:16:49 +00:00
Christopher Michael
1d3cfce8a7
Remove include for evas_outbuf.h
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83246
2013-01-24 09:16:46 +00:00
Christopher Michael
f76eb06874
Add initial swap buffer code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83245
2013-01-24 09:16:42 +00:00
Christopher Michael
82e807115f
Add initial swap buffer header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83244
2013-01-24 09:16:39 +00:00
Christopher Michael
9b9fdf840b
Set tilebuffer tile size in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83243
2013-01-24 09:16:36 +00:00
Christopher Michael
fe75b1bf24
Try to create new tilebuffer in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83242
2013-01-24 09:16:22 +00:00
Christopher Michael
f0a6c5ca26
During engine setup, try to allocate a new Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83241
2013-01-24 09:16:19 +00:00
Christopher Michael
753aa3d487
Add base function for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83240
2013-01-24 09:16:15 +00:00
Christopher Michael
b1cadea6c5
Add local function prototype for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83239
2013-01-24 09:16:12 +00:00
Christopher Michael
b17b417b73
Add test for 'swapping' (ie: buffering).
...
NB: This env variable is going to change for the wayland engine(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83238
2013-01-24 09:16:09 +00:00
Christopher Michael
5296f0c2cd
Add some evas_common init functions if we have not previously
...
initialized this engine before.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83237
2013-01-24 09:16:06 +00:00
Christopher Michael
7cd113ea47
Test for valid engine output to see if we need to create it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83236
2013-01-24 09:16:03 +00:00
Christopher Michael
1e41dcd37f
Try to get the Evas public data from eo.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83235
2013-01-24 09:15:59 +00:00
Christopher Michael
98e58d34a1
Try to cast the passed in info to our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83234
2013-01-24 09:15:56 +00:00
Christopher Michael
57bb76834d
Try to free the allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83233
2013-01-24 09:15:53 +00:00
Christopher Michael
80f8fcfeeb
Return our allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83232
2013-01-24 09:15:49 +00:00
Christopher Michael
f3d29d891b
Fill in some default properties for our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83231
2013-01-24 09:15:15 +00:00
Christopher Michael
c13e0e7b5f
Try to allocate our engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83230
2013-01-24 09:15:12 +00:00
Christopher Michael
3cdf6d6a50
Tell the Evas_Module about our functions and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83229
2013-01-24 09:15:08 +00:00
Christopher Michael
77a205eac8
Define which functions this engine will override from the
...
software_generic functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83228
2013-01-24 09:15:05 +00:00
Christopher Michael
aa1bd96e2d
Copy the inherited functions into our local variable so we can
...
override some functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83227
2013-01-24 09:15:00 +00:00
Christopher Michael
1dbfd6c541
Try to inherit functions from the software_generic engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83226
2013-01-24 09:14:57 +00:00
Christopher Michael
145e8f8ced
On module open, create our log domain
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83225
2013-01-24 09:14:54 +00:00
Christopher Michael
6340706c3f
Unregister the module log domain on shutdown of the engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83224
2013-01-24 09:14:50 +00:00
Christopher Michael
e91f12c8e9
Add skeleton code for evas module open/close, etc.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83223
2013-01-24 09:14:46 +00:00
Christopher Michael
bc8f383098
Add skeleton code for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83222
2013-01-24 09:14:31 +00:00
Christopher Michael
318eb79973
Add variable(s) for engine function overrides.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83221
2013-01-24 09:14:27 +00:00
Christopher Michael
440c4b72e0
Add prototypes for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83220
2013-01-24 09:14:22 +00:00
Christopher Michael
12320fcb5e
Add variable for log domain.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83219
2013-01-24 09:14:19 +00:00
Christopher Michael
0579a8b82c
Add Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83218
2013-01-24 09:14:16 +00:00
Christopher Michael
a76b0245b9
Add initial evas_engine C file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83217
2013-01-24 09:14:13 +00:00
Christopher Michael
fd10050f53
Add intial Outbuf structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83216
2013-01-24 09:14:10 +00:00
Christopher Michael
158fe19edb
Add enum for render mode (double, triple, etc).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83215
2013-01-24 09:14:07 +00:00
Christopher Michael
7e85b84098
Add Outbuf Depth enum.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83214
2013-01-24 09:14:04 +00:00
Christopher Michael
9d1d8f4c63
Add initial evas_engine header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83213
2013-01-24 09:14:00 +00:00
Christopher Michael
1577c5913e
Add initial Evas_Engine_Wayland_Shm header file and remove legacy
...
'dest' field from engine info structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83212
2013-01-24 09:13:57 +00:00
Christopher Michael
0b5e371bc7
Remove old wayland shm engine code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83211
2013-01-24 09:13:54 +00:00
Sung Park
0c7425a0aa
Add EVAS_GL_DIRECT_MEM_OPT to enable on-demand fallback memory
...
allocation policy for EvasGL direct rendering.
Also made some variable name changes and some other minor fixes.
SVN revision: 83199
2013-01-24 04:51:51 +00:00
Cedric BAIL
5d335bb50b
efl/eina: it's really an error, thanks Ulisses.
...
SVN revision: 83198
2013-01-24 03:54:47 +00:00
Cedric BAIL
efa613597d
efl/eina: one more typo.
...
SVN revision: 83197
2013-01-24 03:04:05 +00:00
Cedric BAIL
eff597ea1e
eina: fix some warning.
...
SVN revision: 83196
2013-01-24 02:58:00 +00:00
Cedric BAIL
b1d856bc8b
efl/eina: detect when freeing pointer inside an allocated memory.
...
SVN revision: 83195
2013-01-24 02:44:14 +00:00
Cedric BAIL
3cfd345a91
efl/eina: simplify mempool logic.
...
SVN revision: 83194
2013-01-24 02:23:59 +00:00
Cedric BAIL
f64ab2c8dd
efl/evas: revert the revert, and indeed the bug was somewhere else.
...
SVN revision: 83193
2013-01-24 01:50:57 +00:00
Cedric BAIL
be0f7fcaa0
efl/evas: don't over write when not needed.
...
SVN revision: 83192
2013-01-24 01:43:03 +00:00
Cedric BAIL
05b4d1b3cd
efl/eina: improve Eina_Cow.
...
- Add valgrind macro arround Eina_Cow internal data.
- Add a #define for Eina_Magic on Eina_Cow returned pointer.
- Fix a bug done during free on a mempool data (Need to improve
mempool to catch this one more easily next time).
SVN revision: 83191
2013-01-24 01:42:20 +00:00
Cedric BAIL
d282e075ef
efl/eina: don't over align when the structure is already aligned.
...
SVN revision: 83189
2013-01-24 01:38:12 +00:00
Cedric BAIL
65344d7a7f
efl/eina: let us know where that wrong Eina_Magic was in memory.
...
SVN revision: 83188
2013-01-24 01:37:20 +00:00
Christopher Michael
8ce1afd62f
leak--
...
If we do not have a private palette here, we free the buffer and
return NULL, However we never free'd the xob that was allocated
previously.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83163
2013-01-23 11:12:52 +00:00
Christopher Michael
8aead73fe5
Free the previously allocated rectangle is we do not need it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83162
2013-01-23 11:07:59 +00:00
Christopher Michael
c4b536e500
Do not allocate Outbuf_Region if we do not need it (leak--).
...
- If the output buffer has a 'onebuf' and we are going to return
that, then we do not need to allocate an Outbuf_Region.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83161
2013-01-23 11:07:55 +00:00
Christopher Michael
b07683009a
leak--. If we are returning NULL on buffer_new, then free any allocated xob
...
structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83158
2013-01-23 10:55:04 +00:00
Carsten Haitzler
07c3ce0bbe
ummm this really fubars stuff up cedric.. revert. put it back when u
...
have figured things out. :)
SVN revision: 83143
2013-01-23 10:07:31 +00:00
Stefan Schmidt
f57257b3ec
efl/ecore(xcb: Port leak fix from xlib to xcb backend
...
SVN revision: 83136
2013-01-23 09:51:53 +00:00
Stefan Schmidt
4cc93b9f2c
efl/ecore_x: Fix leak of data.
...
If we fail we still have the malloced data. Free it in this case. Bot
commit for devilhors.
SVN revision: 83135
2013-01-23 09:51:47 +00:00
Stefan Schmidt
b9d18d770b
efl: Switch from deprecated eina_unicode_utf8_get_next to eina_unicode_utf8_next_get
...
SVN revision: 83130
2013-01-23 09:09:57 +00:00
ChunEon Park
fd23523a02
ecore - ECORE_CALLBACK_DONE is right contextually.
...
SVN revision: 83125
2013-01-23 07:41:00 +00:00
Carsten Haitzler
64c4f34bc0
sorry - have to revert this as this brings the efl tree build to a
...
grinding halt - it wasn't great before.. but now it's totally broken. :(
e.g.:
/bin/bash ../libtool --tag=CC --mode=link ccache gcc -std=gnu99
-O2 -g -pipe -march=native -fvisibility=hidden -ffast-math -W -Wall
-Wextra -Wno-shadow -Wno-unused-but-set-parameter -o bin/eet/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/libeet.la
libtool: link: ccache gcc -std=gnu99 -O2 -g -pipe -march=native
-fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow
-Wno-unused-but-set-parameter -o bin/eet/.libs/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/.libs/libeet.so
/usr/bin/ld: bin/eet/bin_eet_eet-eet_main.o: undefined reference to
symbol 'eina_iterator_next'
/usr/bin/ld: note: 'eina_iterator_next' is defined in DSO
/usr/local/lib/libeina.so.1 so try adding it to the linker command line
/usr/local/lib/libeina.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
SVN revision: 83112
2013-01-22 23:48:04 +00:00
Carsten Haitzler
5e8f9c0689
oops - minor "never wil happen" leak - free rect.
...
SVN revision: 83110
2013-01-22 23:31:43 +00:00
Gustavo Sverzut Barbieri
f7106d372a
fix cserve2 module dependencies.
...
they use evas, not the same libraries as evas.
SVN revision: 83106
2013-01-22 22:18:21 +00:00
Daniel Willmann
fecf68a886
efl: Unbreak evas gif-loader animation support
...
Always returning -1 for the frame duration does not have the desired
effect. Fix the logic checking whether eina_file_open has succeeded.
Animated GIFs play way too fast without this.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 83100
2013-01-22 19:00:08 +00:00
José Roberto de Souza
ba63fa7ed2
efl/edbus: Fix edbus_name_owner_changed() when bus name is not on bus
...
If we pass the last argument as TRUE, that means user want to know the actual
bus id of the bus name and if the bus name is not registered it never notify
the user.
This bug was insert when fixing another one, because of that there more code
here to fix the previous bug too.
Patch by: José Roberto de Souza <zezsouza@gmail.com>
SVN revision: 83082
2013-01-22 13:34:34 +00:00
José Roberto de Souza
623a73d1ed
efl/edbus: Init ecore on test suites
...
Patch by: José Roberto de Souza <zezsouza@gmail.com>
SVN revision: 83081
2013-01-22 13:34:25 +00:00
Cedric BAIL
36bdaab9c2
efl: another easy to kill, almost 5% in memory save per Evas_Object_Image.
...
SVN revision: 83073
2013-01-22 10:59:14 +00:00
Cedric BAIL
c0e62fb818
efl: remove a forgotten deprecated call.
...
SVN revision: 83069
2013-01-22 10:47:47 +00:00
Cedric BAIL
4d8dffc411
efl: remove useless code.
...
SVN revision: 83065
2013-01-22 09:58:36 +00:00
Mike Blumenkrantz
10a10310e8
rebase dns.c against upstream
...
SVN revision: 83058
2013-01-22 08:01:13 +00:00