platform/upstream/efl.git
10 years agoeolian: consume private/protected modifier on events
Daniel Kolesa [Fri, 8 Aug 2014 12:16:02 +0000 (13:16 +0100)]
eolian: consume private/protected modifier on events

10 years agoeolian: support for single-line doc comments
Daniel Kolesa [Fri, 8 Aug 2014 10:47:21 +0000 (11:47 +0100)]
eolian: support for single-line doc comments

10 years agoeolian: expression mode for lexer
Daniel Kolesa [Fri, 8 Aug 2014 10:32:07 +0000 (11:32 +0100)]
eolian: expression mode for lexer

This way we can only lex expr related tokens (operators etc.) when actually
about to parse an expression. That allows stuff like nested complex types
without the lexer treating the endings as right shift.

10 years agoeolian: fix tests
Daniel Kolesa [Fri, 8 Aug 2014 10:22:41 +0000 (11:22 +0100)]
eolian: fix tests

10 years agoEolian parser: Allow tagging properties with @constructor.
Tom Hacohen [Thu, 7 Aug 2014 13:01:23 +0000 (14:01 +0100)]
Eolian parser: Allow tagging properties with @constructor.

Thanks to Quaker for the exact directions.

10 years agoeolian: consume the comment token in properties
Daniel Kolesa [Wed, 6 Aug 2014 11:38:40 +0000 (12:38 +0100)]
eolian: consume the comment token in properties

This is to add syntax for later combined get/set property docs functionality.

10 years agoeolian: more consistent syntax
Daniel Kolesa [Thu, 7 Aug 2014 15:58:45 +0000 (16:58 +0100)]
eolian: more consistent syntax

"legacy foo" is now "legacy: foo" and "return foo" is now "return: foo".

10 years agoeolian: fix null serialization
Daniel Kolesa [Thu, 7 Aug 2014 15:43:35 +0000 (16:43 +0100)]
eolian: fix null serialization

10 years agoeolian: better doc
Daniel Kolesa [Thu, 7 Aug 2014 15:32:08 +0000 (16:32 +0100)]
eolian: better doc

10 years agoeolian: eolian_type_name_get now returns the eo name, not c name
Daniel Kolesa [Thu, 7 Aug 2014 15:29:03 +0000 (16:29 +0100)]
eolian: eolian_type_name_get now returns the eo name, not c name

so instead of "unsigned int" you get "uint". This is important for handling of
expressions and cross-language interoperability. You can use c_type_get on the
base type to get the C name. Also, append the appropriate suffix to number literals
when calling eolian_expression_value_to_literal.

10 years agoeolian: expression improvements
Daniel Kolesa [Thu, 7 Aug 2014 14:46:11 +0000 (15:46 +0100)]
eolian: expression improvements

Character literals now allow escape sequences. Strings created by
eolian_expression_value_to_literal are now fully escaped.

10 years agoeolian: initial API for expression evaluation
Daniel Kolesa [Thu, 7 Aug 2014 14:15:07 +0000 (15:15 +0100)]
eolian: initial API for expression evaluation

This commit also does several side (related) changes. Particularly, it updates
the Eolian C generator to use the new API, it adds missing expr types (null, char)
and masks, updates the API dealing with default return values to use expressions
instead of strings and does several fixes (mainly in lexer) around the place.
It also disallows single quoted strings as those are reserved for characters.

10 years agoeolian: initial eval function with Eina_Value return
Daniel Kolesa [Thu, 7 Aug 2014 10:13:40 +0000 (11:13 +0100)]
eolian: initial eval function with Eina_Value return

10 years agoeolian: initial support for expression evaluation
Daniel Kolesa [Wed, 6 Aug 2014 15:30:42 +0000 (16:30 +0100)]
eolian: initial support for expression evaluation

There are now functions that let you evaluate Eolian_Expression. They're not exposed
yet. Further improvements will come as well as public API.

10 years agoeolian: lexing of multichar binary operators
Daniel Kolesa [Fri, 18 Jul 2014 10:48:40 +0000 (11:48 +0100)]
eolian: lexing of multichar binary operators

