* Fixed leak in textblock and text props in general that made
textblock recalcs lead very badly. Required changed to textgrid
though a sit relied on the leaky behavior.
-
2012-11-22 Sung W. Park (sung_)
- * Fixed a bug where if an image object rendered using Evas GL
+ * Fixed a bug where if an image object rendered using Evas GL
direct rendering and then another image object using Native
Surface rendering, there was a potential for it to fall into
the same direct rendering path.
-2012-11-23 Luis Felipe Strano Moraes
+2012-11-23 Luis Felipe Strano Moraes
1.7.2 release
+2012-11-29 Cedric Bail
+
+ * Only unreference font when text is not used anymore.
+
+2012-11-30 Gustavo Sverzut Barbieri (k-s)
+
+ * Fix evas_object_box.c to properly reset size_hint_min to zero if
+ there are no objects packed into the box.
+
+2012-12-07 Cedric Bail
+
+ * Don't leak fd on exec.
+
+2012-12-07 Luis Felipe Strano Moraes
+
+ * Release 1.7.3
-Evas 1.7.2
+Evas 1.7.3
+
+Changes since Evas 1.7.2
+-------------------------
+
+Fixes:
+ * Fixed evas_object_box to reset size_hint_min to zero when no child.
+ * Don't leak fd on exec.
Changes since Evas 1.7.1
-------------------------
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for evas 1.7.2.
+# Generated by GNU Autoconf 2.68 for evas 1.7.3.
#
# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
#
# Identity of this package.
PACKAGE_NAME='evas'
PACKAGE_TARNAME='evas'
-PACKAGE_VERSION='1.7.2'
-PACKAGE_STRING='evas 1.7.2'
+PACKAGE_VERSION='1.7.3'
+PACKAGE_STRING='evas 1.7.3'
PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures evas 1.7.2 to adapt to many kinds of systems.
+\`configure' configures evas 1.7.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of evas 1.7.2:";;
+ short | recursive ) echo "Configuration of evas 1.7.3:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-evas configure 1.7.2
+evas configure 1.7.3
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by evas $as_me 1.7.2, which was
+It was created by evas $as_me 1.7.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='evas'
- VERSION='1.7.2'
+ VERSION='1.7.3'
cat >>confdefs.h <<_ACEOF
cat >>confdefs.h <<_ACEOF
-#define VMIC 2
+#define VMIC 3
_ACEOF
#define VREV 0
_ACEOF
-version_info="8:2:7"
+version_info="8:3:7"
release_info=""
MODULE_ARCH="$host_os-$host_cpu"
;;
*)
- MODULE_ARCH="$host_os-$host_cpu-1.7.2"
+ MODULE_ARCH="$host_os-$host_cpu-1.7.3"
;;
esac
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by evas $as_me 1.7.2, which was
+This file was extended by evas $as_me 1.7.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-evas config.status 1.7.2
+evas config.status 1.7.3
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [1])
m4_define([v_min], [7])
-m4_define([v_mic], [2])
+m4_define([v_mic], [3])
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
##-- When released, remove the dnl on the below line
Summary: Multi-platform Canvas Library
Name: evas
-Version: 1.7.2
+Version: 1.7.3
Release: %{_rel}
License: BSD
Group: System Environment/Libraries
Evas_Callback_Type type;
};
+Eina_Bool
+_evas_fd_close_on_exec(int fd)
+{
+#ifdef HAVE_EXECVP
+ int flags;
+
+ flags = fcntl(fd, F_GETFD);
+ if (flags == -1)
+ return EINA_FALSE;
+
+ flags |= FD_CLOEXEC;
+ if (fcntl(fd, F_SETFD, flags) == -1)
+ return EINA_FALSE;
+ return EINA_TRUE;
+#else
+ (void) fd;
+ return EINA_FALSE;
+#endif
+}
+
int
evas_async_events_init(void)
{
return 0;
}
+ _evas_fd_close_on_exec(filedes[0]);
+ _evas_fd_close_on_exec(filedes[1]);
+
_fd_read = filedes[0];
_fd_write = filedes[1];
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
objects = (Evas_Object_Box_Option **)alloca(sizeof(Evas_Object_Box_Option *) * n_children);
if (!objects)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
global_pad = priv->pad.h;
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
objects = (Evas_Object_Box_Option **)alloca(sizeof(Evas_Object_Box_Option *) * n_children);
if (!objects)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
global_pad = priv->pad.v;
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
evas_object_geometry_get(o, &x, &y, &w, &h);
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
/* *per row* arrays */
row_max_h = (int *)alloca(sizeof(int) * n_children);
n_children = eina_list_count(priv->children);
if (!n_children)
- return;
+ {
+ evas_object_size_hint_min_set(o, 0, 0);
+ return;
+ }
/* *per col* arrays */
col_max_w = (int *)alloca(sizeof(int) * n_children);
if (!props->info)
return;
- if (props->font_instance)
- {
- evas_common_font_int_unref(props->font_instance);
- props->font_instance = NULL;
- }
-
if (--(props->info->refcount) == 0)
{
+ if (props->font_instance)
+ {
+ evas_common_font_int_unref(props->font_instance);
+ props->font_instance = NULL;
+ }
+
free(props->glyphs);
props->glyphs = NULL;
props->glyphs_length = 0;
if (!props->info)
return;
- if (props->font_instance)
- {
- evas_common_font_int_unref(props->font_instance);
- props->font_instance = NULL;
- }
-
free(props->glyphs);
props->glyphs = NULL;
props->glyphs_length = 0;
if (--(props->info->refcount) == 0)
{
+ if (props->font_instance)
+ {
+ evas_common_font_int_unref(props->font_instance);
+ props->font_instance = NULL;
+ }
+
if (props->info->glyph)
free(props->info->glyph);
#ifdef OT_SUPPORT