Commit Graph

55 Commits

Author SHA1 Message Date
Glavin Wiechert 0df338ed35 Switch from language-fuse to fuse Atom package 2017-10-07 14:22:29 -03:00
Austin Cheney 10c5e26771 update 2017-06-30 20:03:43 -05:00
Austin Cheney 46e02741c0 adjustments from Glavin's guidance 2017-06-30 19:41:11 -05:00
Glavin Wiechert 75f63293d4 Fixes #1728. Remove Shell-Env from Executable, use Atom's process.env instead
Atom has builtin a fix for the process.env being out of sync with
the user's actual environment variables. It is similar to how Shell-Env works
which Atom-Beautify was using. Now we no longer need it.

However, there is still an issue when running specs. Thus, Atom-Beautify
specs still patch process.env with Shell-Env.
See https://discuss.atom.io/t/specs-do-not-load-shell-environment-variables-activationhooks-core-loaded-shell-environment/44199
for details.
2017-06-21 20:39:40 -03:00
Glavin Wiechert 0b2b06a928 Improve error handling of beautify and testing 2017-06-16 01:22:19 -03:00
Glavin Wiechert a5a00c893e Show disabled tests as skipped 2017-06-16 00:33:33 -03:00
Glavin Wiechert 2737a54604 Change test loggerLevel from verbose to info 2017-06-11 21:36:43 -03:00
Glavin Wiechert 3023fea297 Disable broken Windows tests 2017-06-11 16:45:44 -03:00
Glavin Wiechert 200f53ea38 Show verbose logs when testing 2017-06-11 15:37:22 -03:00
Glavin Wiechert 6a28106bd6 Disable ocaml, r, clojure languages for Windows tests 2017-06-11 14:52:35 -03:00
Glavin Wiechert 84361e4011 Fix logging during tests. Show info level logs. 2017-06-04 16:03:45 -03:00
Glavin Wiechert a92a48c6d6 Enable verbose logging for tests 2017-06-01 04:37:13 -03:00
Glavin Wiechert a9553fd51e Switch autopep8 to using Executables 2017-06-01 04:29:51 -03:00
Dan Vingo 9ed56bd351 Add Clojure support using cljfmt 2016-09-03 21:26:54 -04:00
Aidi Stan 86f83c80aa Fix AppVeyor CI 2016-08-16 14:05:06 +08:00
Joost van Doorn 7096ceb195 Lua beautifier
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert afa27fd50b See #864. Add Migration command from old option keys to new keys
Old:
    { LANG_OPTION: 'VALUE' }
New:
    { LANG: { OPTION: 'VALUE' }}
2016-04-01 16:57:30 -03:00
Glavin Wiechert 43a3647e31 Disable language tests on examples 2016-03-30 01:26:55 -03:00
Glavin Wiechert 5fe5f3603f See #817. Remove MavensMate package 2016-02-21 17:23:23 -04:00
Glavin Wiechert 33ae978204 See #817. Install MavensMate package for Apex testing 2016-02-21 16:46:27 -04:00
Glavin Wiechert 34a3297858 Merge branch 'master' of git://github.com/jdcrensh/atom-beautify into jdcrensh-master 2016-02-20 15:32:57 -04:00
Glavin Wiechert 2b6b026cc6 Merge pull request #733 from LaurentTreguier/master
Adding dfmt support for D
2016-02-20 15:24:54 -04:00
Jon Crenshaw 718184554a Add Apex language support
Include support for Salesforce's Java-like "Apex" language
2016-02-17 21:54:08 -08:00
Glavin Wiechert 99299e5d30 Fixes #736. Change unformatted option default value to match js-beautify 2016-01-12 14:27:30 -04:00
LaurentTreguier e4f97f70b9 Update beautify-languages-spec.coffee 2016-01-07 13:22:24 +01:00
Glavin Wiechert 50bb7d737e Remove Atom package language-tss dependency for testing 2015-11-02 13:59:57 -04:00
Sebastian Schlatow a58ebf889d Add SVG support 2015-07-07 00:08:09 +02:00
Glavin Wiechert 2dbf680d76 Increase timeout duration to 60 seconds for language beautification tests 2015-06-14 11:36:42 -03:00
Glavin Wiechert 5094d76930 Fix typo in beautify-languages-spec, calling text.replace when not string 2015-06-11 23:50:24 -03:00
Glavin Wiechert 0df387dac3 Beautify all spec/ files to pass linting with Coffeelint 2015-06-11 23:10:00 -03:00
Glavin Wiechert 6b7b3d6401 Fix failing PHP-CS-Fixer Beautifier specs, disable some on Windows 2015-06-11 22:07:56 -03:00
Glavin Wiechert b0d8dfa6fb Format all internal CoffeeScript code to indent_size=2
- Using Atom Beautify's Beautify Directory feature
- Using coffee-fmt
  - Only has one bug: https://github.com/sterpe/coffee-fmt/issues/16
