Permalink
Commits on Feb 4, 2017
  1. Fix inability to rename notes

    Not sure why `input` is `null` sometimes, but whatevs.
    committed Feb 4, 2017
Commits on Feb 3, 2017
  1. Work around other view state bugs

    This was broken because we weren't dealing with real DOM nodes. The ref
    we get here is actually a (Redux) Connect instance. If I remove that, we
    still don't work, because the ref is a `ContentEditable` instance. Only
    way to get this to work for now is to use `findDOMNode` to get the real
    `textarea`.
    
    I'm going to rework this to expose that in some way, which will allow me
    to remove the `findDOMNode` calls.
    committed Feb 3, 2017
  2. ES6-ify gulpfile

    committed Feb 3, 2017
  3. DRY up the gulpfile a little

    committed Feb 3, 2017
  4. Make debug build uses symlinks

    For compatibility with `yarn run gulp`, so watched changes become
    available immediately without a rebuild.
    committed Feb 3, 2017
  5. Use corpus.sh to run debug builds only

    Will run built release package day to day, but during active development
    will use the debug build via corpus.sh.
    committed Feb 3, 2017
  6. Compensate for yarn blowing away node_modules as "extraneous"

    When we make the release build, *everything* that was under
    `node_modules` is trashed as extraneous, so we have to reinstall it
    (can't see a way to suppress this step).
    committed Feb 3, 2017
  7. Try to reset listing on clearing search

    Doesn't actually work, although it looks like it should.
    committed Feb 3, 2017
  8. Partially fix OmniBar clear

    This clears the OmniBar, deselects all, but doesn't yet reset the
    listing.
    
    See: #44
    committed Feb 3, 2017
  9. Make exec() callsites slightly nicer by using Promises

    Instead of callbacks.
    committed Feb 3, 2017
  10. asar all the things

    committed Feb 3, 2017
  11. Get gulp to put the files where we want them

    Using this one cool trick.
    
    From:
    
      http://stackoverflow.com/a/32880264/2103996
    
    Specifically, this makes:
    
      dist/foo
    
    Appear at:
    
      Corpus.app/Contents/Resources/app/dist/foo
    
    Instead of at:
    
      Corpus.app/Contents/Resources/app/foo
    
    The non-glob entry (package.json), was already appearing at the right
    place.
    
    As noted in that Stack Overflow answer, this approach is not 100%
    robust, but it works for my case (assumes I only have one file at that
    level with the "dist" prefix, and one with the "vendor" prefix).
    committed Feb 3, 2017
  12. Copy node_modules with yarn

    committed Feb 3, 2017
  13. Quit when window closed

    This is a crude approximation, as noted in the TODO comments inline. We
    only quit if we have no pending operations (and we normally don't). We
    can always loop back later and make this more robust/precise.
    
    Closes: #43
    committed Feb 3, 2017
Commits on Feb 2, 2017
  1. Note the need to copy vendor files to the release bundle

    Without this, our font-based icons are all missing.
    committed Feb 2, 2017
  2. Fix React complaints about spreading in unsupported props

    "config", "dispatch", "note" etc are not supported by `<textarea>`, so
    we should instead explicitly pass in the props we actually care about.
    committed Feb 2, 2017
  3. Drop babel-polyfill

    Similar to how we don't need the full set of plugins in the Babel ES2015
    preset, I think we can do without the polyfill. Just needed to add
    transform-es2015-modules-commonjs to make `import` statements get
    transformed into `require` (really `_interopRequireDefault` etc).
    committed Feb 2, 2017
  4. Drop es2015 preset in favor or es2016 + es2017

    Shouldn't need the es2015 preset on recent Electron.
    committed Feb 2, 2017
  5. Update electron and switch from electron-prebuilt

    The latter package is not going to be updated in the future.
    
    Note the HACKING.md docs are probably woefully out of date and broken at
    this point, but I updated the references in them anyway.
    committed Feb 2, 2017
  6. Yarn upgrade

    Done using:
    
        yarn upgrade
    
    funnily enough.
    committed Feb 2, 2017
  7. Move many dependencies into devDependencies

    I'd never bothered doing this before because this wasn't a web app so I
    wasn't worried about how to bundle things. But I'd like to improve the
    "release" process now to make a sane build bundle instead of my crude
    `cp -pR node_modules` approach.
    committed Feb 2, 2017
  8. Remove npm-shrinkwrap.json

    No longer needed thanks to Yarn.
    committed Feb 2, 2017