CHANGES.txt 5.5KB

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