fastled 1.1.6__tar.gz → 1.1.7__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 (91) hide show
  1. {fastled-1.1.6 → fastled-1.1.7}/PKG-INFO +3 -1
  2. {fastled-1.1.6 → fastled-1.1.7}/README.md +2 -0
  3. {fastled-1.1.6 → fastled-1.1.7}/examples/wasm/wasm.ino +2 -0
  4. {fastled-1.1.6 → fastled-1.1.7}/pyproject.toml +1 -1
  5. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/app.py +25 -67
  6. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/compile_server.py +7 -20
  7. fastled-1.1.7/src/fastled/sketch.py +55 -0
  8. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/PKG-INFO +3 -1
  9. fastled-1.1.6/src/fastled/sketch.py +0 -18
  10. {fastled-1.1.6 → fastled-1.1.7}/.aiderignore +0 -0
  11. {fastled-1.1.6 → fastled-1.1.7}/.github/workflows/build_multi_docker_image.yml +0 -0
  12. {fastled-1.1.6 → fastled-1.1.7}/.github/workflows/lint.yml +0 -0
  13. {fastled-1.1.6 → fastled-1.1.7}/.github/workflows/test_macos.yml +0 -0
  14. {fastled-1.1.6 → fastled-1.1.7}/.github/workflows/test_ubuntu.yml +0 -0
  15. {fastled-1.1.6 → fastled-1.1.7}/.github/workflows/test_win.yml +0 -0
  16. {fastled-1.1.6 → fastled-1.1.7}/.gitignore +0 -0
  17. {fastled-1.1.6 → fastled-1.1.7}/.pylintrc +0 -0
  18. {fastled-1.1.6 → fastled-1.1.7}/.vscode/launch.json +0 -0
  19. {fastled-1.1.6 → fastled-1.1.7}/.vscode/settings.json +0 -0
  20. {fastled-1.1.6 → fastled-1.1.7}/.vscode/tasks.json +0 -0
  21. {fastled-1.1.6 → fastled-1.1.7}/LICENSE +0 -0
  22. {fastled-1.1.6 → fastled-1.1.7}/MANIFEST.in +0 -0
  23. {fastled-1.1.6 → fastled-1.1.7}/clean +0 -0
  24. {fastled-1.1.6 → fastled-1.1.7}/docs/fastled.js +0 -0
  25. {fastled-1.1.6 → fastled-1.1.7}/docs/fastled.wasm +0 -0
  26. {fastled-1.1.6 → fastled-1.1.7}/docs/index.css +0 -0
  27. {fastled-1.1.6 → fastled-1.1.7}/docs/index.html +0 -0
  28. {fastled-1.1.6 → fastled-1.1.7}/docs/index.js +0 -0
  29. {fastled-1.1.6 → fastled-1.1.7}/examples/Blink/Blink.ino +0 -0
  30. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/Chromancer.ino +0 -0
  31. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/detail.h +0 -0
  32. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/gary_woos_wled_port/gary_woos_wled_ledmap.h +0 -0
  33. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/gary_woos_wled_port/presets.json +0 -0
  34. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/gary_woos_wled_port/presets.min.json +0 -0
  35. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/gen.py +0 -0
  36. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/mapping.h +0 -0
  37. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/net.h +0 -0
  38. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/output.json +0 -0
  39. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/ripple.h +0 -0
  40. {fastled-1.1.6 → fastled-1.1.7}/examples/Chromancer/screenmap.json.h +0 -0
  41. {fastled-1.1.6 → fastled-1.1.7}/examples/ColorPalette/ColorPalette.ino +0 -0
  42. {fastled-1.1.6 → fastled-1.1.7}/examples/ColorTemperature/ColorTemperature.ino +0 -0
  43. {fastled-1.1.6 → fastled-1.1.7}/examples/Cylon/Cylon.ino +0 -0
  44. {fastled-1.1.6 → fastled-1.1.7}/examples/DemoReel100/DemoReel100.ino +0 -0
  45. {fastled-1.1.6 → fastled-1.1.7}/examples/Esp32Rmt51/Esp32Rmt51.ino +0 -0
  46. {fastled-1.1.6 → fastled-1.1.7}/examples/EspI2SDemo/EspI2SDemo.ino +0 -0
  47. {fastled-1.1.6 → fastled-1.1.7}/examples/Fire2012/Fire2012.ino +0 -0
  48. {fastled-1.1.6 → fastled-1.1.7}/examples/Fire2012WithPalette/Fire2012WithPalette.ino +0 -0
  49. {fastled-1.1.6 → fastled-1.1.7}/examples/FirstLight/FirstLight.ino +0 -0
  50. {fastled-1.1.6 → fastled-1.1.7}/examples/FxEngine/FxEngine.ino +0 -0
  51. {fastled-1.1.6 → fastled-1.1.7}/examples/Noise/Noise.ino +0 -0
  52. {fastled-1.1.6 → fastled-1.1.7}/examples/NoisePlayground/NoisePlayground.ino +0 -0
  53. {fastled-1.1.6 → fastled-1.1.7}/examples/NoisePlusPalette/NoisePlusPalette.ino +0 -0
  54. {fastled-1.1.6 → fastled-1.1.7}/examples/OctoWS2811/OctoWS2811.ino +0 -0
  55. {fastled-1.1.6 → fastled-1.1.7}/examples/Pacifica/Pacifica.ino +0 -0
  56. {fastled-1.1.6 → fastled-1.1.7}/examples/Pride2015/Pride2015.ino +0 -0
  57. {fastled-1.1.6 → fastled-1.1.7}/examples/SdCard/SdCard.ino +0 -0
  58. {fastled-1.1.6 → fastled-1.1.7}/examples/TwinkleFox/TwinkleFox.ino +0 -0
  59. {fastled-1.1.6 → fastled-1.1.7}/examples/Video/Gfx2Video/Gfx2Video.ino +0 -0
  60. {fastled-1.1.6 → fastled-1.1.7}/examples/WasmScreenCoords/WasmScreenCoords.ino +0 -0
  61. {fastled-1.1.6 → fastled-1.1.7}/examples/Water/Water.ino +0 -0
  62. {fastled-1.1.6 → fastled-1.1.7}/examples/XYMatrix/XYMatrix.ino +0 -0
  63. {fastled-1.1.6 → fastled-1.1.7}/install +0 -0
  64. {fastled-1.1.6 → fastled-1.1.7}/lint +0 -0
  65. {fastled-1.1.6 → fastled-1.1.7}/requirements.testing.txt +0 -0
  66. {fastled-1.1.6 → fastled-1.1.7}/setup.cfg +0 -0
  67. {fastled-1.1.6 → fastled-1.1.7}/setup.py +0 -0
  68. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/__init__.py +0 -0
  69. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/assets/example.txt +0 -0
  70. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/build_mode.py +0 -0
  71. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/check_cpp_syntax.py +0 -0
  72. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/cli.py +0 -0
  73. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/docker_manager.py +0 -0
  74. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/filewatcher.py +0 -0
  75. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/open_browser.py +0 -0
  76. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/paths.py +0 -0
  77. {fastled-1.1.6 → fastled-1.1.7}/src/fastled/web_compile.py +0 -0
  78. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/SOURCES.txt +0 -0
  79. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/dependency_links.txt +0 -0
  80. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/entry_points.txt +0 -0
  81. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/requires.txt +0 -0
  82. {fastled-1.1.6 → fastled-1.1.7}/src/fastled.egg-info/top_level.txt +0 -0
  83. {fastled-1.1.6 → fastled-1.1.7}/test +0 -0
  84. {fastled-1.1.6 → fastled-1.1.7}/tests/test_bad_ino.py +0 -0
  85. {fastled-1.1.6 → fastled-1.1.7}/tests/test_cli.py +0 -0
  86. {fastled-1.1.6 → fastled-1.1.7}/tests/test_compile_server.py +0 -0
  87. {fastled-1.1.6 → fastled-1.1.7}/tests/test_filechanger.py +0 -0
  88. {fastled-1.1.6 → fastled-1.1.7}/tests/test_ino/bad/bad.ino +0 -0
  89. {fastled-1.1.6 → fastled-1.1.7}/tests/test_ino/wasm/wasm.ino +0 -0
  90. {fastled-1.1.6 → fastled-1.1.7}/tests/test_webcompile.py +0 -0
  91. {fastled-1.1.6 → fastled-1.1.7}/upload_package.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastled
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -89,8 +89,10 @@ Pre-processing is done to your source files. A fake Arduino.h will be inserted i
89
89
  provide shims for most of the common api points.
