CHANGES.txt 4.2KB

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