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
75189b97e1
Improve error handling
2017-12-26 15:10:56 +01:00
00e1bc4c5d
Code cleanup
2017-12-26 15:10:00 +01:00
4cdc20e9a1
Add debugging information
2017-12-26 15:05:20 +01:00
2abacffa74
Free String instances with string_delete()
2017-12-12 16:46:01 +01:00
4380c1a796
Also implement opening URLs and directories
2017-12-12 16:33:48 +01:00
e101d4d002
Let the MimeHandler API be more consistent
2017-12-12 13:08:16 +01:00
e4c4284dbe
Tokenize categories on semicolons (";")
2017-12-09 01:05:18 +01:00
c55d1ca96a
Fix a few bugs with memory management
2017-12-09 01:01:57 +01:00
3b0fe39b2a
Turn MimeHandler into an opaque type
2017-12-09 00:48:50 +01:00
e55c373f13
Do not queue empty types
2017-12-08 23:57:11 +01:00
597e23880c
Rename enumerated values for the MimeHandler class
2017-12-08 23:20:16 +01:00
08792869b4
Extend the API
...
With this, the DeforaOS Panel is closer to complete functionality
without relying on additional code handling desktop entries.
2017-12-08 16:50:46 +01:00
a5f12e50f9
Register a dependency
2017-12-07 19:07:33 +01:00
45d2afff26
Insert DATADIR into the default XDG_DATA_DIRS
2017-12-07 19:06:20 +01:00
69c22237a4
Add a test for mimehandler_get_types()
2017-12-07 19:00:30 +01:00