CHANGES.txt 5.4KB

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