Commit Graph

348 Commits

Author SHA1 Message Date
Lutz Mueller
d97a4a2d25 2001-11-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* MAINTAINERS: Move camlibs/ptp up to regain alphabetical order.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3051 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-16 13:39:29 +00:00
Mariusz Woloszyn
44879018ab Started PTP (Picture Transfer Protocol) support library developement
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3045 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-16 09:37:41 +00:00
Colin Marquardt
4e3fe8a1f0 * de.po: Update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3041 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-15 21:01:10 +00:00
Lutz Mueller
5fa32f1c17 2001-11-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/ptp: Basic structure for a new driver.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3034 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-15 13:01:35 +00:00
Lutz Mueller
fed4c02b6f 2001-11-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: Introduce enum PDCConf for better
          readability (instead of #define).
          (camera_set): Renamed into (pdc700_config) for consistency reasons.
          (camera_get_config): Implement date and time here.
          (camera_summary): I don't quite get it - this should read 2000 here
          instead of 0 for V3.10? If not, please revert this and correct
          both the remark in PDCDate and the code in camera_get_config.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3028 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-14 23:44:24 +00:00
Lutz Mueller
b771db35c2 2001-11-14 Greg Ingram <ingram@symsys.com>
* camlibs/polaroid/pdc700.c:
          - boosted the preferred baudrate to 115200
          - discovered the self-timer state datum
          - discovered how to set the camera's configuration, added
            camera_get_config() and camera_set_config() routines and flagged
            the config operation
          - added some delaying tactics in pdc700_capture()
          - added usb vendor/product ids (no, usb doesn't work yet)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3027 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-14 23:02:17 +00:00
Lutz Mueller
ac90219473 2001-11-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* cammlibs/agfa/agfa.c: Initialize a.speed[0] to 0 instead of
          leaving it uninitialized.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3015 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-14 10:20:14 +00:00
Hubert Figuiere
4144ddc7a7 * camlibs/kodak/dc240/library.c: Handle GP_ERROR_IO_TIMEOUT errors. Better
handling of checksums. (patch by Peter Fales <psfales@lucent.com>)
* camlibs/kodak/dc240/dc240.c (camera_init): camera reset sends garbage
  within the 1500ms timeout. Handle that properly with 2 read. (patch by
  Peter Fales <psfales@lucent.com>)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3004 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-13 07:43:05 +00:00
Lutz Mueller
f35526a080 2001-11-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Adjust filename only for thumbnails,
          audio files, etc, not for normal pictures.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3003 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-13 07:30:14 +00:00
Lutz Mueller
3c7eca7d0e 2001-11-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in:
        * libgphoto2/libgphoto-2.0.pc.in: Renamed to ...
        * libgphoto2/libgphoto2.pc.in: ... this. It seems that people
          really want our project to be called libgphoto2 and not libgphoto...
          Therefore, be consistent here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2999 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-12 11:55:16 +00:00
Lutz Mueller
5137cc1bc8 2001-11-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Add a switch for GP_FILE_TYPE_AUDIO.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2994 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-11 16:44:16 +00:00
Dan Fandrich
1342f4b406 * libgphoto2/jpeg.[ch]: moved array definitions from .h to .c
* libgphoto2_port/serial/unix.c: changed serial port prefix for Darwin


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2991 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-11 05:11:08 +00:00
Hans Ulrich Niedermann
2ed4e32ec6 made gphoto2 compile with newer automake/autoconf and without docs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2989 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-10 21:51:51 +00:00
Fredrik
410914d7fe 2001-11-10 Fredrik <fredrik@krixor.xy.org>
* camlibs/canon/canon.c: Clear all of camera->pl right after
	  malloc(). psa50_eot needed explicit clearing. This was
	  causing problems with serial communication.
	* camlibs/canon/psa50.c: Don't free psa50_serial_dialogue()'s
	  receive buffer in psa50_get_disk(). This caused us to dump
	  core when accessing serial canon cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2988 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-10 19:38:40 +00:00
Lutz Mueller
0369a901fa 2001-11-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: PPM-thumbnails are 9600 bytes, not
          4800. Sorry, guys. Should work again.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2983 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-10 00:45:23 +00:00
Lutz Mueller
9bd2a309c7 2001-11-10 Greg Ingram <ingram@symsys.com>
* camlibs/polaroid/pdc700.c: Report
          memory size, power source, mode, and auto-power-off time
          in the camera_summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2979 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-10 00:05:10 +00:00
Lutz Mueller
39e54bde05 2001-11-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Greg Ingram <ingram@symsys.com>, unfortunatelly without
        ChangeLog entry...

        * camlibs/polaroid/pdc700.c: Report lcd state and caption (?) in
          the camera_summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2976 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-09 17:06:24 +00:00
Lutz Mueller
060404ef3c 2001-11-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra: Clean up header files (hide internals, make
          functions static)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2973 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-09 10:45:37 +00:00
Lutz Mueller
0f47ae4092 2001-11-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra: Improve error reporting. Use register 47 for
          pic-info retrieval. Support GP_FILE_TYPE_AUDIO.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2971 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 15:48:40 +00:00
Chris Pinkham
ad87fc5707 2001-11-08 Chris Pinkham <cpinkham@infi.net>
* camlibs/jamcam/README
      camlibs/jamcam/jamcam.c
      camlibs/jamcam/library.h
      camlibs/jamcam/library.c: made downloading images more robust and
      added better error recovery.  Added support for downloading images
      from MMC card.  Changed summary info to show support for v2 cameras.
      Fixed gp_camera_progress percentage argument to be >0 and <1.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2970 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 13:22:45 +00:00
Lutz Mueller
c68213479b 2001-11-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.h: Expand CameraFileInfo to include
          information about audio data, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2960 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 08:06:57 +00:00
Lutz Mueller
87a6ac3566 2001-11-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patches from Greg Ingram <ingram@symsys.com>:

        * camlibs/polaroid/pdc700.c: Lots of new stuff


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2958 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 07:28:04 +00:00
Lutz Mueller
7032567eab 2001-11-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* gphoto2-file.c: Added GP_FILE_TYPE_AUDIO for cameras that can
          attach audio data to a picture.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2955 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-07 18:29:35 +00:00
Lutz Mueller
22d4dbd2ad 2001-11-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch by Peter Jay Salzmann <p@dirac.org> (slightly adapted):

        * camlibs/polaroid/pdc700.c: Tell the user about the current image
          quality setting.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2953 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-07 18:19:24 +00:00
Lutz Mueller
eeb416b7f2 2001-11-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Don't trust the camera libraries,
          set name, type, and adjust name for mime type after getting a file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2943 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-07 06:45:50 +00:00
Lutz Mueller
ed44fc378c 2001-11-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Chris Pinkham <cpinkham@corp.infi.net> decoded the thumbnails:

        * camlibs/polaroid/pdc700.c: Convert the thumbnails from YUV 2:1:1
          to PPM.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2941 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-06 23:10:46 +00:00
Lutz Mueller
60b8948ee7 2001-11-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: Fix memmove (third parameter is # of
          bytes to be moved). Display version information in camera_summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2923 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-06 08:56:46 +00:00
Colin Marquardt
6c2528fe2e po/de.po: Update. Convert quote signs to the ones recommended by the folks at de@li.org.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2922 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 23:55:43 +00:00
Chris Pinkham
d6f3b8d2dc 2001-11-05 Chris Pinkham <cpinkham@infi.net>
* camlibs/jamcam/jamcam.c
      camlibs/jamcam/library.c: added initial support for MMC card on
      Jamcam v3 cameras.  added more error checking.  changed camera
      model string to "KBGear JamCam" instead of                                      "KBGear JamCam v3.0" since driver supports both v2 and v3
      cameras now.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2919 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 21:42:21 +00:00
Marcus Meissner
e17469987c * camlibs/jd11: Implemented progress bar handling.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2918 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 21:27:05 +00:00
Lutz Mueller
05bac8fc45 2001-11-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: Checksum is only 1 byte long.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2917 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 18:54:09 +00:00
Chris Pinkham
c8eaf78259 2001-11-05 Chris Pinkham <cpinkham@infi.net>
* camlibs/panasonic/coolshot/coolshot.c
      camlibs/panasonic/coolshot/library.c
      camlibs/jamcam/jamcam.c
      camlibs/jamcam/library.c: added support for gp_camera_progress().
      Fixed bug in jamcam driver jamcam_file_count() routine.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2916 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 17:12:17 +00:00
Lutz Mueller
0b31ba02c1 2001-11-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: Timeout = 2sec, try each speed 2 times.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2915 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 15:00:54 +00:00
Lutz Mueller
bd18ace7d3 2001-11-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/PROTOCOL: Updated (upload).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2914 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-05 07:22:00 +00:00
Lutz Mueller
05b37bb649 2001-11-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: While searching the archives, I found
          some dumps and saw that there is something wrong with the logic in
          pcd700_read. Why didn't anyone fix?


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2913 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-04 16:50:45 +00:00
Stephane Castejon
66a2fe4507 2001-11-04 Stephane Castejon <scastejo@club-internet.fr>
* liggphoto2/gphoto2-result.c,h : remove GP_ERROR_LOW_BATTERY
	* camlibs/sierra/library.c : add an error message regarding the
	  low battery level.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2911 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-04 08:46:17 +00:00
Hans Ulrich Niedermann
5a34cff88e COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2908 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-04 02:34:36 +00:00
Stephane Castejon
f5449109f8 2001-11-03 Stephane Castejon <scastejo@club-internet.fr>
* camlibs/sierra/sierra.c,h
	* camlibs/sierra/library.c,h
	Add support for the upload feature.
	Replace gp_port_settings_[get/set] by gp_port_[get/set]_settings

	* liggphoto2/gphoto2-result.c,h : add GP_ERROR_LOW_BATTERY


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2894 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-03 15:16:12 +00:00
Marcus Meissner
1d99ea4f37 * camlibs/template/template.c: Make it compile with current libraries.
Added NLS macros, missing functions, etc.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2893 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-03 14:35:22 +00:00
Marcus Meissner
b22b1ab151 If we check for 'ENABLE_NLS', we need to include <config.h>.
Fix 'redefinition of _' compile warnings due to broken copy & pasted macro
in the camlibs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2892 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-03 14:30:21 +00:00
Marcus Meissner
59873756dc * camlibs/jd11:
- added Bayer interpolation, kept old mode as 'raw'.
          - added configuration widgets and calls for Bulb Exposure Time
            and Color Weighting
          - fixed number of images for 0 images (was returning 1)
          - cleaned up several functions in regard to GP_ return values.
          - added resend commands to the packet reader.
          - Added the I/O Magic MagicImage 420 as compatible camera.
        * camlibs/jd11/jd11.html: Added more information gained from the
          Twain drivers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2889 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 22:14:52 +00:00
Marcus Meissner
b01fc85d11 When dumping serial speeds, x was not 0 (since it was used before), but
some random value. Fixed.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2886 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 16:02:39 +00:00
Lutz Mueller
f614a68553 2001-11-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Fix bug (folder deletion)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2884 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 15:26:11 +00:00
Lutz Mueller
227da34fb5 2001-11-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Chris <adapt@ihug.co.nz>:

        * frontends/command-line/main.c: Don't gp_file_free twice


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2883 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 09:24:33 +00:00
Hans Ulrich Niedermann
324a56ebdd COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2882 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 21:43:29 +00:00
Dan Fandrich
b49de71c57 Added -module flag to libtool link command for each library that is dlopen'ed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2876 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 19:27:55 +00:00
Lutz Mueller
9d333adb56 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/bayer.c: Remove unused variable
        * libgphoto2/gphoto2-camera.c: Use the library handle in order
          to check if the camera has been initialized. Make it possible
          to call gp_camera_set_[port_info,abilities] on an already
          initialized camera.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2873 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 09:39:19 +00:00
Dan Fandrich
4eb47f5021 * camlibs/dimera/*.c: use renamed get/set functions, gp_camera_set_error
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2872 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 08:29:54 +00:00
Hubert Figuiere
cbc9130387 Added a couple of USB-Mass Storage cameras.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2867 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 23:00:44 +00:00
Lutz Mueller
0363982a8d 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc640.c: If you malloc memory for camera->pl,
          free it in camera_exit.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2866 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 22:54:46 +00:00