Commit Graph

144 Commits

Author SHA1 Message Date
Michael Rensing
30bf73e571 Adding the colon for the new Manufacturer:Model notation
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6039 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-01-10 20:49:54 +00:00
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
3b6efc78fc delete this boring $ tag
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5795 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-23 14:35:56 +00:00
Arnaud Launay
e2f325d020 something went wrong with uli script
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5791 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-23 14:32:32 +00:00
Hans Ulrich Niedermann
be9b07f8bf moved definition of camlibdir to configure.in
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5547 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-06 14:31:44 +00:00
Arnaud Launay
317c63b327 - modify config.h location
- add intl dir in include dirs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5277 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-09-14 19:42:54 +00:00
Hubert Figuiere
f1c1c5d0f6 * camlibs/minolta/NEWER_MINOLTAS (UPDATE): updated the statement
about newer Minolta camera support.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4742 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-06-19 21:48:09 +00:00
Marcus Meissner
80fc1dae8d * fixed small define messup.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4307 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-21 23:44:22 +00:00
Marcus Meissner
140ea131d9 * **/Makefile.am: Do not use $(prefix)/lib/, but $(libdir).
On some architecturs $(libdir) might not be /lib/, but /lib64/
	  (on s390x for instance).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4010 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-25 14:13:03 +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
Dan Fandrich
a8996e20b6 Enabled config.h include (why was it commented?). Fixed exif.h include path.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3773 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 02:19:23 +00:00
Lutz Mueller
908429e2df 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/Makefile.am
        * camlibs/ * /Makefile.am: Install drivers into versioned
          subdirectories.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3648 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 12:34:05 +00:00
Johannes Erdfelt
3b234b95cc Zero out the CameraAbilities struct so we don't have garbage in fields
This should help fix some of the problems with the new USB class matching
code people have reported


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3628 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 18:19:10 +00:00
Lutz Mueller
0947dcd160 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove dotlib hack
        * camlibs: Do it "the right way"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:21:17 +00:00
Lutz Mueller
c11497ad5c 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
$builddir != $srcdir fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:37:57 +00:00
Dan Fandrich
7d48735ee6 Fixed wrong argument to strncpy now that config.h is implicitly included
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3370 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 08:17:26 +00:00
Dan Fandrich
b49de71c57 Added -module flag to libtool link command for each library that is dlopen'ed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2876 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 19:27:55 +00:00
Lutz Mueller
5c77c77bd0 2001-10-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: rmdir/mkdir support
        * camlibs/canon/psa50.c (psa50_directory_operations): Consistently
          return a gphoto2 error code.
        * camlibs/directory: Add rmdir/mkdir support
        * libgphoto2/gphoto2-camera.[c,h]
        * libgphoto2/gphoto2-filesys.[c,h]: Add rmdir/mkdir support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2823 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 07:45:47 +00:00
Hans Ulrich Niedermann
b944528b82 moved from gp_port_settings_[sg]et to gp_port_[sg]et_settings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2816 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-27 22:24:01 +00:00
Lutz Mueller
18d0b4e7b0 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/minolta/dimagev/dimagev.[c,h]: Prepare for removal of
          camera->camlib_data. Fix memory leaks (in case of errors).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2662 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:14:46 +00:00
Lutz Mueller
76a19b0b53 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Instead of camera->port_info->speed, use
          settings.serial.speed. That lets us ...
        * libgphoto2/gphoto2-camera.[c,h]: ... remove camera->port_info


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2653 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:36:15 +00:00
Hans Ulrich Niedermann
ffd1837c38 added missing files to EXTRA_DIST and *_SOURCES
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2638 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 23:10:32 +00:00
Lutz Mueller
2f3fa5134d 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: no glib-dependency any more
        * camlibs: gp_abilities_new doesn't exist any more
        * doc/api: Even more documentation
        * libgphoto2/gphoto2-abiltiies.h: Cleaned up.
        * libgphoto2/gphoto2-abilities-list.c: Documented


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 22:38:58 +00:00
Lutz Mueller
4710e12304 2001-10-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch approved by Gus Hartmann <hartmann@madison-expat.net>:

        * camlibs/minolta/dimagev/download.c
        * camlibs/minolta/dimagev/upload.c: Don't access the CameraFile struct
          directly.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2523 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-15 06:04:41 +00:00
Lutz Mueller
02fb0e6b48 2001-10-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-widget.h
        * include/gphoto2-filesys.h: Moved to ...
        * libgphoto2/gphoto2-widget.h
        * libgphoto2/gphoto2-filesys.h: ... here.
        * libgphoto2/widget.c
        * libgphoto2/filesys.c: Moved to ...
        * libgphoto2/gphoto2-widget.c
        * libgphoto2/gphoto2-widget.h: ... here.
        * include/Makefile.am
        * libgphoto2/Makefile.am: Updated.
        * camlibs/.../Makefile.am: Updated to reflect changes above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2496 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 10:59:00 +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
0ab0f4f1ee 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/minolta/dimagev/dimagev.[c,h]:
          Fix compile warnings by declaring some functions static.
          Use camera->port and camera->fs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2458 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 09:51:57 +00:00
