-
Notifications
You must be signed in to change notification settings - Fork 64
/
Changes
259 lines (259 loc) · 10.8 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
8ebc53cf1ed6c53ee793e31611829fa57ae7c06d
Modules: System.Process.Vimproc
Documents as wrote seconds, but it was actually treated as milliseconds.
Fix inner timeout unit, timeout set as seconds, call function as milliseconds at value x1000.
97e8cf8b230cd69720e130742859b51f5761196c
Modules: Web.HTTP
Added python3 to HTTP client, and refined its default value.
Now 'python' client selects python3 or python2 automatically (python3 has a higher priority).
b2dd494bd56486ef898fdb49467e5763e81cde71
Modules: Text.TOML
TOML support version v0.4.0 compliant -> v0.5.0 compliant
3c5655f9ae6682364a134e371809fcc0946bcf7f
Modules: Data.String
Bugfix nsplit() not keeping empty strings for cetain cases even with keepempty arg.
See https://github.com/vim-jp/vital.vim/issues/704 for the details
e18013b1596819eabe87e6c87e0622f526ad85c8
Modules: *
Drop Vim 8.0 support.
613c6cc1f26e21bfc222d691960f4b89c5b64019
Modules: Data.Base64
Refactoring: core logic move to Data.Base64.Base64.
Base implements in Data.Base64.RFC4648.
Data.Base64 is refine to wrapper IF module.
a7101eba3d7bc04869fd9927a6352a0d18b0abd1
Modules: Data.Base32
Refactoring: core logic move to Data.Base32.Base32.
Base implements in Data.Base32.RFC4648.
Data.Base32 is refine to wrapper IF module.
2690a79e5110ec347131de6a634a944d841b5d9e
Modules: Prelude
Prelude.escape_file_searching() is gone. Use `escape(buffer_name, '*[]?{}, ')` instead.
a9a3520e4b48c020a3c4802578e10e9682738e7a
Modules: Data.Collection
Data.Collection is gone. If you used Data.Collection.get_f, replace it with following:
s:C.get_f(c, k, o) -> has_key(c, k) ? c[k] : function(o)()
e95e7692800046598367fe40559e31e1ef96a2ca
Modules: Hash.MD5
Hash.MD5.sum_raw won't destroy the argument.
4fc7b6ea0ca8d7f1da1b08e49268e721901f55d9
Modules: Data.Optional
Data.Optional.flatten will extract only once.
The origin moves to .deep_flatten().
3d60a4ce079fd0d4e123cbcea787a1769cab7572
Modules: Data.Optional
Data.Optional.get_or will expect a function as {alternative}.
It was expecting a value as {alternative}.
1a595b4d77d518b1cb60b36d1eac7cfde61d94f9
Modules: Deprecated.ProcessManager
Remove completely
1c4b7773fcc6b00a62f78b8f5788a2d22e92131f
Modules: Text.Sexp
Rename Text.Sexp to Deprecated.Text.Sexp which is going to be removed
b471130d09ac4779544c5719a140798fe6924b67
Modules: Lua.Prelude
Rename Lua.Prelude to Deprecated.Lua.Prelude which is going to be removed
eda83ccae4654265ef118569dcae39fd30d3c0d5
Modules: Data.String
Ref: https://github.com/vim-jp/vital.vim/pull/575
trim(), trim_start(), trim_end() were changed to remove [:space:] characters ([ \t\r\n\v\f]).
Before, the functions removed only [:blank:] characters ([ \t]).
If you want the previous behavior, replace code like:
String.trim(str) -> matchstr(str, '^\s*\zs.{-}\ze\s*$')
c680503cd8e48f7b1c21903ed14ffe75cb56c3f4
Modules: *
The obsolete file "autoload/vital.vim" is no longer installed
and "vital#of()" is no longer available.
Please use "vital#{plugin}#new()" instead.
73c929cdec441673d6df6ffa3cb450346dd5f0c4
Modules: ProcessManager, Deprecated.ProcessManager
Rename ProcessManager to Deprecated.ProcessManager which is going to be removed
f357fe99366e99cf0ae953303b7e3ea54b408df4
Modules: Vim.BufferManager
A value of 'newwin' returned 1 when a buffer was opened in an existing window.
This commit reverses the value of 'newwin' to follow the document.
b2e60b8ac7907f716950455efdb51ceff4e637a8
Modules: Random.Xor128
The algorithm of the initializer was changed to improve the randomness.
Now 'seed([0, 1])' and 'seed([1, 0])' generate distinct sequences.
Note that the output differs from the previous, even with the same seed.
0b1b82a4087c470d04e8676f305d317728a83e60
Modules: Random.Xor128
The algorithm of the initializer was changed to improve the randomness.
Now 'srand(0)' and 'srand(1)' generate completely different sequences.
Note that the output differs from the previous, even with the same seed.
71aba2ebe0ad1cbfb888d8349ec95e7b79b1e88c
Modules: Vim.BufferManager
The following deprecated functions were removed.
- open()
- is_cmdwin()
Use Vim.Buffer's one instead.
aabb291268c0977e1444b0901e816db4467d6806
Modules: *
'vital#{plugin-name}#of()' was renamed to 'vital#{plugin-name}#new()'.
982d3cb87ef788f4607fc61f1fd20ec2e3975479
Modules: Vim.Guard
Guard.store() API has changed to take a single List instance instead of arguments, due to the
limitation of arguments (See E740).
e.g. Guard.store(A, B, C) -> Guard.store([A, B, C])
6703d4694c3bc0f23d7eb01b1bf79f85902a5edf
Modules: Web.URI
URI.path() behavior is changed to not prepend '/' for empty path.
e.g.: http://example.com
But URI.canonicalize() does this.
b2fd058b94361ca0a9b982f2ba8976dd4f8cda20
Modules: Web.URI
All URI object methods behavior with arguments(setter) are changed to return URI object itself.
b96e772738125ad23b9a396761ab2e37be3b0b2e
Modules: Web.URI
All URI object methods behavior are changed to throw an exception for invalid arguments.
3ba9447aef5b2a2ffc9899f0d240333bc075afa5
Modules: System.Cache
System.Cache is replaced with a new version.
The old version was moved into System.Cache.Deprecated and become deprecated.
1c545a392ab03a373f0c7f0ee85c80ed9ba0608c
Modules: Prelude
Below functions were moved to Data.String module (#295) and they are marked as
deprecated in Prelude. They will be removed in the near future.
- truncate_skipping()
- truncate()
- strwidthpart()
- strwidthpart_reverse()
- wcswidth()
83a2dbff054dde52cffe54684deaf3aa0b6306bd
Modules: Prelude
Removed below deprecated functions:
- truncate_smart()
- set_dictionaryhelper()
24877cc2268a9d19cca6cccb5e4fb6d58ae760d3
Modules: Data.List
permutations({list}[, {r}]) behavior is changed not to support string input as {list}.
24b96f52838e3d3da0410346c38b34c1246e4659
Modules: Vim.Buffer
's:get_selected_text()' is deprecated. Use 's:get_last_selected()'.
47f7c5bc495e433bad743b0072f2767f9765bfc7
Modules: Web.JSON
encode({val}) and decode({val} [, {settings}]) behaviors are changed to
support 'true', 'false', and 'null' tokens.
encode({val}) returns 'true', 'false', or 'null' when the corresponding
tokens (e.g. Web.JSON.true) are specified.
decode({val} [, {settings}]) returns Web.JSON.true, Web.JSON.false, or
Web.JSON.null for the corresponding javascript tokens when {'use_token': 1}
is specified in a {settings} argument. Otherwise it returns 1, 0, 0
respectively.
The tokens (e.g. Web.JSON.true) are represented as a Funcref which returns
a corresponding number (true=1, false=0, null=0).
dab52f0e9c4feb913aab7a79c83a3f341ffef746
Modules: Prelude
print_error() is removed; this has been deprecated since f82a6fc
86a8abd02fdb045d2285b0c5912accb386cdd137
Modules: Data.List
uniq() with 2nd argument is removed (it has been deprecated.)
d62f1b7c5191711f046fcee970952f5bd6b015e0
Modules: OptionParser
Arguments of on() Funcref is changed.
on({name}, {short}, {description})
-> on({name}, {description}, {extra})
5d02123e6a1fe7939bc9a079102ac79b7773355e
Modules: *
Prelude module becomes optional.
If you use the feature of Prelude module,
you must use ":Vitalize" command with "+Prelude"
88b8aa620dd3067a784a81ffc81c64106a521a9c
Modules: ProcessManager
Removed deprecated stop()
5d9134d69f81fc720eb1ffe016af47e6cb3bcd17
Modules: Prelude
'Prelude.{iconv,has_vimproc,system,get_last_status}()'
are moved to Process module.
3a85a26e9cd77a64a909ab547f9484477c55c728
Modules: Data.List
Data.List: Removed deprecated max() and min().
960f5f45af90fc05c006358a99445fb6cf0fa51a
Modules: Data.List
uniq() with 2nd argument is deprecated. Please use uniq_by() instead.
f82a6fc3f8b17f9492980b26d49dadf93bf3a915
Modules: Prelude
print_error() is deprecated. Please use Vim.Message.error() instead.
40718a70c4624407978833672e09fdd0e255b1f1
Modules: Prelude
Removed obsolete is_integer().
39974f30128578a41a4a8e379f77a39f94603f88
Modules: Vim.BufferManager, Vim.Buffer
move open() from Vim.BufferManager to Vim.Buffer,
with deprecating BufferManager's one
1eadb4b9c63aa2339fa7023b602bdf9fa0d61fcf
Modules: ProcessManager
Abandon ProcessManager.new(). Use its touch() instead.
36985f8aea11d924db85573cb0f0da325809b86d
Modules: ProcessManager
ProcessManager.stop() is now deprecated.
Use ProcessManager.kill() and ProcessManager.term() instead.
Previous stop() is same to kill().
7998c7cb1ab3a263a47dd6de0fe51fb91dae06ab
Modules: Prelude
path2project_directory recognize git submodule.
114b44e70a14d267b8b66bfc0ade2988144c3a42
Modules: *
If file 'Prelude' exists in current directory,
vital#of('...') causes an error.
** All plugins using vital.vim must upgrade. **
6304a3a8bdb104143949105aa9d9d3e908248ae3
Modules: System.File
System.File: several functions were renamed:
* move_file() => move()
* move_file_exe() => move_exe()
* move_file_pure() => move_vim()
* copy_file() => copy()
* copy_file_exe() => copy_exe()
* copy_file_pure() => copy_vim()
baed85e162268696cae4f1bdacacbd64ed26a9c3
Modules: System.File
System.File: rmdir() removes an empty directory not a file
when no 2nd arg or 'r' flag was given.
e5d291cb308e54b271dabb6a45dd3b41c646b35d
Modules: Data.String
Data.String: replace_once() -> replace_first(). Just renamed.
e4e622e6d2e35dbe638f41cb67156e6291788851
Modules: Data.List
Data.List: max() -> max_by(), min() -> min_by(). Just renamed.
619e9eabd0964b75ad055e70be7b423eb58f7431
Modules: Prelude
Prelude.truncate_smart() -> truncate_skipping(). Just renamed.
ad68a833f5619c4acc4a3b522cf1efe87604b8cd
Modules: Prelude
Prelude.is_integer() -> Prelude.is_number(). Just renamed.
6e456e7add068c89f0595956248fc7e8e0ab3a5a
Modules: System.Cache
System.Cache.delete() -> System.Cache.deletefile(). Just renamed.
6b937ab6754622fe1e5f7fd69f81434a8991ae78
Modules: System.Cache
System.Cache.create_hash() is no longer public.
8d5b0efe3bea9cf3ba01c33cdbb4e3df50447444
Modules: Web.Http, Web.Html, Web.Xml, Web.Json, Text.Ltsv, Database.Sqlite
Drastic changes, now vital.vim cease to treat foo_bar.vim as FooBar.
Following module are renamed:
Web.Http => Web.HTTP
Web.Html => Web.HTML
Web.Xml => Web.XML
Web.Json => Web.JSON
Text.Ltsv => Text.LTSV
Database.Sqlite => Database.SQLite
83a6526faa1f107276249107f7467d770a9e7746
Modules: Vim.Buffer.Manager
Vim.Buffer.Manager was removed completely (it was deprecated.)
d378af355128fb77c34c1bd1c1dd400b26e3f32f
Modules: Prelude
'Prelude.{iconv,has_vimproc,system}()' are deprecated.
(not removed but will be removed after a while)
use 'Process.{iconv,has_vimproc,system}()' instead.
572a2db7de20a8abb68ab34e46be1e392743075a
Modules: Prelude
Removed Prelude.strchars(). use Data.String.strchars() instead.
ce22f3b7b29b90d80b0ecf9a738d7ad95a342406
Modules: Vim.Buffer.Manager
Vim.Buffer.Manager was moved to Vim.BufferManager
0c769859642e727a5e75b2dfc03a20fc75d87532
Modules: *
A version file '*.vital' contains '\r'.
** All plugins using vital.vim must upgrade. **