90
90
 
91
91
 
92
+
92
93
  # Revisions
93
94
 
95
+ * 1.1.7 - Sketch cache re-enabled, but selectively invalidated on cpp/h updates. Cleaned up deprecated args. Fixed double thread running for containers that was causing slowdown.
94
96
  * 1.1.6 - Use the fast src volume map allow quick updates to fastled when developing on the source code.
95
97
  * 1.1.5 - Filter out hidden files and directories from being included in the sketch archive sent to the compiler.
96
98
  * 1.1.4 - Fix regression introduced by testing out ipv4/ipv6 connections from a thread pool.
@@ -70,8 +70,10 @@ Pre-processing is done to your source files. A fake Arduino.h will be inserted i
70
70
  provide shims for most of the common api points.
71
71
 
72
72
 
73
+
73
74
  # Revisions
74
75
 
76
+ * 1.1.7 - Sketch cache re-enabled, but selectively invalidated on cpp/h updates. Cleaned up deprecated args. Fixed double thread running for containers that was causing slowdown.
75
77
  * 1.1.6 - Use the fast src volume map allow quick updates to fastled when developing on the source code.
76
78
  * 1.1.5 - Filter out hidden files and directories from being included in the sketch archive sent to the compiler.
77
79
  * 1.1.4 - Fix regression introduced by testing out ipv4/ipv6 connections from a thread pool.
