CHANGES

Path: doc/CHANGES
Last Update: Thu Oct 19 01:59:20 -0400 2006

Thu Oct 19 01:58:42 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.19-rue-04
  - Documentation updates.

Thu Oct 19 01:42:57 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.19-rue-03
  - Parser allows multiline Array and Hash
    literals.

Thu Oct 19 00:38:16 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.19-rue-02
  - Signals are represented by Symbols which
    can be detected and directly executed by
    the parser.

Thu Oct 19 00:25:24 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.19-rue-01
  - Fixed prompt handling.
  - Continuing strings have newlines.

Wed Oct 18 11:03:59 EDT 2006 John Turner <john.turner@norgg.org>

  * 2006.10.18-Norgg-01
  SIGINT handling:
    When a SIGINT is recieved, a SIGINT exception is thrown.
    The main loop will rescue this, reset the parser and ignore the current line.

  Parser:
    Fixed a couple parser tests that were wrongly passing.
    String/regexp delimeters are now being pushed onto/popped from the stack.

  Tests:
    TODO: Need a test emulating sending SIGINT in ui spec.
    Wrote a test for resetting the parser.
    Wrote a test for continuing regexps.
    Fixed a couple parser tests that were wrongly passing.
      (.should.not.equal.true != .should.equal.false)

Wed Oct 18 02:53:10 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.18-rue-01
  - Parser processes Regexps essentially
    the same way as Strings.
  - Parser ignores anything in comments.

Tue Oct 17 21:15:06 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.17-rue-04
  - Configuration is in ~/.rs/rc now.
  - Configuration is not loaded directly by
    rs/config anymore, use Config.load_rc
  - bin/rs loads rs/config first to make sure
    everything else has access to it. The user
    config is loaded after everything else still.

Tue Oct 17 19:16:29 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.17-rue-03
  - FSO works correctly for . and ..

Tue Oct 17 18:26:43 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.17-rue-02
  - Further improvements to the parser. Strings
    should now be processed relatively correctly
    including interpolation and strings split
    over multiple lines.

Tue Oct 17 17:28:16 EDT 2006 John Turner <john.turner@norgg.org>

  * 2006.10.17-Norgg-01
  New prompt handling:
    Prompt can be a Proc or a String.
    Changed default prompts to plain strings.
    Proc prompt is #called and resulting string is the prompt.
    String prompt is just that string.
    get_prompt method added to ui.rb

  Tests:
    Changed and added to prompt tests for new prompt behaviour.
    Changed fso test ('Unqualified filenames are OK if they exist in $PATH')
      that was failing to a potentially more rugged version (but with less coverage).

Tue Oct 17 16:09:27 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.17-rue-01
  - Converted test/ui_spec.rb to use mocks.

Mon Oct 16 03:45:59 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.16-rue-02
  - Parser string interpolation starting to work.

Mon Oct 16 02:34:52 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.16-rue-01
  - Rewriting parser, currently functional to
    about the same degree as before the change.

Sat Oct 14 01:29:45 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  tagged rs-0.1.1

Sat Oct 14 01:19:37 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.14-rue-01
  - Revised docs.

Fri Oct 13 14:48:37 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.13-rue-02
  - Parser transparently accepts \ for line
    continuations.

Fri Oct 13 13:09:52 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.13-rue-01
  - Fixed loading ~/.rsrc

Wed Oct 11 23:11:37 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-06
  - Created a special Rakefile with publishing
    tasks. It is not included in the repo :)
  - Fixed some documentation.

Wed Oct 11 20:41:50 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-05
  - Improved doc/README slightly

Wed Oct 11 16:23:14 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-04
  - Wrote several documents in doc/
  - Added licence statements to files.

Wed Oct 11 15:20:11 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-03
  - Renamed FSO#to_s to FSO#read

Wed Oct 11 02:52:45 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-02
  - Parser automatically #runs any executable
    FileSystemObjects for better presentation.

Wed Oct 11 02:36:54 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.11-rue-01
  - 'Input redirection' for FSOs with < and << as
    well as inverses from obj > fso and obj >> fso
    with special handling for executable files,
    Arrays.
  - FileSystemObject provides a facade to several
    File, FileUtils, Dir, Find and others.
  - Concatenation of FSOs with #/

Tue Oct 10 23:40:12 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.10-rue-02
  - Fixed tests bleeding files in /tmp

