Toshi MARUYAMA
b235e36946
scm: git: unit model latin-1 path encoding test passes on Japanese Windows ( #5251 ).
...
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:14:17 +00:00
Toshi MARUYAMA
74f44a5b6a
scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows ( #5251 ).
...
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:13:58 +00:00
Toshi MARUYAMA
f9717c0bda
scm: git: fix PortgreSQL functional test fails ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 01:25:40 +00:00
Toshi MARUYAMA
16be7f2e30
scm: git: switch "-c core.quotepath=false" in git version above 1.7.2 or not ( #5251 ).
...
The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 23:30:29 +00:00
Toshi MARUYAMA
779cab05f8
scm: git: change core.quotepath to false in test repository config ( #5251 ).
...
The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 23:18:27 +00:00
Toshi MARUYAMA
45239fcb0a
scm: git: add reverse log test in unit adapter test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 15:05:41 +00:00
Toshi MARUYAMA
f36f5d0fee
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 13:22:53 +00:00
Toshi MARUYAMA
4f5f98220e
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:45:32 +00:00
Toshi MARUYAMA
15ebb42579
scm: git: add path encoding select box at setting ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:56 +00:00
Toshi MARUYAMA
084bdd7559
scm: git: add latin-1 encoding directory test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:35 +00:00
Toshi MARUYAMA
4e0031a8f0
scm: git: add latin-1 encoding directory test in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:14 +00:00
Toshi MARUYAMA
de71851e98
scm: git: fix latin-1 directory entries() in adapter ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 11:13:18 +00:00
Toshi MARUYAMA
266e33b5f1
scm: git: add latin-1 encoding directory to test repository ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 11:01:51 +00:00
Toshi MARUYAMA
d5b268129c
scm: mercurial: add latin-1 encoding directory to test repository ( #2664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 10:35:48 +00:00
Toshi MARUYAMA
e2adda86c2
scm: git: add latest changesets path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:25 +00:00
Toshi MARUYAMA
7d47bf8a7f
scm: git: prepare path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:04 +00:00
Toshi MARUYAMA
7c7bbf6d18
scm: git: add latest changesets branch test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:46 +00:00
Toshi MARUYAMA
71ac6a29f0
scm: git: add latest changesets tag test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:25 +00:00
Toshi MARUYAMA
cc6931f58d
scm: git: add latest changesets limit test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:04 +00:00
Toshi MARUYAMA
d0324858c1
scm: git: remove Setting.commit_logs_encoding from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:29 +00:00
Toshi MARUYAMA
c95e4fbea9
scm: git: add latest changesets test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:05 +00:00
Toshi MARUYAMA
c381ce10e4
scm: git: prepare path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:49:44 +00:00
Toshi MARUYAMA
3abdd84a49
scm: git: add tests for path encoding entries() in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:38:23 +00:00
Toshi MARUYAMA
3a39fc6176
scm: git: add core.quotepath = false to run git command ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:38:00 +00:00
Toshi MARUYAMA
d03dd88717
scm: git: add tests for branch entries() in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:39 +00:00
Toshi MARUYAMA
6d763215a9
scm: git: add tests for tag entries() in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:18 +00:00
Toshi MARUYAMA
9294fb4699
scm: git: use scm_cmd() in adapter tags().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:53 +00:00
Toshi MARUYAMA
0e32fcf93e
scm: git: add tags test in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:30 +00:00
Toshi MARUYAMA
04aca2fcb9
scm: git: add tests for path encoding cat, diff and blame in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:07 +00:00
Toshi MARUYAMA
dc4ab44938
scm: git: use scm_cmd() in adapter branches().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 05:18:04 +00:00
Toshi MARUYAMA
7e6a5ec7ab
scm: git: support path encoding in adapter cat ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 05:17:43 +00:00
Toshi MARUYAMA
c809c0c498
scm: git: support path encoding in adapter blame ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 05:17:22 +00:00
Toshi MARUYAMA
c4b84ec510
scm: git: support path encoding in adapter entries() ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 04:50:48 +00:00
Toshi MARUYAMA
5086bc4383
scm: git: support path encoding in adapter diff ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 04:50:28 +00:00
Toshi MARUYAMA
32bd4ec0b4
scm: git: support path encoding in adapter revisions() ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 04:50:06 +00:00
Toshi MARUYAMA
10830d4dd3
scm: git: add two tags to test repository.
...
One is lightweight, another is annotated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:52:33 +00:00
Toshi MARUYAMA
08ee6a3932
scm: git: convert path encoding in "git log" ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:29:58 +00:00
Toshi MARUYAMA
3c0fdd4938
scm: git: add instance variable for path encoding in adapter ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:29:36 +00:00
Toshi MARUYAMA
a1364ed2b8
scm: git: code clean up adapter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:29:11 +00:00
Toshi MARUYAMA
daac76f1b6
scm: git: update test repository for path encoding ( #5251 ).
...
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.
Please see r4996 comment.
I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 23:47:25 +00:00
Jean-Philippe Lang
5aca773ff9
CHANGELOG updated.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 19:26:24 +00:00
Toshi MARUYAMA
984cb589ef
scm: git: remove "core.quotepath = true" to run git command ( #5251 ).
...
If path encoding is UTF-8, git adapter may run on Linux.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 14:09:29 +00:00
Toshi MARUYAMA
30063d14c1
scm: git: use core.quotepath = true to run git command for database safety ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:46:42 +00:00
Toshi MARUYAMA
5d9962751c
scm: git: backout r5026 ( #5251 ).
...
In case git repository contains latin-1 path,
although Redmine uses "git log -C core.quotepath=false --encoding=UTF-8",
log encoding is latin-1.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:46:21 +00:00
Toshi MARUYAMA
3a56e1eeab
scm: git: update test repository for path encoding ( #5251 ).
...
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.
Please see r4996 comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:15:04 +00:00
Toshi MARUYAMA
90d4447bd3
scm: git: change core.quotepath = true temporarily to run git command ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:14:44 +00:00
Toshi MARUYAMA
fce4dcb5a6
scm: git: add core.quotepath = false to run git command ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 12:42:14 +00:00
Toshi MARUYAMA
827efee243
scm: git: add core.quotepath = true in test repository config ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 12:41:52 +00:00
Jean-Philippe Lang
334132289c
Fixed: error on JournalsController#index when custom fields are present ( #7795 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-06 16:04:35 +00:00
Jean-Philippe Lang
0df520961c
Updates for 1.1.2 release.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-06 13:18:33 +00:00