CHANGES.txt 6.7KB

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