Commit Graph

268 Commits

Author SHA1 Message Date
William Pierce
cba4c3ee99 Make struct ordering more consistent 2020-05-10 05:45:47 -07:00
PaulCombal
ea7b11c735
Update README.MD 2020-05-08 21:19:05 +02:00
Paul
413fb301e0 Removed cppcheck for prod builds 2020-04-29 16:09:46 +02:00
Paul
8043f0ff56 Added cppcheck in pre-commit hook. see if that works 2020-04-29 16:06:52 +02:00
William Pierce
4eb7e5e35b
Implement Stats GUI and Modifications (#54)
* Stats GUI additions

Add notebook with tabs for achievements and stats in preparation for
adding stats to the GUI
Disable overlay scrolling on scrollbars so that grabbing the scrollbar
doesn't risk activating a game (and it looks cleaner to me)
Remove some placeholders

* Hook up stats to GUI

Hook up displaying of stat names to the GUI.  More field will
be added in later commits.
Removed unused references to schema parser since
that's been put in the child process.
Conform some more types to achievement_and_stat naming since
we're adding stats now.

* Hook up stat types and values to GUI

* Add support for adding stat modifications

Support is added for both GUI and CLI
Remove unused original_value in StatValue_t - changes
are encoded in StatChange_t.
Make pending modification more intuitive to work with
by using Change_t struct types.
Actually committing stats changes will be done in next commit.

* Implement committing stat changes

Plumb the rest of the logic through the unlock path
Stats are now functional.

Misc improvements:
Invert type checking on CLI because an int could be
interpreted as a float incorrectly. By checking for float
first, we get the right value: an int can be a float but a
float can't be an int.
Fix unitialized valid_conversion causing stat changes to
never show up.
Various coding and style improvements along the way

Fixes #13

* Always switch to achievements page first

Add a few other documentation corrections too, including the README.

* Change stats new_value entries to use spinbuttons

Using spinbuttons is beter for numeric input than plain entries.

* Add info box popover to StatBoxRow

* Add invalid stat conversion information

* Properly show and hide the invalid stat conversion image

* Implement stats placeholders

* Implement stats search bar

* Minor GUI changes

* improved log consistency

* Improve logs for unreachable code

Also bump main_window.glade version back up to 3.22.2

Co-authored-by: Paul <abonnementspaul@gmail.com>
2020-04-28 20:55:18 -07:00
William Pierce
e3ae174788 Improve logs for unreachable code
Also bump main_window.glade version back up to 3.22.2
2020-04-28 20:53:34 -07:00
Paul
86450bde20 improved log consistency 2020-04-29 01:26:20 +02:00
Paul
b027271f26 Minor GUI changes 2020-04-26 16:49:01 +02:00
William Pierce
1b3cee08a8 Implement stats search bar 2020-04-20 02:17:34 -07:00
William Pierce
1072ca4653 Implement stats placeholders 2020-04-20 01:53:08 -07:00
William Pierce
506bbb27b0 Properly show and hide the invalid stat conversion image 2020-04-20 01:31:28 -07:00
William Pierce
0a1ff1708e Add invalid stat conversion information 2020-04-20 01:06:08 -07:00
William Pierce
ee21be2cfe Add info box popover to StatBoxRow 2020-04-19 23:37:40 -07:00
William Pierce
94d87fa58a Change stats new_value entries to use spinbuttons
Using spinbuttons is beter for numeric input than plain entries.
2020-04-19 23:21:33 -07:00
William Pierce
9aee7b1f3d Always switch to achievements page first
Add a few other documentation corrections too, including the README.
2020-04-19 21:06:18 -07:00
William Pierce
17bec08245 Implement committing stat changes
Plumb the rest of the logic through the unlock path
Stats are now functional.

Misc improvements:
Invert type checking on CLI because an int could be
interpreted as a float incorrectly. By checking for float
first, we get the right value: an int can be a float but a
float can't be an int.
Fix unitialized valid_conversion causing stat changes to
never show up.
Various coding and style improvements along the way

Fixes #13
2020-04-17 02:25:13 -07:00
William Pierce
f153bdbe2c Add support for adding stat modifications
Support is added for both GUI and CLI
Remove unused original_value in StatValue_t - changes
are encoded in StatChange_t.
Make pending modification more intuitive to work with
by using Change_t struct types.
Actually committing stats changes will be done in next commit.
2020-04-13 02:04:30 -07:00
William Pierce
f891e25535 Hook up stat types and values to GUI 2020-04-12 15:53:03 -07:00
William Pierce
e571f18cee Hook up stats to GUI
Hook up displaying of stat names to the GUI.  More field will
be added in later commits.
Removed unused references to schema parser since
that's been put in the child process.
Conform some more types to achievement_and_stat naming since
we're adding stats now.
2020-04-12 01:40:51 -07:00
William Pierce
4bda2ec9de Stats GUI additions
Add notebook with tabs for achievements and stats in preparation for
adding stats to the GUI
Disable overlay scrolling on scrollbars so that grabbing the scrollbar
doesn't risk activating a game (and it looks cleaner to me)
Remove some placeholders
2020-04-11 18:16:31 -07:00
PaulCombal
5988e0dd3f
Merge pull request #51 from PaulCombal/feat-statsmodel
Feat statsmodel
2020-02-20 09:22:45 +01:00
PaulCombal
f96a34be99 Finishing touches 2020-02-19 11:19:07 +01:00
PaulCombal
f07600e620 Closed stream 2020-02-18 14:55:30 +01:00
PaulCombal
65d25d92b0 Printing with --ls works 2020-02-17 19:57:24 +01:00
PaulCombal
ccffa9da6b WIP 2020-02-12 21:46:27 +01:00
PaulCombal
0df2eb7422 Simple stats listing. Makes me worried about memory leaks in the schema parser 2020-01-15 10:44:32 +01:00
PaulCombal
1091c4daa5
Merge pull request #48 from PaulCombal/feat-cli
Added CLI commands
2020-01-10 18:23:21 +01:00
PaulCombal
89a5ab0a75 Description fix 2020-01-10 18:23:05 +01:00
PaulCombal
6523ebe936
Merge pull request #49 from PaulCombal/fix-description
Fix for long descriptions
2020-01-10 10:38:17 +01:00
PaulCombal
df8a845fa3 Fix for long descriptions 2020-01-10 10:36:41 +01:00
PaulCombal
cbf2606ddb PR comments implementation 2020-01-10 09:56:47 +01:00
PaulCombal
1866b39545 Added CLI commands 2020-01-09 23:03:43 +01:00
William Pierce
579eaa3d72 Fix async gui race condition
If apps and achievements are allowed to be retrieved in parallel,
we need to use different data for each of them. Otherwise they
use each other's data and corrupt each other.

fixes #46
2019-12-28 18:06:39 -05:00
William Pierce
cbc95839b1 Fix case when ~/.local/share isn't used 2019-12-28 14:57:04 -05:00
PaulCombal
ab06374e42 Minor improvements 2019-12-14 01:29:02 +01:00
PaulCombal
a8399302d8 Readme update 2019-12-13 21:05:28 +01:00
PaulCombal
f3089c6f8d Fixed a regression with the InputAppidRow 2019-12-13 21:00:24 +01:00
PaulCombal
be704dd41d Merge branch 'feat-gtkmm' into dev
Migrating to gtkmm
2019-12-13 17:55:18 +01:00
PaulCombal
934ce0042d Updated achievement icons and added a screenshot 2019-12-13 17:42:44 +01:00
PaulCombal
3b6cef55d0 valgrind fix, will merge soon 2019-12-12 15:14:39 +01:00
PaulCombal
b97a01eca4 RC1 2019-12-10 09:17:02 +01:00
PaulCombal
e4288926e7 better code 2019-12-09 14:12:37 +01:00
PaulCombal
9d21518c55 Hopefully made AchievementBoxRow less buggy 2019-12-09 13:57:46 +01:00
PaulCombal
6dcf9137f6 halfway cleanup 2019-12-02 15:08:12 +01:00
PaulCombal
709bfe64f0 WIP 2019-12-02 12:32:45 +01:00
PaulCombal
c1435d9046 Increased buffer size for string parsing 2019-11-28 16:11:56 +01:00
PaulCombal
68567b6745 WIP 2019-11-28 15:33:52 +01:00
William Pierce
7fffc5b9b3 Don't hang on failing to retrieve achievements
This will happen if e.g. a game doesn't have achievements.
2019-11-20 22:55:52 -08:00
PaulCombal
5ff546711e Fix PKGBUILD + more dev commands 2019-11-15 23:36:19 +01:00
William Pierce
7ff28cf5d8
Implement achievement icon parsing and downloading (#39)
* Implement achievement icon parsing and downloading

Port statsSchema parsing from gibbed's original
Steam Achievement Manager and include appropriate copyrights.

Remove previous code that would do icon parsing.
Implement async achievement icon downloading.
Remove lodepng since it's no longer needed

* minor changes

* Load achievement icons into GUI
2019-11-15 11:14:16 -08:00