TheAssassin
32dca18eee
We don't use exceptions for error communication
2019-03-20 17:22:46 +01:00
TheAssassin
1f498772b4
Properly handle nonexisting files
2019-02-23 18:01:47 +01:00
TheAssassin
f9fc51a832
Improve search for patchelf
...
CC https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/24 .
2019-02-20 13:13:34 +01:00
TheAssassin
a3e06e0024
Statically link desktopfile library
2019-02-07 00:46:59 +01:00
TheAssassin
956a253428
Return final deployment path
...
deployFile allows for specifying a directory as destination, and copies
files into there, simulating the behavior of tools like cp. To do that,
it creates the directory, then appends the filename of the input file
to it and uses that as destination for the "copy file" call.
It's pretty handy for some applications to get the full path of the
new file returned by this method directly (doesn't have to implement
this concatenation more than once).
2019-02-06 23:23:48 +01:00
TheAssassin
ce6597fb9d
Better handle debug-symbols-only ELF files
2019-01-29 01:00:36 +01:00
TheAssassin
028d85a070
Explicitly disable all copy/move(-assignment) behavior
2019-01-29 00:03:35 +01:00
TheAssassin
8df605cb19
Use shared pointer to manage PImpl object
2019-01-29 00:02:49 +01:00
TheAssassin
3a0870842c
Update linuxdeploy-desktopfile
2019-01-28 16:52:20 +01:00
TheAssassin
1510d0c333
Update README.md
...
[ci skip]
2019-01-07 15:45:43 +01:00
TheAssassin
7c8ab1c773
Fix desktop file deployment
2018-12-22 23:26:28 +01:00
TheAssassin
5374e7ece9
Switch to extracted desktop file library
2018-12-22 23:09:04 +01:00
TheAssassin
6b715c691a
Give test case more suitable name
2018-12-22 23:02:39 +01:00
TheAssassin
78f33a7190
Move linuxdeploy-specific helper out of desktop file class
2018-12-22 23:02:15 +01:00
TheAssassin
3df27ba175
Add proper desktop file
...
The auto-generated desktop file does trigger integration tools like
AppImageLauncher, this one shows it's a CLI tool and should just be
launched now.
2018-12-21 19:08:33 +01:00
TheAssassin
2ea9a367b5
Check whether parsing with comments is supported
2018-12-21 19:08:33 +01:00
TheAssassin
673ccf5691
Improve simple desktop file test
2018-12-21 19:08:33 +01:00
TheAssassin
d743e11486
Merge pull request #63 from linuxdeploy/issue-62
...
Fix handling of localized desktop file entries
2018-12-09 16:13:06 +01:00
TheAssassin
cddefc3806
Validate some constraints on localized keys
2018-12-06 12:09:18 +01:00
TheAssassin
1f5315926d
Increase readability
2018-12-06 12:08:51 +01:00
TheAssassin
a12f3ac0fe
Improve error message
2018-12-06 11:56:21 +01:00
TheAssassin
640b756a7f
Temporarily allow localization brackets in key names
...
Must be revised when introducing proper localization support.
2018-12-06 11:49:14 +01:00
TheAssassin
d486f936e2
Test localized keys support
...
This is the unit test that was missing to cover the use case described
in #69 .
2018-12-06 11:47:25 +01:00
TheAssassin
b7faefdc56
Merge pull request #60 from linuxdeploy/issue-59
...
Ship 32-bit strip binary
2018-11-24 00:44:39 +01:00
TheAssassin
4585cb1a28
Download known working version of strip for i386, mk. 2
2018-11-24 00:34:38 +01:00
TheAssassin
23c85c732a
Download known working version of strip for i386
2018-11-24 00:04:40 +01:00
TheAssassin
b3e259bda1
Merge branch 'master' into issue-59
2018-11-23 22:08:37 +01:00
TheAssassin
d42abe363c
Merge pull request #61 from linuxdeploy/debug-desktopfile-unit-tests-in-release-builds
...
Fix desktop file parser unit test failures
2018-11-23 22:08:03 +01:00
TheAssassin
ef90b09c79
Fix remaining issues with usage of assert
2018-11-23 20:52:54 +01:00
TheAssassin
ce097235f2
Note for self: -O1+ strips out expressions surrounded by assert()
2018-11-23 18:05:56 +01:00
TheAssassin
d65574544f
Ship 32-bit strip binary, mk. 3
2018-11-23 17:55:53 +01:00
TheAssassin
b38612d07e
Ship 32-bit strip binary, mk. 2
2018-11-23 17:17:38 +01:00
TheAssassin
9cddf75449
Ship 32-bit strip binary
2018-11-23 16:32:43 +01:00
TheAssassin
b974f44ffd
Debug desktop file unit tests, mk.1
...
They're only broken on non-debug builds, so it's quite likely the
optimizations break the code.
2018-11-21 00:03:20 +01:00
TheAssassin
ecaeda4533
Deactivate unit tests that fail for no apparent reason on Travis CI
...
Will re-enable and debug them eventually. Right now, they prevent
binaries from being published, which is really a problem.
2018-11-19 22:25:20 +01:00
TheAssassin
ccfd05b5e0
Improve DesktopFile's comparison operators
2018-11-19 22:12:14 +01:00
TheAssassin
6cf9bc55a7
Fix comparison editor
2018-11-19 22:06:29 +01:00
TheAssassin
1e3e074f35
Properly copy desktop file reader
2018-11-19 22:06:08 +01:00
TheAssassin
7b16864dbe
Add missing return statement
2018-11-19 21:51:26 +01:00
TheAssassin
0b5ab2fc36
Fix return type of setter
2018-11-19 21:51:26 +01:00
TheAssassin
b3d0e7f20f
Merge pull request #57 from linuxdeploy/fix-plugin-detection
...
Fix plugin detection
2018-11-19 21:09:23 +01:00
TheAssassin
132931772c
Fix directory check
2018-11-19 20:52:45 +01:00
TheAssassin
6f7a2fd54a
Reduce verbosity of debug logging related to plugin detection
2018-11-19 20:50:09 +01:00
TheAssassin
c4258759b4
Make sure directories aren't falsely recognized as plugins
2018-11-19 20:48:04 +01:00
TheAssassin
786a24cb25
Fix CMake syntax
2018-11-16 00:25:27 +01:00
TheAssassin
35f1acf00d
Cleaning up coverage data after creating them makes no sense
...
The cleanup shall take place before running the test binaries which
create the new data, not afterwards.
2018-11-16 00:23:03 +01:00
TheAssassin
be0a891770
Improve test fixture names
2018-11-15 23:45:42 +01:00
TheAssassin
92a1370b30
Be able to use EXPECT_EQ with DesktopFile objects
...
GoogleTest internally uses operator==(first, second) instead of
first.operator==(second). By implementing the operators outside the
classes, GoogleTest can be made happy.
2018-11-15 23:36:04 +01:00
TheAssassin
541da1b573
Test (in)equality operators
2018-11-15 23:32:36 +01:00
TheAssassin
f274de8045
Make sure default keys don't overwrite existing ones
2018-11-15 21:24:08 +01:00