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: Shane32/QRCoder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.0
Choose a base ref
...
head repository: Shane32/QRCoder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.8.0
Choose a head ref
  • 19 commits
  • 44 files changed
  • 4 contributors

Commits on Oct 10, 2025

  1. Configuration menu
    Copy the full SHA
    a5f6155 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5310cda View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03c57bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c3fd5e View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2025

  1. Refactor conversion of text to data segments (#670)

    * Refactor conversion of text to data segments
    
    * update
    
    * Refactor TryCalculateMinimumVersion method to improve version handling for QR code capacity
    Shane32 authored Oct 12, 2025
    Configuration menu
    Copy the full SHA
    ab04613 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2025

  1. Configuration menu
    Copy the full SHA
    dd5596f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cb1f83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e875e72 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a533b64 View commit details
    Browse the repository at this point in the history
  5. Rename AlphanumericEncoder.CanEncode (#675)

    * Rename AlphanumericEncoder.CanEncode
    
    * update
    Shane32 authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    f7c9426 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2025

  1. Refactor DataSegment handling for improved encoding support (#677)

    * Refactor DataSegment class to support multiple encoding modes and improve structure
    
    * Refactor CreateDataSegment method to utilize specialized segment classes based on encoding mode
    
    * Refactor CreateDataSegment method to remove conditional compilation and simplify segment initialization
    
    * Add GetBitLength and WriteToBitArray methods to AlphanumericEncoder for improved bit calculation and writing
    
    * Refactor WriteToBitArray method to improve parameter naming for clarity
    
    * Refactor ByteDataSegment to calculate character count directly from data length
    
    * Refactor QR code data segment classes to improve encoding logic and structure
    
    * Apply suggestions from code review
    
    Co-authored-by: Günther Foidl <gue@korporal.at>
    
    * Update QRCoder/QRCodeGenerator/NumericDataSegment.cs
    
    Co-authored-by: Günther Foidl <gue@korporal.at>
    
    ---------
    
    Co-authored-by: Günther Foidl <gue@korporal.at>
    Shane32 and gfoidl authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    8e46159 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46d8fbf View commit details
    Browse the repository at this point in the history
  3. Use SDK 8.0 recommended analyzers (#680)

    * Use SDK 8.0 recommended analyzers
    
    * Update QRCoder/Extensions/StringExtensions.cs
    Shane32 authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    6cd987c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80448a1 View commit details
    Browse the repository at this point in the history
  5. Prep DataSegment for multi mode QR codes (#683)

    * Enhance alphanumeric and numeric data segment encoding with new bit length calculations and writing methods
    
    * Refactor WriteTo method parameters for clarity and consistency in AlphanumericDataSegment
    
    * Refactor GetBitLength methods for parameter clarity and consistency in AlphanumericEncoder
    
    * Refactor GetBitLength and WriteToBitArray methods for parameter consistency and clarity
    
    * Refactor WriteToBitArray method parameters for clarity and consistency
    
    * Refactor PlainTextToBinaryNumeric method to handle remaining digits more efficiently
    Shane32 authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    fd548fb View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2025

  1. Add multi mode encoding (#676)

    * Rename AlphanumericEncoder.CanEncode
    
    * update
    
    * Add multi mode encoding
    
    * update
    
    * fix formatting
    
    * Memory optimization
    
    * Update function name
    
    * Add test
    
    * Eliminate recursive code
    
    * Add overloads to AlphanumericEncoder
    
    * Update
    
    * Add test to ensure the compressed text is not longer than the original
    
    * Update QRCoder/QRCodeGenerator.cs
    
    * update comment
    Shane32 authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    359ad78 View commit details
    Browse the repository at this point in the history
  2. Optimize alphanumeric encoder and galois field constants (#684)

    * Enhance alphanumeric and numeric data segment encoding with new bit length calculations and writing methods
    
    * Refactor WriteTo method parameters for clarity and consistency in AlphanumericDataSegment
    
    * Refactor GetBitLength methods for parameter clarity and consistency in AlphanumericEncoder
    
    * Refactor GetBitLength and WriteToBitArray methods for parameter consistency and clarity
    
    * Refactor WriteToBitArray method parameters for clarity and consistency
    
    * Refactor PlainTextToBinaryNumeric method to handle remaining digits more efficiently
    
    * Refactor AlphanumericEncoder to simplify character encoding logic and improve performance
    
    * update
    
    * Apply suggestion from @Shane32
    
    * Eliminate reflection in tests
    
    * Update
    
    * Update GaloisField too
    
    * update
    
    * Update
    
    * update
    
    * Add strong naming support for QRCoder and update test project configuration
    
    * Update
    Shane32 authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    ac4aac0 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2026

  1. Fix PDF spec compliance, git line-ending corruption, and add xref val…

    …idation test (#691)
    
    * Initial plan
    
    * Fix PDF Kids array to use indirect page references per PDF spec
    
    Co-authored-by: Shane32 <6377684+Shane32@users.noreply.github.com>
    
    * Apply suggestion from @Shane32
    
    * Fix tests
    
    * plan: fix git line ending corruption of PDF files
    
    Co-authored-by: Shane32 <6377684+Shane32@users.noreply.github.com>
    
    * Fix git line-ending corruption of PDF files; add xref validation test
    
    Co-authored-by: Shane32 <6377684+Shane32@users.noreply.github.com>
    
    * Remove usings
    
    * Update new test
    
    * Update
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: Shane32 <6377684+Shane32@users.noreply.github.com>
    Co-authored-by: Shane Krueger <shane@acdmail.com>
    3 people authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    4973174 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. Fix EPS protocol violations in PostscriptQRCode: remove showpage and …

    …setpagedevice from EPS output (#694)
    
    * Fix EPS protocol violations in PostscriptQRCode: remove showpage and setpagedevice from EPS output
    
    * Update TransposeVerificationTests postscript approval file for EPS/PS format fixes
    
    * Improve EPS DSC compliance: use standard prolog/setup sections and fix current-point leak
    
    * Use private dictionary in EPS prolog to prevent name collisions in host document
    
    * Remove %%Origin from EPS header (not applicable to EPS files)
    
    * Fix EPS private dictionary size from 5 to 7 (includes sz and sc)
    Shane32 authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    443d5a1 View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址