Commit Graph

3596 Commits

Author SHA1 Message Date
Mariusz Woloszyn
f98dc259bd Merged multiple definition of EXTRA_DIST.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3802 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 12:03:44 +00:00
Marcus Meissner
a3981dcb1e * Makefile.am: Moved ptp-pack.c from SOURCES to EXTRA_DIST, since
it cannot be compiled stand alone.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3801 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 08:58:47 +00:00
Dan Fandrich
77a7826a0d Added fall-back support for compilers without variadic macros
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3800 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 01:26:13 +00:00
Lutz Mueller
1e7a3779b0 2002-01-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-context.[c,h]: Support for multiple progress
          reports at once (especially sub-progress reports).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3799 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 23:43:34 +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
232f43bcb5 * Makefile.am: Added ptp-pack.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3797 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 22:09:46 +00:00
Mariusz Woloszyn
66db0670c2 Fixede bug in delete function causig detion of files other than fequested!!!
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3796 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 18:55:05 +00:00
Mariusz Woloszyn
2841f42444 fixed error in library.c folder_to_handle() improper handlin of one char
filenames.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3795 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 16:21:42 +00:00
Mariusz Woloszyn
096138e97e Fixed file downloading code.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3794 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 15:37:27 +00:00
Lutz Mueller
fc18cbbdb5 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/Makefile.am
        * libgphoto2/gphoto2-context.[c,h]: New files
        * libgphoto2/gphoto2-abilities-list.[c,h]
          (gp_abilities_list_load_ctx): Sample function for showing the
          benefits of above new files.
        * frontends/command-line/main.c: Use gp_abilities_list_load_ctx to
          make that operation cancellable.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3793 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 01:29:05 +00:00
Dan Fandrich
85ded42601 * sharpen.c: Added include of string.h to get memcpy prototype
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3792 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 01:11:12 +00:00
Dan Fandrich
a5ceb2948c Added include of string.h to get memcpy prototype
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3791 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 01:10:03 +00:00
Dan Fandrich
b97e92a8ca * m4/byteorder.m4: Added support for NetBSD swap macros.
* m4/Makefile.am: Added byteorder.m4 to file list


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3790 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 00:32:48 +00:00
Dan Fandrich
88fe9f9c58 Changed the debugging disabled macros, too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3789 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 23:11:33 +00:00
Dan Fandrich
c4650c6bf1 * libgphoto2_port/gphoto2-port-log.h: Conditionally use C99 variadic
macros


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3788 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 23:06:01 +00:00
Marcus Meissner
c1e449219e 'w' should be 'rw', merge error from the preview patch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3787 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 22:24:56 +00:00
Dan Fandrich
b99fe4a675 * sierra-usbwrap.c: Fixed a pointer arithmetic portability issue.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3786 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 21:51:56 +00:00
Colin Marquardt
2378f105a7 Added Kristian Rink to TESTERS.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3785 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 21:16:48 +00:00
Dan Fandrich
f45ea4384b * library.c:
* ptp.c:
	* ptp.h: Moved include of time.h to ptp.h to get time_t definition
	  Moved typedef lines after their dependent definitions.
	  Fixed spelling of PTPDeviceInfo.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3784 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 21:05:02 +00:00
