diff --git a/CHANGELOG.md b/CHANGELOG.md index 9108c7a..790680a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## CHANGELOG +### [24.10.1] - Nov 4, 2024 +- Don't call `socket.shutdown()` before `socket.close()` else it raises an error on MacOS +- Updated `github-markdown-css` to 5.7.0 +- Updated `codemirror` to 5.65.18 + ### [24.10.0] - Oct 7, 2024 - Rewrote how Drop and Paste is handled - we now support dropping or pasting images and they are converted to Markdown Data URIs - however, there is a performance issue with large images - this won't get fixed until I migrate to CodeMirror 6 - Updated `/logs` so it can scroll back through the history @@ -338,6 +343,7 @@ ### 21.11.0 - Nov 29, 2021 - Initial release +[24.10.1]: https://github.com/cmason3/jinjafx_server/compare/24.10.0...24.10.1 [24.10.0]: https://github.com/cmason3/jinjafx_server/compare/24.9.0...24.10.0 [24.9.0]: https://github.com/cmason3/jinjafx_server/compare/24.6.4...24.9.0 [24.6.4]: https://github.com/cmason3/jinjafx_server/compare/24.6.3...24.6.4 diff --git a/contrib/update_cdnjs_links.py b/contrib/update_cdnjs_links.py index c76ddcb..6888c82 100755 --- a/contrib/update_cdnjs_links.py +++ b/contrib/update_cdnjs_links.py @@ -4,13 +4,13 @@ libraries = { 'bootstrap': '5.3.3', - 'codemirror': '5.65.17', + 'codemirror': '5.65.18', 'split.js': '1.6.5', 'js-yaml': '4.1.0', 'dayjs': '1.11.13', 'pako': '2.1.0', 'jszip': '3.10.1', - 'github-markdown-css': '5.6.1' + 'github-markdown-css': '5.7.0' } def update_file(cdnjs_url, sri, f): diff --git a/jinjafx_server.py b/jinjafx_server.py index 8258c57..073c830 100755 --- a/jinjafx_server.py +++ b/jinjafx_server.py @@ -28,7 +28,7 @@ import re, argparse, hashlib, traceback, glob, hmac, uuid, struct, binascii, gzip, requests, ctypes, subprocess import cmarkgfm, emoji -__version__ = '24.10.0' +__version__ = '24.10.1' llock = threading.RLock() rlock = threading.RLock() @@ -553,7 +553,7 @@ def html_escape(text): options = (cmarkgfm.cmark.Options.CMARK_OPT_GITHUB_PRE_LANG | cmarkgfm.cmark.Options.CMARK_OPT_SMART | cmarkgfm.cmark.Options.CMARK_OPT_UNSAFE) output = cmarkgfm.github_flavored_markdown_to_html(html_escape(output), options).replace('&', '&').replace('&', '&') head = '\n\n\n' - head += '\n' + head += '\n' head += '\n\n' output = emoji.emojize(output, language='alias').encode('ascii', 'xmlcharrefreplace').decode('utf-8') output = head + '\n
\n' + output + '
\n\n\n' @@ -1035,7 +1035,7 @@ def signal_handler(*args): finally: if rflag[0] > 0: - s.shutdown(1) +# s.shutdown(1) s.close() diff --git a/www/index.html b/www/index.html index c479f87..1cbf1f8 100644 --- a/www/index.html +++ b/www/index.html @@ -8,31 +8,31 @@ - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - +