Commit Graph

1023 Commits

Author SHA1 Message Date
Mathias Weber c45b860292 fixed order of home-dir expansion and project resolution
The uncrutify config path was first resolved against the current project folder.
This would `expand-home-dir` to not expand the home folder.

This patch should fix issues #747 and #818.
2016-06-09 16:02:38 +02:00
Sina Sharifzade aa00043818 Add .php_cs file support to php-cs-fixer beautifier 2016-06-09 18:00:03 +04:30
Joost van Doorn 7096ceb195 Lua beautifier
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert aae09ea463 Merge pull request #956 from patrick-steele-idem/marko-v3
Marko v3
2016-06-07 10:54:14 -03:00
Glavin Wiechert b0ca4a87aa Merge pull request #987 from ra100/examples-fix
Fix travis tests and atom 1.9 compatibility issue
2016-06-07 10:47:57 -03:00
Patrick Steele-Idem b5f130db0f Added `html` as a fallback so that settings would be inherited if not set 2016-06-01 13:10:22 -06:00
Ra100 6065d6643a Fixed travis build for Linux
Brew isn't by default on linux, so we need to install it from git.
Python, php, crystal, ompl, ocml can be installed from apt, no need
for brew on linux. Elm binaries need to be fo linux on linux.
2016-05-21 12:35:43 +02:00
Ra100 b11dc80abc Fix Tidy Markdown and Rubocop examples expected output 2016-05-20 10:14:43 +02:00
Ra100 d03bad31da Fix compatibility with atom 1.9.x #979
Due to changes between atom 1.8 and 1.9 is editor.viewRegistry not availbale,
it has to be changed to atom.views.
2016-05-18 10:48:26 +02:00
Glavin Wiechert a7b6d2c2ce Update Travis CI scripts and config 2016-05-14 13:53:15 -03:00
Glavin Wiechert 6c360a0442 Closes #936. Add details about opening Command Palette 2016-05-04 18:32:59 -03:00
Patrick Steele-Idem e4168688d6 Updated marko tests 2016-04-29 00:26:07 -06:00
Patrick Steele-Idem 9ff770c3f0 Fixed marko indent 2016-04-29 00:06:36 -06:00
Patrick Steele-Idem a17b73cf40 Updated test for marko 2016-04-28 23:23:41 -06:00
Patrick Steele-Idem 2872e581ce Added psteeleidem as a contributor in package.json 2016-04-28 23:12:24 -06:00
Patrick Steele-Idem af9cc40dec Improved Marko v3 support 2016-04-28 23:09:55 -06:00
Glavin Wiechert 9197bc3a3c Merge pull request #955 from lhecker/master
Removed cross-spawn dependency
2016-04-28 15:00:22 -03:00
Leonard Hecker f536d97fd6 Removed cross-spawn dependency
This might fix the "spawn cmd.exe ENOENT" issue on Windows.
2016-04-28 15:57:58 +02:00
Glavin Wiechert 2c95334a17 Add reload Atom to Issue template checklist 2016-04-26 17:11:16 -03:00
Glavin Wiechert c2851f1d21 Prepare 0.29.7 release 2016-04-23 23:27:42 -03:00
Glavin Wiechert 6365090d95 Update options documentation 2016-04-23 23:27:10 -03:00
Glavin Wiechert c9d423c6a4 Fix failing tests 2016-04-23 23:26:57 -03:00
Glavin Wiechert df5eec7264 Update dependencies 2016-04-23 23:26:32 -03:00
Glavin Wiechert 513ebd807c Closes #945. Update TypeScript Formatter beautifier 2016-04-23 23:24:55 -03:00
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