Browse Source

SnapmaticPicture now stay alone, gta5sync references reduced

Syping 6 months ago
parent
commit
fdf07dd681
97 changed files with 159 additions and 191 deletions
  1. 1
    1
      .travis/gta5view.nsi
  2. 1
    5
      AboutDialog.cpp
  3. 1
    1
      AboutDialog.h
  4. 1
    1
      AppEnv.cpp
  5. 1
    1
      AppEnv.h
  6. 1
    1
      CrewDatabase.cpp
  7. 1
    1
      CrewDatabase.h
  8. 1
    1
      DatabaseThread.cpp
  9. 1
    1
      DatabaseThread.h
  10. 1
    1
      ExportDialog.cpp
  11. 1
    1
      ExportDialog.h
  12. 1
    1
      ExportThread.cpp
  13. 1
    1
      ExportThread.h
  14. 1
    1
      GlobalString.cpp
  15. 1
    1
      GlobalString.h
  16. 1
    1
      IconLoader.cpp
  17. 1
    1
      IconLoader.h
  18. 1
    1
      ImageEditorDialog.cpp
  19. 1
    1
      ImageEditorDialog.h
  20. 1
    1
      ImportDialog.cpp
  21. 1
    1
      ImportDialog.h
  22. 1
    1
      JsonEditorDialog.cpp
  23. 1
    1
      JsonEditorDialog.h
  24. 1
    1
      MapLocationDialog.cpp
  25. 1
    1
      MapLocationDialog.h
  26. 1
    5
      OptionsDialog.cpp
  27. 1
    1
      OptionsDialog.h
  28. 1
    21
      OptionsDialog.ui
  29. 1
    1
      PictureDialog.cpp
  30. 1
    1
      PictureDialog.h
  31. 1
    1
      PictureExport.cpp
  32. 1
    1
      PictureExport.h
  33. 1
    1
      PictureWidget.cpp
  34. 1
    1
      PictureWidget.h
  35. 1
    1
      PlayerListDialog.cpp
  36. 1
    1
      PlayerListDialog.h
  37. 1
    1
      ProfileDatabase.cpp
  38. 1
    1
      ProfileDatabase.h
  39. 1
    1
      ProfileInterface.cpp
  40. 1
    1
      ProfileInterface.h
  41. 1
    1
      ProfileLoader.cpp
  42. 1
    1
      ProfileLoader.h
  43. 1
    1
      ProfileWidget.cpp
  44. 1
    1
      ProfileWidget.h
  45. 1
    1
      SavegameCopy.cpp
  46. 1
    1
      SavegameCopy.h
  47. 5
    4
      SavegameData.cpp
  48. 1
    1
      SavegameData.h
  49. 1
    1
      SavegameDialog.cpp
  50. 1
    1
      SavegameDialog.h
  51. 1
    1
      SavegameWidget.cpp
  52. 1
    1
      SavegameWidget.h
  53. 1
    1
      SidebarGenerator.cpp
  54. 1
    1
      SidebarGenerator.h
  55. 1
    1
      SnapmaticEditor.cpp
  56. 1
    1
      SnapmaticEditor.h
  57. 49
    27
      SnapmaticPicture.cpp
  58. 7
    2
      SnapmaticPicture.h
  59. 1
    1
      SnapmaticWidget.cpp
  60. 1
    1
      SnapmaticWidget.h
  61. 1
    1
      StandardPaths.cpp
  62. 1
    1
      StandardPaths.h
  63. 1
    21
      StringParser.cpp
  64. 1
    4
      StringParser.h
  65. 1
    1
      TelemetryClass.cpp
  66. 1
    1
      TelemetryClass.h
  67. 1
    1
      TranslationClass.cpp
  68. 1
    1
      TranslationClass.h
  69. 1
    1
      UserInterface.cpp
  70. 1
    1
      UserInterface.h
  71. 1
    1
      anpro/JSHighlighter.cpp
  72. 1
    1
      anpro/JSHighlighter.h
  73. 2
    10
      config.h
  74. 1
    2
      gta5view.pro
  75. 1
    1
      main.cpp
  76. 1
    1
      qjson4/QJsonArray.cpp
  77. 1
    1
      qjson4/QJsonArray.h
  78. 1
    1
      qjson4/QJsonDocument.cpp
  79. 1
    1
      qjson4/QJsonDocument.h
  80. 1
    1
      qjson4/QJsonObject.cpp
  81. 1
    1
      qjson4/QJsonObject.h
  82. 1
    1
      qjson4/QJsonParseError.cpp
  83. 1
    1
      qjson4/QJsonParseError.h
  84. 1
    1
      qjson4/QJsonParser.cpp
  85. 1
    1
      qjson4/QJsonParser.h
  86. 1
    1
      qjson4/QJsonRoot.h
  87. 1
    1
      qjson4/QJsonValue.cpp
  88. 1
    1
      qjson4/QJsonValue.h
  89. 1
    1
      qjson4/QJsonValueRef.cpp
  90. 1
    1
      qjson4/QJsonValueRef.h
  91. 4
    4
      res/app.rc
  92. 1
    1
      tmext/TelemetryClassAuthenticator.cpp
  93. 1
    1
      tmext/TelemetryClassAuthenticator.h
  94. 1
    1
      uimod/UiModLabel.cpp
  95. 1
    1
      uimod/UiModLabel.h
  96. 1
    1
      uimod/UiModWidget.cpp
  97. 1
    1
      uimod/UiModWidget.h

