9b62d7c6a7
Allow setting the environment for "OnlyShowIn"
2018-01-27 11:06:29 +01:00
224e24227b
Ignore empty generic names
2018-01-22 23:59:11 +01:00
5b42969ff0
Ignore empty translations
2018-01-22 23:49:05 +01:00
9fa0f98193
Use string_get_length() instead of string_length()
2018-01-22 23:48:40 +01:00
af8ab99448
No longer build with -fpedantic
2018-01-22 05:15:55 +01:00
97553209c6
Stick to the default stack protector
2018-01-22 05:15:23 +01:00
881a9cb718
Fix testing the "TryExec" property for applications
2018-01-22 04:51:10 +01:00
f8e71de202
Update a comment
2018-01-17 00:14:16 +01:00
4fc1383c00
Avoid compilation warnings
2018-01-17 00:14:01 +01:00
e520f7703a
Escape filenames and URLs when opening
2018-01-17 00:11:45 +01:00
8093a9b375
Update the copyright notice
2018-01-16 05:45:49 +01:00
e65358ed3d
Add gtk_scale_new{,_with_range}() for compatibility
2018-01-16 05:45:23 +01:00
4001fc6de3
Update the copyright notice
2018-01-14 06:50:00 +01:00
f2e2353888
Use getcwd() instead of getwd()
...
This avoids warnings in linkers against potential misuse of getwd(),
even though it was apparently safe here.
2018-01-14 06:48:31 +01:00
86fed7a57a
Remove an implied dependency
2018-01-01 19:26:30 +01:00
65bacaafb4
Update the copyright notice
2018-01-01 19:26:14 +01:00
87ca4f3f9e
Add a test for the Mime class
2018-01-01 19:25:58 +01:00
682de0d5c5
Use absolute paths when opening files
2017-12-29 01:47:56 +01:00
3e7116b396
Add support for PROGNAME_{BROWSER,HTMLAPP} for now
2017-12-28 05:30:04 +01:00
d45f740b81
Code cleanup
2017-12-28 05:28:19 +01:00
3594bcba09
No longer look for browser(1) in $PATH
2017-12-28 05:27:54 +01:00
eba1ac04da
Register more dependencies for tests
2017-12-28 05:10:40 +01:00
c33ee98dd3
Rename mimehandler_is_hidden() to mimehandler_is_deleted()
...
This is one step further than the specification, and should help
understand the true meaning of this key.
While there, improve mimehandler_can_display() as well.
2017-12-28 05:08:54 +01:00
a78661f953
Match the desktop entry specification closer for links
2017-12-28 03:40:02 +01:00
2f9f1595d5
Add a test for localized values
2017-12-28 03:30:43 +01:00
d73ca3b8bc
Add a test for getting the original name
2017-12-28 03:26:04 +01:00
efea072f04
Implement translating localestrings
...
This is still untested though.
2017-12-28 03:21:57 +01:00
41244f2ccc
Avoid a crash when substituting the percent character
2017-12-28 02:59:22 +01:00
bfcdbef9c1
Allow translating every localestring
2017-12-28 02:59:09 +01:00
22f24e5cef
Register the test for FIXME
2017-12-28 01:31:55 +01:00
e0e3f5a3d9
Register a new test for FIXME in comments
...
This test currently fails.
2017-12-28 01:31:46 +01:00
3c01df283e
Constify
2017-12-28 01:09:57 +01:00
48864fadc8
Spelling
2017-12-28 01:09:39 +01:00
70d2d2d42d
Register the test for MimeHandler
2017-12-27 00:51:00 +01:00
30c182a51a
Initial import
2017-12-27 00:50:19 +01:00
9e740eb210
Skip unknown substitutions when opening files
...
This is probably not the best possible behaviour, but it will do for the moment.
2017-12-26 21:50:20 +01:00
cb9fe903ea
Also implement adding the path to the desktop entry
2017-12-26 21:48:48 +01:00
a0a3d9b75d
Also implement adding the path to the icon
...
Unfortunately also untested at the moment.
2017-12-26 21:48:16 +01:00
0b2088125e
Implement opening applications again
...
There are caveats though.
2017-12-26 21:46:54 +01:00
b4d8989b22
Add debugging information in MimeHandler
2017-12-26 21:43:53 +01:00
3c5e214bc5
Allow desktop entry names to be translated
2017-12-26 21:36:18 +01:00
346d75207f
Make the MimeHandler test harder to pass
2017-12-26 20:54:12 +01:00
a4746a54cc
Test two more accessors in MimeHandler
2017-12-26 20:51:24 +01:00
5bf2d3c595
Also check if the application itself can open files
2017-12-26 20:51:24 +01:00
eaca560520
Code cleanup
2017-12-26 20:43:45 +01:00
e1f37a167b
Code cleanup
2017-12-26 20:23:36 +01:00
42b56cfb8f
Always return a MimeHandler in mime_get_handler()
2017-12-26 15:53:16 +01:00
3344994756
Implement mime_action_type() with MimeHandler
...
This now uses mimehandler_open() instead of a duplicated implementation.
It does not support opening files yet though.
2017-12-26 15:21:13 +01:00
d509912bec
Avoid calling mimehandler_new_load_by_name(NULL)
2017-12-26 15:16:12 +01:00
d6f69fc2f1
Add debugging information
2017-12-26 15:13:26 +01:00