Skip to content

Commit

Permalink
chore: update repo URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Nov 4, 2024
1 parent 9d03268 commit c0eeb7a
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Before submitting a PR, please:
1. read the guidelines for contributions https://github.com/eclipse/tm4e/blob/main/CONTRIBUTING.md
1. read the guidelines for contributions https://github.com/eclipse-tm4e/tm4e/blob/main/CONTRIBUTING.md
2. ensure you signed the Eclipse Contributor Agreement https://www.eclipse.org/projects/handbook/#contributing-eca
3. prefix the PR title with one of these semantic labels:
- build:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Welcome to the Eclipse TM4E contributor land, and thanks in advance for your help in making Eclipse TM4E better and better!

🏠 The official Eclipse TM4E Git repository is https://github.com/eclipse/tm4e.
🏠 The official Eclipse TM4E Git repository is https://github.com/eclipse-tm4e/tm4e.


## ⚖️ Legal and Eclipse Foundation terms
Expand Down Expand Up @@ -98,7 +98,7 @@ Where

### ➕ Submit changes

TM4E only accepts contributions via GitHub Pull Requests against https://github.com/eclipse/tm4e repository.
TM4E only accepts contributions via GitHub Pull Requests against https://github.com/eclipse-tm4e/tm4e repository.

Before sending us a pull request, please ensure that:

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Eclipse TM4E - TextMate and language-configuration support for Java and in Eclipse IDE

