| 1 |
========== |
| 2 |
Change Log |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
3.2 |
| 7 |
=== |
| 8 |
|
| 9 |
Added |
| 10 |
----- |
| 11 |
|
| 12 |
* Option ``--file-var-root`` to render file variables (``_FILE_``, |
| 13 |
``_THIS_FILE``) as relative paths with respect to a specified root. |
| 14 |
|
| 15 |
|
| 16 |
3.1 |
| 17 |
=== |
| 18 |
|
| 19 |
Added |
| 20 |
----- |
| 21 |
|
| 22 |
* Global variables _SYSTEM_ and _MACHINE_ to query environment. |
| 23 |
|
| 24 |
* Emission of standard (#line pragma styled) line directives. |
| 25 |
|
| 26 |
* Factory method arguments in Fypp constructor: evaluator_factory, |
| 27 |
parser_factor, builder_factory and renderer_factory. |
| 28 |
|
| 29 |
|
| 30 |
Changed |
| 31 |
------- |
| 32 |
|
| 33 |
* Support for Python 2.7, 3.3 and 3.4 dropped, support for Python 3.9 added. |
| 34 |
|
| 35 |
|
| 36 |
3.0 |
| 37 |
=== |
| 38 |
|
| 39 |
Added |
| 40 |
----- |
| 41 |
|
| 42 |
* Implement variable keyword argument in macros. |
| 43 |
|
| 44 |
* Add block / contains / endblock construct as alternative for call / nextarg / |
| 45 |
endcall. |
| 46 |
|
| 47 |
* Escaping of preprocessor comments |
| 48 |
|
| 49 |
* Possibility of specifying character encoding for file I/O with UTF-8 as |
| 50 |
default. |
| 51 |
|
| 52 |
|
| 53 |
Changed |
| 54 |
------- |
| 55 |
|
| 56 |
* Injecting local variables into macros by passing arbitrary (non-declared) |
| 57 |
keyword arguments is not possible any more. This feature made it impossible to |
| 58 |
detect typos in keyword argument names in macro calls. [Backwards |
| 59 |
incompatible] |
| 60 |
|
| 61 |
* Variable positional argument in a macro resolves to a list not to a tuple for |
| 62 |
more consistency with Python. |
| 63 |
|
| 64 |
|
| 65 |
Fixed |
| 66 |
----- |
| 67 |
|
| 68 |
* Wrong command-line parser initialisation in waf frontend. |
| 69 |
|
| 70 |
* _LINE_ and _FILE_ were incorrect if the called macro contained a call |
| 71 |
directive with an evaluation in its argument. |
| 72 |
|
| 73 |
|
| 74 |
2.1.1 |
| 75 |
===== |
| 76 |
|
| 77 |
Fixed |
| 78 |
----- |
| 79 |
|
| 80 |
* Wrong _LINE_ and _FILE_ values when calling a macro during evaluation of the |
| 81 |
arguments of a call directive. |
| 82 |
|
| 83 |
|
| 84 |
2.1 |
| 85 |
=== |
| 86 |
|
| 87 |
Fixed |
| 88 |
----- |
| 89 |
|
| 90 |
* Variable definition without value. |
| 91 |
|
| 92 |
|
| 93 |
Changed |
| 94 |
------- |
| 95 |
|
| 96 |
* Hosting site and branch names (develop -> master, master -> release). |
| 97 |
|
| 98 |
|
| 99 |
2.0.1 |
| 100 |
===== |
| 101 |
|
| 102 |
Fixed |
| 103 |
----- |
| 104 |
|
| 105 |
* Missing files in Python source distribution package. |
| 106 |
|
| 107 |
|
| 108 |
2.0 |
| 109 |
=== |
| 110 |
|
| 111 |
Added |
| 112 |
----- |
| 113 |
|
| 114 |
* Direct call format resembling ordinary function call. |
| 115 |
|
| 116 |
* Inline direct call directive. |
| 117 |
|
| 118 |
* Keyword arguments in direct call and call directive. |
| 119 |
|
| 120 |
* Generalized call directive with arbitrary argument types. |
| 121 |
|
| 122 |
* Macros with variable number of arguments. |
| 123 |
|
| 124 |
* Default values for macro arguments. |
| 125 |
|
| 126 |
* Allow names in enddef and endcall directives for better readability. |
| 127 |
|
| 128 |
* Del directive and delvar() function. |
| 129 |
|
| 130 |
* Assert directive. |
| 131 |
|
| 132 |
* Global directive and globalvar() function. |
| 133 |
|
| 134 |
* Python-like consistent global and local scopes and scope lookup rules. |
| 135 |
|
| 136 |
* Predefined variables _THIS_FILE_ and _THIS_LINE_. |
| 137 |
|
| 138 |
* Additional flags in line numbering directives when opening a file or returning |
| 139 |
to a previous file. |
| 140 |
|
| 141 |
* Additional testing with tox for developers. |
| 142 |
|
| 143 |
* Python 2.6, 3.0 and 3.1 compatibility. |
| 144 |
|
| 145 |
|
| 146 |
Changed |
| 147 |
------- |
| 148 |
|
| 149 |
* Setvar directive not allowed as alternative to set any more. [Backwards |
| 150 |
incompatible] |
| 151 |
|
| 152 |
* Old direct call syntax (@:macro arg1) not supported any more [Backwards |
| 153 |
incompatible] |
| 154 |
|
| 155 |
* Inline form of def directive not allowed any more. [Backwards incompatible] |
| 156 |
|
| 157 |
* Execution of arbitrary Python script at startup (option -i) has been |
| 158 |
removed. [Backwards incompatible] |
| 159 |
|
| 160 |
* Minimal API change: process_* methods of Fypp do not accept the optional |
| 161 |
argument env any more. [Backwards incompatible] |
| 162 |
|
| 163 |
* Equal sign must be used as separator in set directive for better |
| 164 |
readability. [Backwards incompatible] |
| 165 |
|
| 166 |
* Function setvar() accepts arbitrary number of argument pairs. |
| 167 |
|
| 168 |
* Reverse order exception printing, exception first occurring printed as last. |
| 169 |
|
| 170 |
* Command line tool formats error messages in GNU-like format. |
| 171 |
|
| 172 |
* Make equal sign in set directive mandatory and in setvar directive forbidden. |
| 173 |
|
| 174 |
* Search paths for module imports behave more Python-like. |
| 175 |
|
| 176 |
* Removed builtins callable() and memoryview() from restricted environment as they |
| 177 |
are not available in all supported Python versions. |
| 178 |
|
| 179 |
|
| 180 |
Fixed |
| 181 |
----- |
| 182 |
|
| 183 |
* Line numbering with flags fixes gfortrans confusion with line numbers. |
| 184 |
|
| 185 |
|
| 186 |
1.2 |
| 187 |
=== |
| 188 |
|
| 189 |
Added |
| 190 |
----- |
| 191 |
|
| 192 |
* Allow (and promote) usage of set directive instead of setvar. |
| 193 |
|
| 194 |
* Implement stop request via stop directive. |
| 195 |
|
| 196 |
* Assignment to variable tuples. |
| 197 |
|
| 198 |
* Hierarchial exception testing. |
| 199 |
|
| 200 |
|
| 201 |
Fixed |
| 202 |
----- |
| 203 |
|
| 204 |
* Wrong file name in error report, when exception occurs in a macro defined in |
| 205 |
an included file. |
| 206 |
|
| 207 |
|
| 208 |
1.1 |
| 209 |
=== |
| 210 |
|
| 211 |
Added |
| 212 |
----- |
| 213 |
|
| 214 |
* Allow inline eval and control directives in direct macro call arguments. |
| 215 |
|
| 216 |
* Add waf integration modules. |
| 217 |
|
| 218 |
* Examples and build system intergration chapters in user guide. |
| 219 |
|
| 220 |
* Change log file. |
| 221 |
|
| 222 |
|
| 223 |
1.0 |
| 224 |
=== |
| 225 |
|
| 226 |
Added |
| 227 |
----- |
| 228 |
|
| 229 |
* Optional suppression of line numbering in continuation lines. |
| 230 |
|
| 231 |
* Optional creation of parent folders for output file. |
| 232 |
|
| 233 |
|
| 234 |
Changed |
| 235 |
------- |
| 236 |
|
| 237 |
* Class Fypp independent of ArgumentParser. |
| 238 |
|
| 239 |
|
| 240 |
Fixed |
| 241 |
----- |
| 242 |
|
| 243 |
* Fix false error, when include was within a directive. |
| 244 |
|
| 245 |
* Wrong line number offset in eval directives. |
| 246 |
|
| 247 |
|
| 248 |
0.12 |
| 249 |
==== |
| 250 |
|
| 251 |
Added |
| 252 |
----- |
| 253 |
|
| 254 |
* Implement direct call. |
| 255 |
|
| 256 |
|
| 257 |
Changed |
| 258 |
------- |
| 259 |
|
| 260 |
* Remove paranthesis from direct call. |
| 261 |
|
| 262 |
|
| 263 |
0.11 |
| 264 |
==== |
| 265 |
|
| 266 |
Added |
| 267 |
----- |
| 268 |
|
| 269 |
* Implement call directive. |
| 270 |
|
| 271 |
* More precise error messages. |
| 272 |
|
| 273 |
* Folding prevention for comment lines. |
| 274 |
|
| 275 |
* Smart line folding, fixed format line folding. |
| 276 |
|
| 277 |
* Python 2.7 compatibility. |
| 278 |
|
| 279 |
|
| 280 |
Changed |
| 281 |
------- |
| 282 |
|
| 283 |
* Control directive prefix changed from ``@`` to ``#``. |
| 284 |
|
| 285 |
* Rename function `default()` into `getvar()`. |
| 286 |
|
| 287 |
|
| 288 |
Fixed |
| 289 |
----- |
| 290 |
|
| 291 |
* Superfluous trailing newlines in macro calls. |
| 292 |
|
| 293 |
|
| 294 |
0.9 |
| 295 |
=== |
| 296 |
|
| 297 |
Added |
| 298 |
----- |
| 299 |
|
| 300 |
* Basic functionality. |