Tue Oct 10 19:09:18 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.10-rue-01
  - FSO#run uses system so that e.g. vim will
    function normally.
  - Updated Test::Spec in test/vendor/.

Mon Oct 2 02:09:29 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.02-rue-02
  - FlexMock in test/vendor/

Mon Oct 2 02:04:46 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.10.02-rue-01
  - Converted old RSpec tests to Test::Spec
  - Re-added HOWTO.development
  - Removed Mocha stuff

Sat Sep 30 12:53:17 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.30-rue-02
  - Added test/vendor/stubba.rb to autoload
  - Fixed a bug in fso
  - Fixed tests in ui_spec

Sat Sep 30 00:35:05 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.30-rue-01
  - Test::Spec and Mocha in test/vendor/
    and automatically required.

Fri Sep 29 14:21:58 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.29-rue-01
  - Transitioning to test/spec from RSpec. Rakefile allows
    using test/spec in any _test.rb. Conversion from _spec.rb
    to be done.

Wed Sep 20 21:18:32 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.20-rue-02
  - $env embodies environment variables in an OpenStruct way
  - $env.foo refers to a local env, $env.FOO to an external one

Wed Sep 20 00:58:58 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.20-rue-01
  - Config is an OpenStruct-like class with a
    ? and ! accessor modifiers.
  - $config available
  - UI uses $config to select the prompt used
  - Parser uses $config to determine if irb-style
    output should be used
  - Changed a few things and fixed a bug in UI
    and Parser in the process of implementing
    the $config access.

Mon Sep 18 00:00:01 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.18-rue-01
  - ObjectStream implements a pipe-like chaining of FSOs and Ruby code
    with result querying and iteration
  - Object#|, Object#pipe help there
  - Pipe is a Open3-like process spawner with configurable
    in-, out- and error streams
  - FSO#exec is a pipe-like interface to the FSO, using Pipe
  - FSO#run uses Pipe instead of Open3
  - FSO#result, #output and #each generate a single-element ObjectStream
    and then operate on it
  - Parser automatically grabs ObjectStream#output
  - bin/rs can use ObjectStream
  - Added Helper.silently {...} to get rid of warnings

Tue Sep 12 23:56:15 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.12-rue-02
  - rake test runs both specs and Test::Unit tests.

Tue Sep 12 01:48:43 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.12-rue-01
  - Top-level FSO method_missing stores arguments

Sat Sep 9 22:08:55 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.09-rue-02
  - Added tests for method_missing FSO arguments

Sat Sep 9 21:00:03 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.09-rue-01
  - Moved test helpers to test/test_helpers.rb
  - FSO may take arguments with #args (ls -la)

Sat Sep 2 19:51:04 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.02-rue-02
  - Top-level method_missing attempts to treat the
    syms as unqualified filenames and converts to FSO.

Sat Sep 2 13:44:04 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.09.02-rue-01
  - Corrected error formatting in parser.rb
  - FSO#to_s and #cat return the contents of the file
  - FSO#run executes executable files
  - rs/file_system_object.rb to rs/fso.rb
  - bin/rs #requires rs/fso

Thu Aug 31 02:51:43 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.08.31-rue-02
  - FileSystemObject is an OO-representation of a file in the fs.
  - FSO and some conveniences for creating them
  - FSO can be initialised with an absolute, relative or unqualified path
  - Unqualified paths (=filenames) must exist in $PATH
  - FSO can report their absolute and relative paths

Thu Aug 31 00:57:02 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.08.31-rue-01
  - Corrected deprecated use of Exception#type

Wed Aug 30 19:28:33 EDT 2006 Eero Saynatkari <rs@projects.kittensoft.org>

  * 2006.08.30-rue-01
  - bin/rs acts as a primitive REPL for Ruby
  - Parser executes one- or multiline valid or invalid Ruby code
  - UI does not print unnecessary empty lines
  - Changed the default 'prompt'
  - Moved should_output to its own file under test/

Tue Aug 29 15:37:03 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.29-rue-01
  - UI allows Readline completion passing in complete input line

Sun Aug 27 23:56:44 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.27-rue-03
  - Removed doc/CHANGES
  - rake record no longer generates a patchlog nor doc/CHANGES

Sun Aug 27 21:04:10 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.27-rue-02
  - Fixed should_output in test/ui_spec.rb

Sun Aug 27 00:44:18 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.27-rue-01
  - Added stub rs/ui.rb and a spec
  - Initial UI functionality and specs
  - Added simple should_output helper for specs
  - bin/rs prompts for input and echoes it back