@@ -84,6 +84,8 @@ NumberField fxIndex("Animartrix - iex", 0, 0, NUM_ANIMATIONS);
84
84
  Animartrix animartrix(xyMap, POLAR_WAVES);
85
85
  FxEngine fxEngine(NUM_LEDS);
86
86
 
87
+
88
+
87
89
  void setup() {
88
90
  FastLED.addLeds<WS2811, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS)
89
91
  .setCorrection(TypicalLEDStrip)
@@ -19,7 +19,7 @@ dependencies = [
19
19
  "filelock",
20
20
  ]
21
21
  # Change this with the version number bump.
22
- version = "1.1.6"
22
+ version = "1.1.7"
23
23
 
24
24
  [tool.setuptools]
25
25
  package-dir = {"" = "src"}
@@ -20,7 +20,7 @@ from fastled.compile_server import CompileServer, looks_like_fastled_repo
20
20
  from fastled.docker_manager import DockerManager
21
21
  from fastled.filewatcher import FileChangedNotifier
22
22
  from fastled.open_browser import open_browser_thread
23
- from fastled.sketch import get_sketch_files
23
+ from fastled.sketch import looks_like_sketch_directory
24
24
  from fastled.web_compile import web_compile
25
25
 
26
26
  machine = platform.machine().lower()
@@ -49,7 +49,7 @@ def parse_args() -> argparse.Namespace:
49
49
  "directory",
50
50
  type=str,
51
51
  nargs="?",
52
- default=os.getcwd(),
52
+ default=None,
53
53
  help="Directory containing the FastLED sketch to compile",
54
54
  )
55
55
  parser.add_argument(
@@ -57,11 +57,6 @@ def parse_args() -> argparse.Namespace:
57
57
  action="store_true",
58
58
  help="Just compile, skip opening the browser and watching for changes.",
59
59
  )
60
- parser.add_argument(
61
- "--no-auto-clean",
62
- action="store_true",
63
- help="Big performance gains for compilation, but it's flaky at this time",
64
- )
65
60
  parser.add_argument(
66
61
  "--web",
67
62
  "-w",
@@ -71,17 +66,6 @@ def parse_args() -> argparse.Namespace:
71
66
  const=DEFAULT_URL, # Default value when --web is specified without value
72
67
  help="Use web compiler. Optional URL can be provided (default: https://fastled.onrender.com)",
73
68
  )
