Commit 25a04434 authored by Andy Piper's avatar Andy Piper Committed by Andy Piper

updated for new contributors

2002-02-17  Andy Piper <andyp@users.sourceforge.net>

* src/about.c, THANKS: updated for new contributors

* anjuta.prj: added new files

* README: corrected some documentation, ctags no longer needed, pkgconfig now required

* data/properties/others.properties: add .cvsdiff extension

* src/project_dbase_gui.c, src/utilities.c, src/utilities.h: patch from Vadim Berezniker <vadim@berezniker.com> to improve file import

* doc/anjuta.1: added initial man page thanks to Rob Bradford <rob@debianplanet.org> (NB build and install needs work)
parent 1be13cf8
2002-02-17 Andy Piper <andyp@users.sourceforge.net>
* src/about.c, THANKS: updated for new contributors
* anjuta.prj: added new files
* README: corrected some documentation, ctags no longer needed,
pkgconfig now required
* data/properties/others.properties: add .cvsdiff extension
* src/project_dbase_gui.c, src/utilities.c, src/utilities.h:
patch from Vadim Berezniker <vadim@berezniker.com> to improve
file import
* doc/anjuta.1: added initial man page thanks to
Rob Bradford <rob@debianplanet.org> (NB build and install
needs work)
2002-02-17 Johannes Schmid <clubfan@users.sourceforge.net>
* src/Makefile.am: Cleaned handling of compiler flags by moving them
to CFLAGS and CXXFLAGS. Anjuta is now compiled with -g -O2 and many
warning flags.
* configure.in: Changed version to 0.1.10-pre
2002-02-17 Stephane Demurget <demurgets@free.fr>
* src/fileselection.c: (create_fileselection_gui): always display
......
......@@ -36,7 +36,7 @@ gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@/Development
gnomemenu_premerge_file = anjuta.desktop.in
gnomemenu_DATA = $(gnomemenu_premerge_file:.desktop.in=.desktop)
# Copy all the spec files. Of cource, only one is actually used.
# Copy all the spec files. Of course, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
......
......@@ -107,7 +107,7 @@ To subscribe to one or more of the mailing lists, visit
[ http://www.sourceforge.net/mail/?group_id=14222 ].
or send a mail at <listname>-request@lists.sourceforge.net with a subject
just "subscribe".
Where, <listname> is anjuta-list, anjuta-devel or anjuta-announce.
Where, <listname> is anjuta-list or anjuta-devel.
Mailing lists:
o anjuta-list@lists.anjuta.sourceforge.net
......@@ -128,6 +128,7 @@ REQUIREMENTS:
* GNOME libs
* gnome-xml (aka libxml1)
* scrollkeeper
* pkgconfig
# From Src RPM:
< RedHat 6.1 or upwards >
......@@ -136,16 +137,16 @@ REQUIREMENTS:
* GNU C compiler
* RPM
* xml-i18n-tools
* pkgconfig
# From Rpm Pkg:
< RedHat 6.1 or upwards >
# From RPM Pkg:
< RedHat 7.1 or upwards >
* RPM
2) Running
< RedHat 6.1 or upwards >
* GNOME
* Bash command shell
* ctags
* indent
* gnome-terminal
* gnome-help-browser (or Nautilus)
......@@ -222,7 +223,7 @@ RUNNING:
--------
To run Anjuta, choose Development->Anjuta from the GNOME Main Menu,
or type: #anjuta
or type: # anjuta
If you get the shell error 'Command not found', then make sure your PATH
variable contains the executable path of Anjuta binary (by default: /usr/local/bin).
......
......@@ -29,11 +29,18 @@ is now.
- Martyn Bone <mbone@brightstar.u-net.com>, for his goto line
activation bug fix,
- Rob Bradford <robster@debian.org>, for the man page and Debian packages,
- Archit Baweja <bighead@crosswinds.net>, for his DND idea,
- Fatih Demir <kabalak@gtranslator.org>, for his fixes,
- Philip Van Hoof <freax@pandora.be>, for his improvements to the file
selection dialog,
- Vadim Berezniker <vadim@berezniker.com>, for improving file import,
- Denis Boehme <boehme at synci dot de>, for adding DOS support,
- Rick Patel <rikul@bellsouth.net>, for the very many patches he has submitted
......@@ -47,9 +54,6 @@ is now.
- Johannes Schmid <johannes.schmid@gmx.de>, for the GTK--/GNOME-- integration,
patches and great debugging work,
- Philip Van Roof <freax@pandora.be>, for his filetypes combobox
in the file selection dialog patch.
- Hector Rivera Falu <misha@phreaker.net>, for the whole Anjuta website
design & content management, and his overall artwork on the Anjuta project,
......
......@@ -542,6 +542,7 @@ module.pixmap.files=\
pixmaps/mini_locals.xpm\
pixmaps/mini_term.xpm\
pixmaps/new_file.xpm\
pixmaps/new_folder.xpm\
pixmaps/ofolder.xpm\
pixmaps/open_file.xpm\
pixmaps/open_project.xpm\
......@@ -609,7 +610,9 @@ module.doc.files=\
INSTALL\
NEWS\
README\
THANKS\
TODO\
doc/anjuta.1\
doc/ScintillaDoc.html\
manuals/C/anjuta-faqs/anjuta-faqs.sgml\
manuals/C/anjuta-manual/anjuta-manual.sgml\
......
......@@ -4,7 +4,7 @@ dnl If you don't want it to overwrite it,
dnl Please disable it in the Anjuta project configuration
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(anjuta, 0.1.9)
AM_INIT_AUTOMAKE(anjuta, 0.1.10-pre)
AM_CONFIG_HEADER(config.h)
dnl Define convenience macros
......
......@@ -18,7 +18,7 @@
##################################################
filter.text=Text (.txt;.ini;.inf;.log;.lst)|*.txt;*.ini;*.inf;*.log;*.lst|
filter.batch=Batch (.bat;.cmd;.nt)|*.bat;*.cmd;*.nt|
filter.diff=Difference (.diff;.patch)|*.diff;*.patch|
filter.diff=Diff (.diff;.patch;.cvsdiff)|*.diff;*.patch;*.cvsdiff|
filter.icon=Icon(.xpm;.png)|*.xpm;*.png|
filter.image=Image(.jpg;.gif;.tif;.bmp)|*.jpg;*.gif;*.tif;*.bmp|
......@@ -26,7 +26,7 @@ filter.image=Image(.jpg;.gif;.tif;.bmp)|*.jpg;*.gif;*.tif;*.bmp|
# File patterns defined for all file types #
############################################
file.patterns.batch=*.bat;*.cmd;*.nt
file.patterns.diff=*.diff;*.patch
file.patterns.diff=*.diff;*.patch;*.cvsdiff
file.patterns.icon=*.xpm;*.png
file.patterns.image=*.jpg;*.gif;*.tif;*.bmp,
file.patterns.asm=*.s
......
......@@ -11,12 +11,13 @@ INCLUDES = \
-I$(srcdir)/../tagmanager/include \
-I$(srcdir)/../widgets \
-I$(srcdir)/../pixmaps \
-I.. -I. \
-Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment\
-Wuninitialized -Wparentheses -Wpointer-arith\
-Wmissing-prototypes\
-O1\
-g
-I.. -I.
CFLAGS = -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment\
-Wuninitialized -Wparentheses -Wpointer-arith\
-Wmissing-prototypes -g -O2
CXXFLAGS = $(CFLAGS)
SCILEXERS =\
../scintilla/StyleContext.o\
......
......@@ -56,6 +56,9 @@ create_about_gui ()
"Biswapesh Chattopadhyay <biswapesh_chatterjee@tcscal.co.in>",
"Dick Knol <dknol@gmx.net>",
"Jason Williams <jason_williams@suth.com>",
"Philip Van Hoof <freax@pandora.be>",
"Vadim Berezniker <vadim@berezniker.com>",
"Rob Bradford <robster@debian.org>",
NULL
};
GtkWidget *about_gui;
......
......@@ -1205,11 +1205,11 @@ on_prj_import_confirm_yes (GtkButton * button, gpointer user_data)
/*
* File has not been added. So add it
*/
if (strcmp (dir, comp_dir) != 0)
if (!is_file_same(dir, comp_dir))
{
gchar* fn;
/*
* File does not exist in the corrospondig dir. So, import it.
* File does not exist in the corroeponding dir. So, import it.
*/
fn =
g_strconcat (comp_dir, "/",
......@@ -1262,6 +1262,7 @@ on_add_prjfilesel_ok_clicked (GtkButton * button, gpointer user_data)
for(i=0;i<num_elements;i++)
{
gpointer list_data;
filename = fileselection_get_lastfilename (p->fileselection_add_file,list);
list_data = g_list_nth_data(list, 0);
list = g_list_remove(list, list_data);
......@@ -1281,12 +1282,11 @@ on_add_prjfilesel_ok_clicked (GtkButton * button, gpointer user_data)
("\"%s\"\ndoes not exist in the current module directory."
"\nDo you want to IMPORT (copy) it into the module?"),
filename);
if (strcmp (dir, comp_dir) == 0)
if (is_file_same(dir, comp_dir))
on_prj_import_confirm_yes (NULL, user_data);
else
{
int button;
GtkWidget * label = gtk_label_new(mesg);
GtkWidget * dialog = gnome_dialog_new(
......
......@@ -1187,6 +1187,27 @@ move_file_if_not_same (gchar* src, gchar* dest)
return TRUE;
}
gboolean is_file_same(gchar *a, gchar *b)
{
struct stat st_a,st_b;
if(stat(a, &st_a) == -1)
{
printf("WARNING: Unable to stat '%s'.", a);
return FALSE;
}
if(stat(b, &st_b) == -1)
{
printf("WARNING: Unable to stat '%s'.", b);
return FALSE;
}
if(st_a.st_ino == st_b.st_ino)
return TRUE;
else
return FALSE;
}
gchar*
get_file_as_buffer (gchar* filename)
{
......
......@@ -164,6 +164,9 @@ gboolean copy_file(gchar* src, gchar* dest, gboolean show_error);
/* Which may result in recompilation, etc */
gboolean move_file_if_not_same (gchar* src, gchar* dest);
/* Check if two files/dirs/etc are the same one */
gboolean is_file_same(gchar *a, gchar *b);
/* Update, flush and paint all gtk widgets */
void update_gtk(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment