File: Changes

package info (click to toggle)
libsharyanto-utils-perl 0.77-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 216 kB
  • sloc: perl: 666; makefile: 2
file content (531 lines) | stat: -rw-r--r-- 12,148 bytes parent folder | download | duplicates (2)
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
Revision history for SHARYANTO-Utils

0.77    2015-09-04 (PERLANCAR)

        - [dist] Move spec prereqs from RuntimeRequires to DevelopRecommends to
          reduce deps but still allow indicating spec requirement.

        - Split SHARYANTO::Timer::Simple to its own dist and rename to
          Simple-Timer.

        - Rename SHARYANTO::ColorTheme::Util to Color::Theme::Util.

        - Add functions: pick(), pick_n(), min_in_range(), max_in_range(),
          replace_hash_content(), replace_array_content().

        - Fix typo (pointed out by Graham Todd).


0.76    2014-10-11 (PERLANCAR)

        - Split SHARYANTO::Text::Prompt and SHARYANTO::Locale::Util to their own
          dists, to reduce dependencies.


0.75    2014-06-26 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - Move functions find_missing_{nums,strs}_in_seq() from
          SHARYANTO::Number::Util to SHARYANTO::List::Util.

        - Rename function in SHARYANTO::List::Util: uniq -> uniq_adj.


        [NEW FEATURES]

        - Add functions in SHARYANTO::List::Util: uniq_ci, uniq_adj_ci.


0.74    2014-05-21 (SHARYANTO)

        - Add module: SHARYANTO::List::Util.


