OSDN Git Service
Toshi MARUYAMA [Mon, 9 May 2011 10:52:08 +0000 (10:52 +0000)]
PDF: code clean up lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5719
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 10:41:02 +0000 (10:41 +0000)]
PDF: switch encoding and font whether CJK and Thainland non UTF-8 or not in TCPDF Redmine class (#8312).
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5718
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 07:35:02 +0000 (07:35 +0000)]
PDF: import tcpdf.rb patch (#8312).
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5717
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 06:46:21 +0000 (06:46 +0000)]
PDF: replace invalid UTF-8 sequences in TCPDF (#61, #8312).
There is no guarantees that database strings are valid UTF-8 in Ruby 1.8 MySQL and SQLite3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5716
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 06:45:40 +0000 (06:45 +0000)]
PDF: replace invalid sequence in converting if encoding destination is UTF-8 (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 06:44:59 +0000 (06:44 +0000)]
PDF: call Redmine::Export::PDF::RDMPdfEncoding::rdm_pdf_iconv() directly in unit test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5714
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 06:44:23 +0000 (06:44 +0000)]
PDF: move fix_text_encoding() logic to new method for common use in FPDF and TCPDF (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5713
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 06:43:23 +0000 (06:43 +0000)]
PDF: check Japanese general_pdf_encoding is CP932 in unit test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5712
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 9 May 2011 04:54:37 +0000 (04:54 +0000)]
scm: fix indents of test/unit/changeset_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5711
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 21:28:54 +0000 (21:28 +0000)]
remove trailing white-spaces from MailHandler model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5710
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 14:08:46 +0000 (14:08 +0000)]
scm: code clean up unit repository test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5709
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 09:47:42 +0000 (09:47 +0000)]
scm: code clean up Repositories Controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5708
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 07:12:34 +0000 (07:12 +0000)]
remove trailing white-spaces and code clean up init i18n test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5707
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:11:22 +0000 (05:11 +0000)]
scm: cvs: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5706
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:10:45 +0000 (05:10 +0000)]
scm: subversion: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5705
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:10:05 +0000 (05:10 +0000)]
scm: mercurial: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5704
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:09:25 +0000 (05:09 +0000)]
scm: filesystem: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5703
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:08:44 +0000 (05:08 +0000)]
scm: cvs: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5702
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 05:08:05 +0000 (05:08 +0000)]
scm: subversion: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5701
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 02:49:41 +0000 (02:49 +0000)]
scm: git: remove trailing white-spaces from unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5700
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 02:39:36 +0000 (02:39 +0000)]
scm: git: add test of annotate non ASCII content of non ASCII path in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5699
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 02:38:36 +0000 (02:38 +0000)]
scm: git: add test of diff non ASCII path and non ASCII content in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5698
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 02:04:11 +0000 (02:04 +0000)]
scm: git: add test of showing non ASCII contents of non ASCII path in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5697
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 01:48:53 +0000 (01:48 +0000)]
scm: git: use constant value for project id in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5696
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 8 May 2011 00:26:13 +0000 (00:26 +0000)]
PDF: set lang 'ja' in unit test test_fix_text_encoding_cannot_convert_ja_cp932().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5695
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 23:10:27 +0000 (23:10 +0000)]
scm: git: fix functional annotate test.
Test committer is "jsmith". If committer is not "jsmith", test passes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5694
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 23:09:42 +0000 (23:09 +0000)]
scm: git: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5693
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 14:22:42 +0000 (14:22 +0000)]
scm: mercurial: add test of annotate non ASCII contents in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5692
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 14:10:43 +0000 (14:10 +0000)]
scm: mercurial: fix indent test_annotate_latin_1_path() in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5691
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 13:36:07 +0000 (13:36 +0000)]
scm: mercurial: add test of showing non ASCII contents in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5690
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 13:35:31 +0000 (13:35 +0000)]
scm: mercurial: add test of diff non ASCII path name in functional test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5689
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 11:28:21 +0000 (11:28 +0000)]
scm: add test of showing *real* non ASCII contents in functional filesystem repository test.
TODO: this test fails in Ruby 1.9 and Encoding.default_external is not UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5688
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 09:50:39 +0000 (09:50 +0000)]
fix typo "heigth" to "height" in lib/redmine/helpers/gantt.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5687
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 07:25:53 +0000 (07:25 +0000)]
scm: mercurial: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5686
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 07:25:09 +0000 (07:25 +0000)]
scm: mercurial: change Latin-1 path test methods name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5685
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 06:47:05 +0000 (06:47 +0000)]
remove trailing white-spaces from functional functional attachments controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5684
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 06:38:45 +0000 (06:38 +0000)]
scm: mercurial: remove trailing white-spaces and a empty line from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5683
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 06:38:04 +0000 (06:38 +0000)]
scm: filesystem: remove trailing white-spaces from functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5682
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 05:51:39 +0000 (05:51 +0000)]
remove trailing white-spaces from attachments helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5681
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:43:58 +0000 (03:43 +0000)]
scm: filesystem: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5680
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:43:17 +0000 (03:43 +0000)]
scm: bazaar: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5679
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:42:26 +0000 (03:42 +0000)]
scm: cvs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5678
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:41:46 +0000 (03:41 +0000)]
scm: git: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5677
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:41:05 +0000 (03:41 +0000)]
scm: mercurial: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5676
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 7 May 2011 03:40:34 +0000 (03:40 +0000)]
scm: darcs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5675
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 13:49:33 +0000 (13:49 +0000)]
scm: git: change local value "revisions" name to "revs" in adapter revisions().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5674
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 13:49:10 +0000 (13:49 +0000)]
scm: git: remove unused "block_given?" from adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5673
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 13:48:36 +0000 (13:48 +0000)]
scm: remove trailing white-spaces from abstract adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5672
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 13:48:07 +0000 (13:48 +0000)]
scm: subversion: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5671
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 12:58:14 +0000 (12:58 +0000)]
scm: filesystem: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5670
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 12:57:54 +0000 (12:57 +0000)]
scm: darcs: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5669
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 12:57:32 +0000 (12:57 +0000)]
scm: bazaar: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5668
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 12:57:10 +0000 (12:57 +0000)]
scm: mercurial: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5667
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 11:45:58 +0000 (11:45 +0000)]
scm: git: add unit adapter test of master branch revisions().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5666
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 11:45:20 +0000 (11:45 +0000)]
scm: git: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5665
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 10:40:40 +0000 (10:40 +0000)]
PDF: fix automatic line break problem with TCPDF (#8310).
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5664
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 10:40:12 +0000 (10:40 +0000)]
remove trailing white-spaces lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5663
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 10:39:45 +0000 (10:39 +0000)]
remove trailing white-spaces lib/redmine/helpers/gantt.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5662
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 03:43:11 +0000 (03:43 +0000)]
scm: git: change model report_last_commit() name to extra_report_last_commit() (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5661
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 02:06:29 +0000 (02:06 +0000)]
scm: git: split unit adapter revisions test to with time or not (#7146, #6013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5660
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 02:06:08 +0000 (02:06 +0000)]
scm: git: remove trailing white-spaces and an empty line in unit lib test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5659
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 6 May 2011 01:11:50 +0000 (01:11 +0000)]
scm: code clean up unit repository test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5658
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 11:43:29 +0000 (11:43 +0000)]
scm: git: use the model value of whether reporting last commit in repository tree (#7047).
And remove entries_git() and the flag in adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5657
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 11:43:09 +0000 (11:43 +0000)]
scm: git: add the model method whether reporting last commit in repository tree (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5656
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 11:42:46 +0000 (11:42 +0000)]
scm: git: override entries() in model for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5655
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 11:42:24 +0000 (11:42 +0000)]
scm: git: use report_last_commit option in unit adapter test (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5654
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 07:30:22 +0000 (07:30 +0000)]
scm: code clean up repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5653
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 06:13:23 +0000 (06:13 +0000)]
scm: git: fix indent in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5652
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 05:34:16 +0000 (05:34 +0000)]
PDF: wrap title fields properly (#8295).
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5651
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 04:23:23 +0000 (04:23 +0000)]
scm: remove trailing white-spaces in unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 04:23:07 +0000 (04:23 +0000)]
scm: mercurial: fix unit model test fails if hg command is unavailable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5649
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 04:22:49 +0000 (04:22 +0000)]
scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5648
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 5 May 2011 01:30:24 +0000 (01:30 +0000)]
scm: code clean up repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5647
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 23:38:11 +0000 (23:38 +0000)]
scm: git: add comments of revision order in fetch_changesets().
Related issues.
#5357, #6013, #7146, #4773, #4547, #1406, #3449, #3567.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5644
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 23:36:57 +0000 (23:36 +0000)]
scm: git: rearrange fetch_changesets() comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5643
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 18:09:13 +0000 (18:09 +0000)]
scm: git: call entries_git() in adapter entry() for browsing tree performance (#7047).
cat/diff/blame link calls adapter entry().
Abstract adapter entry() calls adapter entries().
Git adapter entries() is very slow.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5642
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 18:08:30 +0000 (18:08 +0000)]
scm: git: call entries_git() in adapter entriese() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5641
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 18:07:50 +0000 (18:07 +0000)]
scm: git: override adapter entry() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5640
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 18:07:15 +0000 (18:07 +0000)]
scm: git: split adapter entries() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5639
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 14:11:25 +0000 (14:11 +0000)]
scm: add "options" parameter in adapter entries().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5638
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 13:16:10 +0000 (13:16 +0000)]
scm remove trailing white-spaces in abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5637
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 08:26:38 +0000 (08:26 +0000)]
scm: subversion: set available version above 1.3 (#4273, #1604).
"--xml" options are introduced in 1.3.
http://subversion.apache.org/docs/release-notes/1.3.html
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5636
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 08:25:04 +0000 (08:25 +0000)]
scm: subversion: fix newline 'LF' to 'CRLF' and remove trailing white-space.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5635
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 07:50:05 +0000 (07:50 +0000)]
scm: update locales of the feature of SCM command availability automatic check in administration panel (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5634
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 07:49:39 +0000 (07:49 +0000)]
scm: add Japanese translation of the feature of SCM command availability automatic check in administration panel (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5633
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 07:49:02 +0000 (07:49 +0000)]
scm: add the feature of SCM command availability automatic check in administration panel (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5632
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 06:35:49 +0000 (06:35 +0000)]
scm: refactor projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5631
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 05:02:44 +0000 (05:02 +0000)]
scm: cvs: fix loss non ASCII paths if path_encoding is '' (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5630
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 05:02:01 +0000 (05:02 +0000)]
scm: filesystem: fix loss non ASCII paths if path_encoding is '' (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5629
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 05:01:28 +0000 (05:01 +0000)]
scm: git: fix loss non ASCII paths if path_encoding is '' (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5628
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 05:00:57 +0000 (05:00 +0000)]
scm: mercurial: fix loss non ASCII paths if path_encoding is '' (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5627
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 05:00:16 +0000 (05:00 +0000)]
scm: code clean up projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5626
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 04:59:28 +0000 (04:59 +0000)]
scm: set disable a button if scm is not selected in project scm setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5625
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 03:44:10 +0000 (03:44 +0000)]
scm: git: refactor saving a revision in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5624
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 00:33:11 +0000 (00:33 +0000)]
Fix a typo in Czech localization (#8285, #7390).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5621
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 4 May 2011 00:32:41 +0000 (00:32 +0000)]
Simplified Chinese translation updated by Sam Qiu (#8286).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5620
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 3 May 2011 07:33:46 +0000 (07:33 +0000)]
scm: code clean up app/views/projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5619
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 3 May 2011 07:33:19 +0000 (07:33 +0000)]
scm: code clean up RepositoriesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5618
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 3 May 2011 07:32:50 +0000 (07:32 +0000)]
scm: code clean up RepositoriesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5617
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 2 May 2011 23:07:38 +0000 (23:07 +0000)]
scm: space cleanup in unit repository test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5615
e93f8b46-1217-0410-a6f0-
8f06a7374b81