CHANGES.txt 3.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Revision 2.6.1 (unknown):
  2. - Added new builtins and exceptions introduced in Python 2.6: "bin",
  3. "bytearray", "bytes", "format", "next", "BufferError", "BytesWarning";
  4. - Added builtin "__debug__";
  5. - Added "magic" global variables: "__doc__", "__file__", "__name__",
  6. "__package__";
  7. - Removed "OverflowWarning" (removed in Python 2.5);
  8. - Added option "python_print_as_function" for highlight "print" as a
  9. function;
  10. - Added support for new integer literal syntax "0o" and "0b";
  11. - Added support for string.Template syntax controlled by
  12. "python_highlight_string_templates" option;
  13. Revision 2.5.6 (2007-02-04):
  14. - Applied patch by Pedro Algarvio to enable spell checking only for
  15. the right spots (strings and comments);
  16. Revision 2.5.5 (2006-09-26):
  17. - added new warnings (ImportWarning, UnicodeWarning)
  18. introduced in Python 2.5;
  19. Revision 2.5.4 (2006-05-11):
  20. - added highlighting for erroneous operators: &&, ||, ++, --, ===
  21. (inspired by http://www.vim.org/tips/tip.php?tip_id=969, thanks
  22. Jeroen Ruigrok van der Werven for the link);
  23. - added highlighting for new 'with' statement and 'BaseException',
  24. 'GeneratorExit' exceptions introduced in Python 2.5;
  25. - added highlighting for 'OverflowWarning' exception which had been
  26. forgotten;
  27. - returned more robust recognition for function names;
  28. Revision 2.5.3:
  29. - fixed %-formatting highlighting for raw unicode strings;
  30. Revision 2.5.2:
  31. - slightly simplified option handling;
  32. - fixed regexp for indentation errors;
  33. - fixed highlighting for backslashed symbols inside strings;
  34. - added highlighting for trailing-space errors (triggered by new
  35. option: python_highlight_space_errors);
  36. - added highlighting for variable name errors;
  37. - added highlighting for hex number errors;
  38. Revision 2.5.1 (2005-03-13):
  39. - added new builtins 'all' and 'any' (Python 2.5a0)
  40. Revision 2.4.2 (2004-08-05):
  41. - added highlighting for new @decorator syntax introduced in python 2.4a2
  42. Revision 2.4.1 (2004-03-17):
  43. - new versioning scheme (based on python version numbers);
  44. - added highlighting for new types/builtins introduced in python 2.4
  45. (set, frozenset, reversed, sorted);
  46. - new option added: python_slow_sync (set this for slow but more
  47. robust syntax synchronization);
  48. - added highlighting for doctests;
  49. Revision 1.19:
  50. - new option added: python_highlight_indent_errors;
  51. - python_highlight_all now not override previously set options,
  52. for example code:
  53. let python_highlight_indent_errors = 0
  54. let python_highlight_all = 1
  55. set all highlight options except indentation errors highlighting option;
  56. Revision 1.17:
  57. - changed header, "Based on..." string added;
  58. Revision 1.16:
  59. - added basestring builtin;
  60. Revision 1.15 (first public revision).
  61. The changes since the original (vim6.1) python.vim are:
  62. - changed string highlighting;
  63. - enhanced special symbols highlighting inside strings;
  64. - enhanced constant numbers highlighting;
  65. - added optional highlighting for %-formatting inside strings;
  66. - added highlighting for error conditions (wrong symbols in source file,
  67. mixing spaces and tabs, wrong number values,
  68. wrong %-formatting inside strings);
  69. - added highlighting for magic comments: source code encoding
  70. and #! (executable) strings;
  71. - added highlighting for new exceptions and builtins introduced
  72. in python 2.3;