Commit 5ca9ddef authored by Dave Camp's avatar Dave Camp

Initial revision

parent 7a8bbfb6
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.h
config.log
config.status
config.sub
configure
configure.scan
libtool
ltconfig
ltmain.sh
stamp-h
stamp-h.in
stamp.h
version.h
config.h.in
.exrc
install-sh
missing
mkinstalldirs
INSTALL
intl
ABOUT-NLS
COPYING
galConf.sh
*.tar.gz
Dave Camp <dave@helixcode.com>
Neil Hodgson <neilh@scintilla.org> (Scintilla Widget)
\ No newline at end of file
Dave Camp <dave@helixcode.com>
JP Rosevear <jpr@helixcode.com>
\ No newline at end of file
SUBDIRS = gdl scintilla-control po intl
confexecdir = $(libdir)
confexec_DATA = gdlConf.sh
gdlConf.sh: $(top_srcdir)/gdlConf.sh.in Makefile
sed -e 's?\@GDL_LIBDIR\@?$(GDL_LIBDIR)?g' \
-e 's?\@GDL_INCLUDEDIR\@?$(GDL_INCLUDEDIR)?g' \
-e 's?\@VERSION\@?$(VERSION)?g' \
-e 's?\@GDL_LIBS\@?$(GDL_LIBS)?g' \
< $(top_srcdir)/gdlConf.sh.in > gdlConf.tmp \
&& mv gdlConf.tmp gdlConf.sh
EXTRA_DIST = \
gdlConf.sh.in \
MAINTAINERS \
AUTHORS
CLEANFILES = gdlConf.sh
New module. Created from Evolution bits and Gnumeric bits
Gnome Devtool Libraries
=======================
This package contains components and libraries that are intended to be
shared between GNOME development tools, such as gIDE and gnome-debug.
The current pieces of GDL include:
- A code-editing bonboo component based on the Scintilla
widget (scintilla-control).
- An implementation of the CORBA event service (event-service).
- A utility library that also contains the stubs and skels for
the above components (gdl).
Discussion of GDL development takes place on the
gnome-devtools@helixcode.com mailing list.
GDL is licensed under the terms of the GPL.
\ No newline at end of file
#undef ENABLE_NLS
#undef HAVE_CATGETS
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES
#undef HAVE_STPCPY
#undef HAVE_LIBSM
#undef PACKAGE
#undef VERSION
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
PROJECT="the GNOME Devtool Libraries"
TEST_TYPE=-f
FILE=gdlConf.sh.in
DIE=0
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool installed to compile $PROJECT."
echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $PROJECT."
echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
fi
case $CC in
*lcc | *lcc\ *) am_opt=--include-deps;;
esac
echo "Running gettextize... Ignore non-fatal messages."
# Hmm, we specify --force here, since otherwise things don't
# get added reliably, but we don't want to overwrite intl
# while making dist.
echo "no" | gettextize --copy --force
echo "Running libtoolize"
libtoolize --copy --force
if test -z "$GNOME_INTERFACE_VERSION"; then
ACLOCAL_FLAGS="-I hack-macros $ACLOCAL_FLAGS"
fi
aclocal $ACLOCAL_FLAGS
# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
automake -a $am_opt
autoconf
cd $ORIGDIR
$srcdir/configure --enable-maintainer-mode "$@"
echo
echo "Now type 'make' to compile $PROJECT."
AC_INIT(gdlConf.sh.in)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gdl,0.1.0)
AM_MAINTAINER_MODE
dnl libtool versioning
dnl gdl-0.1.0 = 0
dnl increment if any interfaces have been added; set to 0
dnl if any interfaces have been removed. removal has
dnl precedence over adding, so set to 0 if both happened.
dnl AKA Major
GDL_AGE=0
dnl gdl-0.1.0 = 1
dnl increment any time the source changes; set to
dnl 0 if you increment CURRENT
dnl AKA Minor
GDL_REVISION=1
dnl gdl-0.1.0 = 1
dnl increment if the interface has additions, changes, removals.
dnl AKA Micro
GAL_CURRENT=1
AC_SUBST(GDL_CURRENT)
AC_SUBST(GDL_REVISION)
AC_SUBST(GDL_AGE)
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CXX
AC_PROG_YACC
AM_PROG_LEX
AC_STDC_HEADERS
AC_ARG_PROGRAM
AM_PROG_LIBTOOL
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AM_PATH_GNOME(1.0.0,,AC_MSG_ERROR([*** Error finding libraries.]), [bonobo bonobox idl oaf])
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOMEUI_LIBS)
AC_SUBST(BONOBO_CFLAGS)
AC_SUBST(BONOBO_LIBS)
AC_SUBST(BONOBOX_CFLAGS)
AC_SUBST(BONOBOX_LIBS)
AC_SUBST(IDL_CFLAGS)
AC_SUBST(OAF_CFLAGS)
AM_PATH_ORBIT
GNOME_IDL_DIR="`$GNOME_CONFIG --datadir`/idl"
AM_GNOME_GETTEXT
ALL_LINGUAS=""
gnomelocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(gnomelocaledir)
GDL_LIBDIR='-L${libdir}'
GDL_INCLUDEDIR=" -I${includedir} `$GNOME_CONFIG --cflags gnomeui ` $UNICODE_LIBS"
GDL_LIBS="-lgdl `$GNOME_CONFIG --libs bonobox`"
AC_SUBST(GDL_LIBDIR)
AC_SUBST(GDL_INCLUDEDIR)
AC_SUBST(GDL_LIBS)
AC_OUTPUT([
Makefile
gdl/Makefile
idl/Makefile
scintilla-control/Makefile
scintilla-control/scintilla/Makefile
intl/Makefile
po/Makefile.in
stamp.h
],[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
Makefile.in
Makefile
*.lo
*.la
.deps
_libs
.libs
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locales"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) $(BONOBO_CFLAGS)
lib_LTLIBRARIES = libgdl.la
CORBA_GENERATED_HEADER_FILES = GDL.h
CORBA_GENERATED = \
$(CORBA_GENERATED_HEADER_FILES) \
GDL-common.c \
GDL-stubs.c \
GDL-skels.c
BUILT_SOURCES=$(CORBA_GENERATED)
idl_dir = $(top_srcdir)/idl
IDL_FLAGS = -D__GDL_COMPILATION -I $(idl_dir) -I $(datadir)/dil $(IDL_CFLAGS)
$(CORBA_GENERATED) : $(idl_dir)/GDL.idl \
$(idl_dir)/editor-buffer.idl
$(ORBIT_IDL) $(IDL_FLAGS) $(idl_dir)/GDL.idl
libgdl_la_SOURCES = \
$(CORBA_GENERATED) \
gdl-server-manager.c
libgdl_la_LIBADD = \
$(BONOBO_LIBS) \
$(GNOME_LIBS)
libgdlincludedir = $(includedir)/gdl
libgdlinclude_HEADERS = \
gdl.h \
gdl-server-manager.h \
gdl-tools.h
\ No newline at end of file
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtool Libraries.
*
* Copyright (C) 1999-2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <config.h>
#include "gdl-server-manager.h"
#include <gtk/gtksignal.h>
static GdlServerManagerCallback all_destroyed_callback = NULL;
static int num_servers = 0;
static void destroy_cb (GtkObject *server, gpointer data);
/**
* gdl_server_manager_init:
* @callback: Function to call when all servants have been destroyed.
*
* Initializes the server manager. @callback is called when all registered
* servers have been destroyed.
**/
void
gdl_server_manager_init (GdlServerManagerCallback callback)
{
all_destroyed_callback = callback;
num_servers = 0;
}
/**
* gdl_server_manager_register_object:
* @server: The object to register.
*
* Registers an object with the server manager.
**/
void
gdl_server_manager_register_object (GtkObject *object)
{
gtk_signal_connect (GTK_OBJECT (object),
"destroy",
GTK_SIGNAL_FUNC (destroy_cb),
NULL);
num_servers++;
}
/* private functions */
void
destroy_cb (GtkObject *server, gpointer data)
{
num_servers--;
if (num_servers == 0) {
all_destroyed_callback ();
}
}
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtool Libraries.
*
* Copyright (C) 1999-2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GDL_SERVER_MANAGER_H__
#define __GDL_SERVER_MANAGER_H__
#include <gtk/gtkobject.h>
typedef void (*GdlServerManagerCallback)(void);
void gdl_server_manager_init (GdlServerManagerCallback callback);
void gdl_server_manager_register_object (GtkObject *object);
#endif
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtool Libraries
*
* Copyright (C) 1999-2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* Miscellaneous GDL tools/macros */
#ifndef __GDL_TOOLS_H__
#define __GDL_TOOLS_H__
#include <glib.h>
BEGIN_GNOME_DECLS
/* FIXME: Toggle this */
#define DO_GDL_TRACE
#ifdef DO_GDL_TRACE
#ifdef __GNUC__
#define GDL_TRACE() G_STMT_START { \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_DEBUG, \
"file %s: line %d (%s)", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__); } G_STMT_END
#define GDL_TRACE_EXTRA(format, args...) G_STMT_START { \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_DEBUG, \
"file %s: line %d (%s): "format, \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
##args); } G_STMT_END
#else /* __GNUC__ */
#define GDL_TRACE() G_STMT_START { \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_DEBUG, \
"file %s: line %d", \
__FILE__, \
__LINE__); } G_STMT_END
#define GDL_TRACE_EXTRA(format, args...) G_STMT_START { \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_DEBUG, \
"file %s: line %d: "format, \
__FILE__, \
__LINE__, \
##args); } G_STMT_END
#endif /* __GNUC__ */
#else /* DO_GDL_TRACE */
#define GDF_TRACE()
#define GDF_TRACE_EXTRA()
#endif /* DO_GDL_TRACE */
END_GNOME_DECLS
#endif
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtools Libraries.
*
* Copyright (C) 1999-2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GDL_H__
#define __GDL_H__
#include "GDL.h"
#include "gdl-tools.h"
#include "gdl-server-manager.h"
#endif
#
# Configuration file for using the Bonobo library in GNOME applications
#
GDL_LIBDIR="@GDL_LIBDIR@"
GDL_LIBS="@GDL_LIBS@"
GDL_INCLUDEDIR="@GDL_INCLUDEDIR@"
MODULE_VERSION="gdl-@VERSION@"
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtools Libraries
*
* Copyright (C) 2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GDL_IDL__
#define __GDL_IDL__
#if !defined(__GDL_COMPILATION && defined(__ORBIT_IDL__)
%{
#pragma include_defs gdl/GDL.h
%}
#pragma inhibit push
#endif
#include <Bonobo.idl>
#include "editor-buffer.idl"
#if !defined(__GDL_COMPILATION && defined(__ORBIT_IDL__)
#pragma inhibit pop
#endif
#endif
idldir = $(datadir)/idl
idl_DATA = \
GDL.idl \
editor-buffer.idl
EXTRA_DIST = $(idl_DATA)
\ No newline at end of file
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Devtool Libraries
*
* Copyright (C) 2000 Dave Camp <dave@helixcode.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
module Development {
interface EditorBuffer : Bonobo::Unknown {
typedef sequence<octet> iobuf;
long get_length ();
void read (in long offset, in long count, out iobuf buffer);
void insert (in long offset, in iobuf buffer);
void delete (in long offset, in long count);
};
};
*.gmo
*.mo
Makefile
Makefile.in
Makefile.in.in
POTFILES
cat-id-tbl.c
stamp-cat-id
gal.pot
2000-10-29 Jesus Bravo Alvarez <jba@pobox.com>
* gl.po: Updated Galician translation.
2000-10-26 Matthias Warkus <mawa@iname.com>
* de.po: Fixes.
2000-10-26 Zbigniew Chyla <cyba@gnome.pl>
* pl.po: Added Polish translation.
2000-10-23 Christopher R. Gabriel <cgabriel@softwarelibero.org>
* it.po: updated italian translation.
2000-10-20 Christophe Merlet <christophe@merlet.net>
* fr.po: Added French translation.
2000-10-15 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2000-10-15 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
2000-10-14 Christian Meyer <cm@ggtt.de>
* de.po: Updated and Fixes for German translation.
2000-10-09 Jesus Bravo Alvarez <jba@pobox.com>
* gl.po: Added Galician translation.
2000-10-07 Kai Lahmann <kl@linuxfaqs.de>
* de.po: Updatd German translation
2000-10-06 Yukihiro Nakai <nakai@gnome.gr.jp>
* ja.po: Initial Japanese translation.
2000-10-04 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
2000-10-04 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2000-10-02 Christian Meyer <cm@ggtt.de>
* de.po: Small Update for German translation.
2000-10-01 Kai Lahmann <kl@linuxfaqs.de>
* de.po: Updated German translation
2000-09-29 Valek Filippov <frob@df.ru>
* ru.po: Added russian translation.
2000-09-22 Christian Meyer <linux@chrisime.de>
* de.po: Added German translation.
2000-09-20 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Added Norwegian translation.
2000-09-19 Federico Mena Quintero <federico@helixcode.com>
* POTFILES.in: Fixed for the new src->gal paths.
2000-09-19 Robert Brady <robert@suse.co.uk>
* en_GB.po: Added British translation.
2000-09-19 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2000-09-19 Richard Hult <rhult@codefactory.se>
* sv.po: Fixed a few strings in the Swedish translation.
2000-09-19 Christian Rose <menthos@menthos.com>
* sv.po: Added Swedish translation.
2000-09-17 Kenneth Christiansen <kenneth@gnu.org>
* desk.pl, update.pl: Two new scripts for helping
translation/i18n maintainance of Gal
* README.tools: Added readme file, which explains the