From 65ecdd3343d0c9bc8359941e56669e962d715425 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sun, 9 Dec 2012 11:08:03 +0000 Subject: [PATCH] renamed gtask to ptask --- AUTHORS | 2 +- config.status | 40 ++-- configure | 30 +-- configure.ac | 2 +- po/Makefile.in | 10 +- src/Makefile.am | 12 +- src/Makefile.in | 28 +-- src/glade/Makefile.am | 2 +- src/glade/Makefile.in | 2 +- src/glade/gtask.glade | 605 -------------------------------------------------- src/glade/ptask.glade | 605 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/main.c | 4 +- tests/Makefile.in | 485 ++++++++++++++++++++++++++++++++++++++++ 13 files changed, 1156 insertions(+), 671 deletions(-) delete mode 100644 src/glade/gtask.glade create mode 100644 src/glade/ptask.glade create mode 100644 tests/Makefile.in diff --git a/AUTHORS b/AUTHORS index 015f133..c4ddbd5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,3 @@ -Authors of gtask. +Authors of ptask. jeanfi@gmail.com all files. diff --git a/config.status b/config.status index 5adf104..6012008 100755 --- a/config.status +++ b/config.status @@ -380,7 +380,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by gtask $as_me 0.0.x, which was +This file was extended by ptask $as_me 0.0.x, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -420,11 +420,11 @@ Configuration commands: $config_commands Report bugs to . -gtask home page: ." +ptask home page: ." -ac_cs_config="'--prefix=/tmp/p'" +ac_cs_config="" ac_cs_version="\ -gtask config.status 0.0.x +ptask config.status 0.0.x configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" @@ -432,7 +432,7 @@ Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/home/jporsini/work/wpitchoune/svnpub/gtask/trunk' +ac_pwd='/home/jporsini/work/wpitchoune/svnpub/ptask/trunk' srcdir='.' INSTALL='/usr/bin/install -c' MKDIR_P='/bin/mkdir -p' @@ -503,7 +503,7 @@ if $ac_cs_silent; then fi if $ac_cs_recheck; then - set X /bin/bash './configure' '--prefix=/tmp/p' $ac_configure_extra_args --no-create --no-recursion + set X /bin/bash './configure' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash' @@ -685,14 +685,14 @@ S["mkdir_p"]="/bin/mkdir -p" S["MKDIR_P"]="/bin/mkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="" -S["install_sh"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/install-sh" -S["MAKEINFO"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/missing --run aclocal-1.11" +S["install_sh"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/install-sh" +S["MAKEINFO"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/missing --run aclocal-1.11" S["VERSION"]="0.0.x" -S["PACKAGE"]="gtask" +S["PACKAGE"]="ptask" S["CYGPATH_W"]="echo" S["am__isrc"]="" S["INSTALL_DATA"]="${INSTALL} -m 644" @@ -705,8 +705,8 @@ S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" -S["DEFS"]="-DPACKAGE_NAME=\\\"gtask\\\" -DPACKAGE_TARNAME=\\\"gtask\\\" -DPACKAGE_VERSION=\\\"0.0.x\\\" -DPACKAGE_STRING=\\\"gtask\\ 0.0.x\\\" -DPACKAGE_BUGREPORT=\\\"jeanfi@gmai"\ -"l.com\\\" -DPACKAGE_URL=\\\"http://wpitchoune.net/gtask\\\" -DPACKAGE=\\\"gtask\\\" -DVERSION=\\\"0.0.x\\\" -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1" +S["DEFS"]="-DPACKAGE_NAME=\\\"ptask\\\" -DPACKAGE_TARNAME=\\\"ptask\\\" -DPACKAGE_VERSION=\\\"0.0.x\\\" -DPACKAGE_STRING=\\\"ptask\\ 0.0.x\\\" -DPACKAGE_BUGREPORT=\\\"jeanfi@gmai"\ +"l.com\\\" -DPACKAGE_URL=\\\"http://wpitchoune.net/ptask\\\" -DPACKAGE=\\\"ptask\\\" -DVERSION=\\\"0.0.x\\\" -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="${exec_prefix}/lib" @@ -727,14 +727,14 @@ S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," -S["prefix"]="/tmp/p" +S["prefix"]="/usr/local" S["exec_prefix"]="${prefix}" -S["PACKAGE_URL"]="http://wpitchoune.net/gtask" +S["PACKAGE_URL"]="http://wpitchoune.net/ptask" S["PACKAGE_BUGREPORT"]="jeanfi@gmail.com" -S["PACKAGE_STRING"]="gtask 0.0.x" +S["PACKAGE_STRING"]="ptask 0.0.x" S["PACKAGE_VERSION"]="0.0.x" -S["PACKAGE_TARNAME"]="gtask" -S["PACKAGE_NAME"]="gtask" +S["PACKAGE_TARNAME"]="ptask" +S["PACKAGE_NAME"]="ptask" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/bash" _ACAWK diff --git a/configure b/configure index f296517..0d36bac 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 gtask 0.0.x. +# Generated by GNU Autoconf 2.69 for ptask 0.0.x. # # Report bugs to . # @@ -578,12 +578,12 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME='gtask' -PACKAGE_TARNAME='gtask' +PACKAGE_NAME='ptask' +PACKAGE_TARNAME='ptask' PACKAGE_VERSION='0.0.x' -PACKAGE_STRING='gtask 0.0.x' +PACKAGE_STRING='ptask 0.0.x' PACKAGE_BUGREPORT='jeanfi@gmail.com' -PACKAGE_URL='http://wpitchoune.net/gtask' +PACKAGE_URL='http://wpitchoune.net/ptask' ac_unique_file="src/main.c" gt_needs= @@ -1285,7 +1285,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 gtask 0.0.x to adapt to many kinds of systems. +\`configure' configures ptask 0.0.x to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1333,7 +1333,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/gtask] + --docdir=DIR documentation root [DATAROOTDIR/doc/ptask] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1359,7 +1359,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gtask 0.0.x:";; + short | recursive ) echo "Configuration of ptask 0.0.x:";; esac cat <<\_ACEOF @@ -1410,7 +1410,7 @@ Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . -gtask home page: . +ptask home page: . _ACEOF ac_status=$? fi @@ -1473,7 +1473,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gtask configure 0.0.x +ptask configure 0.0.x generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1653,7 +1653,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 gtask $as_me 0.0.x, which was +It was created by ptask $as_me 0.0.x, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2469,7 +2469,7 @@ fi # Define the identity of the package. - PACKAGE='gtask' + PACKAGE='ptask' VERSION='0.0.x' @@ -7339,7 +7339,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 gtask $as_me 0.0.x, which was +This file was extended by ptask $as_me 0.0.x, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7391,13 +7391,13 @@ Configuration commands: $config_commands Report bugs to . -gtask home page: ." +ptask home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -gtask config.status 0.0.x +ptask config.status 0.0.x configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index dd31058..21b3552 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([gtask], [0.0.x],[jeanfi@gmail.com],[gtask],[http://wpitchoune.net/gtask]) +AC_INIT([ptask], [0.0.x],[jeanfi@gmail.com],[ptask],[http://wpitchoune.net/ptask]) AM_INIT_AUTOMAKE([-Wall -Werror gnu]) diff --git a/po/Makefile.in b/po/Makefile.in index b93dffa..9db3564 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -10,7 +10,7 @@ # # Origin: gettext-0.16 -PACKAGE = gtask +PACKAGE = ptask VERSION = 0.0.x PACKAGE_BUGREPORT = jeanfi@gmail.com @@ -21,7 +21,7 @@ srcdir = . top_srcdir = .. -prefix = /tmp/p +prefix = /usr/local exec_prefix = ${prefix} datarootdir = ${prefix}/share datadir = ${datarootdir} @@ -34,12 +34,12 @@ INSTALL_DATA = ${INSTALL} -m 644 # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, -# ${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/install-sh does not start with $(SHELL), so we add it. +# ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/install-sh does not start with $(SHELL), so we add it. # In automake >= 1.10, /bin/mkdir -p is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. -mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/install-sh -d -install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/gtask/trunk/install-sh +mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/install-sh -d +install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ptask/trunk/install-sh MKDIR_P = /bin/mkdir -p mkdir_p = /bin/mkdir -p diff --git a/src/Makefile.am b/src/Makefile.am index 6d64fa8..425d987 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,15 +9,15 @@ DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ LIBS = $(JSON_LIBS) $(GTK_LIBS) -bin_PROGRAMS = gtask +bin_PROGRAMS = ptask -gtask_SOURCES = main.c \ +ptask_SOURCES = main.c \ note.c note.h \ tw.c tw.h -#dist_man_MANS = gtask.1 +#dist_man_MANS = ptask.1 -#gtask.1: main.c $(top_srcdir)/configure.ac -# $(MAKE) $(AM_MAKEFLAGS) gtask$(EXEEXT) -# help2man -N --name="GTk+ Task application" --output=gtask.1 ./gtask$(EXEEXT) +#ptask.1: main.c $(top_srcdir)/configure.ac +# $(MAKE) $(AM_MAKEFLAGS) ptask$(EXEEXT) +# help2man -N --name="GTk+ Task application" --output=ptask.1 ./ptask$(EXEEXT) diff --git a/src/Makefile.in b/src/Makefile.in index 0e28399..e4ba4de 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -51,7 +51,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -bin_PROGRAMS = gtask$(EXEEXT) +bin_PROGRAMS = ptask$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -63,9 +63,9 @@ CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) -am_gtask_OBJECTS = main.$(OBJEXT) note.$(OBJEXT) tw.$(OBJEXT) -gtask_OBJECTS = $(am_gtask_OBJECTS) -gtask_LDADD = $(LDADD) +am_ptask_OBJECTS = main.$(OBJEXT) note.$(OBJEXT) tw.$(OBJEXT) +ptask_OBJECTS = $(am_ptask_OBJECTS) +ptask_LDADD = $(LDADD) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -74,8 +74,8 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(gtask_SOURCES) -DIST_SOURCES = $(gtask_SOURCES) +SOURCES = $(ptask_SOURCES) +DIST_SOURCES = $(ptask_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ @@ -252,7 +252,7 @@ SUBDIRS = glade # -export-dynamic is need for defining handlers in the glade file. AM_LDFLAGS = -Wl,--as-needed -export-dynamic AM_CPPFLAGS = -Wall -Werror $(GTK_CFLAGS) $(JSON_CFLAGS) -gtask_SOURCES = main.c \ +ptask_SOURCES = main.c \ note.c note.h \ tw.c tw.h @@ -330,9 +330,9 @@ uninstall-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -gtask$(EXEEXT): $(gtask_OBJECTS) $(gtask_DEPENDENCIES) $(EXTRA_gtask_DEPENDENCIES) - @rm -f gtask$(EXEEXT) - $(LINK) $(gtask_OBJECTS) $(gtask_LDADD) $(LIBS) +ptask$(EXEEXT): $(ptask_OBJECTS) $(ptask_DEPENDENCIES) $(EXTRA_ptask_DEPENDENCIES) + @rm -f ptask$(EXEEXT) + $(LINK) $(ptask_OBJECTS) $(ptask_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -674,11 +674,11 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binPROGRAMS -#dist_man_MANS = gtask.1 +#dist_man_MANS = ptask.1 -#gtask.1: main.c $(top_srcdir)/configure.ac -# $(MAKE) $(AM_MAKEFLAGS) gtask$(EXEEXT) -# help2man -N --name="GTk+ Task application" --output=gtask.1 ./gtask$(EXEEXT) +#ptask.1: main.c $(top_srcdir)/configure.ac +# $(MAKE) $(AM_MAKEFLAGS) ptask$(EXEEXT) +# help2man -N --name="GTk+ Task application" --output=ptask.1 ./ptask$(EXEEXT) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/src/glade/Makefile.am b/src/glade/Makefile.am index 2bf16eb..ae1d4aa 100644 --- a/src/glade/Makefile.am +++ b/src/glade/Makefile.am @@ -1,4 +1,4 @@ gladedir = $(pkgdatadir) -glade_DATA = gtask.glade +glade_DATA = ptask.glade EXTRA_DIST = $(glade_DATA) diff --git a/src/glade/Makefile.in b/src/glade/Makefile.in index b0cc9f4..b27af57 100644 --- a/src/glade/Makefile.in +++ b/src/glade/Makefile.in @@ -223,7 +223,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ gladedir = $(pkgdatadir) -glade_DATA = gtask.glade +glade_DATA = ptask.glade EXTRA_DIST = $(glade_DATA) all: all-am diff --git a/src/glade/gtask.glade b/src/glade/gtask.glade deleted file mode 100644 index ba6dd09..0000000 --- a/src/glade/gtask.glade +++ /dev/null @@ -1,605 +0,0 @@ - - - - - False - 5 - New Task - dialog - - - False - vertical - 2 - - - False - end - - - gtk-ok - True - True - True - True - - - False - True - 0 - - - - - gtk-cancel - True - True - True - True - - - False - True - 1 - - - - - False - True - end - 0 - - - - - True - False - - - True - False - 4 - 4 - 4 - 4 - Description: - - - False - True - 0 - - - - - True - True - 4 - 4 - 4 - 4 - • - - - False - True - 1 - - - - - False - True - 1 - - - - - - button1 - button2 - - - - - - - - - - None - - - Low - - - Medium - - - High - - - - - - - - - - - pending - - - completed - - - - - - - - - - - - - - - - - - - False - gtask - 640 - 480 - - - True - False - 4 - 4 - 4 - 4 - vertical - - - True - False - - - True - False - start - - - gtk-refresh - True - True - True - True - - - - False - False - 0 - - - - - gtk-new - True - True - True - True - - - - False - False - 1 - - - - - False - True - 0 - - - - - True - False - - - True - False - 4 - 4 - Status: - - - False - False - 0 - - - - - True - False - statusstore - 0 - - - - 0 - - - - - False - False - 1 - - - - - False - False - 2 - - - - - False - False - 0 - - - - - True - True - vertical - 200 - True - - - True - True - 4 - in - - - True - True - 4 - 4 - 4 - 4 - taskstore - False - 1 - both - True - - - - - - Priority - 4 - - - - 4 - - - - - - - 10 - Project - True - True - True - 2 - - - - 2 - - - - - - - autosize - 10 - 30 - Description - True - True - True - True - 1 - - - - 1 - - - - - - - - - False - True - - - - - True - False - vertical - - - True - False - 4 - 4 - 4 - 4 - - - True - False - 4 - 4 - 4 - 4 - Description: - - - 0 - 1 - 1 - 1 - - - - - True - False - start - center - 4 - 4 - 4 - Note: - - - 0 - 4 - 1 - 1 - - - - - True - True - 4 - 4 - 4 - True - True - in - - - True - True - - - - - 1 - 4 - 1 - 1 - - - - - True - True - 4 - 4 - 4 - 4 - • - True - - - 1 - 1 - 1 - 1 - - - - - True - False - start - 4 - 4 - 4 - 4 - Project: - - - 0 - 3 - 1 - 1 - - - - - True - True - 4 - 4 - 4 - • - - - 1 - 3 - 1 - 1 - - - - - True - False - start - 4 - 4 - 4 - 4 - Priority: - - - 0 - 2 - 1 - 1 - - - - - True - False - 4 - 4 - 4 - 4 - prioritystore - 0 - - - - 0 - - - - - 1 - 2 - 1 - 1 - - - - - True - False - start - - - Mark Done - True - True - True - - - - False - True - 0 - - - - - 0 - 0 - 2 - 1 - - - - - True - True - 1 - - - - - True - False - 4 - 4 - 4 - 4 - - - Save - True - True - True - top - - - False - True - 0 - - - - - Cancel - True - True - True - - - False - True - 2 - - - - - False - False - 2 - - - - - True - True - - - - - True - True - 1 - - - - - - diff --git a/src/glade/ptask.glade b/src/glade/ptask.glade new file mode 100644 index 0000000..dfd766c --- /dev/null +++ b/src/glade/ptask.glade @@ -0,0 +1,605 @@ + + + + + False + 5 + New Task + dialog + + + False + vertical + 2 + + + False + end + + + gtk-ok + True + True + True + True + + + False + True + 0 + + + + + gtk-cancel + True + True + True + True + + + False + True + 1 + + + + + False + True + end + 0 + + + + + True + False + + + True + False + 4 + 4 + 4 + 4 + Description: + + + False + True + 0 + + + + + True + True + 4 + 4 + 4 + 4 + • + + + False + True + 1 + + + + + False + True + 1 + + + + + + button1 + button2 + + + + + + + + + + None + + + Low + + + Medium + + + High + + + + + + + + + + + pending + + + completed + + + + + + + + + + + + + + + + + + + False + ptask + 640 + 480 + + + True + False + 4 + 4 + 4 + 4 + vertical + + + True + False + + + True + False + start + + + gtk-refresh + True + True + True + True + + + + False + False + 0 + + + + + gtk-new + True + True + True + True + + + + False + False + 1 + + + + + False + True + 0 + + + + + True + False + + + True + False + 4 + 4 + Status: + + + False + False + 0 + + + + + True + False + statusstore + 0 + + + + 0 + + + + + False + False + 1 + + + + + False + False + 2 + + + + + False + False + 0 + + + + + True + True + vertical + 200 + True + + + True + True + 4 + in + + + True + True + 4 + 4 + 4 + 4 + taskstore + False + 1 + both + True + + + + + + Priority + 4 + + + + 4 + + + + + + + 10 + Project + True + True + True + 2 + + + + 2 + + + + + + + autosize + 10 + 30 + Description + True + True + True + True + 1 + + + + 1 + + + + + + + + + False + True + + + + + True + False + vertical + + + True + False + 4 + 4 + 4 + 4 + + + True + False + 4 + 4 + 4 + 4 + Description: + + + 0 + 1 + 1 + 1 + + + + + True + False + start + center + 4 + 4 + 4 + Note: + + + 0 + 4 + 1 + 1 + + + + + True + True + 4 + 4 + 4 + True + True + in + + + True + True + + + + + 1 + 4 + 1 + 1 + + + + + True + True + 4 + 4 + 4 + 4 + • + True + + + 1 + 1 + 1 + 1 + + + + + True + False + start + 4 + 4 + 4 + 4 + Project: + + + 0 + 3 + 1 + 1 + + + + + True + True + 4 + 4 + 4 + • + + + 1 + 3 + 1 + 1 + + + + + True + False + start + 4 + 4 + 4 + 4 + Priority: + + + 0 + 2 + 1 + 1 + + + + + True + False + 4 + 4 + 4 + 4 + prioritystore + 0 + + + + 0 + + + + + 1 + 2 + 1 + 1 + + + + + True + False + start + + + Mark Done + True + True + True + + + + False + True + 0 + + + + + 0 + 0 + 2 + 1 + + + + + True + True + 1 + + + + + True + False + 4 + 4 + 4 + 4 + + + Save + True + True + True + top + + + False + True + 0 + + + + + Cancel + True + True + True + + + False + True + 2 + + + + + False + False + 2 + + + + + True + True + + + + + True + True + 1 + + + + + + diff --git a/src/main.c b/src/main.c index 8dcd89f..53c2e1e 100644 --- a/src/main.c +++ b/src/main.c @@ -240,7 +240,7 @@ int newtask_clicked_cbk(GtkButton *btn, gpointer data) builder = gtk_builder_new(); gtk_builder_add_from_file (builder, - PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "gtask.glade", + PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "ptask.glade", NULL); diag = GTK_DIALOG(gtk_builder_get_object(builder, "diag_tasknew")); gtk_builder_connect_signals(builder, NULL); @@ -371,7 +371,7 @@ int main(int argc, char **argv) builder = gtk_builder_new(); gtk_builder_add_from_file (builder, - PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "gtask.glade", + PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "ptask.glade", NULL); window = GTK_WIDGET(gtk_builder_get_object(builder, "window")); diff --git a/tests/Makefile.in b/tests/Makefile.in new file mode 100644 index 0000000..820bfc3 --- /dev/null +++ b/tests/Makefile.in @@ -0,0 +1,485 @@ +# Makefile.in generated by automake 1.11.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@CPPCHECK_TRUE@am__append_1 = test-cppcheck.sh +subdir = tests +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HAVE_CPPCHECK = @HAVE_CPPCHECK@ +HELP2MAN = @HELP2MAN@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_CFLAGS = @JSON_CFLAGS@ +JSON_LIBS = @JSON_LIBS@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +X11_CFLAGS = @X11_CFLAGS@ +X11_LIBS = @X11_LIBS@ +XEXT_CFLAGS = @XEXT_CFLAGS@ +XEXT_LIBS = @XEXT_LIBS@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = checkpatch.pl \ + test-cppcheck.sh + +TESTS = $(am__append_1) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + col="$$grn"; \ + else \ + col="$$red"; \ + fi; \ + echo "$${col}$$dashes$${std}"; \ + echo "$${col}$$banner$${std}"; \ + test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \ + test -z "$$report" || echo "$${col}$$report$${std}"; \ + echo "$${col}$$dashes$${std}"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: check-am install-am install-strip + +.PHONY: all all-am check check-TESTS check-am check-local clean \ + clean-generic distclean distclean-generic distdir dvi dvi-am \ + html html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am + +check-local: checkpatch.pl + find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree -emacs -f {} \; + find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree -emacs -f {} \; + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: -- 2.7.4