Imported Upstream version 0.0.8 upstream/0.0.8
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 11 Oct 2014 09:00:04 +0000 (11:00 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 11 Oct 2014 09:00:04 +0000 (11:00 +0200)
NEWS
NEWS.html
configure
configure.ac
po/fr.gmo
po/fr.po
po/ptask.pot
src/main.c
src/ptask.1
src/tw.c

diff --git a/NEWS b/NEWS
index a3db306..0544099 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,13 @@
 What's New
 ==========
 
+v0.0.8
+------
+ * fixed a critical gtk error when loading the glade file
+   which can also cause a memory corruption.
+ * fixed creash when creating task with a project
+   containing a task with a tag.
+
 v0.0.7
 ------
  * added support of taskwarrior 2.3.0.
index ab536ac..4d7c65a 100644 (file)
--- a/NEWS.html
+++ b/NEWS.html
@@ -320,6 +320,54 @@ asciidoc.install();
 </div>\r
 <div id="content">\r
 <div class="sect1">\r
+<h2 id="_v0_0_8">v0.0.8</h2>\r
+<div class="sectionbody">\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+fixed a critical gtk error when loading the glade file\r
+   which can also cause a memory corruption.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+fixed creash when creating task with a project\r
+   containing a task with a tag.\r
+</p>\r
+</li>\r
+</ul></div>\r
+</div>\r
+</div>\r
+<div class="sect1">\r
+<h2 id="_v0_0_7">v0.0.7</h2>\r
+<div class="sectionbody">\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+added support of taskwarrior 2.3.0.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+added combo box for project in the new task dialog.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+disable the removal of recurrent tasks which is freezing ptask\r
+   because taskwarrior CLI is prompting a confirmation. That&#8217;s the\r
+   consequence of the taskwarrior bug TW-638.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+display the tags of the selected task.\r
+</p>\r
+</li>\r
+</ul></div>\r
+</div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_v0_0_6">v0.0.6</h2>\r
 <div class="sectionbody">\r
 <div class="ulist"><ul>\r
@@ -377,7 +425,7 @@ added menu.
 </li>\r
 <li>\r
 <p>\r
-restore position of vertical/horizaton spliters.\r
+restore position of vertical/horizontal spliters.\r
 </p>\r
 </li>\r
 <li>\r
@@ -546,7 +594,7 @@ Initial release.
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2014-04-20 14:41:21 CEST\r
+Last updated 2014-10-11 10:54:55 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 2e8416c..ea87956 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ptask 0.0.7.
+# Generated by GNU Autoconf 2.69 for ptask 0.0.8.
 #
 # Report bugs to <jeanfi@gmail.com>.
 #
@@ -580,8 +580,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='ptask'
 PACKAGE_TARNAME='ptask'
-PACKAGE_VERSION='0.0.7'
-PACKAGE_STRING='ptask 0.0.7'
+PACKAGE_VERSION='0.0.8'
+PACKAGE_STRING='ptask 0.0.8'
 PACKAGE_BUGREPORT='jeanfi@gmail.com'
 PACKAGE_URL='http://wpitchoune.net/ptask'
 
@@ -1298,7 +1298,7 @@ if test "$ac_init_help" = "long"; then
   # 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 ptask 0.0.7 to adapt to many kinds of systems.
+\`configure' configures ptask 0.0.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1372,7 +1372,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ptask 0.0.7:";;
+     short | recursive ) echo "Configuration of ptask 0.0.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1492,7 +1492,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ptask configure 0.0.7
+ptask configure 0.0.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1672,7 +1672,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by ptask $as_me 0.0.7, which was
+It was created by ptask $as_me 0.0.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2537,7 +2537,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='ptask'
- VERSION='0.0.7'
+ VERSION='0.0.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -7968,7 +7968,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by ptask $as_me 0.0.7, which was
+This file was extended by ptask $as_me 0.0.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -8035,7 +8035,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-ptask config.status 0.0.7
+ptask config.status 0.0.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
index e4bea32..ec5eed0 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.64])
-AC_INIT([ptask], [0.0.7],[jeanfi@gmail.com],[ptask],[http://wpitchoune.net/ptask])
+AC_INIT([ptask], [0.0.8],[jeanfi@gmail.com],[ptask],[http://wpitchoune.net/ptask])
 
 AM_INIT_AUTOMAKE([-Wall gnu])
 
index f6b480c..96165c8 100644 (file)
Binary files a/po/fr.gmo and b/po/fr.gmo differ
index 59560f0..bea14a0 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ptask\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-29 14:57+0200\n"
+"POT-Creation-Date: 2014-10-09 18:46+0200\n"
 "PO-Revision-Date: 2012-05-13 18:15+0000\n"
 "Last-Translator: jeanfi <Unknown>\n"
 "Language-Team: French <>\n"
@@ -19,7 +19,7 @@ msgstr ""
 "X-Launchpad-Export-Date: 2012-07-02 08:28+0000\n"
 "X-Generator: Launchpad (build 15520)\n"
 
-#: src/main.c:53
+#: src/main.c:55
 #, c-format
 msgid ""
 "Copyright (C) %s jeanfi@gmail.com\n"
@@ -29,56 +29,56 @@ msgid ""
 "There is NO WARRANTY, to the extent permitted by law.\n"
 msgstr ""
 
-#: src/main.c:64
+#: src/main.c:66
 #, c-format
 msgid "Usage: %s [OPTION]...\n"
 msgstr ""
 
-#: src/main.c:66
+#: src/main.c:68
 msgid "ptask is a task management user interface based on taskwarrior."
 msgstr ""
 
-#: src/main.c:70
+#: src/main.c:72
 #, fuzzy
 msgid "Options:"
 msgstr "Description:"
 
-#: src/main.c:71
+#: src/main.c:73
 msgid ""
 "  -h, --help          display this help and exit\n"
 "  -v, --version       display version information and exit"
 msgstr ""
 
-#: src/main.c:76
+#: src/main.c:78
 msgid "  -d, --debug=LEVEL   set the debug level, integer between 0 and 3"
 msgstr ""
 
-#: src/main.c:81
+#: src/main.c:83
 #, c-format
 msgid "Report bugs to: %s\n"
 msgstr ""
 
-#: src/main.c:83
+#: src/main.c:85
 #, c-format
 msgid "%s home page: <%s>\n"
 msgstr ""
 
-#: src/main.c:118
+#: src/main.c:120
 msgid ""
 "Error loading tasks, verify that a supported version of taskwarrior is "
 "installed "
 msgstr ""
 
-#: src/main.c:183
+#: src/main.c:185
 msgid "Enables debug mode."
 msgstr ""
 
-#: src/main.c:192
+#: src/main.c:194
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: src/main.c:210
+#: src/main.c:213
 #, c-format
 msgid "Failed to load UI: %s"
 msgstr ""
index f0de96b..41c03b9 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: jeanfi@gmail.com\n"
-"POT-Creation-Date: 2014-09-29 14:57+0200\n"
+"POT-Creation-Date: 2014-10-09 18:46+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: src/main.c:53
+#: src/main.c:55
 #, c-format
 msgid ""
 "Copyright (C) %s jeanfi@gmail.com\n"
@@ -27,55 +27,55 @@ msgid ""
 "There is NO WARRANTY, to the extent permitted by law.\n"
 msgstr ""
 
-#: src/main.c:64
+#: src/main.c:66
 #, c-format
 msgid "Usage: %s [OPTION]...\n"
 msgstr ""
 
-#: src/main.c:66
+#: src/main.c:68
 msgid "ptask is a task management user interface based on taskwarrior."
 msgstr ""
 
-#: src/main.c:70
+#: src/main.c:72
 msgid "Options:"
 msgstr ""
 
-#: src/main.c:71
+#: src/main.c:73
 msgid ""
 "  -h, --help          display this help and exit\n"
 "  -v, --version       display version information and exit"
 msgstr ""
 
-#: src/main.c:76
+#: src/main.c:78
 msgid "  -d, --debug=LEVEL   set the debug level, integer between 0 and 3"
 msgstr ""
 
-#: src/main.c:81
+#: src/main.c:83
 #, c-format
 msgid "Report bugs to: %s\n"
 msgstr ""
 
-#: src/main.c:83
+#: src/main.c:85
 #, c-format
 msgid "%s home page: <%s>\n"
 msgstr ""
 
-#: src/main.c:118
+#: src/main.c:120
 msgid ""
 "Error loading tasks, verify that a supported version of taskwarrior is "
 "installed "
 msgstr ""
 
-#: src/main.c:183
+#: src/main.c:185
 msgid "Enables debug mode."
 msgstr ""
 
-#: src/main.c:192
+#: src/main.c:194
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: src/main.c:210
+#: src/main.c:213
 #, c-format
 msgid "Failed to load UI: %s"
 msgstr ""
index a0cf978..83dfda6 100644 (file)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  * 02110-1301 USA
  */
+#include <locale.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -201,6 +203,7 @@ int main(int argc, char **argv)
        settings_init();
 
        builder = gtk_builder_new();
+       err = NULL;
        ret = gtk_builder_add_from_file
                (builder,
                 PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "ptask.glade",
index 68c4584..427e28d 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.44.1.
-.TH PTASK "1" "September 2014" "ptask 0.0.7" "User Commands"
+.TH PTASK "1" "October 2014" "ptask 0.0.8" "User Commands"
 .SH NAME
 ptask \- GTk+ Task application
 .SH SYNOPSIS
index d363e45..db731e9 100644 (file)
--- a/src/tw.c
+++ b/src/tw.c
@@ -515,7 +515,7 @@ static void task_free(struct task *task)
                        free(*tags);
                        tags++;
                }
-               free(tags);
+               free(task->tags);
        }
 
        free(task);