Commit Graph

1778 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
b7cba2d362 renamed files correctly, added developers' docs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3182 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 22:57:56 +00:00
Hans Ulrich Niedermann
aa06c61886 hopefully really correct checks for libdl and libintl
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3181 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 22:11:17 +00:00
Johannes Erdfelt
d144452f11 Woops, don't set the speed so early
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3180 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 22:01:57 +00:00
Johannes Erdfelt
4fbcabb54d If no speed is specified, try the maximum
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3179 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 21:16:49 +00:00
Lutz Mueller
7f35c8640b Remove cruft.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3178 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:52:20 +00:00
Lutz Mueller
1e147a1a7f 2001-11-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check for mcheck.h
        * tests: #ifdef HAVE_MCHECK_H


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3177 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:49:57 +00:00
Lutz Mueller
8de9e5e8fd Formatting.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3176 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:35:32 +00:00
Lutz Mueller
fab4956ce7 2001-11-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* serial/unix.c: Try to fix logic of speed setting: Now check before
          each read/write operation if the current speed is the requested one.
          If not, change it and remember it in dev->pl->baudrate.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3175 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:32:19 +00:00
Lutz Mueller
327c607cbe 2001-11-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/Makefile.am: @IOLIB_CFLAGS@ doesn't exist any more.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3174 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-24 10:09:36 +00:00
Marcus Meissner
0ec6fdb8ea * camlibs/stv0680/library.c: Major rework of the Capture Preview
mode. It now supports all common formats of the camera and should
          not stop after some captures.                                                   Removed some of the double error conversions.

        * camlibs/stv0680/stv680.html: Some documentation fixes regarding
          Capture Image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3172 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 19:09:53 +00:00
Lutz Mueller
1e54992ae7 2001-11-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.c: Don't free a camera if it is
          currently in use. This fixes reentrancy crashes in gtkam on
          shutdown during an operation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3170 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 12:01:28 +00:00
Lutz Mueller
620ce4e5ed 2001-11-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* serial/unix.c: Only set the baudrate if the device is open. If you
          set parameters on device 0, you mess up the console...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3168 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 11:02:06 +00:00
Lutz Mueller
78e84a7e57 Speed improvement.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3167 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 10:28:58 +00:00
Lutz Mueller
e200bdba14 2001-11-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in:
        * serial/Makefile.am
        * usb/Makefile.am: Clean up Makefiles. Avoid version on io-drivers
          (we don't check it anyways)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3166 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 10:23:45 +00:00
Colin Marquardt
bde09cfa87 Fix ChangeLog conflict.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3165 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 23:23:29 +00:00
Colin Marquardt
7cc7978469 * frontends/command-line/options.c (usage):
Make the help table format string translatable.
  Make table lines 79 chars wide.

* de.po (Message): All command line help table entries are now
  translated.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3164 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 23:20:16 +00:00
Mariusz Woloszyn
8cc95cedd4 added info, minor fixes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3163 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 23:05:35 +00:00
Marcus Meissner
5b5f80e530 changelog entry for last stv0680 change (number of pictures can be 2 byte)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3162 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 21:53:21 +00:00
Marcus Meissner
0043984d66 There is another call to get the number of pictures , 0x8d.
Also, both number of picture calls get actually 2 bytes. (My camera can
store like 320 QCIF pictures, so this actually a problem.)
Adapted file_count accordingly.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3161 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 21:51:34 +00:00
Lutz Mueller
c601b6a7fe 2001-11-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Marr <marr@shianet.org>:

        * libgphoto2/gphoto2-port.c: Fix bug whereby hexadecimal output is
          erroneously shown in decimal format.
        * serial/unix.c (gp_port_serial_update): Don't open/close the port
          here (does this break anything?)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3160 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 21:41:47 +00:00
Colin Marquardt
7d8b1b2813 2001-11-22 Colin Marquardt <colin@marquardt-home.de>
* libgphoto2_port/libgphoto2_port/gphoto2-port.c (gp_port_write):
 	    Patch from Bill Marr <marr@shianet.org>:
	    Fix bug whereby hexadecimal output is erroneously
            shown in decimal format.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3159 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 21:39:01 +00:00
Lutz Mueller
e8b3eafb9a 2001-11-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in:
        * acconfig.h: No need for --with-multi any more
        * libgphoto2/gphoto2-camera.c: Add some comments about the
          problems with HAVE_MULTI.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3158 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 12:27:19 +00:00
Lutz Mueller
c6890a1456 2001-11-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h]: Expose gp_camera_exit to the world.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3151 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 07:35:33 +00:00
Lutz Mueller
c5a35cef10 2001-11-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Mark more strings for translation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3150 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 06:59:31 +00:00
Colin Marquardt
97191be750 frontends/command-line/options.c: Make help descriptions translatable.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3149 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 23:48:44 +00:00
Colin Marquardt
4870a43b70 po/de.po: Update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3148 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 23:04:47 +00:00
Colin Marquardt
784d87086c * frontends/command-line/main.c: Mark up more strings for
translation.

