Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelachaux committed Oct 2, 2024
1 parent 8a415c2 commit fce0c7b
Show file tree
Hide file tree
Showing 18 changed files with 115 additions and 65 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ on:

jobs:
build:
name: "Build"
runs-on: windows-latest
name: "Build on ${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
uses: 4d/build4d-action@main
with:
product-line: vcs
version: vcs
build: official
token: ${{ secrets.DLTK }}

27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release
on:
release:
types: [published]
jobs:
publish:
name: Publish
runs-on: macos-latest
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
permissions:
contents: write # for asset upload
steps:
- name: Checkout
uses: actions/checkout@v4
- name: BuildAndPackage
uses: 4d/build4d-action@main
with:
product-line: vcs
version: vcs
build: official
token: ${{ secrets.DLTK }}
actions: "build,pack,sign,archive"
sign-certificate: "Vincent de Lachaux (DYRKW64QA9)"
- name: Upload
run: |
gh release upload ${{github.event.release.tag_name}} build/4DPop-XLIFF-Pro.zip
Binary file modified Build/4DPop-XLIFF-Pro.dmg
Binary file not shown.
Binary file modified Build/4DPop-XLIFF-Pro.zip
Binary file not shown.
Binary file modified Build/Components/4DPop XLIFF Pro.4dbase/4DPop XLIFF Pro.4DZ
Binary file not shown.
8 changes: 4 additions & 4 deletions Build/Components/4DPop XLIFF Pro.4dbase/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<key>CFBundleIdentifier</key>
<string>com.4D.4DPop XLIFF Pro</string>
<key>CFBundleGetInfoString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleLongVersionString</key>
<string>20R6 (102)</string>
<string>20R7 (103)</string>
<key>CFBundleName</key>
<string>4DPop XLIFF Pro</string>
<key>CFBundleDevelopmentRegion</key>
<string>French</string>
<key>CFBundleDisplayName</key>
<string>4DPop XLIFF Pro</string>
<key>CFBundleVersion</key>
<string>103</string>
<string>104</string>
<key>CFBundleShortVersionString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleExecutable</key>
<string>4DPop XLIFF Pro</string>
</dict>
Expand Down
Binary file modified Build/Components/4DPop XLIFF Pro.4dbase/Libraries/lib4d-arm64.dylib
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<key>CFBundleIdentifier</key>
<string>com.4D.4DPop XLIFF Pro</string>
<key>CFBundleGetInfoString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleLongVersionString</key>
<string>20R6 (102)</string>
<string>20R7 (103)</string>
<key>CFBundleName</key>
<string>4DPop XLIFF Pro</string>
<key>CFBundleDevelopmentRegion</key>
<string>French</string>
<key>CFBundleDisplayName</key>
<string>4DPop XLIFF Pro</string>
<key>CFBundleVersion</key>
<string>103</string>
<string>104</string>
<key>CFBundleShortVersionString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleExecutable</key>
<string>4DPop XLIFF Pro</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Project/4DPop XLIFF Pro.4DProject
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$comment": "The project file let you override the location for most folders",
"compatibilityVersion": 2000,
"$4DPopAppMakerToolVersion": "20R6"
"$4DPopAppMakerToolVersion": "20R7"
}
8 changes: 3 additions & 5 deletions Project/Sources/Classes/formDelegate.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ Class constructor($param)

End for

This:C1470._worker:=Null:C1517
This:C1470._callback:=Null:C1517
This:C1470._darkExtension:="_dark"
This:C1470.entryOrder:=[]

Expand Down Expand Up @@ -491,7 +489,7 @@ Function callWorker($method; $param; $param1; $paramN)
// .callWorker ( process : Integer ; method : Text ; param1, param2, …, paramN )
// ---------------------------------------------------------------------------------

C_VARIANT:C1683(${2})
_O_C_VARIANT:C1683(${2})

Check warning on line 492 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 492 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 492 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 492 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $2 should be declared in the prototype. (550.16)

var $code : Text
var $i : Integer
Expand Down Expand Up @@ -692,7 +690,7 @@ Function callMe($method : Text; $param1; $paramN)
.callMe ( method : Text ; param1, param2, …, paramN )
*/