2015-06-11 21:59:00 -03:00
Glavin Wiechert 68070d5b4b Fix showing of options when a test fails when running specs 2015-06-10 17:30:44 -03:00
Glavin Wiechert 01d7f2f9bb Show options when a test fails when running specs 2015-06-10 17:02:22 -03:00
Glavin Wiechert 9afde9bfd1 Clean up logging, remove atom-typescript from specs 2015-06-10 16:45:34 -03:00
Glavin Wiechert d6297bdefc Replace invisible chars (space, tab, newline) w/ visible chars in specs 2015-06-10 16:12:19 -03:00
Glavin Wiechert 658f5b23d9 Fix typo in beautify-languages-spec causing failing tests to pass 2015-06-10 13:11:20 -03:00
Glavin Wiechert d78b3590ca See #375. Set log level to verbose for running specs on Windows 2015-06-08 11:24:32 -03:00
Glavin Wiechert 945732057d Add missing package dependencies for atom-typescript package 2015-06-06 16:56:01 -03:00
Glavin Wiechert 4a1184eba5 Install atom-typescript as dependent Atom package for tests 2015-06-06 16:05:41 -03:00
Glavin Wiechert 4e12ce9c6c Add check for when Language or Beautifier is not found in tests 2015-05-21 16:43:37 -03:00
Glavin Wiechert 573a949b6f Closes #346. Merge options for language namespace, fallbacks, _default 2015-05-19 15:02:23 -03:00
Glavin Wiechert 94fc870b84 Closes #323. Add language Swig with grammar HTML (Swig) 2015-05-18 18:08:06 -03:00
Glavin Wiechert cc9b8e8ff2 See #294. Add missing argument to PHP-CS-Fixer beautifier
And enable tests for Travis CI
2015-05-03 12:50:45 -03:00
Glavin Wiechert 65ef42fadb Properly handle errors in spec tests with Promises 2015-05-03 12:20:31 -03:00
Glavin Wiechert 0a0ba673e8 Closes #176. Add gofmt beautifier for Golang language 2015-05-03 01:23:29 -03:00
Glavin Wiechert 0b1d0216d9 All tests should pass with new internal API 2015-04-30 13:23:41 -03:00
Glavin Wiechert 5797b4bb00 Major improvement to tests: display diff of original vs expected 2015-04-29 16:41:57 -03:00
Glavin Wiechert 7432334d08 See #282. Restructure internal API
Done:
- Create base Beautifier class
- All Languages are separate files
- Options are separated for each language
- Beautifiers reference applicable Languages/Options
- Atom Beautify builds and tests can run
  - 19 failures out of 34 tests

TODO:
- Render Language Options to Atom Package Settings
- Support for Language fallback option namespaces
- Support for chosing from multiple applicable beautifiers
2015-04-29 04:50:09 -03:00
Glavin Wiechert 6204ebbff6 Closes #122. Add Titanium style Sheets (TSS) support
See #238.
2015-04-12 12:58:16 -03:00