Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 372 lines (324 sloc) 13.612 kb
f7a4301 @tomtom docs
authored
1 0.1
2 Initial release
3
4 0.2
5 - More list convenience functions
6 - tlib#EditList()
7 - tlib#InputList(): properly handle duplicate items; it type contains
8 'i', the list index + 1 is returned, not the element
9
10 0.3
11 - tlib#InputList(): Show feedback in statusline instead of the echo area
12 - tlib#GetVar(), tlib#GetValue()
13
14 0.4
15 - tlib#InputList(): Up/Down keys wrap around list
16 - tlib#InputList(): FIX: Problem when reducing the filter & using AND
17 - tlib#InputList(): Made <a-numeric> work (can be configured via
18 - tlib#InputList(): special display_format: "filename"
19 - tlib#Object: experimental support for some kind of OOP
20 - tlib#World: Extracted some functions from tlib.vim to tlib/World.vim
21 - tlib#FileJoin(), tlib#FileSplit(), tlib#RelativeFilename()
22 - tlib#Let()
23 - tlib#EnsureDirectoryExists(dir)
24 - tlib#DirName(dir)
25 - tlib#DecodeURL(url), tlib#EncodeChar(char), tlib#EncodeURL(url)
26 - FIX: Problem when using shift-up/down with filtered lists
27
28 0.5
29 - tlib#InputList(): FIX: Selecting items in filtered view
30 - tlib#InputList(): <c-bs>: Remove last AND pattern from filter
31
32 0.6
33 - tlib#InputList(): Disabled <c-space> map
34 - tlib#InputList(): try to be smart about user itentions only if a
35 list's length is < g:tlib_sortprefs_threshold (default: 200)
36 - tlib#Object: Super() method
37 - tlib#MyRuntimeDir()
38 - tlib#GetCacheName(), tlib#CacheSave(), tlib#CacheGet()
39 - tlib#Args(), tlib#GetArg()
40 - FIX: tlib#InputList(): Display problem with first item
41
42 0.7
43 - tlib#InputList(): <c-z> ... Suspend/Resume input
44 - tlib#InputList(): <c-q> ... Input text on the command line (useful on
45 slow systems when working with very large lists)
46 - tlib#InputList(): AND-pattern starting with '!' will work as 'exclude
47 matches'
48 - tlib#InputList(): FIX <c-bs> pop OR-patterns properly
49 - tlib#InputList(): display_format == filename: don't add '/' to
50 directory names (avoid filesystem access)
51
52 0.8
53 - FIX: Return empty cache name for buffers that have no files attached to it
54 - Some re-arranging
55
56 0.9
57 - Re-arrangements & modularization (this means many function names have
58 changed, on the other hand only those functions are loaded that are
59 actually needed)
60 - tlib#input#List(): Added maps with m-modifiers for <c-q>, <c-z>, <c-a>
61 - tlib#input#List(): Make sure &fdm is manual
62 - tlib#input#List(): When exiting the list view, consume the next 5
63 characters in the queue (if any)
64 - tlib#input#EditList(): Now has cut, copy, paste functionality.
65 - Added documentation and examples
66
67 0.10
68 - tlib#input#List(): (v)split type of commands leave the original window
69 untouched (you may use <c-w> to replace its contents)
70 - tlib#file#With(): Check whether an existing buffer is loaded.
71 - Scratch related functions went to tlib/scratch.vim so that they are
72 accessible from other scripts.
73 - Configure the list window height via g:tlib_inputlist_pct (1..100%)
74
75 0.11
76 NEW:
77 - The :TLet command replaces :TLLet (which was removed)
78 - :TScratch[!] command (with ! don't split but use the whole window)
79 - tlib#rx#Escape(text, ?magic='m')
80 - tlib#buffer#GetList(?show_hidden=0)
81 - tlib#dir#CD(), tlib#dir#Push(), tlib#dir#Pop()
82 - tlib#input#ListW: A slightly remodeled version of tlib#input#List
83 that takes a World as second argument.
84 - Added some documentation doc/tlib.txt (most of it is automatically
85 compiled from the source files)
86 CHANGES:
87 - tlib#input#List(): The default keys for AND, NOT have changed to
88 be more Google-like (space, minus); the keys can be configured via
89 global variables.
90 IMPROVEMENTS:
91 - In file listings, indicate if a file is loaded, listed, modified
92 etc.
93 - tlib#input#List(): Highlight the filter pattern
94 - tlib#input#List(): <c-up/down> scrolls g:tlib_scroll_lines
95 (default=10) lines
96 FIXES:
97 - tlib#input#List(): Centering line, clear match, clear & restore
98 the search register
99 - tlib#input#List(): Ensure the window layout doesn't change (if the
100 number of windows hasn't changed)
101 - tlib#arg#Ex(): Don't escape backslashes by default
102
103 0.12
104 NEW:
105 - tlib/tab.vim
106 CHANGES:
107 - Renamed tlib#win#SetWin() to tlib#win#Set()
108 IMPROVEMENTS:
109 - tlib#input#List(): <left>, <right> keys work in some lists
110 - tlib#input#List(): If an index_table is provided this will be used
111 instead of the item's list index.
112 FIXES:
113 - tlib#input#List(): Problem with scrolling, when the list was
114 shorter than the window (eg when using a vertical window).
115 - tlib#cache#Filename(): Don't rewrite name as relative filename if
116 explicitly given as argument. Avoid double (back)slashes.
117 - TLet: simplified
118
119 0.13
120 CHANGES:
121 - Scratch: Set &fdc=0.
122 - The cache directory can be configured via g:tlib_cache
123 - Renamed tlib#buffer#SetBuffer() to tlib#buffer#Set().
124 FIXES:
125 - tlib#input#List(): Select the active item per mouse.
126 - TLet: simplified
127
128 0.14
129 NEW:
130 - tlib#buffer#InsertText()
131 CHANGES:
132 - tlib#win#[SG]etLayout(): Use a dictionnary, set &cmdheight.
133 FIXES:
134 - Wrong order with pre-defined filters.
135
136 0.15
137 NEW:
138 - tlib#string#TrimLeft(), tlib#string#TrimRight(), tlib#string#Strip()
139 - Progress bar
140
141 0.16
142 NEW:
143 - tlib#string#Printf1()
144
145 0.17
146 NEW:
147 - TBrowseOutput
148 - Some minor changes
149
150 0.18
151 NEW:
152 - tlib/time.vim
153 - g:tlib_inputlist_livesearch_threshold
154 CHANGES:
155 - tlib#input#ListD(), World: Don't redisplay the list while typing
156 new letters; calculate filter regexps only once before filtering the
157 list.
158 - World.vim: Minor changes to how filenames are handled.
159
160 0.19
161 NEW:
162 - tag.vim
163 FIX:
164 - dir.vim: Use plain dir name in tlib#dir#Ensure()
165 - tlib#input#List(): An initial filter argument creates [[filter]]
166 and not as before [[''], [filter]].
167 - tlib#input#List(): When type was "si" and the item was picked by
168 filter, the wrong index was returned.
169 - tlib#input#List(): Don't check if chars are typed when displaying
170 the list for the first time.
171
172 0.20
173 - The arguments of tlib#tag#Collect() have changed.
174 - tlib#input#List(): The view can be "suspended" on initial display.
175 - tlib#input#List(): Follow/trace cursor functionality
176
177 0.21
178 - tlib#buffer#InsertText(): Respect tabs and (experimental) formatoptions+=or
179 - tlib/syntax.vim: Syntax-related functions
180
181 0.22
182 - FIX: very magic mode for tlib#rx#Escape() (thanks A Politz)
183 - FIX: tlib#arg#Ex: escape "!"
184
185 0.23
186 - Respect the setting of g:tlib_inputlist_filename_indicators
187 - tlib#input#List(): Reset syntax on resume; option to make list window "sticky"
188 - tlib#agent#ToggleStickyList()
189 - Simplified tlib#url#Decode()
190 - tlib#arg#Ex(): use fnameescape() if available
191
192 0.24
193 - s:prototype.SetInitialFilter: accept list as argument
194 - Maintain buffer MRU if required
195
196 0.25
197 - NEW: tlib#notify#TrimMessage(): trim message to prevent "Press ENTER"
198 messages (contributed by Erik Falor)
199 - NEW: tlib#notify#Echo()
200 - FIX: World.CloseScratch(): Set window
201 - FIX: tlib#input#ListW(): Set initial_display = 1 on reset
202
203 0.26
204 - NEW: tlib#normal#WithRegister()
205 - FIX: Try not to change numbered registers
206
207 0.27
208 - FIX: Cosmetic bug, wrong packaging (thanks Nathan Neff)
209 - Meaning of World#filter_format changed; new World#filter_options
210 - Filtering didn't work as advertised
211 - tlib#string#Count()
212
213 0.28
214 - tlib#input#List():
215 -- Improved handling of sticky lists; <cr> and <Leftmouse> resume a
216 suspended list and immediately selects the item under the cursor
217 -- Experimental "seq" matching style: the conjunctions are sequentially
218 ordered, they are combined with "OR" (disjunctions), the regexp is
219 'magic', and "." is expanded to '.\{-}'
220 -- Experimental "cnfd" matching style: Same as cnf but with an "elastic"
221 dot "." that matches '\.\{-}'
222 -- Filtering acts as if &ic=1 && $sc=1
223 -- Weighting is done by the filter
224 - tlib#agent#Input(): Consume <esc> when aborting input()
225 - INCOMPATIBLE CHANGE: Changed eligible values of g:tlib_inputlist_match
226 to "cnf", "cnfd", "seq" and "fuzzy"
227 - NEW: tlib#buffer#KeepCursorPosition()
228 - tlib#buffer#InsertText(): Take care of the extra line when appending
229 text to an empty buffer.
230
231 0.29
232 - tlib#string#Strip(): Strip also control characters (newlines etc.)
233 - tlib#rx#Suffixes(): 'suffixes' as Regexp
234 - World#RestoreOrigin(): Don't assume &splitbelow
235
236 0.30
237 - World#RestoreOrigin(): Don't assume &splitright
238
239 0.31
240 - :TRequire command
241 -tlib#input#List: For i-type list views, make sure agents are called
242 with the base indices.
243
244 0.32
245 - tlib#agent#Exit: explicitly return empty value (as a consequence,
246 pressing <esc> when browsing an index-list, returns 0 and not "")
247 - tlib#signs
248 - tlib#input#List: set local statusline
249
250 0.33
251 - Don't reset statusline
252 - Don't use fnamemodify() to split filenames (for performance reasons)
253 - scratch: Set ft after setting up scratch options
254 - tlib#map#PumAccept(key)
255
256 0.34
257 - tlib#buffer#HighlightLine(line): call tlib#autocmdgroup#Init()
258 (reported by Sergey Khorev)
259
260 0.35
261 - tlib#input#EditList(): return the list if the user presses esc
262
263 0.36
264 - Display a message when the filter is for whatever reason invalid
265 - Removed tlib#paragraph#Delete()
266 - New: tlib#paragraph#Define(), tlib#textobjects#StandardParagraph()
267 - Try to speed up list display (a rewrite of World.DisplayList() etc. is
268 required)
269
270 0.37
271 - g:tlib_inputlist_livesearch_threshold defaults to 1000
272 - tlib#World: optional scratch_pos field
273 - tlib#input#List: By default <m-NUMBER> selects by number but NUMBER is
274 interpreted as string
275 - tlib#date
276 - TTimeCommand
277
278 0.38
279 - tlib#World#Resize: set winfix{height|width}
280
281 0.39
282 - g:tlib#cache#dont_purge
283 - tlib#vim#RestoreWindow()
284 - tlib#ballon#...()
285
286 0.40
287 - tlib#agent#ViewFile: Use split/sbuffer if nohidden && modified
288 - tlib#buffer#GetList(): order by "basename"
289
290 version: "0.41"
291 - World.UseScratch(): keepalt
292 - Really include balloon.vim
293 MD5 checksum: 3fcbc4f7556f5378d39622e62ab8f379
294
a1644f0 @tomtom docs
authored
295 version: "0.42"
296 - tlib#input#List: <s-space> inserts a *-like wildcard (represented as "__")
297 - Check if a cache file cannot be created because a directory of the same name exists (display a message if so)
298 - tlib#cache#Filename: Removed check if a directory of the same name exists (due to inconsistent use)
299 - Minor improvements related to buffer handling (scratch_split)
300 - .gitignore
301 - docs (thanks to blueyed)
302 - There is no "edit" answer possibility.
303 - Fix first purge: do nothing if no timestamp file.
304 - g:tlib_pick_single_item
305 - Removed pick_single_item. Changed the default behavour when a list has only 1 item. See doc for g:tlib_pick_last_item.
306 - Updated help for tlib#input#List(); help_extra attribute
307 - EXPERIMENTAL: cache_var, restore_from_cache, on_leave properties; #Initialize(), #Leave()
308 - added tlib#cmd#BrowseOutputWithCallback function and :TBrowseScriptnames command
309 - tlib#cmd#BrowseOutputWithCallback function and :TBrowseScriptnames command documentation
310 - s:prototype.Initialize(): unlet self.cache_var after restoring values
311 - tlib#input#List: filter-specific help
312 - Removed the seq filter (use cnfd or fuzzy instead)
313 - tlib#input#List: temp_prompt (for help message)
314 MD5 checksum: aa8b5a4602235cc1a5bc9ee45d801b81
315
f288a58 @tomtom docs
authored
316 version: "0.42"
317 - g:tlib#cache#silent: don't display messages when purging the cache (fixes #9)
318 - Changed message when deleting directories in the cache.
319 - g:tlib#input#use_popup: Don't rely on has('menu') but also check for gtk & win gui (fixes #10)
320 - debug
321 - tlib#input#ListW(): Didn't return a list when type == "m"
322 - docs (solves #11)
323 MD5 checksum: aa8b5a4602235cc1a5bc9ee45d801b81
324
ba7fb09 @tomtom docs
authored
325 version: "0.45"
326 - fuzzy mode: prototype.highlight defaults to g:tlib_inputlist_higroup
327 - tlib#scratch: Use noautocmd
328 - tlib#input#ListW(): Use world.RestoreOrigin() instead of tlib#win#SetLayout(world.winview)
329 - tlib#input#ListW(): Revert to tlib#win#SetLayout(world.winview)
330 - tlib#cmd#OutputAsList(): Also save output in g:tlib#cmd#last_output
331 - tlib#agent#Suspend(): Resume on BufEnter
332 - tlib#input#Resume(): Make sure we are in the right buffer
333 - tlib#agent#Suspend(): Use only BufEnter event to trigger a Resume
334 - tlib#input#ListW(): When redisplaying a list, make sure prefix > 0
335 - tlib#vcs: Access vcs (initially only git is supported)
336 - tlib#vcs: improved
337 - tlib#persistent: Persistent data file names
338 - tlib#file#With(): Trigger BufRead autocommands
339 - Duplicate help tags (fixes #13)
340 - Make sure scrolloff is 0 while viewing the list (fixes https://github.com/tomtom/vikitasks_vim/issues/2)
341 MD5 checksum: 0af19ebc0e424727a598a988fdc90f4e
342
b7409dd @tomtom docs
authored
343 - Support for tinykeymap (move paragraph)
344 - Moved para_move to autoload/tinykeymap/map
345 - tlib#vcs: some "diff" commands were defined as "ls"; updated hg def; %s is optional
346 MD5 checksum: f2f2fe0893e75bb9423c1ddcd01f38f6
347 version: "0.46"
348
5fbf9d3 @tomtom docs
authored
349 - tlib#input#List: optimizations
350 - Prepare for multi-mode maps
351 - tlib#input#List: cnfx is new default filter
352 - Filters: minor changes to how the pattern is displayed
353 - g:tlib#input#format_filename: alternative method for formatting filenames
354 - tlib#input#List: allow multiple keymaps / modes
355 - Handle rezise events
356 - Don't initialize the same window twice
357 - Minor optimizations to how help is displayed
358 - Handle VimResize event per buffer
359 - Improve display of filenames & highlighting
360 - Filename highlighter: set Highlight_filename()
361 - RunStateHandlers(): set world variable
362 - Optimize help display
363 MD5 checksum: e3652927722bdc51935eb1a04238546b
364 version: "1.00"
365
b499c00 @tomtom docs
authored
366 - Set g:tlib_inputlist_and to ' ' again
367 - g:tlib#input#filename_max_width: maximum display width of filenames
368 - tlib#input#List: <s-esc>, <f10>: run command by name
369 MD5 checksum: a42f90275cdbe9f7d92cac61b884a2d1
370 version: "1.01"
371
Something went wrong with that request. Please try again.