Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
2e7bed61d8
#3464 add diff signs which does not have inline diff
8 years ago
Unknwon
2a25d37d02
#3464 reproduce diff signs
Commited wrong file.
8 years ago
Unknwon
0c19e1f0ec
Web editor: improve edit file and diff preview
8 years ago
Andrey Nering
13899f1b5f
Improve diff highlight ( #3390 )
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
8 years ago
Unknwon
b4596dc0d4
#3345 dump content directly to HTTP ResponseWriter
9 years ago
Dennis Chen
72344d71dd
Diff patch ( #3345 )
* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
9 years ago
Siarhei Navatski
5699e25718
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
9 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Andrey Nering
6b296dbf42
Little refactoring of diff highlight.
Moving cache variable to template instead of in the struct.
9 years ago
Andrey Nering
a00f3969c0
Enable sintax highlighting on diff view. Close #733
9 years ago
Andrey Nering
8320b077a0
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Unknwon
516b391372
roll back a small change
9 years ago
Unknwon
c2e9264310
minor fix to #2335
9 years ago
Andrey Nering
ecfdb4ceb5
Fix: now highlights in diff view are getting the correct lines.
9 years ago
Andrey Nering
d3ae762f35
Semantic fixes.
9 years ago
Andrey Nering
183ee384c7
Declaring specific types for enums constants.
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
9 years ago
Andrey Nering
000931e238
Highlighting differences of lines in the diff view.
9 years ago
Unknwon
8dd298d54e
#2185 fall back to use custom chardet lib
9 years ago
Unknwon
8ac9d9b4c7
rename import path
9 years ago
Unknwon
11425263a3
fix huge diff hangs
9 years ago
Unknwon
84a9c474be
#2185 use Go sub-repo to detect encoding
9 years ago
Unknwon
04efaf4efd
#2071 Diff is not showing full content when has super long one line
9 years ago
Unknwon
8b6b23a40d
better escape char handle
9 years ago
Unknwon
12cad18886
rename fields
9 years ago
Unknwon
b09f487d65
#1838 update merge base before generate new patch
9 years ago
Unknwon
37bc800abb
fix #1078
9 years ago
Unknwon
83cf28f44b
#1790 fast return for too large diff
9 years ago
Unknwon
c29e2a313e
more on #966
9 years ago
Vladimir Vissoultchev
ccbc350c6b
Partial impl of git diff encoding
10 years ago
Vladimir Vissoultchev
db8ac06b42
Allow spaces in file/dir names on parsing git diff
10 years ago
Tony Tsang
b6fb5371ce
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
10 years ago
Unknwon
bba401a5dc
Prepare 0.5 release
10 years ago
Christopher Brickley
00a864e693
add commit compare functionality
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
097c8e05e6
Able to set timeout for process monitor
11 years ago
Unknown
f147ad619a
Basic process manager
11 years ago
Unknown
6696610aea
Fix zombie
11 years ago
Unknown
98dbbae2ef
Fix #166
11 years ago
Unknown
c3a52f7dd0
Mirror bug fix on downloading zip
11 years ago
slene
52b4ab2aa5
update with new git
11 years ago