Commit Graph

36 Commits

Author SHA1 Message Date
Arnaud Launay
b9d58ca88b replace (c) and (C) by �
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-12-15 11:45:10 +00:00
Arnaud Launay
64e420e288 <config.h> -> "config.h"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-29 16:09:58 +00:00
Arnaud Launay
a82a4595a1 use $(INTLLIBS), suggested by Lutz
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5500 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-27 22:04:37 +00:00
Arnaud Launay
b0cf461c55 add locally compiled libintl to ld
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5499 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-10-27 11:14:55 +00:00
Lutz Mueller
9e00d333a8 Additional tests.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4015 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-26 00:25:58 +00:00
Lutz Mueller
c8f5ed6a4b Get the test program to run again.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4014 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-26 00:18:52 +00:00
Lutz Mueller
19a0c3a76f 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>
Black magic by Marcus Meissner <marcus@jet.franken.de>:

        find . -type f | xargs grep -l gp_debug_printf | xargs perl -pi -e 's/gp_debug_printf\(\s*GP_DEBUG[^,]*,[^,]*,(.*)$/GP_DEBUG(\1/'


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3902 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-15 23:49:39 +00:00
Lutz Mueller
cd437aae95 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Finished the GPContext stuff - changes all over the place. Basically,
        gp_[file,camera]_progress has been replaced by gp_context_progress_*.
        Well, we haven't release a gphoto2-2.0 yet, therefore I hope you don't
        mind the API change...

        * libgphoto2/gphoto2-camera.[c,h]: Added a GPContext parameter to
          any function that can possibly communicate with the camera. That
          makes every function cancellable (which is good), makes it possible
          to report multiple errors during execution of a command, offers
          several (nested) progress reports, and many other goodies.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3841 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-12 23:31:45 +00:00
Lutz Mueller
0dedb0e163 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions
          that potentially access the camera. This makes cancelling of
          all operations possible and improves error reporting.
        * tests/test-filesys.c:
        * libgphoto2/gphoto2-camera.c:
        * camlibs: Adjust to reflect above changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 23:06:56 +00:00
Lutz Mueller
acf5e06244 Another include fix...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3412 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:22:46 +00:00
Lutz Mueller
489b4f7d85 Fix includes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3410 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:13:01 +00:00
Lutz Mueller
b219dc05d4 2001-11-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.c (set_info_func): Rewrite
        * camlibs/ptp/library.c:
        * camlibs/fuji/fuji.c: Don't advertise what you don't support.
        * camlibs/konica/library.c (set_info_func): Rewrite
        * libgphoto2: Make *set_info consistent


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 14:00:37 +00:00
Lutz Mueller
7f35c8640b Remove cruft.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3178 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:52:20 +00:00
Lutz Mueller
1e147a1a7f 2001-11-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check for mcheck.h
        * tests: #ifdef HAVE_MCHECK_H


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3177 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:49:57 +00:00
Lutz Mueller
0212f6501d 2001-11-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Ole Aamot <Ole.Aamot@nr.no>:

        * tests: Use mcheck.h (useful when searching for mem-leaks).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3096 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-18 14:02:41 +00:00
Hans Ulrich Niedermann
b867be45e6 replaced exit() by return() in main()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2783 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 21:47:03 +00:00
Lutz Mueller
18fb8595bb Use gp_camera_get_about instead of gp_camera_get_summary (latter is not
supported by Directory Browse).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2707 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:09:39 +00:00
Lutz Mueller
6fff2653db Remove reference to gphoto2-core.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2706 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:08:49 +00:00
Lutz Mueller
217eb0b8e7 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2613 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 17:14:02 +00:00
Lutz Mueller
f6eb709198 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2582 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 13:07:33 +00:00
Hans Ulrich Niedermann
dd32bd757a added #include lines that should have already been there
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2557 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 18:04:03 +00:00
Lutz Mueller
112322e1cd *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2553 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 17:32:32 +00:00
Lutz Mueller
782d492d8c *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2498 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 11:05:11 +00:00
Lutz Mueller
128a5df419 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2497 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 11:02:55 +00:00
Lutz Mueller
555b67ddb6 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa/agfa.c: delete_file_func, get_file_func
        * camlibs/canon/canon.c: Add warning that upload and deletion is
          broken
        * camlibs/jd350e/jd350e.c: Tiny update
        * camlibs/kodak/dc120/dc120.c: folder_list_func, file_list_func,
          get_file_func, delete_file_func
        * camlibs/kodak/dc240.c: Add warning that changes have to be made
        * camlibs/konica/library.c: delete_all_func, delete_file_func
        * camlibs/minolta/dimagev/dimagev.c: delete_file_func, put_file_func,
        * camlibs/panasonic/dc1000.c: file_list_func, get_file_func,
          put_file_func, delete_file_func
        * camlibs/panasonic/dc1580.c: get_file_func, put_file_func,
          delete_file_func
        * camlibs/panasonic/l859.c: delete_file_func, delete_all_func
        * camlibs/polaroid/pdc320.c: get_file_func, delete_all_func
        * camlibs/polaroid/pdc640.c: get_file_func, delete_file_func
        * camlibs/sierra/library.c:
        * camlibs/sierra/sierra.c: delete_all_func, delete_file_func
        * camlibs/sonydscf1/sonydscf1.c: delete_file_func
        * camlibs/sonydscf55/sonydscf55.c: Tiny update
        * camlibs/stv0680/stv0680.c: Tiny update
        * frontens/command-line/interface.c: Don't show "" status and 0.0
          progress
        * libgphoto2/camera.c:
        * include/gphoto2-camera.h: Remove put_file, delete_all and delete -
          this should all be done using the filesystem. In the future,
          file_get and the listing functions will also disappear.
        * include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Add deletion and upload.
        * libgphoto2/jpeg.c: Kill unused variable
        * tests/test-filesys.c: Update


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2462 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 16:25:04 +00:00
Lutz Mueller
a3681f7aff *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2382 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 21:22:01 +00:00
Lutz Mueller
91e5af5a5d 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/jamcam/.cvsignore:
        * camlibs/sonydscf55/.cvsignore: New
        * include/gphoto2-debug.h:
        * libgphoto2/debug.c: Debugging stuff can be found here.
        * frontends/command-line/main.c: Use gp_debug_set_level and don't
        use gp_init any more (this is done automatically).
        * include/Makefile.am:
        * libgphoto2/Makefile.am: Add the debugging files
        * include/gphoto2-core.h: Remove debugging and initialization stuff
        * libgphoto2/core.c: Make gp_init a static function.
        * (...) Various smaller changes regarding gp_init and gp_debug_*.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2301 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:05:09 +00:00
