Skip to content

Latest commit

 

History

History
298 lines (192 loc) · 15.2 KB

CHANGELOG.textile

File metadata and controls

298 lines (192 loc) · 15.2 KB

v0.4.2 – October 22th 2010

3 Features Implemented

ID Description
#172

A new output? macro macro can be used to test whether Glyph is compiling to a particular output format.

#175

The conditional macro now support a third parameter (else branch).

#176

A bunch of new aliases and shortcuts are available for the section macro.

1 Bug Fixed

ID Description
#178

No error is raised anymore if less than the required parameters/attributes are supplied to a rewritten macro.

v0.4.1 – September 23th 2010

5 Bugs Fixed

ID Description
#169

*.scss files are now supported by the style macro.

#170

Improved default CodeRay stylesheet.

#171

SCSS now used internally by Glyph to generate default CSS files.

#173

Consecutive escape sequences are now interpreted correctly in topics.

#174

Fixed error causing broken images in web5/html5 output.

v0.4.0 – September 3th 2010

13 Features Implemented

ID Description
#40

A new stats command can be used to display statistics about project files, snippets, macros, bookmarks and links.

#73

It is now possible to validate online HTTP links.

#112

It is now possible to use wkhtmltopdf instead of Prince to generate PDF files from HTML files.

#114

It is now possible to generate documents comprised of multiple files (topics).

#115

It is now possible to define layouts (used when generating multi-file outputs) using Glyph macros.

#120

It is now possible to compile your project to a single HTML5 file (html5 output) or multiple files (web5 output)

#135

Stylesheets can now be linked and imported as well as embedded.

#138

web and web5 output formats inherit html macros.

#142

A new navigation macro can be used in web and web5 outputs to navigate through topics.

#143

A topic-based TOC is generated when compiling to web or web5

#144

Two new validators are now available to check whether a macro has (or doesn’t have) a certain ancestor: within and not_within.

#147

The default stylesheets provided by Glyph are now compatible with HTML5 outputs (html5 and web5).

#148

It is now possible to create custom tasks and commands to extend Glyph functionality.

7 Bugs Fixed

ID Description
#133

Added HTML charset to Glyph documents (utf-8).

#136

Moved utility functions to separate Glyph::Utils module.

#139

Heavily restructured Glyph configuration.

#140

Added Glyph::Macro::Helpers module to avoid code duplication in macros for different output formats.

#141

Prevented non-rb files to be loaded as macros.

#145

Dotfiles are now ignored by init command.

#167

Fixed PDF book download links.

v0.3.0 – June 13th 2010

13 Features Implemented

ID Description
#39

A new outline command is available to display the document outline.

#110

It is now possible to use Glyph language to produce arbitrary XML code.

#111

System settings are now stored within a system.* namespace and cannot be changed via the config: macro or the config command.

#116

It is now possible to use named attributes within Glyph macros.

#119

A new parser was implemented from scratch to improve performance. Treetop gem no longer required.

#121

Some macros have been removed in favor of XML fallback, others have been updated.

#123

The SyntaxNode class has been specialized to differentiate between macros, attributes, parameters, text and escapes.

#124

Implemented new article macro and book macro.

#126

A new rewrite: macro has been implemented to create simple macros using just Glyph code.

#127

A new alias macro has been implemented to create macro aliases.

#128

A blacklist for XML tags has been exposed via the language.options.xml_blacklist setting.

#129

The include macro can now be used in lite mode, it can evaluate ruby files and requires relative paths.

#130

A new “safe mode” has been implemented to explicitly forbid certain potentially unsafe macros.

3 Bugs Fixed

ID Description
#109

Performance has been dramatically improved by implementing a parser from scratch (see #119)

#122

Macro encoding/decoding no longer necessary due to the new parser (see #119)

#125

Warning messages have been streamlined.

v0.2.0 – May 9th 2010

11 Features Implemented

ID Description
#62

A new highlight macro is available to highlight source code (CodeRay or UltraViolet required).

#76

It is now possible to use Glyph programmatically via the new Glyph#filter and Glyph#compile methods.

#87

It is now possible to define snippets inside a Glyph source file using the snippet: macro.

#88

It is now possible to change configuration settings inside a Glyph source file using the config: macro (Jabbslad).

#89

It is now possible to compile a single Glyph source file without creating a Glyph project.

#92

6 new macros have been defined to allow conditional processing (condition macro, eq macro, not macro, and macro, or macro, match macro)

#94

It is now possible to add validators to macros, for example to check the number of parameters they take.

#97

The compile command command can now take an extra --auto switch to trigger document auto-regeneration whenever a source file is changed (koraktor).

#99

Added a document.draft setting. If set to true, comments and TODOs are rendered in output files.

#100

Glyph CSS files are no longer copied to new projects, but they can be referenced as if they were (see also #93).

#108

It is now possible to define Glyph macros within Glyph source files using the macro: macro.

8 Bugs Fixed

ID Description
#86

Warning and error messages have been updated, and it is now possible to show additional debug information. Additionally, syntax errors are now handled before the document is processed.

#93

Default css files were not copied when creating a new project. The issue has been resolved by allowing the style macro to reference Glyph’s system styles (see also #100).

#95

The config command did not save data to YAML configuration files. This has been fixed ensuring that internal configuration overrides are not saved to the YAML file too.

#98

Glyph is now fully compatible with Ruby 1.9.1 and JRuby 1.4.0.

#101

Additional tests have been developed to improve Textile support. There should no longer be errors when using textile block elements inside Glyph macros.

#103

Fixed a bug that caused test failures when deleting the test project directory.

#104

Nested Glyph macros calling Macro#interpret no longer ignore escape delimiters.

#107

Added the possibility to encode (using the encode macro) and decode (using the decode macro) macros so that they can be interpreted later.

v0.1.0 – April 8th 2010

Initial release.