Commit Graph

21 Commits

Author SHA1 Message Date
Ronan Jouchet 6fb3b92eb8
Upgrade dependencies and default to latest Electron 1.7.9 (PR #483)
* Update deps except eslint
* Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems)
* Manually fix remaining eslint errors
* Document deprecation of `version-string` as of electron-packager 9.0.0
* Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8)
* npm: Disable generation of package-lock.json and gitignore it
  --Trying this, package-lock is a pain in PRs. May not be a good idea
  (obviously we lose deps pinning), will revert if necessary.--
* npm tasks: add dev-up-win for Windows developers,
  and e2e for end-to-end tests. Update docs.
* Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests
* Switch from babel-preset-es2015 to babel-preset-env,
  with target.node=4.0. Seem like it's today's most convenient
  way to support the latest ES and let babel transpile to what
  makes sense for our currently minimal node version
2017-11-14 08:05:01 -05:00
Sayed Hadi Hashemi 84dcde9d5b Fix #404: Add 'Paste and Match Style' to Edit Menu (#447) 2017-10-03 11:51:34 -04:00
Jia Hao Goh 8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Ronan Jouchet bbce1e88d4 Fix #253 - Better honor --zoom option. (#347)
* When zooming in/out, start from the options zoom, not 1 (don't jump)
* Add 'Zoom Reset' feature bound to Ctrl+0, with indicative label for non-100% zoom value
2017-04-19 07:47:54 -04:00
Goh Jia Hao 1de9eec356 Implement disabling of developer tools
- Partially addresses #194
2016-05-26 18:02:43 +08:00
Huy Hong e6454ca7a0 Rebind 'Copy Current URL' to 'CmdOrCtrl+L' to mimic 'Open Location' in browsers 2016-04-08 14:10:24 -07:00
Jia Hao 6faba7da42 Refactor menu arguments into options 2016-02-25 10:37:06 +08:00
Gary Moon ce76d0be7f add mainWindow and options objects to createMenu args and refactor 2016-02-24 09:45:22 -05:00
Gary Moon 546bad7035 remove clear cache menu item 2016-02-24 09:44:39 -05:00
Gary Moon df6f958904 Fix linter errors 2016-02-23 19:14:11 -05:00
Gary Moon e4a4476e35 Added clear app data and clear cache options 2016-02-23 18:19:52 -05:00
Jia Hao 52c518f4b7 Merge branch 'development' of https://github.com/krishkumar/nativefier into krishkumar-development
- #90 Add keyboard shortcuts for back, forward
2016-01-30 02:13:10 +08:00
Jia Hao b2e05c925b Use ES6 syntax for placeholder app 2016-01-29 22:04:41 +08:00
krishkumar 6f98248a60 Add keyboard shortcut for back, forward 2016-01-26 12:25:02 +05:30
Jia Hao 78a624c23f Fix #32 Ability to copy and paste a URL 2016-01-25 18:34:44 +08:00
Jia Hao 82c29de231 Lint all files 2016-01-24 02:02:23 +08:00
Jia Hao c143b3b461 Fix error with badge on non-osx systems
- Instead of checking every instance we use the setBadge, we define an empty function and only override it if it is OSX
2016-01-23 15:12:53 +08:00
Jia Hao e0de7bf463 Implement navigating backward and forward from the application menu 2016-01-23 14:15:25 +08:00
Jia Hao 90ee346914 Refactor main.js into separate files, and put static files such as preload and login.html into `app/src/static` 2016-01-23 10:09:47 +08:00
Jia Hao 0e68fd61dc Implement changing of zoom which fixes #17
- Take note that the keyboard shortcut for zoom in appears to be 'command + =', due to a bug in atom/electron#1507
2016-01-23 09:27:09 +08:00
Jia Hao 5c204eec77 Cleanup app files and directories
- All source files are now in `src` and will be compiled and copied over to `lib` on `npm run build-app`
- Add logging of `appArgs` in preload on startup
- Use node `path` module to resolve pathnames instead of concatenating strings together
2016-01-22 19:57:39 +08:00