Christian Paul
247122f684
Remove bluebird ( #94 )
2020-09-09 00:36:37 +02:00
Christian Paul
a7e7621705
Replace userhome with env-paths ( #91 )
...
* Replace userhome with env-paths
* Download the correct package
2020-08-17 12:02:07 +02:00
Christian Paul
df269c10d9
Fix TileSource test to be a test ( #90 )
2020-08-12 02:06:01 +02:00
Christian Paul
5c8ded81dc
Change the unit of width and length options to full characters
2020-08-12 01:58:25 +02:00
Christian Paul
9bee8cca19
Fix the initial center to be the c-base
2020-08-12 01:46:20 +02:00
Thorkil Værge
34d628d1d1
Add preliminary support for parsing of command line options ( #86 )
...
* Add preliminary support for parsing of command line options
* Remove redundant options for width and height
* Add parser for command line arguments. Type validation outstanding.
* Update TODO list
* Use config for argv's default values, simplify argument management
Co-authored-by: LH <@>
2020-08-12 01:44:39 +02:00
Quincy Morgan
a872c0ee6d
Zoom toward the mouse pointer instead of the map center ( #75 )
2019-10-13 17:59:03 +02:00
Christian Paul
348b84f71f
Make ESLint pass the current codebase
2019-10-10 20:54:16 +02:00
Christian Paul
184ce100d7
Upgrade dependencies
2019-10-10 19:50:50 +02:00
Jestin Stoffel
fccacad3a2
Add vim keys as alternative to arrow key navigation
2019-07-08 10:50:19 -05:00
Christian Paul
22532ba03b
Merge pull request #61 from rastapasta/draw-is-never-null
...
Fix issue where every button press causes a rerender
2019-04-12 20:49:00 -07:00
Christian Paul
ff75d2de50
Merge pull request #59 from rastapasta/mapbox-mbtiles
...
The NPM package mbtiles got deprecated in favour of @mapbox/mbtiles
2019-03-24 18:27:56 -07:00
Christian Paul
ad4103c8df
Don't use async within describe
2019-03-24 18:18:48 -07:00
Christian Paul
d98aced647
Merge pull request #57 from rastapasta/create-folder-error
...
Throw an error if creating a folder fails.
2019-03-24 18:05:01 -07:00
Christian Paul
044c24f6c8
Merge pull request #56 from rastapasta/promises
...
Load the style file in Mapscii to keep the Renderer simpler
2019-03-24 18:00:57 -07:00
Christian Paul
66a605254c
Fix mistake where _createFolder wouldn't throw an error
2019-03-24 17:59:46 -07:00
Christian Paul
f4c002cadd
Fix issue where every button press causes a rerender
2019-03-24 17:02:30 -07:00
Christian Paul
8a4d82dead
Update title in the README
2018-11-19 01:07:26 -08:00
Christian Paul
4546a99a55
The NPM package mbtiles got deprecated in favour of @mapbox/mbtiles
2018-11-19 00:58:09 -08:00
Christian Paul
cf4731682e
Merge pull request #58 from rastapasta/unhandled-mapscii-init
...
Unhandled mapscii init
2018-11-19 00:41:06 -08:00
Christian Paul
0ba7a7201d
Load the style file in Mapscii.js
2018-11-19 00:35:10 -08:00
Christian Paul
4b97538235
Fix MBTiles typo MBtils
2018-11-19 00:29:22 -08:00
Christian Paul
ca789ba9dd
Throw an error if creating a Folder fails.
2018-11-19 00:24:51 -08:00
Christian Paul
926a6d0bcc
Use async to simplify Mapscii.init()
2018-11-19 00:18:05 -08:00
Christian Paul
e47fe83f38
Merge pull request #54 from rastapasta/unit-tests
...
Add unit tests for utils.normalize
2018-11-18 19:32:04 -08:00
Christian Paul
14628a80c2
Merge pull request #51 from rastapasta/issue-templates
...
Add GitHub issue templates to the repo
2018-11-18 19:30:58 -08:00
Christian Paul
62440a98b8
Add tests for utils.normailze
2018-11-18 19:22:39 -08:00
Christian Paul
9ef0d88d55
Improve utils.hex2rgb tests
2018-11-18 19:21:56 -08:00
Christian Paul
baceee6ad6
Stylize name as MapSCII
2018-11-18 18:47:24 -08:00
Christian Paul
7430ca09fa
Merge branch 'mouse-footer-activate' of https://github.com/jaller94/mapscii into jaller94-mouse-footer-activate
2018-10-25 17:11:21 -07:00
Christian Paul
712898aa97
Merge pull request #46 from rastapasta/color-bug
...
Bug fix: utils.hex2rgb does not fail on invalid hex strings
2018-10-18 19:58:29 -07:00
Christian Paul
ac273b2409
Add tests for utils.hex2rgb
2018-10-18 00:38:44 -07:00
Christian Paul
46dd1a9853
Fix: invert test and fix error message
2018-10-18 00:38:10 -07:00
Christian Paul
25ce95a8b3
Fix: test the variable color
2018-10-17 22:41:01 -07:00
Christian Paul
2bf82b8f46
Replace deprecated new Buffer(size) with Buffer.alloc()
2018-10-17 09:08:14 -07:00
Christian Paul
a76679b8ac
Merge remote-tracking branch 'upstream/master' into decaffeinate
2018-10-16 23:04:56 -07:00
Christian Paul
b704e21c4b
Merge pull request #21 from ZhukovAlexander/patch-1
...
Fix a typo
2018-10-16 22:04:42 -07:00
Christian Paul
57497ecea7
Fix breaking bug introduced in 0353effa67
2017-12-23 02:07:30 -08:00
Christian Paul
a784a55759
Fix zoom out on US keyboards
2017-12-23 01:56:47 -08:00
Christian Paul
f3efbae8ba
Decaffeinate remaining methods of the Renderer class
2017-12-23 01:33:57 -08:00
Christian Paul
bfd5c54fa4
Decaffeinate remaining methods of the Tile class
2017-12-23 01:27:43 -08:00
Christian Paul
0353effa67
More code clean up in Renderer
2017-12-23 00:56:56 -08:00
Christian Paul
069de8c227
Remove unused parameter in Styler
2017-12-23 00:16:01 -08:00
Christian Paul
1f7245644e
ESLint Disable no-constant-condition in Canvas
2017-12-23 00:15:40 -08:00
Christian Paul
f6485d9830
After ESLint in config
2017-12-23 00:15:08 -08:00
Christian Paul
d692c9317c
After ESLint in BrailleBuffer
2017-12-23 00:08:46 -08:00
Christian Paul
ba09e8bd82
After ESLint in Mapscii
2017-12-23 00:08:14 -08:00
Christian Paul
eee880e237
After ESLint in Renderer
2017-12-23 00:08:01 -08:00
Christian Paul
8673da8ecb
After ESLint in Styler
2017-12-23 00:07:42 -08:00
Christian Paul
804b55076d
After ESLint in utils
2017-12-23 00:07:34 -08:00