rtext 0.9.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9e6e9cf51849833ea57ae6f44b6e1b56bc715af
4
- data.tar.gz: c63bf26429dee687a2ae1e07e63626a461a493f9
3
+ metadata.gz: 747355cc5b17bf91ec5a902b0be20b9b13639baf
4
+ data.tar.gz: 808497bcef84bfcb8e5a5f5d50b4b6cda109337a
5
5
  SHA512:
6
- metadata.gz: ebe766d35ad7ccb86a7ada1cd5344cf4463fb3318ff2cf40613294e462542b63b464e150f747abe33af2193c94fd747cf6a776c64dcdb0f7535aff55cc37e01d
7
- data.tar.gz: 7d576b493c98b55ff22a50e0bda0ed928adb765b032f7bf83fc10edc52e3e26e6067fce2aa6e6ae03b9d24358d7c7c964388030439599c057902130491721f5a
6
+ metadata.gz: 987cf234234bb2284fe9d7c030be5c7837667cf051701985c2634f0cbee14d77c0abe4cad9eb962dd66312c9d35b1020f0578931cccc8c9f0de4a2fa3ea08295
7
+ data.tar.gz: 5425d8b7189dd74db31d97df3123cee9d27fb59716d73913b2f3d993f79f354f561d26d1f1a6a175f8ab7cc4a813977428a602898ba5748a71d71d58700da630
data/CHANGELOG CHANGED
@@ -1,98 +1,108 @@
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
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 "Command3"
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 {
data/Rakefile CHANGED
@@ -1,46 +1,39 @@
1
- require 'rubygems/package_task'
2
- require 'rdoc/task'
3
-
4
- DocFiles = [
5
- "README.rdoc", "CHANGELOG", "MIT-LICENSE",
6
- "RText_Users_Guide",
7
- "RText_Protocol"]
8
-
9
- RTextGemSpec = Gem::Specification.new do |s|
10
- s.name = %q{rtext}
11
- s.version = "0.9.0"
12
- s.date = Time.now.strftime("%Y-%m-%d")
13
- s.summary = %q{Ruby Textual Modelling}
14
- s.email = %q{martin dot thiede at gmx de}
15
- s.homepage = %q{http://ruby-gen.org}
16
- s.description = %q{RText can be used to derive textual languages from an RGen metamodel with very little effort.}
17
- s.authors = ["Martin Thiede"]
18
- s.add_dependency('rgen', '>= 0.8.2')
19
- gemfiles = Rake::FileList.new
20
- gemfiles.include("{lib,test}/**/*")
21
- gemfiles.include(DocFiles)
22
- gemfiles.include("Rakefile")
23
- gemfiles.exclude(/\b\.bak\b/)
24
- s.files = gemfiles
25
- s.rdoc_options = ["--main", "README.rdoc", "-x", "test"]
26
- s.extra_rdoc_files = DocFiles
27
- end
28
-
29
- RDoc::Task.new do |rd|
30
- rd.main = "README.rdoc"
31
- rd.rdoc_files.include(DocFiles)
32
- rd.rdoc_files.include("lib/**/*.rb")
33
- rd.rdoc_dir = "doc"
34
- end
35
-
36
- RTextPackageTask = Gem::PackageTask.new(RTextGemSpec) do |p|
37
- p.need_zip = false
38
- end
39
-
40
- task :prepare_package_rdoc => :rdoc do
41
- RTextPackageTask.package_files.include("doc/**/*")
42
- end
43
-
44
- task :release => [:prepare_package_rdoc, :package]
45
-
46
- task :clobber => [:clobber_rdoc, :clobber_package]
1
+ require 'rubygems/package_task'
2
+
3
+ require 'rake'
4
+ require 'rdoc/task'
5
+
6
+ RTextGemSpec = eval(File.read('rtext.gemspec'))
7
+
8
+ gemfiles = Rake::FileList.new
9
+ gemfiles.include('{lib,test}/**/*')
10
+ gemfiles.include(DocFiles)
11
+ gemfiles.include('Rakefile')
12
+ gemfiles.exclude(/\b\.bak\b/)
13
+ RTextGemSpec.files = gemfiles
14
+
15
+ RDoc::Task.new do |rd|
16
+ rd.main = 'README.rdoc'
17
+ rd.rdoc_files.include(RTextGemSpec.extra_rdoc_files)
18
+ rd.rdoc_files.include('lib/**/*.rb')
19
+ rd.rdoc_dir = 'doc'
20
+ end
21
+
22
+ RTextPackageTask = Gem::PackageTask.new(RTextGemSpec) do |p|
23
+ p.need_zip = false
24
+ end
25
+
26
+ task :prepare_package_rdoc => :rdoc do
27
+ RTextPackageTask.package_files.include('doc/**/*')
28
+ end
29
+
30
+ task :release => [:prepare_package_rdoc, :package]
31
+
32
+ task :clobber => [:clobber_rdoc, :clobber_package]
33
+
34
+ require 'rake/testtask'
35
+
36
+ ::Rake::TestTask.new(:test) do |t|
37
+ t.test_files = ['test/rtext_test.rb']
38
+ t.warning = false
39
+ end