Commit Graph

2131 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
e1d9d0dcdd canon_int_get_disk_name(): fixed default branch
canon_int_get_thumbnail(): fixed default branch


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3676 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 11:29:53 +00:00
Hans Ulrich Niedermann
8b061b8f08 canon_int_switch_camera_off(): fixed default branch
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3675 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 11:29:01 +00:00
Fredrik
b3a82c4b1f maybe I was too fast with the 'endian' changes to canon_int_get_battery() -
changed back to old behaviour which is to treat the return values as bytes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3674 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 11:10:54 +00:00
Fredrik
1850f4e04d cleanup to canon_int_directory_operations() - use GP_DEBUG, check results
more carefully and report failure with gp_camera_set_error().


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3673 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 11:00:47 +00:00
Fredrik
87ca6b8cb4 make canon_int_get_battery endian aware.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3672 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 10:48:44 +00:00
Hans Ulrich Niedermann
8f1de5e1b7 Fixed bug reported by Dan Fendrich: models[] should not be static.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3671 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 10:36:05 +00:00
Dan Fandrich
bd8926b4e2 Changed the serial port template for FreeBSD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3670 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 08:01:31 +00:00
Dan Fandrich
d471c24153 Added warning comment about nonstandard test syntax
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3669 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 07:22:37 +00:00
Dan Fandrich
8f6dcec096 Added m4 quoting around shell code so that square brackets come through.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3668 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-03 01:39:56 +00:00
Dan Fandrich
cfd073c367 Include stddef.h to get definition of NULL
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3666 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 23:14:28 +00:00
Hans Ulrich Niedermann
722b3f0edc filename2mimetype() added
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3664 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 19:04:53 +00:00
Hans Ulrich Niedermann
e4d95090e5 fixed doc error concerning placement of fields in data
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3663 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 19:04:07 +00:00
Hans Ulrich Niedermann
c96fb721bf descr typo
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3662 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:54:55 +00:00
Hans Ulrich Niedermann
1f85c6200f is_movie() cleanup
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3661 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:53:55 +00:00
Hans Ulrich Niedermann
2597b4dfef gphoto2canonpath(): handle non-"D:" drive names, remove trailing backslash
canon2gphotopath(): handle longer drive names


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3660 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:40:01 +00:00
Hans Ulrich Niedermann
4c1c082e8c canon_int_get_disk_name_info(): check parameters for being NULL
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3659 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:15:53 +00:00
Hans Ulrich Niedermann
65ee4ce19e added CHECK_PARAM_NULL macro
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3658 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:14:54 +00:00
Hans Ulrich Niedermann
eecbd348db moved model data definitions from .h to .c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3657 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 18:02:49 +00:00
Hans Ulrich Niedermann
0a6148b8d3 help for emacs users
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3656 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 17:50:53 +00:00
Hans Ulrich Niedermann
deb920c42e Removed all references to camera->pl->canon_comm_method.
Replaced by camera->port->type


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3655 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 17:49:57 +00:00
Dan Fandrich
3bae403a27 Now using proper checking for existence of strcasecmp.
Changed to use predefined MIME types when guessing by suffix.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3654 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 16:26:22 +00:00
Fredrik
f4e74efce7 Small change to yesterdays change to ignore keylocking on G1 cameras:
Treat CANON_PS_G1 the same way as CANON_PS_S100 as it apparently also locks
the keys itself when the mode selector wheel is turned to the appropriate
position even if the USB cable is not connected. It is not lacking the
key locking function, it just handles it itself.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3652 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 15:45:17 +00:00
Hans Ulrich Niedermann
3ec3502e3a time for 2.0beta4dev6 IMHO
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3651 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 15:38:07 +00:00
Hans Ulrich Niedermann
2d66ecbca3 Added note about libusb requirements (current CVS or 0.1.5 release)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3650 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 14:56:12 +00:00
Hans Ulrich Niedermann
df6ffbf906 Removed redundant memset()s introduced by me :-(
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3649 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 14:49:41 +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
Lutz Mueller
31e67d34c1 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/Makefile.am:
        * usb/Makefile.am:
        * serial/Makefile.am: Install io-drivers into versioned
          subdirectories.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3647 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 12:30:23 +00:00
Lutz Mueller
5487c7050b 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Implement proper cancelling of file
          down- and upload.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3646 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 09:33:33 +00:00
Colin Marquardt
d42a50490f de.po: Update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3645 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 08:05:06 +00:00
Hans Ulrich Niedermann
ea05eaa71c Added missing initialization of CameraAbilities struct. This fixes corrupt
abilities reported to libphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3642 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 00:29:10 +00:00
Fredrik
eecdec1153 add Canon PowerShot A10 - Jeremy Spykerman <spykermj@student.gvsu.edu>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3640 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 18:52:47 +00:00
Fredrik
dd26c0e752 Don't keylock G1 cameras, they do not support it.
Reported by Jarno Elonen.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3639 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 17:49:42 +00:00
Fredrik
0c4260b943 More comments about use, show syntax if executed without arguments.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3638 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 16:22:05 +00:00
Fredrik
d0f0c731fb add Canon EOS D30 - Marco Nierlich <mani@access.unizh.ch>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3637 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 11:58:15 +00:00
Fredrik
4413341421 Better wording in text telling users to mail the gphoto-devel mailing list
when something goes wrong.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3636 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 11:57:01 +00:00
Marcus Meissner
c277e0820c added Rob Hillis as another JamCam tester.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3635 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-01 06:50:45 +00:00
Lutz Mueller
18e5d811bd 2001-12-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* dimera3500.c (capture_image): Tell the filesystem about the
          new (ram) image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3634 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 21:29:25 +00:00
Lutz Mueller
6b0a809370 2001-12-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.[c,h] (gp_filesystem_delete_file_noop):
          New.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3633 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 21:28:17 +00:00
Lutz Mueller
dfa9eaaf63 2001-12-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Give users the possibility to specify the location
          of cdk
        * frontends/command-line/gphoto2-cmd-config.c: Use fscale if
          available
        * frontends/command-line/main.c: #if -> #ifdef


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3632 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 11:17:37 +00:00
Fredrik
d9da1ebc2a Initial check-in. This is a perl script that analyzes USB snoopy dumps
of communication with Canon cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3631 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 10:36:26 +00:00
Marcus Meissner
dcb5c61617 Added SiPix StyleCam, apparently yet another stv680 chipset user.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3630 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 09:55:08 +00:00
Marcus Meissner
2a6816ee3a * libgphoto2/gphoto2-abilities-list.c (gp_abilitities_list_detect*):
Replaced wrong index into list->abilities by correct one.
	  Should make USB autodetection work again.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3629 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-31 08:50:42 +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
Marcus Meissner
6c4132cd87 I bought a JamCam v3 yesterday. :)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3627 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 17:34:07 +00:00
Mariusz Woloszyn
55bd8f0265 added clearing of ability structure
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3625 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 16:31:15 +00:00
Mariusz Woloszyn
e91ddf84f6 don't try to download ancillary objects
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3624 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 16:13:04 +00:00
Lutz Mueller
916a65fe0c 2001-12-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-abilities-list.c (gp_abilities_list_detect_usb):
          Declare this function static - we don't want to advertise it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3623 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 09:07:03 +00:00
Dan Fandrich
1c487c5616 Added entry for libusb
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3622 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 07:18:31 +00:00
Johannes Erdfelt
917f6ba814 Add new class/subclass/protocol matching support to the PTP driver
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3621 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 02:40:34 +00:00
Johannes Erdfelt
60af9e7ca6 Simplify libgphoto2_port/configure.in so I only need to modify one line
for new versions of libusb :)
Check version of libusb as well
Walk USB device configuration information to match class, subclass and
protocol information


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3620 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 02:37:12 +00:00