10 years agoeolian: rename public enum members to a namespaced form
Daniel Kolesa [Fri, 18 Jul 2014 09:47:07 +0000 (10:47 +0100)]
eolian: rename public enum members to a namespaced form

10 years agoeolian: initial support for expression parsing
Daniel Kolesa [Thu, 17 Jul 2014 16:16:31 +0000 (17:16 +0100)]
eolian: initial support for expression parsing

10 years agoeolian: actually fill in the line/column info in the handles
Daniel Kolesa [Mon, 4 Aug 2014 14:01:16 +0000 (15:01 +0100)]
eolian: actually fill in the line/column info in the handles

10 years agoeolian: provide line info structure in each eolian handle
Daniel Kolesa [Mon, 4 Aug 2014 13:29:13 +0000 (14:29 +0100)]
eolian: provide line info structure in each eolian handle

10 years agoeolian: use newly created implicit typedefs in legacy API
Daniel Kolesa [Fri, 1 Aug 2014 14:20:02 +0000 (15:20 +0100)]
eolian: use newly created implicit typedefs in legacy API

Also update tests accordingly.

10 years agoeolian: generate implicit typedef for each class
Daniel Kolesa [Fri, 1 Aug 2014 14:11:28 +0000 (15:11 +0100)]
eolian: generate implicit typedef for each class

And use these typedefs instead of just Eo in API.

10 years agoecore_poller: no need for eo_prefix
Daniel Kolesa [Fri, 1 Aug 2014 13:13:58 +0000 (14:13 +0100)]
ecore_poller: no need for eo_prefix

10 years agoeolian: fix a bug that caused wrong comparisons of class and file name
Daniel Kolesa [Fri, 1 Aug 2014 12:59:46 +0000 (13:59 +0100)]
eolian: fix a bug that caused wrong comparisons of class and file name

This also renames ecore_poll files to ecore_poller so that the class name matches.

10 years agoeolian: support for class type in c_type_get
Daniel Kolesa [Wed, 30 Jul 2014 15:38:23 +0000 (16:38 +0100)]
eolian: support for class type in c_type_get

10 years agoeolian: better error information + fix tests
Daniel Kolesa [Wed, 30 Jul 2014 14:51:08 +0000 (15:51 +0100)]
eolian: better error information + fix tests

This provides better location info when failing to resolve EOLIAN_TYPE_CLASS.
Also fixes tests I forgot to push before.

10 years agoeolian: fix tests and fix class name comparison in parser
Daniel Kolesa [Wed, 30 Jul 2014 14:35:57 +0000 (15:35 +0100)]
eolian: fix tests and fix class name comparison in parser

This fixes the Eolian testsuite as well as adds a better way to compare where a class
comes from, allowing us to guess EOLIAN_TYPE_CLASS correctly.

10 years agoeolian: add support for referencing classes as types
Daniel Kolesa [Wed, 30 Jul 2014 10:57:11 +0000 (11:57 +0100)]
eolian: add support for referencing classes as types

For this purpose, several other changes were made. There can now only be 1 class per file
and the class name has to match the file name. Also, I replaced the list of classes with
a hash, allowing for fast indexing (crucial for parser performance - otherwise it was
very slow).

This also adds a new API, eolian_type_class_get.

10 years agoEvas textblock: Remove unused function.
Tom Hacohen [Wed, 20 Aug 2014 16:08:28 +0000 (17:08 +0100)]
Evas textblock: Remove unused function.

10 years agoconfigure: Switch to dev mode again and set version to .99
Stefan Schmidt [Wed, 20 Aug 2014 15:27:52 +0000 (17:27 +0200)]
configure: Switch to dev mode again and set version to .99

Merge window for 1.12 is open.

10 years agoEvas textblock: Add a test for multiline ellipsis.
Tom Hacohen [Wed, 20 Aug 2014 14:46:22 +0000 (15:46 +0100)]
Evas textblock: Add a test for multiline ellipsis.

This tests that even with multiline ellipsis, the ellipsis in the second
line is not overdone (i.e it only does ellipsis as needed).

This is a test for something we found out when we applied D1311 (for T1213).

