作図ソフト dia の改良版
Revision | 80c646fa5b55c423ffa94ea525080775ce4bedb3 (tree) |
---|---|
Time | 2004-08-10 03:39:38 |
Author | Lars Clausen <lclausen@src....> |
Commiter | Lars Clausen |
Pre6 commit
@@ -1,5 +1,21 @@ | ||
1 | 1 | 2004-08-07 Lars Clausen <lars@raeder.dk> |
2 | 2 | |
3 | + * configure.in: | |
4 | + * config.h.win32: | |
5 | + * doc/pl/dia.xml: | |
6 | + * doc/en/dia.xml: | |
7 | + * dia.spec (Release): | |
8 | + * NEWS: New release 0.94-pre6 | |
9 | + | |
10 | +2004-08-07 Lars Clausen <lars@raeder.dk> | |
11 | + | |
12 | + * app/highlight.c (highlight_reset_objects): Unhighlight inside | |
13 | + groups as well. | |
14 | + | |
15 | + * app/load_save.c: | |
16 | + * plug-ins/shape/shape-export.c: String capitalization fix from | |
17 | + Alan Horkan <horkana@tcd.ie> | |
18 | + | |
3 | 19 | * objects/UML/class.c (umlclass_show_comments_callback): Make UML |
4 | 20 | Class object menu kinda work, rather than blow up. Doesn't do a |
5 | 21 | proper undoable change yet. |
@@ -1,3 +1,8 @@ | ||
1 | +dia-0.94-pre6: 7-Aug-2004 | |
2 | + | |
3 | +Fixed crash bug in save as, as well as string sorting issue and crash bug | |
4 | +in UML class and group unhighlighting bug. | |
5 | + | |
1 | 6 | dia-0.94-pre5: 2-Aug-2004 |
2 | 7 | |
3 | 8 | Finally fixed memory leak from layout cache. |
@@ -61,7 +61,7 @@ When a new version is about to be released: | ||
61 | 61 | |
62 | 62 | 4) once the new release is complete and uploaded, announcements on |
63 | 63 | freshmeat, the dia web site, the dia mailing list, |
64 | - gnome-announce-list@gnome.org and maybe a gnotices story | |
64 | + gnome-announce-list@gnome.org, gnomefiles.org and maybe a gnotices story | |
65 | 65 | (news.gnome.org) are made. Alerting the package maintainers for the |
66 | 66 | various distributions is also a good idea, get names from MAINTAINERS |
67 | 67 | and update those who have changed. |
@@ -24,6 +24,7 @@ | ||
24 | 24 | #include "diagramdata.h" |
25 | 25 | #include "object.h" |
26 | 26 | #include "object_ops.h" |
27 | +#include "group.h" | |
27 | 28 | |
28 | 29 | /* One could argue that the actual setting of the object's field |
29 | 30 | * should happen inside lib rather than app. I think that'd be overkill. |
@@ -66,14 +67,14 @@ highlight_object_off(DiaObject *obj, Diagram *dia) | ||
66 | 67 | * highlight_reset_all |
67 | 68 | */ |
68 | 69 | static void |
69 | -highlight_reset_layer(Layer *layer, Diagram *dia) | |
70 | +highlight_reset_objects(GList *objects, Diagram *dia) | |
70 | 71 | { |
71 | - GList *objects; | |
72 | - | |
73 | - for (objects = layer->objects; objects != NULL; | |
74 | - objects = g_list_next(objects)) { | |
72 | + for (; objects != NULL; objects = g_list_next(objects)) { | |
75 | 73 | DiaObject *object = (DiaObject*)objects->data; |
76 | 74 | highlight_object_off(object, dia); |
75 | + if (IS_GROUP(object)) { | |
76 | + highlight_reset_objects(group_objects(object), dia); | |
77 | + } | |
77 | 78 | } |
78 | 79 | } |
79 | 80 |
@@ -87,6 +88,6 @@ void | ||
87 | 88 | highlight_reset_all(Diagram *dia) { |
88 | 89 | int i; |
89 | 90 | for (i = 0; i < dia->data->layers->len; i++) { |
90 | - highlight_reset_layer((Layer*)g_ptr_array_index(dia->data->layers, i), dia); | |
91 | + highlight_reset_objects(((Layer*)g_ptr_array_index(dia->data->layers, i))->objects, dia); | |
91 | 92 | } |
92 | 93 | } |
@@ -1005,12 +1005,12 @@ export_native(DiagramData *data, const gchar *filename, | ||
1005 | 1005 | |
1006 | 1006 | static const gchar *extensions[] = { "dia", NULL }; |
1007 | 1007 | DiaExportFilter dia_export_filter = { |
1008 | - N_("Native Dia Diagram"), | |
1008 | + N_("Dia Diagram File"), | |
1009 | 1009 | extensions, |
1010 | 1010 | export_native |
1011 | 1011 | }; |
1012 | 1012 | DiaImportFilter dia_import_filter = { |
1013 | - N_("Native Dia Diagram"), | |
1013 | + N_("Dia Diagram File"), | |
1014 | 1014 | extensions, |
1015 | 1015 | diagram_data_load |
1016 | 1016 | }; |
@@ -17,7 +17,7 @@ | ||
17 | 17 | #define GETTEXT_PACKAGE "dia" |
18 | 18 | #define LOCALEDIR "../lib/locale" |
19 | 19 | |
20 | -#define VERSION "0.94-pre5" | |
20 | +#define VERSION "0.94-pre6" | |
21 | 21 | |
22 | 22 | /* |
23 | 23 | * 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.94-pre5, http://bugzilla.gnome.org/enter_bug.cgi?product=dia) | |
3 | +AC_INIT(dia, 0.94-pre6, 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 |
@@ -6,7 +6,7 @@ Summary: A gtk+ based diagram creation program. | ||
6 | 6 | Name: %name |
7 | 7 | Version: %ver |
8 | 8 | # This indicates changes to the spec file after last time %ver has changed. |
9 | -Release: pre5 | |
9 | +Release: pre6 | |
10 | 10 | Copyright: GPL |
11 | 11 | Group: Applications/ |
12 | 12 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}.tar.gz |
@@ -8,7 +8,7 @@ | ||
8 | 8 | |
9 | 9 | [ |
10 | 10 | |
11 | - <!ENTITY VERSION "0.94-pre5"> | |
11 | + <!ENTITY VERSION "0.94-pre6"> | |
12 | 12 | |
13 | 13 | <!ENTITY INTRODUCTION SYSTEM "intro.xml"> |
14 | 14 |
@@ -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.94-pre5"> | |
4 | +<!ENTITY VERSION "0.94-pre6"> | |
5 | 5 | <!ENTITY INTRODUCTION SYSTEM "intro.sgml"> |
6 | 6 | <!ENTITY QUICKSTART SYSTEM "usage-quickstart.sgml"> |
7 | 7 | <!ENTITY CANVAS SYSTEM "usage-canvas.sgml"> |
@@ -494,7 +494,7 @@ export_shape(DiagramData *data, const gchar *filename, | ||
494 | 494 | |
495 | 495 | static const gchar *extensions[] = { "shape", NULL }; |
496 | 496 | DiaExportFilter shape_export_filter = { |
497 | - N_("dia shape file"), | |
497 | + N_("Dia Shape File"), | |
498 | 498 | extensions, |
499 | 499 | export_shape |
500 | 500 | }; |