1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-17 16:42:44 +01:00
Commit Graph

17345 Commits

Author SHA1 Message Date
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
Klaas Freitag
ba2963b388 tests: Use multibyte safe function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:40:09 +02:00
Klaas Freitag
4f45381920 owncloud: Also pass user from commandline.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:39:14 +02:00
Klaas Freitag
939b262766 smb: Handle username given on command line correctly.
Only ask for password if username is specified.

BUG: https://open.cryptomilk.org/issues/13

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:36:43 +02:00
Klaas Freitag
a390444666 tests: Removed unused test file.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:34:47 +02:00
Klaas Freitag
7417d6a830 tests: Modularize ownCloud's integration test script.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:33:32 +02:00
Klaas Freitag
2143959f03 vio: Do not dereference again, it's already the method_handle.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:33:09 +02:00
Klaas Freitag
9d1e020970 owncloud: Use correct namespace for fixing modification times.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:32:22 +02:00
Klaas Freitag
af3beca746 tests: Added test data for the owncloud integration test script.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:32:01 +02:00
Klaas Freitag
35ebf70ad1 owncloud: Clear the stat cache on close to force a new stat call.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:31:40 +02:00
Klaas Freitag
9f9209bba0 lock: Use wide char types for lock functions.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:31:16 +02:00
Daniel Molkentin
47f151c594 FolderWizard: Return targetPath properly 2013-07-22 23:14:41 +02:00
Daniel Molkentin
7b5ef2186e Remove accidential change 2013-07-22 23:14:12 +02:00
Daniel Molkentin
8236dafb96 INotify backend: honor ignored files
Actually this needs a careful redesign,
but this is good enough to fix the issue.

Fixes: #763
2013-07-22 21:39:13 +02:00
Daniel Molkentin
56e5627b6b ownCloudFolder -> Folder
Fixes #769
2013-07-22 20:30:38 +02:00
Daniel Molkentin
38db0eddab Make selection of target ListView-based
Fixes #222
2013-07-22 18:07:44 +02:00
Daniel Molkentin
710625e2a3 Spelling bee 2013-07-22 18:06:27 +02:00
Klaas Freitag
70495d3ede client: Don't call strdup on NULL.
CID: #968159

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:54:02 +02:00
Klaas Freitag
78605ac6cc exclude: Fix a double close().
CID: #996802

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:53:10 +02:00
Klaas Freitag
def897ca67 exclude: Use mbchar to open exclude file.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:51:26 +02:00
Klaas Freitag
cd0b85dec5 exclude: Preinitialize memory with zero.
CID: #996807

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:48:20 +02:00
Klaas Freitag
40d1498fc3 owncloud: Fix possible NULL pointer dereferences.
CID: #996808

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:46:54 +02:00
Klaas Freitag
722a556a90 std: Fix a memory on error in c_compare_file().
CID: #996811

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:39:23 +02:00
Klaas Freitag
f552637ffd owncloud: Fix a possible null pointer dereference.
CID: #996827

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:38:55 +02:00
Klaas Freitag
4be88b68cc csync: Fix possible null pointer dereferences in tree walkers.
CID: 1032801
CID: 1032804

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:38:55 +02:00
Klaas Freitag
0876c18ec9 std: Fix a memleak on error in c_iconv().
CID: #1032806

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:38:39 +02:00
Klaas Freitag
7c4c7f1b04 std: Fix memleak on error in c_rename().
CID: #1032807

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:11:57 +02:00
Klaas Freitag
047cf69f1e std: Fix file descriptor checks.
CID: #1032809
CID: #1032808

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:11:51 +02:00
Daniel Molkentin
a5e7af6c1f Make FolderMan a singleton
It doesn't "belong" to application (think about lib use cases).
This is better.
2013-07-22 13:59:52 +02:00
Klaas Freitag
917cc7faab Base overall progress data on both trees not just one 2013-07-22 12:55:24 +02:00
Daniel Molkentin
5fe4d2db2b Introduce MirallConfigFile::save/restoreGeometry() 2013-07-22 12:28:43 +02:00
Daniel Molkentin
b2c587e2f8 Settings: Show overall state as account icon
Requires the previous refactoring commit
2013-07-22 12:11:12 +02:00
Daniel Molkentin
40c2d891c1 Refactor sync result
Sync result computation is now owned by FolderMan
2013-07-22 12:10:13 +02:00
Klaas Freitag
d5ad3a8a70 Removed mistakenly checked in file. 2013-07-22 09:47:15 +02:00
Daniel Molkentin
c74382af4f octetsToString: Add TB case to pretty printer 2013-07-20 01:27:41 +02:00
Daniel Molkentin
0be0111724 Use WA_DeleteOnClose for settings
instead of trying brain dead things
2013-07-20 01:27:00 +02:00
Daniel Molkentin
f0d454b511 Ignore list editor fixes 2013-07-20 01:26:11 +02:00
Daniel Molkentin
b79a45403e Implement UI changes discussed with Jan.
Fixes #785
Fixes #782
Fixes #781
2013-07-19 22:14:21 +02:00
Klaas Freitag
1cc60e755b Rather show overall progress in settings dialog. 2013-07-19 17:05:46 +02:00
Klaas Freitag
a12782dccf Add callback parameter and call overall progress bar for initialization. 2013-07-19 17:04:31 +02:00
Klaas Freitag
59ed14698c Fix header 2013-07-19 17:04:13 +02:00
Daniel Molkentin
7fb7cc8c46 Don't hardcode strings, use constants instead
This hopefully reduces the chances for
regressions during refactoring.
2013-07-19 16:28:12 +02:00
Daniel Molkentin
1400889b23 Small cleanups 2013-07-19 16:28:12 +02:00
Daniel Molkentin
44fa9bd141 remove skip save pwd parameter -- not used any longer 2013-07-19 16:28:12 +02:00
Klaas Freitag
992dffa032 Add an overall progress counter to progressDispatcher 2013-07-19 13:05:30 +02:00
Klaas Freitag
45cdcb7502 Add a progress callback for overall and individual file up and download
progress.
2013-07-19 12:26:48 +02:00