Commit Graph

2255 Commits

Author SHA1 Message Date
Dan Fandrich
c19c866791 Added include of limits.h to get PATH_MAX. Added MIN and MAX macros.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3826 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 23:14:21 +00:00
Hans Ulrich Niedermann
ad17653ef1 Checked in hun branch as HEAD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3825 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 21:13:38 +00:00
Hans Ulrich Niedermann
55b8a5cb1c Checked in the hun branch as HEAD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3824 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 21:05:21 +00:00
Dan Fandrich
cbef4a0915 * library.c: fgetc() returns type int, not char.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3822 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 19:41:43 +00:00
Dan Fandrich
4511fdccd5 Added support for C99 compilers and those without variadic macros
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3821 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 19:23:04 +00:00
Hans Ulrich Niedermann
66a1fbb791 removed erroneous remark about A10
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3815 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 14:50:07 +00:00
Hans Ulrich Niedermann
c6c19cbe8e Added note to include VERSION number when sending --debug output
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3805 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 13:01:58 +00:00
Hans Ulrich Niedermann
e4eb7f947f ChangeLog Entry from 2002-01-09, changed my mail addr
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3804 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 13:00:53 +00:00
Hans Ulrich Niedermann
caf8ade944 gphoto2canonpath() returns const char *
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3803 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 12:56:28 +00:00
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