Lutz Mueller
8388607ec8 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>:

        * camlibs/sierra/library.[c,h]:
        * camlibs/sierra/sierra.c: Use the new filesystem to cache file
        information and for listing files/folders.
        * include/gphoto2-file.h:
        * libgphoto2/file.c (gp_file_detect_mime_type),
        (gp_file_adjust_name_for_mime_type): New
        * libgphoto2/camera.c: list->count = 0;
        * libpghoto2/filesys.c (gp_filesystem_number): If this function is
        called, scan the whole filesystem.
        * tests/test-filesys.c: Test gp_filesystem_get_folder, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2102 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 21:42:13 +00:00
Lutz Mueller
db161947e9 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Cache folders and files, too (that is, only
        query them from the camera when needed.
        * frontends/command-line/main.c: Don't require a port with
        "Directory Browse".
        * camlibs/konica/library.c: Use the new functions
        * camlibs/directory/directory.[c,h]: Use the filesystem
        * tests/test-filesys.c: Demonstrate the use of the new functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2095 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 17:13:55 +00:00
Lutz Mueller
f5fd86d5e3 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Implement caching for file information.
        * tests/test-filesys.c: Test it here.
        * camlibs/konica/library.c: Use gp_filesystem_[get,set]_info. This
        stuff is really incredibly fast.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2090 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 11:04:29 +00:00
Lutz Mueller
104a99d9c7 2001-08-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-camera.h:
        * libgphoto2/camera.c: Add gp_camera_[set,get]_model. Please use
        those functions instead of directly accessing camera->model.
        * libgphoto2/core.c: On exit, set glob_abilities_list = NULL
        * tests/test-gphoto2.c: Add lots of documentation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2081 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-26 17:47:02 +00:00
Lutz Mueller
abe27e1c98 2001-08-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* */*: Small parameter changes to make gphoto2 API more consistent.
        More to follow.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2046 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-22 18:09:42 +00:00
Lutz Mueller
70209f7e82 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* tests/test-filesys.c: Even more tests
        * libgphoto2/filesys.c: Fix remaining bugs. It should work now...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2015 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 20:57:12 +00:00
Lutz Mueller
2904bec881 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* tests/test-filesys.c: New
        * tests/Makefile.am: Compile test-filesys.c
        * libgphoto2/filesys.c: Several bugfixes - there are still bugs in
        there.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2014 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 18:57:52 +00:00
Lutz Mueller
6b2e913e1e 2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: Add notice about USB Mass Storage cameras.
        * include/*:
        * libgphoto2/*: Major cleanup - add licence notice to begin of each
        file, remove unused files/functions, ...
        * camlibs/konica/Makefile.am: There's no ChangeLog here...
        * tests/test-gphoto2.c: Adjust headers


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2003 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 14:39:12 +00:00
Lutz Mueller
f2bc06c8d5 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* tests/*: New
        * configure.in:
        * Makefile.am: Add tests to SUBDIRS and generate the Makefile
        * frontents/command-line/test.[c,h]: Removed
        * frontends/command-line/main.c:
        * frontents/command-line/Makefile.am: Reflect changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1999 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-17 22:35:50 +00:00