Skip to content

Commit

Permalink
bf
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelachaux committed Oct 30, 2023
1 parent 82a5ac3 commit aacedd3
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 16 deletions.
Binary file modified Build/4DPop Git.4dbase.zip
Binary file not shown.
Binary file modified Build/Components/4DPop Git.4dbase/4DPop Git.4DZ
Binary file not shown.
4 changes: 2 additions & 2 deletions Build/Components/4DPop Git.4dbase/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<key>CFBundleShortVersionString</key>
<string>20R4</string>
<key>CFBundleLongVersionString</key>
<string>20R4 (168)</string>
<string>20R4 (170)</string>
<key>CFBundleGetInfoString</key>
<string>20R4</string>
<key>CFBundleDisplayName</key>
<string>4DPop Git</string>
<key>CFBundleVersion</key>
<string>169</string>
<string>171</string>
<key>NSHumanReadableCopyright</key>
<string>©vdl 2020-2023</string>
</dict>
Expand Down
Binary file modified Build/Components/4DPop Git.4dbase/Libraries/lib4d-arm64.dylib
Binary file not shown.
Binary file modified Build/Components/4DPop Git.4dbase/Resources/InfoPlist.strings
Binary file not shown.
4 changes: 2 additions & 2 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<key>CFBundleShortVersionString</key>
<string>20R4</string>
<key>CFBundleLongVersionString</key>
<string>20R4 (168)</string>
<string>20R4 (170)</string>
<key>CFBundleGetInfoString</key>
<string>20R4</string>
<key>CFBundleDisplayName</key>
<string>4DPop Git</string>
<key>CFBundleVersion</key>
<string>169</string>
<string>171</string>
<key>NSHumanReadableCopyright</key>
<string>©vdl 2020-2023</string>
</dict>
Expand Down
26 changes: 14 additions & 12 deletions Project/Sources/Classes/_GIT_Controller.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -1641,17 +1641,19 @@ Function updateCommitList()

$c:=Split string:C1554($line; "|")

//ASSERT($c[0]#"wip on labelTags")

CLEAR VARIABLE:C89($style)

$tags:=[Null:C1517; Null:C1517; Null:C1517]

$i+=1

If ($i<=$notPushed)

$c[0]:="↑ "+$c[0]

//$c[0]:="↑ "+$c[0]
$tags[0]:=This:C1470.getLabelTag("title"; "•")
End if

CLEAR VARIABLE:C89($style)

$tags:=[Null:C1517; Null:C1517; Null:C1517]

$metas:=Split string:C1554($c[9]; ","; sk ignore empty strings:K86:1+sk trim spaces:K86:2)

Expand All @@ -1675,8 +1677,7 @@ Function updateCommitList()

Else

// Not synchronized
$tags[0]:=This:C1470.getLabelTag("origin")
//$tags[0]:=This.getLabelTag("title"; "•")

End if

Expand All @@ -1696,7 +1697,7 @@ Function updateCommitList()

$commit._current:=True:C214

If ($metas.includes("HEAD -> @"))
If ($metas.includes("HEAD -> @")) | ($tags[0]#Null:C1517)

continue

Expand All @@ -1715,7 +1716,8 @@ Function updateCommitList()

End if

$tags[0]:=This:C1470.getLabelTag("origin synchronized")
/*$tags[0]:=This.getLabelTag("origin synchronized")*/
$tags[0]:=This:C1470.getLabelTag("origin"; Replace string:C233($tag; "origin/"; ""))

//______________________________________________________
Else // Branch
Expand Down Expand Up @@ -1840,8 +1842,8 @@ Function getLabelTag($what : Text; $text : Text; $style : Object) : Picture
//______________________________________________________
: ($what="origin")

$text:="origin/ "+$text
$svg.rect($svg.getTextWidth($text)*1.1; 20).radius(4).stroke("green").fill("palegreen").position(0.5; 0.5).opacity(0.5)
$text:="origin/"+$text
$svg.rect($svg.getTextWidth($text)+28; 20).radius(4).stroke("green").fill("palegreen").position(0.5; 0.5).opacity(0.5)
READ PICTURE FILE:C678(Folder:C1567(fk resources folder:K87:11).file("Images/Menus/gitHub.png").platformPath; $icon)
$svg.image($icon).position(2.5; 2.5)
$svg.line(21; 0; 21; 20).stroke("green")
Expand Down
Binary file modified Resources/InfoPlist.strings
Binary file not shown.

0 comments on commit aacedd3

Please sign in to comment.