Commit graph

771 commits

Author SHA1 Message Date
fpin
df005c3f06 fix #462: Info lines shrunk in right panel of side-by-side diff 2023-01-02 16:17:16 +01:00
Rodrigo Fernandes
7cd6bb9aff
Merge pull request #459 from rtfpessoa/dependabot/npm_and_yarn/decode-uri-component-0.2.2
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
2023-01-01 22:26:46 +00:00
dependabot[bot]
1167be6add
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 07:28:59 +00:00
Rodrigo Fernandes
7b6ee267af
Merge pull request #458 from ericcornelissen/check-hljs-once
Check if hljs is not null only once
2022-11-04 23:46:45 +00:00
Eric Cornelissen
3a480e4ab0 perf: check hljs is not null only once
Update the `highlightCode` method of `Diff2HtmlUI` to check if the hljs
reference is null only once (at the start). This address the "HACK"
comments by using a locally scoped variable for hljs. This way,
TypeScript is able to deduce that, after the initial null-check, hljs is
in fact not null.
2022-11-02 22:43:23 +01:00
Rodrigo Fernandes
6db4aae9e5
Merge pull request #456 from ericcornelissen/455-sticky-file-headers
Implement support for sticky file headers
2022-11-01 00:14:45 +00:00
Eric Cornelissen
4dae65d5c7 feat: enable sticky file headers by default
Update the stickyFileHeaders default value to `true` so that it is
enabled by default. Also correct the name of this option in the
documentation by adding the missing trailing "s".
2022-10-31 09:47:31 +01:00
Rodrigo Fernandes
35008fba4b
Merge pull request #457 from rtfpessoa/fix-side-by-side-margins-highlight-overrides
fix side by side margins and highlight usage of object instead of map
2022-10-30 20:34:38 +00:00
Rodrigo Fernandes
5ca9d22276 fix side by side margins and highlight usage of object instead of map 2022-10-30 20:31:33 +00:00
Eric Cornelissen
7d4a5dce6f feat: sticky file headers
Add support for sticky file headers by adding a `stickyFileHeaders`
option to the `Diff2HtmlUI`. By default this feature is disabled. Also
document this option in the README.

The feature is implemented through an optional CSS class on top of the
pre-existing `.d2h-file-header` class. The new class is added on all
file headers if the option is set to `true` (or the `stickyFileHeaders`
method is called).

