Commit Graph

25905 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz 800bcde9d7 edje_cc should throw errors when inheriting a part from the same part 2014-05-13 11:15:02 -04:00
Stefan Schmidt 966f72f680 release: v1.10.0 beta2 2014-05-12 16:49:02 +02:00
Stefan Schmidt 89b55830ba Revert "eolian-cxx: re-enable Makefile_Ecore_Audio_Cxx installation and tests."
This reverts commit 1e592d22b7.
2014-05-12 16:49:01 +02:00
Chris Michael cd5f8d0d25 ecore-drm: Send proper keycode to ecore key event, and remove
erroneous variable.

@bugfix: Since later functions which process the ecore key event will
end up subtracting X's broken keycode values from This original
keycode value, we had better send the proper code with the offset
already added.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-05-12 13:55:02 +01:00
ChunEon Park d497cd4364 evas/evas3d: reset image properies if the image is used for scene. 2014-05-12 19:55:47 +09:00
Carsten Haitzler 676a42f4b7 eo ecore timer - improve documentation in the eo file 2014-05-12 19:11:14 +09:00
ChunEon Park b8413c880a evas/examples - revised evas-3d-proxy 2014-05-12 16:50:15 +09:00
ChunEon Park 97c7f36a50 evas/evas3d: discard proxy textures list properly.
this fixes evas-3d-proxy example to be exited correctly.
2014-05-12 16:47:54 +09:00
ChunEon Park 7ef3276a66 evas/evas3d: fix proxy texture source set.
the appeneded texture should be object itself but not private data.
2014-05-12 15:42:57 +09:00
Jean-Philippe Andre 27ebaaef46 Compilation: align EOLIAN, EDJ with CC and others
Hate seeing those unaligned things:

  EOLIAN   blah
  EDJ   blah
  CC      blah
  CC      blah

OCD mode :)
2014-05-12 14:55:23 +09:00
Jean-Philippe Andre 5d560dd2b9 Evas: Fix abort() when using ETC2 with alpha 2014-05-12 14:44:55 +09:00
Jean-Philippe Andre c2f4e38cf1 Ecore evas: Fix crash after image_data_set
In some cases, the image has a format different from RGBA,
so image_data_set will be invalid as the new data is expected to
be RGBA. This happened with ETC2 images.
2014-05-12 14:44:54 +09:00
ChunEon Park 022ab7f2e6 evas/evas3d: applied eo intensively and fix indentation. 2014-05-12 13:30:50 +09:00
Carsten Haitzler 4d8e12089c ecore-x - fix setting protocol atoms for icccm for 64bit
@fix
2014-05-11 09:09:03 +09:00
Cedric Bail 6a3913b41e evas: remove logically dead code.
CID 1211984.

Note that in error case, the calloc is either not passed or
returned NULL so free will never be called.
2014-05-10 13:18:55 +02:00
Cedric Bail 7c1679550b evas: fix uninitialized value usage in Evas_3D.
This code look suspiciously similar to src/lib/evas/canvas/evas_3d_mesh.c
line 682.
2014-05-10 12:08:45 +02:00
Cedric Bail 4f1ace7889 evas: move the type and enum of Evas_3D into the unstable part of the API.
I am concerned that we do duplicate the color format of a texture insteed
of reusing the colorspace enum from Evas (that already exist). I believe
this is a side effect of not using Evas_GL_Image for texture.

This let me think that I wont allow this API out of BETA until we reduce
duplication by using Evas_GL_Image as it seems it will also impact the
public API of Evas_3D.
2014-05-10 12:04:12 +02:00
Cedric Bail 2042bdf922 evas: fix uninitialized value in Evas_3D.
CID 1211986.
2014-05-10 12:04:12 +02:00
Cedric Bail d36bc1f95a evas: remove left over Evas_3D public/released API. 2014-05-10 12:04:11 +02:00
Cedric Bail 45d1cd0b01 evas: fix use of uninitialized value in Evas_3D_Mesh. 2014-05-10 12:04:03 +02:00
Cedric Bail d8652193fc evas: fix uninitialized value being used when the engine doesn't support Evas_3D.
CID 1211988
2014-05-10 11:44:57 +02:00
Savio Sena c987f367d5 autotools: define @datarootdir@ explicitly to avoid config.status warnings.
Summary:
This patch removes warnings like this:

config.status: WARNING:  '/home/savio/src/efl/pc/eo.pc.in' seems to ignore the --datarootdir setting

Reviewers: cedric, JackDanielZ, smohanty

CC: felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-10 10:17:21 +02:00
Savio Sena a9babe8053 eolian-cxx: remove annoying compilation warnings and messages
Summary:
- remove an automake warning caused by a variable redefinition
- remove unnecessary verbosity during debug compilation

Reviewers: cedric, smohanty

CC: felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-10 10:15:37 +02:00
Mike Blumenkrantz a84f19beb7 redo lazEDC parsing a bit to fix desc.state omission 2014-05-09 15:58:25 -04:00
Mike Blumenkrantz 6a7b0af847 lazEDC missing keywords for scale/noscale 2014-05-09 12:33:47 -04:00
Mike Blumenkrantz 1d6b9d71e6 fix be9b27ac99 for edje_cc
do_params is set when expecting parameters, not req_params
2014-05-09 12:26:22 -04:00
Mike Blumenkrantz 14fc7d2a36 lazEDC syntax update: imprecise -> noprecise 2014-05-09 12:21:45 -04:00
Mike Blumenkrantz f886c60a0d ecore_x_image_get() should not abort when shm creation fails 2014-05-09 10:18:38 -04:00
Mike Blumenkrantz 60966149ff ...also when shmat() fails 2014-05-09 10:18:29 -04:00
Mike Blumenkrantz 2719d17b17 ecore-x should print an error when shmget fails 2014-05-09 10:15:41 -04:00
Savio Sena c08990a081 examples: fix eolian_cxx Makefile.am to work with --with-eolian-cxx.
Summary:
Includes Makefile_Eolian*_Helper.am and -- since
_EOLIAN_GEN_DEP and _EOLIAN_CXX_DEP can't be resolved from
src/examples -- redefine the generation rules locally.

Reviewers: cedric, stefan, stefan_schmidt

CC: felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 15:35:51 +02:00