Hans Ulrich Niedermann
b62d3ac8f5 2.0beta4dev7, and output version
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3783 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 20:53:02 +00:00
Hans Ulrich Niedermann
bb0c1b19d0 Added "couldnt claim interface"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3782 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 20:20:20 +00:00
Dan Fandrich
8fa3e739f2 * libgphoto2_port/gphoto2-port.h: Moved typedefs after the definitions
of the dependent types.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3781 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 19:39:00 +00:00
Dan Fandrich
57baf4f2a1 * frontends/command-line/gphoto2-cmd-config.c
* configure.in: Allow cdk.h to be found outside a cdk directory.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3780 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 19:36:01 +00:00
Dan Fandrich
2bfa3ed2cb Allow cdk.h to reside outside a cdk directory.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3779 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 19:04:02 +00:00
Dan Fandrich
8b02e062c8 * jd350e.c: Added definitions of MIN and MAX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3778 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 18:53:45 +00:00
Dan Fandrich
07a70ddf9a Added definitions of MIN and MAX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3777 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 18:52:14 +00:00
Mariusz Woloszyn
5ccd4b00bd DX-4800 interface class does not seem to be defined as PTP...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3776 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 18:49:44 +00:00
Mariusz Woloszyn
f1432454ec TESTME: beta subfolder code (my camera does not support subfolders ;)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3775 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 18:39:45 +00:00
Mariusz Woloszyn
0a14e06f1b 2002-01-09 Mariusz Woloszyn
* Started ptp fs implementation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3774 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-09 13:05:30 +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
Dan Fandrich
849478875c * Makefile.am: Removed redundant CFLAGS and LDFLAGS lines
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3772 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 20:12:12 +00:00
Dan Fandrich
9c66586995 Removed redundant CFLAGS and LDFLAGS lines
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3771 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 20:09:01 +00:00
Mariusz Woloszyn
62a710e0fc Unicode strings were incorectly parsed on big endian hosts.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3770 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 18:29:46 +00:00
Mariusz Woloszyn
6e64e6da57 no free() bug
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3769 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 18:11:18 +00:00
Mariusz Woloszyn
dd211cac64 spelling
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3768 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 18:07:46 +00:00
Mariusz Woloszyn
778727ba1d Major pack/unpack, byteorder improvement code.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3767 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 17:56:11 +00:00
Marcus Meissner
6caa8acd33 Merged adaptions to parameters from Kurt Garloff.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3766 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 17:45:37 +00:00
Lutz Mueller
7cb0e344a6 2002-01-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* l859.c: Christopher Worley <cworley@chris-n-april.com> reported that
          his "Panasonic PV-L691" works with this driver, too.
          Fix headers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3765 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 14:49:53 +00:00
Lutz Mueller
a086b1efcd 2002-01-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Substitute AM_PROG_LIBTOOL by AC_PROG_LIBTOOL (first
          is deprecated).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3764 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 13:26:26 +00:00
Mariusz Woloszyn
fe3e10519b started pack/unpack structures code
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3763 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-08 11:45:15 +00:00
Johannes Erdfelt
cf8b1963ef Track if we've set the config and/or altsetting seperately so it gets
set correctly


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3762 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 19:48:07 +00:00
Marcus Meissner
b1c0f65242 * The Logitech Clicksmart 310 is apparently just another
stv680 user.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3761 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 13:25:06 +00:00
Fredrik
7ca943b384 fix bug in camera_int_set_time() and worked over camera_summary().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3760 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 12:43:28 +00:00
Fredrik
f6d3e81ee4 Improved camera_summary() with nicer output and more error-checking.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3759 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 12:40:45 +00:00
Fredrik
827baaf958 small fix to Dan's canon_int_set_time() patch for portable timezones.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3758 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 12:39:32 +00:00
Lutz Mueller
0544f37f65 2002-01-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: Removed duplicate camera models.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3757 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 09:51:00 +00:00
Lutz Mueller
6cb8868ee6 2002-01-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Correctly shut down the camera even
          in case of error.
        * libgphoto2/gphoto2-camera.c: Additional debugging message.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3756 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-07 06:46:18 +00:00
Dan Fandrich
d5299e9bd0 Fixed date in the last log entry
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3755 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 23:26:36 +00:00
Dan Fandrich
3687cde846 * acconfig.h
* configure.in: Added test for tm_gmtoff in struct tm


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3754 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 23:25:56 +00:00
Dan Fandrich
df4b5f49c0 Added HAVE_TM_GMTOFF
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3753 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 23:23:03 +00:00