Commit Graph
7695 Commits
Author SHA1 Message Date
Klaas Freitag 8402b5b6fa ownCloud: removed config file access again, correct handling of
timediff.
2012-07-19 15:39:53 +02:00
Klaas Freitag b47ac922ad ownCloud: handle time delta and access the config file. 2012-07-19 10:50:18 +02:00
Michael Georg Hansen 324120e69c Make building of tests configurable via configuration switch.
This commit makes building of tests configurable via a configuration switch given to CMake: -DUNIT_TESTING=true

Therefore, making changes to CMakeLists.txt for enabling tests is not necessary any more. It is done the same way in CSync.
2012-07-18 22:59:22 +02:00
Michael Georg Hansen eae20fc537 Configure version.h into the build directory, not the source directory. 2012-07-18 22:46:54 +02:00
Klaas Freitag d225dd124b Fixed icon setup. Theme now really supports icons in various sizes. 2012-07-18 17:29:06 +02:00
Klaas Freitag 3244a922e3 fixed overall sync state calculation for tray . 2012-07-18 17:28:30 +02:00
Klaas Freitag 11b4b36c3f Add sync.dll to Windows bundler. 2012-07-18 17:26:58 +02:00
Klaas Freitag 2b4261f15a Added functions to generate MD5-Sums based on openssl with tests. 2012-07-18 17:00:46 +02:00
Dominik Schmidt d7fb6fa749 Fix installation on all platforms + bundle on osx 2012-07-17 15:16:02 +02:00
Michael Georg Hansen 9c64b5e753 Add a clear button to the log window. 2012-07-16 21:11:19 +02:00
Klaas Freitag c3c8e512c8 Fix library build for windows, un-QOBJECTed the theme class. 2012-07-12 14:33:58 +02:00
Klaas Freitag 5f93c490a5 Make ownCloud cmocka test build on the win32 platform. 2012-07-11 18:01:08 +02:00
Klaas Freitag b74fc47e3f More unit testing of the ownCloud module with mocka. 2012-07-11 16:50:25 +02:00
Klaas Freitag 1866956984 use lstat instead of stat to stat files. Avoids problems with links. 2012-07-11 16:48:38 +02:00
Klaas Freitag e90b4a13b3 Added logging of the time values. 2012-07-11 16:05:40 +02:00
Klaas Freitag 59202fffe4 fixed spaces and logging if timesync is needed for the module. 2012-07-11 16:03:31 +02:00
Klaas Freitag 81e77afaec cleaner logging of time delta. 2012-07-11 16:02:43 +02:00
Klaas Freitag 973c2c1786 remove the push atomar method call for csync. 2012-07-10 16:21:51 +02:00
Klaas Freitag 324a9d2480 Isolate a library to add a dbus interface around. 2012-07-10 15:59:06 +02:00
Klaas Freitag 0ed8c57cad make proper logging of the module capabilities. 2012-07-09 16:46:14 +02:00
Klaas Freitag bcb31b6998 Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into dav
Conflicts:
	src/csync.c
	src/csync_propagate.c
	src/std/c_private.h
	src/vio/csync_vio.c
2012-07-09 16:39:11 +02:00
Klaas Freitag 7fb929a82d use lstat instead of stat for local files, fix oCB #713. 2012-07-09 16:15:27 +02:00
Klaas Freitag 7b261077a2 Avoid compile warning and use an unsigned variable. 2012-07-09 14:45:25 +02:00
Klaas Freitag 43685f69a3 do the capabilities after the module was initialized. 2012-07-09 14:45:05 +02:00
Klaas Freitag 9e81fd38e1 Added CMocka find module for cmake. 2012-07-09 14:29:17 +02:00
Klaas Freitag 5b79f1feca Added mocka tests for the ownCloud module. 2012-07-09 14:16:20 +02:00
Klaas Freitag 9eae6d88fd Add ownCloud directory in tests. 2012-07-09 14:10:04 +02:00
Klaas Freitag b9329f2991 undef malloc only if not doing UNIT_TESTING. 2012-07-09 14:09:34 +02:00
Klaas Freitag c0f1f36f59 Fix condition on when atomar push is allowed, never for local files. 2012-07-09 13:26:20 +02:00
Dominik Schmidt 77d71eb080 Load plugins on MacOSX. 2012-07-09 13:26:20 +02:00
Klaas Freitag 64f8e5031b owncloud: remove the win32 c_tmpname use. 2012-07-09 13:26:20 +02:00
Klaas Freitag d50f39c8b8 owncloud: Win32 use c_tmpname and set _fmode to O_BINARY. 2012-07-09 13:26:20 +02:00
Klaas Freitag 26221653ee Updated Changelog 2012-07-09 13:26:20 +02:00
Klaas Freitag 065529642e Ability to push to remote without using a tempfile to copy to.
Modules such as ownCloud make sure anyway that the upload to a
remote resource happens atomar. This patch allows to switch off
the default behaviour of first copying to a temp file in the
same directory. Use csync_set_remote_push_atomar function to
switch off.
2012-07-09 13:26:20 +02:00
Klaas Freitag c32e50462e Remove wrong cast 2012-07-09 13:26:20 +02:00
Klaas Freitag 3cbc0e5d7e ownCloud: Fix mem leaks to bring valgrind down to zero loss. 2012-07-09 13:26:20 +02:00
Klaas Freitag 36b1e21c45 ownCloud: Use wide char aware file system functions. 2012-07-09 13:26:20 +02:00
Klaas Freitag c084fa05af Added test for std function c_tmpname. 2012-07-09 13:26:20 +02:00
Klaas Freitag 037532d73b win32: Fix random file name generation, init random generator once. 2012-07-09 13:26:20 +02:00
Klaas Freitag d532031e3c Fixed release date of 1.0.2 2012-07-09 13:26:20 +02:00
Klaas Freitag 08621aa74d Updated changelog for 0.50.6. 2012-07-09 13:26:00 +02:00
Klaas Freitag 09b82ea7cd do not log on stderr on MacOSX because that spams system log 2012-07-09 13:26:00 +02:00
Klaas Freitag f802b54f6f set version to 0.50.7 2012-07-09 13:26:00 +02:00
Klaas Freitag 62acdc3b8c win32: use wide char variant of CopyFile for file copy. 2012-07-09 13:26:00 +02:00
Klaas Freitag d7deaf3448 win32: Use wide character variant of GetSpecialFolderPath to get home. 2012-07-09 13:26:00 +02:00
Klaas Freitag 52dbc10315 ownCloud: commented extensive log line. 2012-07-09 13:25:59 +02:00
Klaas Freitag 188584e832 logging in SSL callback, important to debug. 2012-07-09 13:25:59 +02:00
Klaas Freitag 9f900266f4 Added a newline in case the logging callback is zero. 2012-07-09 13:25:59 +02:00
Klaas Freitag f2439d83f0 Fix wide character support for the mkdir definition. 2012-07-09 13:25:59 +02:00
Klaas Freitag 5734a31b60 Add ability to log to a callback for the csync library. 2012-07-09 13:25:59 +02:00