Added small program to measure font atlas performance, ryzom/ryzomcore#626
[ryzomcore.git] / tool / attribution / annotate.py
blob6029f9aeb2d286907fbec631433d4b689261d47d
2 # Copyright (C) 2019-2020 Jan BOON <jan.boon@kaetemi.be>
3 # All rights reserved.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
8 # * Redistributions of source code must retain the above copyright notice, this
9 # list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above copyright notice,
12 # this list of conditions and the following disclaimer in the documentation
13 # and/or other materials provided with the distribution.
15 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 # This script specifies by whom and when source files were modified
28 # from their original, in order to comply with the AGPLv3 requirements.
30 # It will output a mapping of unidentified contributors, for matching
31 # names more appropriately. If you are being paid by Winch Gate, map
32 # your name to "winch_gate".
34 # There's also a mapping of commits to ignore, they do not count towards
35 # contribution, as well as a mapping of commits for which to override
36 # the author.
38 # set PATH=C:\Python38;%PATH%
39 # python -m pip install --upgrade pip
40 # python -m pip install gitpython
41 # python annotate.py
43 import time
44 from datetime import datetime
45 from pathlib import Path
47 from git import Repo
48 repo = Repo("../..")
50 # Mapping for author short name to full display name
51 authors = { }
52 authors["winch_gate"] = "Winch Gate Property Limited"
53 authors["nevrax"] = "Nevrax Ltd."
54 authors["sfb"] = "Matt RAYKOWSKI (sfb) <matt.raykowski@gmail.com>" # OpenNeL
55 authors["ace"] = "Vianney LECROART (ace) <vl@ryzom.com>" # Nevrax, Winch Gate
56 authors["rti"] = "Robert TIMM (rti) <mail@rtti.de>" # OpenNeL
57 authors["botanic"] = "Matthew LAGOE (Botanic) <cyberempires@gmail.com>" # OpenNeL
58 authors["rtsan"] = "Henri KUUSTE <al-rtsan@totl.net>" # OpenNeL
59 authors["kaetemi"] = "Jan BOON (Kaetemi) <jan.boon@kaetemi.be>"
60 authors["kervala"] = "Cédric OCHS (kervala) <kervala@gmail.com>"
61 authors["glorf"] = "Guillaume DUPUY (glorf) <glorf@glorf.fr>"
62 authors["ulukyn"] = "Nuno GONCALVES (Ulukyn) <ulukyn@ryzom.com>"
63 authors["nimetu"] = "Meelis MAGI (Nimetu) <nimetu@gmail.com>"
64 authors["dfighter"] = "Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>" # GSoC
65 authors["dnk-88"] = "Dzmitry KAMIAHIN (dnk-88) <dnk-88@tut.by>" # GSoC
66 authors["fhenon"] = "Fabien HENON" # GSoC
67 authors["adrianj"] = "Adrian JAEKEL <aj@elane2k.com>" # GSoC
68 authors["cemycc"] = "Emanuel COSTEA <cemycc@gmail.com>" # GSoC
69 authors["inky"] = "Inky <jnk@mailoo.org>"
70 authors["riasan"] = "Riasan <riasan@ryzom.com>"
71 authors["karu"] = "karu"
72 authors["kishan"] = "Kishan GRIMOUT <kishan.grimout@gmail.com>"
73 authors["vinicius"] = "Vinicius ARROYO"
74 authors["llapp"] = "llapp"
75 authors["depyraken"] = "depyraken"
76 authors["gary"] = "Gary PRESTON"
77 authors["tobiasp"] = "Tobias PETERS <tobias.peters@kreativeffekt.at>"
78 authors["rodolpheb"] = "Rodolphe BREARD <code@breard.tf>"
79 authors["geelsd"] = "Dylan GEELS <geelsd@live.nl>"
80 authors["shubham"] = "Shubham MEENA <shubham.iit17@gmail.com>"
81 authors["liria"] = "liria <liria@gmx.fr>"
82 authors["etrange"] = "StudioEtrange <nomorgan@gmail.com>"
83 authors["sircotare"] = "SirCotare"
84 authors["rolandw"] = "Roland WINKLMEIER <roland.m.winklmeier@gmail.com>"
85 authors["thibg"] = "Thibaut GIRKA (ThibG) <thib@sitedethib.com>" # LibVR support
86 authors["xtarsia"] = "Xtarsia"
88 # Mapping from git author name to short name, dash to ignore author
89 short_authors = { }
90 short_authors["sfb"] = "sfb"
91 short_authors["Matt Raykowski <matt.raykowski@gmail.com>"] = "sfb"
92 short_authors["mattraykowski"] = "sfb"
93 short_authors["\"Matt Raykowski\" <matt.raykowski@gmail.com>"] = "sfb"
94 short_authors["vl"] = "ace"
95 short_authors["acemtp@acemtp-desktop <acemtp@acemtp-desktop>"] = "ace"
96 short_authors["acemtp@users.sourceforge.net <acemtp@users.sourceforge.net>"] = "ace"
97 short_authors["botanicvelious <cyberempires@gmail.com>"] = "botanic"
98 short_authors["botanic"] = "botanic"
99 short_authors["Matthew Lagoe <matthew.lagoe@subrigo.net>"] = "botanic"
100 short_authors["Botanic"] = "botanic"
101 short_authors["Matthew Lagoe@MatthewLagoe-PC <Matthew Lagoe@MatthewLagoe-PC>"] = "botanic"
102 short_authors["Botanic <admin@tempestintheaether.org>"] = "botanic"
103 short_authors["kaetemi <kaetemi@gmail.com>"] = "kaetemi"
104 short_authors["Jan Boon <jan.boon@kaetemi.be>"] = "kaetemi"
105 short_authors["Jan Boon <kaetemi@no-break.space>"] = "kaetemi"
106 short_authors["Jan Boon <kaetemi@gmail.com>"] = "kaetemi"
107 short_authors["Jan BOON (jan.boon@kaetemi.be)"] = "kaetemi"
108 short_authors["kaetemi"] = "kaetemi"
109 short_authors["kaetemi@users.sourceforge.net <kaetemi@users.sourceforge.net>"] = "kaetemi"
110 short_authors["kaetemi@kaevm.localdomain <kaetemi@kaevm.localdomain>"] = "kaetemi"
111 short_authors["Jan Boon (Kaetemi)"] = "kaetemi"
112 short_authors["NO-BREAK SPACE OÜ <support@no-break.space>"] = "-" # bot
113 short_authors["Ryzom Pipeline <ryzom-pipeline@kaetemi.be>"] = "-" # bot
114 short_authors["Nimetu <nimetu@gmail.com>"] = "nimetu"
115 short_authors["nimetu@gmail.com <nimetu@gmail.com>"] = "nimetu"
116 short_authors["Meelis Mägi <nimetu@gmail.com>"] = "nimetu"
117 short_authors["nimetu <nimetu@gmail.com>"] = "nimetu"
118 short_authors["nimetu"] = "nimetu"
119 short_authors["kervala"] = "kervala"
120 short_authors["Cédric OCHS <kervala@gmail.com>"] = "kervala"
121 short_authors["Nuno Gonçalves <ulukyn@gmail.com>"] = "ulukyn"
122 short_authors["ulukyn"] = "ulukyn"
123 short_authors["Ulukyn <ulukyn@gmail.com>"] = "ulukyn"
124 short_authors["ulukyn@gmail.com <ulukyn@gmail.com>"] = "ulukyn"
125 short_authors["Ulu Kyn <ulukyn@gmail.com>"] = "ulukyn"
126 short_authors["Inky <jnk@mailoo.org>"] = "inky"
127 short_authors["inky <jnk@mailoo.org>"] = "inky"
128 short_authors["Riasan <riasan@ryzom.com>"] = "riasan"
129 short_authors["Guillaume Dupuy <glorf@glorf.fr>"] = "glorf"
130 short_authors["karu"] = "karu"
131 short_authors["kishan_grimout"] = "kishan"
132 short_authors["KISHAN GRIMOUT <kishan.grimout@gmail.com>"] = "kishan"
133 short_authors["Vinicius Arroyo <vinicius.arroyo@gmail.com>"] = "vinicius"
134 short_authors["Llapp"] = "llapp"
135 short_authors["depyraken"] = "depyraken"
136 short_authors["Gary Preston <gary@mups.co.uk>"] = "gary"
137 short_authors["Tobias Peters <tobias.peters@kreativeffekt.at>"] = "tobiasp"
138 short_authors["dfighter1985"] = "dfighter"
139 short_authors["dfighter1985 <dfighter1985@gmail.com>"] = "dfighter"
140 short_authors["Laszlo Kis-Adam <dfighter1985@gmail.com>"] = "dfighter"
141 short_authors["Laszlo Kis-Adam"] = "dfighter"
142 short_authors["dfighter1985 <dfighter1985.arcemu@gmail.com>"] = "dfighter"
143 short_authors["dfighter <dfighter1985.arcemu@gmail.com>"] = "dfighter"
144 short_authors["timon <dnk-88@tut.by>"] = "dnk-88"
145 short_authors["dnk-88"] = "dnk-88"
146 short_authors["Dzmitry Kamiahin <dnk-88@tut.by>"] = "dnk-88"
147 short_authors["Dzmitry Kamiahin <dzmitry.kamiahin@gmail.com>"] = "dnk-88"
148 short_authors["Fabien_HENON"] = "fhenon"
149 short_authors["Rodolphe Breard <rodolphe@what.tf>"] = "rodolpheb"
150 short_authors["Rodolphe Breard <code@breard.tf>"] = "rodolpheb"
151 short_authors["Dylan Geels <geelsd@live.nl>"] = "geelsd"
152 short_authors["shubham_meena <shubham.iit17@gmail.com>"] = "shubham"
153 short_authors["shubham_meena"] = "shubham"
154 short_authors["liria <liria@gmx.fr>"] = "liria"
155 short_authors["liria"] = "liria"
156 short_authors["StudioEtrange <nomorgan@gmail.com>"] = "etrange"
157 short_authors["rti <mail@rtti.de>"] = "rti"
158 short_authors["rti"] = "rti"
159 short_authors["SirCotare"] = "sircotare"
160 short_authors["SirCotare@Medivh <SirCotare@Medivh>"] = "sircotare"
161 short_authors["Roland Winklmeier <roland.m.winklmeier@googlemail.com>"] = "rolandw"
162 short_authors["Adrian Jaekel <aj at elane2k dot com>"] = "adrianj"
163 short_authors["Emanuel Costea <cemycc@gmail.com>"] = "cemycc"
164 short_authors["cemycc <cemycc@gmail.com>"] = "cemycc"
165 short_authors["cemycc"] = "cemycc"
166 short_authors["Thibaut Girka <thib@sitedethib.com>"] = "thibg"
167 short_authors["Thibaut Girka (ThibG)"] = "thibg"
168 short_authors["Xtarsia <69606701+Xtarsia@users.noreply.github.com>"] = "xtarsia"
169 short_authors["Xtarsia"] = "xtarsia"
170 # short_authors["\"picomancer ext:(%22) <pico-bitbucketpub-4mcdxm39-onlyham@picomancer.com>"] = "-"
171 # short_authors["Quitta"] = "-"
172 # short_authors["Krolock"] = "-"
173 # short_authors["aquiles"] = "-"
174 # short_authors["Piotr Kaczmarek <kaczorek@gmail.com>"] = "-"
175 # short_authors["kerozcak"] = "-"
176 # short_authors["thorbjorn"] = "-"
177 # short_authors["DJanssens <daan.codes@gmail.com>"] = "-"
178 # short_authors["Michael Witrant <mike@lepton.fr>"] = "-"
180 generic_authors = [ ]
181 generic_authors += [ "Ryzom Core <http://ryzomcore.org/>" ]
182 generic_authors += [ "by authors" ]
184 # Reverse mapping for parsing original annotation
185 for short_author in authors:
186 short_authors[authors[short_author]] = short_author
188 # Mapping to override author of a git commit, dash to ignore commit
189 # * invalid commit
190 # - no authorship or various authors
191 # / initial commit, we don't have history of 2008-2010 Ryzom SVN and older 2008 OpenNeL SVN
192 # ? copyright not identified
193 override_author = { }
194 override_author["af454dd1cf9306afe0f074ea2b348a0629112a9e"] = "*" # Fix EOL issues on Mercurial repository
195 override_author["e7e51f01e080bfacd87331d16e3e124ba90a04ac"] = "dfighter" # Merge GUI Editor branch
196 override_author["d5c601ffa5690b89f121561bac165b83f39a896f"] = "/" # Initial commit.
197 override_author["adb4963102e226ff8121caa45a802b7d31c25a81"] = "dnk-88" # Merge OVQT
198 override_author["02e8f6e95629ca88820a01e4f62f336b61001214"] = "-" # EOL
199 override_author["6b3b85962a898c718a16882574abbc167c087816"] = "-" # EOL
200 override_author["29b38937a58ffd06ba64829a49f060ff7c9a2d0a"] = "-" # Header
201 override_author["61eefa97c2ffbca94e123d766f518ce006fa3ed4"] = "-" # Header
202 override_author["a9250a74f1140c08655d31cbe185a5e543e1e942"] = "-" # Header
203 override_author["dd1043eaaec28399aa0013ddf5b5d7e0c32b1ce1"] = "-" # Header
204 override_author["ff4a521b07a4983140d82f27fc2f0468a507d095"] = "-" # Header
205 override_author["43452ea27c6e92488d8bd1417b2aee60d75d8a68"] = "-" # Header
206 override_author["8e21fed1e6b79bf92f6364c7cb4f0c56e1dda103"] = "-" # Header cleanup
207 override_author["c8e562f37781d62ebc54b68ef74f7693de79a907"] = "-" # Header cleanup
208 override_author["dc734ed66226b257becae9fcd140898e14510e6a"] = "-" # Header cleanup
210 # Exclude some paths
211 exclude_paths = { }
212 exclude_paths["nel/3rdparty"] = True
213 exclude_paths["nel/src/3d/driver/opengl/GL"] = True
214 exclude_paths["nel/src/3d/driver/opengl/EGL"] = True
215 exclude_paths["nel/src/3d/driver/opengl/GLES"] = True
216 exclude_paths["nel/src/3d/driver/opengl/KHR"] = True
217 exclude_paths["studio/src/3rdparty"] = True
219 # Programmatical remappings
220 def remap_author(blob, commit, author):
221 # Remap author to copyright owner
222 # You can map based on
223 # - blob.path
224 # - commit.committed_date
225 if override_author.get(commit.hexsha) != None:
226 return override_author[commit.hexsha]
227 authored_date = datetime.utcfromtimestamp(commit.authored_date) # time.gmtime(commit.authored_date) # datetime.date(2002, 12, 26)
228 authored_timestamp = commit.authored_date
229 short_author = short_authors.get(author)
230 if short_author == None:
231 short_author = "?"
232 # If you're paid by Winch Gate, or signed copyright transfer with
233 # them, remap here, limit by authored_date if needed.
234 if short_author == "ulukyn" or short_author == "ace":
235 short_author = "winch_gate"
236 if short_author == "riasan":
237 short_author = "winch_gate"
238 if short_author == "sircotare" and authored_date.year >= 2012:
239 short_author = "winch_gate"
240 if short_author == "inky" and authored_date.year < 2020:
241 short_author = "winch_gate"
242 if "feature-export-assimp" in commit.message and authored_date.year <= 2015:
243 # Project paid for by Winch Gate
244 short_author = "winch_gate"
245 if short_author == "kervala" or short_author == "nimetu":
246 # Don't know if they signed the copyright assignment agreement with Winch Gate or Ryzom Forge
247 short_author = "?"
248 if short_author == "karu" or short_author == "kishan" or short_author == "glorf":
249 short_author = "?"
250 if short_author == "llapp" or short_author == "vinicius" or short_author == "gary":
251 short_author = "?"
252 if short_author == "depyraken" or short_author == "tobiasp" or short_author == "rodolpheb":
253 short_author = "?"
254 if short_author == "geelsd" or short_author == "shubham" or short_author == "liria":
255 short_author = "?"
256 return short_author
258 # Mapping for original author, which is not included in list of
259 # modification, but instead adjusts the original copyright date range.
260 # Author is based on first commit.
261 #def remap_original_author(blob, author):
262 # # Remap original file author to original copyright owner
263 # # Todo
264 # if blob.path.startswith("code/nel/3rdparty"):
265 # return "-"
266 # return "winch_gate"
268 def stringify_author(author):
269 if author.email == "none@none" or author.email == "":
270 return author.name
271 return author.name + " <" + author.email + ">"
273 def list_unknown_authors():
274 print("-- List unknown authors --")
275 listed_authors = {}
276 for commit in repo.iter_commits():
277 author = stringify_author(commit.author)
278 if short_authors.get(author) == None and listed_authors.get(author) == None:
279 listed_authors[author] = True
280 print(author)
282 #def count_tree_size(tree):
283 # res = len(tree.blobs)
284 # for subtree in tree.trees:
285 # res = res + count_tree_size(subtree)
286 # return res
288 #def list_large_commits():
289 # print("-- List large commits --")
290 # for commit in repo.iter_commits():
291 # print(commit.hexsha + ": " + str(count_tree_size(commit.tree)))
293 assert not repo.bare
294 #assert not repo.is_dirty()
296 # repo.untracked_files
297 # assert repo.head.ref == repo.heads.develop
299 print(str(repo))
301 print(str(repo.index))
303 tree = repo.head.ref.commit.tree
304 assert repo.tree() == repo.head.commit.tree
305 assert repo.tree() == tree
307 print(str(tree))
309 assert len(tree.trees) > 0
310 assert len(tree.blobs) > 0
311 assert len(tree.blobs) + len(tree.trees) == len(tree)
313 # for entry in tree.trees:
314 # for entry2 in entry.trees:
315 # print(entry2.path)
317 commit_counter = {}
319 historic_commit = repo.commit("e9692f5fea4afb02cf27d8a33c40587007bb13c5");
320 historic_paths = { }
322 header_not_found = { }
324 modified_blurb = "This source file has been modified by the following contributors:"
325 #modified_blurb = "This file contains modifications from the following contributors:"
327 def make_copyright(oldest_year, newest_year, long_name):
328 if newest_year > oldest_year:
329 return "Copyright (C) " + str(oldest_year) + "-" + str(newest_year) + " " + long_name
330 else:
331 if newest_year != oldest_year:
332 raise str(oldest_year) + "-" + str(newest_year)
333 return "Copyright (C) " + str(newest_year) + " " + long_name
335 def rewrite_cpp(path, copyright_oldest, copyright_newest, copyright_lines):
336 # Read all notices until "// This program is free software"
337 # Everything before the first "// Copyright" remains intact
338 # Parse existing notices, merge with lists, track which one is first
339 # Write out new copyright and modification notices
340 contents = Path("../../" + path).read_text()
341 content_start = contents.find("// This program is free software")
342 if content_start < 0:
343 header_not_found[path] = True
344 print("Could not find \"// This program is free software\"")
345 return
346 copyright_start = contents.find("// Copyright", 0, content_start)
347 if copyright_start < 0:
348 header_not_found[path] = True
349 print("Could not find \"// Copyright\"")
350 return
351 copyright_block = contents[copyright_start:content_start].splitlines()
352 first_copyright = "?"
353 for statement in copyright_block:
354 if statement.startswith("// Copyright"):
355 # Parse this statement
356 # // Copyright (C) 2010 Winch Gate Property Limited
357 # // Copyright (C) 2010-2019 Winch Gate Property Limited
358 # // Copyright (C) 2010 - 2019 Winch Gate Property Limited
359 # // Copyright (C) 2010 Winch Gate Property Limited
360 copyright_end = statement.find(")") + 1
361 if copyright_end < 0:
362 copyright_end = len("// Copyright")
363 year_start = statement.find("2", copyright_end)
364 year_end = statement.find("-", year_start, year_start + 7)
365 endyear_start = -1
366 endyear_end = -1
367 name_start = -1
368 if year_end < 0:
369 year_end = statement.find(" ", year_start)
370 name_start = year_end
371 else:
372 endyear_start = statement.find("2", year_end)
373 if endyear_start >= 0:
374 endyear_end = statement.find(" ", endyear_start)
375 name_start = endyear_end
376 else:
377 name_start = year_end
378 oldestyear = int(statement[year_start:year_end].strip())
379 newestyear = oldestyear
380 if endyear_end >= 0:
381 newestyear = int(statement[endyear_start:endyear_end].strip())
382 name_long = statement[name_start:].strip()
383 name_short = "*"
384 if name_long in generic_authors:
385 highest_author = 0
386 for author in copyright_lines:
387 if len(author) > 1:
388 if copyright_lines[author] > highest_author:
389 name_short = author
390 else:
391 name_short = short_authors[name_long]
392 if name_short == "*":
393 header_not_found[path] = True
394 print("Copyright by authors failed to be specified")
395 return
396 #print(statement)
397 #print(str(oldestyear))
398 #print(str(newestyear))
399 #print(name_long)
400 #print(name_short)
401 #if first_copyright == "?" or (path.startswith('code/studio') and first_copyright == 'winch_gate'):
402 if first_copyright == "?":
403 first_copyright = name_short
404 if copyright_oldest.get(name_short) == None or copyright_newest.get(name_short) == None:
405 copyright_oldest[name_short] = oldestyear
406 copyright_newest[name_short] = newestyear
407 else:
408 if oldestyear < copyright_oldest[name_short]:
409 copyright_oldest[name_short] = oldestyear
410 if newestyear > copyright_newest[name_short]:
411 copyright_newest[name_short] = newestyear
412 new_statement = "// " + make_copyright(copyright_oldest[first_copyright], copyright_newest[first_copyright], authors[first_copyright]) + "\n"
413 #has_blurb = False
414 #for author in copyright_oldest:
415 # if author != first_copyright and len(author) > 1:
416 # if not has_blurb:
417 # new_statement += "//\n"
418 # new_statement += "// " + modified_blurb + "\n"
419 # has_blurb = True
420 # new_statement += "// " + make_copyright(copyright_oldest[author], copyright_newest[author], authors[author]) + "\n"
421 modified_statements = [ ]
422 for author in copyright_oldest:
423 if author != first_copyright and len(author) > 1:
424 modified_statements += [ "// " + make_copyright(copyright_oldest[author], copyright_newest[author], authors[author]) + "\n" ]
425 if len(modified_statements) > 0:
426 modified_statements.sort()
427 new_statement += "//\n"
428 new_statement += "// " + modified_blurb + "\n"
429 for notice in modified_statements:
430 new_statement += notice;
431 new_statement += "//\n"
432 #print(copyright_block)
433 #print(new_statement)
434 new_contents = contents[0:copyright_start] + new_statement + contents[content_start:]
435 if contents != new_contents:
436 print(new_statement)
437 Path("../../" + path).write_text(new_contents)
439 def process_cpp(cpp_entry):
440 print(cpp_entry.path)
441 blame = repo.blame(repo.head.ref, cpp_entry.path)
442 commit_lines = {}
443 author_lines = {}
444 author_oldest = {}
445 author_newest = {}
446 retry_lines = {}
447 # Count number of lines per author
448 for tuple in blame:
449 commit = tuple[0]
450 lines = tuple[1]
451 if commit.hexsha == "af454dd1cf9306afe0f074ea2b348a0629112a9e":
452 # Special treatment since this commit breaks blame history before 2012
453 for line in lines:
454 # Allow blame from old history if this line matches
455 retry_lines[line] = True
456 # Do not count this line
457 continue
458 line_count = len(lines)
459 author = remap_author(cpp_entry, commit, stringify_author(commit.author))
460 authored_date = datetime.utcfromtimestamp(commit.authored_date)
461 if author_lines.get(author) == None:
462 author_lines[author] = 0
463 author_oldest[author] = authored_date.year
464 author_newest[author] = authored_date.year
465 author_lines[author] += line_count
466 if authored_date.year < author_oldest[author]:
467 author_oldest[author] = authored_date.year
468 if authored_date.year > author_newest[author]:
469 author_newest[author] = authored_date.year
470 if commit_lines.get(commit.hexsha) == None:
471 commit_lines[commit.hexsha] = 0
472 if commit_counter.get(commit.hexsha) == None:
473 commit_counter[commit.hexsha] = 0
474 commit_counter[commit.hexsha] += 1
475 commit_lines[commit.hexsha] += line_count
476 # print(commit.hexsha)
477 # print(len(lines))
478 if historic_paths.get(cpp_entry.path) == True:
479 historic_blame = repo.blame(historic_commit, cpp_entry.path)
480 for tuple in historic_blame:
481 commit = tuple[0]
482 lines = tuple[1]
483 line_count = 0
484 for line in lines:
485 if retry_lines.get(line) == True:
486 line_count += 1
487 if line_count == 0:
488 continue
489 # Exact copy of above from here on
490 author = remap_author(cpp_entry, commit, stringify_author(commit.author))
491 authored_date = datetime.utcfromtimestamp(commit.authored_date)
492 if author_lines.get(author) == None:
493 author_lines[author] = 0
494 author_oldest[author] = authored_date.year
495 author_newest[author] = authored_date.year
496 author_lines[author] += line_count
497 if authored_date.year < author_oldest[author]:
498 author_oldest[author] = authored_date.year
499 if authored_date.year > author_newest[author]:
500 author_newest[author] = authored_date.year
501 if commit_lines.get(commit.hexsha) == None:
502 commit_lines[commit.hexsha] = 0
503 if commit_counter.get(commit.hexsha) == None:
504 commit_counter[commit.hexsha] = 0
505 commit_counter[commit.hexsha] += 1
506 commit_lines[commit.hexsha] += line_count
507 # also todo: keep oldest and newest year for each user
508 if len(author_lines) > 1 or author_lines.get('/') == None:
509 # Debug output for modified files
510 # print(str(author_lines))
511 # print(str(commit_lines))
512 for author in author_lines:
513 if author != "/":
514 print(str(author_oldest[author]) + "-" + str(author_newest[author]) + " " + author + ": " + str(author_lines[author]))
515 rewrite_cpp(cpp_entry.path, author_oldest, author_newest, author_lines)
517 def process_tree(tree_entry):
518 for blob in tree_entry.blobs:
519 # print("Blob: " + blob.path)
520 if exclude_paths.get(blob.path) == True:
521 continue
522 if blob.path.endswith(".cpp") or blob.path.endswith(".h") or blob.path.endswith(".c"):
523 process_cpp(blob)
524 for tree in tree_entry.trees:
525 # print("Tree: " + tree.path)
526 if exclude_paths.get(tree.path) == True:
527 continue
528 process_tree(tree)
530 def list_historic_tree(tree_entry):
531 for blob in tree_entry.blobs:
532 historic_paths[blob.path] = True
533 for tree in tree_entry.trees:
534 list_historic_tree(tree)
537 # Go
538 #list_unknown_authors()
539 #list_large_commits()
541 print("-- Process files --")
542 list_historic_tree(historic_commit.tree)
543 process_tree(tree)
545 # Lazily sorted large commits
546 print("-- List large commits --")
547 for commit in commit_counter:
548 count = commit_counter[commit]
549 if count > 1000:
550 print(commit + ": " + str(count))
551 for commit in commit_counter:
552 count = commit_counter[commit]
553 if count > 500 and count < 1000:
554 print(commit + ": " + str(count))
555 for commit in commit_counter:
556 count = commit_counter[commit]
557 if count > 100 and count < 500:
558 print(commit + ": " + str(count))
559 for commit in commit_counter:
560 count = commit_counter[commit]
561 if count > 50 and count < 100:
562 print(commit + ": " + str(count))
564 # -- List large commits --
565 # af454dd1cf9306afe0f074ea2b348a0629112a9e: 4001
566 # 613d4ddc34ae0a7a16ee6cfb42957c300d0c654e: 267 # Remove throw statements, OK
567 # e7e51f01e080bfacd87331d16e3e124ba90a04ac: 460 # Merging GUI editor repo, author change todo
568 # c73f0d944917d8d51860430591450f490ce2635a: 113 # Add max file library, OK
569 # f605c5faa55148302e7538b801b6fd6b5b646b8a: 152 # Replace clear, OK
570 # d5c601ffa5690b89f121561bac165b83f39a896f: 148 # Initial version, author change to winch_gate
571 # c3b3db07f160ac3b1cfd17f249851d139e952f7c: 273 # Memory leaks detection, OK
572 # b7e3e4b4f0d1b9b64909657d4edbc701bd823947: 121 # Memory leaks detection, OK
573 # 2fad59f296a07534a7664296a020285e63a538e1: 105 # Memory leaks detection, OK
574 # adb4963102e226ff8121caa45a802b7d31c25a81: 126 # OVQT, change author to dnk-88
575 # ffb5b2678bb1028fbc5a92c156bddfdda87f7ae6: 120 # Code cleanup, OK
576 # 45c8b20f3981eeec3484e53f32ccdc8a372c6063: 60
577 # 31a540b35d916b2eb5ed9ed66f0f43cb5cc30704: 94
578 # 4b1959a5600b9e05b7ff2a27d5e564d07efd117d: 57
579 # 449f0061f86f851e1806d61ed86d17815df7cbfa: 54
580 # ab454f3d92e03b2721db9c0d687a4d6eb90620c8: 79
581 # 58c8606d5ddc2b6e3b1e578ad9646a96bbce22a3: 64
582 # f1cdcd1654e9522e347001a0c1918f36b23b506a: 61
583 # 0fb9906929f248a09b4998d46b324bb71b390c68: 51
584 # f5dec3c1caf4ca7f26f4c8c44ecb8aef01461a62: 59
585 # db31312b11c946a97bd95137ab68ccfd55c3c244: 53
586 # -- Done --
588 #print("-- Possible mismatching original author --")
590 print("-- Source files without header --")
591 for path in header_not_found:
592 print(path)
593 #code/nel/include/nel/3d/fxaa.h
594 #code/nel/include/nel/3d/geometry_program.h
595 #code/nel/include/nel/3d/gpu_program_params.h
596 #code/nel/include/nel/3d/pixel_program.h
597 #code/nel/include/nel/3d/program.h
598 #code/nel/include/nel/3d/render_target_manager.h
599 #code/nel/include/nel/3d/stereo_debugger.h
600 #code/nel/include/nel/3d/stereo_display.h
601 #code/nel/include/nel/3d/stereo_hmd.h
602 #code/nel/include/nel/3d/stereo_libvr.h
603 #code/nel/include/nel/3d/stereo_ovr.h
604 #code/nel/include/nel/3d/stereo_ovr_04.h
605 #code/nel/include/nel/gui/string_case.h
606 #code/nel/include/nel/misc/callback.h
607 #code/nel/include/nel/misc/fast_id_map.h
608 #code/nel/include/nel/misc/wang_hash.h
609 #code/nel/include/nel/sound/audio_decoder.h
610 #code/nel/include/nel/sound/audio_decoder_vorbis.h
611 #code/nel/include/nel/sound/containers.h
612 #code/nel/include/nel/sound/group_controller.h
613 #code/nel/include/nel/sound/group_controller_root.h
614 #code/nel/include/nel/sound/source_music_channel.h
615 #code/nel/include/nel/sound/u_group_controller.h
616 #code/nel/include/nel/sound/decoder/dr_mp3.h
617 #code/nel/samples/3d/nel_qt/qtcolorpicker_cpp.h
618 #code/nel/samples/misc/callback/main.cpp
619 #code/nel/src/3d/fxaa.cpp
620 #code/nel/src/3d/fxaa_program.h
621 #code/nel/src/3d/geometry_program.cpp
622 #code/nel/src/3d/gpu_program_params.cpp
623 #code/nel/src/3d/pixel_program.cpp
624 #code/nel/src/3d/program.cpp
625 #code/nel/src/3d/render_target_manager.cpp
626 #code/nel/src/3d/stereo_debugger.cpp
627 #code/nel/src/3d/stereo_display.cpp
628 #code/nel/src/3d/stereo_hmd.cpp
629 #code/nel/src/3d/stereo_libvr.cpp
630 #code/nel/src/3d/stereo_ovr.cpp
631 #code/nel/src/3d/stereo_ovr_04.cpp
632 #code/nel/src/3d/stereo_ovr_04_program.h
633 #code/nel/src/3d/stereo_ovr_fp.cpp
634 #code/nel/src/3d/driver/direct3d/driver_direct3d_pixel_program.cpp
635 #code/nel/src/3d/driver/opengl/driver_opengl_pixel_program.cpp
636 #code/nel/src/3d/driver/opengl/EGL/egl.h
637 #code/nel/src/3d/driver/opengl/EGL/eglext.h
638 #code/nel/src/3d/driver/opengl/EGL/eglplatform.h
639 #code/nel/src/3d/driver/opengl/GLES/egl.h
640 #code/nel/src/3d/driver/opengl/GLES/gl.h
641 #code/nel/src/3d/driver/opengl/GLES/glext.h
642 #code/nel/src/3d/driver/opengl/GLES/glplatform.h
643 #code/nel/src/3d/driver/opengl/KHR/khrplatform.h
644 #code/nel/src/3d/shaders/fxaa3_11.h
645 #code/nel/src/ligo/primitive_utils.cpp
646 #code/nel/src/misc/config_file/cf_gramatical.cpp
647 #code/nel/src/misc/config_file/cf_lexical.cpp
648 #code/nel/src/sound/audio_decoder.cpp
649 #code/nel/src/sound/audio_decoder_vorbis.cpp
650 #code/nel/src/sound/group_controller.cpp
651 #code/nel/src/sound/group_controller_root.cpp
652 #code/nel/src/sound/source_music_channel.cpp
653 #code/nel/src/sound/stream_file_sound.cpp
654 #code/nel/src/sound/stream_file_source.cpp
655 #code/nel/tools/3d/ligo/plugin_max/ligoscape_utility.h
656 #code/nel/tools/3d/object_viewer_exe/resource.h
657 #code/nel/tools/3d/object_viewer_widget/src/entity.cpp
658 #code/nel/tools/3d/object_viewer_widget/src/entity.h
659 #code/nel/tools/3d/object_viewer_widget/src/interfaces.h
660 #code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.cpp
661 #code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.h
662 #code/nel/tools/3d/object_viewer_widget/src/stdpch.cpp
663 #code/nel/tools/3d/object_viewer_widget/src/stdpch.h
664 #code/nel/tools/3d/pipeline_max/class_data.cpp
665 #code/nel/tools/3d/pipeline_max/class_data.h
666 #code/nel/tools/3d/pipeline_max/class_directory_3.cpp
667 #code/nel/tools/3d/pipeline_max/class_directory_3.h
668 #code/nel/tools/3d/pipeline_max/config.cpp
669 #code/nel/tools/3d/pipeline_max/config.h
670 #code/nel/tools/3d/pipeline_max/derived_object.cpp
671 #code/nel/tools/3d/pipeline_max/derived_object.h
672 #code/nel/tools/3d/pipeline_max/dll_directory.cpp
673 #code/nel/tools/3d/pipeline_max/dll_directory.h
674 #code/nel/tools/3d/pipeline_max/dll_plugin_desc.cpp
675 #code/nel/tools/3d/pipeline_max/dll_plugin_desc.h
676 #code/nel/tools/3d/pipeline_max/scene.cpp
677 #code/nel/tools/3d/pipeline_max/scene.h
678 #code/nel/tools/3d/pipeline_max/scene_class.cpp
679 #code/nel/tools/3d/pipeline_max/scene_class.h
680 #code/nel/tools/3d/pipeline_max/scene_class_registry.cpp
681 #code/nel/tools/3d/pipeline_max/scene_class_registry.h
682 #code/nel/tools/3d/pipeline_max/scene_class_unknown.cpp
683 #code/nel/tools/3d/pipeline_max/scene_class_unknown.h
684 #code/nel/tools/3d/pipeline_max/storage_array.cpp
685 #code/nel/tools/3d/pipeline_max/storage_array.h
686 #code/nel/tools/3d/pipeline_max/storage_chunks.cpp
687 #code/nel/tools/3d/pipeline_max/storage_chunks.h
688 #code/nel/tools/3d/pipeline_max/storage_file.cpp
689 #code/nel/tools/3d/pipeline_max/storage_file.h
690 #code/nel/tools/3d/pipeline_max/storage_object.cpp
691 #code/nel/tools/3d/pipeline_max/storage_object.h
692 #code/nel/tools/3d/pipeline_max/storage_stream.cpp
693 #code/nel/tools/3d/pipeline_max/storage_stream.h
694 #code/nel/tools/3d/pipeline_max/storage_value.cpp
695 #code/nel/tools/3d/pipeline_max/storage_value.h
696 #code/nel/tools/3d/pipeline_max/super_class_desc.cpp
697 #code/nel/tools/3d/pipeline_max/super_class_desc.h
698 #code/nel/tools/3d/pipeline_max/typedefs.cpp
699 #code/nel/tools/3d/pipeline_max/typedefs.h
700 #code/nel/tools/3d/pipeline_max/wsm_derived_object.cpp
701 #code/nel/tools/3d/pipeline_max/wsm_derived_object.h
702 #code/nel/tools/3d/pipeline_max/builtin/animatable.cpp
703 #code/nel/tools/3d/pipeline_max/builtin/animatable.h
704 #code/nel/tools/3d/pipeline_max/builtin/base_object.cpp
705 #code/nel/tools/3d/pipeline_max/builtin/base_object.h
706 #code/nel/tools/3d/pipeline_max/builtin/bitmap_tex.cpp
707 #code/nel/tools/3d/pipeline_max/builtin/bitmap_tex.h
708 #code/nel/tools/3d/pipeline_max/builtin/builtin.cpp
709 #code/nel/tools/3d/pipeline_max/builtin/builtin.h
710 #code/nel/tools/3d/pipeline_max/builtin/editable_patch.cpp
711 #code/nel/tools/3d/pipeline_max/builtin/editable_patch.h
712 #code/nel/tools/3d/pipeline_max/builtin/geom_object.cpp
713 #code/nel/tools/3d/pipeline_max/builtin/geom_object.h
714 #code/nel/tools/3d/pipeline_max/builtin/i_node.cpp
715 #code/nel/tools/3d/pipeline_max/builtin/i_node.h
716 #code/nel/tools/3d/pipeline_max/builtin/modifier.cpp
717 #code/nel/tools/3d/pipeline_max/builtin/modifier.h
718 #code/nel/tools/3d/pipeline_max/builtin/mtl.cpp
719 #code/nel/tools/3d/pipeline_max/builtin/mtl.h
720 #code/nel/tools/3d/pipeline_max/builtin/mtl_base.cpp
721 #code/nel/tools/3d/pipeline_max/builtin/mtl_base.h
722 #code/nel/tools/3d/pipeline_max/builtin/multi_mtl.cpp
723 #code/nel/tools/3d/pipeline_max/builtin/multi_mtl.h
724 #code/nel/tools/3d/pipeline_max/builtin/node_impl.cpp
725 #code/nel/tools/3d/pipeline_max/builtin/node_impl.h
726 #code/nel/tools/3d/pipeline_max/builtin/object.cpp
727 #code/nel/tools/3d/pipeline_max/builtin/object.h
728 #code/nel/tools/3d/pipeline_max/builtin/param_block.cpp
729 #code/nel/tools/3d/pipeline_max/builtin/param_block.h
730 #code/nel/tools/3d/pipeline_max/builtin/param_block_2.cpp
731 #code/nel/tools/3d/pipeline_max/builtin/param_block_2.h
732 #code/nel/tools/3d/pipeline_max/builtin/patch_object.cpp
733 #code/nel/tools/3d/pipeline_max/builtin/patch_object.h
734 #code/nel/tools/3d/pipeline_max/builtin/poly_object.cpp
735 #code/nel/tools/3d/pipeline_max/builtin/poly_object.h
736 #code/nel/tools/3d/pipeline_max/builtin/reference_maker.cpp
737 #code/nel/tools/3d/pipeline_max/builtin/reference_maker.h
738 #code/nel/tools/3d/pipeline_max/builtin/reference_target.cpp
739 #code/nel/tools/3d/pipeline_max/builtin/reference_target.h
740 #code/nel/tools/3d/pipeline_max/builtin/root_node.cpp
741 #code/nel/tools/3d/pipeline_max/builtin/root_node.h
742 #code/nel/tools/3d/pipeline_max/builtin/scene_impl.cpp
743 #code/nel/tools/3d/pipeline_max/builtin/scene_impl.h
744 #code/nel/tools/3d/pipeline_max/builtin/std_mat.cpp
745 #code/nel/tools/3d/pipeline_max/builtin/std_mat.h
746 #code/nel/tools/3d/pipeline_max/builtin/std_mat_2.cpp
747 #code/nel/tools/3d/pipeline_max/builtin/std_mat_2.h
748 #code/nel/tools/3d/pipeline_max/builtin/super_class_unknown.cpp
749 #code/nel/tools/3d/pipeline_max/builtin/super_class_unknown.h
750 #code/nel/tools/3d/pipeline_max/builtin/texmap.cpp
751 #code/nel/tools/3d/pipeline_max/builtin/texmap.h
752 #code/nel/tools/3d/pipeline_max/builtin/track_view_node.cpp
753 #code/nel/tools/3d/pipeline_max/builtin/track_view_node.h
754 #code/nel/tools/3d/pipeline_max/builtin/tri_object.cpp
755 #code/nel/tools/3d/pipeline_max/builtin/tri_object.h
756 #code/nel/tools/3d/pipeline_max/builtin/storage/app_data.cpp
757 #code/nel/tools/3d/pipeline_max/builtin/storage/app_data.h
758 #code/nel/tools/3d/pipeline_max/builtin/storage/geom_buffers.cpp
759 #code/nel/tools/3d/pipeline_max/builtin/storage/geom_buffers.h
760 #code/nel/tools/3d/pipeline_max/epoly/editable_poly.cpp
761 #code/nel/tools/3d/pipeline_max/epoly/editable_poly.h
762 #code/nel/tools/3d/pipeline_max/epoly/epoly.cpp
763 #code/nel/tools/3d/pipeline_max/epoly/epoly.h
764 #code/nel/tools/3d/pipeline_max/update1/editable_mesh.cpp
765 #code/nel/tools/3d/pipeline_max/update1/editable_mesh.h
766 #code/nel/tools/3d/pipeline_max/update1/update1.cpp
767 #code/nel/tools/3d/pipeline_max/update1/update1.h
768 #code/nel/tools/3d/pipeline_max_dump/class_directory_3_2010.c
769 #code/nel/tools/3d/pipeline_max_dump/class_directory_3_3.c
770 #code/nel/tools/3d/pipeline_max_dump/config_2010.c
771 #code/nel/tools/3d/pipeline_max_dump/config_3.c
772 #code/nel/tools/3d/pipeline_max_dump/main.cpp
773 #code/nel/tools/3d/pipeline_max_dump/scene_2010.c
774 #code/nel/tools/3d/pipeline_max_rewrite_assets/main.cpp
775 #code/nel/tools/3d/plugin_max/nel_3dsmax_shared/resource.h
776 #code/nel/tools/3d/plugin_max/nel_export/nel_export_lightmap_v2.cpp
777 #code/nel/tools/3d/plugin_max/nel_export/resource.h
778 #code/nel/tools/3d/plugin_max/nel_patch_converter/nel_patch_converter.h
779 #code/nel/tools/3d/plugin_max/nel_patch_edit/editpat.h
780 #code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp
781 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_edit_patch_mod.cpp
782 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_editpops.cpp
783 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_add_patches.cpp
784 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_attach.cpp
785 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_bevel.cpp
786 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_del.cpp
787 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_detach.cpp
788 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_extrude.cpp
789 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_material.cpp
790 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_remember.cpp
791 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_selection.cpp
792 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_subdivide.cpp
793 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_surface.cpp
794 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_epm_tess.cpp
795 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_gui_bind.cpp
796 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_main.cpp
797 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_mods.cpp
798 #code/nel/tools/3d/plugin_max/nel_patch_edit/np_rollup.cpp
799 #code/nel/tools/3d/plugin_max/nel_patch_edit/stdafx.cpp
800 #code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp
801 #code/nel/tools/3d/plugin_max/nel_patch_paint/nel_patch_paint.h
802 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp
803 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_main.cpp
804 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_pops.cpp
805 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_rollup.cpp
806 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_ui.cpp
807 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_ui.h
808 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp
809 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_vcolor.cpp
810 #code/nel/tools/3d/plugin_max/nel_patch_paint/paint_vcolor.h
811 #code/nel/tools/3d/plugin_max/nel_patch_paint/stdafx.cpp
812 #code/nel/tools/3d/plugin_max/nel_patch_paint/stdafx.h
813 #code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/Paint.cpp
814 #code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/dllmain.cpp
815 #code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/vertex_tree_paint.cpp
816 #code/nel/tools/3d/plugin_max/nel_vertex_tree_paint/vertex_tree_paint.h
817 #code/nel/tools/3d/shared_widgets/command_log.cpp
818 #code/nel/tools/3d/shared_widgets/command_log.h
819 #code/nel/tools/3d/shared_widgets/common.h
820 #code/nel/tools/3d/tga_resize/main.cpp
821 #code/nel/tools/3d/tile_edit_qt/items_edit_dlg.cpp
822 #code/nel/tools/3d/tile_edit_qt/main.cpp
823 #code/nel/tools/3d/tile_edit_qt/tile_widget.cpp
824 #code/nel/tools/3d/tile_edit_qt/tiles_model.h
825 #code/nel/tools/3d/unbuild_interface/unbuild_interface.cpp
826 #code/nel/tools/logic/logic_editor_dll/Condition.cpp
827 #code/nel/tools/logic/logic_editor_dll/ConditionPage.cpp
828 #code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp
829 #code/nel/tools/logic/logic_editor_dll/Counter.cpp
830 #code/nel/tools/logic/logic_editor_dll/CounterPage.cpp
831 #code/nel/tools/logic/logic_editor_dll/EditorFormView.cpp
832 #code/nel/tools/logic/logic_editor_dll/MainFrm.cpp
833 #code/nel/tools/logic/logic_editor_dll/MainFrm.h
834 #code/nel/tools/logic/logic_editor_dll/ResizablePage.cpp
835 #code/nel/tools/logic/logic_editor_dll/State.cpp
836 #code/nel/tools/logic/logic_editor_dll/StatePage.cpp
837 #code/nel/tools/logic/logic_editor_dll/StatesView.cpp
838 #code/nel/tools/logic/logic_editor_dll/StdAfx.h
839 #code/nel/tools/logic/logic_editor_dll/VariablePage.cpp
840 #code/nel/tools/logic/logic_editor_dll/logic_editor.cpp
841 #code/nel/tools/logic/logic_editor_dll/logic_editor.h
842 #code/nel/tools/logic/logic_editor_dll/logic_editorDoc.cpp
843 #code/nel/tools/logic/logic_editor_dll/logic_editorDoc.h
844 #code/nel/tools/logic/logic_editor_exe/logic_editor_exe.cpp
845 #code/nel/tools/misc/bnp_make_qt/main.cpp
846 #code/nel/tools/misc/bnp_make_qt/main.h
847 #code/nel/tools/misc/bnp_make_qt/mainwindow.cpp
848 #code/nel/tools/misc/bnp_make_qt/mainwindow.h
849 #code/nel/tools/misc/data_mirror/StdAfx.h
850 #code/nel/tools/misc/message_box_qt/main.cpp
851 #code/nel/tools/misc/words_dic_qt/main.cpp
852 #code/nel/tools/misc/words_dic_qt/words_dicDlg.cpp
853 #code/nel/tools/sound/source_sounds_builder/SoundPage.cpp
854 #code/nel/tools/sound/source_sounds_builder/source_sounds_builderDlg.cpp
855 #code/nelns/login_system/nel_launcher_qt/nel_launcher_dlg.cpp
856 #code/nelns/login_system/nel_launcher_windows_ext/BarTabsWnd.h
857 #code/nelns/login_system/nel_launcher_windows_ext/Configuration.cpp
858 #code/nelns/login_system/nel_launcher_windows_ext/nel_launcher.cpp
859 #code/ryzom/client/src/interface_v3/lua_ihm_ryzom.h
860 #code/ryzom/client/src/interface_v3/view_pointer_ryzom.h
861 #code/ryzom/common/src/game_share/crypt_sha512.cpp
862 #code/ryzom/common/src/game_share/welcome_service_itf.h
863 #code/ryzom/tools/client/client_patcher/main.cpp
864 #code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp
865 #code/ryzom/tools/client/ryzom_installer/src/profilesmodel.h
866 #code/ryzom/tools/client/ryzom_installer/src/qzip.cpp
867 #code/ryzom/tools/client/ryzom_installer/src/qzipreader.h
868 #code/ryzom/tools/client/ryzom_installer/src/qzipwriter.h
869 #code/ryzom/tools/leveldesign/georges_editor_qt/src/completer_line_edit.cpp
870 #code/ryzom/tools/leveldesign/georges_editor_qt/src/completer_line_edit.h
871 #code/ryzom/tools/leveldesign/georges_editor_qt/src/configuration.cpp
872 #code/ryzom/tools/leveldesign/georges_editor_qt/src/configuration.h
873 #code/ryzom/tools/leveldesign/georges_editor_qt/src/entity.cpp
874 #code/ryzom/tools/leveldesign/georges_editor_qt/src/entity.h
875 #code/ryzom/tools/leveldesign/georges_editor_qt/src/filesystem_model.cpp
876 #code/ryzom/tools/leveldesign/georges_editor_qt/src/filesystem_model.h
877 #code/ryzom/tools/leveldesign/georges_editor_qt/src/formdelegate.cpp
878 #code/ryzom/tools/leveldesign/georges_editor_qt/src/formdelegate.h
879 #code/ryzom/tools/leveldesign/georges_editor_qt/src/formitem.cpp
880 #code/ryzom/tools/leveldesign/georges_editor_qt/src/formitem.h
881 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges.cpp
882 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges.h
883 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_dirtree_dialog.cpp
884 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_dirtree_dialog.h
885 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_splash.cpp
886 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_splash.h
887 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_treeview_dialog.cpp
888 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georges_treeview_dialog.h
889 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georgesform_model.cpp
890 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georgesform_model.h
891 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georgesform_proxy_model.cpp
892 #code/ryzom/tools/leveldesign/georges_editor_qt/src/georgesform_proxy_model.h
893 #code/ryzom/tools/leveldesign/georges_editor_qt/src/log_dialog.cpp
894 #code/ryzom/tools/leveldesign/georges_editor_qt/src/log_dialog.h
895 #code/ryzom/tools/leveldesign/georges_editor_qt/src/main.cpp
896 #code/ryzom/tools/leveldesign/georges_editor_qt/src/main_window.cpp
897 #code/ryzom/tools/leveldesign/georges_editor_qt/src/main_window.h
898 #code/ryzom/tools/leveldesign/georges_editor_qt/src/modules.cpp
899 #code/ryzom/tools/leveldesign/georges_editor_qt/src/modules.h
900 #code/ryzom/tools/leveldesign/georges_editor_qt/src/new_dialog.cpp
901 #code/ryzom/tools/leveldesign/georges_editor_qt/src/new_dialog.h
902 #code/ryzom/tools/leveldesign/georges_editor_qt/src/objectviewer_dialog.cpp
903 #code/ryzom/tools/leveldesign/georges_editor_qt/src/objectviewer_dialog.h
904 #code/ryzom/tools/leveldesign/georges_editor_qt/src/progress_dialog.cpp
905 #code/ryzom/tools/leveldesign/georges_editor_qt/src/progress_dialog.h
906 #code/ryzom/tools/leveldesign/georges_editor_qt/src/qt_displayer.cpp
907 #code/ryzom/tools/leveldesign/georges_editor_qt/src/qt_displayer.h
908 #code/ryzom/tools/leveldesign/georges_editor_qt/src/settings_dialog.cpp
909 #code/ryzom/tools/leveldesign/georges_editor_qt/src/settings_dialog.h
910 #code/ryzom/tools/leveldesign/georges_editor_qt/src/stdpch.cpp
911 #code/ryzom/tools/leveldesign/georges_editor_qt/src/stdpch.h
912 #code/ryzom/tools/leveldesign/mission_compiler_fe/Resource.h
913 #code/ryzom/tools/leveldesign/world_editor/world_editor/resource.h
914 #code/ryzom/tools/xml_packer/xml_packer.cpp
915 #code/studio/src/description.h
916 #code/studio/src/plugins/core/qtwin.cpp
917 #code/studio/src/plugins/core/qtwin.h
918 #code/studio/src/plugins/example/example_plugin.cpp
919 #code/studio/src/plugins/example/example_plugin.h
920 #code/studio/src/plugins/gui_editor/action_list.cpp
921 #code/studio/src/plugins/gui_editor/action_list.h
922 #code/studio/src/plugins/gui_editor/add_widget_widget.cpp
923 #code/studio/src/plugins/gui_editor/add_widget_widget.h
924 #code/studio/src/plugins/log/log_plugin.h
925 #code/studio/src/plugins/log/qt_displayer.h
926 #code/studio/src/plugins/mission_compiler/mission_compiler_main_window.cpp
927 #code/studio/src/plugins/mission_compiler/mission_compiler_main_window.h
928 #code/studio/src/plugins/mission_compiler/mission_compiler_plugin.cpp
929 #code/studio/src/plugins/mission_compiler/mission_compiler_plugin.h
930 #code/studio/src/plugins/mission_compiler/mission_compiler_plugin_constants.h
931 #code/studio/src/plugins/mission_compiler/validation_file.cpp
932 #code/studio/src/plugins/mission_compiler/validation_file.h
933 #code/studio/src/plugins/object_viewer/graphics_viewport.cpp
934 #code/studio/src/plugins/object_viewer/graphics_viewport.h
935 #code/studio/src/plugins/object_viewer/main_window.cpp
936 #code/studio/src/plugins/object_viewer/main_window.h
937 #code/studio/src/plugins/object_viewer/modules.cpp
938 #code/studio/src/plugins/object_viewer/modules.h
939 #code/studio/src/plugins/object_viewer/object_viewer.cpp
940 #code/studio/src/plugins/object_viewer/object_viewer.h
941 #code/studio/src/plugins/object_viewer/object_viewer_plugin.cpp
942 #code/studio/src/plugins/object_viewer/object_viewer_plugin.h
943 #code/studio/src/plugins/object_viewer/stdpch.cpp
944 #code/studio/src/plugins/object_viewer/stdpch.h
945 #code/studio/src/plugins/object_viewer/particle_system/attrib_widget.cpp
946 #code/studio/src/plugins/object_viewer/particle_system/attrib_widget.h
947 #code/studio/src/plugins/object_viewer/particle_system/auto_lod_dialog.cpp
948 #code/studio/src/plugins/object_viewer/particle_system/auto_lod_dialog.h
949 #code/studio/src/plugins/object_viewer/particle_system/basic_edit_widget.cpp
950 #code/studio/src/plugins/object_viewer/particle_system/basic_edit_widget.h
951 #code/studio/src/plugins/object_viewer/particle_system/bin_op_dialog.cpp
952 #code/studio/src/plugins/object_viewer/particle_system/bin_op_dialog.h
953 #code/studio/src/plugins/object_viewer/particle_system/constraint_mesh_widget.cpp
954 #code/studio/src/plugins/object_viewer/particle_system/constraint_mesh_widget.h
955 #code/studio/src/plugins/object_viewer/particle_system/curve_dialog.cpp
956 #code/studio/src/plugins/object_viewer/particle_system/curve_dialog.h
957 #code/studio/src/plugins/object_viewer/particle_system/direction_widget.cpp
958 #code/studio/src/plugins/object_viewer/particle_system/direction_widget.h
959 #code/studio/src/plugins/object_viewer/particle_system/emitter_page.cpp
960 #code/studio/src/plugins/object_viewer/particle_system/emitter_page.h
961 #code/studio/src/plugins/object_viewer/particle_system/follow_path_dialog.cpp
962 #code/studio/src/plugins/object_viewer/particle_system/follow_path_dialog.h
963 #code/studio/src/plugins/object_viewer/particle_system/located_bindable_page.cpp
964 #code/studio/src/plugins/object_viewer/particle_system/located_bindable_page.h
965 #code/studio/src/plugins/object_viewer/particle_system/located_page.cpp
966 #code/studio/src/plugins/object_viewer/particle_system/located_page.h
967 #code/studio/src/plugins/object_viewer/particle_system/mesh_widget.cpp
968 #code/studio/src/plugins/object_viewer/particle_system/mesh_widget.h
969 #code/studio/src/plugins/object_viewer/particle_system/morph_mesh_dialog.cpp
970 #code/studio/src/plugins/object_viewer/particle_system/morph_mesh_dialog.h
971 #code/studio/src/plugins/object_viewer/particle_system/multi_tex_dialog.cpp
972 #code/studio/src/plugins/object_viewer/particle_system/multi_tex_dialog.h
973 #code/studio/src/plugins/object_viewer/particle_system/particle_control_dialog.cpp
974 #code/studio/src/plugins/object_viewer/particle_system/particle_control_dialog.h
975 #code/studio/src/plugins/object_viewer/particle_system/particle_editor.cpp
976 #code/studio/src/plugins/object_viewer/particle_system/particle_editor.h
977 #code/studio/src/plugins/object_viewer/particle_system/particle_force_page.cpp
978 #code/studio/src/plugins/object_viewer/particle_system/particle_force_page.h
979 #code/studio/src/plugins/object_viewer/particle_system/particle_light_page.cpp
980 #code/studio/src/plugins/object_viewer/particle_system/particle_light_page.h
981 #code/studio/src/plugins/object_viewer/particle_system/particle_link_skeleton_dialog.cpp
982 #code/studio/src/plugins/object_viewer/particle_system/particle_link_skeleton_dialog.h
983 #code/studio/src/plugins/object_viewer/particle_system/particle_property_dialog.cpp
984 #code/studio/src/plugins/object_viewer/particle_system/particle_property_dialog.h
985 #code/studio/src/plugins/object_viewer/particle_system/particle_sound_page.cpp
986 #code/studio/src/plugins/object_viewer/particle_system/particle_sound_page.h
987 #code/studio/src/plugins/object_viewer/particle_system/particle_system_page.cpp
988 #code/studio/src/plugins/object_viewer/particle_system/particle_system_page.h
989 #code/studio/src/plugins/object_viewer/particle_system/particle_texture_anim_widget.cpp
990 #code/studio/src/plugins/object_viewer/particle_system/particle_texture_anim_widget.h
991 #code/studio/src/plugins/object_viewer/particle_system/particle_texture_widget.cpp
992 #code/studio/src/plugins/object_viewer/particle_system/particle_texture_widget.h
993 #code/studio/src/plugins/object_viewer/particle_system/particle_tree_model.cpp
994 #code/studio/src/plugins/object_viewer/particle_system/particle_tree_model.h
995 #code/studio/src/plugins/object_viewer/particle_system/particle_workspace_dialog.cpp
996 #code/studio/src/plugins/object_viewer/particle_system/particle_workspace_dialog.h
997 #code/studio/src/plugins/object_viewer/particle_system/particle_workspace_page.cpp
998 #code/studio/src/plugins/object_viewer/particle_system/particle_workspace_page.h
999 #code/studio/src/plugins/object_viewer/particle_system/particle_zone_page.cpp
1000 #code/studio/src/plugins/object_viewer/particle_system/particle_zone_page.h
1001 #code/studio/src/plugins/object_viewer/particle_system/ps_mover_page.cpp
1002 #code/studio/src/plugins/object_viewer/particle_system/ps_mover_page.h
1003 #code/studio/src/plugins/object_viewer/particle_system/spinner_dialog.cpp
1004 #code/studio/src/plugins/object_viewer/particle_system/spinner_dialog.h
1005 #code/studio/src/plugins/object_viewer/particle_system/tail_particle_widget.cpp
1006 #code/studio/src/plugins/object_viewer/particle_system/tail_particle_widget.h
1007 #code/studio/src/plugins/object_viewer/particle_system/value_blender_dialog.cpp
1008 #code/studio/src/plugins/object_viewer/particle_system/value_blender_dialog.h
1009 #code/studio/src/plugins/object_viewer/particle_system/value_from_emitter_dialog.cpp
1010 #code/studio/src/plugins/object_viewer/particle_system/value_from_emitter_dialog.h
1011 #code/studio/src/plugins/object_viewer/scene/animation_dialog.cpp
1012 #code/studio/src/plugins/object_viewer/scene/animation_dialog.h
1013 #code/studio/src/plugins/object_viewer/scene/animation_set_dialog.cpp
1014 #code/studio/src/plugins/object_viewer/scene/animation_set_dialog.h
1015 #code/studio/src/plugins/object_viewer/scene/camera_control.cpp
1016 #code/studio/src/plugins/object_viewer/scene/camera_control.h
1017 #code/studio/src/plugins/object_viewer/scene/day_night_dialog.cpp
1018 #code/studio/src/plugins/object_viewer/scene/day_night_dialog.h
1019 #code/studio/src/plugins/object_viewer/scene/entity.cpp
1020 #code/studio/src/plugins/object_viewer/scene/entity.h
1021 #code/studio/src/plugins/object_viewer/scene/global_wind_dialog.cpp
1022 #code/studio/src/plugins/object_viewer/scene/global_wind_dialog.h
1023 #code/studio/src/plugins/object_viewer/scene/setup_fog_dialog.cpp
1024 #code/studio/src/plugins/object_viewer/scene/setup_fog_dialog.h
1025 #code/studio/src/plugins/object_viewer/scene/skeleton_scale_dialog.cpp
1026 #code/studio/src/plugins/object_viewer/scene/skeleton_scale_dialog.h
1027 #code/studio/src/plugins/object_viewer/scene/skeleton_tree_model.cpp
1028 #code/studio/src/plugins/object_viewer/scene/skeleton_tree_model.h
1029 #code/studio/src/plugins/object_viewer/scene/slot_manager_dialog.cpp
1030 #code/studio/src/plugins/object_viewer/scene/slot_manager_dialog.h
1031 #code/studio/src/plugins/object_viewer/scene/sun_color_dialog.cpp
1032 #code/studio/src/plugins/object_viewer/scene/sun_color_dialog.h
1033 #code/studio/src/plugins/object_viewer/scene/tune_mrm_dialog.cpp
1034 #code/studio/src/plugins/object_viewer/scene/tune_mrm_dialog.h
1035 #code/studio/src/plugins/object_viewer/scene/tune_timer_dialog.cpp
1036 #code/studio/src/plugins/object_viewer/scene/tune_timer_dialog.h
1037 #code/studio/src/plugins/object_viewer/scene/water_pool_dialog.cpp
1038 #code/studio/src/plugins/object_viewer/scene/water_pool_dialog.h
1039 #code/studio/src/plugins/object_viewer/vegetable/vegetable_appearance_page.cpp
1040 #code/studio/src/plugins/object_viewer/vegetable/vegetable_appearance_page.h
1041 #code/studio/src/plugins/object_viewer/vegetable/vegetable_density_page.cpp
1042 #code/studio/src/plugins/object_viewer/vegetable/vegetable_density_page.h
1043 #code/studio/src/plugins/object_viewer/vegetable/vegetable_dialog.cpp
1044 #code/studio/src/plugins/object_viewer/vegetable/vegetable_dialog.h
1045 #code/studio/src/plugins/object_viewer/vegetable/vegetable_editor.cpp
1046 #code/studio/src/plugins/object_viewer/vegetable/vegetable_editor.h
1047 #code/studio/src/plugins/object_viewer/vegetable/vegetable_landscape_page.cpp
1048 #code/studio/src/plugins/object_viewer/vegetable/vegetable_landscape_page.h
1049 #code/studio/src/plugins/object_viewer/vegetable/vegetable_node.cpp
1050 #code/studio/src/plugins/object_viewer/vegetable/vegetable_node.h
1051 #code/studio/src/plugins/object_viewer/vegetable/vegetable_noise_value_widget.cpp
1052 #code/studio/src/plugins/object_viewer/vegetable/vegetable_noise_value_widget.h
1053 #code/studio/src/plugins/object_viewer/vegetable/vegetable_rotate_page.cpp
1054 #code/studio/src/plugins/object_viewer/vegetable/vegetable_rotate_page.h
1055 #code/studio/src/plugins/object_viewer/vegetable/vegetable_scale_page.cpp
1056 #code/studio/src/plugins/object_viewer/vegetable/vegetable_scale_page.h
1057 #code/studio/src/plugins/object_viewer/widgets/color_edit_widget.cpp
1058 #code/studio/src/plugins/object_viewer/widgets/color_edit_widget.h
1059 #code/studio/src/plugins/object_viewer/widgets/edit_range_widget.cpp
1060 #code/studio/src/plugins/object_viewer/widgets/edit_range_widget.h
1061 #code/studio/src/plugins/translation_manager/ftp_selection.h
1062 #code/studio/src/plugins/zone_painter/painter_dock_widget.cpp
1063 #code/studio/src/plugins/zone_painter/painter_dock_widget.h
1064 #code/studio/src/plugins/zone_painter/zone_painter_main_window.cpp
1065 #code/studio/src/plugins/zone_painter/zone_painter_main_window.h
1066 #code/studio/src/plugins/zone_painter/zone_painter_plugin.cpp
1067 #code/studio/src/plugins/zone_painter/zone_painter_plugin.h
1069 print("-- Done --")