Sat Aug 26 18:02:15 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.26-rue-02
  - Changed to use Spec::Rake::SpecTask again (need RSpec 0.6.2)

Sat Aug 26 14:59:37 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.26-rue-01
  - Added doc/AUTHORS and doc/LICENCE

Fri Aug 25 16:02:26 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.25-rue-01
  - Added RSpec tasks to Rakefile and a simple test to test/

Wed Aug 23 20:48:40 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.23-rue-05
  - Cleaned up doc/CHANGES

Wed Aug 23 20:13:07 EDT 2006 Eero Saynatkari <rs@projects.magical-cat.org>

  * 2006.08.23-rue-04
  - Added darcs record automation to Rakefile

Wed Aug 23 13:36:00 EDT 2006 rush@projects.magical-cat.org

  * 2006.08.23-rue-03
  - Added basic Rakefile for tests.

Wed Aug 23 10:42:23 EDT 2006 rush@projects.magical-cat.org

  * 2006.08.23-rue-02
  - Removed the Rantfile preparing for transition to Rake.

Wed Aug 23 10:39:07 EDT 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.08.23-rue-01
  - Project name changed to 'rs'.

Fri Aug 11 15:46:55 EDT 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.08.11-rue-02
  - Starting from scratch again.

Fri Aug 11 15:07:20 EDT 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.08.11-rue-01
  -Test modifications.

Mon Mar 6 15:47:04 EST 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006-03-06-rue-02
  - Some temporary debug info in ui.rb.
  - Completion tests.

Mon Mar 6 00:27:31 EST 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.03.06-rue-01
  - Improved test for UI#on_completion_request.

Sun Mar 5 02:48:20 EST 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.03.05-rue-01
  - Added Parser and UI stubs and tests.
  - Trivial first Readline tests on UI.