+ 1
- 1
.travis/gta5view.nsi View File

@@ -3,7 +3,7 @@
3 3
 !define APP_NAME "gta5view"
4 4
 !define COMP_NAME "Syping"
5 5
 !define WEB_SITE "https://gta5view.syping.de/"
6
-!define VERSION "1.5.4.0"
6
+!define VERSION "1.6.0.0"
7 7
 !define COPYRIGHT "Copyright © 2016-2018 Syping"
8 8
 !define DESCRIPTION "Grand Theft Auto V Savegame and Snapmatic Viewer/Editor"
9 9
 !define INSTALLER_NAME "gta5view_setup.exe"

+ 1
- 5
AboutDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -65,11 +65,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
65 65
     }
66 66
 
67 67
     // Project Description
68
-#ifdef GTA5SYNC_ENABLED
69
-    QString projectDes = tr("A project for viewing and sync Grand Theft Auto V Snapmatic<br/>\nPictures and Savegames");
70
-#else
71 68
     QString projectDes = tr("A project for viewing Grand Theft Auto V Snapmatic<br/>\nPictures and Savegames");
72
-#endif
73 69
 
74 70
     // Copyright Description
75 71
     QString copyrightDes1 = tr("Copyright &copy; <a href=\"%1\">%2</a> %3");

+ 1
- 1
AboutDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
AppEnv.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
AppEnv.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
CrewDatabase.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
CrewDatabase.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
DatabaseThread.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
DatabaseThread.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ExportDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ExportDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ExportThread.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ExportThread.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
GlobalString.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
GlobalString.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
IconLoader.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
IconLoader.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ImageEditorDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ImageEditorDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ImportDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ImportDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
JsonEditorDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
JsonEditorDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
MapLocationDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
MapLocationDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 5
OptionsDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -109,10 +109,6 @@ OptionsDialog::OptionsDialog(ProfileDatabase *profileDB, QWidget *parent) :
109 109
     resize(435 * screenRatio, 405 * screenRatio);
110 110
 #endif
111 111
 
112
-#ifdef GTA5SYNC_DISABLED
113
-    ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabSync));
114
-#endif
115
-
116 112
     this->setWindowTitle(windowTitle().arg(GTA5SYNC_APPSTR));
117 113
 }
118 114
 