10 years agorelease: Update NEWS and bump version for 1.11.0 release v1.11.0
Stefan Schmidt [Wed, 20 Aug 2014 14:55:43 +0000 (16:55 +0200)]
release: Update NEWS and bump version for 1.11.0 release

10 years agoEvas textblock: Fix BiDi text cut-off at the edges.
Tom Hacohen [Wed, 20 Aug 2014 14:03:12 +0000 (15:03 +0100)]
Evas textblock: Fix BiDi text cut-off at the edges.

This patch fixes an issue causing text to be cut off in some cases.
The problem was that we were calculating line width and alignment before
we did any bidi calculations, which in turn caused us to use the wrong
text items for those calculations.

Many thanks to Daniel Hirt for investigating this deeply, finding all
the nitty-gritty and generally pointing me to where the problem is.
Daniel also provided the test case.
His patch (D1291) was close, but not enough.

Fixes T1496

@Fix

10 years agoecore_imf_context: fixing default id getter
Andrii Kroitor [Wed, 20 Aug 2014 13:41:05 +0000 (22:41 +0900)]
ecore_imf_context: fixing default id getter

Summary:
If none of ECORE_IMF_MODULE and WAYLAND_DISPLAY variables are setted
best of available moduls should be found. Removed odd return statement.

Reviewers: cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

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

@fix

10 years agoRevert "evas textblock: fixed ellipsis character cut off issue with complex markup...
Carsten Haitzler (Rasterman) [Wed, 20 Aug 2014 03:03:14 +0000 (12:03 +0900)]
Revert "evas textblock: fixed ellipsis character cut off issue with complex markup text."

This reverts commit d408408283dd4ece9023d792753fd63422b80cb1.

this breaks mult-line "long" filenames in efm. 2nd line is just ...
for almost all of them (ones that are actually in need of 3 or more
lines). break break! REVERT!

10 years agoeolain impl generator - fix possible null access
Carsten Haitzler (Rasterman) [Wed, 20 Aug 2014 00:03:38 +0000 (09:03 +0900)]
eolain impl generator - fix possible null access

fix CID 1231994

10 years agoRevert "emotion: add more audio formats in supporting extension list"
Wonguk Jeong [Tue, 19 Aug 2014 23:57:23 +0000 (01:57 +0200)]
Revert "emotion: add more audio formats in supporting extension list"

revert since 1.11 is not yet released.

This reverts commit 154d534852e23a7e078fa2cb989b48afd95b3f15.

10 years agoemotion: add more audio formats in supporting extension list
Wonguk Jeong [Tue, 19 Aug 2014 23:18:22 +0000 (01:18 +0200)]
emotion: add more audio formats in supporting extension list

10 years agoevas-gl-generic: Fix formatting
Chris Michael [Tue, 19 Aug 2014 14:12:06 +0000 (10:12 -0400)]
evas-gl-generic: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-gl-generic: Remove useless returns
Chris Michael [Tue, 19 Aug 2014 14:06:57 +0000 (10:06 -0400)]
evas-gl-generic: Remove useless returns

There is really No point in having the 'return' here as we fall out of
the function anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agosoftware-generic: Fix formatting
Chris Michael [Tue, 19 Aug 2014 13:34:16 +0000 (09:34 -0400)]
software-generic: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas textblock: fixed ellipsis character cut off issue with complex markup text.
Youngbok Shin [Tue, 19 Aug 2014 14:08:46 +0000 (15:08 +0100)]
evas textblock: fixed ellipsis character cut off issue with complex markup text.

Summary:
Evas Textblock ellipsis is handled in a item.
When the ellipsis item is added in the text, some characters are cut off
considering width of ellipsis character.
But, it is handled in only one text item.
If there are many short text item, the ellipsis item can be cut off visually.

Fixes Phab ticket T1213

@fix

Test Plan: This commit includes test case.

Reviewers: woohyun, seoz, sohyun, tasn

Subscribers: herdsman, cedric

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

10 years agoRevert "efl: Fixed unwanted configure.ac warning."
Cedric BAIL [Tue, 19 Aug 2014 13:33:05 +0000 (15:33 +0200)]
Revert "efl: Fixed unwanted configure.ac warning."

This reverts commit bf8aba5f9f52dd2ce8d0c292b54bae0c44d99462.

