<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/lexers/javascript.py, branch 2.4.2</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Fixup all headers and some more minor problems.</title>
<updated>2019-05-28T05:00:40+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-05-28T05:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=597020d4ce90505dad8b850eadafd20f06bf1dc9'/>
<id>597020d4ce90505dad8b850eadafd20f06bf1dc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'of' to TypeScript grammar (fixes #1515.)</title>
<updated>2019-05-18T11:56:28+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-05-18T11:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=1a2be551606e6ac32b4bfa0cb45e442aac9275e9'/>
<id>1a2be551606e6ac32b4bfa0cb45e442aac9275e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #1498.</title>
<updated>2019-03-06T18:47:03+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-03-06T18:47:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=9a5bd4fc4ffea841469a992f79419d837a649699'/>
<id>9a5bd4fc4ffea841469a992f79419d837a649699</id>
<content type='text'>
.typoscript is used for TypoScript files, removing the ambiguity with
TypeScript.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.typoscript is used for TypoScript files, removing the ambiguity with
TypeScript.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make TypeScript the default for .ts files.</title>
<updated>2019-02-12T15:00:40+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-02-12T15:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=e9baad765b22ab24846bab58906c9c1d0349cec0'/>
<id>e9baad765b22ab24846bab58906c9c1d0349cec0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge heads.</title>
<updated>2018-11-28T15:11:03+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2018-11-28T15:11:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=0963c0f6c6b3ddfe317fbeee7b956262e95ff4cf'/>
<id>0963c0f6c6b3ddfe317fbeee7b956262e95ff4cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minimal fixup changes for the release, add release date.</title>
<updated>2018-11-25T07:37:32+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2018-11-25T07:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=6430387018965d6340ae47055e69b4d99d469daf'/>
<id>6430387018965d6340ae47055e69b4d99d469daf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix remaining 'DeprecationWarning: invalid escape sequence' occurrences in lexer files</title>
<updated>2018-06-19T19:05:00+00:00</updated>
<author>
<name>Andreas Kloeckner</name>
<email>inform@tiker.net</email>
</author>
<published>2018-06-19T19:05:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=6de7d2347cbd833ba562ff9fb75deed5f9777316'/>
<id>6de7d2347cbd833ba562ff9fb75deed5f9777316</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in chipx86/pygments-main/typescript-vs-typoscript (pull request #693)</title>
<updated>2017-01-22T21:01:13+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2017-01-22T21:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=b9aeb678a288cd7f394d4f91ea212e2ad629e4b7'/>
<id>b9aeb678a288cd7f394d4f91ea212e2ad629e4b7</id>
<content type='text'>
Implement guessing and resolution between TypeScript and TypoScript.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement guessing and resolution between TypeScript and TypoScript.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the fallback values from the new analyse_text changes.</title>
<updated>2017-01-22T20:30:00+00:00</updated>
<author>
<name>Christian Hammond</name>
<email>christian@beanbaginc.com</email>
</author>
<published>2017-01-22T20:30:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=7b0550d47360d0b7b814cbb2a82c83584ca83c3c'/>
<id>7b0550d47360d0b7b814cbb2a82c83584ca83c3c</id>
<content type='text'>
These values would trigger problems when guessing content without a filename,
and really aren't needed. They've been removed, allowing the standard behavior
to take place.

On top of this, the regex for TypeScript has been slightly altered to include
a whitespace match after "export" to be within the group for the "export"
text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These values would trigger problems when guessing content without a filename,
and really aren't needed. They've been removed, allowing the standard behavior
to take place.

On top of this, the regex for TypeScript has been slightly altered to include
a whitespace match after "export" to be within the group for the "export"
text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement guessing and resolution between TypeScript and TypoScript.</title>
<updated>2017-01-22T19:35:31+00:00</updated>
<author>
<name>Christian Hammond</name>
<email>christian@beanbaginc.com</email>
</author>
<published>2017-01-22T19:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=4a6c8b3897134e768c66f96f8351fef28198d235'/>
<id>4a6c8b3897134e768c66f96f8351fef28198d235</id>
<content type='text'>
The new TypoScript lexer was taking precedence over TypeScript, which share
the same file extension. This meant that any previously-working TypeScript
source files would be misidentified and highlighted incorrectly. This was due
to the lack of a guesser for TypeScript, and TypoScript having a naturally
higher priority.

This change balances things a bit between the lexers. TypoScript now has an
explicitly-higher priority than TypeScript, both for the file extension and
defaults when guessing content, as it has less we can rely on in terms of
content. TypeScript has a lower priority, but has an analyse_text() method
that checks for common symbols in code, giving it a better chance of matching
for actual TypeScript source files.

TypeScript also gains an additional file extension, *.tsx. Ideally, this would
have its own lexer that understood inline JSX syntax, but giving general
TypeScript syntax highlighting for these files is a step in the right
direction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new TypoScript lexer was taking precedence over TypeScript, which share
the same file extension. This meant that any previously-working TypeScript
source files would be misidentified and highlighted incorrectly. This was due
to the lack of a guesser for TypeScript, and TypoScript having a naturally
higher priority.

This change balances things a bit between the lexers. TypoScript now has an
explicitly-higher priority than TypeScript, both for the file extension and
defaults when guessing content, as it has less we can rely on in terms of
content. TypeScript has a lower priority, but has an analyse_text() method
that checks for common symbols in code, giving it a better chance of matching
for actual TypeScript source files.

TypeScript also gains an additional file extension, *.tsx. Ideally, this would
have its own lexer that understood inline JSX syntax, but giving general
TypeScript syntax highlighting for these files is a step in the right
direction.
</pre>
</div>
</content>
</entry>
</feed>