74
- parser.add_argument(
75
- "--reuse",
76
- action="store_true",
77
- help="Reuse the existing container if it exists. (Not available with --web)",
78
- )
79
- parser.add_argument(
80
- "--exclude",
81
- type=str,
82
- nargs="+",
83
- help="Additional patterns to exclude from file watching (Not available with --web)",
84
- )
85
69
  parser.add_argument(
86
70
  "-i",
87
71
  "--interactive",
@@ -117,14 +101,18 @@ def parse_args() -> argparse.Namespace:
117
101
  )
118
102
 
119
103
  args = parser.parse_args()
120
-
121
- # Handle --web implications
122
- if args.web:
123
- if args.reuse:
124
- parser.error("--reuse cannot be used with --web")
125
- if args.exclude:
126
- parser.error("--exclude cannot be used with --web")
127
-
104
+ if args.server and args.web:
105
+ parser.error("--server and --web are mutually exclusive")
106
+ if args.directory is None and not args.server:
107
+ # does current directory look like a sketch?
108
+ maybe_sketch_dir = Path(os.getcwd())
109
+ if looks_like_sketch_directory(maybe_sketch_dir):
110
+ args.directory = str(maybe_sketch_dir)
111
+ else:
112
+ print(
113
+ "\nYou either need to specify a sketch directory or run in --server mode."
114
+ )
115
+ sys.exit(1)
128
116
  return args
129
117
 
130
118
 
@@ -195,9 +183,8 @@ def _try_start_server_or_get_url(args: argparse.Namespace) -> str | CompileServe
195
183
  return DEFAULT_URL
196
184
  return args.web
197
185
  else:
198
- disable_auto_clean = args.no_auto_clean
199
186
  try:
200
- compile_server = CompileServer(disable_auto_clean=disable_auto_clean)
187
+ compile_server = CompileServer()
201
188
  print("Waiting for the local compiler to start...")
202
189
  if not compile_server.wait_for_startup():
203
190
  print("Failed to start local compiler.")
@@ -210,42 +197,11 @@ def _try_start_server_or_get_url(args: argparse.Namespace) -> str | CompileServe
210
197
  return DEFAULT_URL
211
198
 
212
199
 
213
- def _lots_and_lots_of_files(directory: Path) -> bool:
214
- return len(get_sketch_files(directory)) > 100
215
-
216
-
217
- def _looks_like_sketch_directory(directory: Path) -> bool:
218
- if looks_like_fastled_repo(directory):
219
- print("Directory looks like the FastLED repo")
220
- return False
221
-
222
- if _lots_and_lots_of_files(directory):
223
- print("Too many files in the directory, bailing out")
224
- return False
225
-
226
- # walk the path and if there are over 30 files, return False
227
- # at the root of the directory there should either be an ino file or a src directory
228
- # or some cpp files
229
- # if there is a platformio.ini file, return True
230
- ino_file_at_root = list(directory.glob("*.ino"))
231
- if ino_file_at_root:
232
- return True
233
- cpp_file_at_root = list(directory.glob("*.cpp"))
234
- if cpp_file_at_root:
235
- return True
236
- platformini_file = list(directory.glob("platformio.ini"))
237
- if platformini_file:
238
- return True
239
- return False
240
-
241
-
242
200
  def run_client(args: argparse.Namespace) -> int:
243
201
  compile_server: CompileServer | None = None
244
202
  open_web_browser = not args.just_compile
245
203
  profile = args.profile
246
- if not args.force_compile and not _looks_like_sketch_directory(
247
- Path(args.directory)
248
- ):
204
+ if not args.force_compile and not looks_like_sketch_directory(Path(args.directory)):
249
205
  print(
250
206
  "Error: Not a valid FastLED sketch directory, if you are sure it is, use --force-compile"
251
207
  )
@@ -366,11 +322,9 @@ def run_client(args: argparse.Namespace) -> int:
366
322
 
367
323
  def run_server(args: argparse.Namespace) -> int:
368
324
  interactive = args.interactive
