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

105 Commits

Author SHA1 Message Date
Carlo Sciolla
4349011ed7
Aesthitics, just aesthetics 2019-09-03 23:06:46 +02:00
Carlo Sciolla
2954c15322
Fix emacs 26 build 2019-09-03 23:06:46 +02:00
Carlo Sciolla
a6545435cd
Bumping java version for CI 2019-09-03 23:06:46 +02:00
Carlo Sciolla
1a11576f4a
Bump version after release 2019-09-03 23:06:45 +02:00
Carlo Sciolla
df0d718981
Prepping for the new release 2019-09-03 23:06:45 +02:00
Carlo Sciolla
271f468edd
Bump version 2019-09-03 23:06:45 +02:00
Carlo Sciolla
b0be4182fb
Fix tests 2019-09-03 23:06:44 +02:00
Carlo Sciolla
76b14086e8
Ignore java warnings 2019-09-03 23:06:44 +02:00
Carlo Sciolla
f04480dcba
Use UTC timezone when setting dates, to align with MELPA 2019-09-03 23:06:44 +02:00
Carlo Sciolla
2bd72f7ae6
Use car instead of first 2019-09-03 23:06:43 +02:00
Carlo Sciolla
60e4d3ec6e
Better version management 2019-09-03 23:06:43 +02:00
Felix Weilbach
7eb6167eb8
Added run mode EXECUTABLE (#102) 2019-09-03 23:06:42 +02:00
Michael Steiner
cbd7fa4c6b - give user some control to override in comments level of indentation
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
2019-08-12 12:01:26 -07:00
Michael Steiner
80b554e871 - allow for white-space and comments after all begin/end indent regexps
- make end indent regexp symmetrical to being regexp allowing for selective
  change (e.g., disactivation via non-matching regexp) what is leads to
  indentation

Signed-off-by: Michael Steiner <michael.steiner@intel.com>
2019-08-12 12:01:12 -07:00
Michael Steiner
c32493229d more robust matching of notes
Signed-off-by: Michael Steiner <michael.steiner@intel.com>
2019-08-12 10:17:50 -07:00
Carlo Sciolla
1e5f8beedd
Fix switching between modes (#104)
Giving a default value to `plantuml-exec-mode` local var at startup time
is wrong. This change keeps the local var to `nil` and resorts to the
customizable `plantuml-default-exec-mode`. The local var can be set by users
at will on a buffer local level, but without such an explicit opt-in then the
default value is always used
2019-08-12 17:40:00 +02:00
Carlo Sciolla
d11bd57f31
Removed broken link 2019-08-12 17:14:45 +02:00
Carlo Sciolla
0ae3aed095
Avoid breaking long lines on base64 encoding
Spotted by @alexvs11 as a solution to #101
2019-08-03 16:03:25 +02:00
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