Commit ca5338f3 authored by Sebastien Granjoux's avatar Sebastien Granjoux

Fix #564282 – configure error: source directory already configured Fix

	* plugins/build-basic-autotools/plugin.c:
	Fix #564282 – configure error: source directory already configured
	Fix #567513 – Running configure doesn't make anjuta be aware that the
	project doesn't need a configure stage in its menus
	Fix #565170 – Invalid read in plugin.c

	* plugins/project-wizard/templates/terminal.wiz,
	plugins/project-wizard/templates/xlib-dock.wiz,
	plugins/project-wizard/templates/wxwin.wiz,
	plugins/project-wizard/templates/java.wiz,
	plugins/project-wizard/templates/gnome-applet.wiz,
	plugins/project-wizard/templates/anjuta-plugin-vala.wiz,
	plugins/project-wizard/templates/anjuta-plugin.wiz,
	plugins/project-wizard/templates/gtkmm.wiz,
	plugins/project-wizard/templates/python.wiz,
	plugins/project-wizard/templates/cpp.wiz,
	plugins/project-wizard/templates/sdl.wiz,
	plugins/project-wizard/templates/gtk.wiz,
	plugins/project-wizard/templates/minimal.wiz,
	plugins/project-wizard/templates/xlib.wiz,
	plugins/project-wizard/templates/gcj.wiz:
	Do not generate project in the wizard (can be easily done later)

	* plugins/project-wizard/templates/gtkmm/src/main.cc,
	plugins/project-wizard/templates/gtk/src/main.c,
	plugins/run-program/parameters.c:
	Read glade file in a directory relative to project source directory
	Set by default working directory to project source directory

	* plugins/project-wizard/templates/translatable-strings.h:
	Remove translatable string used in the removed GNOME template

	* plugins/gdb/debugger.c:
	Avoid bug #573326 in one additional case

svn path=/trunk/; revision=4811
parent f16de3c9
2009-02-28 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/build-basic-autotools/plugin.c:
Fix #564282 – configure error: source directory already configured
Fix #567513 – Running configure doesn't make anjuta be aware that the
project doesn't need a configure stage in its menus
Fix #565170 – Invalid read in plugin.c
* plugins/project-wizard/templates/terminal.wiz,
plugins/project-wizard/templates/xlib-dock.wiz,
plugins/project-wizard/templates/wxwin.wiz,
plugins/project-wizard/templates/java.wiz,
plugins/project-wizard/templates/gnome-applet.wiz,
plugins/project-wizard/templates/anjuta-plugin-vala.wiz,
plugins/project-wizard/templates/anjuta-plugin.wiz,
plugins/project-wizard/templates/gtkmm.wiz,
plugins/project-wizard/templates/python.wiz,
plugins/project-wizard/templates/cpp.wiz,
plugins/project-wizard/templates/sdl.wiz,
plugins/project-wizard/templates/gtk.wiz,
plugins/project-wizard/templates/minimal.wiz,
plugins/project-wizard/templates/xlib.wiz,
plugins/project-wizard/templates/gcj.wiz:
Do not generate project in the wizard (can be easily done later)
* plugins/project-wizard/templates/gtkmm/src/main.cc,
plugins/project-wizard/templates/gtk/src/main.c,
plugins/run-program/parameters.c:
Read glade file in a directory relative to project source directory
Set by default working directory to project source directory
* plugins/project-wizard/templates/translatable-strings.h:
Remove translatable string used in the removed GNOME template
* plugins/gdb/debugger.c:
Avoid bug #573326 in one additional case
2009-02-28 Claude Paroz <claude@2xlibre.net>
* manuals/anjuta-manual/C/debugger.xml: <tip> tag content must be enclosed
This diff is collapsed.
......@@ -760,7 +760,7 @@ debugger_set_environment (Debugger *debugger, gchar **variables)
g_return_val_if_fail (IS_DEBUGGER (debugger), FALSE);
if (variables != NULL)
if ((variables != NULL) && (*variables != NULL))
{
for (; *variables != NULL; variables++)
{
......
......@@ -115,6 +115,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -112,6 +112,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -83,6 +83,5 @@
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -89,6 +89,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -91,6 +91,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -86,6 +86,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -51,7 +51,7 @@
/* For testing propose use the local (not installed) glade file */
/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameHLower+]/glade/[+NameHLower+].glade" */
#define GLADE_FILE "[+NameHLower+].glade"
#define GLADE_FILE "src/[+NameHLower+].glade"
GtkWidget*
create_window (void)
......
......@@ -85,6 +85,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -22,7 +22,7 @@
/* For testing propose use the local (not installed) glade file */
/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameHLower+]/glade/[+NameHLower+].glade" */
#define GLADE_FILE "[+NameHLower+].glade"
#define GLADE_FILE "src/[+NameHLower+].glade"
int
main (int argc, char *argv[])
......
......@@ -85,6 +85,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -62,6 +62,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -85,6 +85,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -74,6 +74,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -74,6 +74,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
char *s = N_("A GNOME applet project");
char *s = N_("A generic C++ project");
char *s = N_("A generic GNOME project");
char *s = N_("A generic GTK+ project");
char *s = N_("A generic GTKmm (C++) project");
char *s = N_("A generic Xlib dock applet");
......@@ -40,7 +39,6 @@ char *s = N_("Django Project");
char *s = N_("Django Project information");
char *s = N_("Email address:");
char *s = N_("GCJ needs to know which class contains the main() function");
char *s = N_("GNOME");
char *s = N_("GNOME Applet");
char *s = N_("GTK+");
char *s = N_("GTKmm");
......@@ -97,9 +95,7 @@ char *s = N_("Require SDL_ttf:");
char *s = N_("SDL");
char *s = N_("Select code license");
char *s = N_("Shell values to watch");
char *s = N_("Use libglade for the UI");
char *s = N_("Use pkg-config to add library support from other packages");
char *s = N_("Use the libglade-2.0 library to load the glade interface file at runtime");
char *s = N_("Value Name:");
char *s = N_("Values to watch");
char *s = N_("Version:");
......
......@@ -79,6 +79,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -85,6 +85,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -80,6 +80,5 @@
</content>
<action>
<run command="sh -c &quot;cd [+(raw-shell-str (get "Destination"))+] &amp;&amp; ./autogen.sh&quot;"/>
<open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
......@@ -638,7 +638,7 @@ run_dialog_init (RunDialog *dlg, RunProgramPlugin *plugin)
g_object_unref (model);
/* Fill working directory list */
g_list_foreach (plugin->recent_dirs, on_add_directory_in_chooser, dlg->dirs);
g_list_foreach (plugin->recent_dirs, on_add_directory_in_chooser, dlg->dirs);
if (plugin->recent_dirs != NULL) gtk_file_chooser_set_uri (dlg->dirs, (const char *)plugin->recent_dirs->data);
/* Fill target combo box */
......@@ -682,6 +682,10 @@ run_dialog_init (RunDialog *dlg, RunProgramPlugin *plugin)
}
g_list_free (exec_targets);
}
/* Set a default value for current dir, allowing to find glade file in
* new project created by the wizard without any change */
if (plugin->recent_dirs == NULL) gtk_file_chooser_set_uri (dlg->dirs, project_root_uri);
}
if (plugin->recent_target != NULL)
......
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