nextcloud-desktop.git
10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 5 Aug 2016 12:23:25 +0000 (14:23 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 5 Aug 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years agoSyncEngine: Fix detection of backup (#5104)
Olivier Goffart [Thu, 4 Aug 2016 14:06:10 +0000 (16:06 +0200)]
SyncEngine: Fix detection of backup (#5104)

Once upon a time, the SyncEngine was instantiated once per sync. But now that
the SyncEngine is kept between sync, we need to reset all these variable between
syncs.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 4 Aug 2016 00:18:35 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years agoRevert "Fix a deadlock when shutting down during discovery" (#5100)
Jocelyn Turcotte [Wed, 3 Aug 2016 14:35:24 +0000 (16:35 +0200)]
Revert "Fix a deadlock when shutting down during discovery" (#5100)

Reverts commit 622017adcf3b1a914221acc0bb2c17e1429ea4c3

Could be the cause of #5092 and the cost is higher than the benefit if this is the case.
A network request taking more than 30 seconds isn't something unlikely in this world
and shouldn't be a good reason to abort. We should try to untangle the threads
dependencies to properly fix this if possible instead.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 3 Aug 2016 00:18:37 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 2 Aug 2016 00:18:35 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years agoMerge pull request #5069 from owncloud/Jenkinsfile-2.2
Thomas Müller [Mon, 1 Aug 2016 10:41:04 +0000 (12:41 +0200)]
Merge pull request #5069 from owncloud/Jenkinsfile-2.2

[2.2] Add Jenkinsfile (#5041)

10 years agoQt4: don't require a X server in the tests
Olivier Goffart [Tue, 12 Jul 2016 09:07:12 +0000 (11:07 +0200)]
Qt4: don't require a X server in the tests

Issue #5069

(cherry picked from commit 927a8b5071a8ee360ea4a1b24d093d8e9acacf18 and
a4310f0f5c4855c5249ffb1355c6fc039e141316)

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 1 Aug 2016 00:48:18 +0000 (02:48 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 31 Jul 2016 00:50:05 +0000 (02:50 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 30 Jul 2016 00:39:29 +0000 (02:39 +0200)]
[tx-robot] updated from transifex

10 years agoAdd Jenkinsfile (#5041)
Thomas Müller [Tue, 12 Jul 2016 11:24:35 +0000 (13:24 +0200)]
Add Jenkinsfile (#5041)

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 29 Jul 2016 00:18:35 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 28 Jul 2016 00:18:39 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 27 Jul 2016 00:18:42 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years agoMore GmbH -> Inc Copyright header fixes
Daniel Molkentin [Tue, 26 Jul 2016 14:53:11 +0000 (16:53 +0200)]
More GmbH -> Inc Copyright header fixes

10 years agoshell/windows: Build 43, add missing 32 bit binaries
Jocelyn Turcotte [Tue, 26 Jul 2016 12:54:27 +0000 (14:54 +0200)]
shell/windows: Build 43, add missing 32 bit binaries

Also include a minor change from #5025

10 years agoshell/windows: Add missing Win32 configuration changes
Jocelyn Turcotte [Tue, 26 Jul 2016 12:53:14 +0000 (14:53 +0200)]
shell/windows: Add missing Win32 configuration changes

The changes in build location were only done on the x64 configuration.

10 years agoChangeLog for 2.2.3
Markus Goetz [Tue, 26 Jul 2016 10:14:00 +0000 (12:14 +0200)]
ChangeLog for 2.2.3

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 26 Jul 2016 00:43:40 +0000 (02:43 +0200)]
[tx-robot] updated from transifex

10 years agoShibbolethView: Open a debug windows that shows cipher info. (#5080)
Klaas Freitag [Mon, 25 Jul 2016 15:47:23 +0000 (17:47 +0200)]
ShibbolethView: Open a debug windows that shows cipher info. (#5080)

It opens a window and connects to a cipher test
page, showing the output from there, that helps for debugging.

The window is enabled by setting the environment variable
OWNCLOUD_SHIBBOLETH_DEBUG

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 25 Jul 2016 00:18:34 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 24 Jul 2016 00:18:36 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 23 Jul 2016 00:18:47 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 22 Jul 2016 00:18:44 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 21 Jul 2016 00:18:38 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 20 Jul 2016 06:18:40 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 19 Jul 2016 06:18:37 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 18 Jul 2016 07:29:56 +0000 (09:29 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 18 Jul 2016 06:18:44 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 17 Jul 2016 06:18:34 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 16 Jul 2016 06:18:34 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 15 Jul 2016 06:18:36 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 14 Jul 2016 06:18:43 +0000 (08:18 +0200)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 13 Jul 2016 06:18:41 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoMerge pull request #5016 from owncloud/overrideurl
Olivier Goffart [Tue, 12 Jul 2016 12:33:28 +0000 (14:33 +0200)]
Merge pull request #5016 from owncloud/overrideurl

AccountManager: Don't force the server URL while loading the config.

10 years agoMerge pull request #5025 from ArthurChiao/bugfix_#5015
Olivier Goffart [Tue, 12 Jul 2016 12:32:54 +0000 (14:32 +0200)]
Merge pull request #5025 from ArthurChiao/bugfix_#5015

fix #5015 overlay icon not show: compare folder paths with no case-se…

10 years agoSharing: Fix bug with file names containing percent encodes #5042 (#5043)
ckamm [Tue, 12 Jul 2016 12:25:33 +0000 (14:25 +0200)]
Sharing: Fix bug with file names containing percent encodes #5042 (#5043)

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 12 Jul 2016 06:18:39 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 11 Jul 2016 06:18:33 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 10 Jul 2016 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 9 Jul 2016 06:18:51 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agobe case insensitive for MacOSX, too
arthurchiao [Fri, 8 Jul 2016 07:53:11 +0000 (15:53 +0800)]
be case insensitive for MacOSX, too

10 years agoignore case-sensitivity only on windows
arthurchiao [Fri, 8 Jul 2016 07:12:37 +0000 (15:12 +0800)]
ignore case-sensitivity only on windows

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 8 Jul 2016 06:18:52 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 7 Jul 2016 06:18:42 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoWindows: Skip symlinks and junctions again #5019 (#5036)
ckamm [Thu, 7 Jul 2016 06:07:19 +0000 (08:07 +0200)]
Windows: Skip symlinks and junctions again #5019 (#5036)

Fixes an accidental behavior change introduced in
055c2ef73f84b68ebfbe0296fadef438981cba37

Affects #4056 and owncloud/enterprise#1225.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 6 Jul 2016 06:19:04 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoMerge pull request #5034 from owncloud/fix-5033
Daniel Molkentin [Tue, 5 Jul 2016 10:46:20 +0000 (12:46 +0200)]
Merge pull request #5034 from owncloud/fix-5033

Only accept notification API Capability if endpoint is OCS-enabled

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 5 Jul 2016 06:18:32 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoOnly accept notification API Capability if endpoint is OCS-enabled
Daniel Molkentin [Mon, 4 Jul 2016 16:30:13 +0000 (18:30 +0200)]
Only accept notification API Capability if endpoint is OCS-enabled

Fixes #5033

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 4 Jul 2016 06:18:34 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 3 Jul 2016 06:18:29 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 2 Jul 2016 06:19:18 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 1 Jul 2016 06:18:37 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agofix #5015 overlay icon not show: compare folder paths with no case-sensitivity
arthurchiao [Fri, 1 Jul 2016 05:03:42 +0000 (13:03 +0800)]
fix #5015 overlay icon not show: compare folder paths with no case-sensitivity

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 30 Jun 2016 06:18:34 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 29 Jun 2016 06:18:33 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoAccountManager: Don't force the server URL while loading the config.
Olivier Goffart [Tue, 28 Jun 2016 12:27:00 +0000 (14:27 +0200)]
AccountManager: Don't force the server URL while loading the config.

While loading the account, only override the server url if Theme::forceConfigAuthType
is set. This restore the behavior from the client 2.1 for theme that did not
use Theme::forceConfigAuthType.

Issue: owncloud/enterprise#1418

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 28 Jun 2016 06:19:16 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoMerge pull request #5007 from owncloud/rebuildWinShellIntegration
Jocelyn Turcotte [Mon, 27 Jun 2016 16:02:42 +0000 (18:02 +0200)]
Merge pull request #5007 from owncloud/rebuildWinShellIntegration

Rebuild win shell integration

10 years agoFix a QAction leak (#5008)
Jocelyn Turcotte [Mon, 27 Jun 2016 14:22:51 +0000 (16:22 +0200)]
Fix a QAction leak (#5008)

Attach the accout menu QAction to the menu rather than the
ownCloudGui since it should be destroyed when the context
menu is cleared.

10 years agoFix windows HiDPI #4994 (#4998)
ckamm [Mon, 27 Jun 2016 14:17:58 +0000 (16:17 +0200)]
Fix windows HiDPI #4994 (#4998)

This was removed in 0194ebb2229adc33f5b9790231a3384b46474bde
because it breaks on Linux. However, it looks like it is correct
for Windows. In the meantime the surrounding ifdef has changed
from !Q_OS_MAC to Q_OS_WIN, so reverting it makes sense.

10 years agoFix a deadlock when shutting down during discovery (#4993)
Jocelyn Turcotte [Mon, 27 Jun 2016 14:12:39 +0000 (16:12 +0200)]
Fix a deadlock when shutting down during discovery (#4993)

Since the SyncEngine now quits and waits for the discovery thread,
the main thread can enter a deadlock where the discovery thread waits
for its directory result.

Add a 2 seconds timer to the discovery thread wait condition
to limit the deadlock time.

10 years agobinaries: Update to build 42 owncloud/client#4977
Jocelyn Turcotte [Mon, 27 Jun 2016 13:30:03 +0000 (15:30 +0200)]
binaries: Update to build 42 owncloud/client#4977

10 years agoshell_integration/windows: Set VS output directory in the binary submodule
Jocelyn Turcotte [Mon, 27 Jun 2016 13:07:59 +0000 (15:07 +0200)]
shell_integration/windows: Set VS output directory in the binary submodule

This allows creating a new build simply by hitting F7 in visual studio
and then committing the changed files in the binary submodules without
having to know which files to move where.

10 years agoshell_integration/windows: Add a manually-increased build number
Jocelyn Turcotte [Mon, 27 Jun 2016 13:02:56 +0000 (15:02 +0200)]
shell_integration/windows: Add a manually-increased build number

Since this isn't yet built together with the rest, we can't reliably
use the client version without having to rebuilt the extension manually
on each release. But it would still be nice to be able to tell if a user
has the right version or not loaded, so instead just tag each update of
the DLLs with a separate release version.

This means that every time we update those binaries we'll have to manually
increment the number in the header, but worst case we'll forget from time
to time but we'll be able to know if we didn't, and know if we can rely on
the number or not.

10 years agoSocketAPI: Use different pipe name #4977 (#4997)
ckamm [Mon, 27 Jun 2016 13:13:08 +0000 (15:13 +0200)]
SocketAPI: Use different pipe name #4977 (#4997)

Named pipe names that contain backslashes sometimes lead to problems.

10 years agoShare: Permissions for federated shares on servers >=9.1 #4996 (#5001)
ckamm [Mon, 27 Jun 2016 09:09:51 +0000 (11:09 +0200)]
Share: Permissions for federated shares on servers >=9.1 #4996 (#5001)

This disables the workaround 487e1fdca5ee04fc98c1ed77898df70d740967c8
for servers that are new enough to support fine grained permissions
on federated shares.

The consequence is that the 'reshare' permission is now granted by
default and that users can edit permissions on the usual fine-grained
level again.

The way the client deals with servers <9.1 is unchanged.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 27 Jun 2016 06:18:35 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 26 Jun 2016 06:18:40 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 25 Jun 2016 06:18:39 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 24 Jun 2016 06:18:52 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoTray: Add minimal mode as workaround and testing tool #4985 #4990
Christian Kamm [Thu, 23 Jun 2016 08:22:43 +0000 (10:22 +0200)]
Tray: Add minimal mode as workaround and testing tool #4985 #4990

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 23 Jun 2016 06:18:31 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoFix Qt4 build
Christian Kamm [Wed, 22 Jun 2016 13:47:33 +0000 (15:47 +0200)]
Fix Qt4 build

10 years agoowncloudcmd: Fix --exclude regression
Christian Kamm [Wed, 22 Jun 2016 13:30:20 +0000 (15:30 +0200)]
owncloudcmd: Fix --exclude regression

It's ok if the system exclude file is missing when --exclude is
specified explicitly.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 22 Jun 2016 06:18:48 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agocsync: Use the full file stat destructors (#4992)
ckamm [Tue, 21 Jun 2016 10:06:21 +0000 (12:06 +0200)]
csync: Use the full file stat destructors (#4992)

* For csync_file_stat_t and csync_vio_file_stat_t
* Add original_name to the vio file stat destructor

10 years agoFix the Qt4 build
Jocelyn Turcotte [Tue, 21 Jun 2016 10:03:52 +0000 (12:03 +0200)]
Fix the Qt4 build

QSharedPointer::reset doesn't exist in Qt4.

10 years agoMerge pull request #4979 from jturcotte/2.2
Markus Goetz [Tue, 21 Jun 2016 08:00:41 +0000 (10:00 +0200)]
Merge pull request #4979 from jturcotte/2.2

Memory improvements during propagation

10 years agoSetup csync logging earlier (#4991)
ckamm [Tue, 21 Jun 2016 07:58:53 +0000 (09:58 +0200)]
Setup csync logging earlier (#4991)

We were missing some csync related log output during startup.

Discovered in #4967

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 21 Jun 2016 06:18:36 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoThis branch is headed towards 2.2.3 now
Daniel Molkentin [Mon, 20 Jun 2016 15:42:19 +0000 (17:42 +0200)]
This branch is headed towards 2.2.3 now

10 years agoexcludes: Only log if the pattern was really logged. (#4989)
Klaas Freitag [Mon, 20 Jun 2016 13:50:20 +0000 (15:50 +0200)]
excludes: Only log if the pattern was really logged. (#4989)

10 years agoPerformance: Don't redundantly add the same exclude files #4967 (#4988)
ckamm [Mon, 20 Jun 2016 13:14:13 +0000 (15:14 +0200)]
Performance: Don't redundantly add the same exclude files #4967 (#4988)

Excludes: Don't redundantly add the same exclude files #4967, Never accept duplicate exclude patterns #4967

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 20 Jun 2016 06:18:29 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 19 Jun 2016 06:18:34 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 18 Jun 2016 06:18:33 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoReduce the memory usage of the StopWatch during propagation
Jocelyn Turcotte [Fri, 17 Jun 2016 17:09:37 +0000 (19:09 +0200)]
Reduce the memory usage of the StopWatch during propagation

Use a QMap to avoid using a full hashtable for only a few entries, and
clear the QMap once we're done with the measuring. This saves a few
hundred bytes per job during propagation that would otherwise only be
freed at the end of the sync.

10 years agoDelete the ComputeChecksum object when the job is finished
Jocelyn Turcotte [Fri, 17 Jun 2016 17:08:04 +0000 (19:08 +0200)]
Delete the ComputeChecksum object when the job is finished

Each object takes almost 1k and we don't need it once the propagation is
done.

10 years agoPrevent the sync protocol widget from over-using memory
Jocelyn Turcotte [Fri, 17 Jun 2016 17:06:39 +0000 (19:06 +0200)]
Prevent the sync protocol widget from over-using memory

During propagation, we create a line for each file, taking memory, but
we delete all lines passed 2000 right at the beginning of the next sync.
Since the user has little chances of being able to read past those 2000
lines in the log, we might as well keep it capped at 2000 also during
propagation to prevent it from eating memory.

10 years agoFix a crash on if shutting down during propagation
Jocelyn Turcotte [Fri, 17 Jun 2016 17:04:24 +0000 (19:04 +0200)]
Fix a crash on if shutting down during propagation

The SyncRunFileLog owned by the Folder must be destroyed after the
SyncEngine since the SyncEngine will abort during destruction, resulting
in all jobs being aborted.

It's possible that this crash only happens with a debug build.

10 years agoVERSION.cmake: This is 2.2.2
Markus Goetz [Fri, 17 Jun 2016 08:31:30 +0000 (10:31 +0200)]
VERSION.cmake: This is 2.2.2

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 17 Jun 2016 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoSocketAPI: Push new status of dirty files regardless when not synced (#4970)
Jocelyn Turcotte [Thu, 16 Jun 2016 13:27:10 +0000 (15:27 +0200)]
SocketAPI: Push new status of dirty files regardless when not synced (#4970)

The FolderWatcher inserts files to be marked as SYNC and we
currently assume that all file statuses will be updated by the
following sync. It's however possible that the FolderWatcher
notify us of a change that csync won't consider necessary to
propagate, in which case a new status wouldn't be pushed and
the file manager would continue showing this file as syncing.

Re-push the file status when emptying the dirty files list
before propagating to avoid this issue, most likely the OK
status.

10 years agoChecksum speedup. (#4968)
Olivier Goffart [Thu, 16 Jun 2016 06:28:30 +0000 (08:28 +0200)]
Checksum speedup. (#4968)

No need to allocate (and initialize to 0) a 10 MiB buffer for each files, even
when most files are much smaller than that.
So make sure the buffer that we allocate is not bigger than the file size.
And Also 10 MiB is a bit big for a buffer. 500 KiB should be more than enough.
(Too big allocations can cause problem because of memory fragmentation and such)

10 years agoSyncEngine: make abort and closing more robust
Olivier Goffart [Wed, 15 Jun 2016 15:01:00 +0000 (17:01 +0200)]
SyncEngine: make abort and closing more robust

We first need to set the abort flag to csync and then aborting the discovery
job, otherwise, the discovery thread could start a new job in the mean time.

We also need to make sure that the thread has existed before we destroy the
exclude list.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 16 Jun 2016 06:18:46 +0000 (02:18 -0400)]
[tx-robot] updated from transifex