+ 1
- 1
OptionsDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /******************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 21
OptionsDialog.ui View File

@@ -20,7 +20,7 @@
20 20
    <item>
21 21
     <widget class="QTabWidget" name="tabWidget">
22 22
      <property name="currentIndex">
23
-      <number>3</number>
23
+      <number>0</number>
24 24
      </property>
25 25
      <widget class="QWidget" name="tabProfile">
26 26
       <attribute name="title">
@@ -683,26 +683,6 @@
683 683
        </item>
684 684
       </layout>
685 685
      </widget>
686
-     <widget class="QWidget" name="tabSync">
687
-      <attribute name="title">
688
-       <string>Sync</string>
689
-      </attribute>
690
-      <layout class="QVBoxLayout" name="vlSync">
691
-       <item>
692
-        <widget class="QLabel" name="labSync">
693
-         <property name="text">
694
-          <string>Sync is not implemented at current time</string>
695
-         </property>
696
-         <property name="alignment">
697
-          <set>Qt::AlignCenter</set>
698
-         </property>
699
-         <property name="wordWrap">
700
-          <bool>true</bool>
701
-         </property>
702
-        </widget>
703
-       </item>
704
-      </layout>
705
-     </widget>
706 686
     </widget>
707 687
    </item>
708 688
    <item>

+ 1
- 1
PictureDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PictureDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PictureExport.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PictureExport.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PictureWidget.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PictureWidget.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PlayerListDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
PlayerListDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileDatabase.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileDatabase.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileInterface.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileInterface.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileLoader.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileLoader.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileWidget.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
ProfileWidget.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameCopy.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameCopy.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 5
- 4
SavegameData.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -16,6 +16,7 @@
16 16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 17
 *****************************************************************************/
18 18
 
19
+#include "SnapmaticPicture.h"
19 20
 #include "StringParser.h"
20 21
 #include "SavegameData.h"
21 22
 #include <QStringBuilder>
@@ -42,7 +43,7 @@ bool SavegameData::readingSavegame()
42 43
     QFile *saveFile = new QFile(savegameFileName);
43 44
     if (!saveFile->open(QFile::ReadOnly))
44 45
     {
45
-        lastStep = "1;/1,OpenFile," % StringParser::convertDrawStringForLog(savegameFileName);
46
+        lastStep = "1;/1,OpenFile," % SnapmaticPicture::convertDrawStringForLog(savegameFileName);
46 47
         saveFile->deleteLater();
47 48
         delete saveFile;
48 49
         return false;
@@ -51,7 +52,7 @@ bool SavegameData::readingSavegame()
51 52
     // Reading Savegame Header
52 53
     if (!saveFile->isReadable())
53 54
     {
54
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(savegameFileName) % ",1,NOHEADER";
55
+        lastStep = "2;/3,ReadingFile," % SnapmaticPicture::convertDrawStringForLog(savegameFileName) % ",1,NOHEADER";
55 56
         saveFile->close();
56 57
         saveFile->deleteLater();
57 58
         delete saveFile;
@@ -78,7 +79,7 @@ QString SavegameData::getSavegameDataString(const QByteArray &savegameHeader)
78 79
     QList<QByteArray> savegameBytesList = savegameBytes.split(char(0x01));
79 80
     savegameBytes = savegameBytesList.at(1);
80 81
     savegameBytesList.clear();
81
-    return StringParser::parseTitleString(savegameBytes, savegameBytes.length());
82
+    return SnapmaticPicture::parseTitleString(savegameBytes, savegameBytes.length());
82 83
 }
83 84
 
84 85
 bool SavegameData::readingSavegameFromFile(const QString &fileName)

+ 1
- 1
SavegameData.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameDialog.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameDialog.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameWidget.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SavegameWidget.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SidebarGenerator.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SidebarGenerator.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SnapmaticEditor.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SnapmaticEditor.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 49
- 27
SnapmaticPicture.cpp View File

@@ -1,6 +1,6 @@
1 1
 /*****************************************************************************
2
-* gta5sync-spv Grand Theft Auto Snapmatic Picture Viewer
3
-* Copyright (C) 2016-2017 Syping
2
+* gta5spv Grand Theft Auto Snapmatic Picture Viewer
3
+* Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
6 6
 * it under the terms of the GNU General Public License as published by
@@ -17,12 +17,12 @@
17 17
 *****************************************************************************/
18 18
 
19 19
 #include "SnapmaticPicture.h"
20
-#include "StringParser.h"
21 20
 #include <QStringBuilder>
22 21
 #include <QJsonDocument>
23 22
 #include <QJsonObject>
24 23
 #include <QStringList>
25 24
 #include <QVariantMap>
25
+#include <QTextCodec>
26 26
 #include <QJsonArray>
27 27
 #include <QFileInfo>
28 28
 #include <QPainter>
@@ -101,7 +101,7 @@ void SnapmaticPicture::reset()
101 101
     jsonStr = QString();
102 102
 
103 103
     // SNAPMATIC DEFAULTS
104
-#ifdef GTA5SYNC_CSDF
104
+#ifdef GTA5SYNC_NOASSIST
105 105
     careSnapDefault = false;
106 106
 #else
107 107
     careSnapDefault = true;
@@ -121,7 +121,7 @@ bool SnapmaticPicture::preloadFile()
121 121
 
122 122
     if (!picFile->open(QFile::ReadOnly))
123 123
     {
124
-        lastStep = "1;/1,OpenFile," % StringParser::convertDrawStringForLog(picFilePath);
124
+        lastStep = "1;/1,OpenFile," % convertDrawStringForLog(picFilePath);
125 125
         delete picFile;
126 126
         return false;
127 127
     }
@@ -191,31 +191,31 @@ bool SnapmaticPicture::preloadFile()
191 191
                         }
