"Fossies" - the Fresh Open Source Software Archive

Member "tren-1.242/CHANGELOG.txt" (1 Aug 2011, 31127 Bytes) of package /linux/privat/old/tren-1.242.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 RCS file: RCS/tren.py,v
    3 Working file: tren.py
    4 head: 1.242
    5 branch:
    6 locks: strict
    7 	tundra: 1.242
    8 access list:
    9 symbolic names:
   10 keyword substitution: kv
   11 total revisions: 143;	selected revisions: 143
   12 description:
   13 Part Of The 'tren' Project
   14 ----------------------------
   15 revision 1.242	locked by: tundra;
   16 date: 2011/08/01 18:07:17;  author: tundra;  state: Exp;  lines: +3 -3
   17 Updated copyright.
   18 ----------------------------
   19 revision 1.241
   20 date: 2011/08/01 17:50:37;  author: tundra;  state: Exp;  lines: +9 -9
   21 Reverted to older form of 'exception' statement for compatibility with legacy python installations.
   22 ----------------------------
   23 revision 1.240
   24 date: 2010/12/30 17:42:27;  author: tundra;  state: Exp;  lines: +2 -2
   25 Got rid of extra brackets in usage summary line.
   26 ----------------------------
   27 revision 1.239
   28 date: 2010/10/07 17:34:23;  author: tundra;  state: Exp;  lines: +2 -2
   29 Minor comment cleanup.
   30 ----------------------------
   31 revision 1.238
   32 date: 2010/09/07 18:24:18;  author: tundra;  state: Exp;  lines: +11 -11
   33 Changed how slice parsing takes place to allow constructs like -T3:-4 to work.
   34 ----------------------------
   35 revision 1.237
   36 date: 2010/08/30 02:06:42;  author: tundra;  state: Exp;  lines: +7 -5
   37 Fixed bug in case-insensitive replacement introduced by last checkin.
   38 ----------------------------
   39 revision 1.236
   40 date: 2010/08/30 01:52:23;  author: tundra;  state: Exp;  lines: +17 -17
   41 Fixed bugs introduced by -T logic.  This removed the 'name' variable from ProcessRenameRequests().
   42 ----------------------------
   43 revision 1.235
   44 date: 2010/08/27 17:08:01;  author: tundra;  state: Exp;  lines: +2 -2
   45 Minor comment change.
   46 ----------------------------
   47 revision 1.234
   48 date: 2010/08/27 16:13:01;  author: tundra;  state: Exp;  lines: +2 -2
   49 BUGFIX: Backups were being incorrectly named and created.
   50 ----------------------------
   51 revision 1.233
   52 date: 2010/08/27 15:39:21;  author: tundra;  state: Exp;  lines: +2 -3
   53 Fixed oldname intialization bug introduced during -T implementation.
   54 ----------------------------
   55 revision 1.232
   56 date: 2010/08/27 15:28:55;  author: tundra;  state: Exp;  lines: +32 -23
   57 Finished implementing -T option.
   58 ----------------------------
   59 revision 1.231
   60 date: 2010/08/26 18:50:09;  author: tundra;  state: Exp;  lines: +128 -45
   61 First cut at renaming target substring selection (-T).  Still incomplete.
   62 ----------------------------
   63 revision 1.230
   64 date: 2010/08/25 20:16:17;  author: tundra;  state: Exp;  lines: +2 -2
   65 Added -e to command line string template in usage output.
   66 ----------------------------
   67 revision 1.229
   68 date: 2010/08/25 20:14:14;  author: tundra;  state: Exp;  lines: +21 -7
   69 Implemented /NAMESOFAR/ renaming token.
   70 ----------------------------
   71 revision 1.228
   72 date: 2010/08/25 19:47:35;  author: tundra;  state: Exp;  lines: +11 -2
   73 Fixed problem wherein nonexistent files or wildcards named as rename targets would be silently ignored.
   74 ----------------------------
   75 revision 1.227
   76 date: 2010/08/25 19:26:25;  author: tundra;  state: Exp;  lines: +2 -6
   77 Fixed misleading comment.
   78 ----------------------------
   79 revision 1.226
   80 date: 2010/08/25 18:54:38;  author: tundra;  state: Exp;  lines: +14 -1
   81 Implemented debug support for showing the sequence of renaming steps.
   82 ----------------------------
   83 revision 1.225
   84 date: 2010/08/25 18:08:41;  author: tundra;  state: Exp;  lines: +2 -1
   85 Sorted list of case conversion options displayed when user enters one that is invalid.
   86 ----------------------------
   87 revision 1.224
   88 date: 2010/08/25 18:04:39;  author: tundra;  state: Exp;  lines: +106 -86
   89 Finished implementing case conversion renaming request support.
   90 ----------------------------
   91 revision 1.223
   92 date: 2010/08/20 01:18:23;  author: tundra;  state: Exp;  lines: +26 -2
   93 Added support for case conversion function dispatch table and command validation of such requests.
   94 ----------------------------
   95 revision 1.222
   96 date: 2010/08/19 19:22:04;  author: tundra;  state: Exp;  lines: +12 -2
   97 Put in basic scaffolding for forced case conversions.
   98 ----------------------------
   99 revision 1.221
  100 date: 2010/08/12 02:58:08;  author: tundra;  state: Exp;  lines: +2 -2
  101 Removed trailing period from renaming information message.
  102 ----------------------------
  103 revision 1.220
  104 date: 2010/08/10 14:36:25;  author: tundra;  state: Exp;  lines: +2 -2
  105 Fixed $TREN parsing to use shlex.split instead of splitting on spaces.
  106 ----------------------------
  107 revision 1.219
  108 date: 2010/08/10 13:27:02;  author: tundra;  state: Exp;  lines: +3 -2
  109 Fixed bug in include file processing - line is now parsed with shlex.split().
  110 ----------------------------
  111 revision 1.218
  112 date: 2010/06/25 22:39:46;  author: tundra;  state: Exp;  lines: +65 -6
  113 Implemented TRENINCL path search support for include files.
  114 ----------------------------
  115 revision 1.217
  116 date: 2010/04/07 18:36:55;  author: tundra;  state: Exp;  lines: +6 -6
  117 Ordered alphabet entries by name.
  118 Mac/Win fix so that backup files would not be saved under new name when only change was character case.
  119 Fixed SRT parsing so it properly distinguishes between a bad token name and a bad alphabet name.
  120 ----------------------------
  121 revision 1.216
  122 date: 2010/04/05 20:35:28;  author: tundra;  state: Exp;  lines: +3 -3
  123 Minor change to alphabet error messages.
  124 ----------------------------
  125 revision 1.215
  126 date: 2010/04/02 19:43:56;  author: tundra;  state: Exp;  lines: +3 -3
  127 Minor cleanup.
  128 ----------------------------
  129 revision 1.214
  130 date: 2010/03/30 21:02:35;  author: tundra;  state: Exp;  lines: +21 -23
  131 Corrected ComputeSeqString() to properly count and roll over no matter whether fmt or incr is longer.
  132 ComputeSeqString() now also properly preserves out-of-alphabet characters in the fmt string unless a carry propagates into that position.
  133 Reorganized ComputeSeqString() slightly.
  134 ----------------------------
  135 revision 1.213
  136 date: 2010/03/29 20:37:26;  author: tundra;  state: Exp;  lines: +8 -1
  137 Fixed bug that crashed program if specified environment variable did not exist.
  138 ----------------------------
  139 revision 1.212
  140 date: 2010/03/28 19:52:04;  author: tundra;  state: Exp;  lines: +24 -10
  141 Implemented -b option to suppress backups during forced renaming.
  142 ----------------------------
  143 revision 1.211
  144 date: 2010/03/23 21:15:55;  author: tundra;  state: Exp;  lines: +5 -1
  145 Added Binary alphabet.
  146 ----------------------------
  147 revision 1.210
  148 date: 2010/03/23 19:33:57;  author: tundra;  state: Exp;  lines: +2 -2
  149 Update to usage information.
  150 ----------------------------
  151 revision 1.209
  152 date: 2010/03/23 18:50:10;  author: tundra;  state: Exp;  lines: +2 -2
  153 Updated the help screen.
  154 ----------------------------
  155 revision 1.208
  156 date: 2010/03/23 17:53:29;  author: tundra;  state: Exp;  lines: +16 -4
  157 Corrected test mode so it properly tracks existing and newly created files as they would occur.
  158 ----------------------------
  159 revision 1.207
  160 date: 2010/03/19 17:50:22;  author: tundra;  state: Exp;  lines: +10 -12
  161 Applied glob expansion of targets to all OSs.
  162 ----------------------------
  163 revision 1.206
  164 date: 2010/03/19 16:25:57;  author: tundra;  state: Exp;  lines: +3 -3
  165 Minor change to usage information.
  166 ----------------------------
  167 revision 1.205
  168 date: 2010/03/19 02:57:35;  author: tundra;  state: Exp;  lines: +8 -2
  169 Fixed trailing separator bug in pathname that made Windows report differently on root directory file renames.
  170 ----------------------------
  171 revision 1.204
  172 date: 2010/03/19 02:07:02;  author: tundra;  state: Exp;  lines: +77 -16
  173 Implemented remainder of win32all support.
  174 ----------------------------
  175 revision 1.203
  176 date: 2010/03/19 00:59:27;  author: tundra;  state: Exp;  lines: +2 -2
  177 Minor cleanup to usage infrormation.
  178 ----------------------------
  179 revision 1.202
  180 date: 2010/03/18 23:41:46;  author: tundra;  state: Exp;  lines: +22 -21
  181 Abstracted out the strings returned for /USER/ and /GROUP/ on Windows systems when win32all not present.
  182 Cleaned up eTOKUNKNOWN to make it more consistent with other, similar messages(s).
  183 ----------------------------
  184 revision 1.201
  185 date: 2010/03/18 21:54:30;  author: tundra;  state: Exp;  lines: +90 -7
  186 Put in basic framework for handling user- and group names for both Posix and Windows systems.
  187 Added logic for Windows to do glob expansion of the command line file argument list.
  188 ----------------------------
  189 revision 1.200
  190 date: 2010/03/18 17:40:31;  author: tundra;  state: Exp;  lines: +15 -3
  191 Added *WDAY file time renaming tokens.
  192 ----------------------------
  193 revision 1.199
  194 date: 2010/03/18 16:09:06;  author: tundra;  state: Exp;  lines: +6 -7
  195 Tightened up use of FILETIMETOKS when computing nDATE orders in __init__().
  196 ----------------------------
  197 revision 1.198
  198 date: 2010/03/17 21:12:05;  author: tundra;  state: Exp;  lines: +116 -22
  199 Implemented ADATE, CDATE, and MDATE sequence renaming token support.
  200 ----------------------------
  201 revision 1.197
  202 date: 2010/03/17 15:16:48;  author: tundra;  state: Exp;  lines: +35 -18
  203 Implemented sort views, ORDERBYGROUP and ORDERBYUSER.
  204 ----------------------------
  205 revision 1.196
  206 date: 2010/03/16 21:28:12;  author: tundra;  state: Exp;  lines: +11 -12
  207 Got rid of TOKFILALPHA and SORTBYALPHA.  Replaced with SORTBYFNAME to make file- and sequence renaming token names consistent.
  208 ----------------------------
  209 revision 1.195
  210 date: 2010/03/16 21:00:20;  author: tundra;  state: Exp;  lines: +3 -3
  211 Fixed bug that caused pathname to be improperly calculated when the the constructure first populated RenameTargets classes.
  212 ----------------------------
  213 revision 1.194
  214 date: 2010/03/16 20:43:04;  author: tundra;  state: Exp;  lines: +25 -3
  215 Implemented command line alphabet loading, -A option.
  216 ----------------------------
  217 revision 1.193
  218 date: 2010/03/15 16:47:42;  author: tundra;  state: Exp;  lines: +16 -14
  219 Cleaned up renaming token error messages and fixed bug that happened on null format fields.
  220 ----------------------------
  221 revision 1.192
  222 date: 2010/03/13 20:57:13;  author: tundra;  state: Exp;  lines: +3 -3
  223 Changed HEXLOWER and HEXUPPER strings to follow naming conventions of other alphabets.
  224 ----------------------------
  225 revision 1.191
  226 date: 2010/03/13 20:53:25;  author: tundra;  state: Exp;  lines: +62 -38
  227 Retooled Sequence renaming token parsing to require an alphabet specification.
  228 ----------------------------
  229 revision 1.190
  230 date: 2010/03/13 19:59:52;  author: tundra;  state: Exp;  lines: +59 -15
  231 Created dictionary of built-in alphabets and the supporting literals to access it.
  232 Changed DumpList() so it does not require to caller to provide a message handler - it's only used for debug output anyway.
  233 ----------------------------
  234 revision 1.189
  235 date: 2010/03/12 22:19:29;  author: tundra;  state: Exp;  lines: +23 -6
  236 Further cleanup of sequence generation.
  237 Changed rollover warning to a InfoMsg() call.
  238 ----------------------------
  239 revision 1.188
  240 date: 2010/03/12 03:04:12;  author: tundra;  state: Exp;  lines: +102 -3
  241 First cut at a working formatting system for Sequence renaming tokens.  Currently hardwared to count in base 10.
  242 ----------------------------
  243 revision 1.187
  244 date: 2010/03/11 03:22:09;  author: tundra;  state: Exp;  lines: +6 -2
  245 Fixed bug caused by updating self.NewNames when not in test mode.
  246 ----------------------------
  247 revision 1.186
  248 date: 2010/03/11 02:49:28;  author: tundra;  state: Exp;  lines: +55 -12
  249 Implemented -a interactive ask mode.
  250 ----------------------------
  251 revision 1.185
  252 date: 2010/03/10 23:37:27;  author: tundra;  state: Exp;  lines: +11 -3
  253 Fixed bug that allowed the RAND precision specification to be one character too long.
  254 Fixed testmode so that it now properly reports any backup renamings the program *would* do even when the filenames are newly generated by the program itself.
  255 ----------------------------
  256 revision 1.184
  257 date: 2010/03/10 22:18:20;  author: tundra;  state: Exp;  lines: +26 -1
  258 Implemented the /RAND/ replacement token.
  259 ----------------------------
  260 revision 1.183
  261 date: 2010/03/10 19:09:13;  author: tundra;  state: Exp;  lines: +6 -5
  262 Fixed bug that cause the program to ignore iterated changes to the original name.
  263 ----------------------------
  264 revision 1.182
  265 date: 2010/03/10 18:29:25;  author: tundra;  state: Exp;  lines: +32 -4
  266 Implemented basic sequence replacement tokens and their reverses, but without formatting field support.
  267 ----------------------------
  268 revision 1.181
  269 date: 2010/03/10 01:02:07;  author: tundra;  state: Exp;  lines: +5 -5
  270 Slight code reorganization.
  271 ----------------------------
  272 revision 1.180
  273 date: 2010/03/10 00:50:14;  author: tundra;  state: Exp;  lines: +61 -25
  274 Restructured the literals so that both the File Attribute and Sequence renaming tokens use same strings where they are common.
  275 This is also going to be used to index into self.SortViews when doing sequence lookups.
  276 Added code to catch the (illegal) situation where a user tries to rename the root of the file tree.
  277 Made the rest of the 'stat' variables available as File Attribute renaming tokens.
  278 ----------------------------
  279 revision 1.179
  280 date: 2010/03/09 23:01:57;  author: tundra;  state: Exp;  lines: +2 -2
  281 Fixed typo that broke renaming token handling.
  282 ----------------------------
  283 revision 1.178
  284 date: 2010/03/09 22:56:36;  author: tundra;  state: Exp;  lines: +65 -68
  285 Factored the Tile Time renaming token processing code and made it table drive.
  286 Setup scaffolding for Sequence renaming token handling.
  287 ----------------------------
  288 revision 1.177
  289 date: 2010/03/09 01:17:57;  author: tundra;  state: Exp;  lines: +8 -8
  290 Fixed bug in literal constants for mtime renaming tokens.
  291 ----------------------------
  292 revision 1.176
  293 date: 2010/03/09 01:12:16;  author: tundra;  state: Exp;  lines: +112 -19
  294 Redid existing Time Renaming Tokens and implemented all the remaining ones.
  295 ----------------------------
  296 revision 1.175
  297 date: 2010/03/08 21:02:35;  author: tundra;  state: Exp;  lines: +22 -2
  298 Implemented CDATE renaming token.
  299 ----------------------------
  300 revision 1.174
  301 date: 2010/03/08 19:29:52;  author: tundra;  state: Exp;  lines: +27 -14
  302 Fixed bug in Command Execution token processing that prevented the use of absolute path references.
  303 ----------------------------
  304 revision 1.173
  305 date: 2010/03/08 16:41:23;  author: tundra;  state: Exp;  lines: +95 -54
  306 Changed renaming templates: g -> GID, G -> GNAME, L -> LEN, F -> FNAME, u -> UID, U -> UNAME.
  307 Upped MAXINCLUDES to 1000.
  308 Cleaned up Usage() output.
  309 Removed extraneous "]' option that was previously accepted by getopt() as legal.
  310 Factored out the getopt() string as a literal at the top of the program.
  311 Fixed bug in ProcessIncludes() so include symbol ignored if in context of a previous option argument.
  312 ----------------------------
  313 revision 1.172
  314 date: 2010/03/06 16:26:17;  author: tundra;  state: Exp;  lines: +21 -3
  315 Implmenented UID, Uname, GID, and Gname renaming tokens.
  316 ----------------------------
  317 revision 1.171
  318 date: 2010/03/06 15:57:21;  author: tundra;  state: Exp;  lines: +8 -3
  319 Implemented File Length renaming token.
  320 ----------------------------
  321 revision 1.170
  322 date: 2010/03/06 01:38:28;  author: tundra;  state: Exp;  lines: +19 -3
  323 Implemented Filename renaming token.
  324 ----------------------------
  325 revision 1.169
  326 date: 2010/03/06 01:31:07;  author: tundra;  state: Exp;  lines: +8 -8
  327 Slight error message cleanup.
  328 ----------------------------
  329 revision 1.168
  330 date: 2010/03/06 01:25:46;  author: tundra;  state: Exp;  lines: +9 -3
  331 Implemented logic to catch unknown renaming token types.
  332 Slight edits to token-related error messages.
  333 ----------------------------
  334 revision 1.167
  335 date: 2010/03/06 01:18:02;  author: tundra;  state: Exp;  lines: +38 -4
  336 Implemented /`cmd`/ command execution renaming tokens.
  337 ----------------------------
  338 revision 1.166
  339 date: 2010/03/05 21:54:36;  author: tundra;  state: Exp;  lines: +27 -3
  340 Implemented actual renaming token substitution logic.
  341 Implemented /$ENVVAR/ renaming token support.
  342 ----------------------------
  343 revision 1.165
  344 date: 2010/03/05 19:05:23;  author: tundra;  state: Exp;  lines: +43 -5
  345 Added code to __ResolveRenameTokens() to detect renaming tokens in a string, determine their contents, and flag missing delimiters.
  346 ----------------------------
  347 revision 1.164
  348 date: 2010/02/27 00:31:57;  author: tundra;  state: Exp;  lines: +11 -7
  349 Cosmetic cleanup in preparation for rename token processing.
  350 Changed regex processing to use match.span() rather than match.start() and match.end().
  351 ----------------------------
  352 revision 1.163
  353 date: 2010/02/26 20:11:29;  author: tundra;  state: Exp;  lines: +16 -31
  354 Consolidated all test mode reporting down into __RenameIt() so that -t will also show any required backup operations.
  355 ----------------------------
  356 revision 1.162
  357 date: 2010/02/26 18:56:41;  author: tundra;  state: Exp;  lines: +22 -11
  358 Fixed a bug that occured when multiple renames iterated over the same filename.
  359 ----------------------------
  360 revision 1.161
  361 date: 2010/02/26 18:15:15;  author: tundra;  state: Exp;  lines: +67 -40
  362 First cut at regex-based matching.
  363 -E option removed.  All ErrorMsg calls terminate program immediately now.
  364 ----------------------------
  365 revision 1.160
  366 date: 2010/02/26 06:40:00;  author: tundra;  state: Exp;  lines: +21 -5
  367 Added more bounds checking for individual replacement instance values.
  368 ----------------------------
  369 revision 1.159
  370 date: 2010/02/26 00:24:54;  author: tundra;  state: Exp;  lines: +16 -6
  371 Changed renaming logic to only rename the instances specified on the command line via -i.
  372 ----------------------------
  373 revision 1.158
  374 date: 2010/02/26 00:08:44;  author: tundra;  state: Exp;  lines: +98 -39
  375 Changed -i parsing logic to look for python-style indexes or slice ranges.
  376 ----------------------------
  377 revision 1.157
  378 date: 2010/02/25 20:04:39;  author: tundra;  state: Exp;  lines: +31 -17
  379 Began implementing new logic for selecting replacement "instances".
  380 This means -G and -g are no longer necessary.
  381 ----------------------------
  382 revision 1.156
  383 date: 2010/02/24 00:00:35;  author: tundra;  state: Exp;  lines: +9 -38
  384 Changed Rename() to ProcessRenameRequests().
  385 Got rid of the whole name/ext/all target paradigm, thereby eliminating -a, -b, -e, and -L options.
  386 ----------------------------
  387 revision 1.155
  388 date: 2010/02/18 00:49:45;  author: tundra;  state: Exp;  lines: +25 -18
  389 Simplified test mode reporting to only show top level renames and not any consequence backups or skips.
  390 Implemented live file renaming.
  391 ----------------------------
  392 revision 1.154
  393 date: 2010/02/17 22:07:53;  author: tundra;  state: Exp;  lines: +60 -74
  394 Moved checks for existing targets from Rename() to RenameIt().
  395 Made check for existing target recursive so existing backups would get backed up.
  396 Implemented min/max new filename length enforcement.
  397 Restructured Rename() so it didn't have to iterate twice over the work queue.
  398 ----------------------------
  399 revision 1.153
  400 date: 2010/02/17 20:07:53;  author: tundra;  state: Exp;  lines: +113 -78
  401 Began restructuring Rename() and added a new supporting RenameIt() method.
  402 ----------------------------
  403 revision 1.152
  404 date: 2010/02/17 16:31:35;  author: tundra;  state: Exp;  lines: +17 -14
  405 Added -P option to allow user to specify their own escape character.
  406 ----------------------------
  407 revision 1.151
  408 date: 2010/02/12 18:29:38;  author: tundra;  state: Exp;  lines: +54 -22
  409 Cleaned up and added more forced renaming logic.
  410 Changed -l to -L.
  411 Added framework for -P, to change the default escape string.
  412 Added check to disallow an null string as an argument to -L, -P, -R, and -S.
  413 ----------------------------
  414 revision 1.150
  415 date: 2010/02/05 21:35:47;  author: tundra;  state: Exp;  lines: +11 -13
  416 More cosmetic cleanup.
  417 ----------------------------
  418 revision 1.149
  419 date: 2010/02/05 21:25:31;  author: tundra;  state: Exp;  lines: +2 -3
  420 Changed -v so it dumps and *continues* - this allows its output to be included in a rename output log.
  421 ----------------------------
  422 revision 1.148
  423 date: 2010/02/05 21:22:44;  author: tundra;  state: Exp;  lines: +7 -4
  424 Minor cosmetic cleanup.
  425 ----------------------------
  426 revision 1.147
  427 date: 2010/02/05 21:13:07;  author: tundra;  state: Exp;  lines: +78 -27
  428 Added logic for dumping test output.
  429 Added InfoMsg().
  430 Began implementing logic for forced renaming of existing targets.
  431 Added -S option to override forced renaming suffix.
  432 ----------------------------
  433 revision 1.146
  434 date: 2010/02/05 19:20:25;  author: tundra;  state: Exp;  lines: +37 -22
  435 Modified ErrorMsg to accept and optional EXIT argument.  This gets rid of most of the sys.exit(1)s that littered the code.
  436 Added length constraint checks to newly calculated file/dir names.
  437 ----------------------------
  438 revision 1.145
  439 date: 2010/02/05 18:05:53;  author: tundra;  state: Exp;  lines: +85 -52
  440 Rewrote ProcessIncludes() to properly detect all legal forms of the include option on the command line.
  441 ----------------------------
  442 revision 1.144
  443 date: 2010/02/05 05:42:45;  author: tundra;  state: Exp;  lines: +27 -28
  444 Cleaned up renaming logic to handle old and new stings that contain spaces.
  445 Fixed problem with debug option not being properly detected in all cases.
  446 ----------------------------
  447 revision 1.143
  448 date: 2010/02/05 03:48:17;  author: tundra;  state: Exp;  lines: +15 -20
  449 Cleaned up the rename code further when handling -r =something.
  450 ----------------------------
  451 revision 1.142
  452 date: 2010/02/05 03:00:24;  author: tundra;  state: Exp;  lines: +26 -9
  453 Added code to observe reqested case sensitivity when renaming.
  454 Added code to handle the case when the old replacement string is null.
  455 ----------------------------
  456 revision 1.141
  457 date: 2010/02/04 19:55:27;  author: tundra;  state: Exp;  lines: +24 -6
  458 Retooled the renaming algorithm in preparation for adding case-insensitivity.
  459 ----------------------------
  460 revision 1.140
  461 date: 2010/02/03 23:56:38;  author: tundra;  state: Exp;  lines: +6 -5
  462 Fixed rename logic to only affect the filename portion of the fully qualified pathname string.
  463 ----------------------------
  464 revision 1.139
  465 date: 2010/02/03 23:43:20;  author: tundra;  state: Exp;  lines: +71 -10
  466 Built basic scaffolding for renaming files.
  467 Changed -1 option to -G.
  468 Implemented support for -G, -g.
  469 ----------------------------
  470 revision 1.138
  471 date: 2010/02/03 01:04:08;  author: tundra;  state: Exp;  lines: +13 -6
  472 Modified the contents of ORDERBYCMDLINE and ORDERBYALPHA to use fully qualified filenames.
  473 ----------------------------
  474 revision 1.137
  475 date: 2010/02/02 23:20:01;  author: tundra;  state: Exp;  lines: +175 -145
  476 Retooled the way RenameTargets is structured and populated.
  477 Added a separate method to dump RenameTargets for debugging.
  478 Cleaned up bug in ProcessIncludes() that occurred in you included another include without trailing whitespace (-Ix).
  479 Added EXTDELIM, MAXLINELEN, & RENSEP to the ProgramOptions table (like the other options), and adjusted code thoughout to reflect this.
  480 ----------------------------
  481 revision 1.136
  482 date: 2010/02/02 18:31:42;  author: tundra;  state: Exp;  lines: +89 -48
  483 Restructured RenRequests to be a single dictionary that now lives in the RenameTargets class.
  484 The old and new strings now appear in the RenRequests dictionary with keys "OLD" and "NEW" respectively.
  485 Defined symbolic constants for accessing state and old, new strings rather than embedding literal strings all over the code.
  486 ----------------------------
  487 revision 1.135
  488 date: 2010/02/02 17:53:55;  author: tundra;  state: Exp;  lines: +2 -2
  489 Changed TGTSEQFLG to a null string so it doesn't show up in debug output.
  490 ----------------------------
  491 revision 1.134
  492 date: 2010/02/02 17:49:53;  author: tundra;  state: Exp;  lines: +4 -4
  493 More cleanup of debug output for command line and environment info.
  494 ----------------------------
  495 revision 1.133
  496 date: 2010/02/02 17:41:21;  author: tundra;  state: Exp;  lines: +55 -98
  497 Repackaged program options into the ProgramOptions dictionary instead of being separate global variables.
  498 Cleaned up dump output and integrated the work previously done in DumpRenameObj() into the constructor of the object itself.
  499 ----------------------------
  500 revision 1.132
  501 date: 2010/02/01 23:08:22;  author: tundra;  state: Exp;  lines: +45 -4
  502 Implemented GetOldNew to properly parse a -r old=new arg, honoring RENSEP.
  503 ----------------------------
  504 revision 1.131
  505 date: 2010/01/30 22:10:13;  author: tundra;  state: Exp;  lines: +15 -8
  506 Slight code cleanup and abstraction.
  507 Added -R option.
  508 ----------------------------
  509 revision 1.130
  510 date: 2010/01/30 20:04:58;  author: tundra;  state: Exp;  lines: +5 -3
  511 Changed how environment variable and homepage strings are calculated.
  512 ----------------------------
  513 revision 1.129
  514 date: 2010/01/30 20:00:40;  author: tundra;  state: Exp;  lines: +6 -3
  515 Cleaned up Usage() copyright info and added homepage information.
  516 ----------------------------
  517 revision 1.128
  518 date: 2010/01/30 19:48:27;  author: tundra;  state: Exp;  lines: +2 -2
  519 Minor edit to copyright message.
  520 ----------------------------
  521 revision 1.127
  522 date: 2010/01/30 19:41:15;  author: tundra;  state: Exp;  lines: +9 -3
  523 Fixed problem when user specified -I without a space before the filename following as in -Ifile.
  524 ----------------------------
  525 revision 1.126
  526 date: 2010/01/30 19:13:04;  author: tundra;  state: Exp;  lines: +2 -2
  527 Minor cosmetic change to Usage() output.
  528 ----------------------------
  529 revision 1.125
  530 date: 2010/01/30 18:43:36;  author: tundra;  state: Exp;  lines: +7 -6
  531 Added program version info to DumpState() output.
  532 General DumpState() cleanup.
  533 ----------------------------
  534 revision 1.124
  535 date: 2010/01/30 18:27:51;  author: tundra;  state: Exp;  lines: +3 -2
  536 Fixed minor typo in Usage().
  537 Added MAXLINELEN to DumpState() output.
  538 ----------------------------
  539 revision 1.123
  540 date: 2010/01/30 18:20:44;  author: tundra;  state: Exp;  lines: +106 -137
  541 Catch os.stat() attempts on nonexistent files.
  542 Removed program version number from error and debug output lines.
  543 Added -w to allow user to set length of diagnostic output and reorganized code as needed to do this everywhere.
  544 Removed pair-target command line processing and went back to the standard CLI semantics.
  545 ----------------------------
  546 revision 1.122
  547 date: 2010/01/29 21:18:35;  author: tundra;  state: Exp;  lines: +20 -13
  548 Further slight restructuring of renaming request code.
  549 ----------------------------
  550 revision 1.121
  551 date: 2010/01/29 21:07:17;  author: tundra;  state: Exp;  lines: +43 -12
  552 Factored out a common routine, DumpList(), for dumping any list, using any output handler.
  553 Setup the basic structure for parsing renaming requests.
  554 ----------------------------
  555 revision 1.120
  556 date: 2010/01/29 18:52:29;  author: tundra;  state: Exp;  lines: +5 -1
  557 Added deletion of unneeded objects at the end of RenameTargets.__init__()
  558 ----------------------------
  559 revision 1.119
  560 date: 2010/01/29 18:32:04;  author: tundra;  state: Exp;  lines: +63 -21
  561 Added remainder of os.stat() info to RenameTargets for potential sequence renaming token use.
  562 Added alpha-order of command line rename targets for potential sequence renaming token use.
  563 ----------------------------
  564 revision 1.118
  565 date: 2010/01/29 00:17:13;  author: tundra;  state: Exp;  lines: +26 -3
  566 More factoring of RenameTargets sequence generations.
  567 Added atime and mtime to tracked sequences.
  568 ----------------------------
  569 revision 1.117
  570 date: 2010/01/28 23:50:25;  author: tundra;  state: Exp;  lines: +39 -55
  571 Factored and cleaned up sequence building logic in RenameTargets.
  572 Cleaned up DumpRenameObj() accordingly.
  573 ----------------------------
  574 revision 1.116
  575 date: 2010/01/28 22:55:52;  author: tundra;  state: Exp;  lines: +61 -27
  576 Added code to sort entries alphabetically if more than one has same ctime or size.
  577 Added code to store ascending and descending sequence numbers by ctime and size for each rename target.
  578 ----------------------------
  579 revision 1.115
  580 date: 2010/01/27 23:32:30;  author: tundra;  state: Exp;  lines: +33 -18
  581 Fixed sequence list construction to preserve all files that share idential ctimes/sizes.
  582 Further cleanup of DumpRenameObj().
  583 Make sure to only construct/delete a RenameTarget object if there are actual arguments to process.
  584 ----------------------------
  585 revision 1.114
  586 date: 2010/01/27 18:04:55;  author: tundra;  state: Exp;  lines: +25 -1
  587 Added logic to dump sequence information from rename objects.
  588 ----------------------------
  589 revision 1.113
  590 date: 2010/01/27 17:34:57;  author: tundra;  state: Exp;  lines: +48 -6
  591 Added logic to more cleanly handle long error and debug messages.
  592 ----------------------------
  593 revision 1.112
  594 date: 2010/01/26 23:02:40;  author: tundra;  state: Exp;  lines: +87 -3
  595 Began constructing the renaming targets object and associated debug support.
  596 ----------------------------
  597 revision 1.111
  598 date: 2010/01/26 01:23:14;  author: tundra;  state: Exp;  lines: +2 -4
  599 Got rid of superfluous DumpState() at end of option parsing.
  600 ----------------------------
  601 revision 1.110
  602 date: 2010/01/26 01:15:08;  author: tundra;  state: Exp;  lines: +125 -85
  603 Reintroduced ability to get debug dump as often as we like with multiple command line '-d's.
  604 Reorganized and cleaned up the code and debugging logic.
  605 ----------------------------
  606 revision 1.109
  607 date: 2010/01/25 23:23:30;  author: tundra;  state: Exp;  lines: +40 -14
  608 Cleanup of debug structure and logic.
  609 ----------------------------
  610 revision 1.108
  611 date: 2010/01/25 22:21:26;  author: tundra;  state: Exp;  lines: +93 -49
  612 Added logic to subdivide command line into "opts... targets..." pairs.
  613 ----------------------------
  614 revision 1.107
  615 date: 2010/01/23 01:12:16;  author: tundra;  state: Exp;  lines: +6 -7
  616 Provided more detailed reporting of command line getopt errors.
  617 Harmonized the -I missing argument error with the above.
  618 ----------------------------
  619 revision 1.106
  620 date: 2010/01/23 01:00:00;  author: tundra;  state: Exp;  lines: +5 -2
  621 Added code to handle comments in include files.
  622 ----------------------------
  623 revision 1.105
  624 date: 2010/01/23 00:38:55;  author: tundra;  state: Exp;  lines: +14 -2
  625 Limited number of includes to 50 to catch circular references.
  626 ----------------------------
  627 revision 1.104
  628 date: 2010/01/22 20:33:06;  author: tundra;  state: Exp;  lines: +74 -18
  629 Changed -F to -I.
  630 Implemented $TREN handling.
  631 Implemented -I include processing.
  632 Added command line and environment diagnostic output to DumpState().
  633 ----------------------------
  634 revision 1.103
  635 date: 2010/01/22 00:58:04;  author: tundra;  state: Exp;  lines: +18 -18
  636 Added -d to getopts list.
  637 Added command line parsing and toggle/option processing.
  638 ----------------------------
  639 revision 1.102
  640 date: 2010/01/22 00:41:23;  author: tundra;  state: Exp;  lines: +159 -15
  641 Added state variables/toggles.
  642 Implemented PrintStderr() and PrintStdout() for all printing operations.
  643 Changed Usage() and ErrorMsg() to use these printing primitives instead of 'print'.
  644 Added dDEBUG, ColumnPad(), DebugMsg(), DumpState(), and the -d flag.
  645 ----------------------------
  646 revision 1.101
  647 date: 2010/01/14 22:30:06;  author: tundra;  state: Exp;  lines: +3 -17
  648 Fixed minor bugs from template used to create skeleton code.
  649 Removed references to tconfpy and config file parsing.
  650 ----------------------------
  651 revision 1.100
  652 date: 2010/01/14 18:24:02;  author: tundra;  state: Exp;
  653 Initial Version
  654 ----------------------------
  655 =============================================================================