Bartłomiej Wołyńczyk
4637dd151e
caching: add option to cache diffs for commits and pull requests.
...
- new option for vcs settings to enable caching of diffs and commits
- enables auditing of PR after closing it, and removing commits from source repo
- speed up for large PR upto 20x
- reduced memory usage
2018-04-17 18:46:20 +02:00
Marcin Kuzminski
9f286821ca
diffs: don't use recurred diffset attachment in diffs. This makes this structure much harder to
...
garbage collect since it was before infinitly recursed.
2018-04-10 17:46:15 +02:00
Marcin Kuzminski
4140f7b4eb
logging: don't use root logger on codeblocks
2018-02-16 16:11:09 +01:00
Marcin Kuzminski
db73f0fdd2
diffs: in case of text lexers don't do any HL because of pygments newline
...
conversion
- split fix for non-standard file endings, e.g only \r
- fixes #5422
2018-02-07 15:03:42 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
a794d219f5
diffs: fixed problem with rendering no newline at the end of file markers.
...
- fixes #5402
2017-11-19 15:23:38 +01:00
Marcin Kuzminski
8e40a60b08
comments: place the left over comments (outdated/misplaced) to the left or right pane.
...
So we don't loose the original context where they were placed.
2017-11-17 18:37:50 +01:00
Marcin Kuzminski
f53db19687
diffs: simplified the datastructure of fillediff. Hopefully this
...
will allow better Garbage Collection.
2017-06-28 14:03:57 +02:00
Marcin Kuzminski
4caf89accf
diffs: use custom lexer extraction in diffs to so it behaves consistently with
...
file source view.
2017-04-04 19:29:11 +02:00
Marcin Kuzminski
1b7412f886
annotations: fixed UI problems in annotation view for newer browsers.
2017-02-07 21:54:05 +01:00
Marcin Kuzminski
e7511ca6f6
pr-versioning: implemented versioning for pull requests.
...
- users can navigate via each version or generate diffs between versions
- diff between versions will show changed commits and partial diffs
- redone the UI for versioning a bit
- small UI fixes
2017-01-25 19:06:59 +01:00
Marcin Kuzminski
0cc8db7a02
diffs: switched lexer extraction to use single function in all places.
2017-01-25 13:52:47 +01:00
Marcin Kuzminski
c1855fb60c
diffs: optimize how lexer is fetche for rich highlight mode.
...
- speeds up initial diff creation significantly since lexer cache
is re used and we don't need to fetch lexer many times.
2017-01-25 16:39:02 +01:00
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
92864a9563
comments: save comments that are not rendered to be displayed as outdated.
...
- when comments that are not assigned to line are outdated this allows them
to be rendered still.
2016-12-22 19:58:16 +01:00
Marcin Kuzminski
bee9b1e921
diffs: fixed other file source when using pull requests. It must use
...
other repo for fetching proper commits.
2016-12-06 01:25:54 +01:00
Daniel Dourvaris
e97cb5ad1e
diffs: add comments to changeset diffs
2016-10-28 10:39:55 +03:00
Daniel Dourvaris
d1a7921cfc
diffs: add repo_name as parameter of diffset - fixes bug
...
where comparing different target/source repos had wrong diff links
2016-10-28 09:42:19 +03:00
Daniel Dourvaris
f7d846560f
ux: make 'no newline at end of file' message more pronounced in diffs
2016-10-25 17:24:56 +03:00
Daniel Dourvaris
12ebe4382a
diffs: replace compare controller with new html based diffs:
...
* side/side + unified support
* redesign of diff changes/operations
* added button to see file before the change
* auto collapses large diffs
refs #4232
2016-10-19 14:29:51 +03:00
Daniel Dourvaris
af4ba1eff5
codeblocks: add new code token rendering function that
...
supports diff and normal tokens.
2016-10-19 10:37:07 +03:00
Daniel Dourvaris
8f4e395877
annotations: replace annotated source code viewer with renderer
...
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00