rtext 0.9.0 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +113 -98
- data/Project.yaml +14 -0
- data/RText_Protocol +1 -1
- data/lib/rtext/default_completer.rb +212 -208
- data/lib/rtext/frontend/connector.rb +122 -55
- data/lib/rtext/instantiator.rb +11 -3
- data/lib/rtext/service.rb +264 -260
- metadata +18 -44
- data/Rakefile +0 -46
- data/test/completer_test.rb +0 -607
- data/test/context_builder_test.rb +0 -949
- data/test/frontend/context_test.rb +0 -302
- data/test/instantiator_test.rb +0 -1733
- data/test/integration/backend.out +0 -16
- data/test/integration/crash_on_request_editor.rb +0 -12
- data/test/integration/ecore_editor.rb +0 -50
- data/test/integration/frontend.log +0 -40058
- data/test/integration/model/invalid_encoding.invenc +0 -2
- data/test/integration/model/test.crash_on_request +0 -18
- data/test/integration/model/test.crashing_backend +0 -18
- data/test/integration/model/test.dont_open_socket +0 -0
- data/test/integration/model/test.invalid_cmd_line +0 -0
- data/test/integration/model/test.not_in_rtext +0 -0
- data/test/integration/model/test_large_with_errors.ect3 +0 -43523
- data/test/integration/model/test_metamodel.ect +0 -24
- data/test/integration/model/test_metamodel2.ect +0 -5
- data/test/integration/model/test_metamodel3.ect4 +0 -7
- data/test/integration/model/test_metamodel_error.ect2 +0 -3
- data/test/integration/model/test_metamodel_ok.ect2 +0 -18
- data/test/integration/test.rb +0 -968
- data/test/link_detector_test.rb +0 -288
- data/test/message_helper_test.rb +0 -117
- data/test/rtext_test.rb +0 -11
- data/test/serializer_test.rb +0 -1024
- data/test/tokenizer_test.rb +0 -174
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a5cc8d9398e6453bbc549caf640e38dabf76b56
|
4
|
+
data.tar.gz: bf45a3cb45e7dda6964b516ff71ad6f09ac02ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6330b11b5cd1f8fa761db136ef272aa07d0994c1fef3739a8a689d0b28dfd5d363196fdf6ea04b8d7319d863f21c4ee3c875b59409a04b93e825d3abf782fe7
|
7
|
+
data.tar.gz: c61c3e48987ec0dc6ea4cebdfeb381764e5447ccda48cd6634158611ebb6a18f80a747c92fb748c582cd3344edb6eb87e8c30acf1dffaedb0c07650fa4b59485
|
data/CHANGELOG
CHANGED
@@ -1,98 +1,113 @@
|
|
1
|
-
=0.2.0
|
2
|
-
|
3
|
-
* First public release
|
4
|
-
|
5
|
-
=0.3.0
|
6
|
-
|
7
|
-
* Added context sensitive commands
|
8
|
-
* Show child role lables in auto completer
|
9
|
-
* Show unlabled arguments in auto completer
|
10
|
-
* Show only arguments in auto completer which don't have a value yet
|
11
|
-
* Fixed auto completion within array values
|
12
|
-
* Fixed generation of child role labels in serializer
|
13
|
-
* Added :after_load hook to DefaultLoader
|
14
|
-
* Added result limit option to DefaultServiceProvider
|
15
|
-
* Removed short_class_names option from Language
|
16
|
-
|
17
|
-
=0.4.0
|
18
|
-
|
19
|
-
* Made instantiator a lot more robust against parse errors
|
20
|
-
* Added DefaultLoader option to not reload fragments with errors
|
21
|
-
* Added service load progress indication and custom problem severity
|
22
|
-
* Fixed serialization of enum literals starting with a digit
|
23
|
-
* Fixed used port detection in service
|
24
|
-
* Fixed completion option order to match order defined in lanugage
|
25
|
-
|
26
|
-
=0.5.0
|
27
|
-
|
28
|
-
* Added annotations
|
29
|
-
* Added generic value support
|
30
|
-
* Added RText frontend support (for Ruby based RText plugins and testing)
|
31
|
-
* Changed frontend/backend protocol to JSON over TCP
|
32
|
-
* Generally improved completer and context builder, fixed bugs, added tests
|
33
|
-
* Added automated frontend/backend tests
|
34
|
-
* Added example language (ECore editor)
|
35
|
-
* Added configurable backward reference attribute
|
36
|
-
* Fixed backward reference resolution in case line ends with name attribute
|
37
|
-
* Added more information to unlabled value completion options
|
38
|
-
* Added backend service support for lanugage exchange at runtime
|
39
|
-
* Extended support for relative reference calculation and resolution
|
40
|
-
* Added on_progress hook to default_loader
|
41
|
-
* Added explicit handling of encoding
|
42
|
-
* Improved backend service progress reporting
|
43
|
-
* Fixed backward reference list to not include opposites of forward references
|
44
|
-
* Fixed problem with backend service socket connection on some machines
|
45
|
-
|
46
|
-
=0.5.1
|
47
|
-
|
48
|
-
* Fixed service connection problem when ports are in use by other processes
|
49
|
-
|
50
|
-
=0.5.2
|
51
|
-
|
52
|
-
* Fixed exception in default service provider when trying to follow a reference on an attribute value
|
53
|
-
* Ignore BOM in instantiator
|
54
|
-
|
55
|
-
=0.5.3
|
56
|
-
|
57
|
-
* Fixed completion of enum values which need to be quoted
|
58
|
-
* Added support for BigDecimal
|
59
|
-
|
60
|
-
=0.6.0
|
61
|
-
|
62
|
-
* Changed service provider interface to allow for more customization
|
63
|
-
* Changed Completer into DefaultCompleter to allow for customization
|
64
|
-
* Added labeled_containments language parameter
|
65
|
-
* Made DefaultLoader robust against missing files
|
66
|
-
|
67
|
-
=0.7.0
|
68
|
-
|
69
|
-
* Added DefaultResolver and support for custom resolvers for DefaultLoader and DefaultServiceProvider
|
70
|
-
* Changed instantiator on_progress proc to take a second argument with the number of progress steps
|
71
|
-
* Changed tokenizer to start new tokens immediately after error tokens
|
72
|
-
* Fixed line number in instantiator problem report for multiple childs in one-role
|
73
|
-
* Fixed unit tests for Ruby 2.0
|
74
|
-
* Fixed context builder prefixes for strings
|
75
|
-
* Fixed DefaultLoader to let fragments calculate their elements list by themselves
|
76
|
-
* Minor performance improvements, mainly for instantiator and when passing large RText messages
|
77
|
-
* Improved performance of frontend connector especially for large amounts of data
|
78
|
-
|
79
|
-
=0.8.0
|
80
|
-
|
81
|
-
* Added line breaks support
|
82
|
-
* Fixed problem when there is no whitespace before a curly bracket
|
83
|
-
* Fixed problem when loading frontend context extractor in vim
|
84
|
-
|
85
|
-
=0.8.1
|
86
|
-
|
87
|
-
* Fixed frontend content extraction to support line breaks with backslash
|
88
|
-
* Fixed frontend content extraction, joining of broken lines
|
89
|
-
|
90
|
-
=0.8.2
|
91
|
-
|
92
|
-
* Fixed serializer negative decimal quotation
|
93
|
-
* Added Object attribute test case
|
94
|
-
|
95
|
-
=0.9.0
|
96
|
-
|
97
|
-
* Added protocol versioning support
|
98
|
-
* Added completion options for square brackets and curly braces
|
1
|
+
=0.2.0
|
2
|
+
|
3
|
+
* First public release
|
4
|
+
|
5
|
+
=0.3.0
|
6
|
+
|
7
|
+
* Added context sensitive commands
|
8
|
+
* Show child role lables in auto completer
|
9
|
+
* Show unlabled arguments in auto completer
|
10
|
+
* Show only arguments in auto completer which don't have a value yet
|
11
|
+
* Fixed auto completion within array values
|
12
|
+
* Fixed generation of child role labels in serializer
|
13
|
+
* Added :after_load hook to DefaultLoader
|
14
|
+
* Added result limit option to DefaultServiceProvider
|
15
|
+
* Removed short_class_names option from Language
|
16
|
+
|
17
|
+
=0.4.0
|
18
|
+
|
19
|
+
* Made instantiator a lot more robust against parse errors
|
20
|
+
* Added DefaultLoader option to not reload fragments with errors
|
21
|
+
* Added service load progress indication and custom problem severity
|
22
|
+
* Fixed serialization of enum literals starting with a digit
|
23
|
+
* Fixed used port detection in service
|
24
|
+
* Fixed completion option order to match order defined in lanugage
|
25
|
+
|
26
|
+
=0.5.0
|
27
|
+
|
28
|
+
* Added annotations
|
29
|
+
* Added generic value support
|
30
|
+
* Added RText frontend support (for Ruby based RText plugins and testing)
|
31
|
+
* Changed frontend/backend protocol to JSON over TCP
|
32
|
+
* Generally improved completer and context builder, fixed bugs, added tests
|
33
|
+
* Added automated frontend/backend tests
|
34
|
+
* Added example language (ECore editor)
|
35
|
+
* Added configurable backward reference attribute
|
36
|
+
* Fixed backward reference resolution in case line ends with name attribute
|
37
|
+
* Added more information to unlabled value completion options
|
38
|
+
* Added backend service support for lanugage exchange at runtime
|
39
|
+
* Extended support for relative reference calculation and resolution
|
40
|
+
* Added on_progress hook to default_loader
|
41
|
+
* Added explicit handling of encoding
|
42
|
+
* Improved backend service progress reporting
|
43
|
+
* Fixed backward reference list to not include opposites of forward references
|
44
|
+
* Fixed problem with backend service socket connection on some machines
|
45
|
+
|
46
|
+
=0.5.1
|
47
|
+
|
48
|
+
* Fixed service connection problem when ports are in use by other processes
|
49
|
+
|
50
|
+
=0.5.2
|
51
|
+
|
52
|
+
* Fixed exception in default service provider when trying to follow a reference on an attribute value
|
53
|
+
* Ignore BOM in instantiator
|
54
|
+
|
55
|
+
=0.5.3
|
56
|
+
|
57
|
+
* Fixed completion of enum values which need to be quoted
|
58
|
+
* Added support for BigDecimal
|
59
|
+
|
60
|
+
=0.6.0
|
61
|
+
|
62
|
+
* Changed service provider interface to allow for more customization
|
63
|
+
* Changed Completer into DefaultCompleter to allow for customization
|
64
|
+
* Added labeled_containments language parameter
|
65
|
+
* Made DefaultLoader robust against missing files
|
66
|
+
|
67
|
+
=0.7.0
|
68
|
+
|
69
|
+
* Added DefaultResolver and support for custom resolvers for DefaultLoader and DefaultServiceProvider
|
70
|
+
* Changed instantiator on_progress proc to take a second argument with the number of progress steps
|
71
|
+
* Changed tokenizer to start new tokens immediately after error tokens
|
72
|
+
* Fixed line number in instantiator problem report for multiple childs in one-role
|
73
|
+
* Fixed unit tests for Ruby 2.0
|
74
|
+
* Fixed context builder prefixes for strings
|
75
|
+
* Fixed DefaultLoader to let fragments calculate their elements list by themselves
|
76
|
+
* Minor performance improvements, mainly for instantiator and when passing large RText messages
|
77
|
+
* Improved performance of frontend connector especially for large amounts of data
|
78
|
+
|
79
|
+
=0.8.0
|
80
|
+
|
81
|
+
* Added line breaks support
|
82
|
+
* Fixed problem when there is no whitespace before a curly bracket
|
83
|
+
* Fixed problem when loading frontend context extractor in vim
|
84
|
+
|
85
|
+
=0.8.1
|
86
|
+
|
87
|
+
* Fixed frontend content extraction to support line breaks with backslash
|
88
|
+
* Fixed frontend content extraction, joining of broken lines
|
89
|
+
|
90
|
+
=0.8.2
|
91
|
+
|
92
|
+
* Fixed serializer negative decimal quotation
|
93
|
+
* Added Object attribute test case
|
94
|
+
|
95
|
+
=0.9.0
|
96
|
+
|
97
|
+
* Added protocol versioning support
|
98
|
+
* Added completion options for square brackets and curly braces
|
99
|
+
|
100
|
+
=0.9.1
|
101
|
+
|
102
|
+
* Fixed backward compatibility issues
|
103
|
+
|
104
|
+
=0.9.2
|
105
|
+
|
106
|
+
* Fixed frontend connector
|
107
|
+
* Fixed frontend tests
|
108
|
+
* Automatic conversion of integer and float values to string
|
109
|
+
|
110
|
+
=0.9.3
|
111
|
+
|
112
|
+
* Fixed frontend log file path issue
|
113
|
+
|
data/Project.yaml
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
name: rtext
|
2
|
+
version: 0.9.3
|
3
|
+
git: https://github.com/mthiede/rtext.git
|
4
|
+
summary: Ruby Textual Modelling
|
5
|
+
email: martin dot thiede at gmx de
|
6
|
+
homepage: http://ruby-gen.org
|
7
|
+
description: RText can be used to derive textual languages from an RGen metamodel with very little effort.
|
8
|
+
authors: [Martin Thiede]
|
9
|
+
dependencies:
|
10
|
+
http://rubygems.org:
|
11
|
+
- {name: rgen, version: '~> 0.8.0'}
|
12
|
+
rdoc_options: [--main, README.rdoc, -x, test]
|
13
|
+
extra_rdoc_files: [README.rdoc, CHANGELOG, MIT-LICENSE, RText_Users_Guide, RText_Protocol]
|
14
|
+
encrypt_sources: false
|
data/RText_Protocol
CHANGED
@@ -501,7 +501,7 @@ the parent commands wrapped around it. Any sibling commands can be omitted as we
|
|
501
501
|
any lines containing closing braces and brackets. The order of lines is the same as in the
|
502
502
|
RText file.
|
503
503
|
|
504
|
-
Here is an example. Consider the following RText file with the cursor in the line of "
|
504
|
+
Here is an example. Consider the following RText file with the cursor in the line of "Command5"
|
505
505
|
at the time when the auto completion command is issued.
|
506
506
|
|
507
507
|
Command1 {
|