22 Commits

Author SHA256 Message Date
Dominique Leuenberger
bb6c196083 Accepting request 1085522 from utilities
OBS-URL: https://build.opensuse.org/request/show/1085522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=11
2023-05-08 15:25:16 +00:00
Sebastian Wagner
2f18daff27 Accepting request 1084745 from home:amanzini:branches:utilities
- Update to version 8.6:
	* tests/select34.sh: Use "tr" instead of "xarg" to replace \0 by
	\n. (The xargs command on BSD ignores empty input lines, the GNU
	version does not.) Also use "printf" instead of "echo" to write to
	the log file, because it seems to be more consistent between
	different shells.
	* hxselect.c: Fixed a bug in parsing octal escapes in the
	separator string (option -s). Patch provided by Jorrit Fahlke.
	* errexit.c: Removed. Consistently use err() and errx()
	everywhere.
	* hxwls.c, printlinks.c, hxcopy.c: Allow white space before and
	after URLs in attributes. (Allowed by HTML5.)

OBS-URL: https://build.opensuse.org/request/show/1084745
OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=18
2023-05-08 13:06:52 +00:00
Dominique Leuenberger
eb0962975c Accepting request 967899 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/967899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=10
2022-04-08 20:46:30 +00:00
Sebastian Wagner
2367d33548 - Update to version 8.4:
* hxselect.c: The :attr() pseudo-element was only matched if it
   was on the first selector, not if it was on a subsequent selector
   in a comma-separated list of selectors. (Found and fixed by Bas
   Ploeger.)
 * tests/select33.sh: Added test for multiple :attr()
   selectors. (Contributed by Bas Ploeger.)

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=16
2022-04-01 18:44:13 +00:00
Dominique Leuenberger
29ce2d39e3 Accepting request 955918 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/955918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=9
2022-02-18 22:03:11 +00:00
Sebastian Wagner
e38bc5d0e0 - Update to version 8.3:
* dtd.hash: Make <head> rather than <body> the preferred parent
   for <script>. Allow text in the <body> element, without requiring a
   <p> or other element around it.
 * tests/pipe5.sh, tests/pipe6.sh, tests/pipe7.sh: Added tests for
   the -H option of hxpipe.
 * hxpipe.c: Add option -H, which assumes the input is HTML and adds
   implied tags and parses script and style elements as literal text.
   hxpipe now outputs attributes in a normalized order
   (alphabetical). Remove a redundant "if".

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=15
2022-02-11 15:28:09 +00:00
Dominique Leuenberger
9fcccaff7b Accepting request 942888 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/942888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=8
2021-12-28 11:26:32 +00:00
Sebastian Wagner
f9adbc00c8 - Update to version 8.1:
* tests/select11.sh, tests/select12.sh, tests/select13.sh,
 tests/select19.sh, tests/select21.sh: Added some text and
 comments, to test that they are correctly skipped.
 * tests/select31.sh, tests/select32.sh, Makefile.am: Added two
 tests for the sibling selector (~).
 * selmatch.c: Sibling selector failed to skip non-element nodes.
 * dict.c: Deleting an entry with dict_destroy() made entries with
 the same hash value that were stored in subsequent slots
 inaccessible. The dict_destroy() function isn't used in any of the
 HTML-XML-utils, but other programs may borrow this module.

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=14
2021-12-21 08:47:19 +00:00
Dominique Leuenberger
5ba1123032 Accepting request 930554 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/930554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=7
2021-11-10 20:46:29 +00:00
Sebastian Wagner
609d6ee3fb - update to version 8.0:
* selector.c, selmatch.c: Also parse and process the experimental
  ":is()" and ":where()" pseudo-classes. Correct a bug in parsing
  comma-separated selectors. Correct a bug in esc() that caused an
  empty string to fail (e.g., in [alt=""]. (The function esc() is not
  used, but could be used when debugging.)
  * tests/select14.sh: Test ":empty" in combination with another
  pseudo-class.
  * Makefile.am: Added tests select26.sh, select27.sh, select28.sh,
  select29.sh and select30.sh
  * configure.ac: Added AC_SYS_LARGEFILE to enable seek() to seek
  large files and the off_t type to be 64 bits on older, 32-bit
  systems. Also check for limits.h.
  * hxselect.1: Noted the known bug that case-insensitive selectors
  (option -i) only work with ASCII characters.

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=13
2021-11-02 20:40:42 +00:00
Dominique Leuenberger
0e8ee03841 Accepting request 862243 from utilities
OBS-URL: https://build.opensuse.org/request/show/862243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=6
2021-01-11 16:15:52 +00:00
Sebastian Wagner
c908473a61 Accepting request 862211 from home:jgwang:branches:utilities
Update to version 7.9

OBS-URL: https://build.opensuse.org/request/show/862211
OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=11
2021-01-11 10:30:43 +00:00
Dominique Leuenberger
fc1e27fad4 Accepting request 743106 from utilities
- update to version 7.8:
 * textwrap.c, langinfo.c, hxnormalize.c: Added knowledge about
   languages that do not use spaces between words. In such languages,
   a newline should not be converted to a space in outc() in
   textwrap.c, but only to a break opportunity.
 * hxtoc.c: The element to group headings in HTML5 is called
   HGROUP, not HEADER. The heading of a section (SECTION, ARTICLE,
   etc.) need not be the first element, there may be non-header
   elements before it.
 * hxwls.c: Print "longdesc", "classid" or "codebase" in the second
   column for the corresponding attribute. Also recognize srcset
   (somewhat).
 * hxnormalize.c: Added option -X to indicate the input is XML
   instead of HTML. Handle conversion of CDATA elements to XML by
   escaping < and & instead of adding <![CDATA[. Added corresponding
   test normalize13.sh.

OBS-URL: https://build.opensuse.org/request/show/743106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=5
2019-10-27 12:41:51 +00:00
Sebastian Wagner
08513df59e - update to version 7.8:
* textwrap.c, langinfo.c, hxnormalize.c: Added knowledge about
   languages that do not use spaces between words. In such languages,
   a newline should not be converted to a space in outc() in
   textwrap.c, but only to a break opportunity.
 * hxtoc.c: The element to group headings in HTML5 is called
   HGROUP, not HEADER. The heading of a section (SECTION, ARTICLE,
   etc.) need not be the first element, there may be non-header
   elements before it.
 * hxwls.c: Print "longdesc", "classid" or "codebase" in the second
   column for the corresponding attribute. Also recognize srcset
   (somewhat).
 * hxnormalize.c: Added option -X to indicate the input is XML
   instead of HTML. Handle conversion of CDATA elements to XML by
   escaping < and & instead of adding <![CDATA[. Added corresponding
   test normalize13.sh.

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=9
2019-10-24 20:22:36 +00:00
Dominique Leuenberger
fe429541ec Accepting request 622856 from utilities
OBS-URL: https://build.opensuse.org/request/show/622856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=4
2018-07-17 07:41:27 +00:00
Sebastian Wagner
b19d908cc8 Accepting request 622854 from home:jengelh:branches:utilities
- Cut overly long description and trim bias.

OBS-URL: https://build.opensuse.org/request/show/622854
OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=7
2018-07-14 19:58:19 +00:00
Dominique Leuenberger
27239c98e2 Accepting request 621124 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/621124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=3
2018-07-07 20:01:37 +00:00
Sebastian Wagner
a37af587bf - update to version 7.7:
* dtd.hash: Don't include the arguments in the forward declaration
   of lookup_element(), because those arguments differ slightly
   depending on which version of gperf is used to generate dtd.c:
   "unsigned int" in gperf 3.0 vs "size_t" in gperf 3.1.
 * conficgure.ac: Check for libiconv with the AM_ICONV macro (from
   gettext) instead of AC_SEARCH_LIBS. (Advice from Christian
   Weisgerber, received via Anthony Bentley). That in turn requires
   adding config.rpath to the EXTRA_DIST in Makefile.am.
 * hxindex.c: Replaced fgets() by getline(), to allow lines of
   arbitrary length in the term database.

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=5
2018-05-27 08:47:46 +00:00
Dominique Leuenberger
ce57e2b3ab Accepting request 579964 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/579964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=2
2018-02-26 22:25:19 +00:00
Sebastian Wagner
a689d451a0 - update to version 7.6:
* fix read uninitialized memory bug
- update to version 7.5:
 * bugfixes
 * Added support for HTML5 elements (source, audio, video)

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=3
2018-02-18 17:14:51 +00:00
Dominique Leuenberger
07a231f355 Accepting request 560872 from utilities
OBS-URL: https://build.opensuse.org/request/show/560872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/html-xml-utils?expand=0&rev=1
2018-01-19 10:51:35 +00:00
OBS User mrdocs
bdecbe4408 Accepting request 560747 from home:sebix
can also maintain it

OBS-URL: https://build.opensuse.org/request/show/560747
OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=1
2017-12-31 04:18:22 +00:00