C_VARIANT:C1683(${2})
_O_C_VARIANT:C1683(${2})

Check warning on line 693 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 693 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 693 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $2 should be declared in the prototype. (550.16)

Check warning on line 693 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $2 should be declared in the prototype. (550.16)

var $code : Text
var $i : Integer
Expand Down Expand Up @@ -744,7 +742,7 @@ Function callChild($subform; $method : Text; $param; $param1; $paramN)

// TODO:Returned value

C_VARIANT:C1683(${3})
_O_C_VARIANT:C1683(${3})

Check warning on line 745 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $3 should be declared in the prototype. (550.16)

Check warning on line 745 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $3 should be declared in the prototype. (550.16)

Check warning on line 745 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on macos-latest

The parameter $3 should be declared in the prototype. (550.16)

Check warning on line 745 in Project/Sources/Classes/formDelegate.4dm

View workflow job for this annotation

GitHub Actions / Build on windows-latest

The parameter $3 should be declared in the prototype. (550.16)

var $code; $target : Text
var $i : Integer
Expand Down
7 changes: 3 additions & 4 deletions Project/Sources/Classes/menu.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Class constructor($options)

This:C1470.__CLASS__:=OB Class:C1730(This:C1470)

This:C1470.ref:=Null:C1517
This:C1470.autoRelease:=True:C214
This:C1470.localize:=True:C214
This:C1470.metacharacters:=False:C215
Expand Down Expand Up @@ -110,7 +109,7 @@ Function release()
If (This:C1470._isMenu())

RELEASE MENU:C978(This:C1470.ref)
This:C1470.ref:=Null:C1517
This:C1470.ref:=""

End if

Expand Down Expand Up @@ -177,7 +176,7 @@ Function append($item; $param; $mark; $afterItem : Integer) : cs:C1710.menu
//______________________________________________________
Else

$t:=Get localized string:C991($item)
$t:=Localized string:C991($item)

//______________________________________________________
End case
Expand Down Expand Up @@ -1202,7 +1201,7 @@ Function _cleanup()
// === === === === === === === === === === === === === === === === === === === === === === === === === ===
Function _isMenu() : Boolean

