Skip to content

Commit

Permalink
Replace DefaultCodeAreaCommandHandler with modified version that uses…
Browse files Browse the repository at this point in the history
… a FocusListener instead of a FlavorListener so that it does not pin the CodeArea into memory via the Clipboard.
  • Loading branch information
DolphFlynn committed Dec 3, 2023
1 parent 593ef75 commit 8ad91bd
Show file tree
Hide file tree
Showing 3 changed files with 998 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BappManifest.bmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Uuid: 26aaa5ded2f74beea19e2ed8345a93dd
ExtensionType: 1
Name: JWT Editor
RepoName: jwt-editor
ScreenVersion: 2.0.1
ScreenVersion: 2.0.2
SerialVersion: 6
MinPlatformVersion: 8
ProOnly: False
Author: Fraser Winterborn and Dolph Flynn.
ShortDescription: Edit, sign, verify, encrypt and decrypt JSON Web Tokens (JWTs).
EntryPoint: build/libs/jwt-editor-2.0.1.jar
EntryPoint: build/libs/jwt-editor-2.0.2.jar
BuildCommand: ./gradlew jar
SupportedProducts: Pro, Community
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group = 'com.blackberry'
version = '2.0.1'
version = '2.0.2'
description = 'jwt-editor'

repositories {
Expand Down Expand Up @@ -73,6 +73,17 @@ jar {
archiveBaseName = project.name
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
configurations.runtimeClasspath.collect {
it.isDirectory()
? it
: zipTree(it).matching({
exclude 'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler.class',
'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler$1.class',
'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler$2.class',
'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler$BinaryDataClipboardData.class',
'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler$ClipboardData.class',
'org/exbin/deltahex/swing/DefaultCodeAreaCommandHandler$CodeDataClipboardData.class'
})
}
}
}
Loading

0 comments on commit 8ad91bd

Please sign in to comment.