Re: Diff script for ZIP files
Daniel Sahlberg via TortoiseSVN-dev <[email protected]> Sat, 14 Sep 2024 05:39:36 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.subversion.tortoisesvn.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_78282_1133053733.1726317576856
Content-Type: multipart/alternative;
boundary="----=_Part_78283_806145578.1726317576856"
------=_Part_78283_806145578.1726317576856
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
l=C3=B6rdag 14 september 2024 kl. 08:19:28 UTC+2 skrev Stefan:
your script look very good. I'm all for it to include it in TSVN.
However, your script is in VBScript, I would prefer using JScript instead.=
=20
Because VBScript is deprecated and will soon only be available as an=20
optional Windows component:
https://techcommunity.microsoft.com/t5/windows-it-pro-blog/vbscript-depreca=
tion-timelines-and-next-steps/ba-p/4148301
A good reason to practice some JavaScript skills. Script re-done and=20
committed in r29709.
As for a zip lib: we do have zlib linked in of course. But if we do support=
=20
zip in TMerge, we also should support 7z/gzip/rar/..., otherwise users will=
=20
keep requesting it ("you do support x, so please also do y").
Which would also be nice improvements. But it is a lot more work so I think=
=20
the diff-script solution is good enough.
I actually tried to make the diff-script work for 7z and tar files as well,=
=20
since the File Explorer now support those. But Shell.Application.NameSpace=
=20
didn't seem to want to open those files. I didn't dig any deeper though.
Kind regards,
Daniel
--=20
You received this message because you are subscribed to the Google Groups "=
TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
tortoisesvn-dev/2b27e86c-1bf4-4a27-8c46-423edddab39bn%40googlegroups.com.
------=_Part_78283_806145578.1726317576856
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div><div dir=3D"auto">l=C3=B6rdag 14 september 2024 kl. 08:19:28 UTC+2 skr=
ev Stefan:<br /></div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">your script look =
very good. I'm all for it to include it in TSVN.<div>However, your script i=
s in VBScript, I would prefer using JScript instead. Because VBScript is de=
precated and will soon only be available as an optional Windows component:<=
/div><div><a href=3D"https://techcommunity.microsoft.com/t5/windows-it-pro-=
blog/vbscript-deprecation-timelines-and-next-steps/ba-p/4148301" target=3D"=
_blank" rel=3D"nofollow">https://techcommunity.microsoft.com/t5/windows-it-=
pro-blog/vbscript-deprecation-timelines-and-next-steps/ba-p/4148301</a></di=
v></blockquote><div><br /></div><div>A good reason to practice some JavaScr=
ipt skills. Script re-done and committed in r29709.</div><div><br /></div><=
blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(2=
04, 204, 204); padding-left: 1ex;"><div>As for a zip lib: we do have zlib l=
inked in of course. But if we do support zip in TMerge, we also should supp=
ort 7z/gzip/rar/..., otherwise users will keep requesting it ("you do suppo=
rt x, so please also do y").<br /></div></blockquote><div><br /></div><div>=
Which would also be nice improvements. But it is a lot more work so I think=
the diff-script solution is good enough.</div><div><br /></div><div>I actu=
ally tried to make the diff-script work for 7z and tar files as well, since=
the File Explorer now support those. But Shell.Application.NameSpace didn'=
t seem to want to open those files. I didn't dig any deeper though.</div><d=
iv><br /></div><div>Kind regards,</div><div>Daniel</div><div><br /></div></=
div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;TortoiseSVN-dev" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">tor=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/tortoisesvn-dev/2b27e86c-1bf4-4a27-8c46-423edddab39bn%40googlegr=
oups.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/=
d/msgid/tortoisesvn-dev/2b27e86c-1bf4-4a27-8c46-423edddab39bn%40googlegroup=
s.com</a>.<br />
------=_Part_78283_806145578.1726317576856--
------=_Part_78282_1133053733.1726317576856--