Commit Graph

25786 Commits

Author SHA1 Message Date
Stefan Schmidt f3de0a0b54 release: v1.10.0 2014-05-26 12:29:36 +02:00
Savio Sena 6bfa07cb2f autotools: Fix eolianc-xx header distribution.
Summary:
Sorry, last patch added the headers to the correct relative
location but replaced dist with nodist which is incorrect. nodist is
for generated headers only.

Reviewers: cedric, raster

Reviewed By: raster

CC: felipealmeida, smohanty, cedric

Differential Revision: https://phab.enlightenment.org/D898
2014-05-26 15:47:44 +09:00
Savio Sena 58bdac7977 autotools: fix Eolian-Cxx installation.
Summary: grammar/* is now installed to the correct destination.

Reviewers: tasn, cedric

CC: JackDanielZ, felipealmeida, smohanty, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:27:52 +02:00
Savio Sena 72ee78b929 efl: remove some warnings.
Summary:
Mainly from the examples but also from libunibreak and tests/eet.

I'm not sure if it's really worth to remove warnings from the examples
-- because it adds pedantic-ness to something supposed to be didatic,
but I leave for you guys to judge.

Reviewers: tasn, cedric

CC: felipealmeida, raster, smohanty, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:27:15 +02:00
Savio Sena e68225ae69 eina-cxx: remove a warning.
Summary: When assert is disabled 'diff' variable was unused.

Reviewers: tasn, cedric

CC: JackDanielZ, smohanty, felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:24:46 +02:00
Savio Sena a4bb4688fc autotools: disable automake portability warnings.
Summary:
Vanish with these:
src/Makefile_Eolian_Helper.am:15: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36:   'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42:   'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:18: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36:   'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42:   'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:21: warning: '%'-style pattern rules are a GNU make extension

Reviewers: tasn, cedric

CC: JackDanielZ, smohanty, felipealmeida, raster, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:24:04 +02:00
maxerba c531502862 Updating czech translation 2014-05-23 23:41:05 +02:00
Daniel Zaoui e1abaf7c37 Eolian: fix class lookup during parsing.
If classes A and B are stored in a same file, when A inherits from B,
and A needs to be generated, the generator, even if B is parsed, will
not search the class in the database but will look for some b.eo.

This patch fixes that issue by checking the existence of the classes
into the database before looking for a corresponding file.
2014-05-21 15:55:28 +03:00
Youngbok Shin bc70a1bd84 evas/text: fix abnormal ellipsis logic when harfbuzz is enabled.
Summary:
text_props.len indicates visual length from harfbuzz logic when it is available.
But, input pram "idx" is logical length. So, ellipsis works abnormally in some case.
@fix

Test Plan: D870

Reviewers: tasn, woohyun

CC: cedric, herdsman

Differential Revision: https://phab.enlightenment.org/D871
2014-05-21 10:41:29 +01:00
Youngbok Shin e4158510bd evas/text: add text ellipsis test case for ligatures special case.
Summary:
Some fonts has combination information for "ff".
When harfbuzz is enabled with the font, evas text ellipsis logic can be broken.

Reviewers: tasn, woohyun, cedric

Reviewed By: tasn

CC: cedric, herdsman

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

Some comment/commit message improvements by TAsn.
2014-05-21 10:41:29 +01:00
Jean-Philippe Andre 02f24d76e1 Eo: Add function name to OP desc on Windows
Match function names when the API pointer is out of range.
Reviewed by TAsn and modified according to his comments :)

Differential Revision: https://phab.enlightenment.org/D876
2014-05-21 18:03:53 +09:00
Jean-Philippe Andre 0405d8e9a5 Win32: Fix invalid free in eio monitor
You can't just duplicate a string once and free it three times...
2014-05-21 18:03:53 +09:00
Vorobiov Vitalii cf0ff2ba91 edje: Edje_Edit - fix wrong behaviour on draggable.event processing while deleting parts.
Summary:
the draggable.event field (in edje) is pointing on the id of the part it is assigned to.
The main problem is about deleting parts.
After part being deleted, all other parts (that are below the deleted part) have their id shifted,
but event doesnt shift.

For example,
1) draggable.event at some part pointing at part with id=7,
2) some other part is being deleted
3) part with id=7 have new id now (id=6)
4) draggable.event DOESN'T change it's pointer and still points at part with id=7 (which is now has id=6)
5) if there is no parts with id=7 anymore, then it could give you SEGFAULT someday (or not, depending on luck).

This commit contains next changes:
1) after deleting part, draggable.event also shifts (if required)
2) after deleting part that is being pointed with event by someone, it will remove all event points at it
@fix

Reviewers: cedric, raster, seoz

CC: reutskiy.v.v, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-21 06:14:23 +02:00
Shinwoo Kim 42e049fe86 Win32: Add configuration to cross-compile
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-05-20 15:16:43 +09:00
Jean-Philippe Andre 83320ae105 Win32: Fix ecore_evas engine search path
Engines are stored in a lib/ folder, while the main DLL files
are in the bin/ folder, so the engine would never be found.

A solution was to add the proper checkme file in the share
folder, but since this is necessary only for Windows, we
can simply use ../lib instead of using the full eina_prefix
detector.

Thanks vtorri for the review.
2014-05-20 15:13:43 +09:00
Carsten Haitzler c17ba23891 update po's 2014-05-20 13:56:54 +09:00
Savio Sena 3e5408cfb0 autotools: Fix Makefile_Ecore_Audio_Cxx.am.
Summary: This patch fixes T1246.

Reviewers: cedric, smohanty, stefan_schmidt, raster

Reviewed By: raster

CC: felipealmeida, cedric

Maniphest Tasks: T1246

Differential Revision: https://phab.enlightenment.org/D873
2014-05-20 12:19:25 +09:00
maxerba 4112c72ae4 Updating translations 2014-05-19 21:52:22 +02:00
Stefan Schmidt d804844dab release: v1.10.0 beta3 2014-05-19 18:24:17 +02:00
ChunEon Park c3cd680fad evas/render - fix segfault because of null cow access.
issue ticket: T1252

@fixed
2014-05-19 22:45:46 +09:00
Kai Huuhko 64f35d4615 efreet: Fix mistakenly inverted behavior in URI handling
Fixes a mistake in commit 78c9a82a14

The authority part would get placed in the struct member "path",
and vice versa.

Lesson learned: Don't rewrite your patch late at night after
arc has messed it up.
2014-05-19 14:52:32 +03:00
ChunEon Park 53e11f3b05 evas/gl_x11 - replace inlist counting to one api call. 2014-05-19 18:48:05 +09:00
Kai Huuhko 78c9a82a14 efreet: Handle URIs in a more generic way
Summary: Fixes T1219

Reviewers: englebass

CC: cedric

Maniphest Tasks: T1219

Differential Revision: https://phab.enlightenment.org/D865
2014-05-19 15:48:41 +09:00
Carsten Haitzler f691b71284 update po's 2014-05-19 15:23:16 +09:00
Daniel Zaoui 23b97bd30d Eolian/Lexer: fix support of const parameters.
The syntax to define a parameter of a property as const is as following:

set {
   data: const;
}

When no space was present between ':' and "const", a syntax error was
occurring.
2014-05-18 14:25:25 +03:00
Tom Hacohen 61f3f68670 Eo: Make it clearer that a NULL deref can't happen.
We check _current_table for NULL, and then populate it (it's a global)
through another function, but we don't really check it's not NULL before
using it, we just assume because of an indirect other variable.

This confused coveritiy, can confuse humans too, and in general risky
(if something changes).

CID 1039419
2014-05-16 14:43:09 +01:00
Tom Hacohen cdea54dd40 Eo callbacks: Fix a possible issue of corrupted callback list.
This happens when we delete more than one callback at the beginning
of the list (i.e 2 or more) in one go.
2014-05-16 14:33:36 +01:00
Tom Hacohen ecc445b47c Eo: Don't write to pointer after free.
Fixes coverity: CID 1039898.
2014-05-16 14:33:36 +01:00
Tom Hacohen 9b265b0065 Revert "Eo: Fix deref after free."
Coverity found the issue, but it's an issue we've already fixed in the
past. I don't know how it got lost, but it seems like someone did a bad
merge. Probably when migrating to Eo2.

This reverts commit 831c20464d.
2014-05-16 14:33:00 +01:00
Tom Hacohen 831c20464d Eo: Fix deref after free.
In some rare cases it was possible for a pointer to be referenced after
it was already freed. This is now fixed thanks to coverity.

@fix

CID 1039898
2014-05-16 14:28:57 +01:00
Stefan Schmidt 9cfb050022 edje_calc: Document some intended fall through cases in switch-case
We share code here for different types. Make a note and also marked them as
false positive in coverity.

CID 1039377, CID 1039376
2014-05-16 15:00:10 +02:00
Stefan Schmidt 3d269acefa ethumb: Memset whole contex in md5 implementation
I don't know what they tried here but if we consider the content
of ctx sensitive we should memset the whole thing.

CID 222382
2014-05-16 14:32:51 +02:00
Stefan Schmidt 2389d7f8ee ecore_imf: Account for terminating null byte on copy
strlen retruns the count with the terminating null byte but strncpy expects
length with it. Account for that.
2014-05-16 13:54:54 +02:00
Stefan Schmidt 6924e3010c ecore_imf: Avoid potential buffer overrun
We can't just blindly copy the full string into a 128 byte buffer. Adding
some check here to actually stay below the buffer limit or return.

CID 1193233
2014-05-16 13:52:26 +02:00
Carsten Haitzler ddc09dd04e fix ecore_thread_global_data_wait to work when no data exists yet
@fix

this is based on feedback from wonil choi, where this didn't work
right. this also has an if check for the hash itself.
2014-05-15 21:23:51 +09:00
Carsten Haitzler c3f0a0c59d fix behavior of edje entry to match other toolkit entires
this fixes T1229 in the part about the cursor behavior when you press
updown/left/right when a selection is there. @fix
2014-05-15 17:43:00 +09:00
Jean-Philippe Andre 7bbdb68811 edje_calc: Fix invalid parameters during first calc
In particular, ellipsis is -1 by default in Evas, but at this
point (first layout calc), the parameters used for recalc are
incomplete and ellipsis would then be 0 by default (calloc).

As a consequence, Edje will call ellipsis_set(0) enabling
ellipsis even on objects that force "ellipsis: -1".

Solution: set all the parameters before entering text/tb calc.

I believe the other changes are only color and image padding
and should not affect recalc_single.
2014-05-15 16:07:00 +09:00
Carsten Haitzler 7c00bd5123 fix ecore_con_url using 100% cpu and just let fd handler do work
this fixes T1251 - @fix
2014-05-15 15:48:18 +09:00
U. Artie Eoff e186f6dbc5 evas/wayland_shm: unlink the REAL temporary file
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2014-05-14 16:13:33 -07:00
Daniel Zaoui 0782e96c36 Eolian/Generator: fix the class description generation.
The class description was not used during the generation of the legacy
and Eo headers.
2014-05-14 14:52:58 +03:00
Jean-Philippe Andre f731f8ffb4 Evas filters: Fix NULL dereference (legacy_strdup)
CID 1210809
CID 1210813

+ remove comment
2014-05-14 18:42:05 +09:00
Jean-Philippe Andre 2a5b3e2482 Evas filters: Fix NULL dereferences
CID 1210807
CID 1210808
2014-05-14 18:39:53 +09:00
Jean-Philippe Andre e0d3e20aed Evas filters: Remove logically dead code
CID 1181889
2014-05-14 18:39:53 +09:00
Vyacheslav Reutskiy e8c4e99a3c edje/Edje_Edit: _edje_edit_real_part_add init field of Edje_Real_part
Summary:
To correcly display the added pats using the edje edit api, update
init the filds of Edje_Real_Part. Initialize the next filds: type and
typedata. It filds initialized accordingly to Edje_Part_Type value.

@fix

Reviewers: raster, cedric, seoz, Hermet

CC: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-14 11:11:47 +02:00
Jean-Philippe Andre 5bf1f0c918 edje_calc: Don't add padding twice to text objects
Text objects declared in Edje will see their padding added twice,
as the Evas_Object_Text itself contains the padding already.

This WILL break some EDC files. It's a bug nonetheless.

Should this be backported?
2014-05-14 14:44:47 +09:00
Jean-Philippe Andre 855c196ae8 edje_text: Remove no-op pad_get
This call to pad_get is useless.
2014-05-14 14:44:47 +09:00
Jean-Philippe Andre 5b28726e0a edje_calc: Update some disabled code so it can compile
Yup, that's basically a no-op but allows other devs to test
the old behaviour of that function as it's still there:
_edje_part_recalc_single_text
2014-05-14 14:44:47 +09:00
Carsten Haitzler 6f21278cc1 add soem class description to eo timers to test if it gets generated 2014-05-14 14:16:03 +09:00
Mike Blumenkrantz 894c36ff11 de-elipsis edje
the word is "ellipsis". it's bad enough that we have released misspelled api, but we can at least spell things correctly internally.
2014-05-13 16:20:41 -04:00
Mike Blumenkrantz 03edef876f edje_cc now prints helpful warning messages when it compiles broken text parts 2014-05-13 16:05:39 -04:00