-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog.pre-git
26498 lines (19166 loc) · 880 KB
/
ChangeLog.pre-git
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-04-21 Steffen Macke <[email protected]>
* makefile.msc: Adjustments for libart.dll, deploye diaw.exe
* installer/win32/dia.nsi: Remove drs.dll for the time being, re-add
libart.dll, adjust for current libart 2.3.20 DLL from ftp.gnome.org
2009-04-17 Steffen Macke <[email protected]>
* app/commands.c: Updated copyright date
2009-04-15 Steffen Macke <[email protected]>
* makefile.msc: cairo, drs, locale build fixes
* dia.nsi: Various updates for 0.97-pre3
2009-04-13 Hans Breuer <[email protected]>
* NEWS config.h.win32 configure.in : updated for dia-0.97-pre3
* plug-ins/python/python.c : found and fixed the immediate crash
when loading the Python plug-in under win32 with Python version newer
than 2.3. Still did not get prebuilt pygtk running with it, so the
requirement of Python 2.3 (on win32) remains the same.
* data/integrated-ui.xml app/menus.c : removed Layers/Layers... from
the integrated UI menu and assigned <control>L also to ShowLayers
(the two menu entries are never available together, so no conflict)
Fixes bug #576879.
* app/preferences.[ch] :removed "Integrated UI" option here ...
(together with the annoying change-needs-restart message)
* app/app_procs.c : ... and made it a start-up option, aka. command
line switch. If the UI type some day can be switch at runtime the
prefernce setting may be added again.
2009-04-11 Hans Breuer <[email protected]>
* lib/propdialogs.c : derive initial scrolling area of properties
dialog from screen size, only use hardcoded values as fallback
* app/app_procs.c : patch from Arunan Balasubramaniam, bug #573921 to
to reduce wakeups prefer g_timeout_add_seconds() over g_timeout_add()
* app/modify_tool.c(modify_button_press) : don't got to single handle
movement if there is more than one object selected, bug #525011
* app/handle_ops.c : consider the selection state in choosing the
handle color, to give some feedback on the handles behavior change
2009-04-06 Hans Breuer <[email protected]>
* app/display.c : something called ddisplay_flush() while we were
already in ddisplay_destroy() - moved removing the idle handler to
ddisplay_really_destroy(), the last possible moment - bug #578173
2009-04-05 Hans Breuer <[email protected]>
* objects/AADL/aadlbox.c : one const too much, build error with gcc
* plug-ins/python/wdeps.py : intended tinting on win32, too.
* plug-ins/python/dot2dia.py : don't let a single unknown color make
the whole import fail
* objects/AADL/aadlbox.c(aadlbox_destroy) : free ports after calling
element_destroy(), which needs valid handles, should fix bug #575224
Replaced some leaking, superfluous heap allocations with stack allocs.
* lib/diarenderer.c(get_text_width) : complain if the derived renderer
does not implment the method and does not maintian DiaRenderer::font.
* plug-ins/cairo/diacairo-renderer.c : actually maintain the font field
to make text cursor position calculation work, part of bug #576548
* app/display.c : make the tab use the short name again and adjust the
(integrated UI) application title HIC compliant, fixing bug #527288
* objects/network/basestation.c : don't move non-movable handles,
fixing bug #574637
* objects/UML/association.c : force an internal state update after
changing properties, fixes bug #576843
* lib/persistence.c : instead of trying to manage the open state of our
windows 'by hand' just use GTK_WIDGET_MAPPED(window), fixes bug #574388
2009-04-04 Hans Breuer <[email protected]>
* app/interface.c : don't translate g_warning
* lib/sheet.c : fix typo in translatebale string
2009-03-31 Hans Breuer <[email protected]>
* plug-ins/python/wdeps.py : tinting of nodes now working as intended
(also on windows)
* samples/Self/dia-win32-2.dot samples/Self/dia-win32-2.dia : sample
dependency graph with instructions
2009-03-30 Hans Breuer <[email protected]>
* plug-ins/python/wdeps.py : implement another coloring theme, fix
the previous tinting; allow to leave out C-Runtime on Linux, too
* plug-ins/python/dot2dia.py : the assumption of every node name being
in quotes broke with dia-linux.dot; now fixed and ...
* samples/Self/dia-linux-2.dia : ... updated the diagram also with new
colors and passing --remove-crt to wdeps.py
* app/find.and-replace.c : ensure visibility of the object found
* app/display.[ch](ddisp_present_object) : new function to move
an object into view with minimum scrolling
2009-03-29 Hans Breuer <[email protected]>
* app/app_procs.c : slightly hacked version to avoid double request
of "Exit without save" for integrated UI case, bug #573635
* app/display.c : the interactive cairo renderer has highlighting
issues (bug #576548). For now default to the libart renderer for
the antialiased display renderer (only fall back to cairo if the
libart plug-in is not loaded)
* plug-ins/libart/dialibartrenderer : initialize
DiaRenderer::is_interactive to allow entering text edit mode
* app/display.h : increased the arbitrary zoom limits to make my
current stress test diagram fit
* plug-ins/python/wdeps.py : my dependency analysis script is finally
running on Linux and together with dot can produce pretty nice images
(last change was the introduction of tinting by layer)
* samples/Self/dia-linux-2.dia : dependency graph of Dia
* samples/Self/dia-linux-2.dot : dot file produced by wdeps.py and
preocessed by dot
2009-03-28 Hans Breuer <[email protected]>
* plug-ins/cairo/diacairo-renderer.c : apparently I've found a
workaround for pango bug #341481. Or maybe bug #573261 always we mine.
* lib/prop_text.c : for 'multistring' connect to the 'change' signal
of the TextBuffer rather than to the unreliable 'insert-at-cursor' of
the TextView -> "Chronogram - line" works again, bug #576905
* lib/propinternals.h lib/prop_attr.c lib/prop_geomtypes.c
lib/prop_inttypes.c lib/prop_text.c lib/prop_widgets.c
lib/propdialogs.c : make prophandler_connect() take a GObject* to
do the above without warnings
2009-03-27 Hans Breuer <[email protected]>
* plug-ins/python/dot2dia.py plug-ins/python/Makefile.am : initial
version of dot (http://www.graphviz.org) import for Dia
2009-03-26 Hans Breuer <[email protected]>
* plug-ins/python/pydia-property.c : check for a correct number of
bezier points before assigning them. So evem a broken PyDia script
can not crash the core (this way)
2009-03-25 Hans Breuer <[email protected]>
* plug-ins/diapsrenderer.c : dont't throw away alignment information
an don't scale text arbitrary, we can't predict the Latin-1 font size
exactly enough. Fiyes bug #575186.
* lib/textline.[ch] : more const correct, avoids warning above
2009-03-24 Hans Breuer <[email protected]>
* plug-ins/python/diastddia.py : almost finished, a bug left in Arc's
curve_distance calculation. Implemented the insane load/save property
name mapping - bug #576468, implmented draw_text and draw_arc. Some
comments on bezier related file format weakness.
Write some paper info; convert strings before writing to avoid
invalid XML (text and filename)
* plug-ins/python/otypes.py : 'meta' is part of every object type
* samples/Self/dia-standard-objects.dia : new file documenting the
structure of Dia's "Standard - *" objects, see also bug #576468
2009-03-23 Hans Breuer <[email protected]>
* plug-ins/python/diastddia.py : a new renderer implementation which
outputs Dia's native format, but restricted to "Standard - *"-objects.
Initial version: buggy and incomplete (e.g. bug #576468).
* plug-ins/python/Makefile.am : added to EXTRA_DIST
* plug-ins/python/pydia-render.c : if the PyDia renderer does not
implement an optional method just fall back to the base classes
render implmentation. Also (try to) warn about missing, not optional
methods with PyErr_Warn(), but can't find these messages yet.
* plug-ins/python/diasvg.py : self.line_width was not initialized
* samples/UML-demo.dia : converted to be readable, not a single line
of uncpompresed XML.
2009-03-22 Hans Breuer <[email protected]>
* plug-ins/UML/class_dialog.c : some more NULL pointer checks to avoid
crash bug #576247
2009-03-15 Hans Breuer <[email protected]>
* doc/en/usage-objects-basic.xml : removed old workaround for DEL, we
have put quite some work to make it behave as expected. Still it would
be nice to have described the new text edit mode in more detail ...
* doc/en/usage-customization.xml doc/en/graphics/file-preferences-*.png
doc/en/graphics/preferences-gridlines.png : updated to show the new
layout, also initial description of the Favorites pane.
Whitespace changes to have it more readable with tab width 8.
* doc/en/graphics/preferences-fig.png : unused -> deleted
* doc/en/Makefile.am : reflect above changes
* doc/en/usage-objects-basic.xml en/graphics/toolbox-basic.png :
reflect the recent addition of the twelves basic object - Outline
* en/usage-quickstart.xml : add more appeal(ees)
* plug-ins/cairo/diacairo-renderer.c : some unused test-code attempting
to work around bug #573261 but no luck.
* plug-ins/python/allprops.py : alpha-numeric sorting by type; after
by number of users
* plug-ins/python/aobjects.py : to make the resulting diagram more
interesting we set every sting property with it's name
* plug-ins/python/bbox.py : create annotated bounding boxes
* plug-ins/python/diagx.py : handling more tags/types like Ellipsis,
EnumValue and Function, some other are silently ignored
* plug-ins/python/doxrev.py : try to arrange before inserting the
classes into the diagram
* plug-ins/python/arrange.py : added for the above
* plug-ins/python/otypes.py : a better fix for running standalone or
from the toolbox menu
* plug-ins/python/pydiadoc.py : work better from toolbox and filter out
the SWIG noise when running from the other bindings, some more objects
* plug-ins/python/pydia-paperinfo.c : fixed typo in docu
* samples/Self/PyDiaObjects.dia : updated to 0.97 interface (e.g. PaperInfo
and fixed the same typo)
* objects/Database/compound.c : now there is no DiaObject any longer which
does not deliver at least OBJECT_COMMON_PROPERTIES
* bindings/test.py : make it work again (on win32)
2009-03-13 Hans Breuer <[email protected]>
* plug-ins/cairo/diacairo.c : rather than using broken ellipse
approximation convert to translate/scale/arc dance, fixes bug #574868
2009-03-09 Hans Breuer <[email protected]>
* plug-ins/python/codegen.py : PascalRenderer by Johann Glaser and
some adjustments to (Cxx/Py/Java)Renderer to almost get on par
(now really commited)
2009-03-08 Hans Breuer <[email protected]>
* lib/filter.c(filter_guess_*_filter) : make the no-guess flag work
as intended, i.e. when there is just one filter per extension it's
no guess
* plug-ins/python/pydia-property.c : implement PyDia_set_Arrow() to
allow modification of line ends from python scripts, like:
o.properties["start_arrow"] = (17, .5, .5)
* app/filedlg.c : drop using GTK_WIN_POS_MOUSE on the file dialogs.
Nowadays that almost inevitable would lead to a partial off-screen
dialog, see e.g. bug #314084 and bug #512580
* lib/dia_xml_libxml.h lib/dia_xml.[ch] lib/prop_geomtypes.h
plug-ins/shape/shape-export.c : removed some cruft from lixml1
days while investigating bug #570592
* config.h.win32 : insignificant changes slightly related bug #570592
* app/menus.c : don't pass diagram and filename to plug-ins called from
the toolbox-menu, otherwise the pydia help series could unintentinally
modify unrelated open diagrams
2009-03-07 Hans Breuer <[email protected]>
* app/menus.c(create_or_ref_display_actions) : only create the action
group once, not per display, so the right actions are sensitive for the
"Use menu bar", too. Fixes bug #574472
* app/layer_dialog.[ch] : implement "Add Layer" and "Rename Layer" also
without the indirection Layer dialog
* app/menus.c : activate both commands
* lib/diagramdata.[ch] lib/libdia.def : implement and export
data_layer_get_index() used for the above
* data/display-ui.xml data/integrated-ui.xml data/popup-ui.xml
app/menus.c : move "Edit/Properties" to "File/Diagram Properties" as
suggested by bug #573259, also create a Layers submenu to hold formerly
"Edit/Layers", "Objects/Move (selection) to layer [...]"
* app/pixmaps/objects-layer-above.png app/pixmaps/layer-add.png
app/pixmaps/objects-layer-below.png app/pixmaps/layers.png
app/pixmaps/layer-rename.png : stock icons stolen from Inkscape for
the new Layers menu
* app/Makefile.am app/makefile.msc : generate inline icons
* app/commands.[ch] : new callbacks for layer add/rename (not enabled)
* app/preferences.c(prefs_set_value_in_widget) : don't choke on
val==NULL and have a matching default initialization for units,
both fixing bug #573625
(prefs_get_value_from_widget) : only call the props update function if
something has changed, get rid of spurious restart message, bug #574387
* lib/persistence.c : updating/serializing window positions had issues,
now hopefully fixed, bug #574388
* app/textedit_tool.c : ensure the action sensitivity is updated after
entering textedit mode. No tool activation by entering text, bug #572307
* app/menus.c : unique accelerators again, bug #573257
2009-03-01 Steffen Macke <[email protected]>
* makefile.msc: Fixed typo (dia.exe was copied to dia-app.dll when doing
"make full")
* installer/win32/dia.nsi: Don't install Desktop shortcut. Patch from Niels
Martin Hansen
2009-02-26 Steffen Macke <[email protected]>
* po/POTFILES.in:
* configure.in:
* installer/win32/Makefile.am:
* installer/win32/gennsh.c:
* Makefile.am: Add gennsh.c, a dummy C program to create NSIS
installer locale files. Bugzilla bug #572202
2009-02-25 Steffen Macke <[email protected]>
* app/sheets_dialog_callbacks.c:
* lib/libdia.def:
* lib/sheet.c:
* lib/dia_dirs.[ch]: Save relative path for icons in user created
sheets; allow icon loader to fall back to system directoy if icon
is not found in config directory; fixes bug #573027
2009-02-24 Steffen Macke <[email protected]>
* app/sheets_dialog_callbacks.c: Write <icon> to <object> instead of
<description>, fixes part of bug #573027
2009-02-20 Steffen Macke <[email protected]>
* doc/en/dia.xml: Bumped revisions and dates to indicate progress
for 0.97 release.
2009-02-19 Steffen Macke <[email protected]>
* installer/win32/dia.nsi: Include missing SISSI icons
2009-02-16 Steffen Macke <[email protected]>
* installer/win32/dia.nsi: Various small updates
* installer/win32/locale/*.nsh: Use Python 2.3 instead of 2.2
* makefile.msc: Consequent use of build/win32
2009-02-15 Hans Breuer <[email protected]>
* configure.in config.h.win32 NEWS : dia-0.97-pre2
* plug-ins/python/Makefile.am : every script to be installed for
--with-python must be available with EXTRA_DIST, bug #571862
(pyplugin_SCRIPTS_TO_INSTALL) : one variable to be used for both
cases, removed group_props.py there, the built-in dialog works better
* configure.in config.h.win32 : release of dia-0.97-pre1, finally;)
* INSTALL NEWS : updated
* tests/test-objects.c : g_assert(o->ops->get_object_menu == NULL ||
o->ops->get_object_menu(o, &point) != NULL); see below
* plug-ins/dxf/dxf-import.c : no localization of debug messages
* app/interface.c : don't add "Standard - Outline" when !HAVE_CAIRO
* app/create_tool.c : the error message for failing to create an object
was assuming the typename to be valid (crashing during message)
* objects/standard/outline.c objects/standard/standard.c : pollute with
#ifdef HAVE_CAIRO, otherwise Dia won't start when built --without-cairo
( Couldn't find standard objects ... )
[warningectomy - not sure where I've counted the 30;) ]
* lib/diarenderer.c : fix constness to produce no warnings anymore
* lib/diagdkrenderer.c : pointer targets ... differ in signedness
* objects/chronogram/chronoline_event.c : dereferencing type-punned
pointer will break strict-aliasing rules
* objects/Misc/measure.c : object_menu() now returning NULL, see below
* objects/Database/table_dialog.c : use GPOINTER_TO_UINT to avoid
warning: cast from pointer to integer of different size
* lib/object_defaults.c objects/FS/flow.c : use GPOINTER_TO_INT()
* lib/sheet.c : use GINT_TO_POINTER()
* lib/object.c : use GPOINTER_TO_UINT()
* plug-ins/wmf/wmf.cpp : explicit accept int precision for margins
* plug-ins/xslt.c : pointer targets ... differ in signedness
* app/disp_callbacks.c : allow obj->ops->get_object_menu() return NULL
objects/standard/outline.c : use it for outline_get_object_menu
* app/disp_callbacks.c : make empty_menu a really empty DiaMenu with
menu_items==0 to avoid superfluous separators (bug #532534)
(ddisplay_canvas_events) : warning - integral size mismatch in argument
2009-02-14 Hans Breuer <[email protected]>
* plug-ins/python/scascale.py : check input feasibility, bug #440884
* app/preferences.[ch] app/display.c : allow to configure the initial
mainpoint magnetism, aka. "Snap to Object", bug #571724
* app/diagram.c(diagram_load_into) : cleanup to remember the original
path of an import file (bug #570862) and also avoid to not simply save
the newly created diagram without asking for confirmation of the
filename. Also reflect the filename in the window title.
* plug-ins/wmf/wmf_gdi.h : define LPCWSTR type, bug #571125
2009-02-08 Hans Breuer <[email protected]>
[warningectomy - about 30 left]
* configure.in : disable -Wunused, add a lot more useful, see:
http://blogs.gnome.org/otte/2008/12/22/warning-options/
* lib/dia_xml.c plug-ins/svg/render_svg.c : pointers differ in signedness
* lib/diagramdata.c : declared static but never defined
* lib/prop_dict.c lib/plug-ins.c : unused variable
* plug-ins/python/diamodule.c : dereferencing type-punned pointer will
break strict-aliasing rules, unused variables
* plug-ins/custom_line/line_info.c : mostly pointer targets differ in
signedness, but also some superfluous allocations
* lib/prop_sdarray.c lib/prefs.c objects/standard/line.c
plug-ins/libart/dialibartrenderer.[ch] plug-ins/libart/render_libart.c
objects/AADL/aadl.c app/layer_dialog.c : no previous prototype
(aka: should be static, prototyped or deleted)
* plug-ins/dxf/autocad_pal.c : maybe used uninitialized
* app/confirm.c : format not a string literal and no format arguments
* plug-ins/postscript/paginate_psprint.c : use g_object_(g|s)et_data()
* (diagram_print_ps) : format not a string literal and no format arguments
and g_free(g_get_home_dir()) - agood reason for crashing later on
* app/load_save.c(diagram_data_save) : may be used uninitialized
* objects/UML/association.c : removed unused functions
* app/exit_dialog.c : unused variable, format not a string literal and
no format arguments
* app/menus.c : format not a string literal and no format arguments
* persistence.c : defined but not used
* objects/SISSI/*.[ch] : from around 100 warnings down to 2 ...
* objects/standard/arc.c : removed unused function
* lib/message.c : assignment discards qualifiers from pointer target type
* app/pixmaps/magnify.xpm app/pixmaps/scroll.xpm app/pixmaps.h : removed
* app/Makefile.am : adapted
* app/interfaces.c : added remaining XPMs directly
* lib/diagramdata.c : signed/unsigned mismatch
* lib/diagdkrenderer.c : different 'const' qualifiers
* lib/persistence.[ch] lib/message.c : constness
* app/autosave.c : doe not take a GCallback, but a GSourseFunc
* app/layer_dialog.c : gtk_button_set_image() takes a GtkWidget*
* app/textedit.c : s/ObjectChangeApplyFunc/UndoApplyFunc/ etc.
* plug-ins/wmf/wmf.cpp : explicit cast 'gunichar2 *' to 'W32::LPCWSTR'
* lib/makefile.msc : add -DG_DISABLE_DEPRECATED
* lib/filter.c lib/font.c lib/paper.c lib/widgets.c :
s/g_strcasecmp/g_ascii_strcasecmp/
2009-02-07 Hans Breuer <[email protected]>
* lib/dia_svg.c : map special svg font name "sanserif" to special
dia font name "sans"
* lib/dia_image.c(dia_image_get_broken) : was broken
* plug-ins/svg/svg-import.c : don't try to create_standard_image() with
fileanme==NULL, rather set an invalid name. Better than crashing on
<svg:image data="..."/>
* lib/libdia.def : s/dia_image_release/dia_image_unref/
[two less leaks - thanks valgrind]
* lib/dia_image.c : free filename
* plug-ins/svg/svg-import.c(read_poly_svg) : free points
* plug-ins/xslt/xsltdialog.c : add #undef GTK_DISABLE_DEPRECATED to
fix bug #570850 - should be ported some day
* lib/dia_image.c : turn DiaImage into a GObject, plugs memory leak
fixing bug #570850
* plug-ins/svg/svg-import.c : actually implement read_image_svg(),
part of bug #570863 (strange this was not reporeted before)
(read_text_svg) : was creating two much whitespace for <tspan/>
* lib/diatypes.h : typedef _DiaImage DiaImage, i.e. make DiaImage
follow the naming pattern of every other struct in Dia's source ...
* lib/dia_image.[ch] : ... and also sprinkled const and rename
dia_image_release to dia_image_unref (too seldom used!)
* objects/SISSI/sissi.h objects/SISSI/sissi.c objects/KAOS/metabinrel.c
objects/standard/image.c objects/custom/shape_info.h
lib/diarenderer.[ch] lib/diasvgrenderer.c lib/diagdkrenderer.c
plug-ins/python/pydia-render.c plug-ins/python/pydia-image.[ch]
plug-ins/dxf/dxf-export.c plug-ins/drs/dia-render-script-renderer.c
plug-ins/hpgl/hpgl.c plug-ins/metapost/render_metapost.c
plug-ins/cairo/diacairo-renderer.c plug-ins/pgf/render_pgf.c
plug-ins/pstricks/render_pstricks.c plug-ins/cgm/cgm.c
plug-ins/postscript/diapsrenderer.c plug-ins/wpg/wpg.c
plug-ins/libart/dialibartrenderer.c plug-ins/wmf/wmf.cpp
plug-ins/xfig/xfig-export.c plug-ins/vdx/vdx-export.c : adapted
accordingly in prepartion to fix bug #570850
* objects/SISSI/sissi.c : don't leak ObjectSISSI::image
2009-02-06 Hans Breuer <[email protected]>
* lib/beziershape.c(beziershape_update_data): remove stray semicolon
leading to leaking all connections on num_points change and the attempt
to free memory which was not allocated; fixes bug #570808.
* objects/standard/textobj.c : optionally draw the bounding box of text
with the given fill_color (Enrico Minack, bug #436560)
* app/disp_callbacks.c app/tool.h app/modify_tool.c : also allow
TextEdit entry via Button Press and Hold - patch from Robert Young
fixing bug #570304
* plug-ins/python/diasvg_import.py : remove exception for error output
2009-02-01 Hans Breuer <[email protected]>
* plug-ins/svg/svg-import.c : reset_arrows() to not create standard
objects with toolbox defaults during svg import, fixes bug #537103
(if the effect is desired it is still available with diasvg_import.py)
* lib/persitence.c : use g_hash_table_new_full() to get rid of a lot of
g_warnings for double allocations, the better fix for bug #564890
* lib/prop_dict.c(dictprop_load) : make it work, too.
* lib/dia_dirs.c(dia_get_canonical_path) : shortcut for pathes not
including ".." or "./" to keep UNC pathes intact; bug #362397
* po/POTFILES.in : +objects/Misc/grid_object.c
* plug-ins/drs/dia-render-script-renderer.c
plug-ins/drs/dia-render-script.c : wrap <render>calls</render>,
save <properties/> by default
* plug-ins/drs/dia-render-script-import.c : more code, still unused
* app/menus.c : stop complains during plug-in callback menu
registration for the integrated UI case
* lib/object.[ch] lib/dia_xml.[ch] lib/prop_dict.[ch]
lib/properties.[ch] lib/propinternals.h lib/Makefile.am
lib/libdia.def po/POTFILES.in : allow to serialize meta info with
every DiaObject - no UI to modify it yet
* lib/plug-ins.h : bump api version because object size has changed
* plug-ins/python/pydia-property.c : handle translation between Python
and Dia dictionary to make accesible. Also s/g_warning/g_debug/
* plug-ins/python/diasvg_import.c : generate object meta info to test
the above. Also fixes regarding text color.
* objects/makefile.msc : Grid object on win32, too
2009-01-31 Hans Breuer <[email protected]>
* lib/dia_xml.[ch] lib/libdia.def : implement data_(add_)bezpoint to
serialize bezier points
* lib/prop_geomtypes.c : use it instead of g_error() for an attempt to
save a bezpoint array (not used by any object implementation yet)
* plug-ins/python/diasvg_import.py : fixed typo
* objects/Misc/grid_object.c : give ranges to rows/columns properties
to avoid crashing on negative numbers, similar for line_width
* objects/Misc/pixmaps/grid_object.xpm objects/Misc/grid_object.c
objects/Misc/libmisc.c objects/Misc/Makefile.am sheets/Misc.sheet.in:
patch from Don Blaheta adding a Grid object, bug #534118
* doc/en/intro.xml doc/en/usage-quickstart.xml : moved "try Dia"
flowchart to introduction.
* configure.in : configure failed to locate libpython when building GARNOME,
bug #338368 (Hans de Goede)
* omf.make : bug #306737 - installation fails in install-data-hook-omf
if omffile variable is empty (patch from Thomas Harding)
* doc/en/*.xml : remove undefined entity '.&pngfile'
* po/POTFILES.in lib/sheetc : more strings to translate ;)
* doc/en/Makefile.am : added new images ('make distcheck' passes)
[
Huge documentation update from Mark Dexter, bug #455400,
hope I didn't break anything during merge.
]
* doc/en/*.xml doc/en/graphics/*.png :
1. major edits to the following XML files: usage-quickstart.xml,
usage-canvas.xml, usage-objects.xml, usage-objects-basic.xml,
usage-objects-special.xml, usage-objects-selecting.xml.
Added documentation for items not previously documented (e.g.,
Diagram Tree, Sheets and Objects, etc.) and expanded other
documentation.
2. Added 78 screenshots (for a total of 82).
3. Minor edit to authors.xml. (Still need to fix broken links and
bad e-mails).
4. Updated images. These changes obsolete the following bugs:
#347209, #439974, #144128.
* app/display.[ch] app/diagram.[ch] app/menus.[ch] : get rid of nearly
unmaintainable UpdatableMenuItems and a lot of ui-variant-specific code
by dynamic action lookup when updating sensitivity. This not only fixes
bug #527565 but also bug #322190 and allows ...
* app/interface.c : make Tool accelerator single key strokes - e.g. no
more <alt><shift>L to draw a line but just "L" - another benefit of the
dedicated test edit mode ;) - bug #439854.
2009-01-30 Hans Breuer <[email protected]>
* app/object_ops.[ch] : implement object_list_nudge() ...
* app/disp_callbacks.c : ... use it to move selected objects by
keyboard keys (arrow/shift-arrow for small/bigger step), bug #137433
(The viewable area can still be moved as before if nothing is selected)
Make PageUp, Ctrl-PageUp, PageDown, Ctrl-PageDown scroll selected
view by one page up/left/down/right, bug #94015
Home/End to align the top-left/bottom-right corner of the diagram with
the viewable area
[ "a minor maintenance update" from Ian Redfern, bug #477679 ]
* plug-ins/vdx/vdx-import.c : it replaces the g_assert() calls with
attempts to handle errors, and adds a bit more sanity checking - this
should make it more robust with unusual or malformed files,
particularly those exported from applications other than Visio
(thank you OmniGraffle).
It also fixes assorted small bugs that people have raised with nested
shapes, disconnected polygons, font handling and layers, but there's
no new features such as embedded EMF or even rounded rectangles, and
it makes no attempt to handle new Visio 2007 features.
* objects/SISSI/area.c objects/SISSI/faraday.c objects/SISSI/room.c
objects/SISSI/sissi_object.c objects/SISSI/site.c : quite some
allocation/deallocation mismatch removed, fixes bug #569725
* objects/Jackson/domain.c : remove superfluous allocation to avoid
leaking it, fixes bug #569720
* app/load_save.c : do not complain about missing object types per
layer but just once per diagram
* app/confirm.c : there is no glib-3.16 yet
2009-02-27 Steffen Macke <[email protected]>
* doc/en/usage-objects.xml: Finished incomplete sentence. Fixes
bug #569369
2009-01-24 Hans Breuer <[email protected]>
* lib/message.[ch] lib/libdia.def : new function dia_log_message()
which prints the given string together with a time-stamp, but only
if logging is enabled
* app/app_procs.c lib/dialib.[ch] : when given --verbose enable logging
* lib/plug-ins.c lib/sheet.c : sprinkled some dia_log_message() to get
a grip on Dia's start-up performance (4 secs for python plug-in, 5 secs
for custom plug-in - when started from cold caches)
* app/confirm.[ch] : new function confirm_export_size() which let's the
user confirm an unusal diagram size (conditionalized glib-2-16 function)
* app/Makefile.am app/makefile.msc po/POTFILES.in : add new files
* app/commands.c app/filedlg.c : use it before export and print to avoid
possibly unintended numbers of pages printed or memory used for export.
(Bug #540477, Martin Wegner)
app/preferences.[ch] : removed obsolete print preference
* objects/SISSI/area.c objects/SISSI/faraday.c objects/SISSI/room.c
objects/SISSI/sissi.[ch] objects/SISSI/sissi_dialog.c
objects/SISSI/sissi_object.c objects/SISSI/site.c : fixed object
method DiaObject::apply_props_from_dialog() for the last known issue
with changing multiple objects properties, bug #60331
(It did not crash because the SISSI object don't contribute anything
to the property list.)
* objects/SISSI/sissi_object.c(280) : local variable 'filename' used
without having been initialized
* objects/SISSI/sissi_dialog.c(380) : incompatible types - from
'struct _GtkWidget *' to 'struct _GtkScrolledWindow *'
[
One menu entry File/Print is enough. The not any longer experimental
cairo plug-in together with GtkPrint from gtk+-2-12 and cairo-1- or
above superseds both former print facilities.
]
* app/menus.[ch] : introduce /InvisibleMenu as target for known actions
registered from plug-ins supposed to be available only once. Currently
there is just one of these actions "FilePrint" which gets routed to
FilePrintGTK, FilePrintGDI or FilePrintPS in that order, i.e. depending
on the plug-ins being loaded
* plug-ins/cairo/diacairo.c plug-ins/postscript/postscript.c
plug-ins/wmf/wmf.cpp : register print actions to invisible menu
* shapes/Civil/civil_basin.shape shapes/Civil/civil_motor.shape :
foreground for stroke
* objects/UML/class_dialog.c(umlclass_dialog_free) : avoid double free
of the dialog struct. Is is already destroyed by destroy-signal
Fixes bug #569013
* objects/UML/fork.c : fix property get/set by using the right
methods, not object_return_void/object_return_null, bug #568524
* lib/object.[ch] lib/libdia.def : remove object_return_* helpers.
They are not used anymore now and were causing more harm than good.
* lib/diarenderer.h : moved draw_rounded_polyline to the high-level
methods of DiaRenderer, which are seldom implemented by "normal"
renderers
* lib/diarenderer.c : just coding style
* lib/plug-ins.h : bump DIA_PLUGIN_API_VERSION for all of the above
[
Start of plug-in implementation around idea "DiaRenderScript", an
XML-dialect modelled after the DiaRenderer API. Currently it is
only useful for debugging other parts of Dia or itsef ;)
]
* plug-ins/drs/dia-render-script.dtd : to verify the xml files
* plug-ins/drs/dia-render-script-renderer.c : implementing allmost all
required and medium-level methods a renderer should have
* plug-ins/drs/dia-render-script.[ch] : registration of the exporter
and some dedicated diagram/layer render functions to preserve invisble
layers when writing .drs
* plug-ins/drs/dia-render-script-import.c : unfinished (some helpers
to parse back .drs, but far away from real import)
* plug-ins/drs/dia-render-script-object.c : mostly empty (should later
include the implmentation of a DiaObject capable to render .drs
* plug-ins/makefile.msc : build it
* configure.in plug-ins/Makefile.am plug-ins/drs/Makefile.am : build
drs on *NIX, too. But do not install it.
plug-ins/drs/*.[hc] : no warnings with gcc except defined but not used
* po/POTFILES.in : not much to translate, just silence 'make distcheck'
2009-01-20 Hans Breuer <[email protected]>
* lib/persistence.c : use g_warning() instead of printf() for
pathological cases, also don't leak memory than; bug #564890.
* app/app_procs.c : cosmetical change when dumping pango version
* app/undo.[ch] app/commands.[ch] app/menus.c app/diagram.c
data/*-ui. : implement "Objects/Move to layer above/below"
(maintaining connections between layers). Fixes bug #59105.
* samples/undo-check.dia a diagram to play with the above
* app/load_save.c doc/diagram.dtd : load, save and document
<layer active="true"/>, fixes bug #568497
2009-01-18 Hans Breuer <[email protected]>
* app/app_procs.[ch] : implement command line switches -I and -O to give
input and output directories independent of filenames, bug #438842
* plug-ins/postscript/diapsrenderer.c : don't unref the postscript renderer
font twice, fixing a crash spotted while testing the above
* lib/dia_image.c : oops, commited before compiling - now it uses for
message_warning() for invalid pathes _and_ includes "message"
* app/load_save.c(read_connections) : while playing with "All Objects"
I've got "connection point %d does not exists", now I get the more
useful "connection point 14 does not exist on 'SISSI - area'"
Also there was some flaw with the wants_update calculation.
* makefile.msc lib/libdia.def : build the unit test on win32, too.
* lib/diagramdata.c lib/layer.c : split the latter from the former to
have more manageable pieces (one class per file)
* lib/Makefile.am lib/makefile.msc po/POTFILES.in : updated accordingly
* objects/custom/shape_info.c(load_shape_info) : default-(width|height)
was still in points. Now it is cm fixing bug #568099
[xmllint --dtdvalid doc/shape.dtd shapes/**/*.shape >/dev/null]
* shapes/Contact/c_ifnot.shape shapes/RDP/t_transition.shape
shapes/RDP/transition.shape shapes/SDL/comment.shape
shapes/SDL/function.shape shapes/SDL/macro.shape
shapes/SDL/return.shape shapes/SDL/stop.shape : removed superfluous
'svg:' prefix on style attribute
* shapes/RDP/place_marquee.shape : removed attribute 'color' from
svg:circle element; it would be ambiguous and did not validate.
Both foreground and background color are set in the style attribute.
* docs/shape.dtd : changed circle attribute cy to be IMPLIED only
Together this reduces the complaints of xmllint down to zero. Given
the recent updates on
http://svn.gnome.org/viewvc/dia/trunk/doc/custom-shapes?view=log
IMO enough to close bug #86402
2009-01-17 Hans Breuer <[email protected]>
* app/defaults.c app/gtkvwrapbox.c app/gtkwrapbox.c
app/properties-dialog.c app/gtkhwrapbox.c lib/dialinechooser.c :
patch from Robert Young to build again with GLib 2.8, bug #567558
* tests/test-objects.c : now passes for all objects ...
(_test_movement) : ... due to an ugly long list of shapes skipped due
to probable bounding box miscalculation for bezier pathes, bug #568115
(_test_change) : some test of ObjectChange creation/destruction
* objects/UML/node.c objects/UML/object.c : text tinting was missing
for string or underline (bug #568009)
* lib/text.c : improved algorithm for bounding box calculation with
better understanding of the ascent/descent/font-height relation.
Fixes bug #567556 without reopening bug #528642.
* objects/standard/image.c : #include <time.h> to fix part of the issue
with building with GLib < 2.10 (bug #567559, Robert Young)
* app/app_procs.c : don't dump built-with-cairo twice, instead
inform about pangocairo, too.
* INSTALL : improved consistency between configure.in and this file.
Also remove trace of CVS.
* lib/prop_geomtypes.c(fontsizeprop_set_from_offsets,
fontsizeprop_load) : implement clipping to min/max values to protect
the Dia core against plug-ins playing havoc (see e.g. bug #488935)
* plug-ins/cgm/cgm.c(CgmRenderer::set_font) : a second call with an
already set font (with refcount 1) would have destroyed the font before
referencing it.
* plug-ins/vdx/vdx-import.c : one instruction per line to allow putting
a breakpoint on the g_debug() line
* RELEASE-PROCESS : updated from CVS to SVN usage, also clarify the
difference between tag and branch creation
* objects/UML/classicon.c objects/UML/implements.c
objects/UML/message.c objects/UML/node.c
objects/AADL/aadlbox.c objects/Jackson/phenomenon.c
objects/KAOS/metaandorrel.c : reverted part of revision 3958
"same name, same type", nowadays I'm weighting forward-compatibility
higher than following unwritten rules
2009-01-14 Steffen Macke <[email protected]>
* installer/win32/dia.nsi: Some updates for GTK 2.14.7
* app/interface.c: Include gtkhwrapbox.h in order to compile with MSVC
2009-01-12 Hans Breuer <[email protected]>
* app/sheets_dialog_callbacks.c : don't leak a superfluous SheetObject
fixes bug #564677
2009-01-11 Hans Breuer <[email protected]>
[make "./configure ---enable-gnome=yes" work again]
* app/interface.h : was including too much e.g. itself and gnome.h.
The latter gave compiling errors for --enable-gnome=yes
* app/interface.c app/commands.c app/recent_files.c app/display.c
app/app_procs.c app/disp_callbacks.c : updated accordingly, basically
adding #undef GTK_DISABLE_DEPRECATED before inclusing gnome.h but also
adjusting include order (gnome before gtk) to make it have an effect
[make "make distcheck" work again]
* objects/FS/flow-poly.c : obsolete, finally removed
* po/POTFILES.in : added app/create_object.c
* po/POTFILES.skip : added some *.py to stop complains
* configure.in : default is no doc creation ...
* hardcopies.make : ... and thus not touching read-only directories.
Lowers the priority of bug #567385
* lib/dia_svg.c(read_text_svg) : support for text alignment, less
warnings and text colors corrected even for DIA_SVG_COLOUR_NONE
(read_items) : switched from if-continue to a more common if-else-if
* plug-ins/svg/svg-import.c : use DIA_SVG_COLOUR_NONE instead of (-1)
* plug-ins/svg/svg-import.c(read_text_svg) : the text style was not
properly intialize leading e.g. to random text colors.
Also it now supports multi-line text elements "<tspan/>". Both can
be booked under bug #108502 - but that bug will never get fixed;)
* plug-ins/render_svg.c(draw_text) : implementation supporting
multi-line text via <tspan/>
2009-01-10 Hans Breuer <[email protected]>
* objects/standard/arc.c(arc_move_handle) : maintain a minimum
distance between the three arc handles. Two or even all three
handles in at the same position did produce unstable results.
As a side-effect this is fixing bug #501696
* objects/standard/outline.c(outline_move_handle) : maintain
minimum distance between the two handles here as well.
Otherwise a meaningless font-size of zero could occur.
2009-01-09 Hans Breuer <[email protected]>
* plug-ins/xslt/Makefile.am : if !HAVE_XSLT prevent installation
bug #566842
* lib/propobject.c(object_list_get_propdescriptions) : for single
object in the list use the "intersection" because otherwise props
with PROP_FLAG_DONT_MERGE would not be accessible anymore, e.g.
for "Standard - Outline" there was no way to change the text anymore
(hopefully final regression introduced by fixing bug #60331)
* samples/render-test.dia : adapt font size check to concrete font
names commonly available on X and win32
* plug-ins/svg/render_svg.c : must use DIA_SVG_RENDERER_GET_CLASS
to cast from instance, otherwise it is crashing with GLib debug support
* lib/font.h : declare dia_font_get_size()
* lib/libdia.def : export it
* lib/font.c : use pango_font_description_set_absolute_size() - the
magic factor which tried to compensate for fontmap resolution issues
_and_ the difference between Dia's intention of "font_height" and
Pango's "font size" is gone.
There is a much less magic factor just compensating the second issue.
Dia's font-height always meant something like line height, i.e. a
good difference between two consecutive lines baselines (Pango itself
is using line_height=ascent+descent).
Instead of searching the right size for a given height a new factor
got introduced, which unfortunately changes the font-size on win32
and X, but all this finally fixes bug the OS dependent part of
bug #108293
* plug-ins/cairo/diacairo-renderer.c : use dia_font_get_size() and
pango_font_description_set_absolute_size instead of magic number 0.7
fixing bug #538499
* plug-ins/wmf/wmf.cpp : same here
* lib/diasvgrenderer.c(draw_string): moved #if-0-ed original ...
* plug-ins/svg/render_svg.c : ... implementation to be used in SVG
export but not for shape export. For SVG export we apparently want
the font-size instead of it's line-height - although my interpretation
of the specs differs ... should fix bug #345538
* lib/font-height.c : test program evaluating font size relations
* lib/makefile.msc : build it
[bugs found along the way]
* lib/text.c : don't use font_ref when a copy is needed
* lib/textline.c : removed superfluous g_warning
2009-01-06 Hans Breuer <[email protected]>
* app/menus.c : bind "EditReplace" to "<control>H" (rather than ^F)
* plug-ins/wmf/Makefile.am : remove -lstdc++ from LIBADD line
(Matt Keenan, bug #558263); install the plug-in in case of
libEMF being available
* plug-ins/wmf/wmf.cpp : avoid double close of 'ofile'
* bindings/Makefile.am : tweaked once more to not break 'make distcheck'
* plug-ins/cairo/diacairo-renderer.c : compiles without warnings ...
* plug-ins/cairo/diacairo-interactive.c : ... intialize parent_class
and actually use cairo_interactive_renderer_finalize
2009-01-05 Hans Breuer <[email protected]>
* app/diagram.c(diagram_save) : for links resolve to the real filename
before calculating the backup filename and actually overwriting the
file. Fixes bug #501777
2009-01-03 Hans Breuer <[email protected]>
* lib/font.c : style changes to increase readability, behaviour change
in the next commit ;)
* lib/textline.c : remove obsolete 'renderer_cache' and superfuous g_warning()
* objects/standard/outline.c : don't use dia_font_ref in outline_copy
* plug-ins/cairo/diacairo-interactive.c
plug-ins/cairo/diacairo-renderer.c : Dia's implicit fill-rule is
even-odd, make it explicit with cairo
* plug-ins/makefile.msc : updated
2009-01-02 Hans Breuer <[email protected]>
Patch from Takao Fujiwara fixing bug #564850 – dia crashes on none UTF-8
* app/diagram.c : don't initialize unused filename (with the wrong locale)
* app/filedlg.c : gtk_file_chooser_set_current_name() wants utf-8, not
filename encoding
* plug-ins/cairo/diacairo.c : export_data() first filename already is in
the GLib's filename encoding - but on win32 this is always utf-8, i.e. not
appropriate to be used with cairo
* app/preferences.c : don't try to set transient without shell
* lib/prop_text.c : don't leak prop->attr.font
* object/standard/textobj.c : fixed accordingly
* objects/UML/class.c(umlclass_copy) : don't use a font reference
where a copy is needed
* plug-ins/cairo/diacairo.c : fix scaling for clipboard use
* plug-ins/python/diamodule.c : whitespace changes
* plug-ins/python/group_props.py : better error message for missing
pygtk (bug #563094)