Gus Hartmann
e8151659cc Added 'sending NAK' to debug message to differentiate.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2226 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 04:55:23 +00:00
Gus Hartmann
e033c1842d Made a failure to reset the camera into "play" mode non-fatal, since the
image capture was otherwise successful.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2209 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-08 09:40:30 +00:00
Gus Hartmann
347f4f395d Added retry attempts when packets fail to read correctly. Protocol allows
for sending a NAK to get the camera to resend the missing packet.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2208 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-08 09:15:57 +00:00
Lutz Mueller
90d8c3325c 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* gphoto2-library.h: Clean up this file.
        * gphoto2-camera.h: We don't need camera_init, camera_abilities, and
        camera_id here. That belongs into gphoto2-library.h.
        * libgphoto2/camera.c:
        * libgphoto2/core.c: Adapt
        * camlibs/*: Move camera_init to the bottom of the file. Camera
        driver authors, could you please declare the functions above static?
        Except camera_id and camera_abilities.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2124 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 17:53:03 +00:00
Lutz Mueller
205d6f1081 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/*:
        * camlibs/directory/directory.c (camera_folder_list_folders),
        (camera_folder_list_files), (camera_file_[get,set]_info): Removed.
        Use the camera->fs. Use camera->port.
        * camlibs/*: camera->port->* -> camera->port_info->*
        * include/gphoto2-camera.h:
        * libgphoto2/camera.c: Open the port before accessing a camera,
        close it after.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2115 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 10:09:57 +00:00
Lutz Mueller
458f934200 2001-08-28 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/psa50.c:
        * camlibs/kodak/dc120/library.c:
        * camlibs/minolta/dimagev/dimagev.c:
        * camlibs/panasonic/dc1000.c:
        * camlibs/panasonic/dc1580.c:
        * camlibs/sonydscf1/sonydscf1.c: Remove direct accesses to the
        CameraFile struct.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2104 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 22:19:01 +00:00
Lutz Mueller
3d950c6be6 2001-08-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h:
        * include/gphoto2-library.h:
        * include/gphoto2-camera.h: Support for raw data.
        * libpghoto2/file.c: Adjust to above changes.
        * libgphoto2/frontend.c: Kill a warning.
        * libgphoto2/libgphoto-2.0.pc.in: CFlags -> Cflags
        * libgphoto2/widget.c: Include gphoto2-result.h instead of gphoto2.h
        * camlibs/*: Prepare support for download of raw data. Remove lots of
        redundant code (people just copied & pasted the code for file_get
        and file_get_preview...). I hope everything works as it did before.
        * frontend/command-line/*: Prepare support for download of raw data


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2072 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-25 18:14:25 +00:00
Lutz Mueller
dd9fb9311a 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/abilities.c:
        * include/gphoto2-abilities.h: Let gp_abilities_new return an error
        code. This was the last one.
        * camlibs/*: Adjust to above change.
        * camlibs/canon/canon.c: #if 0 some code to kill some warnings


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2068 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-24 21:23:12 +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
39657609dd 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-datatypes.h: Move the declaration of the lists to ...
        * include/gphoto2-lists.h: ... here. This is a first step towards
        cleaning up the include-mess. Realized that CameraListType isn't
        needed at all - removed.
        * include/gphoto2-filesys.h: Hide the actual contents of
        the CameraFilesystem ...
        * libgphoto2/filesys.c ... here. The normal user doesn't need to
        know what's inside.
        * libgphoto2/core.c:
        * libgphoto2/lists.c:
        * camlibs/*: Reflect above changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2001 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 00:03:06 +00:00
Hubert Figuiere
f9f8a7f7ef Patch by Christophe Barbe <christophe.barbe@online.fr>
It adds code in configure.in to detect when '.libs' is not detected
and in this case defined a variable "dotlibs" which is then
substitued in all Makefile.in. This fix a build problem with
newer libtool (1.4)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1993 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-16 17:57:15 +00:00
Gus Hartmann
eed618ebb0 Eliminated some errors found by lclint. Made several appropriate calls to
free(), removed some unreachable breaks.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1899 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-06 18:52:19 +00:00
Gus Hartmann
9bdf0d0662 Added some typecasting to eliminate errors from lclint.
Uploading is still horribly broken. The camera always cancels transmission.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1898 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-06 18:51:31 +00:00
uid36478
67a474d8c5 Cleaned up more errors found by lclint.
Added some #ifdefs for HAVE_SNPRINTF.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1895 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-04 19:59:15 +00:00
Gus Hartmann
612bc46ae0 Started using lclint to look for errors. Several potential problems fixed
so far, including:

* Unfreed memory
* Bad typing of variables
* Unreachable code
* Unchecked return codes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1892 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-02 00:00:21 +00:00
Gus Hartmann
0d2ed48098 Added the pinouts for the serial cable to the README file.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1879 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-10 20:45:48 +00:00
Gus Hartmann
a5ee5b4d7b Commented out the freeing of the the info structs, sinceit causes the thing
to core dump. It's not freeing a null pointer, since gdb confirms that there
is value there, it just dumps core. I'll deal with this later.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1820 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-05 04:19:22 +00:00
bvl
85b367077d bvl: barbie update
bvl: OS/2 build process update
bvl: Sony DSC-F1 update


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1798 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-26 23:29:58 +00:00
Lutz Mueller
a1008ba94a Applied patch from Colin Marquardt <colin@marquardt-home.de>.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1794 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-26 17:25:46 +00:00
Gus Hartmann
108f86de36 Commented out the free() calls for the info structs; it's casuing a seg
fault, even though it looks like valid data. Weird.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1778 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-20 05:41:49 +00:00