Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jquast/wcwidth
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.12
Choose a base ref
...
head repository: jquast/wcwidth
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.2.13
Choose a head ref
  • 9 commits
  • 13 files changed
  • 2 contributors

Commits on Nov 26, 2023

  1. Configuration menu
    Copy the full SHA
    9e0cedb View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Fix KeyError in bin/wcwidth-browser for combining (#106)

    Resolve KeyError when launching wcwidth-browser.py
    with default unicode_version of 'auto', then pressing
    'c' (for combining characters)::
    
          File "/Users/jq/Code/wcwidth/bin/wcwidth-browser.py", line 120, in __init__
            for (begin, end) in ZERO_WIDTH[unicode_version]:
                                ~~~~~~~~~~^^^^^^^^^^^^^^^^^
        KeyError: 'auto'
    jquast authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    3a9f471 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    076164e View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. spellfix about n argument (#108)

    * spellfix about ``n`` argument
    
    nobody should be using this argument, anyway! Its a holdover from
    the C POSIX function signature
    
    * Suggest not to use the ``n`` argument
    jquast authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    0ba0278 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Non-bugfix about zero & wide definition conflicts (again!) (#110)

    In this update to update-tables.py, 04d6d90 I wrote,
    
    > `verify-table-integrity.py` exercises a "bug" of duplicated tables that has no effect, because wcswidth() first checks for zero-width, and that is preferred in cases of conflict. This PR also resolves that error of duplication.
    
    In that change I used method [set.discard()](https://docs.python.org/3/library/stdtypes.html#frozenset.discard) in error, the discard method takes a single item as an argument, while I was providing using a whole set and so it had no effect. Instead, I now use [set.difference()](https://docs.python.org/3/library/stdtypes.html#frozenset.difference) to re-assign the value.
    
    Also,
    - the `category_codes` argument has been removed in update-tables.py, it is not used.
    - `verify-table-integrity.py` has been improved to show both range values in conflict
    - `verify-table-integrity.py` now included as a unit test for a single version of python (3.12)
    - new unit test about conflicting wide & zero values. This demonstrates that the update to table_wide.py has no effect, as these tests succeed before and after change to table_wide.py.
    jquast authored Jan 6, 2024
    Configuration menu
    Copy the full SHA
    3af992a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ed7f2c View commit details
    Browse the repository at this point in the history
  3. Add direct hyperlinks to Specification (#112)

    Also adds Jamo to specification, from #111
    jquast authored Jan 6, 2024
    Configuration menu
    Copy the full SHA
    248f122 View commit details
    Browse the repository at this point in the history
  4. Prepare for 0.2.13 release

    jquast committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    6aecb21 View commit details
    Browse the repository at this point in the history
  5. small hyperlink fix in spec

    jquast committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    36a6251 View commit details
    Browse the repository at this point in the history
Loading