369
- compile_server = CompileServer(
370
- disable_auto_clean=args.no_auto_clean, interactive=interactive
371
- )
372
- print(f"Server started at {compile_server.url()}")
373
- compile_server.start()
325
+ compile_server = CompileServer(interactive=interactive)
326
+ if not interactive:
327
+ print(f"Server started at {compile_server.url()}")
374
328
  compile_server.wait_for_startup()
375
329
  try:
376
330
  while True:
@@ -404,9 +358,13 @@ def main() -> int:
404
358
 
405
359
  if __name__ == "__main__":
406
360
  try:
361
+ project_root = Path(__file__).resolve().parent.parent.parent
362
+ print(f"Project root: {project_root}")
363
+ os.chdir(project_root)
364
+ os.chdir("../fastled")
407
365
  sys.argv.append("examples/wasm")
408
- sys.argv.append("-w")
409
- sys.argv.append("localhost")
366
+ sys.argv.append("--server")
367
+ sys.argv.append("--interactive")
410
368
  sys.exit(main())
411
369
  except KeyboardInterrupt:
412
370
  print("\nExiting from main...")
@@ -8,6 +8,7 @@ from typing import Optional
8
8
  import httpx
9
9
 
10
10
  from fastled.docker_manager import DockerManager
11
+ from fastled.sketch import looks_like_fastled_repo
11
12
 
12
13
  _DEFAULT_CONTAINER_NAME = "fastled-wasm-compiler"
13
14
 
@@ -27,19 +28,10 @@ def find_available_port(start_port: int = SERVER_PORT) -> int:
27
28
  raise RuntimeError("No available ports found")
28
29
 
29
30
 
30
- def looks_like_fastled_repo(directory: Path) -> bool:
31
- libprops = directory / "library.properties"
32
- if not libprops.exists():
33
- return False
34
- txt = libprops.read_text()
35
- return "FastLED" in txt
36
-
37
-
38
31
  class CompileServer:
39
32
  def __init__(
40
33
  self,
41
34
  container_name=_DEFAULT_CONTAINER_NAME,
42
- disable_auto_clean: bool = False,
43
35
  interactive: bool = False,
44
36
  ) -> None:
45
37
 
@@ -52,14 +44,13 @@ class CompileServer:
52
44
  fastled_src_dir = cwd / "src"
53
45
 
54
46
  self.container_name = container_name
55
- self.disable_auto_clean = disable_auto_clean
56
47
  self.docker = DockerManager(container_name=container_name)
57
48
  self.running = False
58
49
  self.thread: Optional[threading.Thread] = None
59
50
  self.running_process: subprocess.Popen | None = None
60
51
  self.fastled_src_dir: Path | None = fastled_src_dir
61
52
  self.interactive = interactive
62
- self._port = self.start()
53
+ self._port = self._start()
63
54
 
64
55
  def port(self) -> int:
65
56
  return self._port
@@ -91,7 +82,7 @@ class CompileServer:
91
82
  return False
92
83
  return False
93
84
 
94
- def start(self) -> int:
85
+ def _start(self) -> int:
95
86
  print("Compiling server starting")
96
87
  self.running = True
97
88
  # Ensure Docker is running
@@ -141,24 +132,20 @@ class CompileServer:
141
132
  server_command = ["/bin/bash"]
142
133
  else:
143
134
  server_command = ["python", "/js/run.py", "server"]
144
- if self.disable_auto_clean:
145
- server_command.append("--disable-auto-clean")
146
135
  print(f"Started Docker container with command: {server_command}")
147
136
  ports = {port: 80}
148
137
  volumes = None
149
138
  if self.fastled_src_dir:
150
139
  print(
151
- f"Mounting FastLED source directory {self.fastled_src_dir} into container /js/fastled/src"
140
+ f"Mounting FastLED source directory {self.fastled_src_dir} into container /host/fastled/src"
152
141
  )
153
142
  volumes = {
154
143
  str(self.fastled_src_dir): {"bind": "/host/fastled/src", "mode": "ro"}
155
144
  }
156
- # no auto-update because the source directory is mapped in.
157
- server_command.append("--no-auto-update") # stop git repo updates.
158
145
  if not self.interactive:
