TheAssassin
744368868b
Generate textual coverage reports, mk. 2
2018-11-10 03:36:33 +01:00
TheAssassin
d476f308f8
Generate textual coverage reports, mk. 1
2018-11-10 03:32:50 +01:00
TheAssassin
232a76d1ba
Merge pull request #49 from linuxdeploy/restructure-libraries
...
Restructure libraries
2018-11-10 03:08:35 +01:00
TheAssassin
b97c8b45f5
Fix linking issue
2018-11-10 02:59:31 +01:00
TheAssassin
d6e6cac6e0
Move libraries into directories following package path
2018-11-10 01:43:36 +01:00
TheAssassin
830dc50136
Avoid recompiling code if excludelist hasn't changed
2018-11-10 01:39:55 +01:00
TheAssassin
16ed8bfa6a
Merge pull request #44 from linuxdeploy/issue-39
...
Implement own desktop file parser
2018-11-09 23:06:59 +01:00
TheAssassin
dbfdc6ebe6
Merge branch 'master' into issue-39
2018-11-09 22:19:59 +01:00
TheAssassin
a6b09ee30c
Revert "Create coverage report during build"
...
We cannot test for coverage in a release build, but we don't want to
build in debug mode for released binaries.
We might consider creating a separate coverage target for testing code
coverage.
This reverts commit aaaca8b321 .
2018-11-09 22:17:49 +01:00
TheAssassin
8b8255b158
Clean up redundant includes
2018-11-09 22:04:59 +01:00
TheAssassin
a87fd648e0
Add dedicated test for values with spaces
...
CC @azubieta
2018-11-09 21:28:40 +01:00
TheAssassin
574a883733
Don't require desktop file's path to exist
2018-11-09 21:28:40 +01:00
TheAssassin
aaaca8b321
Create coverage report during build
2018-11-09 21:28:40 +01:00
TheAssassin
22bbd04304
Properly calculate processor count for coverage testing
2018-11-09 21:28:40 +01:00
TheAssassin
96b5c3c479
Generate text report for coverage
2018-11-09 21:28:40 +01:00
TheAssassin
35e67a26bb
Add missing dependencies for boost::lexical_cast
2018-11-09 20:08:11 +01:00
TheAssassin
74fb390e2f
Make sure to include boost::lexical_cast
2018-11-09 18:53:35 +01:00
TheAssassin
3b3f86f9a2
Revert "Remove unused submodule, mk. 2"
...
Was working on the wrong branch.
This reverts commit b1838315d9 .
2018-11-09 18:52:18 +01:00
TheAssassin
e6341435bd
Revert "Make sure to include boost::lexical_cast"
...
Was working on the wrong branch.
This reverts commit e388ad9eb6 .
2018-11-09 18:52:10 +01:00
TheAssassin
e388ad9eb6
Make sure to include boost::lexical_cast
2018-11-09 18:50:44 +01:00
TheAssassin
b1838315d9
Remove unused submodule, mk. 2
2018-11-09 18:50:23 +01:00
TheAssassin
6e525e0a65
Add missing newline
2018-11-09 18:31:27 +01:00
TheAssassin
b540240ba5
Improve efficiency
2018-11-09 18:31:19 +01:00
TheAssassin
5d219c99b7
Remove unnecessary dependency from target
2018-11-09 18:30:47 +01:00
TheAssassin
459c5aad9a
Fix use of DesktopFile class
2018-11-09 18:24:16 +01:00
TheAssassin
c6a517c1f5
Remove unused submodule
2018-11-09 16:07:47 +01:00
TheAssassin
11bbe4d219
Rewrite DesktopFile using own parser
2018-11-09 16:04:40 +01:00
TheAssassin
0d59a27905
Improve test workflow
...
Use ASSERT first to make sure teh function that performs the work has
run as intended, then use EXPECT to make sure all checks are run.
2018-11-09 13:41:32 +01:00
TheAssassin
a4e48db545
Fix include paths
2018-11-09 13:15:03 +01:00
TheAssassin
b56e202c40
Add targets for remaining coverage report types
2018-11-09 03:24:03 +01:00
TheAssassin
8b4feb5fd5
Add data getter
2018-11-09 03:16:14 +01:00
TheAssassin
156b45f819
Mark query function as const
2018-11-09 03:10:36 +01:00
TheAssassin
3e1d340612
Add DesktopFileWriter
2018-11-09 03:05:20 +01:00
TheAssassin
8a2d57e8d5
Move definition of types into DesktopFile
...
Types will be shared with future DesktopFileWriter class.
2018-11-09 02:26:09 +01:00
TheAssassin
be1b2c95d4
Move type definitions into class
2018-11-09 02:14:48 +01:00
TheAssassin
4bb1ef124b
Move into proper namespace
2018-11-09 01:56:05 +01:00
TheAssassin
93c947b56a
Check whether keys and values with spaces are parsed properly
2018-11-09 01:48:44 +01:00
TheAssassin
4bf295d4d6
Validate all values in desktop file
2018-11-09 01:45:36 +01:00
TheAssassin
2c40482bc0
Implement subscript operator returning sections
2018-11-09 01:44:02 +01:00
TheAssassin
a647205226
Implement conversion to double
2018-11-09 01:32:18 +01:00
TheAssassin
73832323c8
Implement actual parsing
2018-11-09 01:12:48 +01:00
TheAssassin
169275e023
Fix semantics of isEmpty()
2018-11-09 00:58:09 +01:00
TheAssassin
78e5d0858e
Add actual data structures
2018-11-09 00:57:06 +01:00
TheAssassin
b4efb2bc56
Increase test coverage
2018-11-09 00:54:32 +01:00
TheAssassin
aa2e8b9105
Allow construction from istream
2018-11-09 00:43:02 +01:00
TheAssassin
793b35dc61
Parse file in constructor
2018-11-09 00:37:58 +01:00
TheAssassin
5ba8b613d6
Fix includes
2018-11-09 00:36:55 +01:00
TheAssassin
75f2511437
Add some convenience function to convert/parse value
2018-11-09 00:08:40 +01:00
TheAssassin
9a4916fe84
Desktop file entry initial commit
2018-11-08 23:08:32 +01:00
TheAssassin
e584088656
Use already existing function to copy data
2018-11-08 22:45:50 +01:00