1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-09-30 20:42:52 +02:00
Commit Graph

13240 Commits

Author SHA1 Message Date
Klaas Freitag
3a9ab3a86f Consolidated progress displaying to a single slot from csync. 2013-07-26 13:44:38 +02:00
Klaas Freitag
2cc5bbe187 ownCloud: Some fixes to promote the correct progress. 2013-07-26 13:43:02 +02:00
Klaas Freitag
6aa7a62ee0 client: Check if optarg is different from NULL before dereferencing.
CID 968159
2013-07-25 17:46:55 +02:00
Klaas Freitag
35461db4e9 std: Do size compare based on fstat after opening the files.
CID: #996804

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-25 17:46:46 +02:00
Klaas Freitag
8f912ca0c5 Adopt to new progress API in csync, WIP 2013-07-25 16:28:45 +02:00
Andreas Schneider
5d34417e76 exclude: Make sure the buffer is null terminated.
CID: #996807
2013-07-25 15:47:16 +02:00
Klaas Freitag
0a15f0e7ad New progress API: Consolidate to one progress Callback having all info.
Before there were two callbacks, one for the individual file and one for
for the overall progress. Now its more easy and clean.
2013-07-25 15:36:46 +02:00
Olivier Goffart
a827056d28 Fix upload limit 2013-07-25 11:21:02 +02:00
Klaas Freitag
6c90989584 Make progress display more robust. 2013-07-25 11:00:19 +02:00
Olivier Goffart
f06fead44f fix test 2013-07-25 10:55:57 +02:00
Daniel Molkentin
08acf5e9aa Network Settings: Reword entries, fix uic warnings 2013-07-25 10:41:44 +02:00
Andreas Schneider
45cfcfc383 cmake: Pass _FORTIFY_SOURCE only to the precompiler. 2013-07-25 10:00:41 +02:00
Andreas Schneider
29a0c4ac35 tests: Update valgrind suppressions file. 2013-07-25 09:53:24 +02:00
Andreas Schneider
b3ae26c6d2 tests: Load the sftp module for vio testing.
This has no memory leaks unlike smbclient.
2013-07-25 09:52:58 +02:00
Andreas Schneider
d454a261ce owncloud: Fix a build warning. 2013-07-25 08:39:46 +02:00
Andreas Schneider
dbd242442f update: Make sure ulen is initialized. 2013-07-25 08:36:23 +02:00
Daniel Molkentin
bca295183b Make use of bandwidth limiting, split general/network settings.
Fixes #14
2013-07-24 19:53:20 +02:00
Olivier Goffart
3d1994747a Also allow to specify a % of bandwidth for the limit 2013-07-24 18:17:59 +02:00
Olivier Goffart
6109b22aa6 Implement bandwidth limitation 2013-07-24 18:17:54 +02:00
Markus Goetz
a400a2e0bb OS X: Fix window messup 2013-07-24 17:06:35 +02:00
Klaas Freitag
452b0e96ec vio: Fix compile warning if compiled without testing.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:35:43 +02:00
Klaas Freitag
03685bd15b owncloud: Fix compile warnings if NDEBUG is not defined.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:34:51 +02:00
Klaas Freitag
9c09c1f1cb owncloud: Removed malicious logging.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:33:19 +02:00
Klaas Freitag
570566d1de tests: Use correct setup method for ftw check.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:07:12 +02:00
Andreas Schneider
c00e401306 update: Make sure we don't have an invalid path pointer. 2013-07-24 16:01:00 +02:00
Andreas Schneider
7d1a61d68d cmake: Set nightly start time to UTC. 2013-07-24 16:01:00 +02:00
Daniel Molkentin
8c15839753 Remove all >= Qt 4.7 ifdefs 2013-07-24 15:34:37 +02:00
Klaas Freitag
810024f4c9 Reworked progress display for more performance.
Moved most of the logic to the dialog class to be able to only update
the GUI if there are really changes rather than doing it whenever a
change happens.
2013-07-24 14:40:47 +02:00
Klaas Freitag
de7bcca5fe Fixed signal and slot parameter list for progress. 2013-07-24 14:40:47 +02:00
Klaas Freitag
6552a48639 Make compactFormatDouble a bit smarter. 2013-07-24 14:40:47 +02:00
Daniel Molkentin
aee0f0c882 make addFolderDefintion easier to read 2013-07-24 14:27:57 +02:00
Daniel Molkentin
e353193fbb FolderMan: Remove dead code 2013-07-24 14:23:32 +02:00
Daniel Molkentin
fb547e9100 Fix/compactify comments in folderman.h 2013-07-24 14:16:52 +02:00
Markus Goetz
44289c8781 OS X: Fix compile 2013-07-24 14:08:16 +02:00
Daniel Molkentin
d4a5ab252d Drop Compat with Qt 4.6
We now require Qt 4.7 due to QNAM
2013-07-24 13:59:03 +02:00
Olivier Goffart
09e30509d1 Propertly report the error from the server while uploading 2013-07-23 17:40:44 +02:00
Olivier Goffart
75682f981d Add a threshold to httpbf before splitting the files 2013-07-23 17:31:31 +02:00
Klaas Freitag
8e1c8a3ea8 client: Fix a build warning of used userdata parameter.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 17:31:11 +02:00
Olivier Goffart
7a8b07443f Fix cases where the file has been replaced by another with the same mtime
IL issue 169
2013-07-23 16:03:50 +02:00
Daniel Molkentin
a3b3c28694 CSyncThread: Fix unreachable code 2013-07-23 14:34:06 +02:00
Klaas Freitag
976c41a3b8 Beautified ProgressDispatcher 2013-07-23 13:32:33 +02:00
Daniel Molkentin
da087292fd First version of progress in the context menu 2013-07-23 13:19:17 +02:00
Klaas Freitag
274f59f93b Reworked progress again following mirall bug #137 2013-07-23 12:23:29 +02:00
Klaas Freitag
85d810d2cf Rename signal from folderProgress to itemProgress. 2013-07-23 12:23:20 +02:00
Klaas Freitag
f47e8c4506 cmake: Disable cmake iconv check on win32.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:59:29 +02:00
Klaas Freitag
ab6ac22582 std: Cleanup utf8_from and to_locale function, added mem checks.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:57:37 +02:00
Klaas Freitag
fe706dc8f9 cmake: Check for existing header file in neon cmake module.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:52:49 +02:00
Klaas Freitag
db6b5131cc propagate: Base overall progress data on both trees rather than one.
The overall sum of files to transmit has to be calculated over both
trees. Therefore a utility function was written which is called from
the csync_propagate_files main function.

Moreover, the current file number counter in overall progress now ranges
from 1..n rather than 0..n-1.

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:52:27 +02:00
Klaas Freitag
05a62bb41f csync: Add userdata parameter to the overall progress callback.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:45:17 +02:00
Klaas Freitag
0c3becfdb6 cmake: Fix make install on win32 platform.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:41:41 +02:00