Commit Graph

415 Commits (issue-71)

Author SHA1 Message Date
Matchman Green b90e032cda properly handle read-only files 2012-05-05 22:54:36 +08:00
Matchman Green 8357e9ed82 renamed HTTP agent class and namespace 2012-05-05 22:39:18 +08:00
Matchman Green b89f7bb873 refactored to allow progressive parsing 2012-05-05 15:25:21 +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
Matchman Green 7b8d22b2b7 Merge remote-tracking branch 'origin/master' into v0.0.3 2012-05-03 22:54:25 +08:00
Matchman Green 51cd1ed40e Merge pull request #10 from massix/master
Some headers were missing in the installation process
2012-05-03 06:59:12 -07:00
Massimo Gengarelli e563f7cad6 Remove old and unwanted CMakeLists 2012-05-02 22:58:55 +02:00
Massimo Gengarelli 2eccd9df2c Install all the headers in CMAKE_PREFIX/include 2012-05-02 22:10:14 +02:00
Matchman Green 915303d205 commented out the SignalHandler 2012-05-03 00:17:16 +08:00
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