1
0
mirror of https://github.com/skuro/plantuml-mode.git synced 2024-06-28 07:40:58 +02:00
Commit Graph

87 Commits

Author SHA1 Message Date
Carlo Sciolla
56bb65342a
Updated changelog 2019-08-03 15:56:41 +02:00
Carlo Sciolla
15ced4ae26
Fix interactive plantuml-set-exec-mode
Fixes #97
2019-08-03 15:47:00 +02:00
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
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
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
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
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
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
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
Raymond Huang
da2c301c1a Add autoindent support (#75)
Add indent-line implementation
2018-08-14 23:08:29 +02:00
Carlo Sciolla
3df9bf31a7
Remove support for emacs 24 2018-08-14 21:59:34 +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
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
Carlo Sciolla
da9d39c947
#51 Evaluate the plantuml-java-args defcustom at compile time
`defcustom`s are not executed at byte-compile time. Wrapping the
`defcustom` in an `eval-and-compile` form does the trick.
2017-08-19 19:20:04 +02:00
Carlo Sciolla
4ba8359045
#60 Upgrading license to GPLv3+ 2017-08-18 12:17:57 +02:00
Carlo Sciolla
ecb4428218
#60 Upgrading license to GPLv3+ 2017-08-18 12:16:12 +02:00
Carlo Sciolla
6a210b7bb1
Try to test the install process 2017-07-08 11:35:40 +02:00
Carlo Sciolla
d24e464877
Prepare for release v1.2.3 2016-12-25 21:15:52 +01:00
Carlo Sciolla
4bdff5676d
#50 use UTF-8 in start-process; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 21:12:58 +01:00
Carlo Sciolla
2e9dc3acc1
prepare for v1.2.2 2016-12-25 21:10:59 +01:00
Carlo Sciolla
4931a52522
prepare for v1.2.1 2016-12-25 21:10:59 +01:00
Carlo Sciolla
7c7e620810
Prepping for v1.2.0 2016-12-25 21:10:59 +01:00
Carlo Sciolla
1db264f540
Prepare for v1.1.1 2016-12-25 21:10:59 +01:00
Carlo Sciolla
73442f1222 Merge pull request #47 from 7mamu4/add-interactive-parameter-for-region
plantuml-preview-region: add interactive parameter for region
2016-12-25 21:03:29 +01:00
Carlo Sciolla
eb380bac56
Prepare for release v1.2.3 2016-12-25 20:42:24 +01:00
Carlo Sciolla
b5e880790b
#50 use UTF-8 in start-process; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 19:31:01 +01:00
Matthias Müller
e140eba7b1 plantuml-preview-region: add interactive parameter for region
plantuml-preview-region:
Add the begin and end of the region to the parameters of function
This allows using the function programatically
without modification of the mark.

plantuml-preview:
Adjust plantuml-preview-region function call.
2016-11-12 01:48:47 +01:00
Carlo Sciolla
87417ad75b
prepare for v1.2.2 2016-11-11 11:05:24 +01:00
Carlo Sciolla
676f4b6040
Merge branch 'develop' 2016-11-11 11:03:54 +01:00
Carlo Sciolla
5cb8d2336a
merged with current develop branch 2016-11-11 11:03:04 +01:00
Carlo Sciolla
ba7420b587
prepare for v1.2.1 2016-11-11 09:19:47 +01:00
Carlo Sciolla
76a96af6e8
merged develop 2016-11-11 09:17:16 +01:00
Carlo Sciolla
673e524443
Expand file names before any shell-quote-argument happens to support ~ in paths 2016-11-11 09:12:58 +01:00
Carlo Sciolla
64af0f1cc3
Untabified 2016-11-11 08:53:52 +01:00
Carlo Sciolla
2716f27034 Prepping for v1.2.0 2016-11-09 12:21:12 +01:00
Carlo Sciolla
408ea2d48b Merge branch 'pr/42' into develop 2016-11-09 12:19:48 +01:00