Commit Graph

228 Commits

Author SHA1 Message Date
Carlo Sciolla 27d48942a6
🆕Multiple run modes, now including JAR and SERVER (#96)
It is now possible to support many execution modes, currently available are:

- `jar`: the traditional way of running PlantUML from `plantuml-mode`
- `server`: ask a [`plantuml-server`](https://github.com/plantuml/plantuml-server) instance to run the preview (defaults to https://www.plantuml.com/plantuml)
2019-05-31 10:53:40 +02:00
Carlo Sciolla 698a248549
Merge branch 'master' into develop 2019-05-10 08:58:43 +02:00
Carlo Sciolla a2617017fd
We actually use dash 2019-05-10 08:57:46 +02:00
Carlo Sciolla 8503f9d96a
Fixed relnotes 2019-05-09 22:07:35 +02:00
Carlo Sciolla 8f12855be9
Updated relnote 2019-05-09 22:06:21 +02:00
Carlo Sciolla c14684dc3a
Added capability to automatically download the PlantUML jar path (#95)
* Added capability to automatically download the PlantUML jar path

As an effort to ease the first user setup, a new function is added to download the latest
PlantUML JAR release into `plantuml-jar-path` from Maven central.
2019-05-09 22:04:51 +02:00
Carlo Sciolla 9bd2dc86aa
Added Stale for more prompt reactions and better housekeeping 2019-05-06 15:59:11 +02:00
Carlo Sciolla 689c6a6950
CI downloads plantuml (#94)
Fixes #73

Now the latest version of PlantUML is downloaded as part of the CI script. This has two consequences:

we always test against the latest and greatest PlantUML version.
PlantUML evolves at a much higher pace than plantuml-mode. This allows for some sanity check of our code with the upstream project.

builds are not reproducible
As a side effect of always downloading a (potentially) new PlantUML version, re-running the build for an old commit can lead to different outcomes. This is usually a big no-no but given the limited efforts currently spent on plantuml-mode I find it more convenient to immediately raise a flag if a new version of PlantUML causes issues.
2019-05-06 12:14:25 +02:00
Carlo Sciolla 92c490d3fc
New relnote addition 2019-05-03 17:52:26 +02:00
wailo 56f5cf7276 Improving preview functionality. No buffer switch. (#93)
* Improving preview functionality. No buffer switch.

- Using temp buffer instead of new buffer.
- Windows layout is retained. No need to switch buffer after every preview
2019-05-03 17:50:55 +02:00
Carlo Sciolla 2b84a2df52
Upped version 2019-03-16 12:58:06 +01:00
Carlo Sciolla 0e54f437f6
Added tests for Information Engineering (IE) notation 2019-03-16 12:55:56 +01:00
ReneSchmelzer ef4eecefae Rsch/indentation/multiple start regexs (#88)
* fix version

* split indentation rexgexs

Split the regexs as a preparation for improvement and enhancement.
No explicit enhancement was intended, although the
`plantuml-indent-regexp-block-start' covers more blocks now.

* enhance and test regexs for groups

Changed `plantuml-indent-regexp-group-start' to cover all cases
mentioned on sequence diagram page of the plantuml website. Added
tests for all elements-with and without label (text following the
keyword).

* add support and test for box/end box blocks

* indentation test for a nested interface block

* correction of () at end of file

* indentation test for deployment diagram

* file “Cask”: added dependency to dash

* indentation tests for diagram commons

* add indentation tests for component diagrams

* regex corrections and added indentation tests for class diagrams

correct indentation regexs found by tests for class diagrams

* add indentation tests for object diagrams

* add indentation tests for state diagrams

* enhance indentation class diagram test: abstract class and interface

* move indentation tests to diagram test files

* mv test/plantuml-indentation-test.el -> test/plantuml-indentation-basics-test.el

* add indentation sequence diagram tests and mv basics tests to diagram tests

* add indentation for ref-groups

* improved indentation for ref-groups

* support indentation for activity diagrams - current/old style

* indentation support for notes

* rm not used regexs

* indentation support for plantuml macros

* correction: … → etc.
2019-03-16 10:53:17 +01:00
Carlo Sciolla 366ecb605a
Support block indentation for abstract classes
Fixes #83
2019-01-08 23:06:58 +01:00
Carlo Sciolla de5d9b3dd7
Keep docu for new changes 2019-01-08 22:51:24 +01:00
Carlo Sciolla 56d668c54e
Added extra keywords to the indentation block start regex
Keywords added:
- `folder`
- `frame`
- `cloud`

Fixes #78
2019-01-08 22:47:51 +01:00
Carlo Sciolla 0374482cf7
Added new version note 2019-01-07 22:25:02 +01:00
Carlo Sciolla 6c0b9634bd
minor code formatting stuff 2019-01-07 22:15:02 +01:00
ReneSchmelzer ae97b806bc Rsch/indentation/fix and enhance (#85)
* fixed indentation code and added de-/activate to indentation

* added tests for indentation changes

* changed indentation code and tests

- more changes to plantuml-indent-regexs
- added more test
- changed function to determine indentation level and tests accordingly
- changed plantuml-indent-line and tests accordingly
- changed test names and doc strings to be more consistent

* more indentation tests, corrected regex for par block

- the par block usually does not have any label
- added database to start regex and added a test
- added block tests
2019-01-07 21:23:04 +01:00
niklascarlsson 49f707b20c Rewrite start-process to remove eval-and-compile (#82)
Wrapping the defcustoms in eval-and-compile made the code compileable
but not customizable for the user.

Rewriting the start-process into a function instead of a macro makes it
possible to remove the eval-and-compiles.
2019-01-07 21:15:41 +01:00
Carlo Sciolla b358a53bb0
Be fairer to the codecov 2018-08-16 13:35:27 +02:00
Carlo Sciolla 82ab084c86
Proper changelog needs to include indentation support 2018-08-16 12:12:47 +02:00
Alpha TAN f416fe76f2
1) Fixed the comiling error when installing with melpa, surround the `defcustom-list` with `(eval-and-compile ...)` block ; 2) update the version number to 1.2.7 ; 2018-08-16 12:03:29 +02:00
Carlo Sciolla 7d09b36773
Remove all compilation warnings 2018-08-16 12:02:30 +02:00
Carlo Sciolla 6c0455b5e2
Make indentation work 2018-08-16 11:32:44 +02:00
Carlo Sciolla 5c8a95850b
Allow custom jar location for test execution
Tests are still broken though
2018-08-16 09:25:24 +02:00
Raymond Huang da2c301c1a Add autoindent support (#75)
Add indent-line implementation
2018-08-14 23:08:29 +02:00
Carlo Sciolla c5b8d63612
Skipping tests against Emacs master 2018-08-14 22:56:58 +02:00
Carlo Sciolla 3df9bf31a7
Remove support for emacs 24 2018-08-14 21:59:34 +02:00
Carlo Sciolla 9d6b6a03a6
More descriptive steps + ensure Cask is found on path
See https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables
2018-08-14 21:52:16 +02:00
Carlo Sciolla 4f4b8ffe91
Command changed, need to sync up the test 2018-08-14 21:42:28 +02:00
Carlo Sciolla 9445f0db7d
Install prerequisite software 2018-08-14 21:34:27 +02:00
Carlo Sciolla 6a515fc360
Add make to the list of installed packages 2018-08-14 21:28:13 +02:00
Carlo Sciolla ecc9b14af7
Merge pull request #74 from alphatan/master
Custom variable `plantuml-jar-args` to control which arguments are passed to PlantUML jar
2018-08-11 11:53:47 +02:00
Alpha TAN 2c1d5a33a6 1) Introduced custom variable `plantuml-jar-args' to control which arguments are passed to PlantUML jar ; 2) Fix the warning of failing to specify types of 'defcustom' variables ; 2018-07-17 15:03:32 +08:00
Carlo Sciolla cfb408fc84
Removed travis, moved to CircleCI 2018-03-18 23:12:47 +01:00
Carlo Sciolla 06725c7ce7
Disable broken test
Unicode testing appears to be broken only when run under ERT runner
2018-03-18 23:05:31 +01:00
Carlo Sciolla 877afb3292
there is no ecukes yet 2018-03-18 23:05:31 +01:00
Carlo Sciolla 2677913ec3
Fix build 2018-03-18 23:05:31 +01:00
Carlo Sciolla 07c90ab258
Need java for pretty much everything 2018-03-18 23:05:31 +01:00
Carlo Sciolla 75ffccdc91
Support CircleCI
And by the way, use coveralls.io
2018-03-18 23:05:31 +01:00
Carlo Sciolla 788f64dd5f
Merge pull request #67 from Sunhick/master
updated plantuml.jar binary
2018-03-18 23:04:27 +01:00
Sunil 71acb1cf87
updated plantuml.jar binary
Brings in new plantuml features like support for monochrome etc.
2018-02-15 20:45:19 -08:00
Carlo Sciolla fce628885b
Initialize plantuml-mode before tests 2017-08-19 21:46:16 +02:00
Carlo Sciolla 03fef302ec
Done with merge stuff 2017-08-19 21:40:04 +02:00
Carlo Sciolla dee0a46c08
Fixed Makefile after merge 2017-08-19 21:33:34 +02:00
Carlo Sciolla 2b1b6055fc
Fixed travis configuration after merge 2017-08-19 21:27:33 +02:00
Carlo Sciolla 5a2e8d0dd2
Merged with develop 2017-08-19 19:33:36 +02:00
Carlo Sciolla 445d853211
Extra docs for latest releases 2017-08-19 19:31:30 +02:00
Carlo Sciolla 3e017a1a3a
Merge branch 'fix/51' into develop 2017-08-19 19:23:25 +02:00