Commit Graph

2515 Commits

Author SHA1 Message Date
Lutz Mueller
7cf857a7a4 Fix debugging message.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4126 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-11 09:51:29 +00:00
Lutz Mueller
bca63977ea 2002-02-11 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto-filesys.c: Previously, we searched thumbnails in
          EXIF data if GP_FILE_TYPE_PREVIEW is not supported by the driver.
          Now, we do it the other way round, too: If GP_FILE_TYPE_EXIF is
          not supported by the driver, get the thumbnail and search for
          EXIF data there.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4125 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-11 09:07:49 +00:00
Gilles Grandou
18efbd03e2 2002-02-11 Gilles Grandou <gilles@grandou.net>
* sierra.c: added EXIF support.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4124 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-11 00:56:51 +00:00
Lutz Mueller
4eae6dfbc5 2002-02-10 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/actions.[c,h]:
        * frontends/command-line/main.c: Implement --show-info.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4123 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-10 13:48:14 +00:00
Dan Fandrich
4d2ee0670b * serial/unix.c: Added serial ports for Tru64 UNIX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4122 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 21:11:40 +00:00
Lutz Mueller
fd4404c1b7 Added myself.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4121 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 17:29:05 +00:00
Fredrik
9db47e4e23 added entry about todays code cleaning (indent and removed everything
#ifdef OBSOLETE'd).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4120 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 16:30:50 +00:00
Fredrik
a5faf2acb7 removed everything #ifdef OBSOLETE'd.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4119 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 16:30:09 +00:00
Fredrik
a922f07aaf added -T GPContext, -T time_t
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4118 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 16:22:18 +00:00
Lutz Mueller
9289934138 Progress bar � la e2fsck
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4117 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 16:18:21 +00:00
Fredrik
59add6b86c indent
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4116 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 16:09:07 +00:00
Fredrik
e420618f85 make the CLI frontend be even more carefull when checking the ID passed to
the context functions from camera drivers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4115 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 15:25:44 +00:00
Fredrik
3e5f3696d9 fix bug where new for_each_subfolder() did not descend into subfolders of
folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4114 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 15:09:59 +00:00
Fredrik
e472258fb4 add entry about why christophe barb� changed model detection code yesterday
so that we (hopefully) remember in the future.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4113 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 14:16:01 +00:00
Fredrik
8fe151a995 clean up USB ID override code and fix memory leak when no override was done
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4112 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 14:14:02 +00:00
Fredrik
62b693992a fix bug in error message when camera is not found in canon_usb_identify()
introduced yesterday.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4111 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 14:13:16 +00:00
Lutz Mueller
b507b1474c 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/main.c: Implement a progress bar (code
          adapted from e2fsck).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4110 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 22:08:23 +00:00
Lutz Mueller
9a4bd67ff0 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* library.c (sierra_read_packet): Improve debugging output by
	  reading several bytes at once. Should make transmission faster,
	  too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4109 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 21:54:01 +00:00
Christophe Barbe
2355ab1954 * search camera by name not be IDs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4108 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 20:01:08 +00:00
Christophe Barbe
47167bd89b 2002-02-08 Christophe Barb� <christophe.barbe@ufies.org>
* frontends/command-line/main.c: Add usbid option to override
     vendorID and deviceID for a given vendorID/deviceID couple in
     the table describing all supported cameras. This allows us to
     quickly validate if a new cam could be supported by an existing
     driver.
     This requires from the camlib driver to not use the IDs directly
     but the device name instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4107 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 19:43:17 +00:00
Christophe Barbe
36ee6f96d7 * Add usbid option to override vendorID and deviceID for a given
vendorID/deviceID couple in the table describing all supported
	  cameras. This allows us to quickly validate if a new cam could be
	  supported by an existing driver.
	  This requires from the camlib driver to not use the IDs directly
	  but the device name instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4106 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 19:38:13 +00:00
Lutz Mueller
d5a4ec11b2 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: s/image/file and s/picture/file with
          the exception of capture-image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4105 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 12:58:20 +00:00
Lutz Mueller
592f41bdf0 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-filesys.c: Make it robust against folders
          with trailing slashes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4104 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 11:46:34 +00:00
Lutz Mueller
57b30e2d6a 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/commend-line/main.c:
        * frontends/command-line/actions[c,h]:
        * frontends/command-line/foreach[c,h]: Clean up, simplify.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4103 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 11:21:54 +00:00
Dan Fandrich
ad86756b31 Added check for strrchr. Minor changes to struct _CameraFile
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4102 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 06:00:43 +00:00
Dan Fandrich
ab1633038f Fixed some comments about TIFF/EP tags to use comment syntax & allow compiling
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4101 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 05:26:39 +00:00
Lutz Mueller
a8c61b7a75 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-filesys.c: Add support for getting the
          mtime out of the file data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4100 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 23:22:44 +00:00
Lutz Mueller
6a99730da2 Comment out debugging...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4099 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 23:16:29 +00:00
Lutz Mueller
fddffb0eb2 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Fix my previous (broken) patch and hide
          all that recursive id look-up stuff.
        * frontends/command-line/gphoto2-cmd-exif.[c,h]: Removed. Now in
          actions.[c,h]


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4098 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 22:29:30 +00:00
Lutz Mueller
f45816a086 Tiny fix of error message.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4097 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:44:35 +00:00
Lutz Mueller
258eda8e22 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Fix my previous (broken) patch and hide
          all that recursive id look-up stuff.
        * frontends/command-line/gphoto2-cmd-exif.[c,h]: Removed. Now in
          actions.[c,h]


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4096 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:43:04 +00:00
Lutz Mueller
fad6bcd979 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c: Detect *.jpeg files, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4095 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:40:57 +00:00
Lutz Mueller
02a5379e77 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* Makefile.am:
        * directory.c: Support GP_FILE_TYPE_EXIF ifdef HAVE_EXIF


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4094 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:17:17 +00:00
Lutz Mueller
da1c6b9f02 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/foreach.[c,h]: Pass CameraList as parameter.
          This be where the const filename is allocated. Before, the string
          got messed up.
        * frontends/command-line/main.c: %s/gp_file_free/gp_file_unref


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4093 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 14:14:45 +00:00
Fredrik
a1551c42de fixed bug with errors not spotted in subfolders of subfolders when doing
recursive CLI operations.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4092 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 20:53:07 +00:00
Christophe Barbe
a92afea21b * Check fwrite return when saving file.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4091 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 19:42:56 +00:00
Colin Marquardt
76a6e80ff6 CHANGES (Module): Add info about new chinese translation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4090 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 18:08:58 +00:00
Colin Marquardt
573b5e0c73 zh_CN: New translation by Wang Li <charlesw1234@163.com>. Thanks very much.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4089 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 17:52:39 +00:00
Colin Marquardt
f2ffa56d62 configure.in (ALL_LINGUAS): Added zh_CN.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4088 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 17:51:56 +00:00
Lutz Mueller
0ba744c5b1 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* m4/documentation.m4: Fix #510543.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4087 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 14:05:06 +00:00
Lutz Mueller
b93e7493f2 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* m4/documentation.m4: Fix #510543.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4086 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 14:03:07 +00:00
Lutz Mueller
8dba175e71 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2_port/m4/Documentation.m4: Fix copy & paste error
        * doc/api/Makefile.am
        * libgphoto2_port/doc/Makefile.am
        * libgphoto2_port/doc/DocRules.am: Fix --enable-docs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4085 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 13:15:05 +00:00
Lutz Mueller
a360bc4dfa 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2_port/gphoto2-port.h: extern C.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4084 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 12:44:15 +00:00
Christophe Barbe
8c1ab3a6c0 * Added entry from Hubert Figuiere concerning SiPix StyleCam.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4083 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 12:39:41 +00:00
Lutz Mueller
bbcc3db39b 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* sierra.[c,h]: Lots of additional debugging output.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4082 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 07:58:30 +00:00
Fredrik
0fe06c0a24 added note about fixed CLI --delete-all-images.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4081 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 07:15:26 +00:00
Lutz Mueller
b74a4cb633 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* sierra.c (sierra_read_packet_wait): {int res=(res);...
          just cannot work. Read the macro definitions...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4080 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 07:12:10 +00:00
Christophe Barbe
bca340d0d0 * I should setup vim to never use tab.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4079 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 04:24:02 +00:00
Christophe Barbe
c88ec32177 * Make CHANGES file looks like a CHANGES file.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4078 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 04:23:01 +00:00
Lutz Mueller
18e1804001 2002-02-05 Lutz M�ller <lutz@users.sourceforge.net>
* sierra.c (camera_init): Pass NULL as context, because we will
          ignore those error messages and are just probing for the level of
          support for filenames or folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4077 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-05 17:32:53 +00:00