Debian Codegraph @

ChangeLog

raw
1 07 Jan 2017: Version 1.0.0 (download area: dia2code+)
2 - Refactoring code: Converted program to C++, see git dia2code-c++ branch.
3 - Target languages implemented: cpp, cpp11, csharp, java, php.
4 - Not yet implemented: ada, as3, c, idl, python, ruby, shp, sql, and
5 code preservation.
6
7 14 Jul 2016: Version 0.8.8
8 - Applied C++ compatibility changes, whitespace cleanups, and vim settings
9 from the dia2code-c++ branch.
10 - Applied modified patch https://sourceforge.net/p/dia2code/patches/27/
11 adding generation of __init__ method in generate_code_python.c
12 - Applied various patches provided by Ophir Lojkine.
13 - Fixed bug in parse_diagram.c related to the order in which dependencies
14 are considered.
15 - Applied fgetc.patch from http://sourceforge.net/p/dia2code/patches/25/
16 to fix infinite loop on reading license file.
17 - Applied dia2code.patch3 from http://bugs.debian.org/240091
18 (java code: interface bug fix and better pretty printing)
19 to dia2code/generate_code_java.c. Author Stefano Zacchiroli explains:
20 > "import Foo;" clauses are invalid Java code if Foo is not a fully
21 > qualified namespace (e.g. "my.name.space.Foo"). The attached patch [...]
22 > adds a test which makes the Java code generator output the "import"
23 > clauses only when the class name is fully qualified.
24 - Fixed infinite loop on reading license file, see fgetc.patch at
25 http://sourceforge.net/p/dia2code/patches/25/
26 - Fix a SEGFAULT on empty dia files.
27 - Add support for dia's database tables.
28 - Import sql primary keys from database diagrams.
29
30 07 Jul 2014: Version 0.8.7
31 - Added ActionScript-3 code generator by Dima Levchenko
32 - Added evaluation of association role names and multiplicities (dimalev)
33 - Added support for roles and multiplicities in "UML - Association" version 0
34 - Fixed infinite loop in Ada code generation for static (class_scope)
35 attributes
36 - Fixed missing Ada code generation for private static variable
37 - Removed support for unnamed associations, it created more problems than
38 benefit. See http://sourceforge.net/p/dia2code/patches/21/#a9df
39 - Added support for embedded '#' in Dia comments, see dia2code2.patch at
40 http://sourceforge.net/p/dia2code/patches/24/
41 - Changed C++ code generation for destructor of abstract class to emit
42 neither a default destructor implementation nor pure virtual "= 0", see
43 dia2code1.patch at http://sourceforge.net/p/dia2code/patches/21/
44
45 05 Jun 2014: Version 0.8.6
46 - Added generation of header guard for C++ (-t cpp)
47 - Fixed null pointer dereference crash in handling of UML - Association
48 observed on loading files example2.dia and example3.dia from
49 http://dia2code.sourceforge.net/diagrams/
50 - Applied modified patch for increasing maximum permissible size of comment,
51 http://sourceforge.net/p/dia2code/patches/17/
52 - Applied patch for fixing insufficient generated #include dependencies,
53 http://sourceforge.net/p/dia2code/patches/19/
54 - Applied patch for printing numeric value associated to enum value in C++,
55 http://sourceforge.net/p/dia2code/patches/20/
56 - Applied patch for removing inappropriate abstractness from generated
57 C++ destructor, http://sourceforge.net/p/dia2code/patches/21/
58 - Fixed missing full qualification of parent name in C++ generalizations,
59 see http://sourceforge.net/p/dia2code/patches/22/
60 - Added support for non CORBA variants of CORBA stereotypes,
61 <<struct>> or <<structure>> (synonyms for CORBAStruct),
62 <<typedef>> (synonym for CORBATypedef),
63 <<const>> or <<constant>> (synonyms for CORBAConstant), see
64 http://sourceforge.net/p/dia2code/discussion/48621/thread/9013af8d
65 - Applied patch for preventing infinite loop on generating code for classes
66 with circular dependency, see http://sourceforge.net/p/dia2code/patches/23/
67
68 07 Jul 2012: Version 0.8.5
69 - Support for properties in C# code by Jedrek P <[email protected]>, see
70 https://bugs.launchpad.net/ubuntu/+source/dia2code/+bug/173628
71 - Support unnamed associations (artificial name "unnamed_" followed by a
72 counter value will be generated)
73 - Generating Java or PHP code no longer crashes on files containing only
74 classes (without UML packages)
75 - Minor portability issues fixed (thanks to the FreeBSD ports team)
76 - Patch by Alejandro Imass fixes matching against _id instead of id for
77 surrogate fk convention in popular ORMs, and adds an -sqlx command line
78 parameter for future enhancements to the sql module
79
80 22 Oct 2011: Version 0.8.4
81 - Added support for C++ "const" qualifier on operations
82 - generate_code_sql.patch by Alejandro Imass improves naming of Foreign
83 Keys in SQL code generation, see part 3) at
84 http://sourceforge.net/mailarchive/message.php?msg_id=27145752
85 - Fixed retrieval of association name from diagram, see
86 https://bugs.launchpad.net/ubuntu/+source/dia2code/+bug/442295
87 - Fixed missing C++ function parameters in the presence of comments, see
88 http://sourceforge.net/projects/dia2code/forums/forum/48621/topic/3527703
89
90 05 Jan 2007: Version 0.8.3
91 - Added Ruby code generator by Dmitry V. Sabanin.
92
93 17 Nov 2006: Version 0.8.2
94 - Added PHP5 code generator by Tim Rodger.
95 - Fixed the bug that caused SEGFAULTs when parsing a simple implementation
96 (here called lolipop implementation) with no text associated. Thanks to
97 Max Berger and Patrice Neff.
98
99 01 Jan 2002: Version 0.8.1
100 - The win32 files were not included in 0.8, now they are in.
101 - Fixed the bug with grouped objects.
102 - Fixed the bug with integer parsing in 64 bit systems. Thanks to
103 Patrik Stähli.
104 - Updated generate_code_php. Thanks to Harald Fielker.
105 The following changes where made by Chris McGee:
106 - Fixed the NO_GENERATORS number to reflect the actual number of
107 code generators that are actually there.
108 - Added _basic_ CORBA idl support
109
110 27 Dec 2001: Version 0.8
111 - Fixed the bug that caused SEGFAULTs when parsing templates.
112 - Fixed the endless loop bug in the Java code generator.
113 - Fixed the bug that scrambled the formal parameters of a method.
114 - Added support for wildcards to the list specified with "-cl".
115 Now one can put an asterisk either at the beggining or the end. Example:
116 "dia2code -cl Foo*,*bar", will create files only for classes which names
117 start with "Foo" or end with "bar". Thanks to Jérôme Slangen.
118 - Added the PHP code generator. Thanks to Harald Fielker.
119 - Added support for license file inclusion (-l). Thanks to Takashi Okamoto.
120 The following changes were done by Steffen Macke:
121 - Added support for shapefile generation (shp): New generate_code_shp.c
122 - Added support to built with cygwin on win32: dia2code/makefile.mingw
123 - Added files to built win32 installer with NSIS: dia.ico, dia1.bmp,
124 dia2.bmp, dia2code Homepage.url dia2code.nsi, README.win32, Report a Bug.url
125
126 01 Oct 2001: Version 0.7
127 - Added support for packages. The classes now have a "package" pointer which
128 points to an element of a new structure: package. The parser fills in info
129 for the packages based on the geometry of the objects in the diagram.
130 Currently, only the Java code generator uses this extra info.
131 - Added list_classes(), a function like find_classes() that returns an
132 umlclasslist instead.
133 - Regrouped the scan in the parser so we'll pass through the diagram fewer
134 times.
135 - Added some comments here and there.
136 - Updated the README and TODO files.
137
138 15 Sep 2001: Version 0.6.1
139 - Fixed the Association and Dependency parsing. They were broken because
140 I rewrote the routines for libxml2.
141 - Modified find_classes(): now it returns a list with the classes used in:
142 attributes, method parameters, parents, dependencies and associations. The
143 list has each "used" class at most once.
144 - Modified code generators to use the above improvement.
145
146 03 Sep 2001: Version 0.6
147 - Dia2Code now uses libxml2. Thanks to Martin Vidner for the patch and
148 guidelines to it.
149 - Added configuration options for libxml2 in configure.in. Again, thanks to
150 M. Vidner for the support.
151 - New argument parsing: should be easier to understand and much more flexible:
152 arguments can be specified in any order (even the filename).
153 - Added my_malloc() that behaves like malloc() but exits if there's no more
154 memory avaliable.
155 - Added generate_code_ada, thanks to Thomas Preymesser
156 - Added generate_code_sql, thanks to Chris McGee
157 - Added generate_code_python, thanks to Cyrille Chepelov
158 - Added dynamic shared objects capability for adding new code generators
159 on the fly. (Thanks very much to Takaaki Tateishi)
160 - Added dependency and aggregation/composition functionality to the
161 cpp, java and c generators. Thanks to Chris McGee.
162 - Added a Kaptain script for dia2code (dia2code.kaptn). Kaptain is a
163 program that creates a QT GUI from a grammar file and can invoke a
164 command-line program, like dia2code. Check out its home page:
165 http://kaptain.sourceforge.net
166
167
168 23 Jan 2001: Version 0.5
169 - Fixed the .in files in the docs directory so "configure" will not
170 complain any more.
171 - There was a bug in generate_code_java; it didn't really checked for
172 a string longer than the buffer, but it was NOT vulnerable to buffer
173 overflows (see next bug).
174 - Another bug in generate_code_java: the output directory was not
175 prepended to the output filename, so specifying it while generating
176 Java code was futile. My fault.
177 - Added some comments here and there.
178 - Added generate_code_c, thanks to Ruben Lopez.
179 - Added the find_classes() function (again, thanks to Ruben Lopez). This
180 function returns a list of names that a given class uses and are declared
181 in the same diagram. With this, generate_code_c and generate_code_cpp now
182 can generate more useful #include directives.
183 - Added a char * field to umloperation named "implementation" so we can
184 suggest an implementation while building the class list. The code
185 generators MAY use it as a default implementation (example: a non-void
186 function may return a default value).
187 - Added support for JavaBeans(tm). If you want to automagically add
188 a get() and set() (or is() if it is boolean) public method for each
189 attribute, you should set "JavaBean" as the stereotype. The body of
190 the method will be generated properly. This should also work when
191 the target language is not Java.
192
193 01 Jan 2001: Version 0.4
194 - When you didn't specify a method's return type (left the space blank)
195 the program would promptly crash. This was mostly a problem with
196 constructors.
197 - Added support for "UML - Implements" (the lolipop implementation). The
198 interface name will be declared in the implementator's file but no code
199 will be generated for it.
200
201 28 Dec 2000: Version 0.3
202 - There was bug with the list of classes to generate: the
203 discrimination was done in the class parser, so we could end
204 with a list of classes without parent information. Sorry.
205 - The code generators now accept only a pointer to a structure
206 that contains all the information they need. Please look into
207 the README file for details.
208
209 20 Dec 2000: Version 0.2
210 - Added this Changelog
211 - Added the online help options, "-h" and "--help"
212 - Added the "-nc" option. When specified, dia2code will not overwrite
213 files already present in the target directory.
214 - Added the "-cl" option, which lets you specify the list of classes you want
215 generated. Example: "-cl Base,Derived". Also added the "-v" optiion, that
216 inverts the class selection.
217 - Reorganized the structure of the project. Now it is divided into two modules:
218 the parser and the code generators.
219 - There was a bug in generate_code_java: tmpname is not initialized and the
220 program could randomly crash.
221 - The condition for the generation of abstract classes in Java was rather ugly.
222 Now it looks for the Abstract flag instead of the Sterotype (which is much better
223 than before).
224
225 26 Nov 2000: Version 0.1
226 - Initial release
227 - Generates code for C++/Java
228 - Does not support templates.