Commit Graph

51 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 11a3d788d0 Fix libgrive/test build after removing doclist api (fixes #102) 2016-09-28 10:16:57 +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 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 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 5da32905ea Move old tests to fix build errors, fixes #14 2015-06-27 23:18:03 +03:00
Vitaliy Filippov 5bc503279a Remove JSON-C json wrappers, use YAJL for everything 2015-05-16 00:37:02 +03:00
Nestal Wan 6ba04dcfba added operator<< to print out json 2013-05-02 00:55:39 +08:00
Nestal Wan 6fa6e690c6 added json writer 2013-05-02 00:41:47 +08:00
Nestal Wan abfa9ce765 added ValResponse class to parse JSON from http 2013-05-02 00:04:42 +08:00
Nestal Wan 2d29692601 added yajl parser 2013-05-01 22:47:37 +08:00
Nestal Wan 540e3d82db added type conversion to supported types 2013-05-01 13:36:29 +08:00
Nestal Wan 658fb757e3 added Val class for generic representation of JSON, but there's some problems with maps 2013-05-01 01:56:34 +08:00
Nestal Wan 15b3b85807 UT compile fixes 2013-04-29 23:49:01 +08:00
Nestal Wan 62dc542341 refactored old GDoc API into v1 namespace. using v2 namespace for new Google Drive API 2013-04-29 23:47:33 +08:00
justin 29f17397c1 fix broken unit tests 2012-08-01 20:46:59 +01:00
Nestal Wan 804fe923f2 refactored the config file part from #109 2012-07-30 16:52:59 +08:00
justin 034891a610 issue 86 allow sync folder to be specified, move Config class and add basic unit test 2012-07-29 18:17:41 +01:00
Nestal Wan e388d0bf34 added mock agents for unit tests 2012-06-17 16:34:57 +08:00
Nestal Wan 7be193c35b added unit test case 2012-06-10 23:11:32 +08:00
Nestal Wan a863939b05 "fixed" UT 2012-06-10 21:13:46 +08:00
Nestal Wan 379dddc532 fully configurable log 2012-06-03 18:31:02 +08:00
Matchman Green 6db0b4a7aa refactored the creation of resources 2012-05-31 23:37:47 +08:00
Matchman Green 8b1b388713 not tracking the status of all files/dir in .grive_state 2012-05-30 01:30:06 +08:00
Matchman Green d78728938f added resource test 2012-05-25 01:24:59 +08:00
Matchman Green 61c01019f7 added more test cases and some minor refactoring 2012-05-25 01:24:59 +08:00
Matchman Green 3c769a720a remove Gdbm stuff as it won't compile on some system 2012-05-24 17:52:04 +08:00
Matchman Green dfbe859531 load and save from .grive_state and build the resource tree 2012-05-20 17:12:01 +08:00
Matchman Green b1589bb181 clean up sync code 2012-05-20 15:01:53 +08:00
Matchman Green 3a33db68b6 replaced the Path class with fs::path 2012-05-20 15:01:52 +08:00
Matchman Green 57fb6d3b0e added state to drive 2012-05-20 15:01:52 +08:00
Matchman Green 6dd505f8a6 added state 2012-05-20 15:01:52 +08:00
Matchman Green 66e7783a9c added backtrace 2012-05-13 14:08:04 +08:00
Matchman Green 444bf61c73 added copy ctor & op= to NodeSet 2012-05-12 12:27:35 +08:00
Matchman Green c1c1916eb7 improved Find() in SetSet 2012-05-12 11:47:51 +08:00
Matchman Green ceffebb097 changed operator[] to return NodeSet 2012-05-12 11:09:31 +08:00
Matchman Green 05cae069c6 added NodeSet 2012-05-12 10:49:22 +08:00
Matchman Green f80a5f0fb7 trying to read properties from entry XML 2012-05-12 10:49:22 +08:00
Matchman Green 826db0e064 added UT helper 2012-05-12 10:49:22 +08:00
Matchman Green 204e0db62e used boost::iterator_adaptor 2012-05-12 10:49:22 +08:00
Matchman Green d621aa4296 improved the node printing function 2012-05-07 00:03:33 +08:00
Matchman Green 6ad573942a fixed crash. missing AddRef() 2012-05-06 23:30:14 +08:00
Matchman Green 65ae81bb96 node iterator still being worked 2012-05-06 23:16:43 +08:00
Matchman Green f987888cac character handling in XML 2012-05-06 11:50:37 +08:00
Matchman Green 19c329836b separated name & value 2012-05-05 15:00:23 +08:00
Matchman Green b12edc2a2a added expat parser 2012-05-05 13:01:23 +08:00
Matchman Green 7d2b8b441d adding xml tree basics 2012-05-04 01:44:52 +08:00