Browse Source

Added KDE3 version of krename


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krename@1094420 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tpearson 9 years ago
commit
aec5a84267
100 changed files with 27637 additions and 0 deletions
  1. 8
    0
      AUTHORS
  2. 286
    0
      COPYING
  3. 674
    0
      ChangeLog
  4. 246
    0
      Doxyfile
  5. 167
    0
      INSTALL
  6. 30
    0
      Makefile.am
  7. 14
    0
      Makefile.dist
  8. 44
    0
      README
  9. 383
    0
      TODO
  10. 12360
    0
      acinclude.m4
  11. 863
    0
      aclocal.m4
  12. 237
    0
      config.h.in
  13. 2
    0
      configure.files
  14. 121
    0
      configure.in
  15. 3
    0
      configure.in.in
  16. 6
    0
      doc/Makefile.am
  17. 13
    0
      doc/en/HTML/Makefile.am
  18. 63
    0
      doc/en/HTML/index.html
  19. 10
    0
      doc/en/Makefile.am
  20. 195
    0
      krename.kdevelop
  21. 53
    0
      krename.spec
  22. 49
    0
      krename/Makefile.am
  23. 360
    0
      krename/ProgressDialog.cpp
  24. 129
    0
      krename/ProgressDialog.h
  25. 950
    0
      krename/batchrenamer.cpp
  26. 188
    0
      krename/batchrenamer.h
  27. 200
    0
      krename/commandplugin.cpp
  28. 62
    0
      krename/commandplugin.h
  29. 109
    0
      krename/confdialog.cpp
  30. 66
    0
      krename/confdialog.h
  31. 142
    0
      krename/coorddialog.cpp
  32. 70
    0
      krename/coorddialog.h
  33. 153
    0
      krename/dateplugin.cpp
  34. 44
    0
      krename/dateplugin.h
  35. 238
    0
      krename/datetime.cpp
  36. 90
    0
      krename/datetime.h
  37. 112
    0
      krename/dsdirselectdialog.cpp
  38. 54
    0
      krename/dsdirselectdialog.h
  39. 144
    0
      krename/encodingplugin.cpp
  40. 68
    0
      krename/encodingplugin.h
  41. 124
    0
      krename/fileoperation.cpp
  42. 54
    0
      krename/fileoperation.h
  43. 213
    0
      krename/fileplugin.cpp
  44. 86
    0
      krename/fileplugin.h
  45. 33
    0
      krename/firststartdlg.cpp
  46. 32
    0
      krename/firststartdlg.h
  47. 78
    0
      krename/guimodeselector.cpp
  48. 41
    0
      krename/guimodeselector.h
  49. 159
    0
      krename/helpdialog.cpp
  50. 111
    0
      krename/helpdialog.h
  51. BIN
      krename/hi32-app-krename.png
  52. BIN
      krename/hi48-app-krename.png
  53. 167
    0
      krename/kmyhistorycombo.cpp
  54. 74
    0
      krename/kmyhistorycombo.h
  55. 839
    0
      krename/kmylistbox.cpp
  56. 186
    0
      krename/kmylistbox.h
  57. 177
    0
      krename/kmylistview.cpp
  58. 94
    0
      krename/kmylistview.h
  59. 113
    0
      krename/krecursivelister.cpp
  60. 107
    0
      krename/krecursivelister.h
  61. 11
    0
      krename/krename.desktop
  62. 30
    0
      krename/krename.h
  63. 12
    0
      krename/krename_dir.desktop
  64. 11
    0
      krename/krename_system_default_tabbed.xml
  65. 11
    0
      krename/krename_system_default_wizard.xml
  66. 55
    0
      krename/krenamedcop.h
  67. 1836
    0
      krename/krenameimpl.cpp
  68. 353
    0
      krename/krenameimpl.h
  69. 16
    0
      krename/krenameservicemenu.desktop
  70. BIN
      krename/lo16-app-krename.png
  71. BIN
      krename/lo32-app-krename.png
  72. BIN
      krename/logo.png
  73. 148
    0
      krename/main.cpp
  74. 169
    0
      krename/mydirplugin.cpp
  75. 72
    0
      krename/mydirplugin.h
  76. 109
    0
      krename/myinputdialog.cpp
  77. 74
    0
      krename/myinputdialog.h
  78. 171
    0
      krename/numberdialog.cpp
  79. 74
    0
      krename/numberdialog.h
  80. 329
    0
      krename/permission.cpp
  81. 90
    0
      krename/permission.h
  82. 98
    0
      krename/pictureplugin.cpp
  83. 40
    0
      krename/pictureplugin.h
  84. 62
    0
      krename/plugin.cpp
  85. 72
    0
      krename/plugin.h
  86. 179
    0
      krename/pluginloader.cpp
  87. 92
    0
      krename/pluginloader.h
  88. 602
    0
      krename/profiledlg.cpp
  89. 79
    0
      krename/profiledlg.h
  90. 257
    0
      krename/replacedialog.cpp
  91. 78
    0
      krename/replacedialog.h
  92. 15
    0
      krename/semantic.cache
  93. 120
    0
      krename/tabs.cpp
  94. 57
    0
      krename/tabs.h
  95. 162
    0
      krename/threadedlister.cpp
  96. 158
    0
      krename/threadedlister.h
  97. 106
    0
      krename/translitplugin.cpp
  98. 59
    0
      krename/translitplugin.h
  99. 136
    0
      krename/undodialog.cpp
  100. 0
    0
      krename/undodialog.h

+ 8
- 0
AUTHORS View File

@@ -0,0 +1,8 @@
1
+
2
+
3
+    |=======================================|
4
+    | Dominik Seichter <domseichter@web.de> |
5
+    |      http://www.krename. net          |
6
+    |=======================================|
7
+
8
+    (c) 2001-2003 Dominik Seichter

+ 286
- 0
COPYING View File

@@ -0,0 +1,286 @@
1
+NOTE! The GPL below is copyrighted by the Free Software Foundation, but
2
+the instance of code that it refers to (the krename application) is copyrighted
3
+by the author (Dominik Seichter) who actually wrote it.
4
+
5
+---------------------------------------------------------------------------
6
+
7
+		    GNU GENERAL PUBLIC LICENSE
8
+		       Version 2, June 1991
9
+
10
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
11
+                          675 Mass Ave, Cambridge, MA 02139, USA
12
+ Everyone is permitted to copy and distribute verbatim copies
13
+ of this license document, but changing it is not allowed.
14
+
15
+			    Preamble
16
+
17
+  The licenses for most software are designed to take away your
18
+freedom to share and change it.  By contrast, the GNU General Public
19
+License is intended to guarantee your freedom to share and change free
20
+software--to make sure the software is free for all its users.  This
21
+General Public License applies to most of the Free Software
22
+Foundation's software and to any other program whose authors commit to
23
+using it.  (Some other Free Software Foundation software is covered by
24
+the GNU Library General Public License instead.)  You can apply it to
25
+your programs, too.
26
+
27
+  When we speak of free software, we are referring to freedom, not
28
+price.  Our General Public Licenses are designed to make sure that you
29
+have the freedom to distribute copies of free software (and charge for
30
+this service if you wish), that you receive source code or can get it
31
+if you want it, that you can change the software or use pieces of it
32
+in new free programs; and that you know you can do these things.
33
+
34
+  To protect your rights, we need to make restrictions that forbid
35
+anyone to deny you these rights or to ask you to surrender the rights.
36
+These restrictions translate to certain responsibilities for you if you
37
+distribute copies of the software, or if you modify it.
38
+
39
+  For example, if you distribute copies of such a program, whether
40
+gratis or for a fee, you must give the recipients all the rights that
41
+you have.  You must make sure that they, too, receive or can get the
42
+source code.  And you must show them these terms so they know their
43
+rights.
44
+
45
+  We protect your rights with two steps: (1) copyright the software, and
46
+(2) offer you this license which gives you legal permission to copy,
47
+distribute and/or modify the software.
48
+
49
+  Also, for each author's protection and ours, we want to make certain
50
+that everyone understands that there is no warranty for this free
51
+software.  If the software is modified by someone else and passed on, we
52
+want its recipients to know that what they have is not the original, so
53
+that any problems introduced by others will not reflect on the original
54
+authors' reputations.
55
+
56
+  Finally, any free program is threatened constantly by software
57
+patents.  We wish to avoid the danger that redistributors of a free
58
+program will individually obtain patent licenses, in effect making the
59
+program proprietary.  To prevent this, we have made it clear that any
60
+patent must be licensed for everyone's free use or not licensed at all.
61
+
62
+  The precise terms and conditions for copying, distribution and
63
+modification follow.
64
+
65
+		    GNU GENERAL PUBLIC LICENSE
66
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
67
+
68
+  0. This License applies to any program or other work which contains
69
+a notice placed by the copyright holder saying it may be distributed
70
+under the terms of this General Public License.  The "Program", below,
71
+refers to any such program or work, and a "work based on the Program"
72
+means either the Program or any derivative work under copyright law:
73
+that is to say, a work containing the Program or a portion of it,
74
+either verbatim or with modifications and/or translated into another
75
+language.  (Hereinafter, translation is included without limitation in
76
+the term "modification".)  Each licensee is addressed as "you".
77
+
78
+Activities other than copying, distribution and modification are not
79
+covered by this License; they are outside its scope.  The act of
80
+running the Program is not restricted, and the output from the Program
81
+is covered only if its contents constitute a work based on the
82
+Program (independent of having been made by running the Program).
83
+Whether that is true depends on what the Program does.
84
+
85
+  1. You may copy and distribute verbatim copies of the Program's
86
+source code as you receive it, in any medium, provided that you
87
+conspicuously and appropriately publish on each copy an appropriate
88
+copyright notice and disclaimer of warranty; keep intact all the
89
+notices that refer to this License and to the absence of any warranty;
90
+and give any other recipients of the Program a copy of this License
91
+along with the Program.
92
+
93
+You may charge a fee for the physical act of transferring a copy, and
94
+you may at your option offer warranty protection in exchange for a fee.
95
+
96
+  2. You may modify your copy or copies of the Program or any portion
97
+of it, thus forming a work based on the Program, and copy and
98
+distribute such modifications or work under the terms of Section 1
99
+above, provided that you also meet all of these conditions:
100
+
101
+    a) You must cause the modified files to carry prominent notices
102
+    stating that you changed the files and the date of any change.
103
+
104
+    b) You must cause any work that you distribute or publish, that in
105
+    whole or in part contains or is derived from the Program or any
106
+    part thereof, to be licensed as a whole at no charge to all third
107
+    parties under the terms of this License.
108
+
109
+    c) If the modified program normally reads commands interactively
110
+    when run, you must cause it, when started running for such
111
+    interactive use in the most ordinary way, to print or display an
112
+    announcement including an appropriate copyright notice and a
113
+    notice that there is no warranty (or else, saying that you provide
114
+    a warranty) and that users may redistribute the program under
115
+    these conditions, and telling the user how to view a copy of this
116
+    License.  (Exception: if the Program itself is interactive but
117
+    does not normally print such an announcement, your work based on
118
+    the Program is not required to print an announcement.)
119
+
120
+These requirements apply to the modified work as a whole.  If
121
+identifiable sections of that work are not derived from the Program,
122
+and can be reasonably considered independent and separate works in
123
+themselves, then this License, and its terms, do not apply to those
124
+sections when you distribute them as separate works.  But when you
125
+distribute the same sections as part of a whole which is a work based
126
+on the Program, the distribution of the whole must be on the terms of
127
+this License, whose permissions for other licensees extend to the
128
+entire whole, and thus to each and every part regardless of who wrote it.
129
+
130
+Thus, it is not the intent of this section to claim rights or contest
131
+your rights to work written entirely by you; rather, the intent is to
132
+exercise the right to control the distribution of derivative or
133
+collective works based on the Program.
134
+
135
+In addition, mere aggregation of another work not based on the Program
136
+with the Program (or with a work based on the Program) on a volume of
137
+a storage or distribution medium does not bring the other work under
138
+the scope of this License.
139
+
140
+  3. You may copy and distribute the Program (or a work based on it,
141
+under Section 2) in object code or executable form under the terms of
142
+Sections 1 and 2 above provided that you also do one of the following:
143
+
144
+    a) Accompany it with the complete corresponding machine-readable
145
+    source code, which must be distributed under the terms of Sections
146
+    1 and 2 above on a medium customarily used for software interchange; or,
147
+
148
+    b) Accompany it with a written offer, valid for at least three
149
+    years, to give any third party, for a charge no more than your
150
+    cost of physically performing source distribution, a complete
151
+    machine-readable copy of the corresponding source code, to be
152
+    distributed under the terms of Sections 1 and 2 above on a medium
153
+    customarily used for software interchange; or,
154
+
155
+    c) Accompany it with the information you received as to the offer
156
+    to distribute corresponding source code.  (This alternative is
157
+    allowed only for noncommercial distribution and only if you
158
+    received the program in object code or executable form with such
159
+    an offer, in accord with Subsection b above.)
160
+
161
+The source code for a work means the preferred form of the work for
162
+making modifications to it.  For an executable work, complete source
163
+code means all the source code for all modules it contains, plus any
164
+associated interface definition files, plus the scripts used to
165
+control compilation and installation of the executable.  However, as a
166
+special exception, the source code distributed need not include
167
+anything that is normally distributed (in either source or binary
168
+form) with the major components (compiler, kernel, and so on) of the
169
+operating system on which the executable runs, unless that component
170
+itself accompanies the executable.
171
+
172
+If distribution of executable or object code is made by offering
173
+access to copy from a designated place, then offering equivalent
174
+access to copy the source code from the same place counts as
175
+distribution of the source code, even though third parties are not
176
+compelled to copy the source along with the object code.
177
+
178
+  4. You may not copy, modify, sublicense, or distribute the Program
179
+except as expressly provided under this License.  Any attempt
180
+otherwise to copy, modify, sublicense or distribute the Program is
181
+void, and will automatically terminate your rights under this License.
182
+However, parties who have received copies, or rights, from you under
183
+this License will not have their licenses terminated so long as such
184
+parties remain in full compliance.
185
+
186
+  5. You are not required to accept this License, since you have not
187
+signed it.  However, nothing else grants you permission to modify or
188
+distribute the Program or its derivative works.  These actions are
189
+prohibited by law if you do not accept this License.  Therefore, by
190
+modifying or distributing the Program (or any work based on the
191
+Program), you indicate your acceptance of this License to do so, and
192
+all its terms and conditions for copying, distributing or modifying
193
+the Program or works based on it.
194
+
195
+  6. Each time you redistribute the Program (or any work based on the
196
+Program), the recipient automatically receives a license from the
197
+original licensor to copy, distribute or modify the Program subject to
198
+these terms and conditions.  You may not impose any further
199
+restrictions on the recipients' exercise of the rights granted herein.
200
+You are not responsible for enforcing compliance by third parties to
201
+this License.
202
+
203
+  7. If, as a consequence of a court judgment or allegation of patent
204
+infringement or for any other reason (not limited to patent issues),
205
+conditions are imposed on you (whether by court order, agreement or
206
+otherwise) that contradict the conditions of this License, they do not
207
+excuse you from the conditions of this License.  If you cannot
208
+distribute so as to satisfy simultaneously your obligations under this
209
+License and any other pertinent obligations, then as a consequence you
210
+may not distribute the Program at all.  For example, if a patent
211
+license would not permit royalty-free redistribution of the Program by
212
+all those who receive copies directly or indirectly through you, then
213
+the only way you could satisfy both it and this License would be to
214
+refrain entirely from distribution of the Program.
215
+
216
+If any portion of this section is held invalid or unenforceable under
217
+any particular circumstance, the balance of the section is intended to
218
+apply and the section as a whole is intended to apply in other
219
+circumstances.
220
+
221
+It is not the purpose of this section to induce you to infringe any
222
+patents or other property right claims or to contest validity of any
223
+such claims; this section has the sole purpose of protecting the
224
+integrity of the free software distribution system, which is
225
+implemented by public license practices.  Many people have made
226
+generous contributions to the wide range of software distributed
227
+through that system in reliance on consistent application of that
228
+system; it is up to the author/donor to decide if he or she is willing
229
+to distribute software through any other system and a licensee cannot
230
+impose that choice.
231
+
232
+This section is intended to make thoroughly clear what is believed to
233
+be a consequence of the rest of this License.
234
+
235
+  8. If the distribution and/or use of the Program is restricted in
236
+certain countries either by patents or by copyrighted interfaces, the
237
+original copyright holder who places the Program under this License
238
+may add an explicit geographical distribution limitation excluding
239
+those countries, so that distribution is permitted only in or among
240
+countries not thus excluded.  In such case, this License incorporates
241
+the limitation as if written in the body of this License.
242
+
243
+  9. The Free Software Foundation may publish revised and/or new versions
244
+of the General Public License from time to time.  Such new versions will
245
+be similar in spirit to the present version, but may differ in detail to
246
+address new problems or concerns.
247
+
248
+Each version is given a distinguishing version number.  If the Program
249
+specifies a version number of this License which applies to it and "any
250
+later version", you have the option of following the terms and conditions
251
+either of that version or of any later version published by the Free
252
+Software Foundation.  If the Program does not specify a version number of
253
+this License, you may choose any version ever published by the Free Software
254
+Foundation.
255
+
256
+  10. If you wish to incorporate parts of the Program into other free
257
+programs whose distribution conditions are different, write to the author
258
+to ask for permission.  For software which is copyrighted by the Free
259
+Software Foundation, write to the Free Software Foundation; we sometimes
260
+make exceptions for this.  Our decision will be guided by the two goals
261
+of preserving the free status of all derivatives of our free software and
262
+of promoting the sharing and reuse of software generally.
263
+
264
+			    NO WARRANTY
265
+
266
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
267
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
268
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
269
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
270
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
271
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
272
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
273
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
274
+REPAIR OR CORRECTION.
275
+
276
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
277
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
278
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
279
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
280
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
281
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
282
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
283
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
284
+POSSIBILITY OF SUCH DAMAGES.
285
+
286
+		     END OF TERMS AND CONDITIONS

+ 674
- 0
ChangeLog View File

@@ -0,0 +1,674 @@
1
+Version 3.0 stable
2
+    3.0.0 (Release Date 28.06.2004):
3
+        Fixed undo of renamed directories and their contents
4
+        Added a Polish translation by Krzysztof Pawlak 
5
+    3.0.1 (Release Date 17.07.2004):
6
+        Fixed a memory leak (create KRecursiveLister instances without deleting)
7
+        Updated the Polish translation
8
+        Loading fileplugins after startup is now possible
9
+        Added option to create symlinks again (only for advanced mode)
10
+        Fixed preview moved out of screen
11
+        Added a Russian translation by Ilya Ivkov
12
+        Fixed a bug: Appended strings should be allowed to contain braced; [1-5{\{Hallo\}}] should work
13
+        Escaping of braces is now possible \{ \}
14
+        Tooltip improvements
15
+        Added extension renaming to the easy mode
16
+        Added find and replace to the easy mode
17
+    3.0.2 (Release Date 09.08.2004):
18
+        Fixed a numbering bug with random start values
19
+        Updated Russian, Polish and French translation
20
+        Added a Bosnian Trasnlation by Asim Husanovic
21
+    3.0.3 (Release Date 13.02.2005):
22
+        ESC doesn't close KRename anymore
23
+        Fixed many typos (thanks to Arpad Biro)
24
+        Updated hungarian translation
25
+        Fixed inserting of \
26
+        Added a few tooltips to the add dialog
27
+        Fixed escaping of # in filenames so that files containing a # can be added using drag and drop
28
+        Added the option to sort filenames in random order
29
+        Filename tab is made visible if filenames have been passed over the commandline
30
+        Updated russian translation by Nick Shaforostoff
31
+        Updated german, japanese and netherlands translation
32
+        Added profile management (removed save settings in number and find/replace dialog therefore)   
33
+        Added plugin data reloading
34
+        Added Nummeric Sorting mode
35
+        Added function help dialog also to the beginners mode
36
+        Fixed keyboard accels in German translation
37
+        Fixed filenames containing a slash
38
+        Added formating of datetypes (e.g.: [date;yyyy-MM-dd] or [accessdate;dd-MM-yyyy_hh:mm])
39
+        Better feedback during renaming lots of files in the ProgressDialog
40
+        ProgressDialog is closed correctly after an undo
41
+        Updated translations and fixed typos
42
+        Fixed advanced date formatting, upercase letters were converted to lowercase
43
+        Apply patch from Laurent Montel to exclude devices from the servicemenu
44
+        Make adding of files multithreaded to be faster and fix some bugs
45
+        Fixed reload plugin data (just clears the cache of all plugins)
46
+        Let the KDE KRename documentation point to the pdf handbook
47
+        Made KRename more responsive when changing the template for many files
48
+        Fixed adding files by drag and drop and from commandline options
49
+    3.0.4 (Release Date 21.04.2005):
50
+        Fixed keyboard shortcut ALT+F being used twice
51
+        Make saving profiles more easier to understand for the user
52
+        Disable delete button for default profiles
53
+        Support default profiles
54
+        Declared lot's of functions as inline for speed reasons
55
+        Added support for resetting counters on new directories
56
+    3.0.5 (Release Date 25.05.2005):
57
+        Updated Russian translation by Alexey Kouznetsov
58
+        Updated Polish translation by Krzysztof Pawlak
59
+        Added Chinese Simplified translation by Dehua Qin
60
+        Fixed a bug in the strip whitespace function \
61
+        Added Brazilian Portugues translation by Paulo Zambon and Michele Fasoli
62
+        Display error warning message only if errors have occured
63
+        Updated Italian translation by Patrick Bellasi 
64
+        3.0.6 (Release Date 25.05.2005):
65
+        Allow to set the profile with a commandline switch
66
+        Added brazillian translation to the service menu
67
+        Fixed crash with the --start option
68
+        Fixed adding directories from the commandline with the --start option
69
+        Fixed the taborder in the ProgressDialog
70
+        Fixed find and replace with regular expressions
71
+    3.0.7 (Release Date: 28.08.2005):
72
+        Fixed for the pt_BR translation
73
+        changed Krename -> KRename in myinputdialog.cpp
74
+        Fixed plugins in second run of KRename
75
+        Added Transliteration Plugin by Oleg Ivanov
76
+        Set focus to the template field when switching to the filename tab
77
+        in advanced mode
78
+        Added keyboard shortcut F2 to change filename manually as
79
+        requestet by Paulo
80
+        Updated Hungarian Translation by Arpad Biro
81
+        Fixed servicemenu files
82
+    3.0.8 (Release Date: 24.09.2005):
83
+        Updated German translation (thanks to the debian team)
84
+        Fixed on the fly mode switching
85
+        Fixed the profile commandline option when a default profile was specified
86
+        Fixed a crash with loading the KDE file plugins after KRename was started
87
+        Fixed a few smaller memory leaks (thanks to valgrind)
88
+        Code review with many smaller optimization (mostly using inline
89
+        for functions and references for parameters)
90
+        Fixed hide and show of KRename window on startup
91
+    3.0.9 (Release Date: 18.10.2005):
92
+	Fixed the .desktop file to open only one KRename window when
93
+	multiple files are dragged on the icon
94
+	Added Slovinean translation by Matej Urbanèiè
95
+    3.0.10 (Release Date: 11.01.2006): 
96
+	Swedish translation by Peter Landgren
97
+	Updated Polish translation by Krzysztof Pawlak
98
+	Added context menu to all template text fields to quickly insert
99
+	KRename tokens
100
+	Updated Hungarian translation by Arpad Biro
101
+    3.0.11 (Release Date: 22.02.2006):
102
+	Cleaned up Makefile.am
103
+	Fixed desktop files
104
+	Fixed {,} and * when returned from plugins
105
+	Fixed add files here label on the first page in wizard mode
106
+	Show last tab when files are passed on the commandline
107
+	Updated Swedish translation by Peter Landgren
108
+	Updated Italian translation by Vincenzo Reale
109
+	Updated admin directory to KDE 3.5
110
+    3.0.12 (Release Date: 14.08.2006):
111
+	Updated Spanish and Italian translation
112
+	Fixed a compilation problem with gcc 2.95
113
+	Fixed servicemenu installation
114
+	Fixed a possible crash
115
+	German translation fixes by Frederik Schwarzer
116
+	Fixed drag and drop of files to KRename
117
+    3.0.13 (Release Date: 03.12.2006):
118
+	Emre Alada contributed a Turkish translation
119
+	Improved speed when a plugin token was not found
120
+	Fixed encoding plugin
121
+	Added commandline switch to specify the number of previewitems
122
+    3.0.14:
123
+	Fixed a crash with plugin previews
124
+	Fixed adding directories recursive when dropped from another application
125
+	Added a unit test
126
+	Fixed plugin tokens with additional arguments e.g. [date;dd-mm-yyyy]
127
+	Fixed the seconds in the time [token]
128
+	Corrected documentation of [user] and [group] tokens
129
+	Patch by Otakar Trunecek to add Czech transliteration characters
130
+	
131
+Version 2.9
132
+    2.9.0 (Release Date 24.01.2004):
133
+        Added KIO slave support (e.g.: fish:// and ftp://)
134
+        Use the mimetype icon if no icon is found
135
+        File preview is much faster now
136
+        Moving of items in large lists if faster now
137
+        Removed stupid tooltip for filelist
138
+        Improved ProgressDialog
139
+        Fixed plugin finished being called even if the user canceled renaming
140
+        Added option to easily use the filename of the input file (when changing manually)
141
+        Fixed enabled state of up and down buttons
142
+        Using Jonathon Sim's KRecursiveLister
143
+        Added a refresh preview button
144
+        Removed ask on exit option (KRename doesn't ask anymore)
145
+        Fileextension start dot, can now be configured easier
146
+        Fixed capitalization for apostrophes
147
+        Removed stupid warning message, about files not being added twice
148
+        Made PluginLoader a singleton -> KRename is faster if a second window is opened
149
+        Added a very simple DCOP interface (more functions to come in the next release)
150
+        Fixed a bug that caused [x] (x being a number) to fail in some cases
151
+        Fixed manual changing filenames
152
+    2.9.1 (Release Date 01.02.2004):
153
+        Compilation fix (cannot declare member function as static)
154
+        Fixed keyboard access to file template lineedit
155
+    Improved plugin system, no need to enable certain plugins anymore
156
+        Removed write meta info function, as it did not work very well
157
+        Refactored the image plugin to look like the other plugins and use a cache
158
+    2.9.2 (Release Date 29.02.2004):
159
+        Added a hungarian translation from the SuSE 9.0 rpm
160
+        Date and time functions are now a plugin    
161
+        Added [user], [group], [modificationdate], [creationdate] and [accessdate] tokens
162
+        Fixed a bug with the [date] token 
163
+        Fixed the command, permissions and date and time plugin
164
+        Added lot's of examples to the command plugin
165
+        Updated the German translation
166
+        Renaming speed got greatly improved (FileCopyJob is used instead of CopyJob)
167
+        Overwriting of files works again
168
+        Removed option to create symlinks, who needs that?
169
+        Added a [length] token, returning the length of the input filename
170
+        Support for nested tokens like: [[length-4]-[length-2]] 
171
+        Fixed mouse problems on the first page of the wizard
172
+        The part string token supports appended strings: [2;4{[dirname]}] or [2-4{KRENAME}]
173
+        Fixed a bug with special tokens in directories which are created during runtime
174
+        Added a few new DCOP functions
175
+        Fixed regular expressions find and replace
176
+        Much faster adding of files, because of a better sorting algorithm
177
+        Updated the French translation
178
+        Depends on KDE 3.1 now, because of KDirLister
179
+        Fixed an annoying message box popping up, when an error occurs
180
+    2.9.3 (Release Date 09.04.2004):
181
+        Updated Spanish translation
182
+        Updated German translation
183
+        Fixed a crash when adding directories recursively
184
+        All plugin tokens have a prefix now for consistency
185
+        Added new DCOP methods
186
+    2.9.4 (Release Date 15.04.2004):
187
+        Fixed [length-2] token (substracted only 1 instead of 2)
188
+        Set default to tabbed mode for GUI
189
+        Added a powerful easy mode dialog
190
+        KMyHistoryCombo saves its settings itsself, saving lots of code duplication
191
+        Fixed the annoying error messages again
192
+        Improved ProgressedDialog
193
+        All files (even files with errors) can now be renamed again    
194
+    3.0.0-rc1 (Release Date 04.05.2004):
195
+        Updated French translation
196
+        Updated Spanish translation
197
+        Updated German translation
198
+        Fixed spelling errors (thanks goes to Arpad Biro)
199
+        Updated admin dir to work with automake 1.8
200
+        Service menu is installed by default, saving lot's of code
201
+        Fixed a bug with FilePlugins
202
+    3.0.0-rc2 (Release Date 26.05.2004):
203
+        Updated Netherlands translation
204
+        Fixed a bug with § which could result in an endless loop
205
+        Replaced § with [&1][%2-]
206
+        Fixed multi-line error message in progress dialog
207
+        Nicer file preview (previews are centered and text is aligned)
208
+        Start index defaults now to 1
209
+        Changed button order in ProgressDialog and Tabs Mode (Close)
210
+        Move change filename manually to the top of the context menu
211
+        Append a / to directory names so that files are copied/moved correctly
212
+        Do not display file:// for local files
213
+        KRename creates missing directories automatically for you
214
+        KRename window size on startup was fixed
215
+        Only one button to add directories and files
216
+        Many messages where simplified
217
+        Undo file can only be created if files are not copied
218
+        Added an automatic undo function        
219
+        Plugin page was removed from the wizard
220
+        Fixed unexpected close of wizard after renaming
221
+        Improved directory selection
222
+        Better sorting of files
223
+        No update preview when find and replace dialog was canceled
224
+    3.0.0-rc3 (Release Date 13.06.2004):
225
+        Removed help buttons
226
+        Fixed lots of typos        
227
+        previous -> original
228
+        Added small icons to help dialog
229
+        Added a small text notice to tell the user he should add some files
230
+        Selecting items by dragging a frame with the mouse is now possible
231
+        Fixed hiding the plugin page in wizard mode
232
+        Plugin page shows only plugins that are not automatically used
233
+        Fixed image highlighting of selected items
234
+        Fixed image preview
235
+        Fixed creating directories inside of created directories
236
+
237
+Version 2.8 stable
238
+    2.8.0 (Release Date 08.07.2003):
239
+        Speed up file plugins by adding a cache to them
240
+        Fixed GUI mode switching with Qt 3.0.x
241
+        Fixed service menu entry for all languages
242
+        Adjust width of insert part of filename dialog dynamically
243
+        --use-plugin is now case insensitive
244
+        Fixed a bug with the first start dialog
245
+        Added spanish translation of service menu entries
246
+        Redrawing GUI while generating real time preview with plugin
247
+    2.8.1 (Release Date 24.07.2003):
248
+        Fixed compilation errors on FreeBSD
249
+        Fixed a memory leak with invalid file plugins
250
+        Added support for all fileplugin tokens, not only the preffered ones
251
+        Switched add dirname dialog to KDirSelectDialog
252
+        Fixed a bug which caused KRename to remain in memory even if all windows were closed
253
+    2.8.2 (Release Date 06.08.2003):
254
+        Removed STL dependency and fixed compilation errors
255
+        Fixed a memory leak in addThisDir
256
+        Added support to add directory names recursively
257
+    2.8.3 (Release Date 22.10.2003):
258
+        Removed add recursively button and merged functionality into add dir
259
+        Added a simple sort function
260
+        Inserting parts of filenames replaces $
261
+        Fixed a layout bug, with the undo groupbox
262
+    2.8.4 (Release Date 05.12.2003):
263
+        Added a netherlands translation by Frank Schoolmeesters
264
+        Fixed find and replace code
265
+        Fixed compilation with --enable-final
266
+        Fixed compilation on debian and fedora
267
+        Added support for escaped special characters (e.g. \&)
268
+        Fixed a segmentation fault on startup
269
+    2.8.5 (Release Date 05.01.2004):
270
+        Fixed dir selection dialog growing larger and larger
271
+        Fixed bug: manual changes are delete for removed files, too
272
+        Fixed compiler warning: unexpected variable declaration
273
+
274
+Version 2.7
275
+    2.7.0 (Release Date 17.05.2003):
276
+        Style guide fixes
277
+        Improved user interface
278
+        Removed save button from final dialog (who needs it?)
279
+        Ported ReplaceDialog to KDialogBase
280
+    2.7.1 (Release Date: 18.05.2003):
281
+        Fixed Compilation with KDE 3.0
282
+    2.7.2 (Release Date: 04.06.2003):
283
+        Added Japanese translation
284
+        Removed visible/invisible plugin stuff
285
+        Fixed minimum size of krename
286
+        Fixed sorting of functions help
287
+        Fixed bug with wrong file extension settings from krenamerc
288
+        Added tabbed GUI mode
289
+        Refactored preferences
290
+        Removed advanced titlebar
291
+        Redesigned plugin GUI page
292
+        Remove buttons are disabled as long as there are no files in the list
293
+        Added a separator line between dialogs and buttons
294
+        Improved undo dialog
295
+        Fixed loading of saved skip and find/replace lists
296
+        Made filename template lineedit much wider
297
+        Lot's of style guide fixes
298
+        Fixed accel conflicts in English version
299
+        Fixed the picture plugin
300
+        Simplified Plugin code (use QPtrList instead of QDict)
301
+    2.7.3 (Release Date: 30.06.2003):
302
+        Runtime switching of GUI mode is now possible
303
+        Fixed compilation problems on SuSE 8.0 (Qt <= 3.0.5)
304
+        Defined const functions as const
305
+        Fixed includes (thanks to the excellent fixincludes script from kdesdk)
306
+        Added a GUI mode selection dialog on first start
307
+        Added support for formating numbers from plugins (e.g.: [##Tracknumber])
308
+        Fixed service menu entries (thanks to Mark Volkert)
309
+        Fixed a small memory leak in service menu code
310
+        Fixed crash with RegExp dialog
311
+        Added a lot of useful commandline options
312
+        Fixed the spelling of KRename
313
+        Added an icon for the permissions plugin
314
+        Fixed a long standing bug that the users own group was not shown in the permissions plugin
315
+        Added an open context menu item to the preview
316
+        Fixed adding of two files with same name but in different capitilization
317
+        Double clicking on an item in the search and replace dialog edits it
318
+        Added French translation
319
+
320
+Version 2.6 stable
321
+    2.6.0 (Release Date: 18.04.2003):
322
+        Fixed crash on installing servicemenu
323
+        Added icon and accel to servicemenu entry
324
+        Fixed bug with manual changed filenames
325
+
326
+    2.6.1 (Release Date: 25.04.2003):
327
+        Make Renaming with KFilePlugins work again
328
+
329
+    2.6.2 (Release Date: 11.05.2003):
330
+        Fixed manually changing names of dirs
331
+        Fixed some update count problems
332
+        Added spanish translation
333
+        Fixed help dialog        
334
+        
335
+Version 2.5
336
+    2.5.0 (Release Date: 27.12.2002):
337
+        Added italian translation
338
+        Fixed layout bug in maximized windows
339
+        Fixed compiling problems (vector) (Thanks to Stephan Johach)
340
+        Added kde preview support
341
+        Faster File Preview
342
+        Removed all extern declarations
343
+        Removed uses of goto, cause I'm not coding basic :-)
344
+        Added support for renaming directories
345
+        Added open destination button
346
+        Added support for changing meta info's on all files
347
+    2.5.1 (Release Date: 02.02.2003):
348
+        Added support for recursively adding hidden directories
349
+        Added new preview mode
350
+        Added command execution plugin
351
+        Thumbnails size is a configure option now
352
+        Fixed startup notification bug
353
+        Improved documentation on leading zeros
354
+    2.5.2 (Release Date: 13.02.2003):
355
+        Fixed [date] bug (DD-MM-YYYY)
356
+        Plugin loading can be disabled for faster startup
357
+        Easier selection of part filenames
358
+        Fixed column bugs
359
+        Only one message box is shown when multiple files are added twice to the list
360
+        Added prefernces dialog
361
+        Fixed arrow buttons
362
+        Refactored source
363
+    2.5.3 (Release Date: 14.02.2003):
364
+        Fixed a gcc 3.x compilation bug
365
+    2.5.4 (Release Date: 14.03.2003):
366
+        Fixed a column bug
367
+        Improved some default settings
368
+        Fixed some problems with non ascii chars
369
+        Fixed service menu installation
370
+        Fixed problems with cyrillic characters
371
+        Spell checking of ui texts
372
+        Added auto directory creation ( ##/$ is now a valid template )
373
+        Fixed adding of directory names
374
+        Added caption with full path to the preview context menu
375
+        Added strip whitespace operator "\"
376
+        Fixed filenames containing "/"
377
+        Fixed display of preview failed icon
378
+        Removed debug output when writing meta info
379
+        Refactored and simplified plugin processing
380
+    2.5.5 (Release Date: 28.03.2003):
381
+        Updated README
382
+        Titlebar labels are now shown translated
383
+        Fixed ERROR messages after renaming
384
+        Fixed truncating of filenames with the get coordinates function
385
+        Fixed window layout restoring at startup
386
+        Added an autosize option for the column width in the preview
387
+    2.6-rc1 (Release Date: 06.04.2003):
388
+        Added icon to service menu entry
389
+        Fixed gcc 3.x compiler warnings
390
+        Fixed kfile plugins returning spaces at the end
391
+        Greatly improved startup time
392
+    2.6-rc2 (Release Date: 11.04.2003):
393
+        History size can be configured now
394
+        Fixed compilation with Qt/KDE 3.0
395
+        Fixed disabled controls in Preferences Dialog
396
+        Fixed a memory leak in FileOperation::geName();
397
+        Fixed file extension problems
398
+        Fixed renaming of directory names and the directories contents
399
+        Fixed one crash with the reqexp editor
400
+        
401
+Version 2.4 stable
402
+    2.4.0 (Release Date: 16.10.2002):
403
+        German Translation Fixes
404
+        Fixed bug in service menu installtion
405
+        Output Dialog is visible in the taskbar
406
+        Current page has bold letters in titlebar
407
+        Fixed image preview
408
+        Fixed service menu installation
409
+        Fixed toggling of titlebar
410
+    2.4.1: (Release Date: 30.10.2002):
411
+        Header files aren't installed anymore
412
+        Updated admin dir/build system
413
+        Fixed some memory leaks
414
+        Fixed crash with KFilePlugins
415
+        Fixed memory leaks in PicturePlugin
416
+        Improved speed in PicturePlugin
417
+        Support of more image formats in PicturePlugin and preview
418
+    2.4.2: (Release Date: 27.11.2002):
419
+        Window state is restored after restart of krename
420
+        Added [dirname] keyword
421
+        Fixed bug with files added more than once to file list
422
+        Confirmation at exit can be disabled
423
+        Fixed problems with advanced titlebar
424
+        Fixel compilation problems
425
+        Fixed layout on small resolutions
426
+        Added help dialog, that displays all avaible tokens
427
+        Removed Mp3/Ogg Plugin, KDE Plugins do the same stuff better
428
+
429
+Version 2.3 (Release Date: 03.06.2002)
430
+        Translation fixes
431
+        Added undo feature
432
+        Code cleanups (use of static QFile::exists method )
433
+        Removed the splash screen (because I hate the one from OpenOffice
434
+            and I do not want to annoy people with krename's splash screen)
435
+        Added [track] keyword (needs id3v2 support)
436
+        Added function wizard
437
+    2.3.1 (Release Date: 10.07.2002):
438
+        Added support for KFilePlugins
439
+        Added show all plugins button
440
+        Added commandline option to undo scripts for security purpose
441
+        Smaller bug fixes
442
+        Fixed replacing of special chars $, &, ...
443
+    2.3.2 (Release Date: 12.09.2002):
444
+        Service menu entry is not installed by default, user can isntall it
445
+        GUI improvements
446
+        Root warning messagebox can be disabled
447
+        Added context menu to preview box
448
+        Finish button is default button
449
+        Fixed renaming of files without extension
450
+        Added chinese translation
451
+        Regular Expression changes
452
+    2.3.3 (Release Date: 09.10.2002):
453
+        GCC 3.2 fixes from Gentoo
454
+        Added menubar
455
+        Fixed plugins not working when show all was selected
456
+        Tokens for file plugins are case insensitive now
457
+        Pages of the wizard can now be set invisible
458
+        Source code clean ups in PluginLoader, BatchRenamer
459
+        DateTime, Permission and Dir Plugin are compiled into KRename
460
+        Added settings and help menu
461
+        Made OK default button in find and replace dialog
462
+        Made Start default button in undo dialog
463
+        Fixed crash when pressing return after startup
464
+        Using qDebug instead of cout in some places
465
+        Added advanced title bar
466
+        Fixed bug that config wasn't saved sometimes
467
+        Removed some asserts
468
+        Fixed tab order
469
+        
470
+Version 2.2 stable (Release Date: 01.05.2002)
471
+    Layout fixes in the replace dialog
472
+    Bug fixes in the replace dialog
473
+    Bug fixes in the copy function
474
+    Bug fixes in the build system
475
+    Bug fixed with plugins and special chars ( [, ], $, %, ... )
476
+
477
+Version 2.1 (Release Date: 26.04.2002)
478
+    Added own ListView widget
479
+    Added arrow buttons
480
+    Removed preview button (disabled since 1.4(?))
481
+    User can change a filename by double clicking on a filename in the preview
482
+    Added a colored preview box
483
+    Translation fixes
484
+    ID3v2 tags supported throu id3lib
485
+    User can save setting for find & replace and skipping numbers
486
+    GUI improvements
487
+    User can set a filter for recursive dir adding
488
+    Improved recursive scanning of directories
489
+    Fixed ogg tag renaming bug
490
+    Fixed genre bug
491
+    Added plugin for picture renaming
492
+    Fixed a bug in the service menu entry
493
+    Fixed bug with replacing special chars ( [, ], $, %, ... )
494
+    Fixed a bug with the * operator
495
+    Added faster copying funtion
496
+    Fixed bugs in the replace dialog
497
+
498
+Version 2.0 stable (Release Date: 27.03.2002)
499
+    Minor changes to README and ChangeLog file :)
500
+
501
+Version 1.9 (Release Date: 22.03.2002)
502
+    Port to KDE3
503
+    Fixed layout bugs on page3 && page2
504
+    Added service menu entry for konqueror
505
+    Added regular expressions editor
506
+    Fixed bug with files ending in a dot or without extension
507
+
508
+Version 1.8 stable (Release Date: 28.02.2002)
509
+    Added plugin API
510
+    Rewrite of BatchRenamer class
511
+    API clean up's
512
+    Changed handling of numbers and fixed (hopefully) some bugs in it
513
+    Fixed (again) bug with filenames containing $,%,&,,#,[ or ]
514
+    Fixed bug that didn't allowed doing [1-]
515
+    Fixed history bug
516
+    Fixed a drag and drop bug
517
+    Preview window is resized correctly
518
+    Rewrote date time stuff as plugin
519
+    Rewrote permissions stuff as plugin
520
+    Added mp3/ogg plugin
521
+    Added dir sorting plugin.
522
+    Changed Listbox selection mode
523
+    Added -p commandline option for additional plugin dirs
524
+    Added a image preview
525
+    Updated translation
526
+    Added splash screen
527
+    Moved About Button to first page
528
+    Added .spec file
529
+
530
+Version 1.7 stable (Release Date: 30.12.2001)
531
+    Fixed Find and replace bug
532
+    Added Add Dir Recursively Button
533
+    Group is set correctly in the permissions dialog
534
+    Simplified code in batchrenamer.cpp
535
+    GUI is repainted during adding a directory recursively
536
+    Added warn message if started from root
537
+
538
+Version 1.6 stable (Release Date: 27.12.2001)
539
+    GUI Changes
540
+    Fixed translation bug in the About dialog
541
+    Fixed bug with filenames containig spaces
542
+    Added advanced file extension handling
543
+    Added find and replace of regular expressions
544
+    Added * operator (converts first letter of words to upper case)
545
+    Speed improvement ( <= 0 replaced with < 0 )
546
+    Added build date and time to the about dialog
547
+    Fixed history bug in ComboBox
548
+    Added handling of filenames containing $,%,&,,#,[ or ]
549
+
550
+Version 1.5 (Release Date: 23.11.2001)
551
+    Added realtime preview
552
+    Added step by value
553
+    Added handling of parts of the filename
554
+    Added find and replace
555
+    Added renaming of output files
556
+    All enabling/disabling of widgets is now done in one funtion ( enableControls() )
557
+    Many internal code changes
558
+    Fixed bug with ,$,& and % in the extension
559
+    Added --nopreview commandline option
560
+    i18n'ed some more strings, I had forgotten
561
+    Fixed keyboard focus and taborder
562
+
563
+Version 1.4 stable (Release Date: 08.11.2001)
564
+    Rewritten GUI
565
+    Added German translation
566
+    Changed ToolTips and other texts
567
+
568
+Version 1.3 (Release Date: 04.11.2001)
569
+    Rewritten, resizeable ProgressDialog (with clipboard support)
570
+    Fixed bug in history combo
571
+    Smaller speed optimizations ( addDir() ;)
572
+    Added skipping of numbers
573
+    Removed all the useless struct's in the source code
574
+    Using KDE file selection dialog instead of QT's
575
+    i18n most strings ( translations are still missing ;)
576
+    Fixed crash during saving krenames output in ProgressDialog
577
+    Cleaned code (moved include statements from header to source files)
578
+
579
+Version 1.2 (Release Date: 28.10.2001)
580
+    Added GetCurrentTime Button
581
+    Added giving files as commandline parameter
582
+    Added  conversion
583
+    Code clean up's
584
+    Added recursive renaming of directories with commandline parameters
585
+    Changed help files
586
+    Bug fixes
587
+
588
+Version 1.1 (Release Date: 23.10.2001)
589
+    Fixed bug with non existing directories
590
+    Added Up/Down Buttons fo changing the file order
591
+    Added restart button
592
+    Rewritten KMyListBox class
593
+    Krename stores path and templates for later sessions
594
+    Added creation of symbolic links
595
+    Added dropping of dirs
596
+    Added conversion of filenames to upper case
597
+    Improved drag'n'drop support
598
+    Added template for the file extension.
599
+    Changed GUI
600
+    Fixed ToolTips
601
+
602
+Version 1.0 stable (Release Date: 10.10.2001) stable
603
+    Krename is called stable ;)
604
+    Fixed problem with the same file twice in the list (The same file is allowed only once in the list)
605
+    Files are correctly removed from the list.
606
+    Fixed warning messages at compile time.
607
+    Fixed bug in Add Dir.
608
+    Changed some key accels.
609
+    Added 'OK to all' button.
610
+    Fixed error checking
611
+
612
+Version 0.9 (Release Date: 03.10.2001)
613
+    Added Add Directory Button
614
+    Fixed drag'n'drop code
615
+    Fixed problem with Cancel
616
+    Added Convert extension to lower case
617
+
618
+Version 0.8 (Release Date: 26.09.2001)
619
+    Changed syntax for adding numbers.
620
+    Added Copyright Note to the COPYING file.
621
+    User is asked if Krename should quit.
622
+    Changed some texts.
623
+    Updated and changed documentation.
624
+    Changed maxvalue of start index.
625
+
626
+
627
+Version 0.7 (Release Date: 20.09.2001)
628
+    Added Progress Dialog.
629
+    Krename displays the correct number of successfully renamed files.
630
+    Better error checking.
631
+    Added warning fucntion to ProgressDialog.
632
+    Added overwrite existing files function.
633
+    Changed some description texts.
634
+
635
+Version 0.6 (Release Date: 12.09.2001)
636
+    Added cancel button to ProgressDialog
637
+    Fixed a bug that fclose wasn't called under certain conditions
638
+    Added save output button to ProgressDialog
639
+    ProgressDialog should be faster because of using QListBox instead of QMultiLineEdit
640
+    Fixed a bug that ocurred when changing date & time
641
+    krename displays now the elapsed time.
642
+    Speed optimations, mainly because of changing struct data
643
+    Fixed some problems with adding correct numbers to filenames if startindex is not 0.
644
+
645
+Version 0.5 (Release Date: 08.09.2001)
646
+    Changed description texts.
647
+    Changed API of ProgressDialog a little bit.
648
+    Files can be opened from krename by pressing return or double clicking on the file.
649
+    Krename can change owner and group of all files
650
+    Krename can change permissions of all files
651
+    Added label that counts the number of files
652
+
653
+Version 0.4 (Release Date: 04.09.2001)
654
+    Krename can now change time of last access and modification
655
+    Added preview button
656
+    Bug fixes
657
+    code clean up's
658
+    Better Help
659
+    Krename is added to the KMenu's Utilities section instead of Applications.
660
+
661
+Version 0.3 (Release Date: 31.08.2001)
662
+    Added functions for changing access and modification date
663
+    Added drag'n'drop support
664
+    Bug fixes
665
+    Code layout changes
666
+    Added thanks to section to About dialog
667
+
668
+Version 0.2 (Release Date: 23.08.2001)
669
+    New KWizard GUI
670
+    ProgressDialog is updated
671
+    Code layout changes
672
+
673
+Version 0.1 (Release Date: 22.08.2001)
674
+    Initial release

+ 246
- 0
Doxyfile View File

@@ -0,0 +1,246 @@
1
+# Doxyfile 1.3.4-KDevelop
2
+
3
+#---------------------------------------------------------------------------
4
+# Project related configuration options
5
+#---------------------------------------------------------------------------
6
+PROJECT_NAME           = krename.kdevelop
7
+PROJECT_NUMBER         = 
8
+OUTPUT_DIRECTORY       = 
9
+OUTPUT_LANGUAGE        = English
10
+USE_WINDOWS_ENCODING   = NO
11
+BRIEF_MEMBER_DESC      = YES
12
+REPEAT_BRIEF           = YES
13
+ABBREVIATE_BRIEF       = "The $name class" \
14
+                         "The $name widget" \
15
+                         "The $name file" \
16
+                         is \
17
+                         provides \
18
+                         specifies \
19
+                         contains \
20
+                         represents \
21
+                         a \
22
+                         an \
23
+                         the
24
+ALWAYS_DETAILED_SEC    = NO
25
+INLINE_INHERITED_MEMB  = NO
26
+FULL_PATH_NAMES        = NO
27
+STRIP_FROM_PATH        = 
28
+SHORT_NAMES            = NO
29
+JAVADOC_AUTOBRIEF      = NO
30
+MULTILINE_CPP_IS_BRIEF = NO
31
+DETAILS_AT_TOP         = NO
32
+INHERIT_DOCS           = YES
33
+DISTRIBUTE_GROUP_DOC   = NO
34
+TAB_SIZE               = 8
35
+ALIASES                = 
36
+OPTIMIZE_OUTPUT_FOR_C  = NO
37
+OPTIMIZE_OUTPUT_JAVA   = NO
38
+SUBGROUPING            = YES
39
+#---------------------------------------------------------------------------
40
+# Build related configuration options
41
+#---------------------------------------------------------------------------
42
+EXTRACT_ALL            = NO
43
+EXTRACT_PRIVATE        = NO
44
+EXTRACT_STATIC         = NO
45
+EXTRACT_LOCAL_CLASSES  = YES
46
+HIDE_UNDOC_MEMBERS     = NO
47
+HIDE_UNDOC_CLASSES     = NO
48
+HIDE_FRIEND_COMPOUNDS  = NO
49
+HIDE_IN_BODY_DOCS      = NO
50
+INTERNAL_DOCS          = NO
51
+CASE_SENSE_NAMES       = YES
52
+HIDE_SCOPE_NAMES       = NO
53
+SHOW_INCLUDE_FILES     = YES
54
+INLINE_INFO            = YES
55
+SORT_MEMBER_DOCS       = YES
56
+GENERATE_TODOLIST      = YES
57
+GENERATE_TESTLIST      = YES
58
+GENERATE_BUGLIST       = YES
59
+GENERATE_DEPRECATEDLIST= YES
60
+ENABLED_SECTIONS       = 
61
+MAX_INITIALIZER_LINES  = 30
62
+SHOW_USED_FILES        = YES
63
+#---------------------------------------------------------------------------
64
+# configuration options related to warning and progress messages
65
+#---------------------------------------------------------------------------
66
+QUIET                  = NO
67
+WARNINGS               = YES
68
+WARN_IF_UNDOCUMENTED   = YES
69
+WARN_IF_DOC_ERROR      = YES
70
+WARN_FORMAT            = "$file:$line: $text"
71
+WARN_LOGFILE           = 
72
+#---------------------------------------------------------------------------
73
+# configuration options related to the input files
74
+#---------------------------------------------------------------------------
75
+INPUT                  = /home/dominik/Desktop/Programming/krename
76
+FILE_PATTERNS          = *.c \
77
+                         *.cc \
78
+                         *.cxx \
79
+                         *.cpp \
80
+                         *.c++ \
81
+                         *.java \
82
+                         *.ii \
83
+                         *.ixx \
84
+                         *.ipp \
85
+                         *.i++ \
86
+                         *.inl \
87
+                         *.h \
88
+                         *.hh \
89
+                         *.hxx \
90
+                         *.hpp \
91
+                         *.h++ \
92
+                         *.idl \
93
+                         *.odl \
94
+                         *.cs \
95
+                         *.php \
96
+                         *.php3 \
97
+                         *.inc \
98
+                         *.C \
99
+                         *.H \
100
+                         *.tlh \
101
+                         *.diff \
102
+                         *.patch \
103
+                         *.moc \
104
+                         *.xpm \
105
+                         *.dox
106
+RECURSIVE              = yes
107
+EXCLUDE                = 
108
+EXCLUDE_SYMLINKS       = NO
109
+EXCLUDE_PATTERNS       = 
110
+EXAMPLE_PATH           = 
111
+EXAMPLE_PATTERNS       = *
112
+EXAMPLE_RECURSIVE      = NO
113
+IMAGE_PATH             = 
114
+INPUT_FILTER           = 
115
+FILTER_SOURCE_FILES    = NO
116
+#---------------------------------------------------------------------------
117
+# configuration options related to source browsing
118
+#---------------------------------------------------------------------------
119
+SOURCE_BROWSER         = NO
120
+INLINE_SOURCES         = NO
121
+STRIP_CODE_COMMENTS    = YES
122
+REFERENCED_BY_RELATION = YES
123
+REFERENCES_RELATION    = YES
124
+VERBATIM_HEADERS       = YES
125
+#---------------------------------------------------------------------------
126
+# configuration options related to the alphabetical class index
127
+#---------------------------------------------------------------------------
128
+ALPHABETICAL_INDEX     = NO
129
+COLS_IN_ALPHA_INDEX    = 5
130
+IGNORE_PREFIX          = 
131
+#---------------------------------------------------------------------------
132
+# configuration options related to the HTML output
133
+#---------------------------------------------------------------------------
134
+GENERATE_HTML          = YES
135
+HTML_OUTPUT            = html
136
+HTML_FILE_EXTENSION    = .html
137
+HTML_HEADER            = 
138
+HTML_FOOTER            = 
139
+HTML_STYLESHEET        = 
140
+HTML_ALIGN_MEMBERS     = YES
141
+GENERATE_HTMLHELP      = NO
142
+CHM_FILE               = 
143
+HHC_LOCATION           = 
144
+GENERATE_CHI           = NO
145
+BINARY_TOC             = NO
146
+TOC_EXPAND             = NO
147
+DISABLE_INDEX          = NO
148
+ENUM_VALUES_PER_LINE   = 4
149
+GENERATE_TREEVIEW      = NO
150
+TREEVIEW_WIDTH         = 250
151
+#---------------------------------------------------------------------------
152
+# configuration options related to the LaTeX output
153
+#---------------------------------------------------------------------------
154
+GENERATE_LATEX         = YES
155
+LATEX_OUTPUT           = latex
156
+LATEX_CMD_NAME         = latex
157
+MAKEINDEX_CMD_NAME     = makeindex
158
+COMPACT_LATEX          = NO
159
+PAPER_TYPE             = a4wide
160
+EXTRA_PACKAGES         = 
161
+LATEX_HEADER           = 
162
+PDF_HYPERLINKS         = NO
163
+USE_PDFLATEX           = NO
164
+LATEX_BATCHMODE        = NO
165
+LATEX_HIDE_INDICES     = NO
166
+#---------------------------------------------------------------------------
167
+# configuration options related to the RTF output
168
+#---------------------------------------------------------------------------
169
+GENERATE_RTF           = NO
170
+RTF_OUTPUT             = rtf
171
+COMPACT_RTF            = NO
172
+RTF_HYPERLINKS         = NO
173
+RTF_STYLESHEET_FILE    = 
174
+RTF_EXTENSIONS_FILE    = 
175
+#---------------------------------------------------------------------------
176
+# configuration options related to the man page output
177
+#---------------------------------------------------------------------------
178
+GENERATE_MAN           = NO
179
+MAN_OUTPUT             = man
180
+MAN_EXTENSION          = .3
181
+MAN_LINKS              = NO
182
+#---------------------------------------------------------------------------
183
+# configuration options related to the XML output
184
+#---------------------------------------------------------------------------
185
+GENERATE_XML           = yes
186
+XML_OUTPUT             = xml
187
+XML_SCHEMA             = 
188
+XML_DTD                = 
189
+XML_PROGRAMLISTING     = YES
190
+#---------------------------------------------------------------------------
191
+# configuration options for the AutoGen Definitions output
192
+#---------------------------------------------------------------------------
193
+GENERATE_AUTOGEN_DEF   = NO
194
+#---------------------------------------------------------------------------
195
+# configuration options related to the Perl module output
196
+#---------------------------------------------------------------------------
197
+GENERATE_PERLMOD       = NO
198
+PERLMOD_LATEX          = NO
199
+PERLMOD_PRETTY         = YES
200
+PERLMOD_MAKEVAR_PREFIX = 
201
+#---------------------------------------------------------------------------
202
+# Configuration options related to the preprocessor   
203
+#---------------------------------------------------------------------------
204
+ENABLE_PREPROCESSING   = YES
205
+MACRO_EXPANSION        = NO
206
+EXPAND_ONLY_PREDEF     = NO
207
+SEARCH_INCLUDES        = YES
208
+INCLUDE_PATH           = 
209
+INCLUDE_FILE_PATTERNS  = 
210
+PREDEFINED             = 
211
+EXPAND_AS_DEFINED      = 
212
+SKIP_FUNCTION_MACROS   = YES
213
+#---------------------------------------------------------------------------
214
+# Configuration::addtions related to external references   
215
+#---------------------------------------------------------------------------
216
+TAGFILES               = 
217
+GENERATE_TAGFILE       = 
218
+ALLEXTERNALS           = NO
219
+EXTERNAL_GROUPS        = YES
220
+PERL_PATH              = /usr/bin/perl
221
+#---------------------------------------------------------------------------
222
+# Configuration options related to the dot tool   
223
+#---------------------------------------------------------------------------
224
+CLASS_DIAGRAMS         = YES
225
+HIDE_UNDOC_RELATIONS   = YES
226
+HAVE_DOT               = NO
227
+CLASS_GRAPH            = YES
228
+COLLABORATION_GRAPH    = YES
229
+UML_LOOK               = NO
230
+TEMPLATE_RELATIONS     = NO
231
+INCLUDE_GRAPH          = YES
232
+INCLUDED_BY_GRAPH      = YES
233
+CALL_GRAPH             = NO
234
+GRAPHICAL_HIERARCHY    = YES
235
+DOT_IMAGE_FORMAT       = png
236
+DOT_PATH               = 
237
+DOTFILE_DIRS           = 
238
+MAX_DOT_GRAPH_WIDTH    = 1024
239
+MAX_DOT_GRAPH_HEIGHT   = 1024
240
+MAX_DOT_GRAPH_DEPTH    = 1000
241
+GENERATE_LEGEND        = YES
242
+DOT_CLEANUP            = YES
243
+#---------------------------------------------------------------------------
244
+# Configuration::addtions related to the search engine   
245
+#---------------------------------------------------------------------------
246
+SEARCHENGINE           = NO

+ 167
- 0
INSTALL View File

@@ -0,0 +1,167 @@
1
+Basic Installation
2
+==================
3
+
4
+   These are generic installation instructions.
5
+
6
+   The `configure' shell script attempts to guess correct values for
7
+various system-dependent variables used during compilation.  It uses
8
+those values to create a `Makefile' in each directory of the package.
9
+It may also create one or more `.h' files containing system-dependent
10
+definitions.  Finally, it creates a shell script `config.status' that
11
+you can run in the future to recreate the current configuration, a file
12
+`config.cache' that saves the results of its tests to speed up
13
+reconfiguring, and a file `config.log' containing compiler output
14
+(useful mainly for debugging `configure').
15
+
16
+   If you need to do unusual things to compile the package, please try
17
+to figure out how `configure' could check whether to do them, and mail
18
+diffs or instructions to the address given in the `README' so they can
19
+be considered for the next release.  If at some point `config.cache'
20
+contains results you don't want to keep, you may remove or edit it.
21
+
22
+   The file `configure.in' is used to create `configure' by a program
23
+called `autoconf'.  You only need `configure.in' if you want to change
24
+it or regenerate `configure' using a newer version of `autoconf'.
25
+
26
+The simplest way to compile this package is:
27
+
28
+  1. `cd' to the directory containing the package's source code and type
29
+     `./configure' to configure the package for your system.  If you're
30
+     using `csh' on an old version of System V, you might need to type
31
+     `sh ./configure' instead to prevent `csh' from trying to execute
32
+     `configure' itself.
33
+
34
+     Running `configure' takes a while.  While running, it prints some
35
+     messages telling which features it is checking for.
36
+
37
+  2. Type `make' to compile the package.
38
+
39
+  3. Type `make install' to install the programs and any data files and
40
+     documentation.
41
+
42
+  4. You can remove the program binaries and object files from the
43
+     source code directory by typing `make clean'.  
44
+
45
+Compilers and Options
46
+=====================
47
+
48
+   Some systems require unusual options for compilation or linking that
49
+the `configure' script does not know about.  You can give `configure'
50
+initial values for variables by setting them in the environment.  Using
51
+a Bourne-compatible shell, you can do that on the command line like
52
+this:
53
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
54
+
55
+Or on systems that have the `env' program, you can do it like this:
56
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
57
+
58
+Compiling For Multiple Architectures
59
+====================================
60
+
61
+   You can compile the package for more than one kind of computer at the
62
+same time, by placing the object files for each architecture in their
63
+own directory.  To do this, you must use a version of `make' that
64
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
65
+directory where you want the object files and executables to go and run
66
+the `configure' script.  `configure' automatically checks for the
67
+source code in the directory that `configure' is in and in `..'.
68
+
69
+   If you have to use a `make' that does not supports the `VPATH'
70
+variable, you have to compile the package for one architecture at a time
71
+in the source code directory.  After you have installed the package for
72
+one architecture, use `make distclean' before reconfiguring for another
73
+architecture.
74
+
75
+Installation Names
76
+==================
77
+
78
+   By default, `make install' will install the package's files in
79
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
80
+installation prefix other than `/usr/local' by giving `configure' the
81
+option `--prefix=PATH'.
82
+
83
+   You can specify separate installation prefixes for
84
+architecture-specific files and architecture-independent files.  If you
85
+give `configure' the option `--exec-prefix=PATH', the package will use
86
+PATH as the prefix for installing programs and libraries.
87
+Documentation and other data files will still use the regular prefix.
88
+
89
+   If the package supports it, you can cause programs to be installed
90
+with an extra prefix or suffix on their names by giving `configure' the
91
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
92
+
93
+Optional Features
94
+=================
95
+
96
+   Some packages pay attention to `--enable-FEATURE' options to
97
+`configure', where FEATURE indicates an optional part of the package.
98
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
99
+is something like `gnu-as' or `x' (for the X Window System).  The
100
+`README' should mention any `--enable-' and `--with-' options that the
101
+package recognizes.
102
+
103
+   For packages that use the X Window System, `configure' can usually
104
+find the X include and library files automatically, but if it doesn't,
105
+you can use the `configure' options `--x-includes=DIR' and
106
+`--x-libraries=DIR' to specify their locations.
107
+
108
+Specifying the System Type
109
+==========================
110
+
111
+   There may be some features `configure' can not figure out
112
+automatically, but needs to determine by the type of host the package
113
+will run on.  Usually `configure' can figure that out, but if it prints
114
+a message saying it can not guess the host type, give it the
115
+`--host=TYPE' option.  TYPE can either be a short name for the system
116
+type, such as `sun4', or a canonical name with three fields:
117
+     CPU-COMPANY-SYSTEM
118
+
119
+See the file `config.sub' for the possible values of each field.  If
120
+`config.sub' isn't included in this package, then this package doesn't
121
+need to know the host type.
122
+
123
+   If you are building compiler tools for cross-compiling, you can also
124
+use the `--target=TYPE' option to select the type of system they will
125
+produce code for and the `--build=TYPE' option to select the type of
126
+system on which you are compiling the package.
127
+
128
+Sharing Defaults
129
+================
130
+
131
+   If you want to set default values for `configure' scripts to share,
132
+you can create a site shell script called `config.site' that gives
133
+default values for variables like `CC', `cache_file', and `prefix'.
134
+`configure' looks for `PREFIX/share/config.site' if it exists, then
135
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
136
+`CONFIG_SITE' environment variable to the location of the site script.
137
+A warning: not all `configure' scripts look for a site script.
138
+
139
+Operation Controls
140
+==================
141
+
142
+   `configure' recognizes the following options to control how it
143
+operates.
144
+
145
+`--cache-file=FILE'
146
+     Use and save the results of the tests in FILE instead of
147
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
148
+     debugging `configure'.
149
+
150
+`--help'
151
+     Print a summary of the options to `configure', and exit.
152
+
153
+`--quiet'
154
+`--silent'
155
+`-q'
156
+     Do not print messages saying which checks are being made.
157
+
158
+`--srcdir=DIR'
159
+     Look for the package's source code in directory DIR.  Usually
160
+     `configure' can determine that directory automatically.
161
+
162
+`--version'
163
+     Print the version of Autoconf used to generate the `configure'
164
+     script, and exit.
165
+
166
+`configure' also accepts some other, not widely useful, options.
167
+

+ 30
- 0
Makefile.am View File

@@ -0,0 +1,30 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+SUBDIRS = krename po doc
4
+
5
+EXTRA_DIST = krename.kdevelop admin AUTHORS COPYING ChangeLog INSTALL README TODO krename.spec 
6
+
7
+####### kdevelop will overwrite this part!!! (end)############
8
+# not a GNU package. You can remove this line, if 
9
+# have all needed files, that a GNU package needs
10
+AUTOMAKE_OPTIONS = foreign 
11
+
12
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
13
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
14
+
15
+$(top_srcdir)/subdirs:
16
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
17
+
18
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
19
+	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
20
+
21
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
22
+
23
+package-messages:
24
+	$(MAKE) -f admin/Makefile.common package-messages
25
+	$(MAKE) -C po merge
26
+
27
+dist-hook:
28
+	cd $(top_distdir) && perl admin/am_edit -padmin
29
+	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
30
+

+ 14
- 0
Makefile.dist View File

@@ -0,0 +1,14 @@
1
+all: 
2
+	@echo "This Makefile is only for the CVS repository"
3
+	@echo "This will be deleted before making the distribution"
4
+	@echo ""
5
+	@if test ! -d admin; then \
6
+	   echo "Please recheckout this module!" ;\
7
+	   echo "for cvs: use checkout once and after that update again" ;\
8
+	   echo "for cvsup: checkout kde-common from cvsup and" ;\
9
+	   echo "   link kde-common/admin to ./admin" ;\
10
+	   exit 1 ;\
11
+	fi
12
+	$(MAKE) -f admin/Makefile.common cvs
13
+
14
+.SILENT:

+ 44
- 0
README View File

@@ -0,0 +1,44 @@
1
+Krename is a very powerfull batch file renamer for KDE3.
2
+Features include:
3
+-renaming a list of files based on a set of expressions
4
+-copying/moving a list of files to another directory
5
+-convert filenames to upper/lower case
6
+-adding numbers to filenames
7
+-finding and replacing parts of the filename
8
+-rename Mp3/Ogg Vorbis files based on their ID3 tags.
9
+-setting access and modification dates
10
+-permissions and file ownership
11
+-a plug-in API which allows you to extend krename's features
12
+-rename directories recursively
13
+-support for KFilePlugins
14
+-create undo file
15
+-and many more...
16
+
17
+Visit the Krename Homepage at: http://www.krename.net
18
+
19
+           HAVE FUN!
20
+           Dominik Seichter <domseichter@web.de>
21
+
22
+==============================
23
+Old Version of the text above:
24
+==============================
25
+
26
+Krename is a very powerful batch file renamer for KDE2 which
27
+can rename a list of files based on a set of expressions.
28
+It can copy/move the files to another directory or simply
29
+rename the input files. Krename supports many conversion
30
+operations, including conversion of a filename to lowercase
31
+or to uppercase, conversion of the first letter of every
32
+word to uppercase, adding numbers to filenames, finding
33
+and replacing parts of the filename, and many more.
34
+Krename can rename Mp3/Ogg Vorbis files based on the
35
+information stored in their ID3 tags.
36
+It can also change access and modification dates,
37
+permissions, and file ownership.
38
+
39
+WARNING! It will not compile with automake 1.5, automake 1.4 is required.
40
+
41
+Visit the Krename Homepage at: http://krename.sourceforge.net
42
+
43
+           HAVE FUN!
44
+           Dominik Seichter <domseichter@web.de>

+ 383
- 0
TODO View File

@@ -0,0 +1,383 @@
1
+DOM: Copying extremely slows
2
+DOM: Remember the last 10 selected tokens in HelpDialog
3
+DOM: Display in Realtime Preview a new first column which contains a small warning icons
4
+     If the new and the old filename are identical
5
+DOM: Kontext menü im advance mode für alle text boxen:
6
+     Insert -> Filename To Lowercase
7
+            -> Filename To Upercase
8
+	    -> Number
9
+	    -> Date
10
+	    -> ...
11
+
12
+DOM: First Start Dialog:
13
+     
14
+     * 2 Screenshots von den beiden Modi
15
+     * + Beschreibungstext
16
+     -> KDE 4 Layout!!!! 
17
+
18
+Stonki: Thumbnails auch im rename-tab fenster
19
+========================================
20
+Here's some feedback on it. I like it, but the "find and replace"
21
+function was unclear. Was it finding and replacing parts of the
22
+filename, or inside the contents of the files?
23
+========================================
24
+Thanks for making krename, it is truly a great piece of software. It saved
25
+me litteraly hours of painful work in sorting the hundreds of photographs
26
+given to us by at least a dozen different people for our wedding. It would
27
+have taken me ages to sort them by hand.
28
+
29
+This is only a small donation but I hope it will help in making krename
30
+even better.
31
+
32
+I had sent my comments earlier but to mention them again here are the only
33
+4 problems I have faced with krename (all relate to beginner mode, 'add
34
+files' section), none of them are show-stoppers bwt :) :
35
+
36
+1) in thumbnail view, when selecting a block of files to move around, they
37
+get copied to their destination in reverse order
38
+
39
+2) for some reason, the thumbnails do not always display (as in, the image
40
+thumbnails do not show, they stay as file type icons instead) when I select
41
+add files and only 'show thumbnail' is selected ('show file name' not
42
+checked). However, if I select add files with only 'show file name'
43
+checked, and THEN (after files are shown in list) check 'show thumbnails',
44
+then all the thumbnails will show properly.
45
+
46
+Cheers and thanks again for this great piece of software.
47
+========================================
48
+Hallo
49
+
50
+
51
+Erst mal vielen Dank für das Programm; es sparte mir eine Menge Zeit 
52
+beim Re-Organisieren meiner MP3-Sammlung.
53
+
54
+Dabei habe ich es ziemlich oft benutzt, und mir sind einige Dinge 
55
+aufgefallen, die vielleicht verbessert werden könnten. (Ich beziehe mich 
56
+auf die Version 2.8.5. Falls eine neuere Version da ist, die meine 
57
+Anmerkungen überflüssig macht, verzeih mir bitte):
58
+- Beim Hinzufügen von Verzeichnissen werden die selbst definierten 
59
+Filter (*.mp3) und die Einstellung für "Unterverzeichnisse rekursiv 
60
+hinzufügen" nicht gespeichert; vor allem die Rekursivität hat mich 
61
+genervt, weil ich die immer wieder vergessen hab.
62
+
63
+Dankeschön für deine Mühe!
64
+
65
+Regards/MfG,
66
+Christian Weiske
67
+=======================================
68
+Hi,
69
+
70
+Ich habe ein paar verbesserungsvorschläge für Dein super Tool KRename:
71
+
72
+-) Bei den Plugins für auf KFilePlugins zurückgreifen, listest Du all ihre 
73
+möglichen Felder auf. I fände es sehr hilfreich, wenn der ausgewählte 
74
+Platzhalter automatisch bei einem Doppelklick darauf an Cursorposition in das 
75
+Eingabefeld für das Namensmuster eingefühgt würde.
76
+Für die Übersicht wäre es auch schön, wenn dieses Eingabefeld nochmal (ohne 
77
+drop-down menü) unter den plugins sichtbar wäre....
78
+
79
+-) Wäre es möglich, als Startwert nicht nur eine Zahl (0, 1, 2,...) sondern 
80
+auch Buchstaben (a, b, c, ... / A, B, C, ...) angeben zu können?
81
+
82
+-) Es wäre super, wenn man verschiedene Zähler seperat definieren könnte. zB. 
83
+mit einem Tabinterface für den Konfigurationsdialog "1. Zähler", "2. Zähler", 
84
+etc, wenn mehr als eine ##-Grupe im Muster auftaucht
85
+
86
+-) Was ich immer wieder brauche ist eine reset-Bedingung, die den Zähler 
87
+wieder auf seinen Startwert setzt, so das er quasi im Kreis zählt (1, 2, 3, 
88
+1, 2, 3, 1, 2, 3,... mit 3 als reset)
89
+Ich könnte mir das als eine Zeile mit
90
+Checkbox "reset bei"; Combobox "<self> | 1. Zähler | 2. Zähler | ..."; 
91
+Combobox "> | >= | = | <= | <"; Spinbox für Zahl
92
+
93
+-) Was ich persönlich seltener brauche, für manche aber bestimmt hilfreich 
94
+ist, wäre die Möglichkeit auch Schrittweiten a la "1/2" od. "1/3" zuzulassen.
95
+Im Falle "1/3" würde dann so gezählt: "1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 
96
+5, ..."
97
+
98
+Gruss,
99
+Jonas
100
+=======================================
101
+
102
+On Sat June 12 2004 04:40 am, Dominik Seichter wrote:
103
+> Hi,
104
+>
105
+> This idea is also a good idea. KRename had a similar feature already in
106
+> earlier version (but not that powerful - you could only specify a fixed
107
+> tag). I do not know if this will be possible in 3.1 but I promisse that I
108
+> will look into this issue.
109
+>
110
+> CU Dom
111
+>
112
+> Am Freitag, 11. Juni 2004 05:51 schrieben Sie:
113
+> > At present you have tags to take information from a file and rename the
114
+> > file.
115
+> >
116
+> > Now think in reverse - krename plugins allow the possibility for a
117
+> > multiple format tagger.
118
+> >
119
+> > So a new tab would allow....
120
+> >
121
+> > artist - track - title - xxx.ogg
122
+> >
123
+> > to be parse with the following command
124
+> >
125
+> > [Artist] - [Track] - [Title] - xxx
126
+> >
127
+> > The info then could be written to the file tag.
128
+> >
129
+> > Also the inclusion of modifiers (and Search & Replace) allow for the
130
+> > information to be cleaned up before it is written.
131
+> >
132
+> > Phoenix
133
+
134
+This was inspired from using Cantus.
135
+
136
+TTC Timothy Taylor - Economics Lecture 20-A Global Economic Perspective.mp3
137
+Please enter the formatting string (%t - %s): TTC %a - %b %g %t-%s
138
+
139
+Feedback...
140
+20 A Global Economic Perspective ~ Timothy Taylor ~ Economics ~ 0 ~ Lecture
141
+
142
+The course is "Economics"
143
+%b stands for aBlum
144
+
145
+Now I could have done %x %a - %x %x %t-%s or variations there of
146
+%x stands for ignore.
147
+
148
+powerful concept, no? Like I said, krename has one extra twist no one else has
149
+done yet - multiple file formats
150
+
151
+And for another wow: combine the actions so the following happens
152
+filename -> tag -> filename
153
+This is what part of my script does.
154
+
155
+The only usability issue is the length of the tag names themselves,
156
+TTC [artist] - [album] [genre] [track]-[title]
157
+Is a tad long to write, no?
158
+[x] for ignore?
159
+
160
+Of course a drop-down combo "memory" would help.
161
+
162
+I hope my "annoyance" is helpful, Phoenix
163
+===================================================================
164
+[23:32:12] <Keimix> BTW  is there a possibility to load just one of the kfile-plugins at krename startup, because loading all slows krename down alot?
165
+[23:35:49] <domseichter> No, not yet. But it's a good idea. Strange that I did not have it and nobody asked me for this feature!
166
+===================================================================
167
+"Squashing weird characters" sollte auf die ToDO liste
168
+===================================================================
169
+> Remark Dom, 4-10-2004
170
+> - Add a random token (maybe even a random number and a random string token)
171
+>   In the first case the range and in the latter case the length should be specified
172
+ 
173
+=================================================================== 
174
+Arpad Biro <biro_arpad@yahoo.com>:
175
+
176
+----------------------
177
+
178
+
179
+an undo script bug:
180
+
181
+  1. cd to a temporary dir (for example /tmp)
182
+  2. touch file1
183
+     mkdir dir1
184
+     touch dir1/file2
185
+  3. rename the above 3 items (use the "Add directory names with filenames" option),
186
+     and also create an undo script
187
+  4. run the undo script
188
+
189
+The directory is renamed back first, and the file in it cannot be renamed back.
190
+
191
+other text-related things
192
+-------------------------
193
+
194
+
195
+The "WARNING..." string in the encoding conversion plugin is unlocalizable.
196
+===================================================================
197
+
198
+----------  Weitergeleitete Nachricht  ----------
199
+
200
+Subject: krename - vorschlaege/diskussion
201
+Date: Dienstag, 13. September 2005 00:41
202
+From: Christian Goehl <pastulio@gmx.net>
203
+To: support@stonki.de
204
+
205
+Hello, as you live in germany I assume you speak German. If not,
206
+ tell me.
207
+
208
+Wenn man ueber den dsdirselectdialog Dateien/Ordner hinzufuegt und
209
+ die Anzahl enorm ist (70gb mp3s), wird die aktuelle kde session
210
+ beendet. Man kann noch den Crash-Handler sehen. Wahrscheinlich ist
211
+ das ein Bug in KFileDialog oder in Qt. Als Ausweg kann man
212
+ natuerlich die Dateien via D'n'D hinzufuegen, allerdings kann hat
213
+ man dann nicht die vielseitigen Optionen des Dialogs.
214
+
215
+Nun aber zu meinem eigentlichen Anliegen: Ich besitze eine riesige
216
+Musiksammlung, leider sind aber nicht alle Dateien einheitlich
217
+ benannt. Generell waere es mit Krename schon moeglich diese zu
218
+ vereinheitlichen, es ist aber sehr aufwendig, vorallem weil es
219
+ keine Verallgemeinerung von Dateitypen(z.B. Audiodatei) gibt, so
220
+ muss man immer beide Tags fuer mp3 und ogg einfuegen.
221
+
222
+Desweiteren waere eine Art KI wuenschenswert, welche bei bestimmten
223
+Stichwoertern wie zum Beispiel "Unbekannt, unknown, track" anhand
224
+ des Ordnernamens und MusicBrainz oder CDDB Vorschlaege zum taggen
225
+ macht.
226
+
227
+Vielleicht kann man auch noch einen Normalisierer einbauen, wobei
228
+ ich mir nicht genauch vorstellen kann, wie aufwendig sowas ist.
229
+
230
+Die oben genannten Vorschlaege sind nicht unbedingt als eine
231
+ Erweiterung zu Krename zu sehen, vielleicht sollten sie auch in
232
+ einer getrennten Anwendung realisiert werden. Denn der Vorgang
233
+ sollte auch fuer Anfaenger einfach sein. Moeglicherweise kommt
234
+ auch einfach ein neues Profil in Frage.
235
+
236
+Ich waere bereit an diesem Projekt mitzuarbeiten, obgleich meine
237
+Programmierfaehigkeiten eher im Hobbybereich liegen. Dennoch habe
238
+ ich schon Erfahrungen mit KDE/Qt gesammelt.
239
+
240
+MfG,
241
+Christian Goehl
242
+
243
+==================================================
244
+[14:43:43] <[Stonki]> 1) Man kann kein existierendes Profil ?berschreiben !
245
+[14:44:33] <Dom64> ok, stimmt das sollte möglich sein.
246
+[14:44:37] <Dom64> Kann man leicht hinzugeben
247
+[14:45:41] <[Stonki]> und bei den profilen m?chte ich noch paar andere EInstellungen sein
248
+[14:46:15] <[Stonki]> zum beispiel rufe ich krename ?ber krusader auf. Da w?re eine option bei den profilen toll, in der man automatisch im Reiter "Dateiname" landet
249
+[14:46:24] <[Stonki]> und NACH dem umbenennen automatisch krename schliessen
250
+[14:46:54] <Dom64> Praktisch einen "Profile Settings" Dialog mit:
251
+[14:46:58] <Dom64> -> Krename Default Page
252
+[14:46:59] <[Stonki]> und man sollte anzeigen lassen, WAS bei den profilen eigentlich nun gespeichert wird
253
+[14:47:04] <Dom64> -> Close Krename after renaming
254
+[14:47:23] <[Stonki]> -> Behaviour after renaming
255
+[14:47:30] <[Stonki]> rather than just closing
256
+[14:47:47] <Dom64> Ok, und da evtl. auch alles zum ändern. Also dass man dort auch direkt zum beispiel das template umstellen kann.
257
+[14:47:58] <Dom64> Stimmt, kann man ja mehr optionen machen als nur schliessen.
258
+[14:48:25] <[Stonki]> viel spass :)
259
+[14:48:29] <[Stonki]> UND
260
+[14:48:56] <Dom64> *g
261
+[14:49:01] <[Stonki]> es ging doch irgendwie die tracknummer von MP3 songs automatisch nach ## zu formatieren, oder ?
262
+[14:49:25] <[Stonki]> und das wird dann puenktlich zu kde 3.5 krename 3.50 :)
263
+[14:50:27] <Dom64> ja [###mp3TrackNumber]
264
+[14:50:41] <Dom64> einfach beliebig viele #'s voranstellen, geht bei jeder zahl die von einem plugin kommt
265
+[14:50:53] <Dom64> KRename 3.50 :)
266
+
267
+========
268
+[quote]
269
+1. If I select files in Konqueror and then right click too select actions|krename, then it takes me to the [files] section - but it would be more efficient to go straight to [filenames]. 
270
+[/quote]
271
+This was fixed some time ago. But does not work with the latest release. I will fix it for the next version.
272
+
273
+========
274
+
275
+Hello,
276
+
277
+This is a great software but there is a powerful feature that I'd like 
278
+to see in the future.
279
+When you use the 'find and replace' feature, you only can give rules 
280
+that apply on the original filename. Why don't give the possibility to 
281
+apply a new rule on the original file changed by the past rules ?
282
+An exemple :
283
+
284
+the original file : "artist - the song.mp3"
285
+
286
+the result I want : "artist__the_song.mp3"
287
+
288
+The way I did that on windows (in the past :-) ) with emusic tag editor :
289
+rule 1 " " --> "_" the current filename is "artist_-_the_song.mp3"
290
+rule 2 "-" --> "_" the current filename is "artist___the_song.mp3"
291
+rule 3 "___" --> "__" the current filename is "artist__the_song.mp3"
292
+
293
+With this software, rules n applies on the filename modified by rules 
294
+n-1, n-2, n-p and so on (this could be annoying, that's why the best is 
295
+to give the possibility to have the present behaviour or 'my' feature 
296
+enabled).
297
+
298
+
299
+With the current version (ok, I only have 3.03) it is not possible to do 
300
+so in one shot. With the pas example :
301
+
302
+Find and replace:
303
+- add " " --> "_"
304
+- add "-" --> "_"
305
+- add "___" --> "__"  ==> no effect because there is no such string in 
306
+the original filename.
307
+The result is "artist___the_song.mp3".
308
+
309
+I could tried
310
+- add " - " --> __
311
+- add " " --> _
312
+There is a conflict and not all the changes are applied.
313
+
314
+Thank you for your response.
315
+
316
+Best regards.
317
+
318
+mailto : benoit.turpin@ecl2005.ec-lyon.fre
319
+
320
+============
321
+
322
+Package: krename
323
+Version: 3.0.9 3.5.1, Debian Package 4:3.5.1-4 (testing/unstable)
324
+Severity: wishlist
325
+Compiler: Target: x86_64-linux-gnu
326
+OS: Linux 2.6.15-1-amd64-k8-smp x86_64 (Debian Package 4:3.5.1-4 (testing/unstable))
327
+
328
+In konqueror file management, say you right-click on a file and select krename from actions. When krename comes up and displays the chosen file, click Add. 
329
+
330
+Current behavior: the file selector opens in the user's home directory.
331
+
332
+Requested behavior: open in the same directory as the currently chosen file.
333
+
334
+Great program!
335
+Dave
336
+======================
337
+I just thought that krename is a great tool! And could be best: due its 
338
+integration with konqueror it could manage a download directory in such 
339
+manner that when a batch of files just arrives ( may be downloaded by kget), 
340
+krename renames it and then moves it to another directory, keeping track of 
341
+its activities, so the recent arrives never collides with elder files.
342
+
343
+Please, excuse my poor english.
344
+
345
+Best regards,
346
+
347
+Marcelo Mazini.
348
+==========================
349
+
350
+Hi, I download many scientific articles, usualy in pdf or ps, with httrack. When on my disk, names are often like 4523.pdf and I would like to use krename as :
351
+Withdraw title property in document to use it as a new fiel in rename items. If title property do not exist, use some heuristic to find the best candidate (say for example, in the first pages, usually the very first one, center aligned, biggest font size, bold, uppercase, and a ponderation rule of all this kind of criteria).
352
+Hope you like it and that it will be available. Let me now. I remain at your disposal if you want to discuss this feature. Best regards,
353
+Laurent.
354
+
355
+ ~~
356
+It is a good idea to add a feature to KRename so that you can check wether a token is empty (doesn't exist) and only use it if it does exist and use something else if it does not exist. I will try to add something to the next version.
357
+
358
+Unfortunately it would be a too big issue to add support for extracting headlines from a PDF file to KRename. This would require a complete PDF parser in KRename. If you want this functionallity it is better to write an external tool and use KRename's command plugin.
359
+
360
+best regards,
361
+   Dom
362
+==========================
363
+
364
+Morgen!
365
+
366
+Danke für die Idee. Das ist auf jeden Fall sinvoll, werde ich für die nächste Version hinzufügen.
367
+
368
+CU Dom
369
+
370
+Am Friday, 1. December 2006 19:38 schrieben Sie:
371
+> Kam gerade im Chat
372
+>
373
+> Bei den Settings von krename einstellen, wie viele Dateien er
374
+> wirklich anzeigt im Preview Fenster. Default: unlimited, aber wenn
375
+> man wirklich mal 10.000 Dateien umbenennt, dann kann man das z.B
376
+> auf 200 stellen, er macht das preview dann nur für 200 und erst
377
+> beim eigentlich start dann alle 10.000
378
+>
379
+>
380
+> cu
381
+> stonki
382
+
383
+==========================

+ 12360
- 0
acinclude.m4
File diff suppressed because it is too large
View File


+ 863
- 0
aclocal.m4 View File

@@ -0,0 +1,863 @@
1
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+# 2005  Free Software Foundation, Inc.
5
+# This file is free software; the Free Software Foundation
6
+# gives unlimited permission to copy and/or distribute it,
7
+# with or without modifications, as long as this notice is preserved.
8
+
9
+# This program is distributed in the hope that it will be useful,
10
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+# PARTICULAR PURPOSE.
13
+
14
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
15
+#
16
+# This file is free software; the Free Software Foundation
17
+# gives unlimited permission to copy and/or distribute it,
18
+# with or without modifications, as long as this notice is preserved.
19
+
20
+# AM_AUTOMAKE_VERSION(VERSION)
21
+# ----------------------------
22
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
+# generated from the m4 files accompanying Automake X.Y.
24
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
25
+
26
+# AM_SET_CURRENT_AUTOMAKE_VERSION
27
+# -------------------------------
28
+# Call AM_AUTOMAKE_VERSION so it can be traced.
29
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
+	 [AM_AUTOMAKE_VERSION([1.9.6])])
32
+
33
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
+
35
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
36
+#
37
+# This file is free software; the Free Software Foundation
38
+# gives unlimited permission to copy and/or distribute it,
39
+# with or without modifications, as long as this notice is preserved.
40
+
41
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
42
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
43
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
44
+#
45
+# Of course, Automake must honor this variable whenever it calls a
46
+# tool from the auxiliary directory.  The problem is that $srcdir (and
47
+# therefore $ac_aux_dir as well) can be either absolute or relative,
48
+# depending on how configure is run.  This is pretty annoying, since
49
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
50
+# source directory, any form will work fine, but in subdirectories a
51
+# relative path needs to be adjusted first.
52
+#
53
+# $ac_aux_dir/missing
54
+#    fails when called from a subdirectory if $ac_aux_dir is relative
55
+# $top_srcdir/$ac_aux_dir/missing
56
+#    fails if $ac_aux_dir is absolute,
57
+#    fails when called from a subdirectory in a VPATH build with
58
+#          a relative $ac_aux_dir
59
+#
60
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
61
+# are both prefixed by $srcdir.  In an in-source build this is usually
62
+# harmless because $srcdir is `.', but things will broke when you
63
+# start a VPATH build or use an absolute $srcdir.
64
+#
65
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
66
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
67
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
68
+# and then we would define $MISSING as
69
+#   MISSING="\${SHELL} $am_aux_dir/missing"
70
+# This will work as long as MISSING is not called from configure, because
71
+# unfortunately $(top_srcdir) has no meaning in configure.
72
+# However there are other variables, like CC, which are often used in
73
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
74
+#
75
+# Another solution, used here, is to always expand $ac_aux_dir to an
76
+# absolute PATH.  The drawback is that using absolute paths prevent a
77
+# configured tree to be moved without reconfiguration.
78
+
79
+AC_DEFUN([AM_AUX_DIR_EXPAND],
80
+[dnl Rely on autoconf to set up CDPATH properly.
81
+AC_PREREQ([2.50])dnl
82
+# expand $ac_aux_dir to an absolute path
83
+am_aux_dir=`cd $ac_aux_dir && pwd`
84
+])
85
+
86
+# AM_CONDITIONAL                                            -*- Autoconf -*-
87
+
88
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
89
+# Free Software Foundation, Inc.
90
+#
91
+# This file is free software; the Free Software Foundation
92
+# gives unlimited permission to copy and/or distribute it,
93
+# with or without modifications, as long as this notice is preserved.
94
+
95
+# serial 7
96
+
97
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
+# -------------------------------------
99
+# Define a conditional.
100
+AC_DEFUN([AM_CONDITIONAL],
101
+[AC_PREREQ(2.52)dnl
102
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
+AC_SUBST([$1_TRUE])
105
+AC_SUBST([$1_FALSE])
106
+if $2; then
107
+  $1_TRUE=
108
+  $1_FALSE='#'
109
+else
110
+  $1_TRUE='#'
111
+  $1_FALSE=
112
+fi
113
+AC_CONFIG_COMMANDS_PRE(
114
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
115
+  AC_MSG_ERROR([[conditional "$1" was never defined.
116
+Usually this means the macro was only invoked conditionally.]])
117
+fi])])
118
+
119
+
120
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
121
+# Free Software Foundation, Inc.
122
+#
123
+# This file is free software; the Free Software Foundation
124
+# gives unlimited permission to copy and/or distribute it,
125
+# with or without modifications, as long as this notice is preserved.
126
+
127
+# serial 8
128
+
129
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130
+# written in clear, in which case automake, when reading aclocal.m4,
131
+# will think it sees a *use*, and therefore will trigger all it's
132
+# C support machinery.  Also note that it means that autoscan, seeing
133
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
134
+
135
+
136
+# _AM_DEPENDENCIES(NAME)
137
+# ----------------------
138
+# See how the compiler implements dependency checking.
139
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
140
+# We try a few techniques and use that to set a single cache variable.
141
+#
142
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
143
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
144
+# dependency, and given that the user is not expected to run this macro,
145
+# just rely on AC_PROG_CC.
146
+AC_DEFUN([_AM_DEPENDENCIES],
147
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
148
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
149
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
150
+AC_REQUIRE([AM_DEP_TRACK])dnl
151
+
152
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
155
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
+                   [depcc="$$1"   am_compiler_list=])
157
+
158
+AC_CACHE_CHECK([dependency style of $depcc],
159
+               [am_cv_$1_dependencies_compiler_type],
160
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
161
+  # We make a subdir and do the tests there.  Otherwise we can end up
162
+  # making bogus files that we don't know about and never remove.  For
163
+  # instance it was reported that on HP-UX the gcc test will end up
164
+  # making a dummy file named `D' -- because `-MD' means `put the output
165
+  # in D'.
166
+  mkdir conftest.dir
167
+  # Copy depcomp to subdir because otherwise we won't find it if we're
168
+  # using a relative directory.
169
+  cp "$am_depcomp" conftest.dir
170
+  cd conftest.dir
171
+  # We will build objects and dependencies in a subdirectory because
172
+  # it helps to detect inapplicable dependency modes.  For instance
173
+  # both Tru64's cc and ICC support -MD to output dependencies as a
174
+  # side effect of compilation, but ICC will put the dependencies in
175
+  # the current directory while Tru64 will put them in the object
176
+  # directory.
177
+  mkdir sub
178
+
179
+  am_cv_$1_dependencies_compiler_type=none
180
+  if test "$am_compiler_list" = ""; then
181
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
182
+  fi
183
+  for depmode in $am_compiler_list; do
184
+    # Setup a source with many dependencies, because some compilers
185
+    # like to wrap large dependency lists on column 80 (with \), and
186
+    # we should not choose a depcomp mode which is confused by this.
187
+    #
188
+    # We need to recreate these files for each test, as the compiler may
189
+    # overwrite some of them when testing with obscure command lines.
190
+    # This happens at least with the AIX C compiler.
191
+    : > sub/conftest.c
192
+    for i in 1 2 3 4 5 6; do
193
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
194
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
195
+      # Solaris 8's {/usr,}/bin/sh.
196
+      touch sub/conftst$i.h
197
+    done
198
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
199
+
200
+    case $depmode in
201
+    nosideeffect)
202
+      # after this tag, mechanisms are not by side-effect, so they'll
203
+      # only be used when explicitly requested
204
+      if test "x$enable_dependency_tracking" = xyes; then
205
+	continue
206
+      else
207
+	break
208
+      fi
209
+      ;;
210
+    none) break ;;
211
+    esac
212
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
213
+    # mode.  It turns out that the SunPro C++ compiler does not properly
214
+    # handle `-M -o', and we need to detect this.
215
+    if depmode=$depmode \
216
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
217
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
+         >/dev/null 2>conftest.err &&
220
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
223
+      # icc doesn't choke on unknown options, it will just issue warnings
224
+      # or remarks (even with -Werror).  So we grep stderr for any message
225
+      # that says an option was ignored or not supported.
226
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
227
+      #   icc: Command line warning: ignoring option '-M'; no argument required
228
+      # The diagnosis changed in icc 8.0:
229
+      #   icc: Command line remark: option '-MP' not supported
230
+      if (grep 'ignoring option' conftest.err ||
231
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
232
+        am_cv_$1_dependencies_compiler_type=$depmode
233
+        break
234
+      fi
235
+    fi
236
+  done
237
+
238
+  cd ..
239
+  rm -rf conftest.dir
240
+else
241
+  am_cv_$1_dependencies_compiler_type=none
242
+fi
243
+])
244
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
245
+AM_CONDITIONAL([am__fastdep$1], [
246
+  test "x$enable_dependency_tracking" != xno \
247
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
248
+])
249
+
250
+
251
+# AM_SET_DEPDIR
252
+# -------------
253
+# Choose a directory name for dependency files.
254
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
255
+AC_DEFUN([AM_SET_DEPDIR],
256
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
257
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
258
+])
259
+
260
+
261
+# AM_DEP_TRACK
262
+# ------------
263
+AC_DEFUN([AM_DEP_TRACK],
264
+[AC_ARG_ENABLE(dependency-tracking,
265
+[  --disable-dependency-tracking  speeds up one-time build
266
+  --enable-dependency-tracking   do not reject slow dependency extractors])
267
+if test "x$enable_dependency_tracking" != xno; then
268
+  am_depcomp="$ac_aux_dir/depcomp"
269
+  AMDEPBACKSLASH='\'
270
+fi
271
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
+AC_SUBST([AMDEPBACKSLASH])
273
+])
274
+
275
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
276
+
277
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
278
+# Free Software Foundation, Inc.
279
+#
280
+# This file is free software; the Free Software Foundation
281
+# gives unlimited permission to copy and/or distribute it,
282
+# with or without modifications, as long as this notice is preserved.
283
+
284
+#serial 3
285
+
286
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
287
+# ------------------------------
288
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
289
+[for mf in $CONFIG_FILES; do
290
+  # Strip MF so we end up with the name of the file.
291
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
292
+  # Check whether this is an Automake generated Makefile or not.
293
+  # We used to match only the files named `Makefile.in', but
294
+  # some people rename them; so instead we look at the file content.
295
+  # Grep'ing the first line is not enough: some people post-process
296
+  # each Makefile.in and add a new line on top of each file to say so.
297
+  # So let's grep whole file.
298
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
299
+    dirpart=`AS_DIRNAME("$mf")`
300
+  else
301
+    continue
302
+  fi
303
+  # Extract the definition of DEPDIR, am__include, and am__quote
304
+  # from the Makefile without running `make'.
305
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
306
+  test -z "$DEPDIR" && continue
307
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
308
+  test -z "am__include" && continue
309
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
310
+  # When using ansi2knr, U may be empty or an underscore; expand it
311
+  U=`sed -n 's/^U = //p' < "$mf"`
312
+  # Find all dependency output files, they are included files with
313
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
314
+  # simplest approach to changing $(DEPDIR) to its actual value in the
315
+  # expansion.
316
+  for file in `sed -n "
317
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
318
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
319
+    # Make sure the directory exists.
320
+    test -f "$dirpart/$file" && continue
321
+    fdir=`AS_DIRNAME(["$file"])`
322
+    AS_MKDIR_P([$dirpart/$fdir])
323
+    # echo "creating $dirpart/$file"
324
+    echo '# dummy' > "$dirpart/$file"
325
+  done
326
+done
327
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
328
+
329
+
330
+# AM_OUTPUT_DEPENDENCY_COMMANDS
331
+# -----------------------------
332
+# This macro should only be invoked once -- use via AC_REQUIRE.
333
+#
334
+# This code is only required when automatic dependency tracking
335
+# is enabled.  FIXME.  This creates each `.P' file that we will
336
+# need in order to bootstrap the dependency handling code.
337
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
338
+[AC_CONFIG_COMMANDS([depfiles],
339
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
340
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
341
+])
342
+
343
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
344
+# Free Software Foundation, Inc.
345
+#
346
+# This file is free software; the Free Software Foundation
347
+# gives unlimited permission to copy and/or distribute it,
348
+# with or without modifications, as long as this notice is preserved.
349
+
350
+# serial 8
351
+
352
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
353
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
354
+
355
+# Do all the work for Automake.                             -*- Autoconf -*-
356
+
357
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
+# Free Software Foundation, Inc.
359
+#
360
+# This file is free software; the Free Software Foundation
361
+# gives unlimited permission to copy and/or distribute it,
362
+# with or without modifications, as long as this notice is preserved.
363
+
364
+# serial 12
365
+
366
+# This macro actually does too much.  Some checks are only needed if
367
+# your package does certain things.  But this isn't really a big deal.
368
+
369
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
370
+# AM_INIT_AUTOMAKE([OPTIONS])
371
+# -----------------------------------------------
372
+# The call with PACKAGE and VERSION arguments is the old style
373
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
374
+# and VERSION should now be passed to AC_INIT and removed from
375
+# the call to AM_INIT_AUTOMAKE.
376
+# We support both call styles for the transition.  After
377
+# the next Automake release, Autoconf can make the AC_INIT
378
+# arguments mandatory, and then we can depend on a new Autoconf
379
+# release and drop the old call support.
380
+AC_DEFUN([AM_INIT_AUTOMAKE],
381
+[AC_PREREQ([2.58])dnl
382
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
+dnl the ones we care about.
384
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
+AC_REQUIRE([AC_PROG_INSTALL])dnl
387
+# test to see if srcdir already configured
388
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
+   test -f $srcdir/config.status; then
390
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
391
+fi
392
+
393
+# test whether we have cygpath
394
+if test -z "$CYGPATH_W"; then
395
+  if (cygpath --version) >/dev/null 2>/dev/null; then
396
+    CYGPATH_W='cygpath -w'
397
+  else
398
+    CYGPATH_W=echo
399
+  fi
400
+fi
401
+AC_SUBST([CYGPATH_W])
402
+
403
+# Define the identity of the package.
404
+dnl Distinguish between old-style and new-style calls.
405
+m4_ifval([$2],
406
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
407
+ AC_SUBST([PACKAGE], [$1])dnl
408
+ AC_SUBST([VERSION], [$2])],
409
+[_AM_SET_OPTIONS([$1])dnl
410
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
+
413
+_AM_IF_OPTION([no-define],,
414
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
415
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
416
+
417
+# Some tools Automake needs.
418
+AC_REQUIRE([AM_SANITY_CHECK])dnl
419
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
420
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
421
+AM_MISSING_PROG(AUTOCONF, autoconf)
422
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
423
+AM_MISSING_PROG(AUTOHEADER, autoheader)
424
+AM_MISSING_PROG(MAKEINFO, makeinfo)
425
+AM_PROG_INSTALL_SH
426
+AM_PROG_INSTALL_STRIP
427
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
428
+# We need awk for the "check" target.  The system "awk" is bad on
429
+# some platforms.
430
+AC_REQUIRE([AC_PROG_AWK])dnl
431
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
432
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
433
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
434
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
435
+	      		     [_AM_PROG_TAR([v7])])])
436
+_AM_IF_OPTION([no-dependencies],,
437
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
438
+                  [_AM_DEPENDENCIES(CC)],
439
+                  [define([AC_PROG_CC],
440
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
441
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
442
+                  [_AM_DEPENDENCIES(CXX)],
443
+                  [define([AC_PROG_CXX],
444
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
445
+])
446
+])
447
+
448
+
449
+# When config.status generates a header, we must update the stamp-h file.
450
+# This file resides in the same directory as the config header
451
+# that is generated.  The stamp files are numbered to have different names.
452
+
453
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
454
+# loop where config.status creates the headers, so we can generate
455
+# our stamp files there.
456
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
457
+[# Compute $1's index in $config_headers.
458
+_am_stamp_count=1
459
+for _am_header in $config_headers :; do
460
+  case $_am_header in
461
+    $1 | $1:* )
462
+      break ;;
463
+    * )
464
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
465
+  esac
466
+done
467
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
468
+
469
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
470
+#
471
+# This file is free software; the Free Software Foundation
472
+# gives unlimited permission to copy and/or distribute it,
473
+# with or without modifications, as long as this notice is preserved.
474
+
475
+# AM_PROG_INSTALL_SH
476
+# ------------------
477
+# Define $install_sh.
478
+AC_DEFUN([AM_PROG_INSTALL_SH],
479
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
481
+AC_SUBST(install_sh)])
482
+
483
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
484
+#
485
+# This file is free software; the Free Software Foundation
486
+# gives unlimited permission to copy and/or distribute it,
487
+# with or without modifications, as long as this notice is preserved.
488
+
489
+# serial 2
490
+
491
+# Check whether the underlying file-system supports filenames
492
+# with a leading dot.  For instance MS-DOS doesn't.
493
+AC_DEFUN([AM_SET_LEADING_DOT],
494
+[rm -rf .tst 2>/dev/null
495
+mkdir .tst 2>/dev/null
496
+if test -d .tst; then
497
+  am__leading_dot=.
498
+else
499
+  am__leading_dot=_
500
+fi
501
+rmdir .tst 2>/dev/null
502
+AC_SUBST([am__leading_dot])])
503
+
504
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
505
+
506
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
507
+#
508
+# This file is free software; the Free Software Foundation
509
+# gives unlimited permission to copy and/or distribute it,
510
+# with or without modifications, as long as this notice is preserved.
511
+
512
+# serial 3
513
+
514
+# AM_MAKE_INCLUDE()
515
+# -----------------
516
+# Check to see how make treats includes.
517
+AC_DEFUN([AM_MAKE_INCLUDE],
518
+[am_make=${MAKE-make}
519
+cat > confinc << 'END'
520
+am__doit:
521
+	@echo done
522
+.PHONY: am__doit
523
+END
524
+# If we don't find an include directive, just comment out the code.
525
+AC_MSG_CHECKING([for style of include used by $am_make])
526
+am__include="#"
527
+am__quote=
528
+_am_result=none
529
+# First try GNU make style include.
530
+echo "include confinc" > confmf
531
+# We grep out `Entering directory' and `Leaving directory'
532
+# messages which can occur if `w' ends up in MAKEFLAGS.
533
+# In particular we don't look at `^make:' because GNU make might
534
+# be invoked under some other name (usually "gmake"), in which
535
+# case it prints its new name instead of `make'.
536
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
537
+   am__include=include
538
+   am__quote=
539
+   _am_result=GNU
540
+fi
541
+# Now try BSD make style include.
542
+if test "$am__include" = "#"; then
543
+   echo '.include "confinc"' > confmf
544
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
545
+      am__include=.include
546
+      am__quote="\""
547
+      _am_result=BSD
548
+   fi
549
+fi
550
+AC_SUBST([am__include])
551
+AC_SUBST([am__quote])
552
+AC_MSG_RESULT([$_am_result])
553
+rm -f confinc confmf
554
+])
555
+
556
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
557
+
558
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
559
+# Free Software Foundation, Inc.
560
+#
561
+# This file is free software; the Free Software Foundation
562
+# gives unlimited permission to copy and/or distribute it,
563
+# with or without modifications, as long as this notice is preserved.
564
+
565
+# serial 4
566
+
567
+# AM_MISSING_PROG(NAME, PROGRAM)
568
+# ------------------------------
569
+AC_DEFUN([AM_MISSING_PROG],
570
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
571
+$1=${$1-"${am_missing_run}$2"}
572
+AC_SUBST($1)])
573
+
574
+
575
+# AM_MISSING_HAS_RUN
576
+# ------------------
577
+# Define MISSING if not defined so far and test if it supports --run.
578
+# If it does, set am_missing_run to use it, otherwise, to nothing.
579
+AC_DEFUN([AM_MISSING_HAS_RUN],
580
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
581
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
582
+# Use eval to expand $SHELL
583
+if eval "$MISSING --run true"; then
584
+  am_missing_run="$MISSING --run "
585
+else
586
+  am_missing_run=
587
+  AC_MSG_WARN([`missing' script is too old or missing])
588
+fi
589
+])
590
+
591
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
592
+#
593
+# This file is free software; the Free Software Foundation
594
+# gives unlimited permission to copy and/or distribute it,
595
+# with or without modifications, as long as this notice is preserved.
596
+