[![GitHub Actions](https://github.com/eclipse/tm4e/actions/workflows/build.yml/badge.svg)](https://github.com/eclipse/tm4e/actions/workflows/build.yml)
[![GitHub Actions](https://github.com/eclipse-tm4e/tm4e/actions/workflows/build.yml/badge.svg)](https://github.com/eclipse-tm4e/tm4e/actions/workflows/build.yml)
[![Jenkins tests](https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Ftm4e%2Fjob%2FTM4E%2Fjob%2Fmain%2F&logo=jenkins&logoColor=white)](https://ci.eclipse.org/tm4e/job/TM4E/)
[![License](https://img.shields.io/github/license/eclipse/tm4e.svg?color=blue)](LICENSE)
[![License](https://img.shields.io/github/license/eclipse-tm4e/tm4e.svg?color=blue)](LICENSE)

TM4E brings Java API to tokenize textual documents according to TextMate grammars with an Eclipse IDE client that can do syntax highlighting according to this tokenization; and Eclipse IDE client for VSCode [Language Configuration](https://code.visualstudio.com/api/references/contribution-points#contributes.languages) to support matching bracket, auto close, on enter support.

Expand Down Expand Up @@ -77,9 +77,9 @@ Then you can reference the dependency in your pom.xml like so:
<a href="https://mickaelistria.github.io/redirctToEclipseIDECloneCommand/redirect.html"><img src="https://mickaelistria.github.io/redirctToEclipseIDECloneCommand/cloneToEclipseBadge.png" alt="Clone to Eclipse IDE"/></a>

The following class and modules should be used as entry point provides:
- [org.eclipse.tm4e.core](https://github.com/eclipse/tm4e/tree/main/org.eclipse.tm4e.core) provides the Java TextMate tokenizer. This project is a Java port of [vscode-textmate](https://github.com/Microsoft/vscode-textmate) written in TypeScript. This Java API can be used with any Java UI Toolkit (Swing, Eclipse, etc). See [Core](https://github.com/eclipse/tm4e/wiki/Core) section for more information.
- [org.eclipse.tm4e.ui](https://github.com/eclipse/tm4e/tree/main/org.eclipse.tm4e.ui) provides the Eclipse **org.eclipse.jface.text.presentation.IPresentationReconciler** [TMPresentationReconciler](https://github.com/eclipse/tm4e/blob/main/org.eclipse.tm4e.ui/src/main/java/org/eclipse/tm4e/ui/text/TMPresentationReconciler.java) which is able to tokenize an editor content by using a given JSON, PList TextMate grammar and do syntax coloration. See [UI](https://github.com/eclipse/tm4e/wiki/UI) section for more information.
- [org.eclipse.tm4e.languageconfiguration](https://github.com/eclipse/tm4e/tree/main/org.eclipse.tm4e.languageconfiguration) provides the VSCode [Language Configuration](https://code.visualstudio.com/api/references/contribution-points#contributes.languages) to support matching bracket, auto close, on enter support with a simple **language-configuration.json**.
- [org.eclipse.tm4e.core](https://github.com/eclipse-tm4e/tm4e/tree/main/org.eclipse.tm4e.core) provides the Java TextMate tokenizer. This project is a Java port of [vscode-textmate](https://github.com/Microsoft/vscode-textmate) written in TypeScript. This Java API can be used with any Java UI Toolkit (Swing, Eclipse, etc). See [Core](https://github.com/eclipse-tm4e/tm4e/wiki/Core) section for more information.
- [org.eclipse.tm4e.ui](https://github.com/eclipse-tm4e/tm4e/tree/main/org.eclipse.tm4e.ui) provides the Eclipse **org.eclipse.jface.text.presentation.IPresentationReconciler** [TMPresentationReconciler](https://github.com/eclipse-tm4e/tm4e/blob/main/org.eclipse.tm4e.ui/src/main/java/org/eclipse/tm4e/ui/text/TMPresentationReconciler.java) which is able to tokenize an editor content by using a given JSON, PList TextMate grammar and do syntax coloration. See [UI](https://github.com/eclipse-tm4e/tm4e/wiki/UI) section for more information.
- [org.eclipse.tm4e.languageconfiguration](https://github.com/eclipse-tm4e/tm4e/tree/main/org.eclipse.tm4e.languageconfiguration) provides the VSCode [Language Configuration](https://code.visualstudio.com/api/references/contribution-points#contributes.languages) to support matching bracket, auto close, on enter support with a simple **language-configuration.json**.

An example with TypeScript:

Expand Down Expand Up @@ -111,9 +111,9 @@ Here are some projects that use tm4e:
## 👷 Get support and contribute

- **License**: TM4E is a community open-source project licensed under the [Eclipse Public License 2.0](LICENSE).
- **Support**: You can ask (and answer!) questions in the [GitHub discussions](https://github.com/eclipse/tm4e/discussions). Report bugs, and request features using [GitHub issues](https://github.com/eclipse/tm4e/issues).
- **Source Code**: This `github.com/eclipse/tm4e` repository is the reference repository to contribute to TM4E
- **Support**: You can ask (and answer!) questions in the [GitHub discussions](https://github.com/eclipse-tm4e/tm4e/discussions). Report bugs, and request features using [GitHub issues](https://github.com/eclipse-tm4e/tm4e/issues).
- **Source Code**: This `github.com/eclipse-tm4e/tm4e` repository is the reference repository to contribute to TM4E
- **Build**: Builds can be performed with a simple `./mvnw clean verify`
- **Continuous testing, integration and deployment** is performed by CI jobs at https://ci.eclipse.org/tm4e/ and https://github.com/eclipse/tm4e/actions
- **Continuous testing, integration and deployment** is performed by CI jobs at https://ci.eclipse.org/tm4e/ and https://github.com/eclipse-tm4e/tm4e/actions
- **Developers mailing-list**: Contributors are also expected to subscribe the [tm4e-dev mailing-list](https://dev.eclipse.org/mailman/listinfo/tm4e-dev).
- **Becoming a committer**: as usual with Eclipse.org projects, anyone who's made significant contributions and who's upheld quality standards alongside good judgement and open-mindedness.
26 changes: 13 additions & 13 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Eclipse TM4E: Release notes

> **IMPORTANT:** Releases and changelogs are now tracked via the [GitHub releases](https://github.com/eclipse/tm4e/releases) page. Older changelogs are listed below.
> **IMPORTANT:** Releases and changelogs are now tracked via the [GitHub releases](https://github.com/eclipse-tm4e/tm4e/releases) page. Older changelogs are listed below.
## 0.8.0

* 📅 Release Date: June 23th 2023
* All changes: https://github.com/eclipse/tm4e/compare/0.7.1...0.8.0
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.7.1...0.8.0


## 0.7.1

* 📅 Release Date: May 25th 2023
* All changes: https://github.com/eclipse/tm4e/compare/0.7.0...0.7.1
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.7.0...0.7.1


## 0.7.0

* 📅 Release Date: May 11th 2023
* All changes: https://github.com/eclipse/tm4e/compare/0.6.3...0.7.0
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.6.3...0.7.0

### Fixed
- On enter rule don't use the proper insert spaces / tab width when those settings are changed
Expand All @@ -34,22 +34,22 @@
## 0.6.3

* 📅 Release Date: March 16th 2023
* All changes: https://github.com/eclipse/tm4e/compare/0.6.2...0.6.3
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.6.2...0.6.3

Many bugfixes and dependency updates.


## 0.6.2

* 📅 Release Date: November 26th 2022
* All changes: https://github.com/eclipse/tm4e/compare/0.6.1...0.6.2
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.6.1...0.6.2

Many bugfixes and dependency updates.

## 0.6.1

* 📅 Release Date: September 14th 2022
* All changes: https://github.com/eclipse/tm4e/compare/0.6.0...0.6.1
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.6.0...0.6.1

#### Support for onEnterRules

Expand All @@ -58,7 +58,7 @@ The `onEnterRule` directive of language-configuration files is now honored, so n
## 0.6.0

* 📅 Release Date: June 23th 2022
* All changes: https://github.com/eclipse/tm4e/compare/0.4.5...0.6.0
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.4.5...0.6.0

#### Move to Java 17

Expand All @@ -82,7 +82,7 @@ Toggling comment, auto-closing pairs... got improved so they now feel more natur
## 0.4.5

* 📅 Release Date: May 11th 2022
* All changes: https://github.com/eclipse/tm4e/compare/0.4.3...0.4.5
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.4.3...0.4.5
* 0.4.4 release was skipped to align public and internal version numbers


Expand All @@ -93,7 +93,7 @@ Toggling comment, auto-closing pairs... got improved so they now feel more natur
## 0.4.3

* 📅 Release Date: 19th November 2021
* All changes: https://github.com/eclipse/tm4e/compare/0.4.2...0.4.3
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.4.2...0.4.3

#### Support locations outside a local file system

Expand All @@ -115,14 +115,14 @@ By default, TM4E now decides of the best theme to use according to the backgroun
## 0.4.2

* 📅 Release Date (tentative): 6th September 2021
* All changes: https://github.com/eclipse/tm4e/compare/0.4.1...0.4.2
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.4.1...0.4.2

No new feature, numerous bugfixes and code improvements.

## 0.4.1

* 📅 Release Date: 27th August 2020
* All changes: https://github.com/eclipse/tm4e/compare/0.4.0...0.4.1
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.4.0...0.4.1

#### Users can add TextMate theme

Expand All @@ -131,7 +131,7 @@ It's not possible for users to add extra TextMate theme to use in their IDE via
## 0.4.0

* 📅 Release Date: 21st November 2019
* All changes: https://github.com/eclipse/tm4e/compare/0.3.4...0.4.0
* All changes: https://github.com/eclipse-tm4e/tm4e/compare/0.3.4...0.4.0

#### Improve logging mechanism

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class RawCaptures extends PropertySettable.HashMap<IRawRule> implements IR
try {
return get(captureId);
} catch (final ClassCastException ex) {
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse/tm4e/issues/754
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse-tm4e/tm4e/issues/754
LOGGER.log(Level.ERROR, "Unexpected ClassCastException in RawCaptures.getCapture(\"" + captureId + "\")", ex);
throw ex;
}
Expand All @@ -44,7 +44,7 @@ public void forEachCapture(final BiConsumer<String, IRawRule> action) {
try {
action.accept(captureId, (IRawRule) rule);
} catch (final ClassCastException ex) {
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse/tm4e/issues/754
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse-tm4e/tm4e/issues/754
LOGGER.log(Level.ERROR, "Unexpected ClassCastException in RawCaptures.getCapture(\"" + captureId + "\")", ex);
throw ex;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public IRawRule getRule(final String name) {
try {
return get(name);
} catch (final ClassCastException ex) {
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse/tm4e/issues/754
// log ClassCastException with some context, to better troubleshoot issues like https://github.com/eclipse-tm4e/tm4e/issues/754
LOGGER.log(Level.ERROR, "Unexpected ClassCastException in RawRepository.getRule(\"" + name + "\")", ex);
throw ex;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private Regex parsePattern(final String pattern, final boolean ignoreCase) throw
* Rewrites the given pattern to workaround limitations of the joni library which for example does not support
* negative variable-length look-behinds
*
* @see <a href="https://github.com/eclipse/tm4e/issues/677">github.com/eclipse/tm4e/issue/677</a>
* @see <a href="https://github.com/eclipse-tm4e/tm4e/issues/677">github.com/eclipse-tm4e/tm4e/issue/677</a>
*/
private String rewritePatternIfRequired(final String pattern) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* Contributors:
* - Angelo Zerr <[email protected]> - initial API and implementation, see
* https://github.com/eclipse/tm4e/blob/95c17ade86677f3e2fd32e76222f71adfce18371/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/parser/PList.java
* https://github.com/eclipse-tm4e/tm4e/blob/95c17ade86677f3e2fd32e76222f71adfce18371/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/parser/PList.java
* - Sebastian Thomschke (Vegard IT) - major rewrite to support more configuration variants
*/
package org.eclipse.tm4e.core.internal.parser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ public class TMPresentationReconciler implements IPresentationReconciler {
// TextMate tokens was not computed for this line.
// This case comes from when the viewer is invalidated (by
// validation for instance) and textChanged is called.
// see https://github.com/eclipse/tm4e/issues/78
// see https://github.com/eclipse-tm4e/tm4e/issues/78
TMUIPlugin.trace("TextMate tokens not available for line " + line);
break;
}
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.tm4e.language_pack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Syntax highlighting and more for about 40 programming languages and file formats
[TextMate grammars](https://en.wikipedia.org/wiki/TextMate#Language_Grammars) and
[language configurations](https://code.visualstudio.com/api/language-extensions/language-configuration-guide)
taken from [Visual Studio Code](https://github.com/microsoft/vscode/tree/main/extensions) and
provided as a plugin based on [Eclipse tm4e](https://github.com/eclipse/tm4e)
provided as a plugin based on [Eclipse tm4e](https://github.com/eclipse-tm4e/tm4e)
for the [Eclipse IDE](https://eclipseide.org).


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private DefaultCharacterPairMatcher getMatcher(final IDocument document) {
final var bracketsChars = new char[surroundingBracketsChars.length()];
surroundingBracketsChars.getChars(0, surroundingBracketsChars.length(), bracketsChars, 0);
// TODO handle surroundingQuotesChars, DefaultCharacterPairMatcher cannot handle pairs correctly when open and close chars
// are identically, see https://github.com/eclipse/tm4e/issues/470
// are identically, see https://github.com/eclipse-tm4e/tm4e/issues/470
this.matcher = matcher = new DefaultCharacterPairMatcher(bracketsChars);
}
}
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<maven.minimum.version>3.9.5</maven.minimum.version>
<tycho-version>4.0.9</tycho-version>
<sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
<tycho.scmUrl>scm:git:https://github.com/eclipse/tm4e.git</tycho.scmUrl>
<tycho.scmUrl>scm:git:https://github.com/eclipse-tm4e/tm4e.git</tycho.scmUrl>
<tycho-surefire-plugin.vmargs></tycho-surefire-plugin.vmargs>
<jgit.dirtyWorkingTree>error</jgit.dirtyWorkingTree>
<tm4e.target-platform>oldest</tm4e.target-platform>
Expand Down Expand Up @@ -51,9 +51,9 @@
</modules>

<scm>
<url>https://github.com/eclipse/tm4e</url>
<connection>scm:git:https://github.com/eclipse/tm4e</connection>
<developerConnection>scm:git:https://github.com/eclipse/tm4e</developerConnection>
<url>https://github.com/eclipse-tm4e/tm4e</url>
<connection>scm:git:https://github.com/eclipse-tm4e/tm4e</connection>
<developerConnection>scm:git:https://github.com/eclipse-tm4e/tm4e</developerConnection>
</scm>

<dependencies>
Expand Down

0 comments on commit c0eeb7a

Please sign in to comment.