Commit Graph

3596 Commits

Author SHA1 Message Date
Dan Fandrich
3c7465e7e1 * util.h: added MIN and MAX definitions
* library.c: added support for locale-specific thousands separator
	* canon.c: added support for tm.tm_gmtoff to get time zone offset


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3752 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 23:22:17 +00:00
Dan Fandrich
26e0e918a4 Added MIN and MAX macros
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3751 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 22:57:51 +00:00
Hans Ulrich Niedermann
87d3330100 COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3750 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 20:11:05 +00:00
Hans Ulrich Niedermann
424786687b Added FAQ
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3749 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 20:10:33 +00:00
Hans Ulrich Niedermann
2b0ca50e79 Added FAQ
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3748 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 19:58:42 +00:00
Lutz Mueller
cb75ac3721 2002-01-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* konica.c: #define PACKET_SIZE instead of using a static variable.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3746 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 19:44:58 +00:00
Marcus Meissner
520981bb16 * Reverted back to Johannes original code (all USB definitions
autodetected), the USB detection code was enhanced accordingly.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3740 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 18:17:55 +00:00
Lutz Mueller
594f5cdae3 2002-01-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: $prefix is set to NONE if no --prefix=/some/dir is
          specified.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3739 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 17:52:21 +00:00
Johannes Erdfelt
6e2a7c7417 Make sure dev->config is not NULL before walking the descriptors
Search for the first config/interface/altsetting which actually has
endpoints
Specify the endpoints in stv0680


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3738 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 17:51:19 +00:00
Marcus Meissner
d21418310e forgot the changelog
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3737 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 17:31:57 +00:00
Marcus Meissner
95c820028d * bayer.c, library.c: Integrated a speedup of the
preview debayer/scaler routine from Kurt Garloff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3736 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 17:22:59 +00:00
Marcus Meissner
4a74772943 Make it work again by specifying the inep explicitly.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3735 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 10:58:26 +00:00
Johannes Erdfelt
209f2c941c Automatically set config, interface, altsetting, inep and outep based on
the parsed descriptors


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3734 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 01:04:42 +00:00
Dan Fandrich
5b8a2d0008 Removed unneeded header file includes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3732 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 21:09:05 +00:00
Fredrik
2b65b75002 s/begin one/begin with one/ in usage()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3731 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 15:38:11 +00:00
Chris Pinkham
34b57e6523 fixed bug in jamcam.c introduced in gp_camera_progress->gp_file_progress
code conversion.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3730 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 13:56:58 +00:00
Fredrik
a175df21f5 Eliminated // comments for compatibility with pre-C99 compilers
(following Dan Fandrich's example in the gphoto2 core).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3729 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 13:20:50 +00:00
Fredrik
69c7601749 updated status of A10.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3728 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 13:18:22 +00:00
Dan Fandrich
36f1a88684 Use predefined MIME types where applicable
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3727 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 07:29:41 +00:00
Dan Fandrich
31c340e4f4 Eliminated // comments for compatibility with pre-C99 compilers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3726 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 07:27:32 +00:00
Dan Fandrich
4108702e77 * libgphoto2_port/configure.in: Only add gcc-specific CFLAGS if we're
running gcc.
	* Minor changes to other files to improve portability.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3725 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 06:06:27 +00:00
Dan Fandrich
ed6837cf63 * libgphoto2/bayer.h
* libgphoto2/exif.c
	* libgphoto2/exif.h
	* libgphoto2/gphoto2-filesys.c
	* libgphoto2/jpeg.c: Eliminated // comments (for non-C99 compilers)
	* configure.in: Only add gcc-specific CFLAGS if we're running gcc.
	* Minor changes to other files to improve portability.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3724 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 06:05:47 +00:00
Dan Fandrich
a1cbec0e26 Eliminated // comments for compatibility with pre-C99 compilers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3723 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 06:03:22 +00:00
Chris Pinkham
3c55c3dd25 camlibs/panasonic/coolshot
2002-01-04  Chris Pinkham <cpinkham@infi.net>

    * coolshot.c, library.c, library.h: updated code to use new
	      gp_file_progress instead of gp_camera_progress.

camlibs/jamcam

2002-01-04  Chris Pinkham <cpinkham@infi.net>

    * jamcam.c, library.c, library.h: updated code to use new
	      gp_file_progress instead of gp_camera_progress.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3722 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 05:24:59 +00:00
Dan Fandrich
2729ec7f16 Moved Solaris test after host type check.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3721 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-05 00:02:55 +00:00
Dan Fandrich
f7cc723804 Including config.h. Fixed name of DISABLE_DEBUGGING.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3720 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 23:45:31 +00:00
Dan Fandrich
b41ffe5428 Eliminated // comments for compatibility with pre-C99 compilers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3719 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 23:40:43 +00:00
Dan Fandrich
ee28160266 Including config.h (for inline) and string.h (for memset)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3718 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 23:20:56 +00:00
Dan Fandrich
9923e055b9 Renamed macro arguments to avoid luser compilers replacing %s
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3717 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 23:15:55 +00:00
Dan Fandrich
35ca1eaa29 Eliminated // comments for compatibility with pre-C99 compilers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3716 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 23:06:05 +00:00
Dan Fandrich
653f88177c Including config.h so the const stub macro is set if needed.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3715 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 22:57:48 +00:00
Dan Fandrich
9fddd176bb Only add gcc-specific CFLAGS if we're running gcc.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3714 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 22:52:24 +00:00
Dan Fandrich
b81e9401e4 Only add gcc-specific CFLAGS if we're running gcc.
Only check libusb version if USB support has been requested.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3713 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 22:48:09 +00:00
Dan Fandrich
a61249601d Remove spurious semicolons and return statements to eliminate compile warnings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3712 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 22:43:45 +00:00
Dan Fandrich
c057cd2248 Renamed parameter to match code
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3711 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 22:25:50 +00:00
Dan Fandrich
e49b2f9e4d Removed redundant sys/ioctl.h include. Only include files found by configure.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3710 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 21:43:31 +00:00
Dan Fandrich
e1aa6d0695 Added include of config.h to get const stub macro if necessary.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3709 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 21:22:17 +00:00
Dan Fandrich
739b6a6308 Eliminated // comments in gphoto2 core for non-C99 compilers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3708 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 21:06:39 +00:00
Dan Fandrich
c62919100e Renamed macro argument because of lusing Sun compiler that replaces %s with
an argument named s


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3707 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 20:22:30 +00:00
Dan Fandrich
bef1c2df0a Removed space before #define for compatibility with more compilers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3706 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 20:00:28 +00:00
Dan Fandrich
fe168d4700 Removed spaces before #include test line to work with more compilers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3705 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 19:38:48 +00:00
Colin Marquardt
b5769a91fd Commit new po files.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3704 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 16:56:08 +00:00
Colin Marquardt
3327a0af79 Add languages of new po files to ALL_LINGUAS.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3703 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 16:47:35 +00:00
Colin Marquardt
99f9b0c04d Add new po files to ALL_LINGUAS.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3702 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 16:41:22 +00:00
Mariusz Woloszyn
265deace42 Removed more byteorder stuff. Removed driver product/venodr models.
(Class detection should provide proper endpoints -- NOT TESTED yet)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3701 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 16:07:32 +00:00
Mariusz Woloszyn
e3814a3609 * removed hto*le() stuff
* updated TODO (describes how to solve byteorder problem)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3700 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 15:37:32 +00:00
Mariusz Woloszyn
7b5d5b5d43 * fixed USB class detection code bug
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3699 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 13:35:57 +00:00
Hans Ulrich Niedermann
822371015f fixed error message
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3698 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 11:09:25 +00:00
Mariusz Woloszyn
06a146516a fixed error with Camera Abilities initialization
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3697 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 10:35:16 +00:00
Mariusz Woloszyn
2b8a3220e9 Added woraround for ioctl return 0 problem
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3696 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-04 10:20:47 +00:00