CHANGES.txt 3.7KB

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