gtranslator r3453 - in branches/GOBJECT_WORK: . doc doc/reference src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3453 - in branches/GOBJECT_WORK: . doc doc/reference src
- Date: Tue, 22 Jan 2008 12:40:51 +0000 (GMT)
Author: icq
Date: Tue Jan 22 12:40:50 2008
New Revision: 3453
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3453&view=rev
Log:
2008-01-22 Ignacio Casal Quinteiro <nacho resa gmail com>
* configure.ac:
* doc/Makefile.am:
* doc/reference:
Added gtk-doc support.
* window.h: Added missed func.
Added:
branches/GOBJECT_WORK/doc/reference/
branches/GOBJECT_WORK/doc/reference/Makefile.am
branches/GOBJECT_WORK/doc/reference/gtranslator-docs.sgml
branches/GOBJECT_WORK/doc/reference/gtranslator.types
branches/GOBJECT_WORK/doc/reference/version.xml.in
Modified:
branches/GOBJECT_WORK/ChangeLog
branches/GOBJECT_WORK/configure.ac
branches/GOBJECT_WORK/doc/Makefile.am
branches/GOBJECT_WORK/src/ChangeLog
branches/GOBJECT_WORK/src/window.h
Modified: branches/GOBJECT_WORK/configure.ac
==============================================================================
--- branches/GOBJECT_WORK/configure.ac (original)
+++ branches/GOBJECT_WORK/configure.ac Tue Jan 22 12:40:50 2008
@@ -36,6 +36,7 @@
AC_ISC_POSIX
AM_PROG_LIBTOOL
AC_TYPE_SIGNAL
+GTK_DOC_CHECK([1.0])
dnl -------------------------------------------------------------------
dnl The standard checks for the compiler.
@@ -259,6 +260,8 @@
data/mime/gtranslator.keys_template
data/scripts/Makefile
doc/Makefile
+doc/reference/Makefile
+doc/reference/version.xml
doc/UMTF/Makefile
help/Makefile
help/C/Makefile
Modified: branches/GOBJECT_WORK/doc/Makefile.am
==============================================================================
--- branches/GOBJECT_WORK/doc/Makefile.am (original)
+++ branches/GOBJECT_WORK/doc/Makefile.am Tue Jan 22 12:40:50 2008
@@ -1 +1,14 @@
-SUBDIRS = UMTF
+## the main Makefile.am
+
+SUBDIRS = data doc help man src plugins po
+
+EXTRA_DIST= \
+ DEPENDS \
+ HACKING \
+ gtranslator.spec.in \
+ gtranslator.spec \
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in \
+ omf.make \
+ xmldocs.make
Added: branches/GOBJECT_WORK/doc/reference/Makefile.am
==============================================================================
--- (empty file)
+++ branches/GOBJECT_WORK/doc/reference/Makefile.am Tue Jan 22 12:40:50 2008
@@ -0,0 +1,91 @@
+# Process this file with automake to produce Makefile.in
+
+# see /gtk-doc/examples/Makefile.am
+
+# We require automake 1.6 at least.
+AUTOMAKE_OPTIONS = 1.6
+
+# The name of the module, e.g. 'glib'.
+DOC_MODULE=gtranslator
+
+# The top-level SGML file. You can change this if you want to.
+DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
+
+# The directory containing the source code. Relative to $(srcdir).
+# gtk-doc will search all .c & .h files beneath here for inline comments
+# documenting the functions and macros.
+DOC_SOURCE_DIR=../../src
+
+# Extra options to pass to gtkdoc-scangobj. Not normally needed.
+SCANGOBJ_OPTIONS=
+
+# Extra options to supply to gtkdoc-scan.
+# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
+SCAN_OPTIONS=
+
+# Extra options to supply to gtkdoc-mkdb.
+MKDB_OPTIONS=--sgml-mode --output-format=xml
+
+# Extra options to supply to gtkdoc-mktmpl
+# e.g. MKTMPL_OPTIONS=--only-section-tmpl
+MKTMPL_OPTIONS=
+
+# Extra options to supply to gtkdoc-fixref. Not normally needed.
+# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
+FIXXREF_OPTIONS=
+
+# Used for dependencies. The docs will be rebuilt if any of these change.
+HFILE_GLOB= \
+ $(top_srcdir)/src/*.h \
+ $(top_srcdir)/src/plugin-system/*.h
+
+CFILE_GLOB= \
+ $(top_srcdir)/src/*.c \
+ $(top_srcdir)/src/plugin-system/*.c
+
+# Header files to ignore when scanning (These are internal to gedit).
+IGNORE_HFILES= \
+ actions.h \
+ preferences-dialog.h \
+ draw-spaces.h \
+ module.h \
+ gtranslator-marshall.h \
+ gtranslator-enum-types.h\
+ prefs-manager-private.h \
+ search-dialog.h \
+ header-dialog.h \
+ comment-dialog.h
+
+# Images to copy into HTML directory.
+HTML_IMAGES=
+
+# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
+# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
+content_files=
+
+# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
+# These files must be listed here *and* in content_files
+# e.g. expand_content_files=running.sgml
+expand_content_files=
+
+# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
+# Only needed if you are using gtkdoc-scangobj to dynamically query widget
+# signals and properties.
+GTKDOC_CFLAGS= \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/plugin-system \
+ -I$(top_srcdir)/src/toolbareditor \
+ -I$(top_builddir)/src \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(GTRANSLATOR_CFLAGS)
+
+GTKDOC_LIBS= \
+ $(top_srcdir)/src/libgtranslator.la \
+ $(GTRANSLATOR_LIBS)
+
+# This includes the standard gtk-doc make rules, copied by gtkdocize.
+include $(top_srcdir)/gtk-doc.make
+
+# Other files to distribute
+# e.g. EXTRA_DIST += version.xml.in
Added: branches/GOBJECT_WORK/doc/reference/gtranslator-docs.sgml
==============================================================================
--- (empty file)
+++ branches/GOBJECT_WORK/doc/reference/gtranslator-docs.sgml Tue Jan 22 12:40:50 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY version SYSTEM "version.xml">
+]>
+<book id="index" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <bookinfo>
+ <title>GTranslator Reference Manual</title>
+ <releaseinfo>for GTranslator &version;</releaseinfo>
+ </bookinfo>
+
+ <chapter>
+ <title>API reference</title>
+ <xi:include href="xml/application.xml"/>
+ <xi:include href="xml/comment.xml"/>
+ <xi:include href="xml/header.xml"/>
+ <xi:include href="xml/history-entry.xml"/>
+ <xi:include href="xml/io-error-message-area.xml"/>
+ <xi:include href="xml/message-area.xml"/>
+ <xi:include href="xml/message-table.xml"/>
+ <xi:include href="xml/msg.xml"/>
+ <xi:include href="xml/notebook.xml"/>
+ <xi:include href="xml/plugin.xml"/>
+ <xi:include href="xml/panel.xml"/>
+ <xi:include href="xml/po.xml"/>
+ <xi:include href="xml/statusbar.xml"/>
+ <xi:include href="xml/tab.xml"/>
+ <xi:include href="xml/utils_gui.xml"/>
+ <xi:include href="xml/view.xml"/>
+ <xi:include href="xml/window.xml"/>
+ </chapter>
+
+</book>
Added: branches/GOBJECT_WORK/doc/reference/gtranslator.types
==============================================================================
--- (empty file)
+++ branches/GOBJECT_WORK/doc/reference/gtranslator.types Tue Jan 22 12:40:50 2008
@@ -0,0 +1,18 @@
+
+#include "application.h"
+#include "comment.h"
+#include "header.h"
+#include "history-entry.h"
+#include "io-error-message-area.h"
+#include "message-area.h"
+#include "message-table.h"
+#include "msg.h"
+#include "notebook.h"
+#include "plugin.h"
+#include "panel.h"
+#include "po.h"
+#include "statusbar.h"
+#include "tab.h"
+#include "utils_gui.h"
+#include "view.h"
+#include "window.h"
Added: branches/GOBJECT_WORK/doc/reference/version.xml.in
==============================================================================
--- (empty file)
+++ branches/GOBJECT_WORK/doc/reference/version.xml.in Tue Jan 22 12:40:50 2008
@@ -0,0 +1 @@
+ VERSION@
Modified: branches/GOBJECT_WORK/src/window.h
==============================================================================
--- branches/GOBJECT_WORK/src/window.h (original)
+++ branches/GOBJECT_WORK/src/window.h Tue Jan 22 12:40:50 2008
@@ -79,6 +79,8 @@
GtranslatorTab *gtranslator_window_get_active_tab (GtranslatorWindow *window);
+GList *gtranslator_window_get_all_tabs (GtranslatorWindow *window);
+
GtranslatorNotebook
*gtranslator_window_get_notebook (GtranslatorWindow *window);
GtranslatorHeader
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]