Commit Graph

31205 Commits

Author SHA1 Message Date
Carsten Haitzler 59db1cd0e2 evas - unload/scalecache self-feeding loop unload/reload fix
i was runing perf top and noticed that evas_image_load_file_data_eet(0
was being called. in fact - it was #1 on the list of functions being
called. why? it didn't make sense. i found out. just a blinking cursor
in terminology was causing the background to be unloaded and
re-loaded. the new "actually unload" changes for 1.15 made this happen
and thus we kept sucking in new data all the time even if the
scalecache already had the data - and that was the problem.

so now calcecache prepare tells you if you don't have cached data and
if you likely then have to ensure the data is loaded. this cuts down
quite a bit of work.

while i'm at it... we definitely need to clean house on the internals
of evas. a decade+ of features, mess, optimizations needs to be fixed.
i mean really house-cleaned. rewritten clenl;y re-using existing code
where appropriate.
2015-07-12 13:17:08 +09:00
Daniel Kolesa 8b3c3b5a7f edje_object: fix some minor doc problems 2015-07-10 14:02:32 +01:00
Srivardhan Hebbar 7b075a9a96 edje: convert doc of edje_object.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Subscribers: q66, cedric

Differential Revision: https://phab.enlightenment.org/D2797
2015-07-10 11:07:00 +01:00
Tom Hacohen d7a921788f Evas canvas3d: Fix reference to class in .eo file.
We should reference classes directly, not use 'Eo'.
2015-07-09 13:41:57 +01:00
Carsten Haitzler 589fbd80cd ecore-x fix warning on unused function due to ifdefs 2015-07-09 15:45:15 +09:00
Hosang Kim eeec176166 evas: Init need_unload value after unload.
Summary: @fix

Reviewers: seoz, cedric, woohyun, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2803
2015-07-09 12:04:40 +09:00
Carsten Haitzler 155a102a45 ecore anim - oops. coverity silence checked wrong value for read/write
fix
2015-07-09 08:22:40 +09:00
Daniel Juyung Seo 3317dfb4c6 release: Update NEWS and bump version for 1.15.0alpha1 release 2015-07-09 03:35:35 +09:00
Daniel Juyung Seo 932f2a422f edje: Fix distcheck. 2015-07-09 02:50:32 +09:00
Mike Blumenkrantz 26b35222b4 eina: make re-setting the same tiler tile size a no-op 2015-07-08 12:33:23 -04:00
Chris Michael 034c297566 ecore-wayland: Remove improper use of EINA_UNUSED
Summary: 'version' is actually used inside this function so no need
for EINA_UNUSED here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-08 11:48:41 -04:00
Vincent Torri b7a277efa0 Efreet: Fix config and data dir paths on windows.
@fix
2015-07-08 16:29:05 +01:00
Daniel Kolesa e805dcd370 eolian: enable the new doc validator
This will make Eolian error when the input documentation
is in a wrong format.
2015-07-08 15:51:29 +01:00
Daniel Kolesa 18502b8429 efl: fix doc references across the tree to validate right 2015-07-08 15:13:26 +01:00
Daniel Kolesa 80eed1e285 eolian/generator: check if the reference is generatable first 2015-07-08 15:13:26 +01:00
Daniel Juyung Seo 99c6396c48 gitignore: Updated. 2015-07-08 22:45:44 +09:00
Daniel Kolesa 69cccd043a eolian: print more detailed location info for doc validation 2015-07-08 14:47:09 +01:00
Daniel Kolesa b5141e6291 eolian: correct documentation ref validation (disabled for now) 2015-07-08 13:39:46 +01:00
Vyacheslav Reutskiy 45fe7f5980 edje_edit: return EINA_TRUE for unset color_class
For unset color_class for part used edje_edit_state_color_class_set and NULL
value for color_class, it's a string, is valid. In this case function must
return EINA_TRUE.
@fix
2015-07-08 15:24:43 +03:00
Vyacheslav Reutskiy 7f3b54d924 edje edit: don't set the color_class color as main
@fix
2015-07-08 15:24:37 +03:00
Daniel Kolesa c31a57db00 eolian/generator: delete a stringshare correctly on failure 2015-07-08 13:25:32 +01:00
Daniel Kolesa 42156a7c34 eolian/generator: static-ify some funcs 2015-07-08 12:17:00 +01:00
Daniel Kolesa 825349c7b8 eolian: improve function_full_c_name_get API
It's now generalized to work properly with legacy functions
as well as correctly append suffixes. Thus, it can be easily
used with the documentation generator and in other places.

@feature
2015-07-08 12:10:20 +01:00
Carsten Haitzler ef65806ce4 new animator coverity complaints - silence them
check return of read/write to make coverity happy (even though they
should never fail as it's a pipe within a process).
2015-07-08 18:51:11 +09:00
Mike Blumenkrantz fbb462371f ecore-input-evas: fix canvas mouse event dispatch
this was broken in 5cb6cdbc5e such that
when multiple sources produce mouse events using the same device,
these events are marshalled as though they were from the same canvas.
the result is that eventing is wrong on at least one of the canvases,
and spurious mouse-up events are triggered before every mouse down

fix T2509
2015-07-07 14:20:53 -04:00
Daniel Kolesa e9688e63a5 eolian/generator: add proper generation of references
Adds proper generation of automatic references in docs.
For now events are missing.

@feature
2015-07-07 17:19:13 +01:00
Daniel Kolesa 70b7043731 eolian: initial work on doc syntax validation (disabled for now) 2015-07-07 15:21:45 +01:00
Chris Michael 0c0ec74ee2 evas: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-07 09:00:04 -04:00
Tom Hacohen c1bd86b21f Evas line: Migrate Eolian file to use the Eolian types. 2015-07-07 13:55:14 +01:00
Tom Hacohen 824967457a Evas line: Remove obviously wrong default values. 2015-07-07 13:55:14 +01:00
Carsten Haitzler ec6ddf59e2 evas - image core - fix unloading of images to work again
i think this has been disabled for a while. image unloading is broken
- esp with gl enigne as due to async move it was effectively disabled.

this re-enables it. unloading is deferred with a managed list of things
needing unloading and then when any async sw renders are not busy any
more - do the unload then in the mainloop of all pending/flagged
images to unload

@fix
2015-07-07 21:38:21 +09:00
Tom Hacohen 9183ba9546 Evas gl core: Move variables to the correct ifdef branch.
These variables were not really used in the #else branch of the ifdef.
This moves them to the correct place removing the unused variables issues.
2015-07-07 13:28:53 +01:00
Tom Hacohen 10f599bd59 Ecore con eet test: Fix const discard issue. 2015-07-07 13:25:58 +01:00
Vincent Torri 0985ec1cac Ecore Anim: fix compilation on Windows
sys/select.h is not available on Windows
2015-07-07 13:22:32 +01:00
Vincent Torri f965fbe623 Ecore Exe: decrease log level on Windows 2015-07-07 13:22:16 +01:00
Vincent Torri 74cbbd204c Ecore Con: Fix ecore_con_local hangs on Windows.
Since the move to eo, ecore_con_local hangs on Windows, hence edje_cc can
not compile edc files (e.g.).
Problem was a loop that was used to finish some threads which is now endless.

For now, comment out that loop

@fix
2015-07-07 12:05:34 +01:00
Vincent Torri fe4e464fb6 Ecore_Con: decrease log level in ecore_con_local_win32 2015-07-07 12:05:34 +01:00
Tom Hacohen a3e3afeb01 Ecore exe (windows): Fix object destruction/failed creation.
The correct way of disposing of an object in a failed finalisation is to
return NULL, not to delete it.

Also, since the destructor is already called when the object is deleted
anyway, there's no point in having cleanup code in the finalizer too.

@fix
2015-07-07 12:05:34 +01:00
Daniel Kolesa cd7a78f2a5 eolian: add API: eolian_declaration_get_by_name
Sorry for last minute new API, but this one is necessary to implement
proper verification of references in docs, which I would like to have
in 1.15. It allows you to retrieve any kind of declaration by full
namespace, so that you can check for an existence of an Eolian decl,
rather than checking every type individually.

@feature
2015-07-07 10:57:24 +01:00
Carsten Haitzler 786ab74d6d ecore animator - use windows ifdefs/macros so it works there 2015-07-07 15:41:44 +09:00
Carsten Haitzler 24f9e6a458 animator - use select not uslleep so we can wake up during a sleep
if you change animator frametime while we are sleeping for a frame...
we can't wake up and adjust. this allows that with a pipe and select.
2015-07-07 12:32:04 +09:00
Daniel Kolesa c2b1e670b4 eolian/generator: use the __eolian function in overrides when default values are present 2015-07-06 11:25:32 +01:00
Srivardhan Hebbar c0731cdd51 ecore_con: convert doc of ecore_con_eet.eo
Summary:
converted docs of ecore_con_eet.eo to the new style.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn

Subscribers: yashu21985, cedric

Differential Revision: https://phab.enlightenment.org/D2795
2015-07-06 10:20:28 +01:00
Carsten Haitzler 851e1b5cba ecore - animator - new thread timer animator - fiux shutdown
expedite actualyl shuts ecore down - fix eina magic complaints with
safe shutdown.
2015-07-06 18:01:01 +09:00
Jean-Philippe Andre 45cef3e0a5 Evas.Image: Fix legacy EAPI name
Thanks @kuuko for the report. Sorry for the breakage of Python apps.
2015-07-06 14:24:05 +09:00
WooHyun Jung 1390f65beb Evas gl_common: Fix up error handling 2015-07-06 14:18:36 +09:00
Carsten Haitzler ecc17e621e evas gl - dont crash if gl image internal im is null
new crash i saw today
2015-07-05 18:01:06 +09:00
Carsten Haitzler 2f4fb3edac efreet - improve edstop exec find to use the command with less args
efreet will just match any desktop file (at random basically -
whatever is first in the list), thjat has the base command looked at.
if you have various desktip files with the same command, like:

mycommand
mycommand %U
mycommand -a -b -c /path/to/file
/usr/bin/mycommand

etc. - which one does it match? it'll pick the first and the list
ordering is arbitrary, so this is pretty bad. this strips off the base
command at the start (full path or whatever) and then uses the command
with the shortest argument length. this means the generic command is
found first if we look for "mycommand" in the above list, whihc ends
up the best... ESPECIALLY for steam which does just this.
2015-07-05 12:53:14 +09:00
perepelits.m e40c223181 edje: add Convex Hull logic
Summary: This is an algorithm which calcuates a convex hull of some mesh, in fact it returns vertex, index, normal and color datas, though the new mesh could be build just as for AABB

Reviewers: raster, Hermet, cedric

Subscribers: cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D2585

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-04 02:39:11 +02:00
Vivek Ellur 68d9c3d6f0 eina: fix failure of eina_quaternion_test.
Summary:
eina_test_quaternion_norm was failing. so fixed it.

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2781

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-04 02:30:44 +02:00