- Nov 21, 2013
-
-
Rene Saarsoo authored
So related things sit closer together.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
For example previously the --encoding option triggered immediate setting of Util::IO.encoding attribute. Now we store it to @opts object initially and then afterwards inspect this object to apply the real effects of the options. Similarly with several other options.
-
- Nov 20, 2013
-
-
Rene Saarsoo authored
Storing the actual options in a separate OptionsRecord while processing them inside Options class. Lots of changes because a myriad of instance variable references needed to be changed to point at @opts record.
-
Rene Saarsoo authored
Created an #def_attribute method for creating an accessor for an option and setting the default value. Now the options are initialized close to where they are modified, making the logic easier to see.
-
Rene Saarsoo authored
Make this options also in line with other multiple-path-accepting options.
-
Rene Saarsoo authored
So it behaves the same as other options that accept multiple paths.
-
Rene Saarsoo authored
Refs #216
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Yet another thing that's not really a concern for the TagRegistry, as it only effects a small subset of tags. As a result, the TagRegistry class is now quite clean.
-
Rene Saarsoo authored
Again, not generic enough functionality to keep in TagRegistry.
-
Rene Saarsoo authored
Another responsibility that doesn't belong to TagRegistry.
-
Rene Saarsoo authored
TagRegistry doesn't need to deal with this stuff that's only used in one place. The Ext.define configs are only needed in Js::Class and nowhere else.
-
- Nov 18, 2013
-
-
Rene Saarsoo authored
Instead of prefixing each static method with "self.", use this Ruby trick to place all these methods into the 'eigenclass'.
-
Rene Saarsoo authored
Add a generic #tags method to TagRegistry and do the filtering in Web::ClassIcons instead.
-
Rene Saarsoo authored
To determine which icon to used when multiple possibilities. For now primarily using this to choose the Singleton icon over Component.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The @class_icon field is now a hash, containing three icons: * large - used in class header * small - used in tree, tabbar, search * redirect - used in search (for alternateClassName) The Web::ClassIcons takes care of generating all the neccessary CSS.
-
- Nov 15, 2013
-
-
Rene Saarsoo authored
Copy the files over to class_icons/ dir like the member icons are copied to member_icons/. Additionally the @class tag now defines the default icon. Similarly also generate CSS for the icons. This change only deals with class icons in class header (icons in tree and search are to do).
-
Rene Saarsoo authored
The ClassIcons class was separated already and this class doesn't directly deal with icons. Instead its primary purpose is to provide the data for the class tree.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Use it in @component and @singleton to define a CSS class name for the tag that's used for the class instead of the default. Eliminate the hard-wired icon rendering of class header. Though the CSS and icons themselves are still hard-wired.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Instead of checking for cls.inherits_from("Ext.Component") when generating class icons, we can simply check if the class has the component tag. Process::Components takes care of auto-detecting components, so one rarely needs to actually use @component tag.
-
- Nov 14, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Just doing things in more conventional way.
-
Rene Saarsoo authored
Don't assume that the params array is always present. Even for methods. Fixes #494
-
Rene Saarsoo authored
Convert latin1 escape sequences into UTF-8. By default they resulted in ASCII-8BIT (binary) encoding, which wasn't compatible with UTF-8, resulting in error. Added wrapper encoding method to cope with Ruby 1.8 which has no builtin encodings support. The tests file is now also a pure ASCII file, so no funky encoding-stuff happens there. Fixes #491
-
- Nov 04, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
To handle the more complex nesting logic of the guide headings and rendering of HTML, keeping the GuideToc class itself a lot cleaner.
-
Rene Saarsoo authored
It's a list, and should me marked up accoringly.
-
Rene Saarsoo authored
Turn GuideToc into instantiable class, so we can make use of instance variables, refactor the logic into several helper methods and avoid passing lots of arguments around.
-
Rene Saarsoo authored
Add tests for --guides-toc-level=1, 2, 3.
-
Rene Saarsoo authored
To be named more similarly with --guides option. Improve the docs of the option - shorten lines and make the effect of different argument values plain obvious.
-
Rene Saarsoo authored
-
Scott Whittaker authored
The new `--guide-toc-level` option, which defaults to 2, controls what heading levels will appear in guides' tables of contents. Specifying `--guide-toc-level=N` will result in headings at or above <hN> being included in all guides' TOCs. Choosing a `guide-toc-level` of 1 disables the TOC entirely.
-
- Oct 31, 2013
-
-
Scott Whittaker authored
-
- Oct 28, 2013
-
-
Rene Saarsoo authored
-