Commit Graph

999 Commits

Author SHA1 Message Date
Glavin Wiechert ef8ca9798b Update markdown examples 2016-04-23 17:13:54 -03:00
Glavin Wiechert f8bbd6c5ec Merge branch 'petrui-master' 2016-04-23 17:00:05 -03:00
Glavin Wiechert 0cf2ee5954 Merge branch 'master' of https://github.com/petrui/atom-beautify into petrui-master 2016-04-23 16:47:22 -03:00
Glavin Wiechert f264cb64ad Merge branch 'fdelbos-master' 2016-04-23 16:41:24 -03:00
Glavin Wiechert 6ea9788255 Merge branch 'master' of https://github.com/fdelbos/atom-beautify into fdelbos-master 2016-04-23 16:41:20 -03:00
Glavin Wiechert 8ce6e5d376 Merge pull request #943 from ayoubdev/master
[PrettyDiff] Fixed Indent Tabs configuration ignored (issue: #910: ht…
2016-04-23 16:38:36 -03:00
Glavin Wiechert e5e37dc2c1 Update tidy-markdown and fix related tests 2016-04-23 16:37:07 -03:00
ayoubdev 8a352c6b40 => Updated docs/options.md
=> Added contributor to package.json
2016-04-23 19:46:52 +02:00
Glavin Wiechert b86607acc3 Merge pull request #941 from garretwilson/issues/707
Fix issue #707 by adding Atom-based EOL detection
2016-04-23 14:27:09 -03:00
ayoubdev 0152863484 [PrettyDiff] Fixed Indent Tabs configuration ignored (issue: #910: https://github.com/Glavin001/atom-beautify/issues/910) 2016-04-23 18:49:20 +02:00
Garret Wilson 268e1f5d80 Fix issue #707 by adding Atom-based EOL detection
Determines the default line ending based upon the Atom configuration
`line-ending-selector.defaultLineEnding`. If the Atom configuration
indicates "OS Default", the `process.platform` is queried, returning
CRLF for Windows systems and LF for all other systems.
2016-04-22 19:16:55 -07:00
Frederic Delbos ac7adadf52 add --yes to opam install 2016-04-20 08:52:23 +02:00
Frederic Delbos 74eff68820 add opam init 2016-04-20 08:39:00 +02:00
Glavin Wiechert 09c3d6a539 Prepare 0.29.6 release 2016-04-19 20:18:09 -03:00
Glavin Wiechert 4eb8607c47 Fixes #924. Prevent infinite loop with beautify on save
With the option `Ensure Single Trailing Newline` option enabled
in the Whitespace package, Atom would append a newline character after
beautification had occured and when the beautified code was saved it
would be changed and never settle on a stable text that would not change
the previously saved text in the editor. Thus an infinite loop on save.
2016-04-19 20:16:16 -03:00
Glavin Wiechert b4a12a7e78 Prepare 0.29.5 release 2016-04-19 19:24:26 -03:00
Glavin Wiechert a730f33ff2 Fixes #924. Beautify On Save changes the TextEditor not the file
It seems that in a recent update of Atom, Atom-Beautify's beautify on
save feature would actually crash Atom and in some cases even delete all
of the contents of the file!

After some investigation, it looks like writing directly to the file
with fs.write may have been the culprit and crashing Atom.
2016-04-19 19:22:23 -03:00
Frederic Delbos 8b237edbee add ocaml language 2016-04-19 23:15:36 +02:00
Petru Ilies 58f7a868d7 Merge remote-tracking branch 'upstream/master' 2016-04-18 10:35:46 +03:00
Glavin Wiechert 6de115f8e6 Prepare 0.29.4 release 2016-04-16 20:05:21 -03:00
Glavin Wiechert c950557438 Change cross-spawn dependency to be optionalDependency
Closes #573, #795, #922, #858, #925, #761, #902, #740.

If cross-spawn fails to install, atom-beautify will still continue to
install and work without it, with degraded support for Windows, such as
ignoring PATHEXT.
2016-04-16 19:55:13 -03:00
Glavin Wiechert 1e282de280 Prepare 0.29.3 release 2016-04-16 16:19:12 -03:00
Glavin Wiechert 83ecac5d7e See #924. Add more verbose debugging to beautifyFilePath 2016-04-16 16:18:10 -03:00
Glavin Wiechert 78c2cc5480 See #864. Fix Logger to use renamed loggerLevel setting key 2016-04-16 16:16:56 -03:00
Glavin Wiechert 3bc3c6d3a7 See #924. Add JavaScript test that is reported to crash Atom 2016-04-16 16:15:47 -03:00
Glavin Wiechert 1009945b8a Fix built-options and docs script adding duplicate beautifiers 2016-04-16 16:15:14 -03:00
Glavin Wiechert c0b3ba3557 See #919. Remove options from analytics tracking
Originally tracking `options` was intended to help with debugging errors, and making sure Atom-Beautify was working for the users.
However, we now have that `Help Debug Editor` command that users can use on their own when submitting an Issue for Atom-Beautify on GitHub.
Thus, tracking the `options` is not being used for analytics (yet) and it is more advantageous to remove to reduce the information being tracked.
2016-04-14 23:24:56 -03:00
Glavin Wiechert b23f2816cc Merge pull request #899 from janmolnar/master
running provided emacs binary directly instead of running it via pyth…
2016-04-14 22:02:46 -03:00
Jan-Cornelius Molnar 106a3130e4 updated elm examples to v0.2 2016-04-14 14:05:18 +02:00
Jan-Cornelius Molnar ae38396df0 updating travis and appveyor elm-format dep 2016-04-14 12:08:37 +02:00
Jan-Cornelius Molnar a31711a0cb modified test runner 2016-04-14 11:48:49 +02:00
Jan-Cornelius Molnar 4e91dd3558 there seems to be an issue on windows where having an executable foo on the PATH and a folder foo in the cwd causes windows to be confused between the two. therefore, I renamed the folders for uncrustify and elm-format. 2016-04-14 11:19:04 +02:00
Jan-Cornelius Molnar 4906e65cdb updated build script 2016-04-14 10:53:52 +02:00
Jan-Cornelius Molnar e809a220cb appveyor 2016-04-14 10:40:16 +02:00
Jan-Cornelius Molnar 792b58d30b fixed path 2016-04-14 10:35:19 +02:00
Jan-Cornelius Molnar 77d488633b modified atom runner 2016-04-14 10:26:53 +02:00
Jan-Cornelius Molnar 8ede61e9da added elm-format to appveyor 2016-04-14 01:19:36 +02:00
Jan-Cornelius Molnar 4584d98dd6 more appveyor debugging 2016-04-14 01:14:47 +02:00
Glavin Wiechert f85ff44773 Merge pull request #916 from ewgenius/patch-1
allow beatify *.pug files
2016-04-13 10:54:30 -03:00
ewgenius 4788deaa6d adding Pug extension and grammar
*.pug files can't be beautified
2016-04-13 08:18:29 +03:00
Jan-Cornelius Molnar 7f1ca2ac73 debugging appveyor 2016-04-12 16:20:45 +02:00
Glavin Wiechert aeb39566ab Closes #905. Add Handlebars support to Pretty Diff beautifier 2016-04-12 00:30:05 -03:00
Jan-Cornelius Molnar c534a1e323 removed check for sqlparse from appveyor build script 2016-04-10 20:32:56 +02:00
Jan-Cornelius Molnar cf6a98d33f dont use > when downloading in powershell since this converts the output to unicode which is not preferable when downloading binaries 2016-04-10 20:06:28 +02:00
Jan-Cornelius Molnar 238b81867b added isort and sqlparse to appveyor 2016-04-10 19:57:24 +02:00
Jan-Cornelius Molnar af36550639 added missing packages to appveyor build script 2016-04-10 18:23:41 +02:00
Jan-Cornelius Molnar 125660c1e7 fixed appveyor uncrustify download command 2016-04-10 18:10:10 +02:00
Jan-Cornelius Molnar 55445d66ad fixed non empty check of emacs path 2016-04-10 17:31:49 +02:00
Mark Tofan 992999b347 Seems that Crystal dosen't have Windows support yet. 2016-04-08 22:38:07 +03:00
Petru Ilies 39e7901d5c Updated Readme.md 2016-04-08 19:39:38 +03:00