CHANGES.txt 6.1KB

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