This class, `.d2h-sticky-header`, has the minimum amount of styling to
get the desired effect. The `position` and `top` values make the headers
stick to the top as long as the wrapper is in the view. The `z-index`
value is needed to ensure the header is displayed over all other content
in the wrapper. In particular, from my testing in Firefox (106.0.2), the
line numbers would display over the header if the `z-index` value isn't
set.
2022-10-30 13:05:53 +01:00
Rodrigo Fernandes
59ff2956ab
Merge pull request #453 from rtfpessoa/fix-s3-website-release
fix website release
2022-10-23 18:42:22 +01:00
Rodrigo Fernandes
1a7612c0ff fix website release 2022-10-23 18:40:35 +01:00
Rodrigo Fernandes
86f43ba5ae
Merge pull request #452 from rtfpessoa/bump-deps
bump deps
2022-10-23 18:35:14 +01:00
Rodrigo Fernandes
f9d328e9b8
Merge pull request #451 from rtfpessoa/support-language-override
add support for language override
2022-10-23 18:35:04 +01:00
Rodrigo Fernandes
35e518fe4f bump deps 2022-10-23 18:31:07 +01:00
Rodrigo Fernandes
5373ae180b add support for language override 2022-10-23 18:26:19 +01:00
Rodrigo Fernandes
95e4c40a30
Merge pull request #450 from rtfpessoa/bump-deps
bump dependencies
2022-10-16 01:10:10 +01:00
Rodrigo Fernandes
a09d50a94f bump dependencies 2022-10-16 00:01:01 +01:00
Rodrigo Fernandes
26adbdb220
Merge pull request #447 from phaseOne/patch-1
Fix file collapse UI regression
2022-09-02 22:01:33 +01:00
Evan Bovie
a3a0385991 fix prettier complaint 2022-08-25 19:51:21 +00:00
Evan Bovie
a5e2fab2f1
Fix file collapse UI regression
Increase specificity of .d2h-d-none selector
2022-08-25 12:09:43 -07:00
Rodrigo Fernandes
0ed9e76a35
Merge pull request #444 from rtfpessoa/bump-deps
update dependencies
2022-07-24 18:57:20 +01:00
Rodrigo Fernandes
82a2da0033 update node versions 2022-07-24 18:49:57 +01:00
Rodrigo Fernandes
b164b511d8
Merge pull request #441 from m-masaki72/feature/set-parent-class-to-flex
Set display:flex to align inline-block elements
2022-07-24 18:34:43 +01:00
Rodrigo Fernandes
31a418601b force semver-regex update 2022-07-24 18:27:00 +01:00
Rodrigo Fernandes
93a53cdb4e force tercer update 2022-07-24 18:18:38 +01:00
Rodrigo Fernandes
1c59463034 update dependencies 2022-07-24 18:16:51 +01:00
森 雅希
41037b20f3 Set display:flex to align inline-block elements 2022-07-13 19:16:07 +09:00
Rodrigo Fernandes
e5c813949f
Merge pull request #432 from rtfpessoa/bump-deps
bump dependencies
2022-04-15 21:22:17 +01:00
Rodrigo Fernandes
4b9114afe5 bump node versions 2022-04-15 21:19:20 +01:00
Rodrigo Fernandes
7e3c867d74 bump dependencies 2022-04-15 21:05:09 +01:00
Rodrigo Fernandes
57ff821635
Merge pull request #431 from rtfpessoa/dependabot/npm_and_yarn/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6
2022-04-15 20:27:05 +01:00
Rodrigo Fernandes
50806ba4e7
Merge pull request #429 from rtfpessoa/dependabot/npm_and_yarn/node-forge-1.3.0
build(deps): bump node-forge from 1.2.1 to 1.3.0
2022-04-15 20:26:52 +01:00
dependabot[bot]
1275853d62
build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 09:38:43 +00:00
dependabot[bot]
95006629ec
build(deps): bump node-forge from 1.2.1 to 1.3.0
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 13:15:06 +00:00
Rodrigo Fernandes
e08596da35
Merge pull request #426 from rtfpessoa/rtfpessoa-patch-1
Add git-tabular-diff atom plugin to website
2022-02-09 21:53:10 +00:00
Rodrigo Fernandes
1f61965110
Add git-tabular-diff atom plugin to website 2022-02-09 21:53:02 +00:00
Rodrigo Fernandes
4067ecdb92
Merge pull request #425 from rtfpessoa/dependabot/npm_and_yarn/node-fetch-2.6.7
build(deps): bump node-fetch from 2.6.5 to 2.6.7
2022-01-30 17:39:47 +00:00
Rodrigo Fernandes
e1f641748a fix markdown formatting 2022-01-30 17:35:12 +00:00
dependabot[bot]
f5e1437f34
build(deps): bump node-fetch from 2.6.5 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-30 17:30:06 +00:00
Rodrigo Fernandes
c541b98e14
Merge pull request #423 from rtfpessoa/dependabot/npm_and_yarn/nanoid-3.2.0
build(deps): bump nanoid from 3.1.23 to 3.2.0
2022-01-30 17:25:22 +00:00
Rodrigo Fernandes
bc6ca55e8d
Update README.md 2022-01-28 23:14:42 +00:00
dependabot[bot]
2466a74fec
build(deps): bump nanoid from 3.1.23 to 3.2.0
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 01:08:50 +00:00
Rodrigo Fernandes
973842064c
Merge pull request #420 from rtfpessoa/dependabot/npm_and_yarn/node-forge-1.2.1
build(deps): bump node-forge from 0.10.0 to 1.2.1
2022-01-14 21:58:27 +00:00
dependabot[bot]
05c2915e59
build(deps): bump node-forge from 0.10.0 to 1.2.1
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 0.10.0 to 1.2.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/0.10.0...v1.2.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 18:38:56 +00:00
Rodrigo Fernandes
b0c5a70216
Merge pull request #419 from aantn/master
Add Robusta to list of projects using diff2html
2021-12-29 12:04:36 +00:00
Natan Yellin
2f832aa610
Add Robusta to list of projects using diff2html 2021-12-28 22:27:59 +02:00
Rodrigo Fernandes
6b2b9de2c2
Merge pull request #416 from bmuskalla/patch-1
Fix broken link to documentation
2021-11-26 22:36:54 +00:00
Benjamin Muskalla
1d5c2b67f2
Fix broken link to documentation
Fixes duplicate closing tag (which made the link not usable at all) and linked readme section to jump directly to docs
2021-11-25 16:40:41 +01:00
Rodrigo Fernandes
68395e5562
Merge pull request #413 from rtfpessoa/update-contributors
Update contributors
2021-10-29 23:01:28 +02:00