Tue Jun 17 14:28:40 CEST 2003 Arnaud Charlet glade/utils.c: Remove wrong/unneeded Win32 specific code. Mon Jun 16 16:12:18 CEST 2003 Arnaud Charlet glade/main.c: Disable gail and non portable nls calls. glade/glade_project.c: Set Ada as the default language. configure.in: Disable check for scrollkeeper, not needed/available. Thu Jun 12 12:05:57 CEST 2003 Nicolas Setton glade/glade_project.c: Generate Ada as well as C and C++. --- glade/main.c.old Mon Jun 16 15:53:41 2003 +++ glade/main.c Mon Jun 16 16:07:16 2003 @@ -122,7 +122,7 @@ #ifdef USE_GNOME modules_needed = "gail"; /* FIXME: Add gail-gnome when it is ready. */ #else - modules_needed = "gail"; + modules_needed = ""; #endif new_modules = g_strdup_printf ("GTK_MODULES=%s%s%s", modules ? modules : "", @@ -173,7 +173,7 @@ #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, GLADE_LOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + /* bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); */ textdomain (GETTEXT_PACKAGE); #endif --- glade/glade_project.c.old Mon Jun 16 16:02:15 2003 +++ glade/glade_project.c Mon Jun 16 16:11:07 2003 @@ -46,7 +46,7 @@ /* The order must match the GladeLanguageType enum in glade_project.h. */ gchar *GladeLanguages[] = { "C", "C++" , "Ada 95", "Perl", "Eiffel" }; #if 1 -gint GladeNumLanguages = 2; /* Only C and C++ for now. */ +gint GladeNumLanguages = 3; /* Only C, C++ and Ada for now. */ #else gint GladeNumLanguages = sizeof (GladeLanguages) / sizeof (GladeLanguages[0]); #endif @@ -160,7 +160,7 @@ project->source_directory = NULL; project->pixmaps_directory = NULL; - project->language = GLADE_LANGUAGE_C; + project->language = GLADE_LANGUAGE_ADA95; property_show_lang_specific_page (project->language); project->changed = FALSE; --- configure.in.old Mon Jun 16 15:45:38 2003 +++ configure.in Mon Jun 16 15:45:39 2003 @@ -114,18 +114,6 @@ dnl *************************************************************************** -dnl Check for ScrollKeeper -dnl *************************************************************************** - -AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no) -if test "$SCROLLKEEPER_CONFIG" = "no"; then - AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper package) -fi -SCROLLKEEPER_REQUIRED=0.1.4 -AC_SUBST(SCROLLKEEPER_REQUIRED) - - -dnl *************************************************************************** dnl Debugging - defines GLADE_DEBUG if --enable-debug option is used. dnl *************************************************************************** --- configure.old Fri Apr 11 14:37:55 2003 +++ configure Thu Jun 15 15:00:04 2006 @@ -11925,56 +11925,6 @@ fi -# Extract the first word of "scrollkeeper-config", so it can be a program name with args. -set dummy scrollkeeper-config; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $SCROLLKEEPER_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no" - ;; -esac -fi -SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG - -if test -n "$SCROLLKEEPER_CONFIG"; then - echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5 -echo "${ECHO_T}$SCROLLKEEPER_CONFIG" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test "$SCROLLKEEPER_CONFIG" = "no"; then - { { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config" >&5 -echo "$as_me: error: Couldn't find scrollkeeper-config" >&2;} - { (exit please install the scrollkeeper package); exit please install the scrollkeeper package; }; } -fi -SCROLLKEEPER_REQUIRED=0.1.4 - - - - # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" @@ -12668,8 +12618,6 @@ s,@INTLOBJS@,$INTLOBJS,;t t s,@POFILES@,$POFILES,;t t s,@POSUB@,$POSUB,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t -s,@SCROLLKEEPER_CONFIG@,$SCROLLKEEPER_CONFIG,;t t -s,@SCROLLKEEPER_REQUIRED@,$SCROLLKEEPER_REQUIRED,;t t CEOF _ACEOF --- glade/utils.c.old 2003-06-17 14:26:50.000000000 +0100 +++ glade/utils.c 2003-06-17 14:26:57.000000000 +0100 @@ -21,13 +21,8 @@ #include #include #include -#ifdef _WIN32 -#include -#include -#else #include #include -#endif #include #include