This warning is actually wanted. We do want to know when things get deprecated and
not discover that to late. This warning come from the use of gettext 0.17. Once we
move out of it, we will be fine. As a reminder and for keeping track of other
future deprecated macro, we should never use that flag !

Note: This is the second time I revert such a patch, I would really like people
stop disabling warning with this nasty work around.

10 years agoefl: Fixed unwanted configure.ac warning.
Srivardhan Hebbar [Tue, 19 Aug 2014 13:23:37 +0000 (09:23 -0400)]
efl: Fixed unwanted configure.ac warning.

Summary:
Below was the warning:
configure.ac:247: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:247: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:247: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

@fix

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

Subscribers: cedric

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

10 years agoautotools: do not link with libGL if we have "wayland-egl" without "gl"
Manuel Bachmann [Tue, 19 Aug 2014 11:34:20 +0000 (04:34 -0700)]
autotools: do not link with libGL if we have "wayland-egl" without "gl"

If we have "wayland-egl" and choose to use another engine than "gl"
("glesv2" with "--with-opengl=es" e.g.), then we are in a case where
linking with libGL is not necessary. This is especially useful on a
pure Wayland system.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas - fix access of NULL evas in layer for change.. on shutdown
Carsten Haitzler (Rasterman) [Tue, 19 Aug 2014 09:00:42 +0000 (18:00 +0900)]
evas - fix access of NULL evas in layer for change.. on shutdown

10 years agoRevert "evas scalecache - fix thread deadlock posssibility"
Carsten Haitzler (Rasterman) [Mon, 18 Aug 2014 10:39:10 +0000 (19:39 +0900)]
Revert "evas scalecache - fix thread deadlock posssibility"

This reverts commit 24a1c444b02f090578ac34774264fdaa6d102dd0.

10 years agoevas-wayland-egl: Fix wayland egl engine not rendering
Chris Michael [Mon, 18 Aug 2014 20:11:15 +0000 (16:11 -0400)]
evas-wayland-egl: Fix wayland egl engine not rendering

Reset the Outbuf's Engine information pointer.
We also don't need to do an eng_window_free during reconfigure because the
software_generic_update function will free it anyway.
We should also re-setup the tilebuffer during eng_setup.
Fix gl_context resize to work even if there is no wl_egl window setup
yet.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-wayland-egl: Don't resize gl_context during first_rect
Chris Michael [Mon, 18 Aug 2014 20:09:57 +0000 (16:09 -0400)]
evas-wayland-egl: Don't resize gl_context during first_rect

This is the first part of the wayland-egl engine fix. Don't resize the
gl_context during the first_rectangle function, and don't set any
preserve bits on the gl_context

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-wayland-egl: Increment frame count after flush
Chris Michael [Mon, 18 Aug 2014 14:44:55 +0000 (10:44 -0400)]
evas-wayland-egl: Increment frame count after flush

When we flush the Outbuf, we should be incrementing frame count

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-wayland-egl: Check for valid tilebuffer before setting tile size
Chris Michael [Mon, 18 Aug 2014 14:43:38 +0000 (10:43 -0400)]
evas-wayland-egl: Check for valid tilebuffer before setting tile size

We should check for a valid Tilebuffer before calling tile_strict_set

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-wayland-egl: Free Outbuf if gl_generic_init fails
Chris Michael [Mon, 18 Aug 2014 14:42:07 +0000 (10:42 -0400)]
evas-wayland-egl: Free Outbuf if gl_generic_init fails

If we fail to init gl_generic then we should cleanup properly and free
the recently created Outbuf.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas images - animated gifs
Carsten Haitzler (Rasterman) [Mon, 18 Aug 2014 09:01:51 +0000 (18:01 +0900)]
evas images - animated gifs

there are deep down bugs in evas with animated gifs. espeically if you
have multiple instances of the same gif, but for now let's just
address the problem where we have entire frames of animation
vanishing. this is because the animation frame set failed and thus
didnt notify the rest of evas. have it ignore this fail for now so
things work out.

10 years agoeolian - warning-- for eolian impl generator
Carsten Haitzler (Rasterman) [Mon, 18 Aug 2014 05:56:53 +0000 (14:56 +0900)]
eolian - warning-- for eolian impl generator

