Permalink
Commits on Apr 22, 2016
Commits on Nov 16, 2014
Commits on Jan 31, 2014
Commits on Jan 22, 2014
  1. add quoting in open command, extend local user.rb loading to prefligh…

    …t, stop using buggy TextMate e_url
    committed Jan 22, 2014
Commits on Dec 14, 2013
Commits on Dec 10, 2013
  1. Added output to show command name as a command starts to run. Changed…

    … Rakefile to require explicit TM_SUPPORT_PATH (because TextMate 2 changes where this is).
    committed Dec 10, 2013
Commits on Feb 26, 2013
  1. changed Rakefile to get TextMate path from environment variable that …

    …the user must supply
    committed Feb 26, 2013
  2. revise test to use nokogiri to parse anchor tag

    The reason is that under Ruby 1.8.7 hash order is unreliable and unknown, so comparing anchor tag strings directly wasn't working (because the order of attributes depends on the order in which we cycle through the original hash)
    committed Feb 26, 2013
Commits on Jan 29, 2013
  1. fix Locate User_rb to work with Ruby 1.9.x

    Better formatting of early error message output. Fixed bug in report of user.rb status. Ready for release as 1.1.4.
    committed Jan 29, 2013
Commits on Jan 28, 2013
  1. stop overwriting warnings with subsequent output

    also mild README improvements
    committed Jan 28, 2013
Commits on Sep 26, 2012
  1. force use of minitest 3.5 or later in tests

    rename HISTORY as HISTORY.md in an attempt to increase legibility in github
    committed Sep 26, 2012
Commits on Sep 23, 2012
  1. this time for sure

    committed Sep 23, 2012
Commits on Sep 22, 2012
  1. Added Rakefile to run each test in its own process

    Use block with Dir.chdir throughout.
    committed Sep 22, 2012
  2. Version 1.1.2. Finished converting tests to MiniTest.

    All tests pass on Ruby 1.8.7 and Ruby 1.9.3.
    committed Sep 22, 2012
  3. renamed some test files

    committed Sep 22, 2012
  4. Finished switching tests to Minitest.

    Improved newSite to output anywhere specified as optional param.
    committed Sep 22, 2012
Commits on Sep 20, 2012
  1. new relative_uri_from implementation

    We no longer depend on the quirks of URI::Generic.route_from; tests have been revised to match. Replaced implementation of nextprevlinks in the new site model (and fixed the documentation thereon); it was always wrong. Tentatively introduced << implementation in stdout wrapper.
    committed Sep 20, 2012
Commits on Sep 18, 2012
  1. starting to rewrite tests

    committed Sep 18, 2012
Commits on Sep 16, 2012
Commits on Sep 14, 2012
  1. Use syck instead of psych with yaml

    (The psych library was doubling the time occupied every time we use yaml.)
    
    Added time report to autoglossary build.
    
    Corrected error caused on newsite now that autoglossary is no longer present.
    
    Better error reporting when loading a tool throws a syntax error.
    
    Improve flexibility of one test.
    committed Sep 14, 2012
  2. Fix place where we were capturing block variable as higher local vari…

    …able.
    
    (That doesn't work in Ruby 1.9.3.)
    
    Punctuated site building messages with puts, using puts space to try to guarantee that newline appears; also added flush to fake stdout's print command and threw in an extra puts at the start of running a command, trying to get console to clear as early as possible. Added dots to messages from autoglossary construction, as this can take a long time and user needs to know something is happening.
    committed Sep 14, 2012
Commits on Sep 13, 2012
  1. remove autoglossaries

    committed Sep 13, 2012
  2. Release 1.1, introducing Ruby 1.9.3 support!

    All tests pass, and the built documentation is identical in Ruby 1.8.7 and 1.9.3. However, a lot of tweaking took place, so use caution. Be prepared to encounter and report issues. If this is a problem, please use an earlier commit.
    
    * The exifr gem is no longer used, and internal code for measuring the size of other image types has been removed. We now depend on the dimensions gem for all image sizes.
    
    * Numerous regex matches that were really just ways of detecting whether a string starts or ends with a certain substring have been replaced by start_with? and end_with?
    
    * Uses of to_a on a single-line string as a silly way to ensure an array have been replaced by Array().
    
    * Pathname now implements to_str explicitly, to make up for the fact that it was taken away in Ruby 1.9.2. Ideally I'd like to eliminate all cases of implicit Pathname-to-String coercion; then this can be removed.
    
    * Pathname.relative_uri_from attempts to work around a curious 1.9.x change of output from URI::Generic.route_from, on which it depends. Added a test for this edge case.
    
    * Vastly improved our message/exception reporting routines. The require is brought to top level. In our stdout diverter, implemented flush, as Ruby 1.9.3 expects it. Much better behavior when there's an exception; at last exceptions containing <...> expressions will be legible! (I wondered what that lone "#" meant, but I didn't grasp that it was my own darned fault.)
    
    * Altered one test to take account of changed structure of YAML library in Ruby 1.9.3; this is the only place in the code where I have to test for the RUBY_VERSION. Rename one badly named test. Rewrote some requires, as "." is no longer in $: in Ruby 1.9.3.
    committed Sep 13, 2012
Commits on Sep 12, 2012
Commits on Sep 6, 2012
  1. fix Frontier book URLs

    committed Sep 6, 2012
Commits on Aug 19, 2012
  1. Added mechanism for treating .txt file as .opml, with documentation; …

    …released as 1.0.2.
    
    The core of this change is the :treatasopml directive, which is the signal in a .txt file to convert the body of the page to an Opml object. This change involved, first, a modification to Opml.new (initialize), since I had foolishly assumed that the parameter would always be a pathname string; whereas now it must be either a Pathname (to a file to be read, consisting of OPML) or a string (consisting of OPML). Second, a class method Opml.textToOpml was added, to convert indented text (very elegantly!) to OPML. In PageMaker, runOutlineDirectives no longer converts adrObject to a string before passing it along to Opml.new, since the fact that it is a Pathname is now the sign that it indicates a file to be read. And, finally, in PageMaker, in runDirectives, having read the scalar directives from the start of a .txt file, we immediately look to see whether :treatasopml is true and, if so, convert the rest of the page to OPML (using Opml.textToOpml) and hand it off to Opml.new to get an Opml object just as would be the case if this were a .opml file; notice that we also set :treatasopml to false to prevent the same thing happening again later when template directives are read (skanky but simple).
    committed Aug 19, 2012
Commits on Aug 15, 2012
  1. fix link to sd5 docs

    committed Aug 15, 2012
Commits on Apr 7, 2012
Commits on Oct 1, 2011
  1. factor README into README.md at top level and HISTORY

    Also removed "Show README" command
    committed Oct 1, 2011
Commits on Sep 1, 2011
  1. added tidy to output of test site, to eliminate whitespace diffs in f…

    …uture; new third param to publishSite so we can prevent opening any page in browser; totally modernized wrapper for embedded CSS
    committed Sep 1, 2011