Hello community, here is the log from the commit of package texmath for openSUSE:Factory checked in at 2016-05-31 12:25:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texmath (Old) and /work/SRC/openSUSE:Factory/.texmath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "texmath" Changes: -------- --- /work/SRC/openSUSE:Factory/texmath/texmath.changes 2016-04-30 23:30:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.texmath.new/texmath.changes 2016-05-31 12:25:06.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 26 06:04:59 UTC 2016 - mimi.vx@gmail.com + +- update to 0.8.6.3 +* Use POST instead of GET for texmath-cgi. + +------------------------------------------------------------------- Old: ---- texmath-0.8.6.2.tar.gz New: ---- texmath-0.8.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texmath.spec ++++++ --- /var/tmp/diff_new_pack.VXJP28/_old 2016-05-31 12:25:07.000000000 +0200 +++ /var/tmp/diff_new_pack.VXJP28/_new 2016-05-31 12:25:07.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name texmath Name: texmath -Version: 0.8.6.2 +Version: 0.8.6.3 Release: 0 Summary: Conversion of LaTeX math formulas to MathML or OMML License: GPL-2.0 ++++++ texmath-0.8.6.2.tar.gz -> texmath-0.8.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.6.2/cgi/texmath.html new/texmath-0.8.6.3/cgi/texmath.html --- old/texmath-0.8.6.2/cgi/texmath.html 2016-04-21 00:01:00.000000000 +0200 +++ new/texmath-0.8.6.3/cgi/texmath.html 2016-05-24 21:29:41.000000000 +0200 @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title>stmd.js demo</title> + <title>texmath demo</title> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ config: ["MMLorHTML.js"], @@ -34,7 +34,7 @@ $(document).ready(function(){ $('#convert-latex2mathml').click(function() { - $.getJSON("/cgi-bin/texmath-cgi", + $.post("/cgi-bin/texmath-cgi", { 'input' : $('#latex-input').val(), 'from': 'tex', 'to': 'mathml' }, @@ -48,10 +48,10 @@ $('#preview').html(''); }; MathJax.Hub.Queue(["Typeset",MathJax.Hub,"preview"]); - }) + }, 'json') }); $('#convert-mathml2latex').click(function() { - $.getJSON("/cgi-bin/texmath-cgi", + $.post("/cgi-bin/texmath-cgi", { 'input' : $('#mathml-input').val(), 'from': 'mathml', 'to': 'tex' }, @@ -65,7 +65,7 @@ $('#preview').text(''); }; MathJax.Hub.Queue(["Typeset",MathJax.Hub,"preview"]); - }) + }, 'json') }); $('a[data-toggle="tab"]').click(function (e) { $('#preview').text(''); // clear preview diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.6.2/changelog new/texmath-0.8.6.3/changelog --- old/texmath-0.8.6.2/changelog 2016-04-21 00:01:00.000000000 +0200 +++ new/texmath-0.8.6.3/changelog 2016-05-24 21:29:41.000000000 +0200 @@ -1,3 +1,7 @@ +texmath (0.8.6.3) + + * Use POST instead of GET for texmath-cgi. + texmath (0.8.6.2) * Fixed array alignment issues (jgm/pandoc#2864, jgm/pandoc#2310). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.6.2/extra/texmath.hs new/texmath-0.8.6.3/extra/texmath.hs --- old/texmath-0.8.6.2/extra/texmath.hs 2016-04-21 00:01:00.000000000 +0200 +++ new/texmath-0.8.6.3/extra/texmath.hs 2016-05-24 21:29:41.000000000 +0200 @@ -147,14 +147,14 @@ runCGI :: IO () runCGI = do - query <- getEnv "QUERY_STRING" + query <- getContents let topairs xs = case break (=='=') xs of (ys,('=':zs)) -> (urlUnencode ys, urlUnencode zs) (ys,_) -> (urlUnencode ys,"") let pairs = map topairs $ splitOn "&" query inp <- case lookup "input" pairs of - Just x -> return x - Nothing -> err True 11 "Querry missing 'input'" + Just x -> return x + Nothing -> err True 3 "Query missing 'input'" reader <- case lookup "from" pairs of Just x -> case lookup x readers of Just y -> return y diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.6.2/texmath.cabal new/texmath-0.8.6.3/texmath.cabal --- old/texmath-0.8.6.2/texmath.cabal 2016-04-21 00:01:00.000000000 +0200 +++ new/texmath-0.8.6.3/texmath.cabal 2016-05-24 21:29:41.000000000 +0200 @@ -1,5 +1,5 @@ Name: texmath -Version: 0.8.6.2 +Version: 0.8.6.3 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between formats used to represent mathematics.
participants (1)
-
root@hilbert.suse.de