10 years agolist example: revert unwanted local change push.
Daniel Juyung Seo [Sun, 17 Aug 2014 18:18:07 +0000 (03:18 +0900)]
list example: revert unwanted local change push.

10 years agodoc: fixed typo.
Daniel Juyung Seo [Sun, 17 Aug 2014 16:10:39 +0000 (01:10 +0900)]
doc: fixed typo.

10 years agoevas text - fix text object expanding when it gets some unicode in it
Carsten Haitzler (Rasterman) [Sun, 17 Aug 2014 13:22:44 +0000 (22:22 +0900)]
evas text - fix text object expanding when it gets some unicode in it

the text object walked all text items and took the biggest. when that
big item used some fallback font that didnt match the primary font in
ascent/descent etc. things went wrong - text expanded when not
expected to. this makes text objects just use the primary font
ascent/descent metrics and fixes e titlebar magically expanding thus
compressing window content when not expected.

10 years agoevas: handle GL_LUMINANCE_ALPHA.
Cedric Bail [Sat, 16 Aug 2014 13:06:24 +0000 (15:06 +0200)]
evas: handle GL_LUMINANCE_ALPHA.

This fix T1459. I have added an ERR to catch this kind of issue earlier.
I am wondering if that should not be even a CRI.

The reason why we do see the problem only after the introduction of the
use of Eina_Rectangle_Pool is due to how efficiently they pack data, resulting
in ressource ending up in the wrong format bucket. Nothing wrong with the
patch itself.

10 years agoevas: allocate enougth atlas for all supported format.
Cedric Bail [Sat, 16 Aug 2014 13:05:56 +0000 (15:05 +0200)]
evas: allocate enougth atlas for all supported format.

10 years agoeolain_gen - fix implementation generation - it didn't even compile
Carsten Haitzler (Rasterman) [Sat, 16 Aug 2014 04:09:17 +0000 (13:09 +0900)]
eolain_gen - fix implementation generation - it didn't even compile

so the test suites were useless because they didn't ecompile what was
generated. it was missing a ) at the end of calling eo_do_super to
start with. it was missing a call to do_uper fo destructors too. also
it didnt deal with the #include "blah.eo.c" at the file end either so
it produced uncompilable src at the start. again - also fix. this also
fixes test case comparisons to match the now correct generation that
compiles.

10 years agoevas gl - fix undefined return added from coverity fixing
Carsten Haitzler (Rasterman) [Sat, 16 Aug 2014 03:40:42 +0000 (12:40 +0900)]
evas gl - fix undefined return added from coverity fixing

10 years agoevas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.
Mun Gwan-gyeong [Fri, 15 Aug 2014 13:17:25 +0000 (09:17 -0400)]
evas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.

Summary:
@fix
Segfault in wayland_egl engine is casused by illegal library linking.
Fix this by linking to GLESv2 and EGL libraries.

Test Plan: N/A

Reviewers: devilhorns, raster, cedric, Hermet

Subscribers: cedric

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

10 years agotweak NEWS for my 1.11 commits
Mike Blumenkrantz [Fri, 15 Aug 2014 12:27:33 +0000 (08:27 -0400)]
tweak NEWS for my 1.11 commits

10 years agoevas image loaders - silence noisy warnings that are just not needed
Carsten Haitzler (Rasterman) [Fri, 15 Aug 2014 03:45:01 +0000 (12:45 +0900)]
evas image loaders - silence noisy warnings that are just not needed

several loaders make too much noise when a file fails to load - almost
all of this is because the file isnt actually an image format file at
all, and an ap is just asking evas to try do a load to see if it is a
loadable image at all. this results in noisy strerr output that simply
shouldnt be there. so silence for loaders. @fix

10 years agoevas gl - fix yuv smooth rendering
Carsten Haitzler (Rasterman) [Fri, 15 Aug 2014 03:11:33 +0000 (12:11 +0900)]
evas gl - fix yuv smooth rendering