Mon Feb 27 12:04:07 EST 2006 Eero Saynatkari <rush@projects.magical-cat.org>

  * 2006.02.27-rue-01
  - Added a Rantfile (http://make.rubyforge.org) for automation.
  - rant task for running tests.
  - Took out stuff from tests that the Rantfile does.

Sat Feb 25 16:14:08 EST 2006 Eero Saynatkari <rush-mail@magical-cat.org>

  * 2006.02.25-rue-01
  - Added a generic UI stub
  - Added tests for UI
  - Reworked tests for bin/rush
  - Added legal texts

Wed Feb 22 18:17:21 EST 2006 Eero Saynatkari <rush-mail@magical-cat.org>

  * 2006.02.22-rue-02
  Added a trivial rush script and a test.

Wed Feb 22 15:02:05 EST 2006 Eero Saynatkari <rush-mail@magical-cat.org>

  * 2006.02.22-rue-01
  Start 0.2 from a completely clean table.

Thu Sep 29 16:52:44 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  tagged 0.1.bandicoot

Thu Sep 29 16:48:21 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.29-rue-04
  - Added version to bin/rush.
  - Version 0.1.bandicoot.
  - doc/ANNOUNCEMENT.

Thu Sep 29 16:28:09 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.29-rue-03
  - Revised doc/HOWTO.development for configs and repo updating.
  - Bug contacts in doc/README.
  - Removed bundles/. This will only be included with releases.
  - Removed 'ut'?

Thu Sep 29 14:34:07 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.29-rue-02
  - Added licencing info and integrated and commented manveru's commands.
  - Reverted ls.rb.
  - Revised doc/AUTHORS.

Thu Sep 29 05:34:42 EDT 2005 manveru@gmail.com

  * rushtils 0.2

Tue Sep 27 05:52:37 EDT 2005 manveru@gmail.com

  * manverus rushtils 0.1

Thu Sep 29 05:11:13 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.29-rue-01
  - Command#initialize creates @opts before calling parse_options.
  - Command.option fixed to accept :args positionally.
  - Command.option automatically generates a default method.
  - Command#exec processes nil input better.
  - Corrected HOWTO.commands.

Wed Sep 28 12:32:40 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.28-rue-01
  - Fixed bug with Command.option. It takes Hash arguments again.

Wed Sep 28 00:56:12 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.27-rue-04
  - Command.help allows defining three help messages for a command.
    These are accessible through Cmd.help, Cmd.usage and Cmd.short_usage.
  - Any option with :desc (optional) will have :desc appended to usage.
  - Command.option can also take parameters (key, name, method, desc in
    that order) in addition to the Hash.
  - UsageError can be raised with the command class to automatically
    print syntax (or usage if no syntax). Can be forced to show usage
    with a second parameter true).
  - Basic helps for all commands.
  - Commands.list shows the @help message (automatically #puts it).
  - Command has @opts available by default.

Tue Sep 27 13:38:26 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.27-rue-03
  - Method completion works on user variables now, too (completion.rb).
  - Created Parser.eval to abstract out all direct eval calls.
  - Changed every eval to use it.
  - Parser.session unavailable outside Parser.

Tue Sep 27 05:52:42 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.27-rue-02
  - env.rb abstracts both internal and system env handling.
  - Changed $env[...] and ENV to $env everywhere.
  - Added info to doc/HOWTO.using.

Tue Sep 27 00:49:30 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.27-rue-01
  - Moved colour initializations from default_config.rb to general.rb
    to be run at Rush.curses_init.
  - Changed default prompts and colours.

Mon Sep 26 02:40:35 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.26-rue-01
  - Command#parse_options returns [] for nil args.

Sun Sep 25 21:40:43 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.25-rue-05
  - Split break.rb into break.rb (^C) and eof.rb (^D).
  - Documented both of above.
  - Parser.break resets the parser for the current cycle (exits Ruby-mode).

Sun Sep 25 20:10:07 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.25-rue-04
  - The Ruby return value is #inspect rather than #to_s.

Sun Sep 25 20:07:26 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.25-rue-03
  - Parser.split returns sections only, not is_pipe.
  - Parser.construct_from returns nil for empty String.
  - Fixed bug with variable name (detail vs. details) in Parser.execute.
  - Documented parser.rb.

Sun Sep 25 02:36:28 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.25-rue-02
  - Commented and cleaned up commands/*.
  - commands/pwd.rb uses FsManager.
  - Command always puts the remaining non-option args in an Array.
  - cd/pushd defaults.
  - pushd/popd use FsManager.stack.
  - FsDisk stores @current_path when .navigating.

Sun Sep 25 02:32:56 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2004.09.25-rue-01
  - FsDisk.list to list all files and dirs.
    (I have no idea how this was supposed to work.)

Sun Sep 25 00:20:57 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.24-rue-02
  - FsXXX.default_path returns the default for the FS.
  - FsManager delegates to the FS's using method_missing.
  - FsDisk implements default_path.
  - FsDisk implements current_path and current_path=.
  - Moved $env[:stackd] to FsManager.stack.
  - bin/rush initializes FsManager to FsDisk with the current dir.
  - (These may have broken the other FS'. Test/fix later.)

Sat Sep 24 22:57:29 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.24-rue-01
  - pushd/cd and popd functional.
  - fsmanager.rb initializes $env[:stackd]

Sat Sep 24 02:03:20 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.23-rue-03
  - Licence clause in doc/HOWTO.commands.
  - Sliced doc/TODO from doc/README.
  - Doc touchups.
  - Renamed PipelineStopedException to --Stopped--.
  - Removed tabs from alias.rb.
  - Attributed metaid.rb to _why.
  - ^C is a no-op.

Sat Sep 24 01:54:30 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.23-rue-02
  - Removed commands/print, to_global, testcommands as useless.

Sat Sep 24 01:39:23 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.23-rue-01
  - Revised documentation.

Thu Sep 22 21:28:08 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.22-rue-03
  - Revised doc/HOWTO.commands code example.

Thu Sep 22 21:19:48 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.22-rue-02
  - Revised doc/README.
  - Wrote doc/HOWTO.commands.
  - History.save accepts the number of latest lines to save.
  - Corrected Keys.add in doc/HOWTO.customize.
  - Fixed .split to .split("\n") for NativeFilter, this was causing
    weird output (obviously).
  - fsmanager.rb #requires fsdisk.rb (occasionally needed it seems).
  - Key#respond_to and Command#respond_to can take either an Array
    or one or more Strings.

Thu Sep 22 13:48:44 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.22-rue-01
  - Corrected and added to doc/HOWTO.development.
   Revised master repository structure (no file structure changes).

Wed Sep 21 02:09:33 EDT 2005 rue - Eero Saynatkari <rush-mail@magical-cat.org>

  * 2005.09.21-rue-01
  Initial darcs import. Added doc/HOWTO.development for any info
  on development practices and using darcs and such. Also, changed
  the order of doc/CHANGES.

[Validate]