/
ChangeLog
17247 lines (10951 loc) · 484 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-08-03 16:11 walter_l
* storage/placeables/strelem.py: StringElem.delete_range(): Only
delete start- and end elements in case 4 if they are not the same
element.
2009-08-03 15:30 friedelwolff
* convert/dtd2po.py, tools/podebug.py: Give warnings for all
entities that are likely to contain CSS. Factor out and reuse in
podebug. This fixes bug 1093.
2009-08-03 14:18 arail
* tools/podebug.py, tools/test_podebug.py: Use "%h" as a format
string for hashes, drop --hash=int parameter. Add some test
cases.
2009-07-31 15:23 walter_l
* storage/placeables/base.py, storage/placeables/general.py: Set
isfragile flags for placeables with base.X as a sub-class as well
as NewlinePlaceables.
2009-07-31 15:22 walter_l
* storage/placeables/test_base.py: Updated tests to reflect recent
changes to StringElem.
2009-07-31 15:20 walter_l
* storage/placeables/strelem.py: StringElem.delete_range(): Now
returns 3 values: the deleted string, the parent from which it
was deleted and the offset into the parent where the sub-string
was.
2009-07-31 15:19 walter_l
* storage/placeables/strelem.py: StringElem: Added the "isfragile"
flag
2009-07-31 15:14 friedelwolff
* doc/gen_api_docs.sh: Remove some debugging output
2009-07-31 14:29 friedelwolff
* doc/epydoc-config.ini, doc/gen_api_docs.sh: Enable the script to
be run from outside its own directory. Don't specify the output
directory in the config, so that the script can specify it (since
it is better aware of where we are)
2009-07-31 14:12 friedelwolff
* __version__.py: Version 1.4.0-rc2
2009-07-31 14:10 friedelwolff
* doc/gen_api_docs.sh: Comment out the part that pushes the
documentation to SF - we don't want to do this each time
2009-07-31 13:27 friedelwolff
* storage/placeables/general.py,
storage/placeables/test_general.py: Recognise self closing tags.
+Tests for XMLTagPlaceable
2009-07-30 10:24 friedelwolff
* storage/base.py: Handle None targets in merge() just in case
2009-07-29 17:02 dwaynebailey
* storage/placeables/test_general.py: Add CapsPlaceable test
2009-07-29 16:54 dwaynebailey
* storage/placeables/test_general.py: Add EmailPlaceable tests. Fix
classes in FilePlaceable test.
2009-07-29 16:48 dwaynebailey
* storage/placeables/test_general.py: Add a test for FilePlaceable
2009-07-29 16:26 friedelwolff
* storage/test_xliff.py: Test that alt-trans doesn't interfere with
the real .target anymore
2009-07-29 16:20 friedelwolff
* storage/poxliff.py: Correctly invalidate ._rich_source and
._rich_target so that base.rich_* work correctly (since we don't
inherit .setsource and .settarget)
2009-07-29 16:08 friedelwolff
* storage/poxliff.py: Disable rich string functionality for
poxliff. +TODO note.
2009-07-29 16:04 walter_l
* storage/placeables/strelem.py: StringElem.delete_range(): Move
premature prune() to a safe place.
This fixes case 4 deletions where there are actually elements
between the start- and end elements.
2009-07-29 16:03 walter_l
* storage/placeables/test_base.py: Added tests for
StringElem.delete_range().
2009-07-29 16:02 walter_l
* storage/placeables/test_base.py: Fix tests to reflect current
state of the toolkit.
2009-07-29 15:11 friedelwolff
* storage/poxliff.py, storage/xliff.py: .getlanguageNodes() could
return results from alt-trans, which is not what we want. This
does the correct thing, might be slightly faster, but needed an
update for poxliff which depended on the old behaviour. Now we
match plurals based on id for extra goodness.
2009-07-29 15:09 friedelwolff
* convert/test_xliff2po.py: Add an explicit id to the plural group
in the test as it should have. Upcoming code will depend on this.
2009-07-27 12:55 friedelwolff
* storage/statsdb.py: Close the connection before unlinking the
file. This should fix bug 1068.
2009-07-27 11:13 friedelwolff
* storage/test_xliff.py, storage/xliff.py: Put the (optional)
source before the target. This fixes bug 1072.
2009-07-24 18:49 dwaynebailey
* doc/gen_api_docs.sh: - Create a SF shell login before tryong to
rsync
- rsync to the correct directory
- put ssh login alias into a variable
2009-07-24 18:22 dwaynebailey
* doc/gen_api_docs.sh: Add some links to the epydoc manuals
2009-07-24 18:19 dwaynebailey
* lang/identify.py: EPYDOC: typo
2009-07-24 18:08 dwaynebailey
* lang/__init__.py: Add 'factory' module to common language
functionality group
2009-07-24 17:55 dwaynebailey
* lang/__init__.py: Add poedit and identify modules to common
language functionality group
2009-07-24 17:46 dwaynebailey
* lang/identify.py: typo
2009-07-24 17:43 dwaynebailey
* lang/data.py: Better layout for tr_lang comment
2009-07-24 17:29 dwaynebailey
* storage/placeables/general.py: Use single colon to ensure we have
a list
2009-07-24 17:25 dwaynebailey
* storage/placeables/general.py: Use single colon to ensure we have
a list
2009-07-24 17:21 dwaynebailey
* storage/__init__.py: Categorise some new storage modules
2009-07-24 17:11 dwaynebailey
* convert/__init__.py: Add a number of new converters to the
Monolingual group
2009-07-24 16:41 dwaynebailey
* storage/xml_extract/generate.py: Epydoc: think this is what we
need.
2009-07-24 16:35 dwaynebailey
* storage/placeables/general.py: These are URLs not
cross-references
2009-07-24 16:30 dwaynebailey
* storage/placeables/__init__.py: Make list epydoc compliant
2009-07-24 16:22 dwaynebailey
* storage/tiki.py: Make the PHP section literal text. Fix the URL
to the TikiWiki source.
2009-07-24 16:07 dwaynebailey
* storage/base.py: Convert into a proper doctest
2009-07-24 15:50 dwaynebailey
* tools/pocount.py: Convert into proper epydoc paramater syntax.
2009-07-24 15:09 friedelwolff
* storage/statsdb.py: Clean up license header, whitespace,
docstring typo
2009-07-24 11:43 friedelwolff
* storage/richstring: Remove empty directory
2009-07-24 11:40 friedelwolff
* storage/placeables/xliff.py: Fix minor epydoc syntax error
2009-07-23 18:24 friedelwolff
* misc/xml_helpers.py, storage/placeables/lisa.py,
storage/placeables/test_lisa.py: Allow a node to still override
with xml:space at the last moment
2009-07-23 18:10 friedelwolff
* storage/placeables/general.py,
storage/placeables/test_general.py: Accept a word with two
initial capital letters as CamelCase. +Examples, +test
2009-07-23 14:15 walter_l
* storage/placeables/lisa.py: Use
translate.misc.xml_helpers.normalize_xml_space() in stead of
text_snippet() and tail_snippet().
2009-07-23 14:13 walter_l
* misc/xml_helpers.py: Added normalize_xml_space(); replaces
text_snippet() and tail_snippet() from
translate.storage.placeables.lisa.
2009-07-22 15:45 arail
* convert/moz2po.py, convert/po2moz.py: Don't convert HTML/XHTML
files used in Mozilla. (Closes: #1061)
2009-07-22 15:34 friedelwolff
* lang/de.py: Initial support for German (de). For now this just
disables the simplecaps test.
2009-07-22 15:29 friedelwolff
* storage/qph.py, storage/tbx.py, storage/tmx.py,
storage/wordfast.py, storage/xliff.py: Align the names of the
file types with those in Virtaal's MIME type registration. This
is a temporary work-around for bug 612.
2009-07-22 15:28 arail
* convert/po2moz.py: Don't compare int and str. (Closes: #1062)
2009-07-22 15:26 friedelwolff
* __version__.py: version 1.4.0-rc1
2009-07-22 15:19 friedelwolff
* misc/xml_helpers.py, storage/placeables/lisa.py,
storage/placeables/test_lisa.py, storage/xliff.py: Support
xml:space correctly for XLIFF placeables. Some sane values are
guessed for the default behaviour. This is the last major
outstanding piece of bug 1017.
2009-07-22 15:05 friedelwolff
* filters/checks.py, filters/test_checks.py: Correctly remove
variables before accelerators in unchanged(). +Test
2009-07-22 13:59 friedelwolff
* filters/checks.py, filters/test_checks.py: Check more thoroughly
for unchanged strings. We were not catching multi-word unchanged
strings. This fixes bug 1059, although more thought might be
needed in this area. [Contributed by Rail Aliev]
2009-07-21 16:07 friedelwolff
* convert/po2php.py: Decode the line before processing. This fixes
bug 1057.
2009-07-21 15:33 alaaosh
* services/tmserver.py: selector already unquotes urls for us
2009-07-21 14:00 walter_l
* storage/placeables/strelem.py: StringElem.delete_range(): Don't
delete entire nodes in case 2, but only its children.
2009-07-21 10:38 walter_l
* storage/placeables/strelem.py: StringElem: Added insert_between()
- Handles insertion of string on string- or placeable boundries.
2009-07-21 10:38 walter_l
* storage/placeables/base.py: placeables.base.X: Make it not
editable, as it should be
2009-07-21 08:32 friedelwolff
* storage/xml_extract/misc.py: Clean up copyright header,
whitespace
2009-07-20 01:59 alaaosh
* services/tmserver.py, storage/tmdb.py: properly quote and unquote
source strings in urls.
log results when in debug mode.
this should finally fix #991 however virtaal fails to display
some results despite tmserver returning them.
2009-07-19 23:59 alaaosh
* search/indexing/PyLuceneIndexer.py: tabs vs spaces cute, real
cute
2009-07-19 02:56 alaaosh
* services/tmserver.py: add min-similarity max-candidates and
max-length options
2009-07-19 02:55 alaaosh
* search/indexing/PyLuceneIndexer.py: disable file locking
assumption is lucene is taking care of locking for us, needs more
testing and verification
2009-07-18 09:46 friedelwolff
* storage/properties.py: Support multiline comments better
2009-07-18 09:44 friedelwolff
* storage/properties.py: Pass personality to propunit in all cases.
Bug 1056 [contributed by Rail Aliev]
2009-07-18 09:36 friedelwolff
* convert/rc2po.py, storage/rc.py: Cleanups to the copyright
header, whitespace, docstrings. No functional change.
2009-07-18 09:33 friedelwolff
* convert/rc2po.py, storage/rc.py: Support for multiple language
sections in RC files. Bug 1014. [Contributed by Grégory Journé]
2009-07-18 09:23 friedelwolff
* CREDITS: Credit Rail and Grégory
2009-07-18 09:06 friedelwolff
* convert/prop2mozfunny.py: Now that properties' comments are
stored without newlines, we have to generate lines for .it files
with newlines attached to comments. This fixes the issue with
.ini files in bug 1053. [Reported by Rail Aliev].
2009-07-17 16:34 friedelwolff
* filters/spelling.py: Some versions of enchant don't raise
DictNotFoundError as it should, so we rather check some text that
might trigger a general enchant exception
2009-07-17 10:56 walter_l
* storage/placeables/lisa.py: Save the XML attributes for
placeables created from XML nodes.
This fixes bug 1033.
2009-07-17 10:55 walter_l
* storage/placeables/base.py, storage/placeables/strelem.py,
storage/placeables/xliff.py: Make all placeables accept arbitrary
keyword arguments. If it reaches StringElem.__inti__(), they will
be assigned to the object as attributes.
2009-07-17 10:54 walter_l
* storage/poxliff.py: PoXliffUnit: Inherit rich_source and
rich_target from xliff.xliffunit in stead of using
TranslationUnit's.
2009-07-16 20:16 friedelwolff
* storage/properties.py, storage/test_properties.py: Don't store
newlines for comments, but join with a newline in .getnotes()
2009-07-16 14:43 friedelwolff
* convert/prop2mozfunny.py: Remove last remnant of
mozfunny2prop.encodepropline()
2009-07-16 14:16 friedelwolff
* convert/mozfunny2prop.py: Remove calls to encode each propline -
this caused double escaping of newlines in at least .ini files.
This fixes bug 1044.
2009-07-16 14:15 friedelwolff
* storage/properties.py: Don'e escape controls on comment lines,
they are escaped enough. This fixes a regression since toolkit
1.3. Comment diffs are gone now compared to 1.2
2009-07-16 14:12 friedelwolff
* storage/poparser.py: Don't try and get too fancy with guessing
escaped quotes on line end. These are considered invalid by
gettext anyway. This fixes bug 960. [With contributions by
Sayamindu Dasgupta]
2009-07-16 10:45 friedelwolff
* convert/mozfunny2prop.py, convert/prop2mozfunny.py: specify the
mozilla personality for property stores used in the mozfunny
converters. This fixes bug 1025. [Contributed by Rail Aliev]
2009-07-15 12:04 friedelwolff
* storage/placeables/test_terminology.py: Update to new strelem
layout
2009-07-15 09:19 friedelwolff
* storage/xliff.py: Initialise the languages in .initbody() after
parsing. This fixes bug 1042.
2009-07-15 09:11 friedelwolff
* storage/lisa.py: Only set the languages from parameters if we are
initialising from a skeleton
2009-07-15 08:19 friedelwolff
* storage/base.py: Provide a basic implementation of
getsourcelanguage() and gettargetlanguage(), since users expect
this to be here
2009-07-14 09:22 friedelwolff
* tools/pocount.py: Update license header, fix some stray tabs,
remove single-line 'if' statements
2009-07-14 08:59 friedelwolff
* tools/pocount.py: [Contributed by Ivan Masár] Correctly count
incomplete files. See bug 825 for more details.
2009-07-13 16:40 friedelwolff
* storage/xml_extract/extract.py: Clean up license block,
whitespace
2009-07-13 16:13 friedelwolff
* storage/xml_extract/extract.py: Don't set the xid attribute on
the unit. This fixes bug 1011, reported by Yves Savourel.
2009-07-13 12:59 walter_l
* storage/poxliff.py: PoXliffUnit.__eq__(): Removed check that
would result in units without plurals to always be equal to any
other unit.
2009-07-10 12:13 friedelwolff
* storage/ts2.py: +URL for newer file format
2009-07-10 12:08 friedelwolff
* convert/po2rc.py: [Contributed by Grégory Journé] Encode string
according to given charset. This fixes bug 864.
2009-07-10 07:24 friedelwolff
* convert/accesskey.py, convert/test_po2dtd.py: Properly detect XML
entities by reusing the regex from placeables to ensure that we
don't strip the initial & thinking it is an accelerator. +Test.
This fixes bug 1022.
2009-07-07 09:50 walter_l
* storage/placeables/strelem.py: Define ElementNotFoundError - used
in StringElem.delete_elem().
2009-07-07 09:49 walter_l
* storage/placeables/strelem.py: StringElem.delete_elem(): Handle
the special case where the current element is the one to delete.
In that case just delete all sub-elements.
2009-07-04 09:11 dwaynebailey
* README: Add sub2po to README
2009-07-03 16:40 walter_l
* storage/xliff.py: xliffunit.set_rich_*(): Don't recreate the XML
node every time. XML attributes are now preserved.
2009-07-03 14:59 walter_l
* tools/podebug.py: podebug.apply_to_translatables(): Use the new
StringElem.map().
2009-07-03 14:58 walter_l
* storage/placeables/general.py: Add correct value for
"istranslatable" in general placeables classes.
2009-07-03 14:58 walter_l
* storage/placeables/strelem.py: +StringElem.map(): An easy way to
apply a function to all nodes in the tree (optionally filtered).
2009-07-03 14:57 walter_l
* storage/placeables/strelem.py: StringElem: Added (optional)
filter functions to methods that collect nodes from the tree.
2009-07-02 16:10 friedelwolff
* misc/xml_helpers.py, storage/lisa.py: Move xml_helpers out of the
storage module to a separate misc module - they are just general
xml helpers anyway
2009-07-02 11:52 walter_l
* storage/placeables/base.py: Bx and Ex classes should ignore extra
keyword arguments, like "rid" given in StringElem.copy().
2009-07-02 11:52 walter_l
* storage/placeables/lisa.py: Added support for converting between
XML and UnknownXML. Tags not yet implemented are now also handled
as UnkownXML placeables.
2009-07-02 11:51 walter_l
* storage/placeables/strelem.py: StringElem.print_tree(): Added
parameter to make output more verbose (adds repr(self) to the
output).
2009-07-02 11:50 walter_l
* storage/placeables/test_lisa.py: Added test for UnknownXML
placeable as used in XLIFF.
2009-07-02 11:49 walter_l
* storage/placeables/xliff.py: Added UnknownXML class: Handles
unknown XML tags in XLIFF documents.
2009-07-02 11:49 walter_l
* storage/placeables/strelem.py, storage/xliff.py: Added (commented
out) debugging statements.
2009-07-02 08:24 friedelwolff
* convert/po2rc.py: Clean up license block, whitespace, unused
imports.
2009-07-02 08:13 friedelwolff
* storage/rc.py: [Reported by Grégory Journé] Use the correct RE in
the menu section. This closes bug 1010.
2009-07-02 08:10 friedelwolff
* storage/rc.py: Clean up license block, whitespace, docstrings. No
functional change.
2009-06-29 16:26 friedelwolff
* misc/file_discovery.py: Don't use a list as default parameter -
it will be reused
2009-06-29 14:07 walter_l
* storage/placeables/strelem.py: StringElem.prune(): Added code to
merge sibling StringElem leaves.
2009-06-25 13:01 friedelwolff
* storage/poparser.py: Don't use a list as default paramter value,
as it will get reused
2009-06-25 10:46 friedelwolff
* storage/placeables/parse.py: Only decend into translatable
placeables. Should reconsider later.
2009-06-23 15:58 walter_l
* storage/placeables/strelem.py: StringElem.insert(): Simplify case
2 to be equivalent to be only case 2.2, ie. always insert _after_
the last element. StringElem.prune() should take care of the
rest.
2009-06-22 13:17 friedelwolff
* convert/xliff2po.py: Cleanup copyright header and some
docstrings. No functional change.
2009-06-22 13:13 friedelwolff
* convert/xliff2po.py: Cleaner API use for locations
2009-06-22 13:05 friedelwolff
* search/match.py: Let each matcher specify the sorting direction
to ensure that all sorting can be correct. This solves the issue
with newer, longer terms added in Virtaal not being recognised
since the shorter ones are matched first.
2009-06-22 12:09 friedelwolff
* convert/prop2po.py, misc/quote.py, storage/properties.py: Several
small updates relating to encoding, notably for non-ascii latin1
comments in Java .properties. This fixes bug 486.
2009-06-20 19:30 friedelwolff
* tools/podebug.py: Reflow, reformat and slightly rewrite for
readibility
2009-06-20 09:49 friedelwolff
* services/tmserver.py: Provide some default bind options to
tmserver
2009-06-19 13:58 friedelwolff
* __version__.py: Version 1.4.0-beta1
2009-06-19 06:07 friedelwolff
* convert/prop2po.py, misc/quote.py, storage/properties.py,
storage/test_properties.py: Support the personality in the
properties classes and use that to support java properties
encoded in latin1
2009-06-18 02:04 alaaosh
* services/tmserver.py: double unquoting was causing problems, no
need for plus unquoting since tmdb now strips away non
alphanumeric charachters anyway
fixes #991
2009-06-18 02:03 alaaosh
* storage/tmdb.py: cleanup unitwords before attempting fulltext
indexing
note that fulltext indexer has it's own set of quoting problems
that dbapi2's automagic escaping won't avoid
we should look into stop words and normalization one day
fixes #989
2009-06-17 21:05 dwaynebailey
* storage/placeables/test_general.py: Add TODO for Placeable test
that are missing
2009-06-17 20:56 dwaynebailey
* storage/placeables/test_general.py: Add the OptionPlaceable tests
2009-06-17 20:51 dwaynebailey
* storage/placeables/test_general.py: Add XML Entity Placeable
tests
2009-06-17 20:47 dwaynebailey
* storage/placeables/test_general.py: Add PunctuationPlaceable
tests
2009-06-17 20:37 dwaynebailey
* storage/placeables/test_general.py: Add test for SpacesPlaceable
2009-06-17 20:31 dwaynebailey
* storage/placeables/test_general.py: Add CamelCasePlaceable tests
2009-06-17 20:13 dwaynebailey
* storage/placeables/test_general.py: Add tests for Qt Formatted
variables.
2009-06-17 20:09 dwaynebailey
* storage/placeables/test_general.py: Add tests the show different
decimal and group seperators: point, comma and non-breaking space
2009-06-17 20:03 dwaynebailey
* storage/placeables/test_general.py: Add test for Alt Attr
placeable
2009-06-17 19:56 dwaynebailey
* storage/placeables/test_general.py: Add test for newline
2009-06-17 19:52 dwaynebailey
* storage/placeables/general.py,
storage/placeables/test_general.py: Add tests for placeables.
Improve number placeable to allow for a preceding sign +/-
2009-06-17 19:38 friedelwolff
* storage/test_base.py: Assign some parsers so we can have some
rich structure to test with
2009-06-17 15:15 friedelwolff
* convert/odf2xliff.py, convert/xliff2odf.py: Since
convertoptionsparser already opens the files for us, it is not
opened in binary, and we get errors on Windows. So let's reopen
it ourselves. This should re-fix bug 816.
2009-06-17 15:11 friedelwolff
* storage/odf_io.py: No need to open the file in binary mode - the
library will do it for us (as long as the file isn't already
open)
2009-06-17 15:06 friedelwolff
* storage/lisa.py, storage/xliff.py: Move rich string handling from
lisa to xliff while it is the only format for which we support it
2009-06-17 14:01 friedelwolff
* storage/poxliff.py: Clean up whitespace and copyright header. No
functional change.
2009-06-17 13:53 friedelwolff
* storage/lisa.py, storage/test_xliff.py, storage/tmx.py,
storage/xliff.py: An attempt at a more interoperable
implementation of the handling of xml:space, with particular aim
at interoperability with XLIFF files that don't use
xml:space="preserve". This is likely a bit of a performance hit -
need to see how badly we regress on large files.
2009-06-17 12:19 dwaynebailey
* README: Layout and spelling fixes
2009-06-17 11:07 friedelwolff
* storage/subtitles.py: Update copyright dates, cleanup whitespace
and unused import. No functional change.
2009-06-17 11:05 friedelwolff
* misc/multistring.py: Fix DeprecationWarning in Python 2.6 about
'object.__init__() takes no parameters'
2009-06-16 08:45 friedelwolff
* tools/podebug.py: Don't ignore CapsPlaceable and
CamelCasePlaceable in podebug - we want to translate these as
well
2009-06-16 06:54 dwaynebailey
* tools/podebug.py, tools/test_podebug.py: Add a bracket podebug
rewrite style. Which will surround strings with [ and ]
2009-06-15 20:51 friedelwolff
* storage/cpo.py: Rewrite temporary file handling to work on
Windows. We can't use the output of NamedTemporaryFile while it
is still open, otherwise we get an access violation on Windows.
2009-06-15 13:21 friedelwolff
* storage/lisa.py: First test for a usable type before we do in
detail __eq__ on a unit
2009-06-15 13:20 dwaynebailey
* CREDITS: Credit Ivan Masár for the pocount improvements
2009-06-15 13:18 dwaynebailey
* tools/pocount.py: Add patches from bug 825 that adds:
- --short-words, --short-strings (more compact output)
- --incomplete (only count incomplete files)
2009-06-15 13:07 friedelwolff
* storage/lisa.py: Ensure we initialise ._rich_source and
._rich_target if we bypass the constructor. This fixes bug 994.
2009-06-15 11:10 dwaynebailey
* convert/prop2po.py: Default to using Java personality throughout
prop2po
2009-06-15 11:07 dwaynebailey
* convert/test_prop2po.py: Add --personality commandline options to
the --help test.
2009-06-15 11:02 friedelwolff
* filters/checks.py: Temporarily disable the startcaps->simplecaps
precondition, since it is causing lots of false positives since
Python 2.6.
2009-06-15 10:57 friedelwolff
* search/match.py: Finally move to Python 2.4 APIs for more
efficient sorting. This breaks compatibility with Python 2.3, but
gives a nice speedup with later versions.
2009-06-15 10:38 dwaynebailey
* lang/data.py: Align nso name with ISO639
2009-06-15 10:35 friedelwolff
* storage/placeables/strelem.py: Work correctly with string
elements that will all be unicode strings. This only affects
debug code.
2009-06-15 10:33 friedelwolff
* tools/pretranslate.py: Use the defaul gettext migration strategy
if no location comments exist. The Mozilla and OOo matching will
now only happen for units with locations not containing a colon
(:)
2009-06-13 20:46 friedelwolff
* storage/placeables/parse.py: Don't just prune the last leaf after
the for loop - do it inside for each
2009-06-13 17:07 dwaynebailey
* convert/moz2po.py, convert/prop2po.py: Add ability to give
prop2po a personality: Java or Mozilla.
Doesn't do much at the moment, just adds the X-Accelerator header
if
called with --personality=mozilla. Adapted moz2po to do the right
thing.
This should allow us to handle Latin1 vs UTF-8 in the future.
2009-06-13 15:44 dwaynebailey
* storage/placeables/general.py: Implement a format matcher for Qt
variables (should also work for KDE4).
2009-06-13 08:57 friedelwolff
* tools/podebug.py: Fix typo/thinko
2009-06-12 14:41 friedelwolff
* storage/properties.py: Use '=' as the default delimiter for
properties files
2009-06-12 14:41 friedelwolff
* storage/properties.py: Correct calculation of starting position
of significant line content
2009-06-12 14:38 friedelwolff
* storage/test_properties.py: Test for support for property with
zero-length key
2009-06-12 13:39 friedelwolff
* misc/quote.py: Escape the slash character when outputting to
properties
2009-06-12 13:29 friedelwolff
* storage/cpo.py, storage/pypo.py: Fix a minor bug that might have
caused us to not have headers in the output of oo2po and similar
tools
2009-06-12 12:55 friedelwolff
* convert/test_pot2po.py: Provide a location comment in the
test_migrate_msgidcomment_to_msgctxt() test - which realistically
is what upcoming mozilla translations will need to work with
migrating from msgid comments to msgctxct
2009-06-12 10:50 dwaynebailey
* storage/placeables/general.py: Better link to the Python string
formatting documentation
2009-06-12 08:33 friedelwolff
* convert/symb2po.py: -syntax error. -unused imports
2009-06-12 07:31 dwaynebailey
* storage: Ignore *.class
2009-06-12 07:26 dwaynebailey
* storage/debug.properties: Add a simple example debug.properties
file
2009-06-12 07:18 dwaynebailey
* storage/properties.java: Add a Java .properties file testing
program
2009-06-12 06:30 friedelwolff
* storage/poheader.py, storage/test_poheader.py: Update the test to
be time independent, and make sure we always end a contributor
line with a fullstop.
2009-06-12 06:23 friedelwolff
* storage/poheader.py, storage/test_poheader.py: Extend the test to
test for correct handling of full stop in a contributor line.
This closes the reopened bug 985.
2009-06-11 21:26 friedelwolff
* storage/poheader.py, storage/test_poheader.py: Test for updating
copyright comments in the header, and fix a case that wasn't
handled correctly. This fixes bug 985.
2009-06-11 15:09 dwaynebailey
* storage/pypo.py: Ensure we escape values that we put into msgctxt
2009-06-11 13:40 dwaynebailey
* storage/properties.py: We shouldn't strip space from the
beginnging of a value since if it got in its significant.
2009-06-11 13:38 dwaynebailey
* misc/quote.py: Reduce escapes to the ones supported by
.properties files: fnrt
Drop all other backslashes
2009-06-11 13:13 dwaynebailey
* convert/test_prop2po.py, storage/properties.py,
storage/test_properties.py: Implement proper .properties
whitespace handling. Add fn key_strip
to strip and handle whitespace in the key. Remove strippig
functionality
from 'value'. Adjust tests as needed.
2009-06-11 12:48 dwaynebailey
* storage/properties.py, storage/test_properties.py: Allow # or !
for comments. Add tests to test for the different types.
2009-06-11 12:32 dwaynebailey