Revision: 431
Author: eht16
Date: 2006-06-11 07:08:10 -0700 (Sun, 11 Jun 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=431&view=rev
Log Message:
-----------
Fixed a segfault in document_find_by_filename().
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-06-11 11:14:11 UTC (rev 430)
+++ trunk/ChangeLog 2006-06-11 14:08:10 UTC (rev 431)
@@ -4,6 +4,7 @@
* src/highlighting.c: Replaced "/" by G_DIR_SEPARATOR_S.
* src/utils.c: Fixed an issue, which let the build menu item
insensitive once a new file w/o template was opened.
+ * src/document.c: Fixed a segfault in document_find_by_filename().
2006-06-10 Enrico Troeger <enrico.troeger(a)uvena.de>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2006-06-11 11:14:11 UTC (rev 430)
+++ trunk/src/document.c 2006-06-11 14:08:10 UTC (rev 431)
@@ -65,8 +65,8 @@
for(i = 0; i < GEANY_MAX_OPEN_FILES; i++)
{
- gchar *dl_fname = (is_tm_filename) ? doc_list[i].tm_file->file_name :
- doc_list[i].file_name;
+ gchar *dl_fname = (is_tm_filename && doc_list[i].tm_file) ?
+ doc_list[i].tm_file->file_name : doc_list[i].file_name;
#ifdef GEANY_WIN32
// ignore the case of filenames and paths under WIN32, causes errors if not
if (dl_fname && ! strcasecmp(dl_fname, filename)) return i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 428
Author: eht16
Date: 2006-06-10 09:22:51 -0700 (Sat, 10 Jun 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=428&view=rev
Log Message:
-----------
Made preferences dialog transient for the main window.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/dialogs.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-06-10 14:38:45 UTC (rev 427)
+++ trunk/ChangeLog 2006-06-10 16:22:51 UTC (rev 428)
@@ -3,7 +3,8 @@
* src/main.c: Made command line options translatable, hide compiler
message treeview under Win32.
* src/filetypes.c: Added additional patterns to detect configure
- scripts as Shell scripts
+ scripts as Shell scripts.
+ * src/dialogs.c: Made preferences dialog transient for the main window
2006-06-08 Enrico Troeger <enrico.troeger(a)uvena.de>
Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c 2006-06-10 14:38:45 UTC (rev 427)
+++ trunk/src/dialogs.c 2006-06-10 16:22:51 UTC (rev 428)
@@ -1648,6 +1648,7 @@
#endif
app->prefs_dialog = create_prefs_dialog();
+ gtk_window_set_transient_for(GTK_WINDOW(app->prefs_dialog), GTK_WINDOW(app->window));
#ifdef HAVE_VTE
if (app->have_vte)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 422
Author: eht16
Date: 2006-06-08 07:45:14 -0700 (Thu, 08 Jun 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=422&view=rev
Log Message:
-----------
Removed unneeded code for generating geany.1. Added man_MANS to get installed the manpage. Changed build command for HTML documentation. Added new file doc/geany.xsl.
Modified Paths:
--------------
trunk/doc/Makefile.am
Added Paths:
-----------
trunk/doc/geany.1.in
trunk/doc/geany.xsl
Removed Paths:
-------------
trunk/doc/geany.1
Modified: trunk/doc/Makefile.am
===================================================================
--- trunk/doc/Makefile.am 2006-06-07 21:24:15 UTC (rev 421)
+++ trunk/doc/Makefile.am 2006-06-08 14:45:14 UTC (rev 422)
@@ -1,13 +1,9 @@
-
+man_MANS=geany.1
DOCDIR = $(DESTDIR)/$(datadir)/doc/@PACKAGE@
HTML_FILES = html/*.html geany.css
IMAGE_FILES = images/*.jpg
EXTRA_DIST = geany.css make_webable.sh geany.txt geany_gpl.docbook geany.1 geany.docbook $(HTML_FILES) $(IMAGE_FILES)
-geany.1:
- docbook-to-man ../debian/geany.sgml >geany.1
-# docbook2man -o geany.1 ../debian/geany.sgml
-
pdf:
jw -b pdf geany.docbook
mv geany.pdf geany-$(VERSION).pdf
@@ -16,13 +12,13 @@
jw -b txt geany.docbook
html/index.html:
-# xmlto -o html/ xhtml geany.docbook
$(mkinstalldirs) html
- xsltproc --stringparam html.stylesheet geany.css -o html/ \
- /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl geany.docbook
+ xmlto -x geany.xsl -o html/ xhtml geany.docbook
+# xsltproc --stringparam html.stylesheet geany.css -o html/ \
+# /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl geany.docbook
test -f html/geany.css || cp geany.css html/
-doc: geany.1 geany.txt html/index.html
+doc: geany.txt html/index.html
doc-clean:
rm -rf html/*.html
@@ -34,7 +30,7 @@
uninstall-local:
rm -rf $(DOCDIR);
-install-data-local: geany.1 geany.txt html/index.html
+install-data-local: geany.txt html/index.html
$(mkinstalldirs) $(DOCDIR)/html/images
for file in `ls $(HTML_FILES)`; do \
if [ -f $$file ]; then \
Deleted: trunk/doc/geany.1
===================================================================
--- trunk/doc/geany.1 2006-06-07 21:24:15 UTC (rev 421)
+++ trunk/doc/geany.1 2006-06-08 14:45:14 UTC (rev 422)
@@ -1,50 +0,0 @@
-.TH "GEANY" "1"
-.SH "NAME"
-geany \(em a small and lightweight IDE
-.SH "SYNOPSIS"
-.PP
-\fBgeany\fR [\fBoption\fP] [\fBfiles ...\fP]
-.SH "DESCRIPTION"
-.PP
-geany is a mini C editor using GTK2 with many features of an integrated development environment. Some of its
-features are: syntax highlighting, code completion, many filetypes, symbol lists and many more
-
-.SH "OPTIONS"
-.IP "\fB-n\fP \fB\-\-no-ctags\fP " 10
-Don't load auto completion and call tip data. Use this option, if you don't want to use them.
-For more information see documentation.
-.IP "\fB-m\fP \fB\-\-no-msgwin\fP " 10
-Do not show the message window. Use this option if you do not need compiler messages
-or VTE support.
-.IP "\fB-t\fP \fB\-\-no-terminal\fP " 10
-Don't load terminal support. Use this option, if you don't want to load the virtual terminal
-emulator widget at startup. If you don't have libvte.so.4 installed, then terminal-support is
-automatically disabled.
-.IP "\fB-l\fP \fB\-\-vte-lib\fP " 10
-Specify explicitly the path including filename or only the filename to the VTE library, e.g.
-/usr/lib/libvte.so or libvte.so. This option is only needed, when the autodetection does not
-work.
-.IP "\fB-c\fP \fB\-\-config\fP " 10
-Use an alternate configuration directory. Default configuration directory is
-~/.geany/ and there resides geany.conf and some template files.
-.IP "\fB-d\fP \fB\-\-debug\fP " 10
-Runs geany in debug mode, which means being verbose and printing lots of information.
-.IP "\fB-?\fP \fB\-\-help\fP " 10
-Show help information and exit.
-.IP "\fB-v\fP \fB\-\-version\fP " 10
-Show version information and exit.
-.PP
-geany supports all generic GTK options, a list is available on the help screen.
-
-.SH "AUTHOR"
-.PP
-This manual page was written by Enrico Troeger enrico.troeger(a)uvena.de. Permission is
-granted to copy, distribute and/or modify this document under
-the terms of the GNU General Public License, Version 2 any
-later version published by the Free Software Foundation.
-
-.PP
-On Debian systems, the complete text of the GNU General Public
-License can be found in /usr/share/common-licenses/GPL.
-
-.\" created by instant / docbook-to-man, Sun 04 Jun 2006, 14:58
Added: trunk/doc/geany.1.in
===================================================================
--- trunk/doc/geany.1.in (rev 0)
+++ trunk/doc/geany.1.in 2006-06-08 14:45:14 UTC (rev 422)
@@ -0,0 +1,51 @@
+.TH "GEANY" "1" "June 08, 2006" "@PACKAGE@ @VERSION@" ""
+.SH "NAME"
+Geany \(em a small and lightweight IDE
+.SH "SYNOPSIS"
+.PP
+\fBgeany\fR [\fBoption\fP] [\fBfiles ...\fP]
+.SH "DESCRIPTION"
+.PP
+Geany is a small and fast editor with basic features of an integrated development environment.
+.PP
+Some of its features: syntax highlighting, code completion, code folding, symbol/tag lists and
+many supported filetypes like C(++), Java, PHP, HTML, DocBook, Perl and more.
+.PP
+Homepage: http://geany.uvena.de
+
+.SH "OPTIONS"
+.IP "\fB-n\fP \fB\-\-no-ctags\fP " 10
+Don't load auto completion and call tip data. Use this option, if you don't want to use them.
+For more information see documentation.
+.IP "\fB-m\fP \fB\-\-no-msgwin\fP " 10
+Do not show the message window. Use this option if you do not need compiler messages
+or VTE support.
+.IP "\fB-t\fP \fB\-\-no-terminal\fP " 10
+Don't load terminal support. Use this option, if you don't want to load the virtual terminal
+emulator widget at startup. If you don't have libvte.so.4 installed, then terminal-support is
+automatically disabled.
+.IP "\fB-l\fP \fB\-\-vte-lib\fP " 10
+Specify explicitly the path including filename or only the filename to the VTE library, e.g.
+/usr/lib/libvte.so or libvte.so. This option is only needed, when the autodetection does not
+work.
+.IP "\fB-c\fP \fB\-\-config\fP " 10
+Use an alternate configuration directory. Default configuration directory is
+~/.geany/ and there resides geany.conf and some template files.
+.IP "\fB-d\fP \fB\-\-debug\fP " 10
+Runs geany in debug mode, which means being verbose and printing lots of information.
+.IP "\fB-?\fP \fB\-\-help\fP " 10
+Show help information and exit.
+.IP "\fB-v\fP \fB\-\-version\fP " 10
+Show version information and exit.
+.PP
+geany supports all generic GTK options, a list is available on the help screen.
+
+.SH "AUTHOR"
+.PP
+This manual page was written by Enrico Troeger <enrico.troeger(a)uvena.de>. Permission is
+granted to copy, distribute and/or modify this document under
+the terms of the GNU General Public License, Version 2 any
+later version published by the Free Software Foundation.
+.PP
+The complete text of the GNU General Public License can be found in @GEANY_DATA_DIR@/GPL-2.
+
Added: trunk/doc/geany.xsl
===================================================================
--- trunk/doc/geany.xsl (rev 0)
+++ trunk/doc/geany.xsl 2006-06-08 14:45:14 UTC (rev 422)
@@ -0,0 +1,13 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ exclude-result-prefixes="#default">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
+
+<!-- Use stylesheet -->
+<xsl:param name="html.stylesheet" select="'geany.css'"/>
+
+</xsl:stylesheet>
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.