##// END OF EJS Templates
Fix typos and remove trailing whitespace.
walter.doerwald -
Show More
@@ -1,7 +1,7 b''
1 1 2006-06-16 Walter Doerwald <walter@livinglogic.de>
2 2
3 3 * IPython/Extensions/ibrowse.py: Add two new commands to
4 ibrowse: hideattr (mapped to "h") hides the attribute under
4 ibrowse: "hideattr" (mapped to "h") hides the attribute under
5 5 the cursor. "unhiderattrs" (mapped to "H") reveals all hidden
6 6 attributes again. Remapped the help command to "?". Display
7 7 keycodes in the range 0x01-0x1F as CTRL-xx. Add CTRL-a and CTRL-e
@@ -9,12 +9,12 b''
9 9
10 10 2006-06-15 Ville Vainio <vivainio@gmail.com>
11 11
12 * iplib.py, hooks.py: Added new generate_prompt hook that can be
13 used to create prompts dynamically, instead of the "old" way of
14 assigning "magic" strings to prompt_in1 and prompt_in2. The old
12 * iplib.py, hooks.py: Added new generate_prompt hook that can be
13 used to create prompts dynamically, instead of the "old" way of
14 assigning "magic" strings to prompt_in1 and prompt_in2. The old
15 15 way still works (it's invoked by the default hook), of course.
16 16
17 * Prompts.py: added generate_output_prompt hook for altering output
17 * Prompts.py: added generate_output_prompt hook for altering output
18 18 prompt
19 19
20 20 * Release.py: Changed version string to 0.7.3.svn.
@@ -29,9 +29,9 b''
29 29 2006-06-12 Ville Vainio <vivainio@gmail.com>
30 30
31 31 * ipy_profile_sh.py: applied Krisha Mohan Gundu's patch for
32 allowing $variable interpolation within multiline statements,
32 allowing $variable interpolation within multiline statements,
33 33 though so far only with "sh" profile for a testing period.
34 The patch also enables splitting long commands with \ but it
34 The patch also enables splitting long commands with \ but it
35 35 doesn't work properly yet.
36 36
37 37 2006-06-12 Walter Doerwald <walter@livinglogic.de>
@@ -61,8 +61,8 b''
61 61
62 62 2006-06-07 Ville Vainio <vivainio@gmail.com>
63 63
64 * iplib.py,Magic.py, ipmaker.py (magic_rehashx):
65 Confirmation prompts can be supressed by 'quiet' option.
64 * iplib.py,Magic.py, ipmaker.py (magic_rehashx):
65 Confirmation prompts can be supressed by 'quiet' option.
66 66 _ip.options.quiet = 1 means "assume yes for all yes/no queries".
67 67
68 68 2006-06-06 *** Released version 0.7.2
@@ -74,7 +74,7 b''
74 74
75 75 2006-06-05 Ville Vainio <vivainio@gmail.com>
76 76
77 * Magic.py (magic_rehashx): Honor no_alias list earlier in
77 * Magic.py (magic_rehashx): Honor no_alias list earlier in
78 78 %rehashx, to avoid clobbering builtins in ipy_profile_sh.py
79 79
80 80 * upgrade_dir.py: try import 'path' module a bit harder
@@ -235,7 +235,7 b''
235 235 everywhere, since we only support 2.3 at this point. Docs
236 236 updated.
237 237
238 * IPython/ipapi.py (IPApi.__init__): Clean up of all getters.
238 * IPython/ipapi.py (IPApi.__init__): Cleanup of all getters.
239 239 Anything requiring extra validation can be turned into a Python
240 240 property in the future. I used a property for the db one b/c
241 241 there was a nasty circularity problem with the initialization
@@ -285,12 +285,12 b''
285 285 in command line. E.g. "ipython test.ipy" runs test.ipy with ipython
286 286 prefilters, allowing stuff like magics and aliases in the file.
287 287
288 * Prompts.py, Extensions/clearcmd.py, ipy_system_conf.py: %clear magic
289 added. Supported now are "%clear in" and "%clear out" (clear input and
290 output history, respectively). Also fixed CachedOutput.flush to
288 * Prompts.py, Extensions/clearcmd.py, ipy_system_conf.py: %clear magic
289 added. Supported now are "%clear in" and "%clear out" (clear input and
290 output history, respectively). Also fixed CachedOutput.flush to
291 291 properly flush the output cache.
292 292
293 * Extensions/pspersistence.py: Fix %store to avoid "%store obj.attr"
293 * Extensions/pspersistence.py: Fix %store to avoid "%store obj.attr"
294 294 half-success (and fail explicitly).
295 295
296 296 2006-03-28 Ville Vainio <vivainio@gmail.com>
@@ -313,7 +313,7 b''
313 313
314 314 * ipmaker.py: Suggest using %upgrade if ipy_user_conf.py isn't found.
315 315
316 * hooks.py: Only enclose editor binary in quotes if legal and
316 * hooks.py: Only enclose editor binary in quotes if legal and
317 317 necessary (space in the name, and is an existing file). Fixes a bug
318 318 reported by Zachary Pincus.
319 319
@@ -347,7 +347,7 b''
347 347
348 348 * IPython/iplib.py (showtraceback): add back sys.last_traceback
349 349 and friends, after a discussion with Zach Pincus on ipython-user.
350 I'm not 100% sure, but after thinking aobut it quite a bit, it may
350 I'm not 100% sure, but after thinking about it quite a bit, it may
351 351 be OK. Testing with the multithreaded shells didn't reveal any
352 352 problems, but let's keep an eye out.
353 353
@@ -357,28 +357,27 b''
357 357 self.showtraceback(), which handles state and tab-completion and
358 358 more.
359 359
360 2006-03-01 Ville Vainio <vivainio@gmail.com>
360 2006-03-01 Ville Vainio <vivainio@gmail.com>
361 361
362 362 * Extensions/ipipe.py: Added Walter Doerwald's "ipipe" module.
363 To use, do "from ipipe import *".
363 To use, do "from ipipe import *".
364 364
365 2006-02-24 Ville Vainio <vivainio@gmail.com>
365 2006-02-24 Ville Vainio <vivainio@gmail.com>
366 366
367 367 * Magic.py, upgrade_dir.py: %upgrade magic added. Does things more
368 368 "cleanly" and safely than the older upgrade mechanism.
369 369
370 2006-02-21 Ville Vainio <vivainio@gmail.com>
370 2006-02-21 Ville Vainio <vivainio@gmail.com>
371 371
372 372 * Magic.py: %save works again.
373 373
374 2006-02-15 Ville Vainio <vivainio@gmail.com>
374 2006-02-15 Ville Vainio <vivainio@gmail.com>
375 375
376 376 * Magic.py: %Pprint works again
377 377
378 * Extensions/ipy_sane_defaults.py: Provide everything provided
378 * Extensions/ipy_sane_defaults.py: Provide everything provided
379 379 in default ipythonrc, to make it possible to have a completely empty
380 380 ipythonrc (and thus completely rc-file free configuration)
381
382 381
383 382 2006-02-11 Fernando Perez <Fernando.Perez@colorado.edu>
384 383
@@ -394,22 +393,22 b''
394 393 contributed by marienz to close
395 394 http://www.scipy.net/roundup/ipython/issue53.
396 395
397 2006-02-10 Ville Vainio <vivainio@gmail.com>
396 2006-02-10 Ville Vainio <vivainio@gmail.com>
398 397
399 398 * genutils.py: getoutput now works in win32 too
400 399
401 400 * completer.py: alias and magic completion only invoked
402 at the first "item" in the line, to avoid "cd %store"
401 at the first "item" in the line, to avoid "cd %store"
403 402 nonsense.
404 403
405 2006-02-09 Ville Vainio <vivainio@gmail.com>
404 2006-02-09 Ville Vainio <vivainio@gmail.com>
406 405
407 * test/*: Added a unit testing framework (finally).
406 * test/*: Added a unit testing framework (finally).
408 407 '%run runtests.py' to run test_*.
409 408
410 409 * ipapi.py: Exposed runlines and set_custom_exc
411 410
412 2006-02-07 Ville Vainio <vivainio@gmail.com>
411 2006-02-07 Ville Vainio <vivainio@gmail.com>
413 412
414 413 * iplib.py: don't split "f 1 2" to "f(1,2)" in autocall,
415 414 instead use "f(1 2)" as before.
@@ -422,7 +421,7 b''
422 421 demo, both for pure Python (LineDemo) and for IPython-processed
423 422 input (IPythonLineDemo). After a request by Dave Kohel, from the
424 423 SAGE team.
425 (Demo.edit): added and edit() method to the demo objects, to edit
424 (Demo.edit): added an edit() method to the demo objects, to edit
426 425 the in-memory copy of the last executed block.
427 426
428 427 * IPython/Magic.py (magic_edit): add '-r' option for 'raw'
@@ -431,12 +430,12 b''
431 430 (without any prefilters applied). After requests by the SAGE team
432 431 at SAGE days 2006: http://modular.ucsd.edu/sage/days1/schedule.html.
433 432
434 2006-02-01 Ville Vainio <vivainio@gmail.com>
433 2006-02-01 Ville Vainio <vivainio@gmail.com>
435 434
436 * setup.py, eggsetup.py: easy_install ipython==dev works
435 * setup.py, eggsetup.py: easy_install ipython==dev works
437 436 correctly now (on Linux)
438 437
439 * ipy_user_conf,ipmaker: user config changes, removed spurious
438 * ipy_user_conf,ipmaker: user config changes, removed spurious
440 439 warnings
441 440
442 441 * iplib: if rc.banner is string, use it as is.
@@ -444,11 +443,11 b''
444 443 * Magic: %pycat accepts a string argument and pages it's contents.
445 444
446 445
447 2006-01-30 Ville Vainio <vivainio@gmail.com>
446 2006-01-30 Ville Vainio <vivainio@gmail.com>
448 447
449 448 * pickleshare,pspersistence,ipapi,Magic: persistence overhaul.
450 Now %store and bookmarks work through PickleShare, meaning that
451 concurrent access is possible and all ipython sessions see the
449 Now %store and bookmarks work through PickleShare, meaning that
450 concurrent access is possible and all ipython sessions see the
452 451 same database situation all the time, instead of snapshot of
453 452 the situation when the session was started. Hence, %bookmark
454 453 results are immediately accessible from othes sessions. The database
@@ -459,11 +458,11 b''
459 458
460 459 * aliases can now be %store'd
461 460
462 * path.py move to Extensions so that pickleshare does not need
461 * path.py moved to Extensions so that pickleshare does not need
463 462 IPython-specific import. Extensions added to pythonpath right
464 463 at __init__.
465 464
466 * iplib.py: ipalias deprecated/redundant; aliases are converted and
465 * iplib.py: ipalias deprecated/redundant; aliases are converted and
467 466 called with _ip.system and the pre-transformed command string.
468 467
469 468 2006-01-29 Fernando Perez <Fernando.Perez@colorado.edu>
@@ -472,25 +471,25 b''
472 471 KeyboardInterrupt exceptions properly. I'm not quite sure why the
473 472 logic here had to change, but it's fixed now.
474 473
475 2006-01-29 Ville Vainio <vivainio@gmail.com>
474 2006-01-29 Ville Vainio <vivainio@gmail.com>
476 475
477 476 * iplib.py: Try to import pyreadline on Windows.
478 477
479 2006-01-27 Ville Vainio <vivainio@gmail.com>
478 2006-01-27 Ville Vainio <vivainio@gmail.com>
480 479
481 480 * iplib.py: Expose ipapi as _ip in builtin namespace.
482 481 Makes ipmagic (-> _ip.magic), ipsystem (-> _ip.system)
483 and ip_set_hook (-> _ip.set_hook) redundant. % and !
482 and ip_set_hook (-> _ip.set_hook) redundant. % and !
484 483 syntax now produce _ip.* variant of the commands.
485 484
486 485 * "_ip.options().autoedit_syntax = 2" automatically throws
487 486 user to editor for syntax error correction without prompting.
488 487
489 2006-01-27 Ville Vainio <vivainio@gmail.com>
488 2006-01-27 Ville Vainio <vivainio@gmail.com>
490 489
491 * ipmaker.py: Give "realistic" sys.argv for scripts (without
492 'ipython' at argv[0]) executed through command line.
493 NOTE: this DEPRECATES calling ipython with multiple scripts
490 * ipmaker.py: Give "realistic" sys.argv for scripts (without
491 'ipython' at argv[0]) executed through command line.
492 NOTE: this DEPRECATES calling ipython with multiple scripts
494 493 ("ipython a.py b.py c.py")
495 494
496 495 * iplib.py, hooks.py: Added configurable input prefilter,
@@ -507,7 +506,7 b''
507 506 written doing self.getapi() instead of using the shell directly.
508 507
509 508 * Magic.py: %store now allows doing %store foo > ~/myfoo.txt and
510 %store foo >> ~/myfoo.txt to store variables to files (in clean
509 %store foo >> ~/myfoo.txt to store variables to files (in clean
511 510 textual form, not a restorable pickle).
512 511
513 512 * ipmaker.py: now import ipy_profile_PROFILENAME automatically
@@ -516,8 +515,8 b''
516 515
517 516 * iplib.py: ESC_PAREN fixes: /f 1 2 -> f(1,2), not f(1 2).
518 517
519 * GetoptErrors when invoking magics etc. with wrong args
520 are now more helpful:
518 * GetoptErrors when invoking magics etc. with wrong args
519 are now more helpful:
521 520 GetoptError: option -l not recognized (allowed: "qb" )
522 521
523 522 2006-01-25 Fernando Perez <Fernando.Perez@colorado.edu>
@@ -525,16 +524,16 b''
525 524 * IPython/demo.py (Demo.show): Flush stdout after each block, so
526 525 computationally intensive blocks don't appear to stall the demo.
527 526
528 2006-01-24 Ville Vainio <vivainio@gmail.com>
527 2006-01-24 Ville Vainio <vivainio@gmail.com>
529 528
530 529 * iplib.py, hooks.py: 'result_display' hook can return a non-None
531 530 value to manipulate resulting history entry.
532 531
533 532 * ipapi.py: Moved TryNext here from hooks.py. Moved functions
534 to instance methods of IPApi class, to make extending an embedded
533 to instance methods of IPApi class, to make extending an embedded
535 534 IPython feasible. See ext_rehashdir.py for example usage.
536 535
537 * Merged 1071-1076 from banches/0.7.1
536 * Merged 1071-1076 from branches/0.7.1
538 537
539 538
540 539 2006-01-23 Fernando Perez <Fernando.Perez@colorado.edu>
@@ -554,27 +553,27 b''
554 553 * Versionstring = 0.7.2.svn
555 554
556 555 * eggsetup.py: A separate script for constructing eggs, creates
557 proper launch scripts even on Windows (an .exe file in
556 proper launch scripts even on Windows (an .exe file in
558 557 \python24\scripts).
559 558
560 * ipapi.py: launch_new_instance, launch entry point needed for the
559 * ipapi.py: launch_new_instance, launch entry point needed for the
561 560 egg.
562 561
563 2006-01-23 Ville Vainio <vivainio@gmail.com>
562 2006-01-23 Ville Vainio <vivainio@gmail.com>
564 563
565 564 * Added %cpaste magic for pasting python code
566 565
567 2006-01-22 Ville Vainio <vivainio@gmail.com>
566 2006-01-22 Ville Vainio <vivainio@gmail.com>
568 567
569 568 * Merge from branches/0.7.1 into trunk, revs 1052-1057
570 569
571 570 * Versionstring = 0.7.2.svn
572 571
573 572 * eggsetup.py: A separate script for constructing eggs, creates
574 proper launch scripts even on Windows (an .exe file in
573 proper launch scripts even on Windows (an .exe file in
575 574 \python24\scripts).
576 575
577 * ipapi.py: launch_new_instance, launch entry point needed for the
576 * ipapi.py: launch_new_instance, launch entry point needed for the
578 577 egg.
579 578
580 579 2006-01-22 Fernando Perez <Fernando.Perez@colorado.edu>
@@ -611,15 +610,15 b''
611 610 2006-01-20 Ville Vainio <vivainio@gmail.com>
612 611
613 612 * Ipython/Extensions/ext_rehashdir.py: Created a usable example
614 (%rehashdir, very useful, try it out) of how to extend ipython
615 with new magics. Also added Extensions dir to pythonpath to make
613 (%rehashdir, very useful, try it out) of how to extend ipython
614 with new magics. Also added Extensions dir to pythonpath to make
616 615 importing extensions easy.
617 616
618 617 * %store now complains when trying to store interactively declared
619 618 classes / instances of those classes.
620 619
621 620 * Extensions/ipy_system_conf.py, UserConfig/ipy_user_conf.py,
622 ipmaker.py: Config rehaul. Now ipy_..._conf.py are always imported
621 ipmaker.py: Config rehaul. Now ipy_..._conf.py are always imported
623 622 if they exist, and ipy_user_conf.py with some defaults is created for
624 623 the user.
625 624
@@ -658,37 +657,37 b''
658 657
659 658 2006-01-16 Ville Vainio <vivainio@gmail.com>
660 659
661 * Ipython/magic.py:Reverted back to old %edit functionality
660 * Ipython/magic.py: Reverted back to old %edit functionality
662 661 that returns file contents on exit.
663 662
664 * IPython/path.py: Added Jason Orendorff's "path" module to
663 * IPython/path.py: Added Jason Orendorff's "path" module to
665 664 IPython tree, http://www.jorendorff.com/articles/python/path/.
666 665 You can get path objects conveniently through %sc, and !!, e.g.:
667 666 sc files=ls
668 667 for p in files.paths: # or files.p
669 668 print p,p.mtime
670 669
671 * Ipython/iplib.py:"," and ";" autoquoting-upon-autocall
672 now work again without considering the exclusion regexp -
673 hence, things like ',foo my/path' turn to 'foo("my/path")'
670 * Ipython/iplib.py:"," and ";" autoquoting-upon-autocall
671 now work again without considering the exclusion regexp -
672 hence, things like ',foo my/path' turn to 'foo("my/path")'
674 673 instead of syntax error.
675 674
676 675
677 676 2006-01-14 Ville Vainio <vivainio@gmail.com>
678 677
679 * IPython/ipapi.py (ashook, asmagic, options): Added convenience
680 ipapi decorators for python 2.4 users, options() provides access to rc
678 * IPython/ipapi.py (ashook, asmagic, options): Added convenience
679 ipapi decorators for python 2.4 users, options() provides access to rc
681 680 data.
682 681
683 682 * IPython/Magic.py (magic_cd): %cd now accepts backslashes
684 as path separators (even on Linux ;-). Space character after
683 as path separators (even on Linux ;-). Space character after
685 684 backslash (as yielded by tab completer) is still space;
686 685 "%cd long\ name" works as expected.
687 686
688 687 * IPython/ipapi.py,hooks.py,iplib.py: Hooks now implemented
689 as "chain of command", with priority. API stays the same,
690 TryNext exception raised by a hook function signals that
691 current hook failed and next hook should try handling it, as
688 as "chain of command", with priority. API stays the same,
689 TryNext exception raised by a hook function signals that
690 current hook failed and next hook should try handling it, as
692 691 suggested by Walter DΓΆrwald <walter@livinglogic.de>. Walter also
693 692 requested configurable display hook, which is now implemented.
694 693
@@ -699,15 +698,15 b''
699 698 label in windowing systems). %cd now changes the title to
700 699 current dir.
701 700
702 * IPython/Release.py: Added myself to "authors" list,
701 * IPython/Release.py: Added myself to "authors" list,
703 702 had to create new files.
704 703
705 704 * IPython/iplib.py (handle_shell_escape): fixed logical flaw in
706 705 shell escape; not a known bug but had potential to be one in the
707 706 future.
708 707
709 * IPython/ipapi.py (added),OInspect.py,iplib.py: "Public"
710 extension API for IPython! See the module for usage example. Fix
708 * IPython/ipapi.py (added),OInspect.py,iplib.py: "Public"
709 extension API for IPython! See the module for usage example. Fix
711 710 OInspect for docstring-less magic functions.
712 711
713 712
@@ -733,12 +732,12 b''
733 732
734 733 2006-01-12 Ville Vainio <vivainio@gmail.com>
735 734
736 * IPython/iplib.py (make_quoted_expr,handle_shell_escape):
735 * IPython/iplib.py (make_quoted_expr,handle_shell_escape):
737 736 Prettified and hardened string/backslash quoting with ipsystem(),
738 737 ipalias() and ipmagic(). Now even \ characters are passed to
739 738 %magics, !shell escapes and aliases exactly as they are in the
740 739 ipython command line. Should improve backslash experience,
741 particularly in Windows (path delimiter for some commands that
740 particularly in Windows (path delimiter for some commands that
742 741 won't understand '/'), but Unix benefits as well (regexps). %cd
743 742 magic still doesn't support backslash path delimiters, though. Also
744 743 deleted all pretense of supporting multiline command strings in
@@ -751,7 +750,7 b''
751 750
752 751 * /ipython.py Added ipython.py to root directory for
753 752 zero-installation (tar xzvf ipython.tgz; cd ipython; python
754 ipython.py) and development convenience (no need to kee doing
753 ipython.py) and development convenience (no need to keep doing
755 754 "setup.py install" between changes).
756 755
757 756 * Made ! and !! shell escapes work (again) in multiline expressions:
@@ -772,7 +771,7 b''
772 771
773 772 2006-01-11 Fernando Perez <Fernando.Perez@colorado.edu>
774 773
775 * IPython/Shell.py (IPShellGTK.on_timer): Finally fix the the
774 * IPython/Shell.py (IPShellGTK.on_timer): Finally fix the
776 775 problem of excessive CPU usage under *nix and keyboard lag under
777 776 win32.
778 777
@@ -902,7 +901,7 b''
902 901 * IPython/iplib.py (InteractiveShell): fix pdb calling: I'm now
903 902 using properties, but forgot to make the main InteractiveShell
904 903 class a new-style class. Properties fail silently, and
905 misteriously, with old-style class (getters work, but
904 mysteriously, with old-style class (getters work, but
906 905 setters don't do anything).
907 906
908 907 2005-12-30 Fernando Perez <Fernando.Perez@colorado.edu>
@@ -996,7 +995,7 b''
996 995 2005-12-28 Fernando Perez <Fernando.Perez@colorado.edu>
997 996
998 997 * IPython/iplib.py (handle_shell_escape): add Ville's patch to
999 better hadnle backslashes in paths. See the thread 'More Windows
998 better handle backslashes in paths. See the thread 'More Windows
1000 999 questions part 2 - \/ characters revisited' on the iypthon user
1001 1000 list:
1002 1001 http://scipy.net/pipermail/ipython-user/2005-June/000907.html
@@ -1080,7 +1079,7 b''
1080 1079
1081 1080 * IPython/FlexCompleter.py (Completer.__init__): Added support for
1082 1081 distinct local and global namespaces in the completer API. This
1083 change allows us top properly handle completion with distinct
1082 change allows us to properly handle completion with distinct
1084 1083 scopes, including in embedded instances (this had never really
1085 1084 worked correctly).
1086 1085
@@ -1337,7 +1336,7 b''
1337 1336 2005-07-16 Fernando Perez <fperez@colorado.edu>
1338 1337
1339 1338 * IPython/ultraTB.py (ExceptionColors): Make a global variable
1340 out of the color scheme table used for coloring exception
1339 out of the color scheme table used for coloring exception
1341 1340 tracebacks. This allows user code to add new schemes at runtime.
1342 1341 This is a minimally modified version of the patch at
1343 1342 http://www.scipy.net/roundup/ipython/issue35, many thanks to pabw
@@ -5559,7 +5558,7 b''
5559 5558 - Made the usage message a parameter.
5560 5559
5561 5560 - Require the name of the shell variable to be given. It's a bit
5562 of a hack, but allows the name 'shell' not to be hardwire in the
5561 of a hack, but allows the name 'shell' not to be hardwired in the
5563 5562 magic (@) handler, which is problematic b/c it requires
5564 5563 polluting the global namespace with 'shell'. This in turn is
5565 5564 fragile: if a user redefines a variable called shell, things
@@ -5578,7 +5577,7 b''
5578 5577 way, later @who can show things loaded at startup by the
5579 5578 user. This trick was necessary to make session saving/reloading
5580 5579 really work: ideally after saving/exiting/reloading a session,
5581 *everythin* should look the same, including the output of @who. I
5580 *everything* should look the same, including the output of @who. I
5582 5581 was only able to make this work with this double namespace
5583 5582 trick.
5584 5583
General Comments 0
You need to be logged in to leave comments. Login now