log mercurial/encoding.py @ 50896:b2b8c25f9462

age author description
Mon, 06 Mar 2023 11:27:57 +0000 Arseniy Alekseyev encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings
Sun, 29 May 2022 15:17:27 +0200 Manuel Jacob py3: replace `pycompat.xrange` by `range`
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Thu, 03 Mar 2022 07:58:29 -0800 Gregory Szorc encoding: remove Python 2 support code
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Wed, 26 Jan 2022 10:11:01 -0800 Martin von Zweigbergk encoding: fix trim() to be O(n) instead of O(n^2)
Mon, 20 Sep 2021 10:42:38 -0400 Matt Harbison encoding: force a few Errors to bytes before passing to `error.Abort`
Sat, 10 Jul 2021 13:10:18 +0200 Pierre-Yves David windows: enforce upper case drive letter for getcwd in mercurial too
Thu, 08 Jul 2021 15:55:15 +0200 Raphaël Gomès windows: replicate the normalizing behavior of os.environ
Thu, 08 Jul 2021 15:55:04 +0200 Raphaël Gomès encoding: move case-related utils up
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Wed, 09 Dec 2020 00:51:35 -0500 Matt Harbison windows: wrap `os.getcwd()` in `os.path.realpath()` on py3
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Thu, 08 Oct 2020 15:35:44 -0700 Martin von Zweigbergk errors: stop passing non-strings to Abort's constructor
Fri, 06 Mar 2020 13:27:41 -0500 Augie Fackler cleanup: run pyupgrade on our source tree to clean up varying things
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__()