Commit Graph

54 Commits (5d302a09095448f58740f2f72733d3450593b9e8)

Author SHA1 Message Date
Matchman Green 5d302a0909 updated the readme file and added GPLv2 license 2012-05-02 23:43:39 +08:00
Matchman Green 2e7647a162 making server MD5 optional 2012-05-02 23:31:10 +08:00
Matchman Green d4a8d9fb65 Merge branch 'massix'
Conflicts:
	CMakeLists.txt
2012-05-02 23:30:49 +08:00
Massimo Gengarelli 2791bbbfe8 Prevent the user from sending a SIGINT while downloading a file.. 2012-05-01 19:47:25 +02:00
Massimo Gengarelli 95133eff57 Added a Signal Handler
In order to prevent the user to ^C while downloading a file (thus,
risking to have an incoherent situation and prevent a bad behaviour of
grive), it's necessary to register some signals. These two classes
provide a wrapper around the C function signal, with facilities to
register and unregister signals..
2012-05-01 19:44:22 +02:00
Matchman Green 8c1217dbe8 use libcurl to extract headers 2012-05-02 00:26:48 +08:00
Matchman Green de0d53a59f added the class File, and refactor a lot of code from Drive to File 2012-05-01 23:24:40 +08:00
Massimo Gengarelli cfca4513e4 Major refactor
Since we've decided to keep the two projects separated it's necessary
that if some one wants to clone the repository he has a clear idea of
what's going on here: in src/lib folder there are the three main
components of the library libgrive (drive, protocol and util); while
in the src/cli folder there's the command line interface tool that uses
the library. The CLI is called in the same way as the library (grive).

In this way, we can keep multiple clients using the same library in just
one repo..
2012-05-01 17:24:27 +02:00
Matchman Green e7ab019c5f Merge remote-tracking branch 'origin/master'
Conflicts:
	CMakeLists.txt
2012-05-01 21:40:36 +08:00
Matchman Green 3252134fbb Merge pull request #3 from massix/master
Build the functional part as a shared library
2012-05-01 06:33:20 -07:00
Matchman Green 44d9adb46c removed the "drive.file" scope as it's not needed 2012-05-01 21:28:03 +08:00
Massimo Gengarelli 72d40c9d0c Don't compile the main.cc in the library
Whops, I've forgot to remove this, probably because of the merge.
2012-05-01 12:24:12 +02:00
Massimo Gengarelli b34ad8a3ea Merge with main branch (Better CMake) 2012-05-01 12:16:26 +02:00
Matchman Green f022afb407 added a class for file system paths 2012-05-01 17:44:17 +08:00
Matchman Green e79ff1541c removing a ton of debug code 2012-05-01 01:14:41 +08:00
Matchman Green 8df7382d91 finally it worked! updated file can be uploaded! 2012-05-01 00:53:17 +08:00
Matchman Green 2ed4894865 fixed indentations 2012-05-01 00:32:29 +08:00
Matchman Green 2ff5d101c3 Merge pull request #6 from bashlnx/master
improved cmake from bashlnx
2012-04-30 08:04:49 -07:00
Massimo Gengarelli b67ee0fc41 Merge head with main repo 2012-04-29 20:38:56 +02:00
Andrea Scarpino efb7e88265 Add make DESTDIR install support 2012-04-29 19:18:21 +02:00
Andrea Scarpino 17cb5440af CppUnit is optional 2012-04-29 19:16:13 +02:00
Andrea Scarpino 370f9dc14e Better CMakeLists.txt 2012-04-29 18:48:11 +02:00
Matchman Green 60f1e8759e Merge pull request #5 from bashlnx/patch-1
Fix build with GCC 4.7
2012-04-29 09:06:48 -07:00
Matchman Green 5d41ba7c1a Merge branch 'working' 2012-04-30 00:03:15 +08:00
Matchman Green db092f3051 working on upload problem. trying to exclude unit test if cppunit is not found 2012-04-30 00:03:04 +08:00
Andrea Scarpino a681cb2b39 Fix build with GCC 4.7 2012-04-29 18:40:13 +03:00
Massimo Gengarelli 5bda75abb3 Convert grive to a pure shared library
In this way it's possible to develop independent clients, sharing
the same "functional" part.
2012-04-29 15:20:04 +02:00
Matchman Green 011155e6a2 can upload a new file now! 2012-04-29 17:15:03 +08:00
Matchman Green 74d6b56630 added sys/time.h in DateTime.hh 2012-04-29 16:48:26 +08:00
Matchman Green ced3ef5e50 remove struct declaration 2012-04-29 16:46:46 +08:00
Matchman Green 8b43afcf05 Merge branch 'master' into working 2012-04-29 11:18:33 +08:00
Matchman Green 13001ed087 better fix for the missing config file problem 2012-04-29 11:17:15 +08:00
Matchman Green 91cd90b19a fixed still memcpy bug 2012-04-29 10:22:58 +08:00
Matchman Green 0d4eede114 changed the ifdef. commented out the upload line as it doesn't work 2012-04-29 10:20:53 +08:00
Massimo Gengarelli a9ae269f5c Avoid segmentation fault if no ~/.grive was created 2012-04-29 00:45:33 +02:00
Massimo Gengarelli 93e2a9df2f Merge branch 'master' of github.com:massix/grive 2012-04-29 00:14:54 +02:00
Massimo Gengarelli 867d1c3725 Make it compile on OS X 2012-04-29 00:12:23 +02:00
Massimo Gengarelli 6f94393a5e Ignore Eclipse's files and build directory 2012-04-29 00:12:16 +02:00
Matchman Green f4ee21f5e4 refactoring. added namespaces for HTTP functions 2012-04-29 00:01:45 +08:00
Matchman Green 9b0597eb08 improvements to the utilities functions 2012-04-28 18:33:08 +08:00
Matchman Green cfe319cf01 Merge branch 'v0.0.2' 2012-04-28 01:54:31 +08:00
Matchman Green ceca83dc72 set the mtime of the local file to be the same as the remote 2012-04-28 01:52:02 +08:00
Matchman Green f0ca94d7e0 added date time class and associate unit test case 2012-04-27 15:41:46 +08:00
Matchman Green dfd7eac5d9 refactored files. moved around. added OS encapsulation layer. 2012-04-27 10:49:33 +08:00
Matchman Green 9e04999f11 updated readme 2012-04-27 02:12:47 +08:00
Matchman Green 7b50d2633d download the files to correct path now 2012-04-27 00:55:10 +08:00
Matchman Green 4001cbdbcc build up data structures for the collections 2012-04-26 23:40:38 +08:00
Matchman Green e094e69d1a thanks Chris Goodman for contributing the icons! 2012-04-26 17:26:04 +08:00
Matchman Green 41033f9bd5 refactored. changed license to GPLv2 only. clean up console UI. 2012-04-26 12:21:40 +08:00
Matchman Green 947664937a checked MD5 checksum before downloading 2012-04-26 12:03:30 +08:00