Commit Graph

323 Commits

Author SHA1 Message Date
Hannah von Reth
c7211276e5 Merge remote-tracking branch 'origin/2.6' 2020-05-20 12:21:51 +02:00
Hannah von Reth
cb6737c10d Remove dead code 2020-05-20 12:20:54 +02:00
Hannah von Reth
ecb7347d33 2.7 has less automatic includes on Windows 2020-03-13 16:30:58 +01:00
Hannah von Reth
4d690710d2 Merge branch '2.6' 2020-03-13 15:22:10 +01:00
Hannah von Reth
f8cf98a768 Cleanup Windows shell extensions 2020-03-13 14:18:18 +01:00
Hannah von Reth
db40652c6a Update year 2020-03-13 14:18:18 +01:00
Olivier Goffart
1622615d5f Run clang-tidy with modernize-use-override
And also replace all remaining Q_DECL_OVERRIDE to just override
2020-02-10 16:41:07 +01:00
Hannah von Reth
23d01c65cf [CMAKE] Fix shell extension path 2020-01-14 19:34:57 +01:00
Hannah von Reth
6725cd5826 [CMAKE] Resolve some issues discovered during review 2020-01-09 15:39:32 +01:00
Hannah von Reth
f17b305151 [CMAKE] Do not create a deployable mac bundle during build
This simplifies the cmake scripts and reduces build times
2020-01-09 15:39:32 +01:00
Markus Goetz
6bdef055d1 Revert "Windows: Use better name for SocketAPI socket #6983"
This reverts commit ed1e534d24.

