Stefan Schmidt [Fri, 29 Aug 2014 08:38:02 +0000 (10:38 +0200)]
evas/drm: Remove includes for TTY we no longer need here
Daniel Kolesa [Fri, 29 Aug 2014 13:33:56 +0000 (14:33 +0100)]
eolian: parsing for @auto and @empty
Daniel Kolesa [Fri, 29 Aug 2014 13:13:34 +0000 (14:13 +0100)]
eolian: prepare for more tags in implements
maxerba [Fri, 29 Aug 2014 11:14:48 +0000 (13:14 +0200)]
Updating french translation
Tom Hacohen [Fri, 29 Aug 2014 10:41:21 +0000 (11:41 +0100)]
Ecore con: Fix constructing (the whole object was broken).
We were constructing some things too late which caused url setting to not
work at all.
Daniel Kolesa [Fri, 29 Aug 2014 10:41:19 +0000 (11:41 +0100)]
eolian: shouldn't have gotten in
Daniel Kolesa [Fri, 29 Aug 2014 10:40:29 +0000 (11:40 +0100)]
eolian: update virtual to the new syntax (as per wiki)
Daniel Kolesa [Fri, 29 Aug 2014 09:32:18 +0000 (10:32 +0100)]
autotools: disable C++ bindings by default (use --enable-cxx-bindings to enable)
Tom Hacohen [Fri, 29 Aug 2014 09:07:14 +0000 (10:07 +0100)]
Ecore con server: Fix destructor to call super correctly.
Tom Hacohen [Fri, 29 Aug 2014 09:01:37 +0000 (10:01 +0100)]
Ecore con: Limit some functions to only be called from inside eo_add().
Tom Hacohen [Fri, 29 Aug 2014 08:55:02 +0000 (09:55 +0100)]
Eo base: Add a property to indicate if the object is finalized;
This enables checking if an object is being created, or has already been
finalized. This is useful in functions that you want to allow
only during the creation phase (i.e inside the eo_add()).
Daniel Kolesa [Fri, 29 Aug 2014 09:17:55 +0000 (10:17 +0100)]
eolian: require both set and get to be specified when whole property is in impls
Chris Michael [Thu, 28 Aug 2014 20:01:28 +0000 (16:01 -0400)]
ecore-evas-drm: Fix misplaced #ifdef from gl_drm patch
This #ifdef does not belong here. The interface_new functions Is Still
Used for normal drm ecore_evas.
Bad Gwanglim, no cookie ;)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 28 Aug 2014 19:55:05 +0000 (15:55 -0400)]
ecore-drm: Fix copy/paste build error
This line should not have been pasted (and it breaks build)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 28 Aug 2014 19:40:17 +0000 (15:40 -0400)]
ecore-drm: Add local function to free outputs and on any errors during
create, call it
Basically, this will fix a potential leak (and a potential case of a
false output getting added) IF during creation of outputs, something
fails.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Thu, 28 Aug 2014 18:09:03 +0000 (14:09 -0400)]
shutup ecore-x vsync stupid log domain failures
@fix
Gwanglim Lee [Thu, 28 Aug 2014 17:36:59 +0000 (13:36 -0400)]
gl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build script
@fix
Summary:
This fixes following build script problems for ecore_evas_drm engine module.
1. Missing link to gbm for ecore_evas_drm if '--enable-gl-drm' option is given.
ecore_evas_drm engine is using gbm function if it builds with that config option.
To be more exact, ecore_evas_gl_drm_new_internal function needs gbm.
Thus we need to add gbm library linking '-lgbm' to ecore_evas_drm engine module
if '--enable-gl-drm' option is given. I've added this build script to
m4/ecore_check_module.m4 file.
2. Wrong gbm dependency check code in configure.ac
EFL_OPTIONAL_INTERNAL_DEPEND_PKG m4 macro function is designed for checking
dependency of efl internal libraries. Thus we should remove gbm pkg name when
configuring ecore_evas_drm engine module. It would be better to move dependency
check for gbm to m4/ecore_check_module.m4 file. And one more thing want_drm
value has to be changed to want_gl_drm in ECORE_EVAS_MODULE([gl-drm]...).
3. BUILD_ECORE_EVAS_OPENGL_DRM macro is always defined in configure.ac.
This kind of macro, BUILD_EFL_MODULE_NAME, has to be defined only if given module
is enabled. But this macro value was just defined with no test.
And it is even useless, we can use BUILD_ECORE_EVAS_GL_DRM macro which is defined
by ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],...) function.
So I've removed that from configure.ac.
Test Plan:
1. Configure with --enable-gl-drm:
$ ./autogen.sh --enable-drm --enable-gl-drm
2. Build:
$ make && make install
3. Check module.so of ecore_evas_drm engine whether it has a library dependency with gbm:
$ readelf -a $EFL_GIT/src/modules/ecore_evas/engines/drm/.libs/module.so | grep NEEDED
Reviewers: raster, stefan_schmidt, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1379
Chris Michael [Thu, 28 Aug 2014 16:12:34 +0000 (12:12 -0400)]
ecore-drm: Print out failed device name during setup
If we fail to setup an input device, let's print an error With the
device name also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Thu, 28 Aug 2014 16:02:10 +0000 (17:02 +0100)]
ecore: do not use Eina_Bool in ecore_mainloop.eo
Stefan Schmidt [Thu, 28 Aug 2014 11:59:29 +0000 (13:59 +0200)]
ecore/drm: Remove unused enums now that spartacus is gone
Tom Hacohen [Thu, 28 Aug 2014 13:17:16 +0000 (14:17 +0100)]
Ecore con: Add Connector class (the connecting variant of server).
This change also consists of cleaning up the server class and adding a
constructor and a finalizer to it.
Tom Hacohen [Thu, 28 Aug 2014 11:00:31 +0000 (12:00 +0100)]
Ecore con: Update migration TODO.
Tom Hacohen [Thu, 28 Aug 2014 10:30:53 +0000 (11:30 +0100)]
Ecore con url: Migrate to eo.
Tom Hacohen [Thu, 28 Aug 2014 09:26:07 +0000 (10:26 +0100)]
Ecore con: Fix to the correct parameter type.
Can finally be done because the eolian cycle bug was fixed.
Daniel Kolesa [Thu, 28 Aug 2014 08:55:41 +0000 (09:55 +0100)]
eolian: use EINA_C_ARRAY_LENGTH
Daniel Kolesa [Thu, 28 Aug 2014 08:49:57 +0000 (09:49 +0100)]
eolian/generator: use size of the array instead of fixed int
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 23:44:27 +0000 (08:44 +0900)]
eolian generator - fix num of types handled
there are only 2 types in the ftype array... not 3!
fix CID 1232782
Cedric BAIL [Wed, 27 Aug 2014 21:22:10 +0000 (23:22 +0200)]
autotools: actually put the macro at the right place.
Jean Guyomarc'h [Wed, 27 Aug 2014 20:30:08 +0000 (22:30 +0200)]
autotools: provide BSD-echo compatibility (fix c++ bindings)
Summary: The '-e' option does not exist in BSD-echo, nevertheless it behaves by default like the "echo -e" of the GNU-echo.
Reviewers: raster, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1376
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Wed, 27 Aug 2014 15:25:27 +0000 (16:25 +0100)]
Ecore con: Fix some ecore con runtime issues on windows.
Tom Hacohen [Wed, 27 Aug 2014 14:46:31 +0000 (15:46 +0100)]
Ecore con: Fix compilation on windows.
Daniel Kolesa [Wed, 27 Aug 2014 14:38:28 +0000 (15:38 +0100)]
eolian: remove constructors section cruft
Daniel Kolesa [Wed, 27 Aug 2014 14:25:13 +0000 (15:25 +0100)]
eolian/generator: remove support for custom constructors
Daniel Kolesa [Wed, 27 Aug 2014 14:19:50 +0000 (15:19 +0100)]
eolian: fix tests
Daniel Kolesa [Wed, 27 Aug 2014 14:14:03 +0000 (15:14 +0100)]
eolian_cxx: very quick workaround to make tests compile again (needs fix)
Daniel Kolesa [Wed, 27 Aug 2014 14:01:09 +0000 (15:01 +0100)]
eo: migrate constructors sections to constructing methods
Stefan Schmidt [Wed, 27 Aug 2014 14:40:16 +0000 (16:40 +0200)]
eet_dictionary: Remove now unused variable
Since
123bdc4342e0d5cc506dbe703d791d0f4b1e9227 found is now longer used here.
Remove it.
Tom Hacohen [Wed, 27 Aug 2014 10:00:11 +0000 (11:00 +0100)]
Ecore exe: refactor and fix compilation on windows.
This is the first step towards splitting it nicely. This fixes
compilation on windows (or so it seems from my testing) and takes out
all the platform specific code (posix included) out of the main source
file.
Stefan Schmidt [Thu, 14 Aug 2014 14:40:32 +0000 (16:40 +0200)]
evas/drm: Remove rest of the tty handling which is now unused
With the move to ecore_drm for tty handling these all became unused.
Ecore_drm already takes care of setting up the SIGUSR1/2 handler and
the rest of the tty setup.
Now that this is gone evas_drm_init/shutdown have no functionality
anymore either.
Stefan Schmidt [Thu, 14 Aug 2014 14:05:28 +0000 (16:05 +0200)]
evas/drm: Make sure the engine has the correct tty when called from expedite
When getting called from expedite we don't have ecore_evas in between which
normally sets things up for tty. Handle this special case here so the evas
drm engine keeps working for expedite.
Stefan Schmidt [Thu, 14 Aug 2014 13:57:27 +0000 (15:57 +0200)]
evas/drm: No need to check info.fd < 0 again as we just did that.
We are in a block here which already checked fro that. Remove this
and adjust indent.
Stefan Schmidt [Tue, 15 Jul 2014 14:16:07 +0000 (16:16 +0200)]
evas/drm: Remove obsolete tty open function
Ecore_drm handles this now for use. No need for duplicated functionality here.
Daniel Kolesa [Wed, 27 Aug 2014 10:57:19 +0000 (11:57 +0100)]
ecore_getopt: correct fix for CID 98382 and 98383
Tom Hacohen [Wed, 27 Aug 2014 10:48:43 +0000 (11:48 +0100)]
Revert "ecore_getopt - fix possible null arg"
This breaks terminology, look at the previous commit for more info.
This reverts commit
d8130825d5a0c2bb45c7212a4885afbc07f2392e.
Tom Hacohen [Wed, 27 Aug 2014 10:48:14 +0000 (11:48 +0100)]
Revert "ecore_getopt - fix possible null arg"
Breaks getopt completely, try terminology --help.
You committing it again doesn't fix the fact it doesn't work. :)
This reverts commit
e876ec527fd2cd89b01e61e34a9227f38357c25a.
Andrii Kroitor [Wed, 27 Aug 2014 10:45:26 +0000 (19:45 +0900)]
eina_file: fixing wrong return value on access problems in file copy process
Summary:
when dest directory is protected from writing success value was returned
@fix
Reviewers: seoz, cedric, Hermet
Reviewed By: Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1366
Daniel Kolesa [Wed, 27 Aug 2014 10:38:05 +0000 (11:38 +0100)]
eolian: no need to concat name in this case
Gwanglim Lee [Wed, 27 Aug 2014 10:35:27 +0000 (19:35 +0900)]
ecore_evas: Ecore_Evas_X - Fix broken rendering during rotation with resize
Summary:
When ee is trying to do rotation, ee should check whether given rotation value
is portrait or not. Then it sets output size of evas canvas according to rotation value.
But, ECORE_EVAS_PORTRAIT macro used in ee x engine only checks ee's rotation value, even
if ee's rotation value is not updated yet. Thus we should change the logic to compare with
given rotation value, not ee's rotation, before setting output size of evas.
This fixes T1371 problem.
@fix
Test Plan:
1. run elementary_test -to "window states"
2. check resize
3. rotation 0 ~ 270
Reviewers: jpeg, raster, cedric, zmike, devilhorns, Hermet
Reviewed By: Hermet
Subscribers: cedric
Maniphest Tasks: T1371
Differential Revision: https://phab.enlightenment.org/D1351
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 09:26:58 +0000 (18:26 +0900)]
ecore vsync - work around old kernels by blacklisting them
this is a bug workaround apparently old kernels that seems to get
vsync and timestamps wrong. 3.14 kernels and up only for now
@bug
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:55:06 +0000 (17:55 +0900)]
ecore_getopt - fix possible null arg
fixes CID 98382
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:53:42 +0000 (17:53 +0900)]
ecore_getopt - fix possible null arg
fixes CID 98383
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:49:29 +0000 (17:49 +0900)]
fix error handling in edje_decc
fix CID 1039341
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:41:12 +0000 (17:41 +0900)]
edje_decc - fix strrchr null return case
fix CID 1039342
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:37:01 +0000 (17:37 +0900)]
evas textblock - fix inconsistent ascent/descent return ptr checks
ascent/descent are always non-null in usage of
_layout_item_ascent_descent_adjust() so don't check for them.
fix CID 1099704
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:30:42 +0000 (17:30 +0900)]
edje - fix null return check in src description get
fix CID 1210812 1210811
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:18:22 +0000 (17:18 +0900)]
ecore-con - fix typo in error handling for ssl client init
fixes CID 1232730
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:16:17 +0000 (17:16 +0900)]
ecore-con - fix explicit null dereference
fix CID 1232731
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:14:30 +0000 (17:14 +0900)]
ecore-con - fix explicit null ptr deref
fix CID 1232729
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:10:02 +0000 (17:10 +0900)]
ethumb emotion module - fix possible division by 0
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:07:27 +0000 (17:07 +0900)]
emotion - fix engine string leak
fixes CID 1232727
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 08:05:01 +0000 (17:05 +0900)]
embryo_cc - remove useless check against always-there array
fix CID 1039345
Tom Hacohen [Wed, 27 Aug 2014 08:04:01 +0000 (09:04 +0100)]
Ecore exe: Fix object construction on linux and windows.
Thanks to Vincent Torri for reporting.
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:58:37 +0000 (16:58 +0900)]
eet - fix unused pointer
fix CID 1039489
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:51:55 +0000 (16:51 +0900)]
evas - fix possible bitshift bug
CID 1232725 1232724 1039319 1039318
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:48:40 +0000 (16:48 +0900)]
evas 3d - fix possible divide by zero
fixes CID 1216432
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:39:09 +0000 (16:39 +0900)]
evas async events fd - check fcntl return
fix CID 1039684
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:37:45 +0000 (16:37 +0900)]
evas - async events fd - check fcntl return
fix CID 1039683
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:35:48 +0000 (16:35 +0900)]
eet - handle fcntl error
fix CID 1039691
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:33:06 +0000 (16:33 +0900)]
ecore-x - handle prop get fail for xdnd type set
fix CID 1039693
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:28:46 +0000 (16:28 +0900)]
ecore-con - check return of mkdir
fix CID 1039699
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 07:25:51 +0000 (16:25 +0900)]
ecore-con - check return of ecore con ssl init
check return of ssl init for server connection
fixes CID 1039700
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 06:17:00 +0000 (15:17 +0900)]
ecore-pipe - check fcntl return
fix CID 1039703
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 06:09:14 +0000 (15:09 +0900)]
evas cserv2 - fix fcntl return check
fixes CID 1039704
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 06:06:41 +0000 (15:06 +0900)]
evas cserve2 - fix fcntl return check
fix CID 1039705
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 06:04:04 +0000 (15:04 +0900)]
evas cserve2 - fix check of fcntl return
fix CID 1039706
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 06:01:10 +0000 (15:01 +0900)]
evas cserve2 - check fcntl return for setting non-block
fix CID 1039707
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:58:50 +0000 (14:58 +0900)]
ethumbd - check arg signature
fix CID 1039708
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:56:13 +0000 (14:56 +0900)]
ethumbd - check signature type
fix CID 1039709
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:53:29 +0000 (14:53 +0900)]
ethumbd - check arg signaature type
fix CID 1039710
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:52:11 +0000 (14:52 +0900)]
ethumb - check signature of arguments for crop
fix CID 1039711
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:49:47 +0000 (14:49 +0900)]
ecore-con - use return valude of sendto.
fixes CID 1232726
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:32:03 +0000 (14:32 +0900)]
ecore-evas-extn - check engine info set return and complain
fix CID 1039682
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:29:21 +0000 (14:29 +0900)]
embryo_cc - fix bunch of unchecked fseeks
this fixes CID 996788
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:24:08 +0000 (14:24 +0900)]
evas conversion - fix bad rotation handling
coveriity found bad copy & paste in conversion code - 270 rot twice.
fixes CID 1039448
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:21:23 +0000 (14:21 +0900)]
evas - dither | convert - fix dead code
dead code as paln one checked twice in a row - the grey 16 check was
wrong so move to end and check against greay16 pal type
fix CID 1039449
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:16:50 +0000 (14:16 +0900)]
evas - remove logicallly dead code
fixes CID 1039450
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 05:14:47 +0000 (14:14 +0900)]
evas - remove logicallly dead code
fixes CID 1039451
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:46:43 +0000 (12:46 +0900)]
evas render - checking if can overlay was broking checking parent maps
brought out by CID 1039454 - fix!
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:39:51 +0000 (12:39 +0900)]
evas - table - fix copy and paste bug in table min size limiting
logically dead code find pointed out a bug in min size limiting in
homogenouse table layout in evas - fix CID 1039457
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:36:46 +0000 (12:36 +0900)]
evas - grid - remove logically dead code
remove extra priv check that is not needed in grid - CID 1039458
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:15:33 +0000 (12:15 +0900)]
evas - whitespace fix
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:12:40 +0000 (12:12 +0900)]
eet dictionary - remove impossible code
CID 1039464 knows full well our comments there are right - so remove
pointless code
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:11:11 +0000 (12:11 +0900)]
eet - remove useless if at free
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 03:02:58 +0000 (12:02 +0900)]
edje lua - fix useless double check of list return and pointless cast
fixes CID 1039467
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 02:58:35 +0000 (11:58 +0900)]
evas - tga loader - fix alpha handling for 16/15bpp images
tga provides 16bpp images as actually 15bpp. the upper bit (alpha mask
bit) can be 0 or 1, but we don't check the descriptor byte to see if
this bit is relevant or not. coverity pointed this out in CID 1039473
- logically dead code that should not have been dead except for this
missing logic. well done coverity!
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 02:48:32 +0000 (11:48 +0900)]
evas tga loader - clean up whitespace
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 02:32:17 +0000 (11:32 +0900)]
eolian - fix parser with missing break in hanling open bracket
fixes CID 1232732
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 02:28:25 +0000 (11:28 +0900)]
ephysics - fix uninitialized var
fixes CID 1232735
Carsten Haitzler (Rasterman) [Wed, 27 Aug 2014 02:25:40 +0000 (11:25 +0900)]
eolian - fix possible leak of name string
fixes CID 1232734
Daniel Kolesa [Tue, 26 Aug 2014 16:08:26 +0000 (17:08 +0100)]
eolian: stub header generator
This adds functionality into eolian_gen to generate a "stub header".
The main use for this is to deal with cyclic dependencies between Eo files.