-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChanges
228 lines (140 loc) · 5.4 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
Revision history for Perl extension Data::Tools
1.46 2024-11-01
- Data::Tools adds new functions:
format_ascii_table()
with default right alignment for numbers (no exp)
1.45 2024-11-08
- Data::Tools::Time adds new functions:
julian_date_goto_first_dow
julian_date_goto_last_dow
utime_goto_first_dow
utime_goto_last_dow
julian_date_to_iso
julian_date_from_iso
utime_to_iso
utime_from_iso
utime_to_iso_ext
utime_from_iso_ext
utime_get_woy
- added file_lock_*() set of functions to handle advisory locking
- added functions for handling pid files: create and remove
- pid files creation may act as single process locking
1.44 2024-06-08
- added BCD conversion functions
1.43 2024-03-23
- added Data::Tools::Process module for process management
- added daemonize() function in Data::Tools::Process
- moved cmd_fork_exec() from Data::Tools to Data::Tools::Process
1.42 2023-08-15
- version and git repo cleanup
1.41 2023-08-11
- added new plain hash key=value protocol to Data::Tools::Socket::Protocols.
1.40 2023-07-08
- added Data::Tools::Socket::Protocols
1.30 2022-05-18
Data::Tools::CSV
- added optional parameter to specify different delimiter (default ',').
1.29 2022-04-17
Data::Tools::Time
- added definition of julian_date_from_utime()
- make julian_date_from_ymd( year, month, day ) to allow optional day, or month and day
- added julian_date_from_md( month, day )
1.28 2022-04-04
- CSV parse code fixed to handle trailing fields with wrong count of "s
- added more information to Data::Tools::CSV
1.27 2022-04-02
- added Data::Tools::CSV modules for parsing RFC4180 style CSV files.
1.25 2022-02-08
- added new ftwalk
- fixed str_html_escape (well typo)
1.24 2020-06-22
- reimplemented str_hex/unhex to use unpack/pack (of course!)
thanks to String::HexConvert for reminding me that pack
is always here :)
- added separate binary and text file load/save api.
new functions:
# always binary data load
file_bin_load( $file_name )
# always binary data save
file_bin_save( $file_name, @data, $data, 'data', 123 )
new functions:
# always text data load
file_text_load( $file_name )
# always text data load, returns array ref of read data
file_text_load( $file_name )
# always text data save
file_text_save( $file_name, @data, $data, 'data', 123 )
the old encoding defaults to file load/save:
data_tools_set_file_io_encoding( 'cp1251' );
data_tools_set_file_io_encoding( 'UTF-8' );
data_tools_set_file_io_utf8();
still works but will only relate to file_text_* functions.
NOTE: WARNING!
currently old file_load()/file_save() will default to the old
behaviour but will be switched to binary only!
NOTE: WARNING!
file_text_* api will have second optional hashref with operation
options. for saving, it is uncommon to provide hashref so it will
be used as options if given.
1.20 2019-01-18
- added julian_date_* functions to Data::Tools::Time
1.19 2018-08-31
- changed escaping style of hash2str() and str2hash()
- old style, url-escaping are renamed as hash2str_url() and str2hash_url()
- added hash2str_keys() to allow to specify certain keys order, check docs
- added hash_save_url() and hash_load_url()
- added hash_save_keys() to use hash2str_keys(), check docs
1.18 2018-08-10
- added data_tools_set_file_io_encoding()
- fixed various file IO encoding issues
1.17 2018-08-07
- str_num_comma() can accept second argument--padding symbol or string
1.16 2018-07-19
- added Data::Tools::Math functions
- added file_load_ar()
1.15 2018-03-31
- file name path functions added
- socket read len fixed
1.14 2016-11-30
- added Data::Tools::Time utilities
- added Data::Tools::Socket docs
- added Data::Tools::Time test t/t1-time-diff.pl
1.12 2016-09-16
- fixed type in Data::Tools::Socket
1.11 2016-09-05 CADE
- added Data::Tools::Socket utilities
1.10 2016-01-27 CADE
- fixed non-obvious iterator behaviour of File::Glob inside glob_tree()
1.09 2016-01-03 CADE
- added:
hash_keys_lock_recursive
1.08 2015-09-30 CADE
- added:
file_mtime
file_ctime
file_atime
file_size
1.07 2015-09-24 CADE
- added hash_lock_recursive()
hash_unlock_recursive()
to handle missing functionality until perl 5.22 etc.
- moved to cpan changelog syntax
- added glob_tree()
1.06 2013-07-03 CADE
- added more features to hash_validate()
- changed version to reupload to CPAN
1.05 2013-07-03 CADE
- hash_validate()
- more docs, "required modules", "see also"
1.04 2013-05-24 CADE
- changed github urls
1.03 2013-05-04 CADE
- added hash_uc()/hash_lc()
1.02 2013-03-24 CADE
- added digest funcs
- fixed docs
- added github info
1.01 2013-03-07 CADE
- fixed names in the docs
1.00 2013-03-06 CADE
- history lost, initial CPAN release