作図ソフト dia の改良版
Revision | 8ce7087364e8145f6b418767e58e9385376ee350 (tree) |
---|---|
Time | 2007-02-27 06:58:02 |
Author | Lars Clausen <lclausen@src....> |
Commiter | Lars Clausen |
Prerelease 5
svn path=/trunk/; revision=3625
@@ -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 | + | |
1 | 11 | 2007-02-25 Gabor Kelemen <kelemeng@gnome.hu> |
2 | 12 | |
3 | 13 | * installer/win32/locale/hungarian.nsh: |
@@ -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 | + | |
1 | 7 | dia-0.96-pre4: 5-Feb-2007 |
2 | 8 | |
3 | 9 | * Fourth prerelease for 0.96. This one has yet another new version of |
@@ -23,6 +23,8 @@ | ||
23 | 23 | #include <config.h> |
24 | 24 | #endif |
25 | 25 | |
26 | +/* so we get popen and sigaction even when compiling with -ansi */ | |
27 | +#define _POSIX_C_SOURCE 2 | |
26 | 28 | #include <stdio.h> |
27 | 29 | #include <string.h> /* strlen */ |
28 | 30 | #include <signal.h> |
@@ -252,7 +254,7 @@ diagram_print_ps(Diagram *dia) | ||
252 | 254 | * needed anymore because the pipe handling - which never worked on win32 |
253 | 255 | * anyway - is replace by "native" postscript printing now ... |
254 | 256 | */ |
255 | - void *old_action; | |
257 | + struct sigaction old_sigpipe_action, sigpipe_action; | |
256 | 258 | #endif |
257 | 259 | |
258 | 260 | /* create the dialog */ |
@@ -470,7 +472,9 @@ diagram_print_ps(Diagram *dia) | ||
470 | 472 | #ifndef G_OS_WIN32 |
471 | 473 | /* set up a SIGPIPE handler to catch IO errors, rather than segfaulting */ |
472 | 474 | 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); | |
474 | 478 | #endif |
475 | 479 | |
476 | 480 | paginate_psprint(dia, file); |
@@ -486,7 +490,7 @@ diagram_print_ps(Diagram *dia) | ||
486 | 490 | |
487 | 491 | #ifndef G_OS_WIN32 |
488 | 492 | /* restore original behaviour */ |
489 | - signal(SIGPIPE, old_action); | |
493 | + sigaction(SIGPIPE, &old_sigpipe_action, NULL); | |
490 | 494 | #endif |
491 | 495 | if (sigpipe_received) |
492 | 496 | message_error(_("Printing error: command '%s' caused sigpipe."), |
@@ -18,7 +18,7 @@ | ||
18 | 18 | #undef LOCALEDIR /* needs to be calculated at runtime */ |
19 | 19 | /* NOT: #define LOCALEDIR "../lib/locale" */ |
20 | 20 | |
21 | -#define VERSION "0.96-pre4" | |
21 | +#define VERSION "0.96-pre5" | |
22 | 22 | |
23 | 23 | /* |
24 | 24 | * We are linking libxml as DLL with either msvc or mingw, but this |
@@ -1,6 +1,6 @@ | ||
1 | 1 | dnl Process this -*- autoconf -*- file with autoconf to produce a |
2 | 2 | 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) | |
4 | 4 | AC_CONFIG_SRCDIR(app/diagram.c) |
5 | 5 | AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION) |
6 | 6 |
@@ -8,7 +8,7 @@ | ||
8 | 8 | |
9 | 9 | [ |
10 | 10 | |
11 | - <!ENTITY VERSION "0.96-pre4"> | |
11 | + <!ENTITY VERSION "0.96-pre5"> | |
12 | 12 | |
13 | 13 | <!ENTITY INTRODUCTION SYSTEM "intro.xml"> |
14 | 14 |
@@ -4,7 +4,7 @@ | ||
4 | 4 | |
5 | 5 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "../../dtd/docbookx.dtd" [ |
6 | 6 | |
7 | - <!ENTITY VERSION "0.96-pre4"> | |
7 | + <!ENTITY VERSION "0.96-pre5"> | |
8 | 8 | |
9 | 9 | <!ENTITY INTRODUCTION SYSTEM "intro.xml"> |
10 | 10 |
@@ -1,7 +1,7 @@ | ||
1 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
2 | 2 | |
3 | 3 | <!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"> | |
5 | 5 | <!ENTITY INTRODUCTION SYSTEM "intro.xml"> |
6 | 6 | <!ENTITY QUICKSTART SYSTEM "usage-quickstart.xml"> |
7 | 7 | <!ENTITY CANVAS SYSTEM "usage-canvas.xml"> |