CHANGES.txt 5.9KB

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