• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Revision8ce7087364e8145f6b418767e58e9385376ee350 (tree)
Time2007-02-27 06:58:02
AuthorLars Clausen <lclausen@src....>
CommiterLars Clausen

Log Message

Prerelease 5

svn path=/trunk/; revision=3625

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
1+2007-02-26 Lars Clausen <lars@raeder.dk>
2+
3+ * NEWS:
4+ * RELEASE-PROCESS:
5+ * config.h.win32:
6+ * doc/en/dia.xml:
7+ * doc/pl/dia.xml:
8+ * doc/eu/dia.xml:
9+ * configure.in: Pre5
10+
111 2007-02-25 Gabor Kelemen <kelemeng@gnome.hu>
212
313 * installer/win32/locale/hungarian.nsh:
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
1+dia-0.96-pre5: 26-Feb-2007
2+
3+ * Fifth prerelease for 0.96. A fix of a number of text-related crash
4+ bugs has come in, and several Python fixes, including a Doxygen import
5+ filter.
6+
17 dia-0.96-pre4: 5-Feb-2007
28
39 * Fourth prerelease for 0.96. This one has yet another new version of
--- a/app/paginate_psprint.c
+++ b/app/paginate_psprint.c
@@ -23,6 +23,8 @@
2323 #include <config.h>
2424 #endif
2525
26+/* so we get popen and sigaction even when compiling with -ansi */
27+#define _POSIX_C_SOURCE 2
2628 #include <stdio.h>
2729 #include <string.h> /* strlen */
2830 #include <signal.h>
@@ -252,7 +254,7 @@ diagram_print_ps(Diagram *dia)
252254 * needed anymore because the pipe handling - which never worked on win32
253255 * anyway - is replace by "native" postscript printing now ...
254256 */
255- void *old_action;
257+ struct sigaction old_sigpipe_action, sigpipe_action;
256258 #endif
257259
258260 /* create the dialog */
@@ -470,7 +472,9 @@ diagram_print_ps(Diagram *dia)
470472 #ifndef G_OS_WIN32
471473 /* set up a SIGPIPE handler to catch IO errors, rather than segfaulting */
472474 sigpipe_received = FALSE;
473- old_action = signal(SIGPIPE, pipe_handler);
475+ memset(&sigpipe_action, 0, sizeof(struct sigaction));
476+ sigpipe_action.sa_handler = pipe_handler;
477+ sigaction(SIGPIPE, &sigpipe_action, &old_sigpipe_action);
474478 #endif
475479
476480 paginate_psprint(dia, file);
@@ -486,7 +490,7 @@ diagram_print_ps(Diagram *dia)
486490
487491 #ifndef G_OS_WIN32
488492 /* restore original behaviour */
489- signal(SIGPIPE, old_action);
493+ sigaction(SIGPIPE, &old_sigpipe_action, NULL);
490494 #endif
491495 if (sigpipe_received)
492496 message_error(_("Printing error: command '%s' caused sigpipe."),
--- a/config.h.win32
+++ b/config.h.win32
@@ -18,7 +18,7 @@
1818 #undef LOCALEDIR /* needs to be calculated at runtime */
1919 /* NOT: #define LOCALEDIR "../lib/locale" */
2020
21-#define VERSION "0.96-pre4"
21+#define VERSION "0.96-pre5"
2222
2323 /*
2424 * We are linking libxml as DLL with either msvc or mingw, but this
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
11 dnl Process this -*- autoconf -*- file with autoconf to produce a
22 dnl configure script.
3-AC_INIT(dia, 0.96-pre4, http://bugzilla.gnome.org/enter_bug.cgi?product=dia)
3+AC_INIT(dia, 0.96-pre5, http://bugzilla.gnome.org/enter_bug.cgi?product=dia)
44 AC_CONFIG_SRCDIR(app/diagram.c)
55 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
66
--- a/doc/en/dia.xml
+++ b/doc/en/dia.xml
@@ -8,7 +8,7 @@
88
99 [
1010
11- <!ENTITY VERSION "0.96-pre4">
11+ <!ENTITY VERSION "0.96-pre5">
1212
1313 <!ENTITY INTRODUCTION SYSTEM "intro.xml">
1414
--- a/doc/eu/dia.xml
+++ b/doc/eu/dia.xml
@@ -4,7 +4,7 @@
44
55 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "../../dtd/docbookx.dtd" [
66
7- <!ENTITY VERSION "0.96-pre4">
7+ <!ENTITY VERSION "0.96-pre5">
88
99 <!ENTITY INTRODUCTION SYSTEM "intro.xml">
1010
--- a/doc/pl/dia.xml
+++ b/doc/pl/dia.xml
@@ -1,7 +1,7 @@
11 <?xml version="1.0" encoding="iso-8859-1"?>
22
33 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "../../dtd/docbookx.dtd"[
4-<!ENTITY VERSION "0.96-pre4">
4+<!ENTITY VERSION "0.96-pre5">
55 <!ENTITY INTRODUCTION SYSTEM "intro.xml">
66 <!ENTITY QUICKSTART SYSTEM "usage-quickstart.xml">
77 <!ENTITY CANVAS SYSTEM "usage-canvas.xml">