Doesn't make sense to spend effort on this, we keep it as it is.
2019-10-07 20:51:09 +02:00
Hannah von Reth
2c5c821c75 Remove outdated visual studio projects, we now use cmake 2019-08-19 11:55:03 +02:00
Christian Kamm
05a4804abe Windows: Fix compile in shell_integration (3) 2019-03-21 10:25:02 +01:00
Markus Goetz
c5a58af8bd Windows: Fix compile in shell_integration (2) 2019-03-21 09:28:03 +01:00
Markus Goetz
754deb286d Windows: Fix compile in shell_integration 2019-03-21 07:27:41 +01:00
Markus Goetz
ed1e534d24 Windows: Use better name for SocketAPI socket #6983 2019-03-20 11:34:18 +01:00
Christian Kamm
221b8680e4 Merge remote-tracking branch 'origin/2.5' 2019-03-04 09:36:29 +01:00
Christian Kamm
40a8b9b44a Windows: Fix context menu handling only own verbs #7004
Previously it'd handle all verbs as if they were our own.
2019-02-28 06:59:07 +01:00
Dominik Schmidt
fc9c23c287 Disable base entitlements 2019-02-05 09:48:30 +01:00
Dominik Schmidt
ed8cc2f7d8
Fix KDEInstallDirs deprecation warnings (#6922)
* Fix KDEInstallDirs deprecation warnings

* Workaround deprecated variable used in kcoreaddons_add_plugin
2018-12-08 09:43:10 +01:00
Christian Kamm
06928a4037 winvfs: initial work
Done by ckamm and dschmidt
2018-11-26 12:53:30 +01:00
Dominik Schmidt
afa21f89e7 Avoid warning because /MT overrides /MD flag 2018-10-29 18:29:46 +01:00
Dominik Schmidt
ba65eefed7 Make OCUtil helper lib static and link it statically against crt 2018-10-29 18:29:46 +01:00
Olivier Goffart
e04af3088b Windows Shell Integration: Don't limit the size of the buffer
Otherwise we can't have operation that has many many filename

As reported in #6780
2018-09-21 11:50:23 +02:00
Christian Kamm
2811aebf1a nautilus: Fix GET_MENU_ITEMS with utf8 filenames #6643 2018-08-16 09:07:00 +02:00
Christian Kamm
c9e97c12cd Nautilus: Guard against None state #6643
It seems None gets assigned to 'state' in some paths.
2018-07-16 10:18:48 +02:00
Olivier Goffart
841606d138 nautilus shell integration: Fix when there are several branded client installed
It appears that several extension can be loaded at the same time, but their
classname for the extension need to be different, otherwise only the last
loaded one would be active.

Issue #6524
2018-06-19 19:38:31 +02:00
Christian Kamm
92b1375c58 Windows shellext: Update copyrights and company name 2018-06-18 10:49:14 +02:00
Olivier Goffart
9dac8be0ed windows shell extension: add OCUtil/resource.h
It's a copy from OCContextMenu/resources.h
2018-06-18 10:49:14 +02:00
Christian Kamm
d188b37caf Windows shellext: Add rc for OCUtil #6554
To set the dll's metadata.
2018-06-18 10:49:14 +02:00
Olivier Goffart
7ba48849c6 Windows Shell extention: Fix clicking on the menu entries
Issue #6553
2018-05-29 14:51:28 +02:00
Olivier Goffart
1ab3a9fc13 Nautilus: Fix Python3 and remove many debug
Use b'\n' in the call to rfind, as the _remainder is bytes, not a string.

Remove most of the debug message which happens during normal operation.
They are mostly spamming the nautilus console, and can also cause bug
as they may throw exception in case of wrong encoding.

Relates to issue: #6406
2018-04-25 13:58:45 +02:00
Christian Kamm
44071f0892 Nautilus shell integration: Print python version on startup #6406 2018-04-25 12:26:18 +02:00
Markus Goetz
aceff1f863 macOS: Implement new dynamic Finder menu items #6328 2018-04-12 13:12:42 +02:00
Christian Kamm
9f346037ee Nautilus integration: Not a ColumnProvider
The nautilus plugin doesn't actually define get_columns(), so pretending
to be a ColumnProvider lead to a critical warning on startup.
2018-03-28 15:30:05 +02:00
whitequark
9bd30cf003
Dolphin plugin: fall back if $XDG_RUNTIME_DIR is empty
As per XDG Base Directories specification:
> If $XDG_RUNTIME_DIR is not set applications should fall back
> to a replacement directory [...]

In practice, the ownCloud client has the fallback, but the plugin
helper does not, and if $XDG_RUNTIME_DIR is not set, the plugin
mysteriously does not work.
2018-03-24 08:12:25 +00:00
Christian Kamm
edacaae15f Merge remote-tracking branch 'origin/2.4' 2018-03-21 11:47:29 +01:00
Christian Kamm
29557ea550 Fix nautilus/nemo shell integration encoding issues #6393
The problem was that plain encode()/decode() in python2 use ascii
encoding, not utf8.
2018-03-21 11:25:37 +01:00
Olivier Goffart
72b9beb79c Merge remote-tracking branch 'origin/2.4'
Conflicts:
	shell_integration/nautilus/syncstate.py
2018-01-23 14:08:15 +01:00
Olivier Goffart
883080b557 Windows shell extension: port to the new protocol 2018-01-23 14:02:56 +01:00
Christian Kamm
ebfac84c69 Shell integration: Make nautilus work with multiselections
Previously no menu would ever be shown if more than one file is
selected. Now the GET_MENU_ITEMS command is sent with all selected files
as an argument - similar to what is done for the dolphin integration.
2018-01-23 14:02:56 +01:00
Christian Kamm
3c2622d2de Shell integration: Update nautilus for GET_MENU_ITEMS 2018-01-23 14:02:56 +01:00
Olivier Goffart
982c591ec9 SocketApi: add a way to disable menu entries 2018-01-23 14:02:56 +01:00
Olivier Goffart
1782ae3c08 SocketAPI: Make it easier to add or remove item in the action menu
By making it dynamic.
So far only the dolphin shell extension have been ported
2018-01-23 14:02:56 +01:00
Christian Kamm
72363155d8 Nautilus integration: Work with python2 and python3 2018-01-23 12:30:58 +01:00
Olivier Goffart
f254ee3211 Nautilus shell integration: Port to Python 3 2018-01-23 12:30:58 +01:00
Olivier Goffart
926609bd74 Partially revert "shell_integration/dolphin: Silence some warnings"
This partially reverts commit 1c721e9422.

This caused the overlay plugin to be installed at the wrong place
because the kcoreaddons_add_plugin macto still use deprecated
${PLUGIN_INSTALL_DIR}.

I guess we'll have to live with the warnings.
2018-01-17 17:34:27 +01:00
Dominik Schmidt
fc62e9e9d9 Fix .def and .rc files not being compiled into windows shell extensions 2018-01-13 21:01:09 +01:00
Dominik Schmidt
15967b1219 Install all dlls to BINDIR so craft does not ignore them 2018-01-13 13:58:17 +01:00
Dominik Schmidt
81c20352e1 Use new ECMAddAppIcon macro for application icons.
cmake/modules/ECMAddAppIcon.cmake is heavily patched to support sidebar icons, OUTFILE_BASE parameter and to not include 64 and 64@2x icons on macOS which are not supported. All changes are made in a way that we can upstream this.
2018-01-13 13:58:17 +01:00