Commit Graph

785 Commits

Author SHA1 Message Date
Philippe Marzouk
691ed702a1 modified mime attribute of videos
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1908 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-15 17:51:10 +00:00
Philippe Marzouk
2cb1ac270e more support for IXUS v support
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1907 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-15 16:38:00 +00:00
Philippe Marzouk
ca6ac6e0a4 corrected IXUS v name
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1906 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-15 14:13:14 +00:00
Hubert Figuiere
a6b4100d52 Stricter type: enforce const where significant. This remove wild casts and
some compiler warnings.
A few comments added.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1902 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-09 22:53:06 +00:00
Scott Fritzinger
94a75ed01d added huberts patch
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1901 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-09 21:59:37 +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
Gus Hartmann
881df42322 Modified command line options to more consistently use the term 'image'
instead of 'picture'. Previously, the two terms were used interchangably,
which lead to some confusion.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1896 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-06 07:02:58 +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
uid31868
40987fab93 added support for the IXUS v thanks to Kari Hautio
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1894 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-04 16:52:58 +00:00
uid31719
3937b7350f Applied patches from Hubert Figuiere <hfiguiere@teaser.fr> closing bugs
438161 and 438155.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1893 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-04 08:54:14 +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
Dan Fandrich
29471ab3be Updated to latest code.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1891 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-28 22:14:01 +00:00
Dan Fandrich
0e5ef176f4 Integrated Brian Beattie's patch to use mesa_read_row instead of
mesa_read_image for picture downloading.  Hopefully, this will
allow downloading on newer cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1890 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-28 22:03:42 +00:00
Lutz Mueller
f7434a0a3e Applied patch from David Guerizec.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1889 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-26 14:22:12 +00:00
Philippe Marzouk
6c5a567514 patch to not try to shutdown USB cameras
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1888 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-23 14:06:13 +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
Lutz Mueller
5ea238566b On gp_camera_free, free camera. Patch from <aliu@telostech.com>.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1878 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-09 06:53:27 +00:00
Lutz Mueller
5b0225aa44 Don't declare the HP 215 as supported.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1877 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-08 12:24:38 +00:00
Lutz Mueller
f6252057ab Rework in order to be able to support USB cameras, too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1876 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-08 10:43:08 +00:00
Lutz Mueller
9f674c94a4 Yet another fix from <aliu@telostech.com>: Show the abilities correctly.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1875 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-08 07:36:04 +00:00
Lutz Mueller
e21052ff20 Correction and expansion as suggested by aliu@telostech.com
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1874 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-07 20:49:03 +00:00
Dan Fandrich
975c53493d Fixed mesa_version to handle more versions (hopefully, correctly).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1873 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-07 07:06:43 +00:00
Lutz Mueller
5fb4d472f6 Set camera->camlib_data to NULL if an error occurs in gp_camera_init. Check for NULL in gp_camera_exit. aliu <aliu@telostech.com> pointed this out to me.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1871 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-06 22:48:13 +00:00
Dan Fandrich
5afb062f3e Improved error reporting.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1870 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-06 17:33:53 +00:00
Dan Fandrich
8400e0bee7 Added serial baud rate setting. Improved camera_summary.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1869 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-06 17:30:42 +00:00
Philippe Marzouk
43a1bde211 added S110 support thanks to Paul Stewart
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1865 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-06-01 21:41:14 +00:00
Lutz Mueller
d0dbbf1c97 camera_file_get_info implemented.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1862 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-29 12:04:35 +00:00
Philippe Marzouk
8bb2428535 fixed typo in USB product ID for S20
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1856 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-27 14:38:44 +00:00
Philippe Marzouk
19b0bd61e9 correct typo in USB product ID of G1
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1853 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-24 06:39:12 +00:00
Philippe Marzouk
72d189059d added correct USB autodetection thanks to Adam Spiers and Matt Ahrens
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1852 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-19 18:07:06 +00:00
Lutz Mueller
e2631cc2af Explain the USB-wrap stuff in the manual.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1851 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-18 21:13:12 +00:00
Lutz Mueller
c44578e623 Big patch from Sidik Isani <si@cfht.hawaii.edu> which adds USB-wrap mode to the sierra protocol.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1850 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-18 21:09:34 +00:00
Lutz Mueller
a241aa0d76 Applied patch from David Holmes <d.holmes@sympatico.ca> to get this camera working (ColPix 990).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1849 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-12 07:07:55 +00:00
Lutz Mueller
f3f7c0eb83 Don't make check "get resolution" fatal in camera_init. If there are fatal errors in camera_init, clean up before returning.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1848 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-12 07:00:01 +00:00
Lutz Mueller
e03568674c Fix to make gphoto2 compile on gettext-0.10.35 systems.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1847 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-11 13:32:56 +00:00
Philippe Marzouk
1ff53d6e02 added a patch from Marc Schiffbauer to correct thumbnail handling with movies
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1846 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-11 06:07:16 +00:00
Fabrice Bellet
2ad47822ff ignore case of filename extension.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1842 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-06 22:19:25 +00:00
Fabrice Bellet
d565042300 shut up cvs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1841 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-05 11:24:21 +00:00
Fabrice Bellet
5dbbcc95a6 improve the mime type discovery in gp_file_open().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1840 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-04 19:59:44 +00:00
Philippe Marzouk
3d3bab560e fixes for newer models
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1839 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-03 19:24:19 +00:00
Philippe Marzouk
286f7b5a62 corrected Digital Ixus 300 model string thanks to Marc Schiffbauer
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1837 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-02 20:58:34 +00:00
Lutz Mueller
bc2ba800c7 Updated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1836 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-02 04:57:58 +00:00
Lutz Mueller
a575e176d2 gphoto2 no longer requires libgpio.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1835 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-02 04:56:00 +00:00
Lutz Mueller
c8e9b35780 --with-included-gettext should compile now.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1834 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-02 04:49:10 +00:00
Philippe Marzouk
5075dc48ad bugfix for IXUS 300
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1831 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-26 20:28:50 +00:00
Lutz Mueller
2680bc0033 Use gp_file_append with movies, too...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1830 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-26 04:52:26 +00:00
Philippe Marzouk
11d15d745c New cameras ID thanks to Holger Klemm
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1829 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-24 18:30:34 +00:00
Lutz Mueller
805631159a Improved docs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1823 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-13 09:29:14 +00:00
Lutz Mueller
8af0cdd5fc The 215 only supports USB that this library doesn't support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1822 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-04-13 06:23:44 +00:00