CHANGES.txt 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Revision 3.0.2 (2009-07-24):
  2. - Applied patch by Caleb Adamantine which fixes highlighting for decorators
  3. Revision 3.0.1 (2009-05-03):
  4. - Fixed compatibility with pyrex.vim
  5. Revision 3.0.0 (2008-12-07):
  6. - Added support for non-ASCII identifiers;
  7. - Added support for new text strings and binary data (bytes);
  8. - Updated support for numeric literals;
  9. - Updated support for str.format;
  10. - Added new builtins introduced in Python 2.6: "ascii", "exec",
  11. "memoryview", "print";
  12. - Added new keyword "nonlocal";
  13. - Removed exception "StandardError";
  14. - Removed builtins: "apply", "basestring", "buffer", "callable", "coerce",
  15. "execfile", "file", "help", "intern", "long", "raw_input", "reduce",
  16. "reload", "unichr", "unicode", "xrange";
  17. Revision 2.6.5 (2009-07-24):
  18. - Applied patch by Caleb Adamantine which fixes highlighting for decorators
  19. Revision 2.6.4 (2009-05-03):
  20. - Fixed compatibility with pyrex.vim
  21. Revision 2.6.3 (2008-09-29):
  22. - Return back trailing 'L' support for numbers. Actually it was changed for
  23. future Python 3.0 syntax but in wrong file;
  24. Revision 2.6.2 (2008-09-22):
  25. - Added "VMSError" exception;
  26. - Added support for b"..." syntax;
  27. - Added support for str.format brace escaping;
  28. Revision 2.6.1 (2008-09-21):
  29. - Added new builtins and exceptions introduced in Python 2.6: "bin",
  30. "bytearray", "bytes", "format", "next", "BufferError", "BytesWarning";
  31. - Added builtin "__debug__";
  32. - Added global variables: "__doc__", "__file__", "__name__", "__package__";
  33. - Removed "OverflowWarning" (removed in Python 2.5);
  34. - Added option "python_print_as_function" for highlight "print" as a
  35. function;
  36. - Added support for new integer literal syntax "0o" and "0b";
  37. - Added support for string.Template syntax controlled by
  38. "python_highlight_string_templates" option;
  39. - Added support for str.format syntax controlled by
  40. "python_highlight_string_format" option;
  41. - Removed highlighting for "--" and "++" because it's a valid Python
  42. expressions which can be interpreted as "a + +b";
  43. Revision 2.5.6 (2007-02-04):
  44. - Applied patch by Pedro Algarvio to enable spell checking only for
  45. the right spots (strings and comments);
  46. Revision 2.5.5 (2006-09-26):
  47. - added new warnings (ImportWarning, UnicodeWarning)
  48. introduced in Python 2.5;
  49. Revision 2.5.4 (2006-05-11):
  50. - added highlighting for erroneous operators: &&, ||, ++, --, ===
  51. (inspired by http://www.vim.org/tips/tip.php?tip_id=969, thanks
  52. Jeroen Ruigrok van der Werven for the link);
  53. - added highlighting for new 'with' statement and 'BaseException',
  54. 'GeneratorExit' exceptions introduced in Python 2.5;
  55. - added highlighting for 'OverflowWarning' exception which had been
  56. forgotten;
  57. - returned more robust recognition for function names;
  58. Revision 2.5.3:
  59. - fixed %-formatting highlighting for raw unicode strings;
  60. Revision 2.5.2:
  61. - slightly simplified option handling;
  62. - fixed regexp for indentation errors;
  63. - fixed highlighting for backslashed symbols inside strings;
  64. - added highlighting for trailing-space errors (triggered by new
  65. option: python_highlight_space_errors);
  66. - added highlighting for variable name errors;
  67. - added highlighting for hex number errors;
  68. Revision 2.5.1 (2005-03-13):
  69. - added new builtins 'all' and 'any' (Python 2.5a0)
  70. Revision 2.4.2 (2004-08-05):
  71. - added highlighting for new @decorator syntax introduced in python 2.4a2
  72. Revision 2.4.1 (2004-03-17):
  73. - new versioning scheme (based on python version numbers);
  74. - added highlighting for new types/builtins introduced in python 2.4
  75. (set, frozenset, reversed, sorted);
  76. - new option added: python_slow_sync (set this for slow but more
  77. robust syntax synchronization);
  78. - added highlighting for doctests;
  79. Revision 1.19:
  80. - new option added: python_highlight_indent_errors;
  81. - python_highlight_all now not override previously set options,
  82. for example code:
  83. let python_highlight_indent_errors = 0
  84. let python_highlight_all = 1
  85. set all highlight options except indentation errors highlighting option;
  86. Revision 1.17:
  87. - changed header, "Based on..." string added;
  88. Revision 1.16:
  89. - added basestring builtin;
  90. Revision 1.15 (first public revision).
  91. The changes since the original (vim6.1) python.vim are:
  92. - changed string highlighting;
  93. - enhanced special symbols highlighting inside strings;
  94. - enhanced constant numbers highlighting;
  95. - added optional highlighting for %-formatting inside strings;
  96. - added highlighting for error conditions (wrong symbols in source file,
  97. mixing spaces and tabs, wrong number values,
  98. wrong %-formatting inside strings);
  99. - added highlighting for magic comments: source code encoding
  100. and #! (executable) strings;
  101. - added highlighting for new exceptions and builtins introduced
  102. in python 2.3;