pywebexec 1.8.0__tar.gz → 1.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. {pywebexec-1.8.0/pywebexec.egg-info → pywebexec-1.8.2}/PKG-INFO +1 -1
  2. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/css/style.css +3 -3
  3. pywebexec-1.8.2/pywebexec/static/fonts/CommitMonoNerdFontMono-Regular.ttf +0 -0
  4. pywebexec-1.8.2/pywebexec/static/fonts/LICENSE +90 -0
  5. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/popup.js +15 -15
  6. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/script.js +15 -15
  7. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/version.py +2 -2
  8. {pywebexec-1.8.0 → pywebexec-1.8.2/pywebexec.egg-info}/PKG-INFO +1 -1
  9. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec.egg-info/SOURCES.txt +2 -1
  10. pywebexec-1.8.0/pywebexec/static/css/Consolas NF.ttf +0 -0
  11. {pywebexec-1.8.0 → pywebexec-1.8.2}/.github/workflows/python-publish.yml +0 -0
  12. {pywebexec-1.8.0 → pywebexec-1.8.2}/.gitignore +0 -0
  13. {pywebexec-1.8.0 → pywebexec-1.8.2}/LICENSE +0 -0
  14. {pywebexec-1.8.0 → pywebexec-1.8.2}/README.md +0 -0
  15. {pywebexec-1.8.0 → pywebexec-1.8.2}/pyproject.toml +0 -0
  16. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/__init__.py +0 -0
  17. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/host_ip.py +0 -0
  18. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/pywebexec.py +0 -0
  19. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/css/xterm.css +0 -0
  20. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/aborted.svg +0 -0
  21. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/copy.svg +0 -0
  22. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/copy_ok.svg +0 -0
  23. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/down-arrow.svg +0 -0
  24. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/failed.svg +0 -0
  25. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/favicon.svg +0 -0
  26. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/fit-tty.svg +0 -0
  27. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/fit-win.svg +0 -0
  28. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/font-decrease.svg +0 -0
  29. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/font-increase.svg +0 -0
  30. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/norun.svg +0 -0
  31. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/pause.svg +0 -0
  32. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/popup.svg +0 -0
  33. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/resume.svg +0 -0
  34. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/running.svg +0 -0
  35. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/images/success.svg +0 -0
  36. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/commands.js +0 -0
  37. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/LICENSE +0 -0
  38. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-canvas.js +0 -0
  39. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-canvas.js.map +0 -0
  40. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-fit.js +0 -0
  41. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-fit.js.map +0 -0
  42. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-unicode11.js +0 -0
  43. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/addon-unicode11.js.map +0 -0
  44. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/xterm.js +0 -0
  45. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/static/js/xterm/xterm.js.map +0 -0
  46. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/templates/__init__.py +0 -0
  47. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/templates/index.html +0 -0
  48. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec/templates/popup.html +0 -0
  49. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec.egg-info/dependency_links.txt +0 -0
  50. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec.egg-info/entry_points.txt +0 -0
  51. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec.egg-info/requires.txt +0 -0
  52. {pywebexec-1.8.0 → pywebexec-1.8.2}/pywebexec.egg-info/top_level.txt +0 -0
  53. {pywebexec-1.8.0 → pywebexec-1.8.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.8.0
3
+ Version: 1.8.2
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,6 +1,6 @@
1
1
  @font-face {
2
- font-family: 'Consolas NF';
3
- src: url('/static/css/Consolas NF.ttf');
2
+ font-family: 'CommitMono Nerd Font Mono';
3
+ src: url('/static/fonts/CommitMonoNerdFontMono-Regular.ttf');
4
4
  font-weight: 400;
5
5
  font-style: normal;
6
6
  }
@@ -48,7 +48,7 @@ th {
48
48
  cursor: pointer;
49
49
  }
50
50
  .monospace {
51
- font-family: Consolas NF,monospace;
51
+ font-family: "CommitMono Nerd Font Mono", monospace;
52
52
  font-size: 13px;
53
53
  }
54
54
  .system-font {
@@ -0,0 +1,90 @@
1
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
2
+ This license is copied below, and is also available with a FAQ at:
3
+ http://scripts.sil.org/OFL
4
+
5
+ -----------------------------------------------------------
6
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
7
+ -----------------------------------------------------------
8
+
9
+ PREAMBLE
10
+ The goals of the Open Font License (OFL) are to stimulate worldwide
11
+ development of collaborative font projects, to support the font creation
12
+ efforts of academic and linguistic communities, and to provide a free and
13
+ open framework in which fonts may be shared and improved in partnership
14
+ with others.
15
+
16
+ The OFL allows the licensed fonts to be used, studied, modified and
17
+ redistributed freely as long as they are not sold by themselves. The
18
+ fonts, including any derivative works, can be bundled, embedded,
19
+ redistributed and/or sold with any software provided that any reserved
20
+ names are not used by derivative works. The fonts and derivatives,
21
+ however, cannot be released under any other type of license. The
22
+ requirement for fonts to remain under this license does not apply
23
+ to any document created using the fonts or their derivatives.
24
+
25
+ DEFINITIONS
26
+ "Font Software" refers to the set of files released by the Copyright
27
+ Holder(s) under this license and clearly marked as such. This may
28
+ include source files, build scripts and documentation.
29
+
30
+ "Reserved Font Name" refers to any names specified as such after the
31
+ copyright statement(s).
32
+
33
+ "Original Version" refers to the collection of Font Software components as
34
+ distributed by the Copyright Holder(s).
35
+
36
+ "Modified Version" refers to any derivative made by adding to, deleting,
37
+ or substituting -- in part or in whole -- any of the components of the
38
+ Original Version, by changing formats or by porting the Font Software to a
39
+ new environment.
40
+
41
+ "Author" refers to any designer, engineer, programmer, technical
42
+ writer or other person who contributed to the Font Software.
43
+
44
+ PERMISSION & CONDITIONS
45
+ Permission is hereby granted, free of charge, to any person obtaining
46
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
47
+ redistribute, and sell modified and unmodified copies of the Font
48
+ Software, subject to the following conditions:
49
+
50
+ 1) Neither the Font Software nor any of its individual components,
51
+ in Original or Modified Versions, may be sold by itself.
52
+
53
+ 2) Original or Modified Versions of the Font Software may be bundled,
54
+ redistributed and/or sold with any software, provided that each copy
55
+ contains the above copyright notice and this license. These can be
56
+ included either as stand-alone text files, human-readable headers or
57
+ in the appropriate machine-readable metadata fields within text or
58
+ binary files as long as those fields can be easily viewed by the user.
59
+
60
+ 3) No Modified Version of the Font Software may use the Reserved Font
61
+ Name(s) unless explicit written permission is granted by the corresponding
62
+ Copyright Holder. This restriction only applies to the primary font name as
63
+ presented to the users.
64
+
65
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
66
+ Software shall not be used to promote, endorse or advertise any
67
+ Modified Version, except to acknowledge the contribution(s) of the
68
+ Copyright Holder(s) and the Author(s) or with their explicit written
69
+ permission.
70
+
71
+ 5) The Font Software, modified or unmodified, in part or in whole,
72
+ must be distributed entirely under this license, and must not be
73
+ distributed under any other license. The requirement for fonts to
74
+ remain under this license does not apply to any document created
75
+ using the Font Software.
76
+
77
+ TERMINATION
78
+ This license becomes null and void if any of the above conditions are
79
+ not met.
80
+
81
+ DISCLAIMER
82
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
83
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
84
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
85
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
86
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
87
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
88
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
89
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
90
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -6,7 +6,7 @@ let terminal = new Terminal({
6
6
  cursorInactiveStyle: 'none',
7
7
  disableStdin: true,
8
8
  convertEol: true,
9
- fontFamily: 'Consolas NF, monospace, courier-new, courier',
9
+ fontFamily: '"CommitMono Nerd Font Mono", monospace, courier-new, courier',
10
10
  fontSize: fontSize,
11
11
  scrollback: maxScrollback,
12
12
  theme: {
@@ -36,20 +36,20 @@ terminal.loadAddon(new CanvasAddon.CanvasAddon());
36
36
  unicode11Addon = new Unicode11Addon.Unicode11Addon();
37
37
  terminal.loadAddon(unicode11Addon);
38
38
  terminal.unicode.activeVersion = '11';
39
- terminal.register({
40
- wcwidth: (character) => {
41
- const code = character.charCodeAt(0);
42
- if (code == 0x1F525) return 2; // Fire emoji
43
- // Handle powerline symbols (usually should be width 1)
44
- if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
45
- // Handle other specific unicode ranges
46
- if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
47
- if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
48
- if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
49
- // Default to system wcwidth
50
- return null;
51
- }
52
- });
39
+ // terminal.register({
40
+ // wcwidth: (character) => {
41
+ // const code = character.charCodeAt(0);
42
+ // if (code == 0x1F525) return 2; // Fire emoji
43
+ // // Handle powerline symbols (usually should be width 1)
44
+ // if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
45
+ // // Handle other specific unicode ranges
46
+ // if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
47
+ // if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
48
+ // if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
49
+ // // Default to system wcwidth
50
+ // return null;
51
+ // }
52
+ // });
53
53
 
54
54
  const fitAddon = new FitAddon.FitAddon();
55
55
  terminal.loadAddon(fitAddon);
@@ -22,7 +22,7 @@ function initTerminal()
22
22
  cursorInactiveStyle: 'none',
23
23
  disableStdin: true,
24
24
  //convertEol: true,
25
- fontFamily: '"Consolas NF", "Fira Code", monospace, "Powerline Extra Symbols", courier-new, courier',
25
+ fontFamily: '"CommitMono Nerd Font Mono", "Fira Code", monospace, "Powerline Extra Symbols", courier-new, courier',
26
26
  fontSize: fontSize,
27
27
  scrollback: maxScrollback,
28
28
  theme: {
@@ -59,20 +59,20 @@ terminal.loadAddon(new CanvasAddon.CanvasAddon());
59
59
  unicode11Addon = new Unicode11Addon.Unicode11Addon();
60
60
  terminal.loadAddon(unicode11Addon);
61
61
  terminal.unicode.activeVersion = '11';
62
- terminal.register({
63
- wcwidth: (character) => {
64
- const code = character.charCodeAt(0);
65
- if (code == 0x1F525) return 2; // Fire emoji
66
- // Handle powerline symbols (usually should be width 1)
67
- if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
68
- // Handle other specific unicode ranges
69
- if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
70
- if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
71
- if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
72
- // Default to system wcwidth
73
- return null;
74
- }
75
- });
62
+ // terminal.register({
63
+ // wcwidth: (character) => {
64
+ // const code = character.charCodeAt(0);
65
+ // if (code == 0x1F525) return 3; // Fire emoji
66
+ // // Handle powerline symbols (usually should be width 1)
67
+ // if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
68
+ // // Handle other specific unicode ranges
69
+ // if (code >= 0x1100 && code <= 0x11FF) return 3; // Hangul Jamo
70
+ // if (code >= 0x3000 && code <= 0x30FF) return 3; // CJK Symbols and Japanese
71
+ // if (code >= 0x4E00 && code <= 0x9FFF) return 3; // CJK Unified Ideographs
72
+ // // Default to system wcwidth
73
+ // return null;
74
+ // }
75
+ // });
76
76
 
77
77
  const fitAddon = new FitAddon.FitAddon();
78
78
  terminal.loadAddon(fitAddon);
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.8.0'
21
- __version_tuple__ = version_tuple = (1, 8, 0)
20
+ __version__ = version = '1.8.2'
21
+ __version_tuple__ = version_tuple = (1, 8, 2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.8.0
3
+ Version: 1.8.2
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -14,9 +14,10 @@ pywebexec.egg-info/dependency_links.txt
14
14
  pywebexec.egg-info/entry_points.txt
15
15
  pywebexec.egg-info/requires.txt
16
16
  pywebexec.egg-info/top_level.txt
17
- pywebexec/static/css/Consolas NF.ttf
18
17
  pywebexec/static/css/style.css
19
18
  pywebexec/static/css/xterm.css
19
+ pywebexec/static/fonts/CommitMonoNerdFontMono-Regular.ttf
20
+ pywebexec/static/fonts/LICENSE
20
21
  pywebexec/static/images/aborted.svg
21
22
  pywebexec/static/images/copy.svg
22
23
  pywebexec/static/images/copy_ok.svg
File without changes
File without changes
File without changes
File without changes
File without changes