Next | Query returned 18 messages, browsing 11 to 20 | previous

History of commit frequency

CVS Commit History:


   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2019-04-09 08:04:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
cmark: updated to 0.29.0

0.29.0:
Update spec to 0.29.
Make rendering safe by default. Adds CMARK_OPT_UNSAFE and make CMARK_OPT_SAFE a \ 
no-op (for API compatibility). The new default behavior is to suppress raw HTML \ 
and potentially dangerous links. The CMARK_OPT_UNSAFE option has to be set \ 
explicitly to prevent this. NOTE: This change will require modifications in \ 
bindings for cmark and in most libraries and programs that use cmark.
Add sourcepos info for inlines (Yuki Izumi).
Disallow more than 32 nested balanced parens in a link (Yuki Izumi).
Resolve link references before creating setext header. A setext header line \ 
after a link reference should not create a header, according to the spec.
commonmark renderer: improve escaping. URL-escape special characters when escape \ 
mode is URL, and not otherwise. Entity-escape control characters (< 0x20) in \ 
non-literal escape modes.
render: only emit actual newline when escape mode is LITERAL. For markdown \ 
content, e.g., in other contexts we want some kind of escaping, not a literal \ 
newline.
Update code span normalization to conform with spec change.
Allow empty <> link destination in reference link.
Remove leftover includes of memory.h.
A link destination can't start with < unless it is an angle-bracket link that \ 
also ends with >. (If your URL really starts with <, URL-escape it.)
Allow internal delimiter runs to match if both have lengths that are multiples of 3.
Include references.h in parser.h.
Fix [link](<foo\>).
Use hand-rolled scanner for thematic break. Keep track of the last position \ 
where a thematic break failed to match on a line, to avoid rescanning \ 
unnecessarily.
Rename ends_with_blank_line with S_ prefix.
Add CMARK_NODE__LAST_LINE_CHECKED flag. Use this to avoid unnecessary recursion \ 
in ends_with_blank_line.
In ends_with_blank_line, call S_set_last_line_blank to avoid unnecessary \ 
repetition. Once we settle whether a list item ends in a blank line, we don't \ 
need to revisit this in considering parent list items.
Disallow unescaped ( in parenthesized link title.
Copy line/col info straight from opener/closer (Ashe Connor). We can't rely on \ 
anything in subj since it's been modified while parsing the subject and could \ 
represent line info from a future line. This is simple and works.
render.c: reset last_breakable after cr.
Fix a typo in houdini_href_e.c (Felix Yan).
commonmark writer: use ~~~ fences if info string contains backtick. This is \ 
needed for round-trip tests.
Update scanners for new info string rules.
Add XSLT stylesheet to convert cmark XML back to Commonmark. Initial version of \ 
an XSLT stylesheet that converts the XML format produced by cmark -t xml back to \ 
Commonmark.
Check for whitespace before reference title.
Bump CMake to version 3 (Jonathan Müller).
Build: Remove deprecated call to add_compiler_export_flags() (Jonathan Müller). \ 
It is deprecated in CMake 3.0, the replacement is to set the \ 
CXX_VISIBILITY_PRESET (or in our case C_VISIBILITY_PRESET) and \ 
VISIBILITY_INLINES_HIDDEN properties of the target. We're already setting them \ 
by setting the CMake variables anyway, so the call can be removed.
Build: only attempt to install MSVC system libraries on Windows (Saleem \ 
Abdulrasool). Newer versions of CMake attempt to query the system for \ 
information about the VS 2017 installation. Unfortunately, this query fails on \ 
non-Windows systems when cross-compiling: cmake_host_system_information does not \ 
recognize <key> VS_15_DIR. CMake will not find these system libraries on \ 
non-Windows hosts anyways, and we were silencing the warnings, so simply omit \ 
the installation when cross-compiling to Windows.
Simplify code normalization, in line with spec change.
Implement code span spec changes. These affect both parsing and writing commonmark.
Add link parsing corner cases to regressions (Ashe Connor).
Add xml:space="preserve" in XML output when appropriate (Nguyễn \ 
Thái Ngọc Duy). (For text, code, code_block, html_inline and html_block \ 
tags.)
Removed meta from list of block tags. Added regression test.
entity_tests.py - omit noisy success output.
pathological_tests.py: make tests run faster. Commented out the (already \ 
ignored) "many references" test, which times out. Reduced the \ 
iterations for a couple other tests.
pathological_tests.py: added test for deeply nested lists.
Optimize S_find_first_nonspace. We were needlessly redoing things we'd already \ 
done. Now we skip the work if the first nonspace is greater than the current \ 
offset. This fixes pathological slowdown with deeply nested lists. For N = 3000, \ 
the time goes from over 17s to about 0.7s. Thanks to Martin Mitas for diagnosing \ 
the problem.
Allow spaces in link destination delimited with pointy brackets.
Adjust max length of decimal/numeric entities.
Fix inline raw HTML parsing. This fixes a recently added failing spec test case. \ 
Previously spaces were being allowed in unquoted attribute values; no we forbid \ 
them.
Don't allow list markers to be indented >= 4 spaces.
Check for empty buffer when rendering (Phil Turnbull). For empty documents, \ 
->size is zero so renderer.buffer->ptr[renderer.buffer->size - 1] will \ 
cause an out-of-bounds read. Empty buffers always point to the global \ 
cmark_strbuf__initbuf buffer so we read cmark_strbuf__initbuf[-1].
Also run API tests with CMARK_SHARED=OFF (Nick Wellnhofer).
Rename roundtrip and entity tests (Nick Wellnhofer). Rename the tests to reflect \ 
that they use the library, not the executable.
Generate export header for static-only build.
Fuzz width parameter too (Phil Turnbull). Allow the width parameter to be \ 
generated too so we get better fuzz-coverage.
Don't discard empty fuzz test-cases (Phil Turnbull). We currently discard fuzz \ 
test-cases that are empty but empty inputs are valid markdown. This improves the \ 
fuzzing coverage slightly.
Fixed exit code for pathological tests.
Add allowed failures to pathological_tests.py. This allows us to include tests \ 
that we don't yet know how to pass.
Add timeout to pathological_tests.py. Tests must complete in 8 seconds or are errors.
Add more pathological tests.
Use pledge(2) on OpenBSD (Ashe Connor).
Update the Racket wrapper (Eli Barzilay).
Makefile: For afl target, don't build tests.
   2018-01-18 18:11:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
cmark: updated to 0.28.3

[0.28.3]
* Include GNUInstallDirs in src/CMakeLists.txt.
  This fixes build problems on some cmake versions.

[0.28.2]
* Fixed regression in install dest for static library.
  Due to a mistake, 0.28.1 installed libcmark.a into include/.

[0.28.1]
* --smart: open quote can never occur right after ] or ).
* Fix quadratic behavior in finalize (Vicent Marti).
* Don't use CMAKE_INSTALL_LIBDIR to create libcmark.pc.
  This wasn't getting set in processing libcmark.pc.in, and we
  were getting the wrong entry in libcmark.pc.
  The new approach sets an internal libdir variable to
  lib${LIB_SUFFIX}.  This variable is used both to set the
  install destination and in the libcmark.pc.in template.
* Update README.md, replace make astyle with make format
   2017-05-23 12:37:20 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
Updated textproc/cmark 0.26.1 to 0.27.1
---------------------------------------
cmark 0.27.1
 jgm released this on 19 Nov 2016 揃 46 commits to master since this release

 -  Set policy for CMP0063 to avoid a warning (#162).
    Put set_policy under cmake version test.
    Otherwise we get errors in older versions of cmake.
 -  Use VERSION_GREATER to clean up cmake version test.
 -  Improve afl target. Use afl-clang by default. Set default for path.

cmark 0.27.0
 jgm released this on 19 Nov 2016 揃 49 commits to master since this release

 -  Update spec to 0.27.
 -  Fix warnings building with MSVC on Windows (#165, Hugh Bellamy).
 -  Fix CMAKE_C_VISIBILITY_PRESET for cmake versions greater than 1.8
    (e.g. 3.6.2) (#162, Hugh Bellamy). This lets us build swift-cmark
    on Windows, using clang-cl.
 -  Fix for non-matching entities (#161, Yuki Izumi).
 -  Modified print_delimiters (commented out) so it compiles again.
 -  make format: don't change order of includes.
    Changed logic for null/eol checks (#160).
    * only check once for "not at end of line"
    * check for null before we check for newline characters (the
      previous patch would fail for NULL + CR)
 -  Fix by not advancing past both \0 and \n (Yuki Izumi).
 -  Add test for NUL-LF sequence (Yuki Izumi).
 -  Fix memory leak in list parsing (Yuki Izumi).
 -  Use cmark_mem to free where used to alloc (Yuki Izumi).
 -  Allow a shortcut link before a ( (jgm/CommonMark#427).
 -  Allow tabs after setext header line (jgm/commonmark.js#109).
 -  Don't let URI schemes start with spaces.
 -  Fixed h2..h6 HTML blocks (jgm/CommonMark#430). Added regression test.
 -  Autolink scheme can contain digits (Gábor Csárdi)
 -  Fix nullary function declarations in cmark.h (Nick Wellnhofer).
 -  Fixes strict prototypes warnings.
 -  COPYING: Update file name and remove duplicate section and
     (Peter Eisentraut).
 -  Fix typo (Pavlo Kapyshin).
   2016-09-17 13:45:15 by Makoto Fujiwara | Files touched by this commit (5)
Log message:
Updated textproc/cmark 0.24.1 to 0.26.1
---------------------------------------
cmark 0.26.1

@jgm jgm released this Jul 16, 2016 . 18 commits to master since this release

  * Removed unnecessary typedef that caused build failure on some platforms.
  * Use $(MAKE) in Makefile instead of hardcoded make (#146, Tobias Kortkamp).

cmark 0.26.0

@jgm jgm released this Jul 15, 2016 . 23 commits to master since this release

  * Implement spec changes for list items:
      + Empty list items cannot interrupt paragraphs.
      + Ordered lists cannot interrupt paragraphs unless they start with 1.
      + Removed "two blank lines break out of a list" feature.
  * Fix sourcepos for blockquotes (#142).
  * Fix sourcepos for atx headers (#141).
  * Fix ATX headers and thematic breaks to allow tabs as well as spaces.
  * Fix chunk_set_cstr with suffix of current string (#139, Nick Wellnhofer).
    It's possible that cmark_chunk_set_cstr is called with a substring (suffix)
    of the current string. Delay freeing of the chunk content to handle this
    case correctly.
  * Export targets on installation (Jonathan M?ller). This allows using them in
    other cmake projects.
  * Fix cmake warning about CMP0048 (Jonathan M?ller).
  * commonmark renderer: Ensure we don't have a blank line before a code block
    when it's the first thing in a list item.
  * Change parsing of strong/emph in response to spec changes. process_emphasis
    now gets better results in corner cases. The change is this: when
    considering matches between an interior delimiter run (one that can open
    and can close) and another delimiter run, we require that the sum of the
    lengths of the two delimiter runs mod 3 is not 0.
  * Ported Robin Stocker's changes to link parsing in jgm/CommonMark#101. This
    uses a separate stack for brackets, instead of putting them on the
    delimiter stack. This avoids the need for looking through the delimiter
    stack for the next bracket.
  * cmark_reference_lookup: Return NULL if reference is null string.
  * Fix character type detection in commonmark.c (Nick Wellnhofer). Fixes test
    failures on Windows and undefined behavior.
      + Implement cmark_isalpha.
      + Check for ASCII character before implicit cast to char.
      + Use internal ctype functions in commonmark.c.
  * Better documentation of memory-freeing responsibilities. in cmark.h and its
    man page (#124).
  * Use library functions to insert nodes in emphasis/link processing.
    Previously we did this manually, which introduces many places where errors
    can creep in.
  * Correctly handle list marker followed only by spaces. Previously when a
    list marker was followed only by spaces, cmark expected the following
    content to be indented by the same number of spaces. But in this case we
    should treat the line just like a blank line and set list padding
    accordingly.
  * Fixed a number of issues relating to line wrapping.
      + Extend CMARK_OPT_NOBREAKS to all renderers and add --nobreaks.
      + Do not autowrap, regardless of width parameter, if CMARK_OPT_NOBREAKS
        is set.
      + Fixed CMARK_OPT_HARDBREAKS for LaTeX and man renderers.
      + Ensure that no auto-wrapping occurs if CMARK_OPT_NOBREAKS is enabled,
        or if output is CommonMark and CMARK_OPT_HARDBREAKS is enabled.
  * Set stdin to binary mode on Windows (Nick Wellnhofer, #113). This fixes
    EOLs when reading from stdin.
  * Add library option to render softbreaks as spaces (Pavlo Kapyshin). Note
    that the NOBREAKS option is HTML-only
  * renderer: no_linebreaks instead of no_wrap. We generally want this option
    to prohibit any breaking in things like headers (not just wraps, but
    softbreaks).
  * Coerce realurllen to int. This is an alternate solution for pull request #
    132, which introduced a new warning on the comparison (Benedict Cohen).
  * Remove unused variable link_text (Mathiew Duponchelle).
  * Improved safety checks in buffer (Vicent Marti).
  * Add new interface allowing specification of custom memory allocator for
    nodes (Vicent Marti). Added cmark_node_new_with_mem,
    cmark_parser_new_with_mem, cmark_mem to API.
  * Reduce storage size for nodes by using bit flags instead of separate
    booleans (Vicent Marti).
  * config: Add SSIZE_T compat for Win32 (Vicent Marti).
  * cmake: Global handler for OOM situations (Vicent Marti).
  * Add tests for memory exhaustion (Vicent Marti).
  * Document in man page and public header that one should use the same memory
    allocator for every node in a tree.
  * Fix ctypes in Python FFI calls (Nick Wellnhofer). This didn't cause
    problems so far because all types are 32-bit on 32-bit systems and
    arguments are passed in registers on x86-64. The wrong types could cause
    crashes on other platforms, though.
  * Remove spurious failures in roundtrip tests. In the commonmark writer we
    separate lists, and lists and indented code, using a dummy HTML comment. So
    in evaluating the round-trip tests, we now strip out these comments. We
    also normalize HTML to avoid issues having to do with line breaks.
  * Add 2016 to copyright (Kevin Burke).
  * Added to_commonmark in test/cmark.py (for round-trip tests).
  * spec_test.py - parameterize do_test with converter.
  * spec_tests.py: exit code is now sum of failures and errors. This ensures
    that a failing exit code will be given when there are errors, not just with
    failures.
  * Fixed round trip tests. Previously they actually ran cmark instead of the
    round-trip version, since there was a bug in setting the ROUNDTRIP variable
    (#131).
  * Added new roundtrip_tests.py. This replaces the old use of simple shell
    scripts. It is much faster, and more flexible. (We will be able to do
    custom normalization and skip certain tests.)
  * Fix tests under MinGW (Nick Wellnhofer).
  * Fix leak in api_test (Mathieu Duponchelle).
  * Makefile: have leakcheck stop on first error instead of going through all
    the formats and options and probably getting the same output.
  * Add regression tests (Nick Wellnhofer).

cmark 0.25.2

@jgm jgm released this Mar 26, 2016 . 114 commits to master since this release

  * Open files in binary mode (#113, Nick Wellnhofer). Now that cmark supports
    different line endings, files must be openend in binary mode on Windows.
  * Reset partially_consumed_tab on every new line (#114, Nick Wellnhofer).
  * Handle buffer split across a CRLF line ending (#117). Adds an internal
    field to the parser struct to keep track of last_buffer_ended_with_cr.
    Added test.

cmark 0.25.1

@jgm jgm released this Mar 25, 2016 . 122 commits to master since this release

  * Release with no code changes. cmark version was mistakenly set to 0.25.1 in
    the 0.25.0 release (#112), so this release just ensures that this will
    cause no confusion later.

cmark 0.25.0

@jgm jgm released this Mar 25, 2016 . 124 commits to master since this release

  * Fixed tabs in indentation (#101). This patch fixes S_advance_offset so that
    it doesn't gobble a tab character when advancing less than the width of a
    tab.
  * Added partially_consumed_tab to parser. This keeps track of when we have
    gotten partway through a tab when consuming initial indentation.
  * Simplified add_line (only need parser parameter).
  * Properly handle partially consumed tab. E.g. in

    - foo

     <TAB><TAB>bar

    we should consume two spaces from the second tab, including two spaces
    in the code block.

  * Properly handle tabs with blockquotes and fenced blocks.
  * Fixed handling of tabs in lists.
  * Clarified logic in S_advance_offset.
  * Use an assertion to check for in-range html_block_type. It's a programming
    error if the type is out of range.
  * Refactored S_processLines to make the logic easier to understand, and added
    documentation (Mathieu Duponchelle).
  * Removed unnecessary check for empty string_content.
  * Factored out contains_inlines.
  * Moved the cmake minimum version to top line of CMakeLists.txt (tinysun212).
  * Fix ctype(3) usage on NetBSD (Kamil Rytarowski). We need to cast value
    passed to isspace(3) to unsigned char to explicitly prevent possibly
    undefined behavior.
  * Compile in plain C mode with MSVC 12.0 or newer (Nick Wellnhofer). Under
    MSVC, we used to compile in C++ mode to get some C99 features like mixing
    declarations and code. With newer MSVC versions, it's possible to build in
    plain C mode.
  * Switched from "inline" to "CMARK_INLINE" (Nick \ 
Wellnhofer). Newer MSVC
    versions support enough of C99 to be able to compile cmark in plain C mode.
    Only the "inline" keyword is still unsupported. We have to use \ 
"__inline"
    instead.
  * Added include guards to config.h
  * config.h.in - added compatibility snprintf, vsnprintf for MSVC.
  * Replaced sprintf with snprintf (Marco Benelli).
  * config.h: include stdio.h for _vscprintf etc.
  * Include starg.h when needed in config.h.
  * Removed an unnecessary C99-ism in buffer.c. This helps compiling on systems
    like luarocks that don't have all the cmake configuration goodness (thanks
    to carlmartus).
  * Don't use variable length arrays (Nick Wellnhofer). They're not supported
    by MSVC.
  * Test with multiple MSVC versions under Appveyor (Nick Wellnhofer).
  * Fix installation dir of man-pages on NetBSD (Kamil Rytarowski).
  * Fixed typo in cmark.h comments (Chris Eidhof).
  * Clarify in man page that cmark_node_free frees a node's children too.
  * Fixed documentation of --width in man page.
  * Require re2c >= 1.14.2 (#102).
  * Generated scanners.c with more recent re2c.

(pkgsrc changes)
 - Drop two patches accepted to upstream
   2016-06-09 08:23:41 by Thomas Klausner | Files touched by this commit (38)
Log message:
Fix HOMEPAGE to be copy'n'pastable.
   2016-02-28 15:02:32 by Kamil Rytarowski | Files touched by this commit (1)
Log message:
cmark can be build inside WRKSRC/build (thanks @leot)
   2016-02-28 14:33:58 by Kamil Rytarowski | Files touched by this commit (6)
Log message:
Import cmark-0.24.1 as textproc/cmark

cmark is the C reference implementation of CommonMark, a rationalized version
of Markdown syntax with a spec.

It provides a shared library (libcmark) with functions for parsing CommonMark
documents to an abstract syntax tree (AST), manipulating the AST, and rendering
the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of
the AST. It also provides a command-line program (cmark) for parsing and
rendering CommonMark documents.

Originally packages in pkgsrc-wip/cmark by Kamil Rytarowski

Next | Query returned 18 messages, browsing 11 to 20 | previous