i found that we are not setting u and v to be smooth (linear
interpolate) for yuv reendering, even when asked. they remain at a
default "nearest". this enables linear for u and v always, meaning
even when smooth is off, we still interpolate u and v (not y), and
even when at 1:1 with no scaling u and v get interpolation for better
quality.

@fix!

10 years agoedje text should actually call ellipsis functions instead of attempting to call ...
zmike [Thu, 14 Aug 2014 18:17:11 +0000 (14:17 -0400)]
edje text should actually call ellipsis functions instead of attempting to call -1(obj)

10 years agoedje - and make logic right for no elipsis with min.x too
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 16:36:14 +0000 (01:36 +0900)]
edje - and make logic right for no elipsis with min.x too

10 years agoelipsis fix - use -1 not 0 to turn off - unusual value for off
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 16:26:38 +0000 (01:26 +0900)]
elipsis fix - use -1 not 0 to turn off - unusual value for off

10 years agoedje - fix elipsis complaints/bugs with "old" themes
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 15:45:14 +0000 (00:45 +0900)]
edje - fix elipsis complaints/bugs with "old" themes

this fixes the elipsis changes xmike made by assuming elipsis of 0
whenn text min x is set (which is what we want anyway). this is a
complaint that is all through phab and other places where people
complain about "x..." or something now replacing formerly perfectly
find labels

10 years agomake indenting consistent
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:56:55 +0000 (20:56 +0900)]
make indenting consistent

this doesnt mean its right - it just matches. efreet needs some indent
love.

10 years agoefreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).
Adrien Nader [Sat, 9 Aug 2014 10:18:31 +0000 (12:18 +0200)]
efreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).

buf is a local variable defined as:
  char buf[4096];
The current code is correct; this change only makes sure the value won't
get out-of-sync later on.

10 years agoefreet: reverse if's condition and swap then/else blocks for readability
Adrien Nader [Sat, 9 Aug 2014 10:09:44 +0000 (12:09 +0200)]
efreet: reverse if's condition and swap then/else blocks for readability

The reversal makes it possible to merge two #if and unspaghetti the code
a bit.

Since the diff is not very readable, here is the before/after to show
the spirit:

  before:

    #if cond
      if (...)
    #endif
        do_foo();
    #if cond
      else
        do_bar();
    #endif

  after:

    #if cond
      if ( ! ...)
        do_bar();
      else
    #endif
        do_foo();

10 years agoefreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false).
Adrien Nader [Sat, 9 Aug 2014 10:00:32 +0000 (12:00 +0200)]
efreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false).

10 years agoefreet: use eina_file_mkstemp to create filename
Sebastian Dransfeld [Thu, 14 Aug 2014 11:29:24 +0000 (13:29 +0200)]
efreet: use eina_file_mkstemp to create filename

10 years agobenchmarks: close mkstemp file
Sebastian Dransfeld [Thu, 14 Aug 2014 11:26:11 +0000 (13:26 +0200)]
benchmarks: close mkstemp file

eina_file_mkstemp returns an open filedescriptor, so we need to close
it.

10 years agofix structurally dead code warning
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:21:19 +0000 (20:21 +0900)]
fix structurally dead code warning

CID 1039494

10 years agoevas gl - fix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:18:56 +0000 (20:18 +0900)]
evas gl - fix structurally dead code

unused var protection in ifdef - use unused macro instead. fixes
CID 1039495

10 years agoevas render i386 - comment out structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:16:32 +0000 (20:16 +0900)]
evas render i386 - comment out structurally dead code

this code has bugs, so comment it out rather than just have a return
get rid of it - CID 1039499

10 years agofix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:11:42 +0000 (20:11 +0900)]
fix structurally dead code

this cleans up fixing of unused param warnings - fix

CID 1039524 1039504 1039523 1039503 1039522 1039502 1039521 1039501
1039540 1039520 1039539 1039519 1039538 1039537 1039517 1039536
1039516 1039535 1039515 1039534 1039514 1039533 1039513 1039532
1039512 1039531 1039511 1039530 1039510 1039529 1039509 1039528
1039508 1039527 1039507 1039526 1039506 1039525 1039505

10 years agoeet init - fix structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:05:30 +0000 (20:05 +0900)]
eet init - fix structurally dead code

CID 1039542

