Hello community, here is the log from the commit of package kapidox for openSUSE:Factory checked in at 2018-12-21 08:21:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kapidox (Old) and /work/SRC/openSUSE:Factory/.kapidox.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kapidox" Fri Dec 21 08:21:20 2018 rev:59 rq:658541 version:5.53.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kapidox/kapidox.changes 2018-11-15 12:39:32.450310895 +0100 +++ /work/SRC/openSUSE:Factory/.kapidox.new.28833/kapidox.changes 2018-12-21 08:21:31.993563592 +0100 @@ -1,0 +2,12 @@ +Sun Dec 09 19:43:42 UTC 2018 - [email protected] + +- Update to 5.53.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.53.0.php +- Changes since 5.52.0: + * Add busy indicator during research and make the research asynchronous (kde#379281) + * Normalize all input paths with the os.path.normpath function. This prevents possible crashes on bad shaped paths. (kde#392428) + * replace url from qt-project.org to www.qt.io and doc.qt.io + +------------------------------------------------------------------- Old: ---- kapidox-5.52.0.tar.xz New: ---- kapidox-5.53.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kapidox.spec ++++++ --- /var/tmp/diff_new_pack.bERLWN/_old 2018-12-21 08:21:32.597563027 +0100 +++ /var/tmp/diff_new_pack.bERLWN/_new 2018-12-21 08:21:32.601563024 +0100 @@ -16,13 +16,13 @@ # -%define _tar_path 5.52 +%define _tar_path 5.53 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kapidox -Version: 5.52.0 +Version: 5.53.0 Release: 0 Summary: Scripts and data for building API documentation License: BSD-2-Clause ++++++ kapidox-5.52.0.tar.xz -> kapidox-5.53.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/docs/metainfo_syntax.md new/kapidox-5.53.0/docs/metainfo_syntax.md --- old/kapidox-5.52.0/docs/metainfo_syntax.md 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/docs/metainfo_syntax.md 2018-11-11 13:55:30.000000000 +0100 @@ -53,7 +53,7 @@ description: Providing everything from simple utility classes to .. logo: relative/path/to/logo.png long_description: # optional, one item per paragraph, html authorized - - The KDE Frameworks build on the <a href="http://qt-project.org">Qt + - The KDE Frameworks build on the <a href="http://www.qt.io">Qt framework</a>, providing everything from simple utility classes (such as those in KCoreAddons) to integrated solutions for common requirements of desktop applications (such as KNewStuff, for fetching downloadable add-on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/metainfo.yaml new/kapidox-5.53.0/metainfo.yaml --- old/kapidox-5.52.0/metainfo.yaml 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/metainfo.yaml 2018-11-11 13:55:30.000000000 +0100 @@ -31,7 +31,7 @@ description: Providing everything from simple utility classes to integrated solutions for common requirements of desktop applications logo: konqi_frameworks.png long_description: - - The KDE Frameworks build on the <a href="http://qt-project.org">Qt + - The KDE Frameworks build on the <a href="https://www.qt.io">Qt framework</a>, providing everything from simple utility classes (such as those in KCoreAddons) to integrated solutions for common requirements of desktop applications (such as KNewStuff, for fetching downloadable add-on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/setup.py new/kapidox-5.53.0/setup.py --- old/kapidox-5.52.0/setup.py 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/setup.py 2018-11-11 13:55:30.000000000 +0100 @@ -6,7 +6,7 @@ setup( name='kapidox', - version='5.52.0', + version='5.53.0', description='KDE API documentation generation tools', maintainer = 'Olivier Churlaud', maintainer_email = '[email protected]', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/src/kapidox/argparserutils.py new/kapidox-5.53.0/src/kapidox/argparserutils.py --- old/kapidox-5.52.0/src/kapidox/argparserutils.py 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/src/kapidox/argparserutils.py 2018-11-11 13:55:30.000000000 +0100 @@ -32,6 +32,9 @@ import sys +def normalized_path(inputpath): + return os.path.normpath(inputpath) + def parse_args(depdiagram_available): import textwrap parser = argparse.ArgumentParser( @@ -41,9 +44,9 @@ >> This function must be run from an empty directory (where the documentation >> will be build).''') ) group = add_sources_group(parser) - group.add_argument('sourcesdir', + group.add_argument('sourcesdir', type=normalized_path, help='Location of the sources.') - group.add_argument('--depdiagram-dot-dir', + group.add_argument('--depdiagram-dot-dir', type=normalized_path, help='Generate dependency diagrams, using the .dot files from DIR.', metavar="DIR") add_output_group(parser) @@ -83,7 +86,7 @@ def add_qt_doc_group(parser): group = parser.add_argument_group('Qt documentation') - group.add_argument('--qtdoc-dir', + group.add_argument('--qtdoc-dir', type=normalized_path, help='Location of (local) Qt documentation; this is searched ' + 'for tag files to create links to Qt classes.') group.add_argument('--qtdoc-link', @@ -99,9 +102,9 @@ def add_paths_group(parser): group = parser.add_argument_group('paths') - group.add_argument('--doxygen', default='doxygen', + group.add_argument('--doxygen', default='doxygen', type=normalized_path, help='(Path to) the doxygen executable.') - group.add_argument('--qhelpgenerator', default='qhelpgenerator', + group.add_argument('--qhelpgenerator', default='qhelpgenerator', type=normalized_path, help='(Path to) the qhelpgenerator executable.') return group @@ -111,7 +114,7 @@ doxdatadir = os.path.join(scriptdir, 'data') group = parser.add_argument_group('misc') - group.add_argument('--doxdatadir', default=doxdatadir, + group.add_argument('--doxdatadir', default=doxdatadir, type=normalized_path, help='Location of the HTML header files and support graphics.') group.add_argument('--keep-temp-dirs', action='store_true', help='Do not delete temporary dirs, useful for debugging.') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/src/kapidox/data/htmlresource/css/kapidox.css new/kapidox-5.53.0/src/kapidox/data/htmlresource/css/kapidox.css --- old/kapidox-5.52.0/src/kapidox/data/htmlresource/css/kapidox.css 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/src/kapidox/data/htmlresource/css/kapidox.css 2018-11-11 13:55:30.000000000 +0100 @@ -268,6 +268,26 @@ color: #555555; } +/**** + * Search page loader + * Shamelessly taken from https://www.w3schools.com/howto/howto_css_loader.asp + ****/ + .loader { + border: 16px solid #f3f3f3; /* Light grey */ + border-top: 16px solid #3498db; /* Blue */ + border-radius: 50%; + width: 120px; + height: 120px; + margin: auto; + margin-top: 5%; + animation: spin 2s linear infinite; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + /***** * Doxygen *****/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/src/kapidox/data/htmlresource/js/search.js new/kapidox-5.53.0/src/kapidox/data/htmlresource/js/search.js --- old/kapidox-5.52.0/src/kapidox/data/htmlresource/js/search.js 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/src/kapidox/data/htmlresource/js/search.js 2018-11-11 13:55:30.000000000 +0100 @@ -29,6 +29,21 @@ return "" } +async function render_search(type) +{ + var query = GetURLParameter("query"); + if (query == "") { + $( '.loader' ).remove() + $( "#search-title" ).html("<i>...If you don't tell what to search, I can't find anything...</i>"); + return + } + $( "#search-input" ).val(query); + $( "#search-title" ).append(" <i>" + query + "</i>"); + var json_path = "searchdata.json"; + + await do_search(json_path, query, type); +} + function do_search(json_path, query, type) { var results = [] @@ -54,6 +69,8 @@ } else if (type == 'global') { results_html = search_json_global(json, query) } + + $( '.loader' ).remove() $( '#results' ).append(results_html) } @@ -191,16 +208,3 @@ return html_results } - -function render_search(type) -{ - var query = GetURLParameter("query"); - if (query == "") { - $( "#search-title" ).html("<i>...If you don't tell what to search, I can't find anything...</i>"); - return - } - $( "#search-input" ).val(query); - $( "#search-title" ).append(" <i>" + query + "</i>"); - var json_path = "searchdata.json"; - do_search(json_path, query, type); -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/src/kapidox/data/templates/libinfo.html new/kapidox-5.53.0/src/kapidox/data/templates/libinfo.html --- old/kapidox-5.52.0/src/kapidox/data/templates/libinfo.html 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/src/kapidox/data/templates/libinfo.html 2018-11-11 13:55:30.000000000 +0100 @@ -9,15 +9,6 @@ <dt>Maintainer{% if fwinfo.maintainers|count > 1 %}s{% endif %}</dt> <dd>{% set product = fwinfo %}{% include "maintainers.html" %}</dd> - {# <dt>Dependencies</dt> - {% if fwinfo.tier >= 2 %} - <dd><a href="http://qt-project.org/">Qt 5</a></dd> - <dd><a href="http://api.kde.org/frameworks-api/frameworks5-apidocs/#fw-tier{{ fwinfo.tier - 1 }}">Other frameworks</a></dd> - {% else %} - <dd><a href="http://qt-project.org/">Qt 5</a>, no other framework required</dd> - {% endif %} -#} - <dt>Supported platforms</dt> <dd> {% for platform in fwinfo.platforms | sort %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.52.0/src/kapidox/data/templates/search.html new/kapidox-5.53.0/src/kapidox/data/templates/search.html --- old/kapidox-5.52.0/src/kapidox/data/templates/search.html 2018-10-15 10:19:37.000000000 +0200 +++ new/kapidox-5.53.0/src/kapidox/data/templates/search.html 2018-11-11 13:55:30.000000000 +0100 @@ -33,6 +33,7 @@ <h2 id="search-title"><a name="content"></a>Search results:</h2> <div id="results" class="contents"> + <div class="loader"></div> </div> {% endblock %}