If (Asserted:C1132(This:C1470.ref#Null:C1517; Current method name:C684+": The menu reference is null"))
If (Asserted:C1132((This:C1470.ref#Null:C1517) && (This:C1470.ref#""); Current method name:C684+": The menu reference is null"))

return True:C214

Expand Down
4 changes: 2 additions & 2 deletions Project/Sources/Classes/windowDelegate.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Class constructor($param)
//______________________________________________________
End case

This:C1470.ready:=True:C214
This:C1470._.ready:=True:C214

// <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <==
Function get type() : Integer
Expand Down Expand Up @@ -233,7 +233,7 @@ Function set title($title : Text)

var $t : Text

$t:=Get localized string:C991($title)
$t:=Localized string:C991($title)
SET WINDOW TITLE:C213($t ? $t : $title; This:C1470.ref)

// <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <==
Expand Down
3 changes: 0 additions & 3 deletions Project/Sources/Methods/COMPILER_4DPop.4dm

This file was deleted.

68 changes: 50 additions & 18 deletions Project/Sources/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,67 @@
"dependencies": {
"4DPop": {
"github": "vdelachaux/4DPop",
"tag": "20.6.3"
"version": "latest"
},
"4DPop AppMaker": {
"github": "vdelachaux/4DPop-AppMaker",
"tag": "20.6.0"
"version": "latest"
},
"4DPop Git": {
"github": "vdelachaux/4DPop-Git",
"tag": "20.6.0"
"version": "latest"
},
"4DPop Macros": {
"github": "vdelachaux/4DPop-Macros",
"tag": "20.6.2"
"version": "latest"
},
"4DPop QuickOpen": {
"github": "vdelachaux/4DPop-QuickOpen",
"tag": "20.6.0"
},
"4DPop Bookmarks": {},
"4DPop Clipboard": {},
"4DPop ColorChart": {},
"4DPop Commands": {},
"4DPop Constants Editor": {},
"4DPop Image Buddy": {},
"4DPop KeepIt": {},
"4DPop Pasteboard": {},
"4DPop Rulers": {},
"4DPop sqlSchemas": {},
"4DPop Window": {},
"4DPop XLIFF Pro": {}
"version": "latest"
},
"4DPop XLIFF Pro": {
"github": "vdelachaux/4DPop-XLIFF-Pro",
"version": "latest"
},
"4DPop Bookmarks": {
"github": "vdelachaux/4DPop-Bookmarks",
"version": "latest"
},
"4DPop ColorChart": {
"github": "vdelachaux/4DPop-ColorChart",
"version": "latest"
},
"4DPop Commands": {
"github": "vdelachaux/4DPop-Commands",
"version": "latest"
},
"4DPop Constants Editor": {
"github": "vdelachaux/4DPop-Constants-Editor",
"version": "latest"
},
"4DPop Image Buddy": {
"github": "vdelachaux/4DPop-Image-Buddy",
"version": "latest"
},
"4DPop KeepIt": {
"github": "vdelachaux/4DPop-KeepIt",
"version": "latest"
},
"4DPop Pasteboard": {
"github": "vdelachaux/4DPop-Pasteboard",
"version": "latest"
},
"4DPop Rulers": {
"github": "vdelachaux/4DPop-Rulers",
"version": "latest"
},
"4DPop sqlSchemas": {
"github": "vdelachaux/4DPop-sqlSchemas",
"version": "latest"
},
"4DPop Window": {
"github": "vdelachaux/4DPop-Window",
"version": "latest"
}
}
}
1 change: 0 additions & 1 deletion Project/Sources/folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"4️⃣ 4DPop": {
"methods": [
"_4DPopXliff",
"COMPILER_4DPop",
"editor"
]
},
Expand Down
32 changes: 13 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
[code-shield]: https://img.shields.io/static/v1?label=language&message=4d&color=blue
[code-url]: https://developer.4d.com/
[license-url]: LICENSE
[notarized]: https://img.shields.io/badge/notarized-blue

[code-top]: https://img.shields.io/github/languages/top/vdelachaux/4DPop-XLIFF-Pro.svg
[code-size]: https://img.shields.io/github/languages/code-size/vdelachaux/4DPop-XLIFF-Pro.svg
[release-shield]: https://img.shields.io/github/v/release/vdelachaux/4DPop-XLIFF-Pro?include_prereleases
[release-url]: https://github.com/vdelachaux/4DPop-XLIFF-Pro/releases/latest
[license-shield]: https://img.shields.io/github/license/vdelachaux/4DPop-XLIFF-Pro
[build-shield]: https://github.com/vdelachaux/4DPop-XLIFF-Pro/actions/workflows/build.yml/badge.svg
[build-url]: https://github.com/vdelachaux/4DPop-XLIFF-Pro/actions/workflows/build.yml

[![language][code-shield]][code-url]
[![language-top][code-top]][code-url]
![code-size][code-size]
[![license][license-shield]][license-url]
<!-- MARKDOWN LINKS & IMAGES -->
[release-shield]: https://img.shields.io/github/v/release/vdelachaux/4DPop-XLIFF-Pro.svg?include_prereleases
[release-url]: https://github.com/vdelachaux/4DPop-XLIFF-Pro.svg/releases/latest

[license-shield]: https://img.shields.io/github/license/vdelachaux/4DPop-XLIFF-Pro.svg

<!--BADGES-->
![Static Badge](https://img.shields.io/badge/Dev%20Component-blue?logo=4d&link=https%3A%2F%2Fdeveloper.4d.com)
![Static Badge](https://img.shields.io/badge/Project%20Dependencies-blue?logo=4d&link=https%3A%2F%2Fdeveloper.4d.com%2Fdocs%2FProject%2Fcomponents%2F%23loading-components)
<br>
[![release][release-shield]][release-url]
[![build][build-shield]][license-url]
![notarized][notarized]
[![license][license-shield]](LICENSE)
<br>
<img src="https://img.shields.io/github/downloads/vdelachaux/4DPop-XLIFF-Pro/total"/>

# 4DPop XLIFF Pro

Expand Down
Binary file modified Resources/InfoPlist.strings
Binary file not shown.

0 comments on commit fce0c7b

Please sign in to comment.