Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 261 lines (233 sloc) 14.024 kb
afa6151 @banister version 0.9.7.3 hotfix-hotfix
banister authored
1 28/10/2011 version 0.9.7.3 hotfix-hotfix ;)
2 * really fixed indentation for 'super if' and friends
3 * Fixed indentation for tmux
4 * added Pry.config.correct_indent option (to toggle whether indentation
5 * corrected optional param behaviour for method signatures: e.g Signature meth(param1=?, param2=?)
6
e8f5d55 @banister 0.9.7.2 hotfix: fixed indentation issues, now passing eval_string into P...
banister authored
7 27/10/2011 version 0.9.7.2 hotfix
8 * fixed indentation for 'super if' and 'ensure', 'next if', etc
9 * refactored Pry#run_command so it can accept an eval_string parameter (so amend-line and so on can work with it)
10 * changed ^D so it no longer resets indent level automatically
11
12 26/10/2011 version 0.9.7.1 hotfix
13 * fixed gem dependecy issues
14
79382dc @rf- update changelog and contributors
rf- authored
15 25/10/2011 version 0.9.7
16
17 MAJOR NEW FEATURES:
18 - upgraded ls command to have a more intuitive interface
19 - added automatic indentation (thanks YorickPeterse!)
20 - added Pry::Method wrapper class to encapsulate method-related functionality
21
22 complete CHANGELOG:
23 * fixed syntax highlighting for object literals
24 * fixed ActiveSupport method-naming conflict with "in?"
9c2e5be @banister added some missing elements from 0.9.7 release CHANGELOG
banister authored
25 * added --super option to edit-method, show-method, and friends - making it easier to operate on superclass methods
26 * officially added edit --in to open previous expressions in an editor
27 * whereami now works for REPL-defined code
79382dc @rf- update changelog and contributors
rf- authored
28 * started using JRuby parser for input validation in JRuby (thanks pangloss!)
29 * fixed bug where ~/.pryrc could be loaded more than once (thanks kelseyjudson!)
30 * added parse_options! helper to pull option parsing out of commands
31 * Pry now respects the terminal's input encoding
32 * moved some requires out of the startup process for improved speed
7827806 @banister updated CHANGELOG
banister authored
33 * added input_array info to DEFAULT_PROMPT, e.g [1] pry(main)>
34 * added --no-history option to pry binary (prevent history being LOADED, history will still be saved)
35
d7dde63 @banister o swaying lillies!, o silver enemas!
banister authored
36 27/9/2011 version 0.9.6.2 HOTFIX release
f832fb9 @banister version 0.9.6.1 hotfix release, fixes coderay version issue
banister authored
37 * downgrading to CodeRay 0.9.8 due to problems with 1.0 and rails (autoloading problem) see #280 on pry and #6 on CodeRay
38 * also added (as a minor feature) cirwin's implementation of edit --in
39 * added early break/exit for objectpath errors (the 'cd 34/@hello/bad_path/23')
40
bb4412a @banister version 0.9.6 release
banister authored
41 19/9/2011 version 0.9.6
026e416 @rf- updated CHANGELOG
rf- authored
42 * restored previous behavior of command-line switches (allowing "-rfilename")
43 * removed -p option (--play) from edit command
1292707 @banister updated CHANGLOG with changes to play command
banister authored
44 * `edit` with no arguments now edits the current or most recent expression
47bebad @banister updated CHANGELOG with info about edit command now auto-reloading
banister authored
45 * `edit` auto-reloads .rb files (need to specify -n to suppress)
026e416 @rf- updated CHANGELOG
rf- authored
46 * added -p option (--patch) to edit-method command, which allows
47 monkeypatching methods without touching the original file
48 * edit-method can now edit REPL-defined methods
49 * cat --ex now works on exceptions in REPL-defined code
1292707 @banister updated CHANGLOG with changes to play command
banister authored
50 * play -m now uses eval_string.replace()
51 * play -m --open uses show-input to show play'd code
ca5d6b3 @ConradIrwin Port dedent from Python
ConradIrwin authored
52 * added "unindent" helper to make adding help to commands easier
3441397 @banister updated CHANGELOG
banister authored
53 * local ./.pryrc now loaded after ~/.pryrc if it exists
54 * cat --ex N and edit --ex N now can navigate through backtrace, where cat --ex (with no args) moves throuh successive levels of the backtrace automatically with state stored on the exceptino object itself
f89f31f @banister added error handling to cat command
banister authored
55 * new option Pry.config.exception_window_size determines window size for cat --ex
4e3853e @banister now using 'retry' (in read loop) to switch input objects in input_stack
banister authored
56 * input_stack now implemented - pushing objects onto a pry instance's input_stack causes the instance to read from those objects in turn as it encounters EOF on the previous object. On finishing the input_stack the input object for the pry instance is set back to Pry.config.input, if this fails, pry breaks out of the REPL (throw(:breakout)) with an error message
e852352 @banister injecting target_self into command scope (the self of the active binding...
banister authored
57 * Pry.config.system() defines how pry runs system commands
58 * now injecting target_self method into command scope
bb4412a @banister version 0.9.6 release
banister authored
59 * play now performs 'show-input' always unless eval_string contains a valid expression (i.e it's about to be eval'd)
60 * play and hist --replay now push the current input object onto the input_stack before redirecting input to a StringIO (works much better with pry-remote now)
026e416 @rf- updated CHANGELOG
rf- authored
61
fdae01a @banister version 0.9.5 release
banister authored
62 8/9/2011 version 0.9.5
52bd898 @banister version 0.9.4 release, finally complete with full JRuby support
banister authored
63
64 MAJOR NEW FEATURES:
65 - JRuby support, including show-method/edit-method and editor integration on both 1.8 and 1.9 versions
66 - extended cd syntax: cd ../@x/y
67 - play command now works much better with _in_ array (this is a very powerful feature, esp with Pry::NAV_PROMPT)
68 - history saving/loading is now lightning fast
69 - 'edit' (entered by itself) now opens current lines in input buffer in an editor, and evals on exit
70 - 'edit' command is also, in general more intelligent
71 - ls output no longer in array format, and colors can be configured, e.g: Pry.config.ls.ivar_color = :bright_blue
72 - new switch-to command for moving around the binding stack without exiting out of sessions
73 - more sophisticated prompts, Pry::NAV_PROMPT to ease deep spelunking of code
74 - major bug fix for windows systems
75 - much better support for huge objects, should no longer hang pry (see #245)
76 - cat --ex and edit --ex now work better
77
78 complete CHANGELOG:
3b5668f @banister updated CHANGELOG
banister authored
79 * tempfile should end in .rb (for edit -t)
80 * ls output should not be in array format
81 * fix history saving (should not save all of Readline::HISTORY, but only what changed)
82 * prevent blank lines going to Readline::HISTORY (thanks cirwin!)
83 * ensure that cat --ex emulates the `whereami` format - includes line numbers and formatted the same, etc
5b09af4 @banister updated CHANGELOG
banister authored
84 * fixed bug #200 ( https://github.com/pry/pry/issues/200 )- string interpolation bug (thanks to ryanf)
85 * show-doc and stat now display method visibility (update WIKI)
86 * got rid of warnings caused by stricter ruby 1.9.3 rules
87 * remove interpolation of command names and fix interpolation error messag (update WIKI) (thanks ryanf!)
5a38130 @banister updated CHANGELOG
banister authored
88 * 'nested sessions' now use binding stacks (so each instance manages its own collection of bindings without spawning other instances)
89 * 'cd ..' just pops a binding off the binding_stack with special behaviour when only one binding in stack - it breaks out of the repl loop
84b0601 @banister all special locals are now injected into all bindings for a Pry instance...
banister authored
90 * added switch-to command (like jump-to but doesnt unwind the stack)
3e137e8 @banister added Pry.config.control_d_handler and also changed way control d (^D) w...
banister authored
91 * show-method and show-doc now accept multiple method names
92 * control_d hook added (Pry.config.control_d_handler)
93 * behaviour of ^d is now to break out of current expr if in multi-line expr, or break out of current context if nested, or break out of pry repl loop if at top-level
d16e396 @banister removed all occurences of Pry.active_instance and Pry.last_exception. No...
banister authored
94 * can no longer interpolate command name itself e.g #{x}-#{y} where x = "show" and y = "doc"
95 * ^C no longer captured
96 * got rid of Pry.active_instance, Pry.last_exception and friends.
b357624 @banister added more rbx helpers (command_helpers.rb) and added limited support fo...
banister authored
97 * also special locals now shared among bindings in a pry instance (i.e _ex_ (and friends) re-injected into new binding entered with 'cd')
a04e560 @banister made it so commands (with :keep_retval => true) can now return nil as a ...
banister authored
98 * renamed inp and out to _in_ and _out_ (to avoid collisions with actual locals in debugging scope)
6cd1d28 @banister merged in robgleeson's patch to pass pry instance to prompts, also added...
banister authored
99 * added third parameter to prompts, the pry instance itself (_pry) see https://github.com/pry/pry/issues/233 for why it's important
3c1db5a @banister added signature to stat and show-doc commands in ruby 1.8; added source ...
banister authored
100 * cd behaviour when no args performs the same as `cd /`
5acbf75 @banister updated CHANGELOG and TODO
banister authored
101 * commands with keep_retval can now return nil (to suppress output now return 'void' instead)
102 * Pry::CommandProcessor::Result introduced
103 * Pry.view_clip() modified to be more robust and properly display Class#name
104 * edit command when invoked with no args now works like edit -t
105 * when edit is invoked (with no args or with -t) inside a multi-line expression input buffer, it dumps that buffer into a temp file and takes you to it
106 * got rid of Pry#null_input? since all that was needed was eval_string.empty?
a8dd7ec @banister updated CHANGELOG and removed leak of debugging info from cd command
banister authored
107 * cd command now supports complex syntax: cd ../@y/y/../z
e589710 @banister JRuby finally supported, passing 100% of tests - requires updated method...
banister authored
108 * JRuby is no longer a 2nd class citizen, almost full JRuby support, passing 100% tests
522e7bc @banister added Pry::NAV_PROMPT and Pry::SIMPLE_PRINT to pry.rb
banister authored
109 * added Pry::NAV_PROMPT (great new navigation prompt, per robgleeson) and Pry::SIMPLE_PRINT for simple (IRB-style) print output (just using inspect)
740e2d0 @banister ls output colors can be configured using, e.g Pry.config.ls.local_var_co...
banister authored
110 * _pry_ now passed as 3rd parameter to :before_session hook
111 * ls colors now configurable via Pry.config.ls.local_var_color = :bright_red etc
1759f28 @banister updated Pry.view_clip() again, this time calling #inspect on nil, true, ...
banister authored
112 * ls separator configurable via, e.g Pry.config.ls.separator = " "
113 * Pry.view_clip() now only calls inspect on a few immediates, otherwise uses the #<> syntax, which has been truncated further to exclude teh mem address, again related to #245
3b5668f @banister updated CHANGELOG
banister authored
114
79382dc @rf- update changelog and contributors
rf- authored
115 27/7/2011 version 0.9.3
cda9502 @banister updated CHANGELOG and TODO, almost ready for 0.9.3 release
banister authored
116 * cat --ex (cats 5 lines above and below line in file where exception was raised)
117 * edit --ex (edits line in file where exception was raised)
118 * edit -t (opens a temporary file and evals it in current context when closed)
8c444ba @banister updated CHANGELOG and TODO
banister authored
119 * `pry -r` requires now happen after plugin loading (so as not to interfere with
cda9502 @banister updated CHANGELOG and TODO, almost ready for 0.9.3 release
banister authored
120 * new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related (thanks ryanf)
0394c3e @banister fixed help for play command, updated TODO and CHANGELOG
banister authored
121 * add better error messages for `cd` command
d74ddee @banister updated CHANGELOG and TODO
banister authored
122 * fixed exotic object regression - BasicObject.new etc now return "=> unknown"
df10d63 @banister updated TODO and CHANGELOG
banister authored
123 * added reload-method command (reloads the associated file of a method)
124 * converted: import => import-set, version => pry-version, install => install-command
cda9502 @banister updated CHANGELOG and TODO, almost ready for 0.9.3 release
banister authored
125 * Pry.config.command_prefix support (thanks ryanf!)
126 * fixed indentation for simple-prompt
127 * hist command now excludes last line of input (the command invocation itself)
128 * hist now has `history` alias
0777d6e @banister updated CHANGELOG to indicate fixed jedit editor support and that missin...
banister authored
129 * missing plugins no longer raise exception, just print a warning to $stderr
130 * fixed jedit editor support
8c444ba @banister updated CHANGELOG and TODO
banister authored
131
5c4feac @banister version 0.9.2 release, updated CHANGELOG and version
banister authored
132 21/6/2011 version 0.9.2
133 * fixed string interpolation bug (caused valid ruby code not to execute, sorry!)
134 * fixed `ls` command, so it can properly display members of Object and classes, and BasicObject, etc
135 * added a few git related commands to experimental command set, blame and diff
136
6061f97 @banister added date to CHANGELOG
banister authored
137 17/6/2011 version 0.9.0
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
138 * plugin system
139 * regex commands
140 * show-method works on methods defined in REPL
141 * new command system/API
142 * rubinius core support
606ce5c @banister updated CHANGELOG
banister authored
143 * more backports to ruby 1.8
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
144 * inp/out special locals
145 * _ex_ backtrace navigation object (_ex_.line, _ex_.file)
146 * readline history saving/loading
147 * prompt stack
148 * more hooks
149 * amend-line
150 * play
151 * show-input
3ab22b1 @banister updated CHANGELOG information
banister authored
152 * edit
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
153 * much more comprehensive test suite
154 * support for new and old rubygems API
155 * changed -s behaviour of ls (now excludes Object methods)
606ce5c @banister updated CHANGELOG
banister authored
156 * removed eval-file, lls, lcd, and a few other commands
157
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
158
21eb9c5 @banister version 0.7.6.1, added slightly better YARD support for syntax
banister authored
159 26/3/2011 version 0.7.6.1
160 * added slightly better support for YARD
161 * now @param and @return tags are colored green and markdown `code` is syntax highlighted using coderay
162
f4d7e41 @banister version 0.7.6, supercharged 'whereami' method, added AROUND parameter. ...
banister authored
163 26/3/2011 version 0.7.6
164 * `whereami` command now accepts parameter AROUND, to display AROUND lines on eitherside of invocation line.
165 * made it so `whereami` is invoked even if no method exists in current context (i.e in rspec tests)
166 * added rubinius support for `whereami` invocation in HOOKS by checking for __unknown__.rb rather than just <main>
167
e1d2372 @banister version 0.7.0, added pry-doc support and a few misc things.
banister authored
168 15/3/2011 version 0.7.0
169 * add pry-doc support with syntax highlighting for docs
170 * add 'mj' option to ls (restrict to singleton methods)
171 * add _ex_ local to hold last exception raised in an exception
172
4b9198d @banister version 0.6.8, added whereami command, made .pryrc run at the start of e...
banister authored
173 6/3/2011 version 0.6.8
174 * add whereami command, a la the `ir_b` gem
175 * make whereami run at the start of every session
176 * make .pryrc be loaded by run-time pry sessions
177
52349f5 @banister version 0.6.7 release: major features are (1) syntax highlighting (2) in...
banister authored
178 4/3/2011 version 0.6.7
179 * color support
180 * --simple-prompt for pry commandline
181 * -I mode for pry commandline
182 * --color mode for pry commandline
183 * clean up requires (put them all in one place)
184 * simple-prompt command and toggle-color commandd.
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
185
52a84cd @banister version 0.6.3, added method_source 0.3.4 dependency (1.8 show-metthod su...
banister authored
186 28/2/2011 version 0.6.3
187 * Using MethodSource 0.3.4 so 1.8 show-method support provided
188 * `Set` class added to list of classes that are inspected
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
189
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
190 26/2/2011 version 0.6.1
191 * !@ command alias for exit_all
192 * `cd /` for breaking out to pry top level (jump-to 0)
193 * made `-e` option work in a more effective way for `pry` command line invocation
194 * exit and exit-all commands now accept a parameter, this parameter becomes the return value of repl()
195 * `command` method from CommandBase now accepts a :keep_retval arg that determines if command value is returned to pry session or just `nil` (`nil` was old behaviour)
196 * tests for new :keep_retval and exit-all/exit behaviour; :keep_retval will remain undocumented.
197
198 22/2/2011 version 0.5.8
d65a13a @banister version 0.5.8 added -c (context) options to show-method and show-doc and...
banister authored
199 * Added -c (context) option to show-doc, show-methods and eval-file
200 * Fixed up ordering issue of -c and -r parameters to command line pry
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
201
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
202 21/2/2011 version 0.5.7
22d31c0 @banister version 0.5.7, added Pry executable, pry --help at command line for more...
banister authored
203 * Added pry executable, auto-loads .pryrc in user's home directory, if it
204 exists.
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
205
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
206 19/2/2011 version 0.5.5
5eea050 @banister version 0.5.6, added better help messages and error messages. Refactored...
banister authored
207 * Added Pry.run_command
208 * More useful error messages
209 * Easter eggs (game and cohen-poem)
210
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
211 17/2/2011 version 0.5.0
29722bb @banister * version 0.5.0 release
banister authored
212 * Use clipped version of Pry.view() for large objects
213 * Exit Pry session on ^d
214 * Use Shellwords for breaking up parameters to pry commands
215 * Use OptionParser to parse options for default pry commands
216 * Add version command
217 * Refactor 'status' command: add current method info
218 * Add meth_name_from_binding utility lambda to commands.rb
219 * Add -M, -m, -v(erbose), -a(ll), -s(uper), -l(ocals), -i(ivars), -k(klass
220 vars), etc options to ls
221 * add -M(instance method) options to show-method and show-doc
222 * add --help option to most commands
223 * Get rid of ls_method and ls_imethods (subsumed by more powerful ls)
224 * Get rid of show_idoc and show_imethod
225 * Add special eval-file command that evals target file in current context
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
226
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
227 27/1/2011 version 0.4.5
d0cf3ef @banister version 0.4.5 fixed show_method command
banister authored
228 * fixed show_method (though fragile as it references __binding_impl__
229 directly, making a name change to that method difficult
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
230 27/1/2011 version 0.4.4
d890d7b @banister version 0.4.4, oops added examples/
banister authored
231 * oops, added examples/ directory
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
232 26/1/2011 version 0.4.3
d890d7b @banister version 0.4.4, oops added examples/
banister authored
233 * added alias_command and desc methods to Pry::CommandBase
234 * changed behaviour of ls_methods and ls_imethods to return sorted lists
235 of methods
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
236 23/1/2011 version 0.4.1
2ca16a0 @banister Version 0.4.1
banister authored
237 * made it so a 'def meth;end' in an object Pry session defines singleton
238 methods, not methods on the class (except in the case of
239 immediates)
240 * reorganized documentation, moving customization to a separate wiki file
241 * storing wiki in a nested git repo, as github wiki pages have their own
242 repo
243 * added more tests for new method definition behaviour
c0e4947 @banister version 0.6.1 release, added optional return value to `exit` and `exit-a...
banister authored
244 21/1/2011 version 0.4.0
45f2f10 @banister almost ready for 0.4.0 release, created new example_input2.rb example fo...
banister authored
245 * added command API
246 * added many new commands, i.e ls_methods and friends
247 * modified other commands
248 * now accepts greater customization, can modify: input, output, hooks,
249 prompt, print object
250 * added tab completion (even completes commands)
251 * added extensive tests
252 * added examples
253 * many more changes
a25c40d @banister version bump to 0.1.3 and slight aesthetic changes to code
banister authored
254 9/12/2010 version 0.1.3
255 * Got rid of rubygems dependency, refactored some code.
890ca85 @banister rescuing SyntaxError as well in valid_expression?
banister authored
256 8/12/2010 version 0.1.2
257 * now rescuing SyntaxError as well as Racc::Parser error in valid_expression?
2dc06b2 @banister adding READMEs and CHANGELOG etc
banister authored
258 8/12/2010 version 0.1.0
259 * release!
69b91bf @banister updated CHANGELOG with some 0.9.0 changes
banister authored
260
Something went wrong with that request. Please try again.