Commit Graph

350 Commits (c006e75d26c08176d336df9ebcf7c915a3e0adb9)

Author SHA1 Message Date
Matchman Green c01ace7d18 can upload new files to remote 2012-05-21 01:18:16 +08:00
Matchman Green c7c49b094a fixed upload 2012-05-21 00:10:29 +08:00
Matchman Green 99f6e4cc58 improved logging and fixed exception on MD5 calculation 2012-05-20 23:16:59 +08:00
Matchman Green 90bf78e716 minor clean up 2012-05-20 19:28:44 +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 3dd3f544fb minor clean up 2012-05-20 15:25:38 +08:00
Matchman Green 6453de2cf6 start using state for synchronization 2012-05-20 15:01:53 +08:00
Matchman Green b1589bb181 clean up sync code 2012-05-20 15:01:53 +08:00
Matchman Green 7f2fa95d9a improved checking on files 2012-05-20 15:01:53 +08:00
Matchman Green 13aa9a455b merge the list of the files and folders in the same list 2012-05-20 15:01:53 +08:00
Matchman Green b46c9debf8 minor refactoring 2012-05-20 15:01:53 +08:00
Matchman Green aa03b212f7 removing the folder list in Drive, using state instead 2012-05-20 15:01:53 +08:00
Matchman Green 7882198293 merged the File class to Resource 2012-05-20 15:01:53 +08:00
Matchman Green 50e3091b2a renamed Collection to Resource 2012-05-20 15:01:52 +08:00
Matchman Green 149c1c14b0 replace with FolderSet 2012-05-20 15:01:52 +08:00
Matchman Green 37f2066727 added folder set 2012-05-20 15:01:52 +08:00
Matchman Green 9511492c65 changed version to 0.1.0 2012-05-20 15:01:52 +08:00
Matchman Green cf77a2d5c4 added folder init code in state 2012-05-20 15:01:52 +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 2095d0f956 trying to work around a compiler problem in gcc 4.4.4 2012-05-20 15:00:44 +08:00
Matchman Green 6e3b84d85d properly handle exceptions 2012-05-19 09:03:34 +08:00
Matchman Green f2a659ce5e don't throw even if can't read config 2012-05-17 20:55:51 +08:00
Nestal Wan c326a41d3a Merge pull request #21 from bashlnx/patch-1
Fix build (maybe due to GCC 4.7?)
2012-05-16 05:06:35 -07:00
Andrea Scarpino 1784277c7f Fix build (maybe due to GCC 4.7?)
/builds/grive-git/src/grive/libgrive/src/http/Agent.cc: In function ‘void {anonymous}::CallbackInt(int)’:                                      
/builds/grive-git/src/grive/libgrive/src/http/Agent.cc:63:2: error: ‘cout’ is not a member of ‘std’
2012-05-16 14:50:07 +03:00
Matchman Green 53883ab8bd move the .grive from home directory to current directory. get change stamp 2012-05-16 00:54:58 +08:00
Matchman Green 0b63d9bd3c added config file class, but not very well encapsulated 2012-05-15 23:07:03 +08:00
Matchman Green 3dea8343de added code to save and load change_stamp 2012-05-14 23:33:29 +08:00
Matchman Green 30f9834968 saved the metadata of the files 2012-05-14 23:33:29 +08:00
Matchman Green 3c8c6bab54 Revert "adding xattr". seems it's better not to use xattr
This reverts commit daf5bec3a1ec4c18b3326376ab6260bd1019b0cb.
2012-05-14 23:33:29 +08:00
Matchman Green 31800ae2f1 adding xattr 2012-05-14 23:33:28 +08:00
Matchman Green 35c2ef9fc1 use boost exception macro to throw exception 2012-05-14 23:32:22 +08:00
Matchman Green 881ff16d05 preparing for the v0.0.5 release 2012-05-13 17:30:07 +08:00
Matchman Green 1f551ee321 added file log. fixed bug on getting upload link 2012-05-13 17:27:40 +08:00
Matchman Green 4408f51300 improved and simplified log API 2012-05-13 16:45:27 +08:00
Matchman Green 63553aae04 added log interface 2012-05-13 16:10:18 +08:00
Matchman Green 8ced12d5a1 used new exception classes 2012-05-13 15:27:58 +08:00
Matchman Green 66e7783a9c added backtrace 2012-05-13 14:08:04 +08:00
Matchman Green 9631031931 ignore files and folders that is not inside the root tree.
also ignore files/folders with multiple parents
2012-05-13 01:57:15 +08:00
Matchman Green 931f743b58 use showroot=true. ignoring folders not in root folder 2012-05-12 18:48:55 +08:00
Matchman Green 4da9d0bc00 removed old Json code 2012-05-12 18:24:42 +08:00
Matchman Green b2d0bf2ba8 use XML for downloading files and folders 2012-05-12 17:38:41 +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