CHANGES.txt 5.7KB

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