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: fktn-k/fkYAML
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.11
Choose a base ref
...
head repository: fktn-k/fkYAML
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.12
Choose a head ref
  • 13 commits
  • 210 files changed
  • 1 contributor

Commits on Aug 24, 2024

  1. Merge tag 'v0.3.11' into develop

    fkYAML version 0.3.11
    fktn-k committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    f48fe68 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Improve UTF encoding detection (#386)

    * rename encode_detector as utf_encode_detector
    
    * restructured utf encode detector implementations
    
    * optimized unnecessary amount of array element access during utf encoding detection
    
    * added missing empty char sequence iterators test for utf encoding detection
    fktn-k authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    293fdd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    458ac8b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Add node_type/yaml_version_type enum class APIs (#388)

    * add deprecated attribute compile switches
    
    * introduce node_type enum API, deprecating basic_node::node_t aliased enum type usage
    
    * introduce yaml_version_type enum API, deprecating basic_node::yaml_version_t aliased enum type usage
    
    * updated API reference pages
    
    * added test cases for missed lines/branches
    
    * run amalgamation
    fktn-k authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    6680244 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Refactor node attributes management (#389)

    * replace m_node_type with m_attrs (enum class -> bits)
    
    * merged anchor status type & offset into node attrs
    
    * added doxygen comments
    
    * added tests for node attributes related functions
    fktn-k authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    50f5d9b View commit details
    Browse the repository at this point in the history
  2. Refactor lexical analysis (#390)

    * return begin/end iterators as token contents instead of unconditionally copying them into a work buffer
    
    * scan scalar contents in deserializer, not in lexer
    
    * reduce string copies when scanning scalars
    
    * improved block scalar scanning
    
    * separate plain scalar scannings based on inside/outside flow contexts
    
    * made all lines/branches covered in the unit test app
    
    * fixed build errors on macos / windows
    fktn-k authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    70904a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Improve conversion from scalars to native types (#391)

    * implemented low-level conversion functions from a scalar to null/bool/int
    
    * optimized the way of scanning scalars
    
    * implemented conversion function from scalars to floating point type values
    
    * added bounds check into atoi()
    
    * added test cases for scalar_conv.hpp, removing from_string tests
    
    * conditionally use std::from_chars for conversions from scalars to floating point numbers if available
    
    * added descriptions in scalar_conv.hpp
    
    * fixed compile errors
    
    * added test cases for missed lines/branches & add in-source docs in scalar_scanner.hpp
    
    * fixed name collision between arg and index in atoi_dec_*() functions
    
    * fixed clang-sanitizer errors & reconsidered its ignorant options
    
    * fixed undefined reference to conv_limits::{min|max}_value_chars_dec
    
    * dropped long double support in atof() due to portability issue
    fktn-k authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    a929fc3 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    c969f33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6938f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Reduce string copies in parse (#394)

    * implemented basic_str_view (as a minimal implementation of std::basic_string_view since C++17)
    
    * modified the way of passing input buffer to lexer
    
    * wip: add test for basic_str_view class
    
    * use str_view to store YAML & TAG directive values
    
    * deleted unused type aliases in lexer
    
    * return str_view as part of lexical_token from get_next_token()
    
    * added in-source documentations in str_view.hpp
    
    * removed unnecessary template parameter for lexer
    
    * removed unused header includes
    
    * no copy when input buffer has contiguous bytes with no CRs
    
    * rename fill_buffer() as get_buffer_view() in input_adapter variant classes
    
    * added test cases for missing lines/branches
    
    * updated benchmark scores
    
    * fixed compile errors/warnings
    
    * suppress deprecated declarations warning when test app is built with Apple Clang compilers
    
    * fixed include path in test source file for str_view
    
    * fixed outside of array bounds errors
    
    * fixed issue on large std::string instance creation for test
    
    * added explicit conversion to resolve warning when compiled with msvc
    
    * skip str_view comparison check with large strings if int == ptrdiff_t
    fktn-k authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    9239264 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Use likely/unlikely if available (#395)

    * added compile switches for likely/unlikely & clean up C++ feature test macros
    
    * added likely/unlikely macros at if statements
    
    * fixed detections of likely/unlikely C++ attributes
    fktn-k authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    f7bf317 View commit details
    Browse the repository at this point in the history
  2. set version to 0.3.12

    fktn-k committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    eced7db View commit details
    Browse the repository at this point in the history
  3. Merge branch 'release/v0.3.12'

    fktn-k committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    e377e41 View commit details
    Browse the repository at this point in the history
Loading