10 years agoedje - edje load - remove structurally dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 11:02:47 +0000 (20:02 +0900)]
edje - edje load - remove structurally dead code

CID 1039543

10 years agoevas xpm loader - fix xpm loader overrun check
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:53:24 +0000 (19:53 +0900)]
evas xpm loader - fix xpm loader overrun check

coverity CID 1039596 - the code actually was wrong. do not multiple by
sizeof(DATA32) for ptr compare here.

10 years agoefreet: remove creation of XDG_RUNTIME_DIR
Sebastian Dransfeld [Thu, 14 Aug 2014 11:00:28 +0000 (13:00 +0200)]
efreet: remove creation of XDG_RUNTIME_DIR

XDG_RUNTIME_DIR should be created and set by the system, not a library.

10 years agoevas sw-x11 - fix pointless code in dri swapper
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:49:34 +0000 (19:49 +0900)]
evas sw-x11 - fix pointless code in dri swapper

this fixes CID 1039620 - it pointed out a pointless null check.

10 years agoevas gl generic - remove dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:44:16 +0000 (19:44 +0900)]
evas gl generic - remove dead code

coverity CID 1039633 pointed out dead code and some invalid null
checks. fixed!

10 years agoeio - fix possible stringhare del bug in dir chmod
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:40:54 +0000 (19:40 +0900)]
eio - fix possible stringhare del bug in dir chmod

coverity picked this up - CID 1039645. it does indeed look like a real
bug. if order->dirs is empty. for example.

10 years agoformatting fix
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:39:46 +0000 (19:39 +0900)]
formatting fix

10 years agoedje swallow resize handling
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:36:40 +0000 (19:36 +0900)]
edje swallow resize handling

this fixes some deadcode in CID 1039646 that suggests we should do a
check for rp->typedata.swallow first before we go using it.

10 years agoedje entry - fix format appending with just empty strings
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:32:45 +0000 (19:32 +0900)]
edje entry - fix format appending with just empty strings

this fixes CID 1039647 - it caught a real bug. we were not skipping
out on an empty + or - push/pop format fomamnt if it had nothing
there. not actually something people do - but possible. fix!

10 years agoedje_pick - remove unused var that we just free and nothing else
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:25:32 +0000 (19:25 +0900)]
edje_pick - remove unused var that we just free and nothing else

this should fix CID 1039669

10 years agoeina unicode - remove pointless operands
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:18:46 +0000 (19:18 +0900)]
eina unicode - remove pointless operands

fixes CID 1039676

10 years agoembryo_cc - check return value
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:11:06 +0000 (19:11 +0900)]
embryo_cc - check return value

this matches the check for fgetpos()

10 years agoembryo_cc - fix return value checking
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:09:30 +0000 (19:09 +0900)]
embryo_cc - fix return value checking

fixes CID 1039712

10 years agoepp - fix unchecked return
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:04:38 +0000 (19:04 +0900)]
epp - fix unchecked return

fix CID 1039717

10 years agoepp - fix unchecked return
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:02:39 +0000 (19:02 +0900)]
epp - fix unchecked return

this fixes CID 1039718

10 years agoedje_decc - fix unchecked return value
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 10:00:37 +0000 (19:00 +0900)]
edje_decc -  fix unchecked return value

fix CID 1039719

10 years agoembryo_cc - make assert clearer
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:55:02 +0000 (18:55 +0900)]
embryo_cc - make assert clearer

this fixes coverity warning CID 1039730

10 years agoeldbus - fix varargs missing end in iter get and next
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:52:31 +0000 (18:52 +0900)]
eldbus - fix varargs missing end in iter get and next

there was an error return handler that would return without doing
va_end(). coverity picked this up. this fixes CID 1039883

10 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:47:38 +0000 (18:47 +0900)]
evas cache - fix logically dead code

fix CID 1039928

10 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:45:59 +0000 (18:45 +0900)]
evas cache - fix logically dead code

fixes CID 1039929

10 years agoevas cache - fix logically dead code
Carsten Haitzler (Rasterman) [Thu, 14 Aug 2014 09:44:46 +0000 (18:44 +0900)]
evas cache - fix logically dead code

fixes CID 1039930