Commit Graph

288 Commits (7ef50e9523b230876905ed437ed0b1eeefd14dc9)

Author SHA1 Message Date
Andrew Udvare 7ef50e9523 libgrive: Fix destructors of Feed and Feed2 2019-02-09 17:01:00 -05:00
Vitaliy Filippov cf51167b55 Return lost * matching back - fixes #223 2018-08-19 23:58:17 +03:00
Vitaliy Filippov cbac85a8e5 Fix #218 - Impossible to ignore sub-subdirectory via griveignore
Now an example .griveignore will look like this:

**
!dir/subdir/subdir
2018-07-31 01:11:12 +03:00
Vitaliy Filippov 93cae255fa Fix #169 2018-07-28 23:48:46 +03:00
Vitaliy Filippov 98d5b92e5d Followup to fddabe760f - should fix #217 2018-07-28 23:04:01 +03:00
Vitaliy Filippov 6b03e244df
Merge pull request #179 from proski/c2-uninitialized
Fix uninitialized use of c2 variable in State::FromLocal
2018-07-23 02:43:31 +03:00
Vitaliy Filippov ad9b66a92c
Merge pull request #186 from cpu82/master
FreeBSD fixes and improvements
2018-07-23 02:40:23 +03:00
Topher Sterling fddabe760f Upping maxResults limits. 2018-04-07 19:56:11 -06:00
Carlos J bff462211a FreeBSD fixes and improvements 2018-01-15 21:59:17 +01:00
Pavel Roskin 2e75fc669b Fix uninitialized use of c2 variable in State::FromLocal 2018-01-02 16:27:41 -08:00
Vitaliy Filippov 84c57c121e
Merge pull request #115 from sizeofvoid/master
OpenBSD install and compile fixes and improvements
2017-11-21 23:50:42 +03:00
Vitaliy Filippov 4fe1e71d5b Issue #148 - add debug message for the case 2017-06-05 14:19:47 +03:00
Vitaliy Filippov 4b6cf69cbb Fix #139 2017-03-22 18:28:48 +03:00
Vitaliy Filippov 63bb138b2d Fix #120, fix #125, fix #134 - Add .griveignore 2017-03-19 20:00:44 +03:00
Vitaliy Filippov a0aff5b146 Fix #136 - Skip links, sockets, fifos and etc 2017-03-19 12:48:01 +03:00
Jan 974733ff46 also compile with cURL Version less than 7.32.0 2017-03-10 13:33:40 +01:00
Rafael Sadowski 32f62c0850 fix: missing include under OpenBSD 2016-10-09 10:54:35 +02:00
Vitaliy Filippov 7bbb01c301 Fix #108 :)) 2016-10-04 12:25:24 +03:00
Vitaliy Filippov 04b86d1c87 :D:D:D fix #106 2016-10-01 15:24:13 +03:00
Vitaliy Filippov 08e29070c2 Fix possible uninit m_pb, print \33[K (clreol) in the end for less glitches in xfce4-terminal and \r for better window resize 2016-10-01 02:09:33 +03:00
Vitaliy Filippov e3f948496d Fix #105 2016-10-01 01:49:30 +03:00
Vitaliy Filippov 68e0e5afe5 Get progressbar::last back, do not print multiple 100% lines (fixes #104) 2016-09-30 12:33:11 +03:00
Vitaliy Filippov 67b5b05e17 Fix auth segfault, remove 1/1000 progressbar interval (fixes #103) 2016-09-30 01:14:58 +03:00
Blackrabbit f27e3724de Implement progressbar (by @svartkanin adjusted by @vitalif) 2016-09-29 00:56:15 +03:00
Vitaliy Filippov dd77c99872 Check MD5 only when it is needed (fixes #101)
This makes grive check md5 sums only when:
1) a local rename is supposed (when there are a new file and a deleted file of the same size)
2) local ctime is changed, but file size isn't
2016-09-28 01:27:28 +03:00
Vitaliy Filippov 59d02a65cb Remove outdated Doclist API implementation 2016-09-28 01:01:50 +03:00
Vitaliy Filippov 199a050099 Change deprecated auto_ptr to unique_ptr 2016-09-01 16:19:14 +03:00
Vitaliy Filippov a756414e71 Skip unreadable files during sync, remove extra stat calls (fix #63) 2016-07-31 22:05:18 +03:00
Vitaliy Filippov fbf8f1663f Initialize mMaxUpload/mMaxDownload to 0 (fix #81) 2016-07-06 12:04:15 +03:00
Vitaliy Filippov 1bd86307c6 Allow 5 params in Log, fix typo 2016-05-16 12:29:29 +03:00
Vitaliy Filippov 44d3ddf928 Implement upload/download speed limit (fix #60) 2016-05-15 23:05:49 +03:00
Vitaliy Filippov 5327016d36 Make ignore regexp non-persistent (fix #58) 2016-05-11 15:56:59 +03:00
Vitaliy Filippov 62e26118f2 Fix #62 - sub-subdirectory sync with -s 2016-05-10 23:10:45 +03:00
Vitaliy Filippov 40e33cb524 Implement upload-only and no-remote-new modes (fix #69) 2016-05-10 00:26:10 +03:00
Vitaliy Filippov 98416354f7 Remove "me in readers" condition (fix #37) 2016-01-11 18:15:29 +03:00
Vitaliy Filippov 86acd18978 Fix ResourceTest 2016-01-06 12:55:46 +03:00
Vitaliy Filippov 4a4e22026b Fix json Val type check 2016-01-06 02:21:33 +03:00
Vitaliy Filippov b6c0013052 Fix subdir/subsubdir/newfile bug
New files put in sub-subdirs of drive root were also trashed locally instead of begin uploaded to the server
2016-01-06 01:48:30 +03:00
Vitaliy Filippov 60acb75967 Fix local index updating for items already in sync 2016-01-06 01:44:22 +03:00
Vitaliy Filippov 0112330c1d Do not die and do not update local state of file on sync exceptions. Should fix #47 2016-01-05 20:14:35 +03:00
Vitaliy Filippov d606a360be Merge pull request #54 from Artox/pr
std::vector::erase is expensive; use std::list:erase instead
2016-01-03 19:24:39 +03:00
Vitaliy Filippov 3b9aa4f2aa Add new_rev switch support to drive v2 api client 2016-01-03 18:24:34 +03:00
Vitaliy Filippov ca4a0b6b80 Index allows us to not turn -f on when changing ignore regexp 2016-01-03 17:40:23 +03:00
Josua Mayer b49a89ad34 std::vector::erase is expensive; use std::list:erase instead
erasing from a vector at random is very expensive. std::list however is made for that purpose!
2016-01-03 14:24:55 +01:00
Vitaliy Filippov 00311e8365 Implement automatic rename detection 2016-01-03 12:43:22 +03:00
Vitaliy Filippov 23fa985bdb Do not track last_sync at all, clear srv_time's with -f option 2016-01-03 02:01:02 +03:00
Vitaliy Filippov 8f640ebdad Check local index instead of last_sync time, totally disable separate folder and changes sync passes 2016-01-03 02:01:02 +03:00
Vitaliy Filippov af05c7c626 Use stored server times to check for server-side modifications
(broken because deleted/new detection logic relies on last_sync/last_change)
2016-01-03 02:01:02 +03:00
Vitaliy Filippov 4edff0a816 Cache file checksums and modification times in local index (in JSON in .grive_state) 2016-01-03 02:01:01 +03:00
Vitaliy Filippov 5381919e5b Enable warnings and fix them 2016-01-03 02:01:01 +03:00