Skip to content

Commit

Permalink
- Add UTF-8 support natively on terminal
Browse files Browse the repository at this point in the history
- Code structure enhancements
- Use exception as cancellation mechanism
- Add more user-friendly warnings
- Add Google Code Style
- Add JavaDocs
- Fix wrong maven folder structure
  • Loading branch information
FelipeKobra committed Jan 17, 2025
1 parent 1260371 commit 0a6223b
Show file tree
Hide file tree
Showing 41 changed files with 1,799 additions and 1,151 deletions.
18 changes: 18 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,34 @@

### Enhancements

- Use GraalVM instead of Launch4j for creating Windows native images. Launch4j made necessary for the user to have JRE
-- Commit 2 --

- Add UTF-8 support natively on terminal
- Code structure enhancements
- Use exception as cancellation mechanism
- Add more user-friendly warnings
- Add Google Code Style
- Add JavaDocs
- Faster resource closing on Server and Client classes

-- [Commit 1](https://github.com/FelipeKobra/JMessenger/commit/1260371d40a75ea7e6108d8e7c3683d85e746ee1) --

- Use GraalVM instead of Launch4j for creating Windows native images. Launch4j made necessary for
the user to have JRE
- Added JLine in bundles for better compatibility with the native image build
- Change Deprecated JLine Jansi to JNI Version

### Bug Fixes

-- [Commit 1](https://github.com/FelipeKobra/JMessenger/commit/1260371d40a75ea7e6108d8e7c3683d85e746ee1) --

- Fixed showing terminal buffered messages a lot of times on closing the server
- No more Exceptions when exiting of the application via `CTRL + C`

-- Commit 2 --

- Fix wrong maven folder structure

## [0.0.2](https://github.com/FelipeKobra/JMessenger/tree/v0.0.2) - January 12, 2025

### Enhancements
Expand Down
21 changes: 1 addition & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<p align="center"><img src="src/main/resources/images/command.png" alt="command"></p>
<h1 align="center">JMessenger</h1>

**JMessenger** is a terminal-based chat application that allows you to communicate seamlessly with others over
**JMessenger** is a terminal-based chatUtils application that allows you to communicate seamlessly with others over
the internet. It supports both client and server functionalities, making it easy to set up and use.

## Table of Contents

- [Notes](#notes)
- [Installation](#installation)
- [Usage](#usage)
- [UTF-8 Support](#utf-8-support)
- [Windows Executable](#windows-executable)
- [JAR](#jar)
- [Building](#building)
Expand All @@ -35,24 +34,6 @@ the internet. It supports both client and server functionalities, making it easy

## Usage

### UTF-8 Support

For being able to see emojis and different symbols on your terminal, you need to check it's encoding. For enabling
the UTF-8 Charset on the current terminal instance check some tips

- Powershell

```powershell
$OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = New-Object System.Text.UTF8Encoding
```

- Bash

```bash
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
```

### Windows Executable

Download the executable (`.exe`) from the [Releases](https://github.com/FelipeKobra/JavaTerminalChat/releases) section.
Expand Down
4 changes: 2 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- [ ] Notify clients when someone connects/disconnects
- [ ] Better warning when server not found on client instead of throwing an exception
- [ ] Make user terminal automatically support UTF8 Characters
- [X] Make user terminal automatically support UTF8 Characters
- [x] Disable Debug on native-image

## Administration
Expand All @@ -26,4 +26,4 @@
- [ ] User ban
- [ ] User unban
- [ ] View banned members
- [ ] Notify who is the admin on chat
- [ ] Notify who is the admin on chatUtils
Loading

0 comments on commit 0a6223b

Please sign in to comment.