Sandro Santilli
3fba29c571
Expand documentations
пре 7 година
Sandro Santilli
6e644726d0
Lint git_diff.go
Semi-automatic linting (don't really document things)
пре 7 година
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
пре 7 година
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
пре 7 година
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
пре 7 година
Sandro Santilli
f14232d2e9
This one I overlooked before
пре 7 година
Sandro Santilli
f6a11e0de1
More MixedCase consts
пре 7 година
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
пре 7 година
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
пре 7 година
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
пре 7 година
Unknwon
b1504ed99a
#3464 add diff signs which does not have inline diff
пре 7 година
Unknwon
9349def72e
#3464 reproduce diff signs
Commited wrong file.
пре 7 година
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
пре 7 година
Andrey Nering
2772791fda
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 година
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
пре 8 година
Dennis Chen
dfab54d5a2
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>
пре 8 година
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097)
пре 8 година
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)
пре 8 година
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
Moving cache variable to template instead of in the struct.
пре 8 година
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
пре 8 година
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
пре 8 година
Unknwon
8a93113192
roll back a small change
пре 8 година
Unknwon
86bce4a2ae
minor fix to #2335
пре 8 година
Andrey Nering
697b0e2aba
Fix: now highlights in diff view are getting the correct lines.
пре 8 година
Andrey Nering
bf11ad19ea
Semantic fixes.
пре 8 година
Andrey Nering
81ed5c4bee
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.
пре 8 година
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
пре 8 година
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
пре 8 година
Unknwon
19423957b1
rename import path
пре 8 година
Unknwon
50264200f0
fix huge diff hangs
пре 8 година
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
пре 8 година
Unknwon
926e91820a
#2071 Diff is not showing full content when has super long one line
пре 8 година
Unknwon
902b578465
better escape char handle
пре 8 година
Unknwon
3a81fdf092
rename fields
пре 8 година
Unknwon
25ec20d525
#1838 update merge base before generate new patch
пре 8 година
Unknwon
bc82157216
fix #1078
пре 8 година
Unknwon
6599869f28
#1790 fast return for too large diff
пре 8 година
Unknwon
9b42f53aa8
more on #966
пре 9 година
Vladimir Vissoultchev
4917d29c12
Partial impl of git diff encoding
пре 9 година
Vladimir Vissoultchev
fac4e27882
Allow spaces in file/dir names on parsing git diff
пре 9 година
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
пре 9 година
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
пре 9 година
Unknwon
9a1fe801e5
fix #711
пре 9 година
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
пре 9 година
Unknwon
bba401a5dc
Prepare 0.5 release
пре 9 година
Christopher Brickley
00a864e693
add commit compare functionality
пре 9 година
Unknwon
8dd07c0ddd
New UI merge in progress
пре 10 година
Unknown
097c8e05e6
Able to set timeout for process monitor
пре 10 година
Unknown
f147ad619a
Basic process manager
пре 10 година
Unknown
6696610aea
Fix zombie
пре 10 година