• 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

Revision80c646fa5b55c423ffa94ea525080775ce4bedb3 (tree)
Time2004-08-10 03:39:38
AuthorLars Clausen <lclausen@src....>
CommiterLars Clausen

Log Message

Pre6 commit

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
11 2004-08-07 Lars Clausen <lars@raeder.dk>
22
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+
319 * objects/UML/class.c (umlclass_show_comments_callback): Make UML
420 Class object menu kinda work, rather than blow up. Doesn't do a
521 proper undoable change yet.
--- a/NEWS
+++ b/NEWS
@@ -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+
16 dia-0.94-pre5: 2-Aug-2004
27
38 Finally fixed memory leak from layout cache.
--- a/RELEASE-PROCESS
+++ b/RELEASE-PROCESS
@@ -61,7 +61,7 @@ When a new version is about to be released:
6161
6262 4) once the new release is complete and uploaded, announcements on
6363 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
6565 (news.gnome.org) are made. Alerting the package maintainers for the
6666 various distributions is also a good idea, get names from MAINTAINERS
6767 and update those who have changed.
--- a/app/highlight.c
+++ b/app/highlight.c
@@ -24,6 +24,7 @@
2424 #include "diagramdata.h"
2525 #include "object.h"
2626 #include "object_ops.h"
27+#include "group.h"
2728
2829 /* One could argue that the actual setting of the object's field
2930 * should happen inside lib rather than app. I think that'd be overkill.
@@ -66,14 +67,14 @@ highlight_object_off(DiaObject *obj, Diagram *dia)
6667 * highlight_reset_all
6768 */
6869 static void
69-highlight_reset_layer(Layer *layer, Diagram *dia)
70+highlight_reset_objects(GList *objects, Diagram *dia)
7071 {
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)) {
7573 DiaObject *object = (DiaObject*)objects->data;
7674 highlight_object_off(object, dia);
75+ if (IS_GROUP(object)) {
76+ highlight_reset_objects(group_objects(object), dia);
77+ }
7778 }
7879 }
7980
@@ -87,6 +88,6 @@ void
8788 highlight_reset_all(Diagram *dia) {
8889 int i;
8990 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);
9192 }
9293 }
--- a/app/load_save.c
+++ b/app/load_save.c
@@ -1005,12 +1005,12 @@ export_native(DiagramData *data, const gchar *filename,
10051005
10061006 static const gchar *extensions[] = { "dia", NULL };
10071007 DiaExportFilter dia_export_filter = {
1008- N_("Native Dia Diagram"),
1008+ N_("Dia Diagram File"),
10091009 extensions,
10101010 export_native
10111011 };
10121012 DiaImportFilter dia_import_filter = {
1013- N_("Native Dia Diagram"),
1013+ N_("Dia Diagram File"),
10141014 extensions,
10151015 diagram_data_load
10161016 };
--- a/config.h.win32
+++ b/config.h.win32
@@ -17,7 +17,7 @@
1717 #define GETTEXT_PACKAGE "dia"
1818 #define LOCALEDIR "../lib/locale"
1919
20-#define VERSION "0.94-pre5"
20+#define VERSION "0.94-pre6"
2121
2222 /*
2323 * 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.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)
44 AC_CONFIG_SRCDIR(app/diagram.c)
55 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
66
--- a/dia.spec
+++ b/dia.spec
@@ -6,7 +6,7 @@ Summary: A gtk+ based diagram creation program.
66 Name: %name
77 Version: %ver
88 # This indicates changes to the spec file after last time %ver has changed.
9-Release: pre5
9+Release: pre6
1010 Copyright: GPL
1111 Group: Applications/
1212 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}.tar.gz
--- a/doc/en/dia.xml
+++ b/doc/en/dia.xml
@@ -8,7 +8,7 @@
88
99 [
1010
11- <!ENTITY VERSION "0.94-pre5">
11+ <!ENTITY VERSION "0.94-pre6">
1212
1313 <!ENTITY INTRODUCTION SYSTEM "intro.xml">
1414
--- 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.94-pre5">
4+<!ENTITY VERSION "0.94-pre6">
55 <!ENTITY INTRODUCTION SYSTEM "intro.sgml">
66 <!ENTITY QUICKSTART SYSTEM "usage-quickstart.sgml">
77 <!ENTITY CANVAS SYSTEM "usage-canvas.sgml">
--- a/plug-ins/shape/shape-export.c
+++ b/plug-ins/shape/shape-export.c
@@ -494,7 +494,7 @@ export_shape(DiagramData *data, const gchar *filename,
494494
495495 static const gchar *extensions[] = { "shape", NULL };
496496 DiaExportFilter shape_export_filter = {
497- N_("dia shape file"),
497+ N_("Dia Shape File"),
498498 extensions,
499499 export_shape
500500 };