* camlibs/sierra/sierra.c: Spelling fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3147 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 23:03:57 +00:00
Dan Fandrich
3476d45450 Added default library flag for aalib if aalib-config isn't available
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3146 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 21:49:30 +00:00
Marcus Meissner
4222fdf418 collected the stv0680 programming information into a nice HTML table.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3145 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 21:44:37 +00:00
Marcus Meissner
e9288c5e25 Collected USB programming information for this camera from various sources,
including some own research.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3144 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 21:42:46 +00:00
Colin Marquardt
60b949b94c po/POTFILES.in: Removed ../camlibs/canon/psa50.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3143 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 21:12:20 +00:00
Colin Marquardt
b4f4c7f690 POTFILES.in: Removed ../camlibs/canon/psa50.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3142 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 21:07:41 +00:00
Dan Fandrich
80b46fae70 Added definitions of MIN and MAX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3141 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 20:58:21 +00:00
Lutz Mueller
25b9808904 2001-11-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
I quote from an e-mail: "You (Lutz) should remove the code you added
        that broke (at least) two of the supported 'libgphoto2' camera
        libraries!!!" *sigh*.

        * conigure.in: Add a --with-multi option and a warning that people
          who use it will run into troubles with digita and dc240 and that
          people who don't use it will run into troubles when using Nautilus
          or Konqueror for browsing their camera.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3140 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 19:07:53 +00:00
Lutz Mueller
a7b434e192 2001-11-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h]: Add a pre_func and a post_func
          that gets called before and after each access to the camera driver.
        * camlibs/konica/library.c: Use above functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3138 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 14:55:54 +00:00
Lutz Mueller
f80fd2a911 Finish implementation of GP_WIDGET_DATE.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3135 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 01:09:27 +00:00
Gilles Grandou
dc2fd604b3 2001-11-20 Gilles Grandou <gilles@grandou.net>
* camlibs/sierra.[c,h]:
	- intoduced camera classes, in order to customise behaviour for
	  various specific cameras.
	- camera_init(): initialize model class in private library area,
	  initialize set_config and get_config function pointers.
	- camera_get/set_config(): changed to address specific camera
	  classes. Currents one has been renamed for olympus cams, a new
	  one targeted to Epson cameras has been introduced. The default
	  set is pointing to Olympus for compatibility with current
	  code, but this should change in the future.
	- camera_summary(): detect missing memory card. tested on Epson
	  3000z. added some info in summary.
	- camera_manual(): added custom message for Epson cameras.
	  Current is targeted to Olympus ones. Default still display
	  Olympus message for compatibility.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3134 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 22:42:37 +00:00
Hans Ulrich Niedermann
90df5349a2 COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3133 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 20:48:38 +00:00
Hans Ulrich Niedermann
605a20fe86 covertly introduce important policy changes :-)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3132 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 20:47:42 +00:00
Johannes Erdfelt
877bc25ed6 Mop up any pending data
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3131 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 20:31:35 +00:00
Johannes Erdfelt
297c95ca79 Display the failed return code
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3130 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 20:30:48 +00:00
Lutz Mueller
32ce9120f7 2001-11-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Put gettext hack in again. Someone complained...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3128 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 16:29:33 +00:00
Fredrik
b848d3ebc5 Removed obsolete internal debugging code.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3127 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 07:58:21 +00:00
Fredrik
dc997636e0 Check result of gp_port_set_settings() in canon_usb_init().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3126 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 06:47:45 +00:00
Fredrik
7c81f4a7ee Put back declaration of canon_usb_camera_init() to avoid compiler warning.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3125 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 06:47:21 +00:00
Fredrik
d8c1887468 Removed dump_hex() in favor of gp_log_data().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3124 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 06:38:38 +00:00
Fredrik
0f6b07e0e8 Move USB init stuff from canon_serial_init() to canon_usb_init().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3123 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-20 06:31:30 +00:00
Mariusz Woloszyn
2ed96913bf 2001-11-19 Mariusz Woloszyn <emsi@ipartners.pl>
* camlibs/ptp: added camera filenames support,
	* fixed some minor and major bugs in handling unaligned
	  structures


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3122 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-19 22:50:00 +00:00
Mariusz Woloszyn
e4e3a600dd Added PTP camera filenames support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3121 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-19 22:44:08 +00:00
Mariusz Woloszyn
ee4d710246 fixed dealing with unaligned structures.
used __attribute__ ((packed)), and defined types as __uXX.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3120 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-19 22:03:26 +00:00