Commit 62dee81e authored by Rodrigo Moya's avatar Rodrigo Moya
Browse files

Initial revision

parents
German Poo-Caaman~o <gpoo@ubiobio.cl>
This diff is collapsed.
SUBDIRS = src
gping: A GNOME interface for ping
gping only pretends give to GNOME a graphical interfaces for
the classic network program: ping.
Test Cases
(If you find another test case, please let me know).
User interaction:
* Toggle buttons and sensitive:
1. For:
a) Enter a right hostname and press return; and
b) Enter a right hostname push Ping button
The UI must:
- The host entry must toggle to insensitive
- The button Ping must change to Stop
And try:
1.1 Wait until the process stop automatically
- The host entry must toggle to sensitive
- The button Stop must change to Ping
1.2 Push the Stop button to stop the process
- The host entry must toggle to sensitive
- The button Stop must change to Ping
2. Try the items in 1, with a bad hostname
(inexistent, by example: aeiou)
3. Try 1 and 2, with differnt counts (minimal,
maximal, medium)
Process Interacion:
For 1, 2 and 3, compare the results (format) shown
on the GUI with the console program equivalent.
Known Issues:
On same error cases (2) the GUI doesn't show
any text, because de GIOChannel doesn' return any
value, but GIOCondition is G_IO_IN.
(see ping.c - io_text_buffer_dialog)
Bug fixes:
[X] Add any new entry at the end of GtkTreeView, not in the cursor
position. This bug is valid on ping, traceroute and scan.
General:
[ ] Add gconf support to store:
- Last host requested
- Last settings used (count ping, netstat query, etc)
[ ] Implement information of network devices
[ ] Add support for IPv6
[ ] To implement "link state" and "collission"
[X] Implement traceroute (with tcp and/or icmp)
[X] Implement netstat
[X] Add DNS query
[ ] Add Whois query
[ ] Add support to IPv6 (ping6, traceroute6, network interface)
[ ] Add Copy-to-clipboard on Information (info.c)
[ ] Show error messages, feeback to the user.
(for instance: Host not found)
[ ] Glib-ize util-mii
i18n:
[X] Add internacionalization support (mostly add files in POTFILES.in)
UI:
[ ] A graphical traceroute
[X] A better ping output: GtkTreeView instead GtkTextView and
a label to show the perfomance every time.
[ ] Accept arguments by command line.
Portability:
[-] Multiplataform support (may be with a ping/traceroute helper to
process de same output)
[X] Detection of network devices
[ ] Add *BSD support in ping command/output
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="gnome-netinfo"
(test -f $srcdir/configure.in \
&& test -d $srcdir/src \
&& test -d $srcdir/src/ping.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
gnome_autogen=`which gnome-autogen.sh`
test -z "$gnome_autogen"
USE_GNOME2_MACROS=1 . $gnome_autogen
AC_PREREQ(2.52)
AC_INIT(src/ping.c)
dnl Useful to call aclocal after 'make'
AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS")
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gnome-netinfo, 0.1.0)
AM_MAINTAINER_MODE
AC_PROG_INTLTOOL([0.11])
GNOME_PLATFORM_GNOME_2(yes, force)
AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
AC_CHECK_HEADERS(sys/sockio.h sys/socket.h)
dnl AC_ARG_PROGRAM
AM_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS(yes)
CFLAGS="$CFLAGS $WARN_CFLAGS"
PKG_CHECK_MODULES(GNETWORK, libgnomeui-2.0 libgnome-2.0 gtk+-2.0 glib-2.0 libglade-2.0 gconf-2.0)
AC_SUBST(GNETWORK_CFLAGS)
AC_SUBST(GNETWORK_LIBS)
dnl Find ifconfig
dnl
AC_ARG_WITH(ifconfig, [ --with-ifconfig=PATH Where ifconfig is.])
if test "x$with_ifconfig" = "x" ; then
AC_PATH_PROG(IFCONFIG_PROGRAM,
ifconfig,,
$PATH:/sbin:/usr/etc:/usr/sbin)
if test "x$IFCONFIG_PROGRAM" != "x" ; then
AC_DEFINE_UNQUOTED(IFCONFIG_PROGRAM, "$IFCONFIG_PROGRAM", [The ifconfig program])
fi
else
AC_DEFINE_UNQUOTED(IFCONFIG_PROGRAM, "$with_ifconfig", [The ifconfig program])
fi
AM_CONDITIONAL(HAVE_IFCONFIG, test "x$IFCONFIG_PROGRAM" != "x")
dnl
dnl Translations
dnl
GETTEXT_PACKAGE=gnome-netinfo
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The gettext package])
ALL_LINGUAS="az ca cs da de el es fr ga gl he hu it ja ko ms nl no pl pt pt_BR ru sr sr@Latn sv tr uk vi wa zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED(GNOME_ICONDIR, "${ac_default_prefix}/share/pixmaps", [Pixmap directory])
else
AC_DEFINE_UNQUOTED(GNOME_ICONDIR, "${prefix}/share/pixmaps", [Pixmap directory])
fi
dnl
dnl Debugging flags
dnl
set_debug=no
AC_ARG_ENABLE(debug,
[ --enable-debug Lots of noisy debug messages],
set_debug="$enableval")
AC_MSG_CHECKING(if debug messages are enabled)
if test "$set_debug" != "no"; then
AC_MSG_RESULT(yes)
CFLAGS="-DGRD_DEBUG $CFLAGS"
else
AC_MSG_RESULT(no)
fi
AC_OUTPUT([
Makefile
po/Makefile.in
src/Makefile])
2004-01-23 Rodrigo Moya <rodrigo@gnome-db.org>
* *.po:
* POTFILES.in: copied from gnome-network.
2004-01-20 Christophe Merlet <redfox@redfoxcenter.org>
* fr.po: Updated French translation from
Sebastien Bacher <seb128@debian.org>.
2004-01-14 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
2004-01-13 Alastair McKinstry <mckinstry@computer.org>
* ga.po: Updated Irish translation.
2004-01-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Kees van den Broek.
2004-01-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Elros Cyriatan.
2004-01-12 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2004-01-12 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2004-01-11 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Elros Cyriatan.
2004-01-10 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2004-01-09 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2004-01-07 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2004-01-06 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-01-06 Kostas Papadimas <pkst@gnome.org>
* el.po: Updated Greek translation.
2004-01-05 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2004-01-04 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Elros Cyriatan.
2003-12-28 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Updated Japanese translation.
2003-12-24 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-12-21 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
2003-12-19 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-12-18 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-12-15 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
2003-12-13 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
2003-12-12 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-12-12 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-12-11 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-12-08 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-11-30 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-11-25 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Added GNOME_Transfer_Manager.server.in.in.
2003-11-25 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-11-21 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-11-20 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
* POTFILES.in: Removed non-existing file that broke intltool.
2003-11-20 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-11-19 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Added GNOME_Transfer_Manager.server.in.in.
2003-11-14 Rodrigo Moya <rodrigo@gnome-db.org>
* POTFILES.in: added missing files.
2003-11-13 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-11-11 Kostas Papadimas <pkst@gnome.org>
* el.po: Added Greek translation.
2003-11-09 Changwoo Ryu <cwryu@debian.org>
* ko.po: Updated Korean translation.
2003-11-09 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Update Norwegian translation.
2003-11-04 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-11-02 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-11-02 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-11-02 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing file.
* sv.po: Updated Swedish translation.
2003-11-01 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-10-30 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-10-29 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-10-26 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Added Malay translation.
2003-10-25 Metin Amiroff <metin@karegen.com>
* az.po: Updated Azerbaijani translation.
2003-10-25 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Added missing files.
2003-10-24 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-10-24 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-10-24 Rodrigo Moya <rodrigo@gnome-db.org>
* POTFILES.in: removed some files that are temporarily not
disted. Will be re-added soon.
2003-10-24 Christian Rose <menthos@menthos.com>
* .cvsignore: Sorted and added more entries.
2003-10-24 Christian Rose <menthos@menthos.com>
* POTFILES.in: Sorted and added missing file, and removed
non-existing one.
* sv.po: Updated Swedish translation.
2003-10-19 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-10-17 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-10-15 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Added comment and new files.
2003-09-27 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-09-27 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-09-26 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-09-26 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-09-24 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing files.
* sv.po: Updated Swedish translation.
2003-09-20 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-09-19 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Elros Cyriatan.
2003-09-16 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-09-16 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-09-16 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
2003-09-15 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-09-15 Marcel Telka <marcel@telka.sk>
* POTFILES.in: Added pws/gnome-pws.glade and pws/pws.c.
2003-09-09 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-09-03 Pablo Saratxaga <pablo@mandrakesoft.com>
* vi.po: Updated Vietnamese file
* wa.po: Updated Walloon file
2003-09-01 Metin Amiroff <metin@karegen.com>
* az.po: Added Azerbaijani translation.
2003-08-31 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-08-27 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Revision of Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-08-27 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Kees van den Broek.
2003-08-25 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Removed "backup/*" because it's removed.
2003-08-20 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Update Norwegian translation.
2003-08-19 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-08-07 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-08-07 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-08-05 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-08-04 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-08-02 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-28 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-07-28 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
2003-07-28 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-27 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation.
2003-07-25 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-25 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation.
2003-07-24 Abel Cheung <maddog@linux.org.hk>
* POTFILES.in: Added gnome-netinfo/{lookup,utils}.c
2003-07-23 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-22 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-07-22 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-19 Christophe Merlet <redfox@redfoxcenter.org>
* fr.po: Updated French translation.
2003-07-17 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Kees van den Broek.
2003-07-14 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-13 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-07-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-07-09 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-08 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-07-07 Pablo Saratxaga <pablo@mandrakesoft.com>
* wa.po: Updated Walloon file
2003-07-07 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Kees van den Broek.
2003-07-06 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Update this again.
2003-07-02 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-06-29 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-06-24 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-06-23 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
2003-06-23 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Kees van den Broek.
2003-06-22 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2003-06-22 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing files.
2003-06-17 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by