From: Jean-Philippe Orsini Date: Sat, 11 Oct 2014 09:00:04 +0000 (+0200) Subject: Imported Upstream version 0.0.8 X-Git-Tag: upstream/0.0.8^0 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask-pkg-ubuntu.git;a=commitdiff_plain;h=5e92def4de768cd195a32fd75fca8491d0671a1b Imported Upstream version 0.0.8 --- diff --git a/NEWS b/NEWS index a3db306..0544099 100644 --- 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. diff --git a/NEWS.html b/NEWS.html index ab536ac..4d7c65a 100644 --- a/NEWS.html +++ b/NEWS.html @@ -320,6 +320,54 @@ asciidoc.install();
+

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. +

    +
  • +
  • +

    +added combo box for project in the new task dialog. +

    +
  • +
  • +

    +disable the removal of recurrent tasks which is freezing ptask + because taskwarrior CLI is prompting a confirmation. That’s the + consequence of the taskwarrior bug TW-638. +

    +
  • +
  • +

    +display the tags of the selected task. +

    +
  • +
+
+
+

v0.0.6

    @@ -377,7 +425,7 @@ added menu.
  • -restore position of vertical/horizaton spliters. +restore position of vertical/horizontal spliters.

  • @@ -546,7 +594,7 @@ Initial release.

    diff --git a/configure b/configure index 2e8416c..ea87956 100755 --- 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 . # @@ -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\\" diff --git a/configure.ac b/configure.ac index e4bea32..ec5eed0 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/po/fr.gmo b/po/fr.gmo index f6b480c..96165c8 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po index 59560f0..bea14a0 100644 --- 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 \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 "" diff --git a/po/ptask.pot b/po/ptask.pot index f0de96b..41c03b9 100644 --- a/po/ptask.pot +++ b/po/ptask.pot @@ -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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/src/main.c b/src/main.c index a0cf978..83dfda6 100644 --- a/src/main.c +++ b/src/main.c @@ -16,6 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA */ +#include + #include #include #include @@ -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", diff --git a/src/ptask.1 b/src/ptask.1 index 68c4584..427e28d 100644 --- a/src/ptask.1 +++ b/src/ptask.1 @@ -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 diff --git a/src/tw.c b/src/tw.c index d363e45..db731e9 100644 --- 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);