Commit Graph

  • 79e16fb166 Add a "version.sh" shell script to bump the version of the app and distribute it throughout the repo. mmcwilliams 2019-03-22 20:27:55 -0400
  • 74e6b9c1b2 Install systeminformation module. This will allow a cross platform solution that doesnt use the electron api for enumerating displays mmcwilliams 2019-03-22 19:53:44 -0400
  • 1413e323f0 Install private modules in the cli project mmcwilliams 2019-03-22 19:52:59 -0400
  • f09ada2cd2 Build and version the package json files on each npm run build mmcwilliams 2019-03-22 19:52:21 -0400
  • 283085cb8d Move the cfg.json file master to the root. mmcwilliams 2019-03-22 19:51:06 -0400
  • 5717fc8cfe Add a build script to build cli with pkg. mmcwilliams 2019-03-22 19:50:46 -0400
  • 42691c1577 All work on grid + sequencer rewrite. mmcwilliams 2019-03-22 17:06:57 -0400
  • cfbeeb3ce9 Add a pause button that is hidden by default. mmcwilliams 2019-03-22 17:04:29 -0400
  • dcca364b78 Update to electron 4. Updated electron-rebuild and electron-packager. Removed sqlite because it is currently unused and takes forever to rebuild. Originally intended to store timings of actions to optimize performance. Putting those plans on ice for now. mmcwilliams 2019-03-22 17:01:54 -0400
  • 553d2bbb0d Made progress on sequencer module, renamed from sequence. mmcwilliams 2019-03-22 04:33:53 -0400
  • 425dd9fd6a Initial updates to sequence module. Will try to simplify into a for loop, but if tests fail will re-write to a similar form as the renderer seq.js module mmcwilliams 2019-03-22 03:22:33 -0400
  • c436406e9e Add todo in grid.js. This will be the biggest change in the rewrite. All ui/cmd.js commands must be re-written to be entirely ipc based and then all seq commands will be re-written to be ipc based as well. mmcwilliams 2019-03-22 03:15:43 -0400
  • 52e6431d65 Rename seq.cmd object keys to new full-length strings mmcwilliams 2019-03-22 03:14:16 -0400
  • ddb33e7f35 Require the Commands module as cmd in main.js mmcwilliams 2019-03-22 03:13:46 -0400
  • 3dcfa708d2 Add shortened commands to the cfg.json file mmcwilliams 2019-03-22 03:12:42 -0400
  • aff3678daf Rename "RUN" button to "START" to match internal terminology and make it clearer to me. mmcwilliams 2019-03-22 03:12:04 -0400
  • 4356abc820 Disable light from the UI if necessary. Kind of circuitous, will refactor. mmcwilliams 2019-03-21 22:55:12 -0400
  • 41a5fd087d Last work on display for tonight. Add a boolean attribute "opened" to re-open the digitalWindow if closed. mmcwilliams 2019-03-21 22:54:49 -0400
  • 742adccf34 Took a tiny detour on the film out feature, or "digital projector". This now avoids showing a browser window fullscreen on mac, which is having performance issues when opening and then running sequences. There is a major source of lag, seemingly coming from the camera? Need to test with fake projector to see if there's a problem with the arduino lib. mmcwilliams 2019-03-21 22:33:30 -0400
  • 97f1464106 Print the current active version into the mcopy.state object mmcwilliams 2019-03-21 21:32:33 -0400
  • aef8709ab0 Add placeholders for exec and spawn modules mmcwilliams 2019-03-21 21:18:27 -0400
  • 0ff1b5ff7d Refactor display module into typescript mmcwilliams 2019-03-21 21:18:13 -0400
  • d264429726 Create new doc files for new libs or ones with jsdoc mmcwilliams 2019-03-21 21:03:03 -0400
  • 65ba1f8c18 Add new grid file mmcwilliams 2019-03-21 21:02:41 -0400
  • 48e8415ee4 Rename all keys to full "camera_" vs "cam_" and "projector_" vs "proj_" for consistency across the app. Successfully separate and refactor gui.grid object to gui. mmcwilliams 2019-03-21 21:02:28 -0400
  • e5a1654341 Use local id string so that duplicate instances of the classes can talk to one another. mmcwilliams 2019-03-21 19:45:48 -0400
  • 6d1e9ec78f Print state for now. Need to store position in it? Make resetting it simple. mmcwilliams 2019-03-21 19:36:37 -0400
  • fe046027da In camera and projector modules, for both main and renderer, use a string id to bind ipc paths and set up the ability to then have multiple of the proj, cam or even light class. Need to do light. mmcwilliams 2019-03-21 19:34:56 -0400
  • 600a0abc72 Create and install main process lib to control the cmd.js module mmcwilliams 2019-03-21 19:33:01 -0400
  • 7a87ac924a Windows install seems to swap some https/http calls ins package-lock.json. Fascinating. M McWilliams 2019-03-21 18:14:53 -0400
  • 7ce3fa854a Remove dev object and replace with new devices module. Log an error on failure to enumerate devices that isn't caught within the method. mmcwilliams 2019-03-21 18:09:14 -0400
  • 82e10bb4a4 Increment minor version. This marks the "feature complete" refactor of the core functionality in typescript using classes instead of objects in the main.js process. Also, install the new devices module that was refactored into a class from an object. This has been tested with firmware, but additional development on this minor version will pull more UI elements into the main process. This will allow a CLI app to be created more efficiently and kept in sync with the rest of the project. Interface with the firmware will be expanded to control multiple projectors or multiple cameras in the next minor version. mmcwilliams 2019-03-21 18:08:24 -0400
  • fc3cc96cd8 Use the import Log = require() method of including log lib. This is cleaner and easier to read when parsing dependencies. mmcwilliams 2019-03-21 18:03:53 -0400
  • 478799965e Update log format, remove timestamp and use file "mcopy.log" in mcopy dir, not mcopy-cli. mmcwilliams 2019-03-21 18:01:41 -0400
  • 099cd3052a Refactor settings into Typescript class module. Refactor devices into Typescript class module from object. mmcwilliams 2019-03-21 18:00:34 -0400
  • ea91ea5ff5 Remove console logging from arduino lib. Reject or throw to log errors mmcwilliams 2019-03-21 15:59:50 -0400
  • 6a31eda3c4 Add label to cam, light and proj module logging mmcwilliams 2019-03-21 15:57:16 -0400
  • d74e756b05 Rest of last commit mmcwilliams 2019-03-21 15:57:10 -0400
  • 91ee19f2ab Add correct alias strings to arduino lib mmcwilliams 2019-03-21 15:56:33 -0400
  • c563bf0dd3 Add a label argument to the log module. mmcwilliams 2019-03-21 15:54:55 -0400
  • 87d43fc15b Only use log module in main mmcwilliams 2019-03-21 15:47:25 -0400
  • 94942d86f9 Remove log from UI. Just use console and write directly to system log. mmcwilliams 2019-03-21 15:47:07 -0400
  • bfb9bcbbe4 All vars become consts to prevent redeclaration during this rewrite (and they should be that anyway) mmcwilliams 2019-03-21 15:43:03 -0400
  • f5f23284a3 Uncomment digital state interaction in proj module mmcwilliams 2019-03-21 15:31:17 -0400
  • 9472527c70 Merge broke the UI, whoops mmcwilliams 2019-03-21 15:13:48 -0400
  • 6faf78b92e Merge remote-tracking branch 'origin/master' mmcwilliams 2019-03-21 15:08:54 -0400
  • 1b6c56b2ad Sequence module compiled mmcwilliams 2019-03-21 15:06:37 -0400
  • 42358e98eb Add a package to the log module mmcwilliams 2019-03-21 15:03:42 -0400
  • 746f0e2753 Add global typescript d file to prevent compiler errors. It's a hack, yeah, yeah. mmcwilliams 2019-03-21 15:03:24 -0400
  • cf7664fb2a Remove objects cam, proj, light and replace with new modules mmcwilliams 2019-03-21 15:02:54 -0400
  • 05d1bc3ae2 Refactor delay into typescript mmcwilliams 2019-03-21 15:02:05 -0400
  • e9ccdfc191 Refactor light module into typescript-compiled class mmcwilliams 2019-03-21 15:01:29 -0400
  • dc080b8566 Refactor proj module into typescript-compiled proj module. mmcwilliams 2019-03-21 15:00:47 -0400
  • 56aba1eaba Refactor cam module into cam module. mmcwilliams 2019-03-21 14:59:46 -0400
  • c276525d3a Refactor arduino library as a class, using Typescript now. mmcwilliams 2019-03-21 14:58:52 -0400
  • fce259d29b Create a "digital" module, moving the "dig" object from the main.js process to it's own class. mmcwilliams 2019-03-21 14:58:00 -0400
  • 72575ce2a4 Update tsconfig to use ./lib as a reference mmcwilliams 2019-03-21 14:55:52 -0400
  • 2408456d47 Install cam, log and mscript modules. mmcwilliams 2019-03-20 23:04:52 -0400
  • f2c2d6ce43 WIP wednesday mmcwilliams 2019-03-20 18:37:00 -0400
  • 7f0ab0fee3 Layout all commands that need to be added for dual projector functionality. mmcwilliams 2019-03-20 15:44:07 -0400
  • 4236651a09 Move all relevant code into comments mmcwilliams 2019-03-20 15:33:51 -0400
  • fe85cc1b37 Re-write of the sequence module will require incorporating more moving parts than I anticipated. I will move forward with the temporary rewrite and then later focus on the long-term rewrite. mmcwilliams 2019-03-20 15:30:45 -0400
  • d308b8a59e Merge remote-tracking branch 'origin/master' mmcwilliams 2019-03-19 22:33:23 -0400
  • cc227e9a66 Rewrite seq.js front-end "module" as a main process module in the lib. Can be used by the CLI without a second rewrite. Remove all DOM logic, but make API compatible with seq.js so GUI does not have to change. mmcwilliams 2019-03-19 22:33:15 -0400
  • a4682ed9d3 Simplify logs. Still prints timestamp as json. mmcwilliams 2019-03-19 14:48:01 -0400
  • d19e83d616 Increment patch number and run `npm audit fix` mmcwilliams 2019-03-18 19:43:27 -0400
  • 9bfc133a67 Add a function to cancel a sequence. This should only be used during "seq.exec()". mmcwilliams 2019-03-18 19:42:12 -0400
  • f89ad53235 Caught a silly mistake. Accidentally referenced setDir instead of setExposure in intval exposure function. It's ok because that's dormant anyway. mmcwilliams 2019-03-18 19:11:05 -0400
  • 0fbe45073c Add a seq.cmds object to map named actions to functions. This creates targets for MSCRIPT to compile to, and allows the sequence to be stored in a string array. mmcwilliams 2019-03-18 18:42:31 -0400
  • 415306d7a8 Add comments to existing sequencer gui file. Question arises here: should this logic be pushed back into the main process so that there is less reliance on the renderer and all command logic takes place in main (or a sub-module) with the renderer being used only for display and not sequencing. This seems to be the path going forward, but will take a re-write that allows for GUI to interrupt the process as it does now. A proof of concept will have to be written to demonstrate that using `await delay(ms)` is viable and the process does not completely lock. mmcwilliams 2019-03-18 18:41:35 -0400
  • b1e4015630 If light is not enabled when digital projector is selected, enable light. Otherwise, the light value will stay default 0,0,0 and all frames are rendered as black. mmcwilliams 2019-03-18 18:35:49 -0400
  • ad97086bf0 Overwrite any exported frame by adding -y flag to the ffmpeg command. mmcwilliams 2019-03-18 18:28:31 -0400
  • 1d993b85d3 Create a scad file for extra odds and ends for the JK mmcwilliams 2019-03-18 18:28:09 -0400
  • 46da2e6541 Add the new firmware identifiers as accepted responses. Also add text identifiers for firmware identified as the 4 new types. mmcwilliams 2019-03-18 17:21:17 -0400
  • d4c2f5b678 Rebuild docs for arduino library after refactor into class. mmcwilliams 2019-03-18 16:51:16 -0400
  • 9b4525e5a7 Refactor logFile function for readability. Add comments to the log library. Build logs. mmcwilliams 2019-03-18 16:50:40 -0400
  • 1a31767572 Fix the build script mmcwilliams 2019-03-18 16:49:11 -0400
  • 74b326caeb Add ANYEYE scad work. Contains the motor key for connecting the INTVAL2/3 style motor mount and microswitch to a Revere 16mm projector. mmcwilliams 2019-03-18 16:49:00 -0400
  • 029dd628b6 Add comments to cmd mmcwilliams 2019-03-13 15:28:17 -0400
  • cf6e4f9de9 Disable light on projector mmcwilliams 2019-03-13 15:28:07 -0400
  • e47abeaaa5 Hid light pads if light is disabled. mmcwilliams 2019-03-10 13:18:59 -0400
  • 4eee61ab1b Hide labels if light is disabled. Hide navigation element if light is disabled. mmcwilliams 2019-03-10 01:25:59 -0500
  • 4202d01630 Calling this a patch commit lets go! mmcwilliams 2019-03-09 15:47:26 -0500
  • 00b5efa484 Logging still sucks. mmcwilliams 2019-03-09 13:17:32 -0500
  • 15bb696b59 Await log require in cli app because of changes to local module. mmcwilliams 2019-03-08 22:33:23 -0500
  • 95b6f77848 Try to improve logging. It's not there, yet. mmcwilliams 2019-03-08 22:33:03 -0500
  • e186b1b9fc Write arg.profile and not the HTML element profile to log mmcwilliams 2019-03-08 22:32:43 -0500
  • ede29216f7 Update arduino lib in app and cli mmcwilliams 2019-03-08 22:32:25 -0500
  • faeddb84ab Build log mmcwilliams 2019-03-08 22:31:51 -0500
  • 87f3bcef6f Copy build libraries to cli app mmcwilliams 2019-03-08 22:31:29 -0500
  • f0fae8ce1b Refactor arduino library as class, rather than object. mmcwilliams 2019-03-08 11:27:24 -0500
  • febb39aef7 Change class notepad to mcopy mmcw-dev 2019-03-07 20:57:57 -0500
  • b93266d1eb Start a proton-native app. Begin using the Notepad example from the proton-native repository mmcw-dev 2019-03-06 17:34:28 -0500
  • c3f24b125e Update cli description mmcwilliams 2019-03-04 22:10:23 -0500
  • fcdc6ebb1d Typescript adding commas to compiled code. mmcwilliams 2019-03-04 22:10:15 -0500
  • ec0b8e3b4f Run docs as shell, not bash mmcwilliams 2019-03-04 22:09:26 -0500
  • aa5bbfc9fd Port shared modules to typescript. Migrate shared modules first, then look at individual needs of sub-projects. mmcwilliams 2019-03-04 22:09:12 -0500
  • 806342b623 Ignore node_modules mmcwilliams 2019-03-04 22:07:04 -0500
  • 307ef33a10 Update description as project expands and reshapes. Now will develop shared modules for the app, cli and then the "native" experimental app written in proton-native. mmcwilliams 2019-03-04 22:06:40 -0500
  • f276d5ce83 Add commands for controlling a secondary projector. mmcwilliams 2019-03-01 20:14:20 -0500