192 192
                         else
193 193
                         {
194
-                            lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",4,G5E_FORMATERROR";
194
+                            lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",4,G5E_FORMATERROR";
195 195
                             return false;
196 196
                         }
197 197
                     }
198 198
                     else
199 199
                     {
200
-                        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,G5E_FORMATERROR";
200
+                        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,G5E_FORMATERROR";
201 201
                         return false;
202 202
                     }
203 203
                 }
204 204
                 else
205 205
                 {
206
-                    lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",2,G5E_FORMATERROR";
206
+                    lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",2,G5E_FORMATERROR";
207 207
                     return false;
208 208
                 }
209 209
             }
210 210
             else
211 211
             {
212
-                lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",1,G5E_NOTCOMPATIBLE";
212
+                lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",1,G5E_NOTCOMPATIBLE";
213 213
                 return false;
214 214
             }
215 215
         }
216 216
         else
217 217
         {
218
-            lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",1,G5E_FORMATERROR";
218
+            lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",1,G5E_FORMATERROR";
219 219
             return false;
220 220
         }
221 221
     }
@@ -244,7 +244,7 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
244 244
     // Reading Snapmatic Header
245 245
     if (!picStream->isReadable())
246 246
     {
247
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",1,NOHEADER";
247
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",1,NOHEADER";
248 248
         picStream->close();
249 249
         delete picStream;
250 250
         return false;
@@ -253,7 +253,7 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
253 253
     pictureHead = getSnapmaticHeaderString(snapmaticHeaderLine);
254 254
     if (pictureHead == QLatin1String("MALFORMED"))
255 255
     {
256
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",1,MALFORMEDHEADER";
256
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",1,MALFORMEDHEADER";
257 257
         picStream->close();
258 258
         delete picStream;
259 259
         return false;
@@ -262,7 +262,7 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
262 262
     // Reading JPEG Header Line
263 263
     if (!picStream->isReadable())
264 264
     {
265
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",2,NOHEADER";
265
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",2,NOHEADER";
266 266
         picStream->close();
267 267
         delete picStream;
268 268
         return false;
@@ -273,7 +273,7 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
273 273
     jpegHeaderLine.remove(0, jpegHeaderLineDifStr);
274 274
     if (jpegHeaderLine.left(4) != QByteArray("JPEG"))
275 275
     {
276
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",2,NOJPEG";
276
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",2,NOJPEG";
277 277
         picStream->close();
278 278
         delete picStream;
279 279
         return false;
@@ -282,7 +282,7 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
282 282
     // Read JPEG Stream
283 283
     if (!picStream->isReadable())
284 284
     {
285
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",2,NOPIC";
285
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",2,NOPIC";
286 286
         picStream->close();
287 287
         delete picStream;
288 288
         return false;
@@ -336,14 +336,14 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
336 336
     // Read JSON Stream
337 337
     if (!picStream->isReadable())
338 338
     {
339
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,NOJSON";
339
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,NOJSON";
340 340
         picStream->close();
341 341
         delete picStream;
342 342
         return false;
343 343
     }
344 344
     else if (picStream->read(4) != QByteArray("JSON"))
345 345
     {
346
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,CTJSON";
346
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,CTJSON";
347 347
         picStream->close();
348 348
         delete picStream;
349 349
         return false;
@@ -354,14 +354,14 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
354 354
 
355 355
     if (!picStream->isReadable())
356 356
     {
357
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",4,NOTITL";
357
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",4,NOTITL";
358 358
         picStream->close();
359 359
         delete picStream;
360 360
         return false;
361 361
     }
362 362
     else if (picStream->read(4) != QByteArray("TITL"))
363 363
     {
364
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",4,CTTITL";
364
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",4,CTTITL";
365 365
         picStream->close();
366 366
         delete picStream;
367 367
         return false;
@@ -371,14 +371,14 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_, bool cacheEnabled_, bo
371 371
 
372 372
     if (!picStream->isReadable())
373 373
     {
374
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",5,NODESC";
374
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",5,NODESC";
375 375
         picStream->close();
376 376
         delete picStream;
377 377
         return picOk;
378 378
     }
379 379
     else if (picStream->read(4) != QByteArray("DESC"))
380 380
     {
381
-        lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",5,CTDESC";
381
+        lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",5,CTDESC";
382 382
         picStream->close();
383 383
         delete picStream;
384 384
         return false;
@@ -403,7 +403,7 @@ QString SnapmaticPicture::getSnapmaticHeaderString(const QByteArray &snapmaticHe
403 403
     QList<QByteArray> snapmaticBytesList = snapmaticHeader.left(snapmaticUsefulLength).split('\x01');
404 404
     if (snapmaticBytesList.length() < 2) { return QLatin1String("MALFORMED"); }
405 405
     QByteArray snapmaticBytes = snapmaticBytesList.at(1);
406
-    return StringParser::parseTitleString(snapmaticBytes, snapmaticBytes.length());
406
+    return parseTitleString(snapmaticBytes, snapmaticBytes.length());
407 407
 }
408 408
 
409 409
 QString SnapmaticPicture::getSnapmaticJSONString(const QByteArray &jsonBytes)
@@ -792,7 +792,7 @@ QImage SnapmaticPicture::getImage(bool fastLoad)
792 792
         QFile *picFile = new QFile(picFilePath);
793 793
         if (!picFile->open(QFile::ReadOnly))
794 794
         {
795
-            lastStep = "1;/1,OpenFile," % StringParser::convertDrawStringForLog(picFilePath);
795
+            lastStep = "1;/1,OpenFile," % convertDrawStringForLog(picFilePath);
796 796
             delete picFile;
797 797
             return QImage();
798 798
         }
@@ -1014,15 +1014,15 @@ void SnapmaticPicture::parseJsonContent()
1014 1014
     {
1015 1015
         if (jsonIncomplete && jsonError)
1016 1016
         {
1017
-            lastStep = "2;/4,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,JSONINCOMPLETE,JSONERROR";
1017
+            lastStep = "2;/4,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,JSONINCOMPLETE,JSONERROR";
1018 1018
         }
1019 1019
         else if (jsonIncomplete)
1020 1020
         {
1021
-            lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,JSONINCOMPLETE";
1021
+            lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,JSONINCOMPLETE";
1022 1022
         }
1023 1023
         else if (jsonError)
1024 1024
         {
1025
-            lastStep = "2;/3,ReadingFile," % StringParser::convertDrawStringForLog(picFilePath) % ",3,JSONERROR";
1025
+            lastStep = "2;/3,ReadingFile," % convertDrawStringForLog(picFilePath) % ",3,JSONERROR";
1026 1026
         }
1027 1027
         jsonOk = false;
1028 1028
     }
@@ -1377,7 +1377,7 @@ bool SnapmaticPicture::verifyTitle(const QString &title)
1377 1377
     // VERIFY TITLE FOR BE A VALID SNAPMATIC TITLE
1378 1378
     if (title.length() <= titlStreamCharacterMax && title.length() > 0)
1379 1379
     {
1380
-        for (QChar titleChar : title)
1380
+        for (const QChar &titleChar : title)
1381 1381
         {
1382 1382
             if (!verifyTitleChar(titleChar)) return false;
1383 1383
         }
@@ -1396,3 +1396,25 @@ bool SnapmaticPicture::verifyTitleChar(const QChar &titleChar)
1396 1396
     }
1397 1397
     return false;
1398 1398
 }
1399
+
1400
+// STRING OPERATIONS
1401
+
1402
+QString SnapmaticPicture::parseTitleString(const QByteArray &commitBytes, int maxLength)
1403
+{
1404
+    Q_UNUSED(maxLength)
1405
+    QString retStr = QTextCodec::codecForName("UTF-16LE")->toUnicode(commitBytes).trimmed();
1406
+    retStr.remove(QChar('\x00'));
1407
+    return retStr;
1408
+}
1409
+
1410
+QString SnapmaticPicture::convertDrawStringForLog(const QString &inputStr)
1411
+{
1412
+    QString outputStr = inputStr;
1413
+    return outputStr.replace("&","&u;").replace(",", "&c;");
1414
+}
1415
+
1416
+QString SnapmaticPicture::convertLogStringForDraw(const QString &inputStr)
1417
+{
1418
+    QString outputStr = inputStr;
1419
+    return outputStr.replace("&c;",",").replace("&u;", "&");
1420
+}

+ 7
- 2
SnapmaticPicture.h View File

@@ -1,6 +1,6 @@
1 1
 /*****************************************************************************
2
-* gta5sync-spv Grand Theft Auto Snapmatic Picture Viewer
3
-* Copyright (C) 2016-2017 Syping
2
+* gta5spv Grand Theft Auto Snapmatic Picture Viewer
3
+* Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
6 6
 * it under the terms of the GNU General Public License as published by
@@ -134,6 +134,11 @@ public:
134 134
     // VERIFY CONTENT
135 135
     static bool verifyTitle(const QString &title);
136 136
 
137
+    // STRING OPERATIONS
138
+    static QString parseTitleString(const QByteArray &commitBytes, int maxLength);
139
+    static QString convertDrawStringForLog(const QString &inputStr);
140
+    static QString convertLogStringForDraw(const QString &inputStr);
141
+
137 142
 private:
138 143
     QString getSnapmaticHeaderString(const QByteArray &snapmaticHeader);
139 144
     QString getSnapmaticJSONString(const QByteArray &jsonBytes);

+ 1
- 1
SnapmaticWidget.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
SnapmaticWidget.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
StandardPaths.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
StandardPaths.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 21
StringParser.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -36,26 +36,6 @@ StringParser::StringParser()
36 36
 
37 37
 }
38 38
 
39
-QString StringParser::parseTitleString(const QByteArray &commitBytes, int maxLength)
40
-{
41
-    Q_UNUSED(maxLength)
42
-    QString retStr = QTextCodec::codecForName("UTF-16LE")->toUnicode(commitBytes).trimmed();
43
-    retStr.remove(QChar('\x00'));
44
-    return retStr;
45
-}
46
-
47
-QString StringParser::convertDrawStringForLog(const QString &inputStr)
48
-{
49
-    QString outputStr = inputStr;
50
-    return outputStr.replace("&","&u;").replace(",", "&c;");
51
-}
52
-
53
-QString StringParser::convertLogStringForDraw(const QString &inputStr)
54
-{
55
-    QString outputStr = inputStr;
56
-    return outputStr.replace("&c;",",").replace("&u;", "&");
57
-}
58
-
59 39
 QString StringParser::escapeString(const QString &toEscape)
60 40
 {
61 41
 #if QT_VERSION >= 0x050000

+ 1
- 4
StringParser.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -26,9 +26,6 @@ class StringParser
26 26
 {
27 27
 public:
28 28
     StringParser();
29
-    static QString parseTitleString(const QByteArray &commitBytes, int maxLength);
30
-    static QString convertDrawStringForLog(const QString &inputStr);
31
-    static QString convertLogStringForDraw(const QString &inputStr);
32 29
     static QString escapeString(const QString &toEscape);
33 30
 #ifdef GTA5SYNC_PROJECT
34 31
     static QString convertBuildedString(const QString &buildedStr);

+ 1
- 1
TelemetryClass.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
TelemetryClass.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
TranslationClass.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
TranslationClass.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
UserInterface.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
UserInterface.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
anpro/JSHighlighter.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
anpro/JSHighlighter.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 2
- 10
config.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify
@@ -28,17 +28,9 @@
28 28
 #define GTA5SYNC_APPVENDORLINK "https://github.com/Syping/"
29 29
 #endif
30 30
 
31
-#ifndef GTA5SYNC_DISABLED
32
-#define GTA5SYNC_ENABLED
33
-#endif
34
-
35 31
 #ifndef GTA5SYNC_APPSTR
36
-#ifdef GTA5SYNC_ENABLED
37
-#define GTA5SYNC_APPSTR "gta5sync"
38
-#else
39 32
 #define GTA5SYNC_APPSTR "gta5view"
40 33
 #endif
41
-#endif
42 34
 
43 35
 #ifndef GTA5SYNC_APPDES
44 36
 #define GTA5SYNC_APPDES "INSERT YOUR APPLICATION DESCRIPTION HERE"
@@ -49,7 +41,7 @@
49 41
 #endif
50 42
 
51 43
 #ifndef GTA5SYNC_APPVER
52
-#define GTA5SYNC_APPVER "1.5.4"
44
+#define GTA5SYNC_APPVER "1.6.0"
53 45
 #endif
54 46
 
55 47
 #ifdef GTA5SYNC_BUILDTYPE_REL

+ 1
- 2
gta5view.pro View File

@@ -154,9 +154,8 @@ INCLUDEPATH += ./anpro ./tmext ./uimod
154 154
 
155 155
 # GTA5SYNC/GTA5VIEW ONLY
156 156
 
157
-DEFINES += GTA5SYNC_DISABLED
158 157
 DEFINES += GTA5SYNC_PROJECT # Enable exclusive gta5sync/gta5view functions
159
-DEFINES += GTA5SYNC_CSDF # Not assisting at proper usage of SnapmaticPicture class
158
+DEFINES += GTA5SYNC_NOASSIST # Not assisting at proper usage of SnapmaticPicture class
160 159
 
161 160
 # WINDOWS ONLY
162 161
 

+ 1
- 1
main.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonArray.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonArray.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonDocument.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonDocument.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonObject.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonObject.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonParseError.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonParseError.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonParser.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonParser.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonRoot.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonValue.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonValue.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonValueRef.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
qjson4/QJsonValueRef.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 4
- 4
res/app.rc View File

@@ -7,8 +7,8 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gta5view.exe.manifest"
7 7
 #include <windows.h>
8 8
 
9 9
 VS_VERSION_INFO     VERSIONINFO
10
-FILEVERSION         1, 5, 4, 0
11
-PRODUCTVERSION      1, 5, 4, 0
10
+FILEVERSION         1, 6, 0, 0
11
+PRODUCTVERSION      1, 6, 0, 0
12 12
 FILEFLAGSMASK       0x3fL
13 13
 FILEFLAGS           0
14 14
 FILEOS              VOS_NT_WINDOWS32
@@ -25,12 +25,12 @@ BEGIN
25 25
         BEGIN
26 26
             VALUE   "CompanyName",      "Syping"
27 27
             VALUE   "FileDescription",  "gta5view"
28
-            VALUE   "FileVersion",      "1.5.4"
28
+            VALUE   "FileVersion",      "1.6.0"
29 29
             VALUE   "InternalName",     "gta5view"
30 30
             VALUE   "LegalCopyright",   "Copyright © 2016-2018 Syping"
31 31
             VALUE   "OriginalFilename", "gta5view.exe"
32 32
             VALUE   "ProductName",      "gta5view"
33
-            VALUE   "ProductVersion",   "1.5.4"
33
+            VALUE   "ProductVersion",   "1.6.0"
34 34
         END
35 35
     END
36 36
 END

+ 1
- 1
tmext/TelemetryClassAuthenticator.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
tmext/TelemetryClassAuthenticator.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2018 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
uimod/UiModLabel.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
uimod/UiModLabel.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2016-2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
uimod/UiModWidget.cpp View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify

+ 1
- 1
uimod/UiModWidget.h View File

@@ -1,5 +1,5 @@
1 1
 /*****************************************************************************
2
-* gta5sync GRAND THEFT AUTO V SYNC
2
+* gta5view Grand Theft Auto V Profile Viewer
3 3
 * Copyright (C) 2017 Syping
4 4
 *
5 5
 * This program is free software: you can redistribute it and/or modify