0.73    2014-05-10 (SHARYANTO)

        [REMOVED FEATURES]

        - Remove SHARYANTO::Marpa::Simple (extracted to its own dist and renamed
          to MarpaX::Simple).

        [INTERNAL]

        - Replace usage of File::Slurp with File::Slurp::Tiny [RT#95478], this
          will be one of many such commits.


0.72    2014-05-08 (SHARYANTO)

        - Add module: SHARYANTO::Marpa::Simple.

        - Add module: SHARYANTO::Timer::Simple.


0.71    2014-05-01 (SHARYANTO)

        [REMOVED FEATURES]

        - Remove module SHARYANTO::Scalar::Util (unused, and looks_like_number()
          probably won't expose the constants anymore).

        - Remove module SHARYANTO::Version::Util (extracted to its own dist and
          renamed to Version::Util).

        - Remove module SHARYANTO::Getopt::Long::Util (extracted to its own dist
          and renamed to Getopt::Long::Util).

        - Remove module SHARYANTO::ModuleOrPrefix::Path (extracted to its own
          dist and renamed to ModuleOrPrefix::Path).

        - Remove module SHARYANTO::Proc::ChildError (extracted to its own dist
          and renamed to Proc::ChildError).


0.70    2014-04-07 (SHARYANTO)

        [BUG FIXES]

        - [Array::Util] Fix handling of literal string needle.


0.69    2014-04-07 (SHARYANTO)

        - [Array::Util] Add function split_array().


0.68    2014-03-11 (SHARYANTO)

        - No functional changes.

        - Split SHARYANTO::Proc::Daemon::Prefork to its own dist to avoid
          circular dependency problem.


0.67    2014-01-09 (SHARYANTO)

        - No functional changes.

        [BUG FIXES]

        - Didn't pass to POSIX::setlocale() correctly. Derp.


0.66    2014-01-09 (SHARYANTO)

        - No functional changes.

        [BUG FIXES]

        - Locale::Util: Handle for setlocale($cat) (without specifying $locale).


0.65    2014-01-09 (SHARYANTO)

        - Add module: Locale::Util.


0.64    2013-11-20 (SHARYANTO)

        - Version::Util: add functions: version_{ne,between,in}.


0.63    2013-11-20 (SHARYANTO)

        - Add module: Version::Util.


0.62    2013-10-05 (SHARYANTO)

        - Split SHARYANTO::Role::* to SHARYANTO-Roles to make deps lighter.


0.61    2013-10-04 (SHARYANTO)

        - Role::ColorTheme: add color_theme_class_prefix attribute to allow
          overriding.


0.60    2013-10-01 (SHARYANTO)

        [BUG FIXES]

        - Role::TermAttrs: observe LINES for term_height, not ROWS.

        [ENHANCEMENTS]

        - Role::TermAttrs: add attribute 'interactive' (observes INTERACTIVE).


0.59    2013-09-28 (SHARYANTO)

        - Role::TermAttrs: Switch from Term::Detect to Term::Detect::Software.


0.58    2013-09-25 (SHARYANTO)

        - Role::BorderStyle: add get_border_char() (moved from Text::ANSITable).

        - Role::ColorTheme: add some functions (some moved from
          Text::ANSITable). Increase specification version to 1.1 because
          multiple color codes should now returned as hash (more flexible)
          instead of just 2-array element of [fg, bg].


0.57    2013-09-25 (SHARYANTO)

        - Add Role::{BorderStyle,ColorTheme,TermAttrs}, extracted from
          Text::ANSITable. I wanted to make Perinci::CmdLine support color
          themes too.


0.56    2013-09-11 (SHARYANTO)

        - No functional changes. Slim dist down and split some modules to its
          own dist. Make sure this module installs on Windows (I'm trying to
          make Perinci::CmdLine work on Windows).


0.55    2013-09-07 (SHARYANTO)

        - Package::Util: Avoid deep recursion in list_subpackages().


0.54    2013-09-04 (SHARYANTO)

        - Add module: ModuleOrPrefix::Path.


0.53    2013-07-26 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - Role::Doc::Section and Role::Doc::Section::AddTextLines: Rename
          methods to become more consistent and less intrusive.
          {,before_,after_}generate_doc() becomes {,before_,after_}gen_doc().
          Rename doc_gen_*() to gen_doc_section_*(). Remove doc_parse_*()
          methods as they are implementation details. Rename attributes
          indent_level to doc_indent_level, indent to doc_indent_str, wrap to
          doc_wrap.


0.52    2013-07-26 (SHARYANTO)

        - Move Perinci::To::Text::AddDocLinesRole to
          SHARYANTO::Role::Doc::Section::AddTextLines.


0.51    2013-07-12 (SHARYANTO)

        - Add module: Data::Util.

        - Skip File::Flock test on Windows [CT#86829].


0.50    2013-07-03 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - File::Flock: be more like the original File::Flock by removing lock
          file only if lock file was created during lock, and is empty. This
          module is created as a more lightweight alternative to the original
          File::Flock after all.


0.49    2013-07-03 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - File::Flock: unlink option is by default 1 because this is the
          convenient behavior. Lock file is removed upon unlock(), not after
          DESTROY-ed.


0.48    2013-07-02 (SHARYANTO)

        [BUG FIXES]

        - File::Flock: handle race condition between flock() and stat() after
          locking. Thanks Anders Kaseorg. [GH#1]

        [INCOMPATIBLE CHANGES]

        - File::Flock: Only unlink lock file if current process is holding the
          lock. [GH#1]


0.47    2013-05-16 (SHARYANTO)

        - Color::Util: add rgb_luminance() and tint_rgb_color().


0.46    2013-05-15 (SHARYANTO)

        - Role::I18N: add method locopt().

        - Proc::ChildError: Skip failing tests on Windows [CT].


0.45    2013-05-10 (SHARYANTO)

        - Add module: SHARYANTO::Getopt::Long::Util (gospec2human).


0.44    2013-05-09 (SHARYANTO)

        [BUG FIXES]

        - Proc::Util: get_parent_processes should not return information on
          current process.


0.43    2013-05-09 (SHARYANTO)

        - Add module: SHARYANTO::Proc::Util (get_parent_processes).


0.42    2013-05-02 (SHARYANTO)

        - Color::Util: add function reverse_rgb_color().


0.41    2013-05-02 (SHARYANTO)

        - Color::Util: add functions rgb2grayscale() and rgb2sepia().


0.40    2013-04-28 (SHARYANTO)

        - Color::Util: add function rand_rgb_color().


0.39    2013-04-27 (SHARYANTO)

        - Add module: SHARYANTO::Color::Util (mix_2_rgb_colors()).


0.38    2013-04-10 (SHARYANTO)

        - No functional changes. Bug fixes for format_metric().


0.37    2013-04-10 (SHARYANTO)

        - No functional changes. Tweak internal/private option for
          format_metric() for dux.


0.36    2013-04-10 (SHARYANTO)

        - Add module: SHARYANTO::Number::Util (format_metric()).


0.35    2013-02-15 (SHARYANTO)

        - No functional changes. Rewrite tests for l_abs_path() to more clearly
          show the differences between it and abs_path(), pass on systems where
          /tmp is symlinked.


0.34    2012-12-28 (SHARYANTO)

        - File::Flock: Shut up perl warning when unlocking a closed filehandle
          (usually should be harmless, can happen during DESTROY on error/die).


0.33    2012-12-26 (SHARYANTO)

        - File::Flock: Forgot to add $VERSION.


0.32    2012-12-25 (SHARYANTO)

        - File::Flock: stat after open() [suggested by Pavel Shaydo]


0.31    2012-12-25 (SHARYANTO) - Merry Christmas!

        - Add module: SHARYANTO::File::Flock.


0.30    2012-10-02 (SHARYANTO)

        - No functional changes. Fix file_util.t due to failure report by Aaron
          Holmgren.


0.29    2012-09-13 (SHARYANTO)

        - Add module: SHARYANTO::Scalar::Util.


0.28    2012-09-07 (SHARYANTO)

        - Proc::ChildError: explain_child_error(): Include error message $!, add
          tests.


0.27    2012-08-27 (SHARYANTO)

        - File::Util: add function: dir_empty().


0.26    2012-08-24 (SHARYANTO)

        - File::Util: add function: l_abs_path().


0.25    2012-07-27 (SHARYANTO)

        - Add module: SHARYANTO::Log::Util.


0.24    2012-07-27 (SHARYANTO)

        - Add module: SHARYANTO::File::Util.


0.23    2012-07-17 (SHARYANTO)

        - Package::Util: Handle constants.


0.22    2012-06-14 (SHARYANTO)

        - No functional changes. Proc::Daemon::Prefork: 'pid_path' argument is
          not required unless we daemonize.


0.21    2012-03-29 (SHARYANTO)

        - No functional changes. Add missing dependency to Moo [CT].


0.20    2012-03-29 (SHARYANTO)

        [ENHANCEMENTS]

        - Package::Util: Add list_package_contents() & list_subpackages().


0.19    2012-03-28 (SHARYANTO)

        [FIXES]

        - Small sprintf() fix for Proc::ChildError.


0.18    2012-03-23 (SHARYANTO)

        - No functional changes. Split SHARYANTO::String::Util to its own dist
          to avoid circular dependency problem with Perinci-Object.


0.17    2012-03-21 (SHARYANTO)

        [FIXES]

        - Some fixes to Role::I18Many


0.16    2012-03-20 (SHARYANTO)

        [ENHANCEMENTS]

        - Add role: SHARYANTO::Role::I18NMany

        - Add module: SHARYANTO::String::Util

        [FIXES]

        - dzil: Add missing dependency to Log::Any


0.15    2012-03-16 (SHARYANTO)

        - No functional changes. Add dependencies to
          Locale::Maketext{,::Lexicon} for Role::I18N users.


0.14    2012-03-15 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - Change (split) SHARYANTO::Doc::Base base class into
          SHARYANTO::Role::{Doc::Section,I18N,I18NRinci}.


0.13    2012-03-14 (SHARYANTO)

        - Add SHARYANTO::Doc::Base.


0.12    2012-03-06 (SHARYANTO)

        - Add SHARYANTO::Package::Util.


0.11    2012-03-01 (SHARYANTO)

        - Array::Util: allow haystack to be a single string (assumed to be a
          regex), document that haystack can also be a list of regexes. Updated
          metadata to 1.1.


0.10    2011-09-29 (SHARYANTO)

        - Add SHARYANTO::HTTP::DetectUA::Simple.


0.09    2011-09-29 (SHARYANTO)

        - Proc::Daemon::Prefork: Add 'on_client_disconnect' option.


0.08    2011-09-22 (SHARYANTO)

        - No functional changes. Rebuild dist with newer Sub::Spec::To::Pod.


0.07    2011-09-22 (SHARYANTO)

        - Array::Util: Add alias function match_regex_or_array, add sub specs.


0.06    2011-09-22 (SHARYANTO)

        - Add SHARYANTO::Array::Util.


0.05    2011-08-05 (SHARYANTO)

        - Proc::Daemon::Prefork: 'access_log_path' and 'error_log_path' are now
          optional.


0.04    2011-07-19 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - Proc::Daemon::Prefork: Rename 'run_as_root' to 'require_root' (less
          ambiguity), now defaults to 0.


0.03    2011-07-08 (SHARYANTO)

        [INCOMPATIBLE CHANGES]

        - Rename SHARYANTO::Proc::Daemon{,::Prefork}


0.02    2011-07-05 (SHARYANTO)

        [ENHANCEMENTS]

        - Proc::Daemon: add max_children(), can autoadjust number of processes
          from prefork() to max_children() according to load.


0.01    2011-06-17 (SHARYANTO)

        - First release.