Commit Graph
13590 Commits
Author SHA1 Message Date
Daniel Molkentin b0f0d0b1cd qDebug() ises local8bit, not utf-8.
Fixes #651
2013-06-07 17:28:04 +02:00
Olivier Goffart 882e027e40 Remove dead condition
rc==123 was a magic value set to mean not to save the error. But after
some refactoring, it is not done like that anymore
2013-06-07 16:43:48 +02:00
Klaas Freitag 161e2fbadc Avoid build failure if NDEBUG is unset. 2013-06-07 16:19:22 +02:00
Klaas Freitag ae5847138c Fix test cases for the new database code. 2013-06-07 16:09:22 +02:00
Klaas Freitag 5852a2dd06 Create an empty metadata table if non exists. 2013-06-07 16:09:07 +02:00
Klaas Freitag fbfba8bfbb Add another database integrity check on startup to avoid corrupt dbs. 2013-06-07 16:08:45 +02:00
Daniel Molkentin 5a2d7e9c9f Do not corrupt ctx->replica value if push_file fails 2013-06-07 14:58:38 +02:00
Klaas Freitag d9ef991448 Removed unused progress info allocation. 2013-06-07 09:18:27 +02:00
Daniel Molkentin 858dcb53bd Status dialog delegate: Use font from option 2013-06-06 22:12:18 +02:00
Daniel Molkentin 9d7db88fcb status dialog: Use contrast color for highlights
Fixes #440.
2013-06-06 22:11:36 +02:00
Daniel Molkentin 2099b7c6a0 ensureJournalGone: fix logic 2013-06-06 21:43:05 +02:00
Daniel Molkentin 4442564ad2 Clean up slotAddFolder
Ensure folder sync scheduling is off in the meanwhile.
2013-06-06 21:27:15 +02:00
Daniel Molkentin 12148b5c9b remove journal when adding a new sync on an existing folder 2013-06-06 17:59:50 +02:00
Daniel Molkentin d7d77a49fc Show help on Windows
We have no console, so show a message box.
2013-06-06 16:00:51 +02:00
Daniel Molkentin b70c2f5c20 torture scripts: fix description 2013-06-06 11:05:21 +02:00
Olivier Goffart bb03664bfd Let csync_update report the right error.
The problem is that the call to csync_memstat_check will try to open a
file, that will fail on windows and override the errno
2013-06-06 10:44:52 +02:00
Daniel Molkentin 033249423f Add torture scripts + standard layout files 2013-06-05 21:36:55 +02:00
Klaas Freitag e4e30e2cdd Use multibyte version of open in database version check. 2013-06-05 17:59:34 +02:00
Klaas Freitag f320f9c701 void an unused variable. 2013-06-05 16:39:06 +02:00
Klaas Freitag e92dd4c1da Removed some logs that are not needed. 2013-06-05 16:35:48 +02:00
Klaas Freitag cab00ea668 Added missing CloseHandle, detected by Coverty. 2013-06-05 16:34:58 +02:00
Daniel Molkentin 0c959e8661 Windows: Log change of power state 2013-06-05 16:14:20 +02:00
Daniel Molkentin 79785241ea Docs: --logdir replaces --logfile 2013-06-05 14:57:32 +02:00
Daniel Molkentin 0090862313 wizard: show native separators on folder chooser button 2013-06-04 00:46:34 +02:00
Daniel Molkentin a4a68c6622 Wizard: Better wording when renaming failes 2013-06-03 23:34:28 +02:00
Daniel Molkentin e92a422d3d Send OC-Chunked instead of OC_CHUNKED.
Will still be understood by the server, as PHP mangles the header
to read HTTP_OC_CHUNKED in both cases.
2013-06-03 22:51:28 +02:00
Klaas Freitag 49b4c341ae Really unload folders before reconfiguring. 2013-06-03 17:27:06 +02:00
Klaas Freitag 9001dbb082 Use variable verb and avoid warnings. 2013-06-03 17:23:39 +02:00
Olivier Goffart 22a07634b6 Fix upload of big files when proxy remove the OC_CHUNKED header
In that case, the first chun would be uploaded as a chunk.
Take that case into account and if we get a success after only one
chunk, we try to delete the chunk, and it it worked, it means chunking
was not supported.
2013-06-03 17:23:39 +02:00
Olivier Goffart 7c1f91abdd Add the --logdir commandline option
To log to a different file for every sync.

This also changed a QueuedConnection to AutoConnection, that way we
directly save the log from the main thread in the file without waiting
for the event loop (so if it crashes before, the log has been writen)
2013-06-03 16:25:41 +02:00
Klaas Freitag 1f2ba7e254 Handle rename fails for backup reasons correctly. 2013-06-03 15:47:39 +02:00
Klaas Freitag 8014bcb7c4 Check for emptiness before backuping the entire dir. 2013-06-03 15:47:07 +02:00
Klaas Freitag b1c8bf5954 Fix backup name generation. 2013-06-03 15:46:41 +02:00
Klaas Freitag 0eb6740bac Added default argument to terminateSyncProcess 2013-06-03 15:46:11 +02:00
Klaas Freitag 96531b548a Minor Cleanups. 2013-06-03 15:45:28 +02:00
Klaas Freitag f3371360ed Check the CredentialStore state before fetching creds again. 2013-06-03 15:44:58 +02:00
Olivier Goffart 5bb4c3be43 TMP threaded 2013-06-03 10:43:21 +02:00
Daniel Molkentin a06078f89f bump version 2013-05-31 16:26:54 +02:00
Daniel Molkentin c1b92f9fed beta2 v1.3.0-beta2 2013-05-31 16:25:57 +02:00
Daniel Molkentin b028ca0738 Merge pull request #650 from manolopm/master
Fixes for windows client when setup server url customization
2013-05-31 07:25:09 -07:00
Daniel Molkentin a9aab30d55 Display proxy errors 2013-05-31 16:16:56 +02:00
Daniel Molkentin efbad3a3c8 Propagate proxy changes to csync at run time 2013-05-31 16:16:41 +02:00
Klaas Freitag fe6fdb5e88 Enable NE_LFS, important for Win32 platform. 2013-05-31 13:23:21 +02:00
Manuel Padron Martinez b6ed959f98 Removes server url label if a custom url is defined
Signed-off-by: Manuel Padron Martinez <manolopm@gmail.com>
2013-05-31 04:46:26 +01:00
Manuel Padron Martinez 477953f965 Put wizard url customization before connect signals
Signed-off-by: Manuel Padron Martinez <manolopm@gmail.com>
2013-05-31 04:45:48 +01:00
Daniel Molkentin aaf59cece5 Wizard: Normalize directory separators 2013-05-29 17:24:59 +02:00
Daniel Molkentin e88b7e8ec2 Centralize User Agent string and use in UpdateDetector 2013-05-29 16:13:38 +02:00
Daniel Molkentin 078b09b5f4 Remove obsolete include 2013-05-29 16:12:42 +02:00
Daniel Molkentin 0d06fe764a Status dialog: Use correct font metrics
This avoids cutting charcters such as 'y'.
2013-05-29 14:46:02 +02:00
Daniel Molkentin c53ad974ee Make socks proxies work. 2013-05-29 14:17:30 +02:00