Skip to content

Commit

Permalink
misc small updates
Browse files Browse the repository at this point in the history
updated apple example project- src files had somehow become relocated :: fixed a bug with the qt/c++ isf editor, which was inserting 'null' values for empty fields :: updated ISF-Files repos to latest version :: version bump for isf editor installer (2.9.13) & isf files installer (1.0.5)
  • Loading branch information
mrRay committed Nov 20, 2019
1 parent db62dfa commit 67c0219
Show file tree
Hide file tree
Showing 8 changed files with 699 additions and 690 deletions.
2 changes: 1 addition & 1 deletion examples/ISF-files
Submodule ISF-files updated 281 files
2 changes: 1 addition & 1 deletion examples/Qt/ISFEditor/ISFEditor_app/ISFEditor_app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DEFINES += QT_DEPRECATED_WARNINGS

CONFIG += c++14

VERSION = 2.9.12
VERSION = 2.9.13
mac {
ICON = ISFEditorAppIcon.icns
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,46 @@ JSONGUIBasicInfoWidget::JSONGUIBasicInfoWidget(const JGMTopRef & inTop, QWidget
QJsonValue tmpVal;
QString tmpString;

tmpVal = isfDict["DESCRIPTION"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
if (isfDict.contains("DESCRIPTION")) {
tmpVal = isfDict["DESCRIPTION"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
}
else
tmpString = QString("");
ui->descriptionEdit->setText(tmpString);

tmpVal = isfDict["CREDIT"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
if (isfDict.contains("CREDIT")) {
tmpVal = isfDict["CREDIT"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
}
else
tmpString = QString("");
ui->creditEdit->setText(tmpString);

tmpString = QString("");
tmpVal = isfDict["CATEGORIES"];
if (tmpVal.isArray()) {
for (const auto & catVal : tmpVal.toArray()) {
if (!catVal.isString())
continue;
if (tmpString.length() < 1)
tmpString = catVal.toString();
else
tmpString.append( QString(", %1").arg(catVal.toString()) );
if (isfDict.contains("CATEGORIES")) {
tmpVal = isfDict["CATEGORIES"];
if (tmpVal.isArray()) {
for (const auto & catVal : tmpVal.toArray()) {
if (!catVal.isString())
continue;
if (tmpString.length() < 1)
tmpString = catVal.toString();
else
tmpString.append( QString(", %1").arg(catVal.toString()) );
}
}
}
else
tmpString = QString("");
ui->categoriesEdit->setText(tmpString);

tmpVal = isfDict["VSN"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
if (isfDict.contains("VSN")) {
tmpVal = isfDict["VSN"];
tmpString = (tmpVal.isString()) ? tmpVal.toString() : QString("");
}
else
tmpString = QString("");
ui->vsnEdit->setText(tmpString);

connect(ui->descriptionEdit, &QLineEdit::editingFinished, this, &JSONGUIBasicInfoWidget::descriptionFieldUsed);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Package>
<DisplayName>The ISF Editor app</DisplayName>
<Description>Install the ISF Editor application.</Description>
<Version>2.9.12</Version>
<ReleaseDate>2019-08-22</ReleaseDate>
<Version>2.9.13</Version>
<ReleaseDate>2019-11-20</ReleaseDate>
<Default>true</Default>
<SortingPriority>10</SortingPriority>
</Package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Package>
<DisplayName>ISF Sample Files</DisplayName>
<Description>Hundreds of sample ISF generators and filters. These will be installed in /Library/Graphics/ISF, where they can be accessed by all users and applications on this machine.</Description>
<Version>1.0.4</Version>
<ReleaseDate>2019-08-22</ReleaseDate>
<Version>1.0.5</Version>
<ReleaseDate>2019-11-20</ReleaseDate>
<RequiresAdminRights>true</RequiresAdminRights>
<Script>installscript.js</Script>
<Default>true</Default>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Package>
<DisplayName>The ISF Editor app</DisplayName>
<Description>Install the ISF Editor application.</Description>
<Version>2.9.12</Version>
<ReleaseDate>2019-08-22</ReleaseDate>
<Version>2.9.13</Version>
<ReleaseDate>2019-11-20</ReleaseDate>
<Default>true</Default>
<SortingPriority>10</SortingPriority>
<Script>installscript.js</Script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Package>
<DisplayName>ISF Sample Files</DisplayName>
<Description>Hundreds of sample ISF generators and filters. These will be installed in the root "ProgramDirectory" on the target drive (usually C:\\ProgramData\\ISF).</Description>
<Version>1.0.4</Version>
<ReleaseDate>2019-08-22</ReleaseDate>
<Version>1.0.5</Version>
<ReleaseDate>2019-11-20</ReleaseDate>
<RequiresAdminRights>true</RequiresAdminRights>
<Script>installscript.js</Script>
<Default>true</Default>
Expand Down
1,323 changes: 658 additions & 665 deletions examples/apple/ISFSandbox.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

0 comments on commit 67c0219

Please sign in to comment.