159
- server_command.append(
160
- "--no-sketch-cache"
161
- ) # Remove sketch cache which assumes src is static.
146
+ # no auto-update because the source directory is mapped in.
147
+ # This should be automatic now.
148
+ server_command.append("--no-auto-update") # stop git repo updates.
162
149
  self.running_process = self.docker.run_container(
163
150
  server_command, ports=ports, volumes=volumes
164
151
  )
@@ -0,0 +1,55 @@
1
+ import os
2
+ from pathlib import Path
3
+
4
+
5
+ def get_sketch_files(directory: Path) -> list[Path]:
6
+ files: list[Path] = []
7
+ for root, dirs, filenames in os.walk(directory):
8
+ # ignore hidden directories
9
+ dirs[:] = [d for d in dirs if not d.startswith(".")]
10
+ # ignore fastled_js directory
11
+ dirs[:] = [d for d in dirs if "fastled_js" not in d]
12
+ # ignore hidden files
13
+ filenames = [f for f in filenames if not f.startswith(".")]
14
+ for filename in filenames:
15
+ if "platformio.ini" in filename:
16
+ continue
17
+ files.append(Path(root) / filename)
18
+ return files
19
+
20
+
21
+ def looks_like_fastled_repo(directory: Path) -> bool:
22
+ libprops = directory / "library.properties"
23
+ if not libprops.exists():
24
+ return False
25
+ txt = libprops.read_text(encoding="utf-8", errors="ignore")
26
+ return "FastLED" in txt
27
+
28
+
29
+ def _lots_and_lots_of_files(directory: Path) -> bool:
30
+ return len(get_sketch_files(directory)) > 100
31
+
32
+
33
+ def looks_like_sketch_directory(directory: Path) -> bool:
34
+ if looks_like_fastled_repo(directory):
35
+ print("Directory looks like the FastLED repo")
36
+ return False
37
+
38
+ if _lots_and_lots_of_files(directory):
39
+ print("Too many files in the directory, bailing out")
40
+ return False
41
+
42
+ # walk the path and if there are over 30 files, return False
43
+ # at the root of the directory there should either be an ino file or a src directory
44
+ # or some cpp files
45
+ # if there is a platformio.ini file, return True
46
+ ino_file_at_root = list(directory.glob("*.ino"))
47
+ if ino_file_at_root:
48
+ return True
49
+ cpp_file_at_root = list(directory.glob("*.cpp"))
50
+ if cpp_file_at_root:
51
+ return True
52
+ platformini_file = list(directory.glob("platformio.ini"))
53
+ if platformini_file:
54
+ return True
55
+ return False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastled
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -89,8 +89,10 @@ Pre-processing is done to your source files. A fake Arduino.h will be inserted i
89
89
  provide shims for most of the common api points.
90
90
 
91
91
 
92
+
92
93
  # Revisions
93
94
 
95
+ * 1.1.7 - Sketch cache re-enabled, but selectively invalidated on cpp/h updates. Cleaned up deprecated args. Fixed double thread running for containers that was causing slowdown.
94
96
  * 1.1.6 - Use the fast src volume map allow quick updates to fastled when developing on the source code.
95
97
  * 1.1.5 - Filter out hidden files and directories from being included in the sketch archive sent to the compiler.
96
98
  * 1.1.4 - Fix regression introduced by testing out ipv4/ipv6 connections from a thread pool.
@@ -1,18 +0,0 @@
1
- import os
2
- from pathlib import Path
3
-
4
-
5
- def get_sketch_files(directory: Path) -> list[Path]:
6
- files: list[Path] = []
7
- for root, dirs, filenames in os.walk(directory):
8
- # ignore hidden directories
9
- dirs[:] = [d for d in dirs if not d.startswith(".")]
10
- # ignore fastled_js directory
11
- dirs[:] = [d for d in dirs if "fastled_js" not in d]
12
- # ignore hidden files
13
- filenames = [f for f in filenames if not f.startswith(".")]
14
- for filename in filenames:
15
- if "platformio.ini" in filename:
16
- continue
17
- files.append(Path(root) / filename)
18
- return files
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes