source: tmcsimulator/trunk/src/python/unifiedlogger/wing_project.wpr @ 465

Revision 465, 23.5 KB checked in by jdalbey, 7 years ago (diff)

Coordinator.java: Update writeToCAD to sort comments by timestamp instead of incident number. Also add a unit test for this. Fixes #175.

Line 
1#!wing
2#!version=7.0
3##################################################################
4# Wing project file                                              #
5##################################################################
6[project attributes]
7debug.launch-configs = (2,
8                        {'launch-Dap54cn2qAN7AXZm': ({},
9        {'buildcmd': ('project',
10                      None),
11         'env': ('project',
12                 [u'']),
13         'name': 'launchme',
14         'pyexec': ('project',
15                    u''),
16         'pypath': ('project',
17                    []),
18         'pyrunargs': ('project',
19                       '-u'),
20         'runargs': u'',
21         'rundir': ('custom',
22                    u'/home/jdalbey/Dropbox/TMCrepo/trunk')})})
23proj.directory-list = [{'dirloc': loc('.'),
24                        'excludes': (),
25                        'filter': u'*',
26                        'include_hidden': False,
27                        'recursive': True,
28                        'watch_for_changes': True}]
29proj.file-type = 'normal'
30proj.home-dir = loc('../..')
31proj.launch-config = {loc('__main__.py'): ('custom',
32        (u'',
33         'launch-Dap54cn2qAN7AXZm'))}
34proj.main-file = loc('__main__.py')
35[user attributes]
36debug.show-args-dialog = {loc('__main__.py'): False}
37edit.file-encoding = {loc('get_revision'): 'UTF-8'}
38guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
39                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\
40        'v7Dw8l',
41        'size-state': 'maximized',
42        'type': 'dock',
43        'view': {'area': 'tall',
44                 'constraint': None,
45                 'current_pages': [4],
46                 'full-screen': False,
47                 'notebook_display': 'normal',
48                 'notebook_percent': 0.3850187265917603,
49                 'override_title': None,
50                 'pagelist': [('source-assistant',
51                               'tall',
52                               2,
53                               {}),
54                              ('debug-stack',
55                               'tall',
56                               1,
57                               {}),
58                              ('browser',
59                               'tall',
60                               0,
61                               {}),
62                              ('indent',
63                               'tall',
64                               2,
65                               {}),
66                              ('debug-io',
67                               'tall',
68                               0,
69                               {}),
70                              ('project',
71                               'tall',
72                               0,
73                               {'tree-state': {'file-sort-method': 'by name',
74        'list-files-first': False,
75        'tree-states': {'deep': {'expanded-nodes': [(0,),
76        (0,
77         0)],
78                                 'selected-nodes': [(0,
79        0,
80        0)],
81                                 'top-node': (0,)}},
82        'tree-style': 'deep'}})],
83                 'primary_view_state': {'area': 'wide',
84        'constraint': None,
85        'current_pages': [3,
86                          1],
87        'notebook_display': 'normal',
88        'notebook_percent': 0.30000000000000004,
89        'override_title': None,
90        'pagelist': [('batch-search',
91                      'wide',
92                      0,
93                      {'fScope': {'fFileSetName': 'All Source Files',
94                                  'fLocation': None,
95                                  'fRecursive': True,
96                                  'fType': 'documentation'},
97                       'fSearchSpec': {'fEndPos': None,
98                                       'fIncludeLinenos': True,
99                                       'fInterpretBackslashes': False,
100                                       'fMatchCase': False,
101                                       'fOmitBinary': True,
102                                       'fRegexFlags': 42,
103                                       'fReplaceText': '',
104                                       'fReverse': False,
105                                       'fSearchText': u'default directory policy',
106                                       'fStartPos': 0,
107                                       'fStyle': 'text',
108                                       'fWholeWords': False,
109                                       'fWrap': True},
110                       'fUIOptions': {'fAutoBackground': True,
111                                      'fFilePrefix': 'short-file',
112                                      'fFindAfterReplace': True,
113                                      'fInSelection': False,
114                                      'fIncremental': True,
115                                      'fReplaceOnDisk': False,
116                                      'fShowFirstMatch': False,
117                                      'fShowLineno': True,
118                                      'fShowReplaceWidgets': False},
119                       'replace-entry-expanded': False,
120                       'search-entry-expanded': False}),
121                     ('interactive-search',
122                      'wide',
123                      0,
124                      {'fScope': {'fFileSetName': 'All Source Files',
125                                  'fLocation': None,
126                                  'fRecursive': True,
127                                  'fType': 'project-files'},
128                       'fSearchSpec': {'fEndPos': None,
129                                       'fIncludeLinenos': True,
130                                       'fInterpretBackslashes': False,
131                                       'fMatchCase': False,
132                                       'fOmitBinary': True,
133                                       'fRegexFlags': 42,
134                                       'fReplaceText': u'lastLineNum',
135                                       'fReverse': False,
136                                       'fSearchText': u'fileLength',
137                                       'fStartPos': 0,
138                                       'fStyle': 'text',
139                                       'fWholeWords': False,
140                                       'fWrap': True},
141                       'fUIOptions': {'fAutoBackground': True,
142                                      'fFilePrefix': 'short-file',
143                                      'fFindAfterReplace': True,
144                                      'fInSelection': False,
145                                      'fIncremental': True,
146                                      'fReplaceOnDisk': False,
147                                      'fShowFirstMatch': False,
148                                      'fShowLineno': True,
149                                      'fShowReplaceWidgets': True}}),
150                     ('debug-data',
151                      'wide',
152                      0,
153                      {}),
154                     ('debug-exceptions',
155                      'wide',
156                      0,
157                      {}),
158                     ('python-shell',
159                      'wide',
160                      2,
161                      {'active-range': (None,
162        -1,
163        -1),
164                       'attrib-starts': [],
165                       'code-line': '',
166                       'first-line': 0L,
167                       'folded-linenos': [],
168                       'history': {},
169                       'launch-id': None,
170                       'sel-line': 3L,
171                       'sel-line-start': 132L,
172                       'selection_end': 132L,
173                       'selection_start': 132L,
174                       'zoom': 0L}),
175                     ('messages',
176                      'wide',
177                      2,
178                      {'current-domain': 0}),
179                     ('os-command',
180                      'wide',
181                      1,
182                      {'last-percent': 0.8,
183                       'toolbox-percent': 1.0,
184                       'toolbox-tree-sel': ''})],
185        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('activitylog_watcher.py'),
186        {'attrib-starts': [],
187         'code-line': '# Local main for unit testing\n',
188         'first-line': 48L,
189         'folded-linenos': [],
190         'sel-line': 50L,
191         'sel-line-start': 1431L,
192         'selection_end': 1460L,
193         'selection_start': 1460L,
194         'zoom': 0L},
195        1563915276.741928],
196        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'),
197         {'attrib-starts': [('ConfigParser|0|',
198                             85),
199                            ('ConfigParser|0|.get|0|',
200                             589)],
201          'code-line': '                raise NoSectionError(section)\n',
202          'first-line': 601L,
203          'folded-linenos': [],
204          'sel-line': 606L,
205          'sel-line-start': 22028L,
206          'selection_end': 22028L,
207          'selection_start': 22028L,
208          'zoom': 0L},
209         1563915287.423714],
210        [loc('activitylog_watcher.py'),
211         {'attrib-starts': [],
212          'code-line': '# Local main for unit testing\n',
213          'first-line': 18L,
214          'folded-linenos': [],
215          'sel-line': 50L,
216          'sel-line-start': 1431L,
217          'selection_end': 1460L,
218          'selection_start': 1460L,
219          'zoom': 0L},
220         1563915319.659486],
221        [loc('../../../../../../../../usr/lib/python2.7/json/decoder.py'),
222         {'attrib-starts': [('JSONDecoder|0|',
223                             271),
224                            ('JSONDecoder|0|.raw_decode|0|',
225                             369)],
226          'code-line': '            obj, end = self.scan_once(s, idx)\n',
227          'first-line': 370L,
228          'folded-linenos': [],
229          'sel-line': 379L,
230          'sel-line-start': 13534L,
231          'selection_end': 13534L,
232          'selection_start': 13534L,
233          'zoom': 0L},
234         1563915321.261377],
235        [loc('activitylog_watcher.py'),
236         {'attrib-starts': [],
237          'code-line': '# Local main for unit testing\n',
238          'first-line': 18L,
239          'folded-linenos': [],
240          'sel-line': 50L,
241          'sel-line-start': 1431L,
242          'selection_end': 1460L,
243          'selection_start': 1460L,
244          'zoom': 0L},
245         1563915322.700758],
246        [loc('__main__.py'),
247         {'attrib-starts': [],
248          'code-line': 'import logging_service, os, ConfigParser\n',
249          'first-line': 0L,
250          'folded-linenos': [],
251          'sel-line': 0L,
252          'sel-line-start': 0L,
253          'selection_end': 40L,
254          'selection_start': 28L,
255          'zoom': 0L},
256         1563915338.030142],
257        [loc('logging_service.py'),
258         {'attrib-starts': [('startup|0|',
259                             20)],
260          'code-line': '        # dynamically load the setup function for th'\
261                       'is plugin        \n',
262          'first-line': 24L,
263          'folded-linenos': [],
264          'sel-line': 33L,
265          'sel-line-start': 1119L,
266          'selection_end': 1180L,
267          'selection_start': 1180L,
268          'zoom': 0L},
269         1563915525.660434],
270        [loc('cms_watcher.py'),
271         {'attrib-starts': [],
272          'code-line': '# Read the cms message file\n',
273          'first-line': 12L,
274          'folded-linenos': [],
275          'sel-line': 17L,
276          'sel-line-start': 410L,
277          'selection_end': 606L,
278          'selection_start': 410L,
279          'zoom': 0L},
280         1563915548.444179],
281        [loc('activitylog_watcher.py'),
282         {'attrib-starts': [('getLogEntries|0|',
283                             42)],
284          'code-line': '    currList = []\n',
285          'first-line': 33L,
286          'folded-linenos': [],
287          'sel-line': 45L,
288          'sel-line-start': 1303L,
289          'selection_end': 1303L,
290          'selection_start': 1303L,
291          'zoom': 0L},
292         1563915776.997235],
293        [loc('logging_service.py'),
294         {'attrib-starts': [('startup|0|',
295                             20)],
296          'code-line': '                trimmed_item = item.strip()\n',
297          'first-line': 30L,
298          'folded-linenos': [],
299          'sel-line': 57L,
300          'sel-line-start': 1955L,
301          'selection_end': 1955L,
302          'selection_start': 1955L,
303          'zoom': 0L},
304         1563915793.39434],
305        [loc('activitylog_watcher.py'),
306         {'attrib-starts': [('getLogEntries|0|',
307                             42)],
308          'code-line': '    return currList\n',
309          'first-line': 37L,
310          'folded-linenos': [],
311          'sel-line': 48L,
312          'sel-line-start': 1427L,
313          'selection_end': 1427L,
314          'selection_start': 1427L,
315          'zoom': 0L},
316         1563915821.788454],
317        [loc('logging_service.py'),
318         {'attrib-starts': [('startup|0|',
319                             20)],
320          'code-line': '                trimmed_item = item.strip()\n',
321          'first-line': 39L,
322          'folded-linenos': [],
323          'sel-line': 57L,
324          'sel-line-start': 1955L,
325          'selection_end': 1955L,
326          'selection_start': 1955L,
327          'zoom': 0L},
328         1563915837.345044],
329        [loc('activitylog_watcher.py'),
330         {'attrib-starts': [('getLogEntries|0|',
331                             42)],
332          'code-line': '    return currList\n',
333          'first-line': 37L,
334          'folded-linenos': [],
335          'sel-line': 48L,
336          'sel-line-start': 1427L,
337          'selection_end': 1427L,
338          'selection_start': 1427L,
339          'zoom': 0L},
340         1563915839.151954],
341        [loc('logging_service.py'),
342         {'attrib-starts': [('startup|0|',
343                             20)],
344          'code-line': '                trimmed_item = item.strip()\n',
345          'first-line': 50L,
346          'folded-linenos': [],
347          'sel-line': 57L,
348          'sel-line-start': 1955L,
349          'selection_end': 1955L,
350          'selection_start': 1955L,
351          'zoom': 0L},
352         1563915884.294776],
353        [loc('activitylog_watcher.py'),
354         {'attrib-starts': [('getLogEntries|0|',
355                             42)],
356          'code-line': '    return currList\n',
357          'first-line': 37L,
358          'folded-linenos': [],
359          'sel-line': 48L,
360          'sel-line-start': 1427L,
361          'selection_end': 1427L,
362          'selection_start': 1427L,
363          'zoom': 0L},
364         1563915907.118035],
365        [loc('logging_service.py'),
366         {'attrib-starts': [('startup|0|',
367                             20)],
368          'code-line': '                trimmed_item = item.strip()\n',
369          'first-line': 50L,
370          'folded-linenos': [],
371          'sel-line': 57L,
372          'sel-line-start': 1955L,
373          'selection_end': 1955L,
374          'selection_start': 1955L,
375          'zoom': 0L},
376         1563915945.26135],
377        [loc('activitylog_watcher.py'),
378         {'attrib-starts': [('getLogEntries|0|',
379                             42)],
380          'code-line': '    currList = []\n',
381          'first-line': 37L,
382          'folded-linenos': [],
383          'sel-line': 45L,
384          'sel-line-start': 1303L,
385          'selection_end': 1303L,
386          'selection_start': 1303L,
387          'zoom': 0L},
388         1563916207.12504],
389        [loc('cms_watcher.py'),
390         {'attrib-starts': [('readFile|0|',
391                             18)],
392          'code-line': ' \n',
393          'first-line': 6L,
394          'folded-linenos': [],
395          'sel-line': 21L,
396          'sel-line-start': 564L,
397          'selection_end': 565L,
398          'selection_start': 565L,
399          'zoom': 0L},
400         1563916220.372856],
401        [loc('activitylog_watcher.py'),
402         {'attrib-starts': [('getLogEntries|0|',
403                             42)],
404          'code-line': '    resultList = []\n',
405          'first-line': 40L,
406          'folded-linenos': [],
407          'sel-line': 48L,
408          'sel-line-start': 1422L,
409          'selection_end': 1422L,
410          'selection_start': 1422L,
411          'zoom': 0L},
412         1564099965.745285],
413        [loc('cad_watcher.py'),
414         {'attrib-starts': [('isFull|0|',
415                             16)],
416          'code-line': '\n',
417          'first-line': 3L,
418          'folded-linenos': [],
419          'sel-line': 18L,
420          'sel-line-start': 559L,
421          'selection_end': 559L,
422          'selection_start': 559L,
423          'zoom': 0L},
424         1564102192.752733]],
425        20),
426        'current-loc': loc('__main__.py'),
427        'editor-state-list': [(loc('activitylog_watcher.py'),
428                               {'attrib-starts': [('getLogEntries|0|',
429        42)],
430                                'code-line': '    resultList = []\n',
431                                'first-line': 40L,
432                                'folded-linenos': [],
433                                'sel-line': 48L,
434                                'sel-line-start': 1422L,
435                                'selection_end': 1422L,
436                                'selection_start': 1422L,
437                                'zoom': 0L}),
438                              (loc('cad_watcher.py'),
439                               {'attrib-starts': [('isFull|0|',
440        16)],
441                                'code-line': '\n',
442                                'first-line': 3L,
443                                'folded-linenos': [],
444                                'sel-line': 18L,
445                                'sel-line-start': 559L,
446                                'selection_end': 559L,
447                                'selection_start': 559L,
448                                'zoom': 0L}),
449                              (loc('cms_watcher.py'),
450                               {'attrib-starts': [('readFile|0|',
451        18)],
452                                'code-line': ' \n',
453                                'first-line': 6L,
454                                'folded-linenos': [],
455                                'sel-line': 21L,
456                                'sel-line-start': 564L,
457                                'selection_end': 565L,
458                                'selection_start': 565L,
459                                'zoom': 0L}),
460                              (loc('../../../config/logging_service.cfg'),
461                               {'attrib-starts': [],
462                                'code-line': '[Paths]\n',
463                                'first-line': 0L,
464                                'folded-linenos': [],
465                                'sel-line': 0L,
466                                'sel-line-start': 0L,
467                                'selection_end': 0L,
468                                'selection_start': 0L,
469                                'zoom': 0L}),
470                              (loc('logging_service.py'),
471                               {'attrib-starts': [('startup|0|',
472        20)],
473                                'code-line': '                trimmed_item ='\
474        ' item.strip()\n',
475                                'first-line': 50L,
476                                'folded-linenos': [],
477                                'sel-line': 57L,
478                                'sel-line-start': 1955L,
479                                'selection_end': 1955L,
480                                'selection_start': 1955L,
481                                'zoom': 0L}),
482                              (loc('__main__.py'),
483                               {'attrib-starts': [],
484                                'code-line': 'import logging_service, os, Co'\
485        'nfigParser\n',
486                                'first-line': 0L,
487                                'folded-linenos': [],
488                                'sel-line': 0L,
489                                'sel-line-start': 0L,
490                                'selection_end': 40L,
491                                'selection_start': 28L,
492                                'zoom': 0L})],
493        'has-focus': True,
494        'locked': False},
495        [loc('activitylog_watcher.py'),
496         loc('cad_watcher.py'),
497         loc('cms_watcher.py'),
498         loc('../../../config/logging_service.cfg'),
499         loc('logging_service.py'),
500         loc('__main__.py')]),
501                               'open_files': [u'../../../config/logging_service.cfg',
502        u'cms_watcher.py',
503        u'logging_service.py',
504        u'activitylog_watcher.py',
505        u'cad_watcher.py',
506        u'__main__.py']},
507        'saved_notebook_display': None,
508        'split_percents': {0: 0.5},
509        'splits': 2,
510        'tab_location': 'top',
511        'traversal_pos': ((0,
512                           3),
513                          1563915857.693931),
514        'user_data': {}},
515                 'saved_notebook_display': None,
516                 'split_percents': {},
517                 'splits': 1,
518                 'tab_location': 'left',
519                 'traversal_pos': ((0,
520                                    4),
521                                   1564102198.163837),
522                 'user_data': {}},
523        'window-alloc': (29,
524                         0,
525                         1197,
526                         722)}]}
527guimgr.recent-documents = [loc('__main__.py'),
528                           loc('cad_watcher.py'),
529                           loc('activitylog_watcher.py'),
530                           loc('logging_service.py'),
531                           loc('cms_watcher.py'),
532                           loc('../../../config/logging_service.cfg')]
533guimgr.visual-state = {loc('get_app_properties.py'): {'attrib-starts': [],
534        'code-line': '',
535        'first-line': 0L,
536        'folded-linenos': [],
537        'sel-line': 0L,
538        'sel-line-start': 0L,
539        'selection_end': 0L,
540        'selection_start': 0L,
541        'zoom': 0L},
542                       loc('get_revision'): {'attrib-starts': [],
543        'code-line': '',
544        'first-line': 0L,
545        'folded-linenos': [],
546        'sel-line': 18L,
547        'sel-line-start': 455L,
548        'selection_end': 455L,
549        'selection_start': 455L,
550        'zoom': 0L},
551                       loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
552        'ttrib-starts': [('ConfigParser|0|',
553                          85),
554                         ('ConfigParser|0|.get|0|',
555                          589)],
556        'code-line': '                raise NoSectionError(section)\n',
557        'first-line': 597L,
558        'folded-linenos': [],
559        'sel-line': 606L,
560        'sel-line-start': 22028L,
561        'selection_end': 22028L,
562        'selection_start': 22028L,
563        'zoom': 0L},
564                       loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
565        'ttrib-starts': [('ConfigParser|0|',
566                          85),
567                         ('ConfigParser|0|.get|0|',
568                          589)],
569        'code-line': '                raise NoSectionError(section)\n',
570        'first-line': 601L,
571        'folded-linenos': [],
572        'sel-line': 606L,
573        'sel-line-start': 22028L,
574        'selection_end': 22028L,
575        'selection_start': 22028L,
576        'zoom': 0L},
577                       loc('../../../../../../../../usr/lib/python2.7/json/decoder.py'): {'a'\
578        'ttrib-starts': [('JSONDecoder|0|',
579                          271),
580                         ('JSONDecoder|0|.raw_decode|0|',
581                          369)],
582        'code-line': '            obj, end = self.scan_once(s, idx)\n',
583        'first-line': 370L,
584        'folded-linenos': [],
585        'sel-line': 379L,
586        'sel-line-start': 13534L,
587        'selection_end': 13534L,
588        'selection_start': 13534L,
589        'zoom': 0L}}
590proj.build-cmd = {None: ('default',
591                         None)}
592proj.env-vars = {None: ('default',
593                        [u''])}
594search.search-history = [u'default directory policy']
Note: See TracBrowser for help on using the repository browser.