log mercurial/encoding.py @ 44340:6ecc34b31137

age author description
Sun, 01 Dec 2019 18:46:10 -0500 Matt Harbison cleanup: fix docstring formatting
Tue, 19 Nov 2019 23:49:05 +0900 Yuya Nishihara typing: consolidate "if not globals():" trick
Sat, 16 Nov 2019 16:25:28 +0900 Yuya Nishihara typing: add pseudo localstr.__init__() to help pytype
Sat, 16 Nov 2019 15:24:49 +0900 Yuya Nishihara typing: fix argument type of encoding.localstr()
Sat, 16 Nov 2019 16:09:39 +0900 Yuya Nishihara typing: suppress error of py2 encoding.strtolocal() and .strfromlocal()
Sat, 16 Nov 2019 15:34:47 +0900 Yuya Nishihara typing: constrain argument/return types of encoding.toutf8b()
Sat, 16 Nov 2019 15:27:12 +0900 Yuya Nishihara typing: fix argument type of encoding.tolocal() and .fromutf8b()
Sat, 16 Nov 2019 15:10:41 +0900 Yuya Nishihara typing: fix forward reference in _Tlocalstr type bound
Sat, 16 Nov 2019 15:43:21 +0900 Yuya Nishihara encoding: make getcols() raise exception explicitly
Wed, 13 Nov 2019 20:32:24 -0500 Augie Fackler encoding: fix bad type annotation
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Thu, 07 Nov 2019 13:18:19 -0500 Augie Fackler cleanup: remove pointless r-prefixes on double-quoted strings
Wed, 06 Nov 2019 14:48:34 -0500 Augie Fackler encoding: add comment-based type hints for pytype
Wed, 06 Nov 2019 15:13:23 -0500 Augie Fackler encoding: define local identify functions with explicit type comments
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sat, 02 Mar 2019 13:07:58 -0800 Gregory Szorc encoding: use raw strings for encoding arguments
Tue, 25 Sep 2018 08:53:20 -0700 Martin von Zweigbergk encoding: remove unnecessary lambdas from _encodingfixers
Sun, 23 Sep 2018 22:36:44 -0400 Matt Harbison py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings
Fri, 21 Sep 2018 19:48:23 -0400 Matt Harbison py3: rename pycompat.getcwd() to encoding.getcwd() (API)
Wed, 01 Aug 2018 13:00:45 -0700 Gregory Szorc global: use pycompat.xrange()
Thu, 19 Jul 2018 13:55:54 -0400 Augie Fackler release: merge default into stable for 4.7 release freeze stable
Sun, 01 Jul 2018 23:36:53 +0900 Yuya Nishihara encoding: alias cp65001 to utf-8 on Windows stable
Sun, 23 Apr 2017 13:15:30 +0900 Yuya Nishihara encoding: introduce tagging type for non-lossy non-ASCII string
Sun, 22 Apr 2018 11:38:53 +0900 Yuya Nishihara encoding: fix toutf8b() to resurrect lossy characters even if "\xed" in it
Tue, 06 Mar 2018 02:43:17 -0600 Yuya Nishihara py3: drop encoding.strio()
Thu, 01 Mar 2018 17:56:32 -0500 Yuya Nishihara py3: don't crash when re-raising encoding error
Sat, 16 Sep 2017 22:55:48 +0900 Yuya Nishihara py3: use 'surrogatepass' error handler to process U+DCxx transparently
Sun, 03 Sep 2017 15:54:29 +0900 Yuya Nishihara py3: wrap bytes in encoding.from/toutf8b() with bytestr
Fri, 15 Sep 2017 19:43:32 -0400 Augie Fackler encoding: ensure getutf8char always returns a bytestr, never an int
Sun, 03 Sep 2017 14:56:31 +0900 Yuya Nishihara doctest: use print_function and convert bytes to unicode where needed
Sun, 03 Sep 2017 15:47:17 +0900 Yuya Nishihara doctest: do not embed non-ascii characters in docstring
Sun, 03 Sep 2017 15:42:27 +0900 Yuya Nishihara doctest: pass encoding name as system string
Sun, 03 Sep 2017 14:32:11 +0900 Yuya Nishihara doctest: bulk-replace string literals with b'' for Python 3
Sun, 23 Apr 2017 13:08:58 +0900 Yuya Nishihara encoding: add fast path of from/toutf8b() for ASCII strings
Sun, 23 Apr 2017 13:06:23 +0900 Yuya Nishihara encoding: add fast path of from/tolocal() for ASCII strings
Sun, 23 Apr 2017 12:59:42 +0900 Yuya Nishihara encoding: add function to test if a str consists of ASCII characters
Sun, 23 Apr 2017 14:47:52 +0900 Yuya Nishihara encoding: add fast path of jsonescape() (issue5533)
Sun, 23 Apr 2017 16:10:51 +0900 Yuya Nishihara encoding: extract stub for fast JSON escape
Wed, 16 Aug 2017 13:50:11 +0900 Yuya Nishihara py3: make encoding.strio() an identity function on Python 2
Mon, 24 Jul 2017 14:38:40 -0400 Augie Fackler py3: introduce a wrapper for __builtins__.{raw_,}input()
Mon, 14 Aug 2017 15:50:40 +0900 Yuya Nishihara py3: change encoding.localstr to a subclass of bytes, not str
Mon, 31 Jul 2017 23:13:47 +0900 Yuya Nishihara encoding: drop circular import by proxying through '<policy>.charencode'
Sat, 24 Jun 2017 13:48:04 +0900 Yuya Nishihara py3: add utility to forward __str__() to __bytes__()
Mon, 29 May 2017 21:57:51 +0900 Yuya Nishihara encoding: make sure "wide" variable never be referenced from other modules
Sun, 28 May 2017 13:27:29 -0400 Augie Fackler encoding: make wide character class list a sysstr
Sat, 13 Aug 2016 12:23:56 +0900 Yuya Nishihara parsers: switch to policy importer
Tue, 16 May 2017 23:36:38 +0900 Yuya Nishihara encoding: use i.startswith() instead of i[0] to eliminate py2/3 divergence
Fri, 10 Feb 2017 16:56:29 -0800 Martin von Zweigbergk cleanup: use set literals
Sat, 13 May 2017 11:20:51 -0700 Gregory Szorc encoding: remove workaround for locale.getpreferredencoding()
Mon, 01 May 2017 17:23:48 +0900 Yuya Nishihara check-code: ignore re-exports of os.environ in encoding.py
Wed, 03 May 2017 15:37:51 +0530 Pulkit Goyal py3: use pycompat.bytechr instead of chr
Wed, 29 Mar 2017 21:13:55 +0900 Yuya Nishihara pycompat: introduce identity function as a compat stub
Mon, 13 Mar 2017 09:12:56 -0700 Yuya Nishihara encoding: add converter between native str and byte string
Mon, 13 Mar 2017 09:11:08 -0700 Yuya Nishihara encoding: factor out unicode variants of from/tolocal()
Sat, 17 Dec 2016 23:55:25 +0530 Pulkit Goyal py3: make sure encoding.encoding is a bytes variable
Wed, 28 Sep 2016 20:05:34 +0900 Yuya Nishihara py3: provide encoding.environ which is a dict of bytes
Wed, 28 Sep 2016 20:39:06 +0900 Yuya Nishihara py3: convert encoding name and mode to str
Wed, 28 Sep 2016 20:01:23 +0900 Yuya Nishihara pycompat: provide 'ispy3' constant
Fri, 11 Mar 2016 21:27:26 -0800 Gregory Szorc encoding: use range() instead of xrange()
Fri, 11 Mar 2016 21:23:34 -0800 Gregory Szorc encoding: make HFS+ ignore code Python 3 compatible
Sun, 27 Dec 2015 19:58:11 +0900 Yuya Nishihara encoding: backport paranoid escaping from templatefilters.jsonescape()
Sun, 27 Dec 2015 19:28:34 +0900 Yuya Nishihara encoding: add option to escape non-ascii characters in JSON
Sat, 30 Jan 2016 19:48:35 +0900 Yuya Nishihara encoding: initialize jsonmap when module is loaded
Sat, 30 Jan 2016 19:41:34 +0900 Yuya Nishihara encoding: change jsonmap to a list indexed by code point
Sat, 16 Jan 2016 18:30:01 +0900 Yuya Nishihara encoding: escape U+007F (DEL) character in JSON
Thu, 07 Jan 2016 14:57:57 -0600 Matt Mackall encoding: handle UTF-16 internal limit with fromutf8b (issue5031)
Sat, 12 Dec 2015 23:26:12 -0800 Gregory Szorc encoding: use double backslash
Sat, 12 Dec 2015 22:57:48 -0500 Gregory Szorc encoding: use absolute_import
Mon, 02 Nov 2015 17:17:33 -0600 Matt Mackall encoding: extend test cases for utf8b
Thu, 05 Nov 2015 17:30:10 -0600 Matt Mackall encoding: re-escape U+DCxx characters in toutf8b input (issue4927)
Thu, 05 Nov 2015 17:21:43 -0600 Matt Mackall encoding: use getutf8char in toutf8b
Thu, 05 Nov 2015 17:11:50 -0600 Matt Mackall encoding: handle non-BMP characters in fromutf8b
Thu, 05 Nov 2015 16:48:46 -0600 Matt Mackall encoding: add getutf8char helper
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Thu, 02 Apr 2015 19:17:32 -0700 Siddharth Agarwal util.h: define an enum for normcase specs
Wed, 01 Apr 2015 00:30:41 -0700 Siddharth Agarwal encoding.upper: factor out fallback code
Wed, 01 Apr 2015 00:21:10 -0700 Siddharth Agarwal encoding: define an enum that specifies what normcase does to ASCII strings
Tue, 31 Mar 2015 15:22:09 -0700 Siddharth Agarwal encoding: use parsers.asciiupper when available
Tue, 16 Dec 2014 13:06:41 -0500 Augie Fackler encoding: add hfsignoreclean to clean out HFS-ignored characters stable
Fri, 17 Oct 2014 02:07:04 +0900 FUJIWARA Katsunori encoding: avoid cyclic dependency around "parsers" in pure Python build
Fri, 03 Oct 2014 18:45:56 -0700 Siddharth Agarwal encoding.lower: use fast ASCII lower
Fri, 03 Oct 2014 18:42:39 -0700 Siddharth Agarwal parsers: add a function to efficiently lowercase ASCII strings
Mon, 15 Sep 2014 13:12:49 -0500 Matt Mackall encoding: add json escaping filter
Mon, 15 Sep 2014 13:12:20 -0500 Matt Mackall encoding: handle empty string in toutf8
Sun, 06 Jul 2014 02:56:41 +0900 FUJIWARA Katsunori encoding: add 'leftside' argument into 'trim' to switch trimming side
Sun, 06 Jul 2014 02:56:41 +0900 FUJIWARA Katsunori encoding: add 'trim' to trim multi-byte characters at most specified columns
Tue, 15 Jan 2013 02:59:14 +0100 Mads Kiilerich tests: stabilize doctest output
Wed, 15 Aug 2012 22:38:42 +0200 Mads Kiilerich fix trivial spelling errors
Mon, 23 Jul 2012 15:55:26 -0600 Martin Geisler encoding: add fast-path for ASCII uppercase. stable
Mon, 23 Jul 2012 15:55:22 -0600 Martin Geisler encoding: use s.decode to trigger UnicodeDecodeError stable
Sun, 22 Apr 2012 21:27:52 -0400 Cesar Mena encoding: protect against non-ascii default encoding stable
Tue, 10 Apr 2012 12:07:18 -0500 Matt Mackall encoding: add fast-path for ASCII lowercase
Thu, 22 Mar 2012 16:54:46 -0500 Matt Mackall encoding: tune fast-path of tolocal a bit
Mon, 20 Feb 2012 16:42:45 -0600 Matt Mackall encoding: introduce utf8-b helpers
Mon, 26 Dec 2011 15:01:06 +0100 Mads Kiilerich encoding: use hint markup for "please check your locale settings"
Fri, 16 Dec 2011 21:09:41 +0900 FUJIWARA Katsunori i18n: use encoding.lower/upper for encoding aware case folding stable
Wed, 21 Sep 2011 13:00:46 -0500 Matt Mackall encoding: add getcols to extract substrings based on column width
Wed, 21 Sep 2011 13:00:41 -0500 Matt Mackall encoding: colwidth input is in the local encoding
Sat, 27 Aug 2011 04:56:12 +0900 FUJIWARA Katsunori i18n: calculate terminal columns by width information of each characters stable
Mon, 25 Jul 2011 15:19:43 -0500 Augie Fackler encoding: use getattr isntead of hasattr
Sat, 30 Apr 2011 10:57:13 -0500 Matt Mackall encoding: add an encoding-aware lower function
Fri, 15 Apr 2011 23:45:41 -0500 Matt Mackall encoding: avoid localstr when a string can be encoded losslessly (issue2763) stable
Mon, 29 Nov 2010 10:13:55 +0100 Martin Geisler encoding: fix typo in variable name
Wed, 24 Nov 2010 15:38:52 -0600 Matt Mackall encoding: add localstr class to track UTF-8 version of transcoded strings
Wed, 27 Oct 2010 15:35:21 -0500 Matt Mackall encoding: default ambiguous character to narrow stable
Wed, 20 Oct 2010 10:13:04 +0200 Martin Geisler check-code: find trailing whitespace
Fri, 27 Aug 2010 13:32:38 -0400 Brodie Rao cleanup: remove unused imports
Sat, 14 Aug 2010 01:30:54 +0200 Dan Villiom Podlaski Christiansen encoding: improve handling of buggy getpreferredencoding() on Mac OS X stable
Sun, 06 Jun 2010 17:20:10 +0900 FUJIWARA Katsunori replace Python standard textwrap by MBCS sensitive one for i18n text
Mon, 25 Jan 2010 00:05:27 -0600 Matt Mackall many, many trivial check-code fixups
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Sat, 10 Oct 2009 12:00:43 +0200 Dirkjan Ochtman encoding: fix issue with non-standard UTF-8 CTYPE on OS X
Tue, 28 Apr 2009 17:40:46 +0200 Simon Heimberg separate import lines from mercurial and general python modules
Sun, 26 Apr 2009 01:13:08 +0200 Martin Geisler put license and copyright info into comment blocks
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Fri, 03 Apr 2009 14:51:48 -0500 Matt Mackall move encoding bits from util to encoding