TheAssassin
74fb390e2f
Make sure to include boost::lexical_cast
2018-11-09 18:53:35 +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
11bbe4d219
Rewrite DesktopFile using own parser
2018-11-09 16:04:40 +01:00
TheAssassin
a4e48db545
Fix include paths
2018-11-09 13:15: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
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
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
TheAssassin
8a79cfbe1d
Mark query functions as const
2018-11-08 22:38:29 +01:00
TheAssassin
22ecabc51b
Desktop file parser initial commit
2018-11-08 22:18:23 +01:00
TheAssassin
4e33e395de
Show warning if existing AppRun is overwritten
2018-11-06 15:39:35 +01:00
Alexis Lopez Zubieta
9d25fee1dc
Make "Deploying custom AppRun" a regular message
2018-11-06 08:26:15 -06:00
Alexis Lopez Zubieta
9d78e0786b
Ensure that custom AppRun are deployed even if no desktop files are found
2018-11-06 07:48:12 -06:00
Alexis Lopez Zubieta
9f20e5829d
Restructure the code in order to make it more clear
2018-11-05 21:26:48 -06:00
Alexis Lopez Zubieta
5055efdc05
Rename linuxdeploy.cpp and linuxdeploy.h to core.cpp and core.h
2018-11-05 18:33:14 -06:00
Alexis Lopez Zubieta
19ecbb2d70
remove empty line
2018-11-05 16:24:09 -06:00
Alexis Lopez Zubieta
0e92331a12
Document linuxdeploy::deployAppDirRootFiles
2018-11-05 16:23:04 -06:00
Alexis Lopez Zubieta
4bf1948774
Document linuxdeploy::getMainDesktopFile
2018-11-05 16:07:01 -06:00
Alexis Lopez Zubieta
f201c57177
Optimize imports
2018-11-05 15:57:37 -06:00
Alexis Lopez Zubieta
d7c0e94f11
Reformat
2018-11-05 15:55:13 -06:00
Alexis Lopez Zubieta
700f6fe15f
Remove declaration of getMainDesktopFile
2018-11-05 15:54:59 -06:00
Alexis Lopez Zubieta
012e621ec5
Throw an exception when no deskotp files are found
2018-11-05 15:47:11 -06:00
Alexis Lopez Zubieta
6c674aa184
Making getMainDesktopFile parameters constant references
2018-11-05 15:43:35 -06:00
Alexis Lopez Zubieta
f0bb1fb472
bring empty line back
2018-11-05 15:39:00 -06:00
Alexis Lopez Zubieta
cc800588d2
Optimize imports
2018-11-05 15:28:11 -06:00
Alexis Lopez Zubieta
29cda3b1ac
Change return type to bool
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
16b0a5948a
createLinksInAppDirRoot is capable of dealing with an empty customAppRunPath so there is no need to check it
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
7ff05ca98e
Removing AppRun file existence check as createLinksInAppDirRoot also perform this check
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
cab57f86d6
Put main desktop file lookup into a separated function
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
93fea697e5
Move desktop file deployment away from desktop file lookup
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
2cdedc252c
Replace args::ValueFlagList by vector<string> in deployAppDirRootFiles function signature
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
1fa90fbd5c
Add namespace and prepare unittest
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
7318d68c96
Move deployAppDirRootFiles function into a separated file to allow unit testing
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
e5f4755da7
Move deploy AppDir root files into a separated function
2018-11-05 15:12:27 -06:00
Alexis López Zubieta
d9ca907da8
Add symlinkFile to the public AppDir interface ( #42 )
...
* Add symlinkFile to the public AppDir interface
* Rename AppDir::symlinkFile to AppDir::createSymlink
* change return value to bool
* Remove duplicated header
* Remove blank lines
* Add comment
* Fix test name
* Change createSymlink signature. Name changed to createRelativeSymlink and remove the useRelativePath argument
* Remove commented tests.
2018-11-05 22:10:18 +01:00