Fixed font/image handling.
[redact.git] / ChangeLog
1 --
2 $Id: ChangeLog 49 2005-06-09 17:21:05Z tilman $
3 ++
4
5 2005-06-09 Tilman Sauerbeck (tilman at code-monkey de)
6         * lib/redact/{source,redact,part}.rb: Fixed font/image handling so
7           that it now works properly if fontdir/imagedir is used or not
8
9 2005-06-08 Tilman Sauerbeck (tilman at code-monkey de)
10         * Rakefile: Code cleanup
11         * lib/redact/app.rb: Moved Redact::App's @options to
12           Redact::OPTIONS
13         * lib/redact/redact.rb, TODO: Added support for the --image_dir
14           and --font_dir command line switches
15         * lib/redact/{redact,app}.rb: Fixed fontdir handling
16         * lib/redact/part.rb: Also set TextDescription::font if a
17           matching FontDirectoryEntry was found
18         * lib/redact/{redact,app}.rb: Improved imagedir support
19         * lib/redact/{app,redact,part,source}.rb: Split a font's filename and
20           its alias, so the Edje can be decompiled properly
21
22 2005-05-29 Tilman Sauerbeck (tilman at code-monkey de)
23         * Rakefile: Use FileUtils.mkdir_p to create the destination
24           directory
25
26 2005-05-25 Tilman Sauerbeck (tilman at code-monkey de)
27         * lib/redact/app.rb: Make sure to delete the output file if
28           there's an exception while we're writing it
29
30 2005-04-28 Tilman Sauerbeck (tilman at code-monkey de)
31         * lib/redact/app.rb: Don't abort if embryo_cc's return code is 1
32           (which means 'succeeded, but with warnings')
33
34 2005-04-25 Tilman Sauerbeck (tilman at code-monkey de)
35         * Rakefile: Don't include one FileList in another
36
37 2005-04-25 Tilman Sauerbeck (tilman at code-monkey de)
38         * Released version 0.1.1
39
40 2005-04-25 Tilman Sauerbeck (tilman at code-monkey de)
41         * NEWS, Rakefile: Added NEWS
42         * lib/redact/redact.rb: Bumped version number to 0.1.1
43
44 2005-04-24 Tilman Sauerbeck (tilman at code-monkey de)
45         * lib/redact/redact.rb: Fixed exception message
46         * lib/redact/part.rb: Added Relation#set_to
47         * lib/redact/program.rb: Initialize emission_signal and
48           emission_source to empty strings, they must not be nil
49
50 2005-04-23 Tilman Sauerbeck (tilman at code-monkey de)
51         * lib/redact/app.rb: Comment fix
52
53 2005-04-16 Tilman Sauerbeck (tilman at code-monkey de)
54         * lib/redact/part.rb: Added border_fill_middle attribute to
55           ImageDescription
56
57 2005-04-14 Tilman Sauerbeck (tilman at code-monkey de)
58         * lib/{redact,part,program}.rb: Replaced most attr_accessor
59           calls by explicit setter methods to ensure type safety
60         * lib/part.rb: Code cleanup
61         * lib/part.rb: Fixed the regular expression that checks
62           whether a font name is actually a filename
63         * lib/{redact,part,program}.rb: Added a few missing "protected" 
64           statements
65
66 2005-04-09 Tilman Sauerbeck (tilman at code-monkey de)
67         * test/crossfade.rb: Updated for recent tween mode fixes
68
69 2005-04-03 Tilman Sauerbeck (tilman at code-monkey de)
70         * lib/redact/part.rb: Made 'text_class' and 'color_class' parameters
71           writable
72         * lib/redact/part.rb: Some cosmetic changes
73         * lib/redact/part.rb: Use symbols instead of constants for text
74           effects
75         * lib/redact/part.rb: Code cleanup
76         * lib/redact/program.rb: Use symbols instead of constants for
77           tween modes
78
79 2005-04-02 Tilman Sauerbeck (tilman at code-monkey de)
80         * lib/redact/part.rb: Made 'step' and 'aspect' parameters
81           configurable
82
83 2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
84         * Released version 0.1.0
85
86 2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
87         * Rakefile: Tweak lookup of PKG_VERSION
88         * Rakefile: Require Rake 0.5.0 or greater
89         * Rakefile: Fixed the install task so it installs all Ruby files
90           found in lib/redact
91
92 2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
93         * lib/redact/app.rb: Tweaked "redact --version" output
94         * Rakefile, test/test_basic.rb: Use 'edj' instead of 'eet'
95           as the extension for the test Edjes
96         * README: Added basic documentation
97         * Rakefile: Added an RDocTask
98         * Rakefile: Added a PackageTask
99         * Rakefile:: Added a publish task
100
101 2005-03-26 Tilman Sauerbeck (tilman at code-monkey de)
102         * lib/redact/app.rb: Use Tempfile's for the Embryo source- and
103           amx code
104         * lib/redact/app.rb: Abort compilation if embryo_cc fails
105         * lib/redact/app.rb: Use Kernel#raise instead of Kernel#fail
106         * lib/redact/{redact,part}.rb: Added some RDoc documentation
107           modifiers
108         * lib/redact/redact.rb: Bumped version number to 0.1.0
109
110 2005-03-22 Tilman Sauerbeck (tilman at code-monkey de)
111         * lib/redact/app.rb: The default extension for Edje files is
112           'edj' now
113 2005-03-20 Tilman Sauerbeck (tilman at code-monkey de)
114         * lib/redact/redact.rb, test/{red_rect,crossfade}.rb:
115           Use symbols for part/program types. Also, you need to provide
116           the part/program type now, there's no default anymore. This
117           fixes/works around the problem where you accidentally defined
118           a part when you just wanted to get a reference to an existing
119           part
120
121 2005-03-19 Tilman Sauerbeck (tilman at code-monkey de)
122         * test/crossfade.rb: Updated to work with
123           TextDescription#set_fit change
124
125 2005-03-17 Tilman Sauerbeck (tilman at code-monkey de)
126         * lib/redact/app.rb: Store the source of files that are read
127           with File.read, too
128         * lib/redact/{source,app}.rb: Write a fontmap, so edje_decc can
129           dump the fonts that are used in the Edje
130         * lib/redact/part.rb: Added TextDescription#set_fit
131
132 2005-03-16 Tilman Sauerbeck (tilman at code-monkey de)
133         * lib/redact/{source,app}.rb: Write theme source to EET file,
134           too
135         * bin/redact, lib/redact/app.rb, test/test_basic.rb: Improved
136           commandline option handling
137         * lib/redact/redact.rb: Set the 'compiler' value in the
138           Edje_File EDD
139         * lib/redact/app.rb: Add support for the 'image_dir' and 'font_dir'
140           options. They aren't evaluated yet, though.
141
142 2005-03-14 Tilman Sauerbeck (tilman at code-monkey de)
143         * lib/redact/redact.rb: Fixed stupid exceptions
144
145 2005-03-06 Tilman Sauerbeck (tilman at code-monkey de)
146         * lib/redact/program.rb: Fixed a typo that resulted in an invalid
147           reader method
148         * lib/redact/{redact,program}.rb: Added support for basic
149           programs (signal, source, after parameters only)
150         * Rakefile: use FileUtils to for the install task
151
152 2005-03-02 Tilman Sauerbeck (tilman at code-monkey de)
153         * lib/redact/part.rb: Set the default offset for rel2 to -1,-1
154         * lib/redact/part.rb: Enable smoothing by default for non-image
155           parts, too.
156         * lib/redact/part.rb: Use sane defaults for the other fill
157           parameters
158         * lib/redact/part.rb: Fixed default values for outline and
159           shadow color
160
161 2005-02-26 Tilman Sauerbeck (tilman at code-monkey de)
162         * lib/redact/app.rb: Don't indent empty lines of Embryo code
163         * lib/redact/{app, redact, part}.rb: Added support for embedded
164           fonts
165         * lib/redact/redact.rb: When doing part/program-lookups in
166           Embryo code, use non-greedy matching of quotes
167         * lib/redact/program.rb: signal and source are set to empty
168           strings by default now, instead of nil
169         * lib/redact/part.rb: Rename color2 and color3 to outline_color
170           and shadow_color, respectively.
171         * lib/redact/part.rb: Make outline_color and shadow_color
172           writeable
173         * lib/redact/part.rb: Renamed clip_to to clip and made it
174           readable
175         * lib/redact/part.rb: Made TextDescription::text_min writeable
176         * lib/redact/part.rb: Made TextDescription::text_align writeable
177         * lib/redact/part.rb: Added support for tween images
178         * lib/redact/{redact, part}.rb: Split Part into various classes
179         * lib/redact/{redact, part, program}.rb: Code cleanup
180         * lib/redact/{redact, part}.rb: Don't make Part::type readable
181
182 2005-02-23 Tilman Sauerbeck (tilman at code-monkey de)
183         * lib/redact/app.rb: Use edje-config to figure out the
184           Embryo include directory
185
186 2005-02-22 Tilman Sauerbeck (tilman at code-monkey de)
187         * lib/redact/app.rb: Enable zlib compression for the edje_file
188           and collections EET entries
189         * lib/redact/app.rb, lib/redact/redact.rb: Reworked the way
190           Embryo scripts are saved/processed
191         * lib/redact/app.rb: Delete the temporary redact.sma file when
192           we're done with it