Commit Graph

1859 Commits

Author SHA1 Message Date
Lutz Mueller
dbe847e342 2001-11-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-info-list.c: The logic was still
          broken...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3286 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 18:23:24 +00:00
Lutz Mueller
90efdd13c5 2001-11-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-info-list.c: Oh god, I checked in a
          #if 0 that I used for debugging purposes. Sorry, guys....


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3285 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 17:56:15 +00:00
Fredrik
4e38d92146 2001-11-29 Fredrik <fredrik@krixor.xy.org>
* libgphoto2_port/gphoto2-port-portability.h: OpenBSD also prepends
          underscores to symbols.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3282 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 15:12:01 +00:00
Lutz Mueller
442f7ee92f 2001-11-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-info-list.c: Fix regex stuff
          (at least for HAVE_GNU_REGEX).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3281 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 13:18:32 +00:00
Fredrik
742a092fef In short:
USB init updates.
Locking of USB camera keys and turning off LCD implemented.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3280 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 12:56:29 +00:00
Fredrik
a9a83000f5 * canon.c:
Move some more code from canon_int_ready() to
   canon_int_serial_ready().

   Don't show init errors with gp_camera_status(), use
   gp_camera_set_error() for that.

   Updated canon_int_usb_ready() to call new
   canon_usb_keylock() and also do things in a slightly
   different order.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3279 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 12:55:26 +00:00
Fredrik
b5b4813f37 * usb.c, usb.h:
Implemented canon_usb_keylock() which locks the
  cameras keys and turns off the LCD.

* usb.c:
  Changed a read of 0x44 bytes to two, one of 0x40
  and one of 0x4 bytes. This seems to fix the problems
  we have had with initialization only working every
  second time for some cameras.

  Changed canon_usb_dialogue() to return the number of
  bytes the caller is interested in rather than the
  total number of bytes read from the camera for
  "non-long" reads.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3278 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 12:54:31 +00:00
Lutz Mueller
1f32bca53f Ignore generic entries.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3277 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 09:48:17 +00:00
Lutz Mueller
2df561a79e Doesn't work either...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3276 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 09:41:03 +00:00
Lutz Mueller
01115fd82b 2001-11-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check for GNU regex
        * acconfig.h: HAVE_GNU_REGEX
        * serial:
        * libgphoto2_port: First try to implement a regex match. Doesn't work
          yet.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3275 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 09:35:56 +00:00
Hans Ulrich Niedermann
efe3cc5cfc 2001-11-29 Hans Ulrich Niedermann <hun@n-dimensional.de>
* Makefile.am: enable RPM and CVS rules only when useful
	* configure.in: init RPM packaging
	* libgphoto2_port/m4/packaging.m4: added packaging macro


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3274 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 01:39:49 +00:00
Hans Ulrich Niedermann
e1c37d79d0 Changes of yesterday
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3273 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 01:32:41 +00:00
Lutz Mueller
85fab5dd7f 2001-11-28 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc700.c: Rename PDC700_FIRST into PDC700_FAIL. Try to implement
          some error recovery strategy.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3272 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 23:04:24 +00:00
Lutz Mueller
b2337515e7 Small OS/2 fix...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3271 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 21:58:19 +00:00
Lutz Mueller
d68fec5905 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* serial/unix.c (gp_port_library_list): Lock device here before
          trying to access a port, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3270 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 21:37:33 +00:00
Chris Pinkham
8062ccd13a 2001-11-28 Chris Pinkham <cpinkham@infi.net>
* jamcam.c: changed driver version to reflect new revision.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3269 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 20:01:02 +00:00
Chris Pinkham
42908c1a59 JamCam changelog entry
-------------------------
2001-11-28  Chris Pinkham <cpinkham@infi.net>

    * README: updated TODO list.
    * jamcam.c, library.c, library.h: Changed license of source code
      from GPL to LPGL.  Various bugfixes to make driver more robust
      and to have better error recovery.

2001-11-28  Chris Pinkham <cpinkham@infi.net>

    * ChangeLog: created file.


Coolshot changelog entry
-------------------------
2001-11-28  Chris Pinkham <cpinkham@infi.net>

    * README: took out mention of protocol.txt until file is ready.
    * coolshot.c, library.c, library.h: fixed bug in code where value
      passed to gp_camera_progress was always 0.0.  Changed license of
      source code from GPL to LPGL.

2001-11-28  Chris Pinkham <cpinkham@infi.net>

    * ChangeLog: created file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3268 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 19:52:46 +00:00
Fredrik
171027cfa4 s/Powershot/PowerShot/ (looked at Canons homepage).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3267 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 15:30:03 +00:00
Lutz Mueller
ecc7a552c7 Fix file information
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3266 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 13:51:11 +00:00
Mariusz Woloszyn
0e73240883 Added capture time, widht and height support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3265 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 13:49:47 +00:00
Lutz Mueller
3d7f6093e2 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.c: Update documentation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3262 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 13:28:39 +00:00
Hans Ulrich Niedermann
20e8699ab7 I'm sick of all the diffs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3260 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 22:05:36 +00:00
Hans Ulrich Niedermann
2de2e16273 My, we are k3wl. We have CVS $Id$s in PIX!
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3259 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 21:58:40 +00:00
Hans Ulrich Niedermann
37918fbc22 My, we are k3wl. We have CVS $Id$s in PIX!
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3258 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 21:58:40 +00:00
Hans Ulrich Niedermann
db40f20576 added gphotofs figures
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3257 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 21:48:00 +00:00
Hans Ulrich Niedermann
d783c8390d COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3256 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 21:34:32 +00:00
Lutz Mueller
671bcbf240 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-file.h: Fix formatting of comments: Should
          always be
          /** (nothing here - new line!)
           * GP_WHATEVER: (colon!)
           (...)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3255 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 20:49:21 +00:00
Hans Ulrich Niedermann
33ad035db0 declared deprecated
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3253 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 20:02:53 +00:00
Hans Ulrich Niedermann
4ddbd18aa4 created new file
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3252 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 20:02:32 +00:00
Hans Ulrich Niedermann
703218474b added support for PowerShot S40
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3251 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 20:02:04 +00:00
Hans Ulrich Niedermann
a54d5c47d0 added note about CRW (raw) support
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3250 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 20:01:34 +00:00
Hans Ulrich Niedermann
a75fd56dd3 added note about CRW (Canon RaW) file format
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3249 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 19:58:04 +00:00
Hans Ulrich Niedermann
f3d0bb5a68 we prefer patches against CVS
camlibs should use their own ChangeLog files


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3248 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 19:53:55 +00:00
Lutz Mueller
eae0ad5d3c 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* directory.c: Support GP_FILE_TYPE_PREVIEW, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3246 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 19:07:05 +00:00
Hans Ulrich Niedermann
8d20ab369f COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3243 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 18:15:27 +00:00
Hans Ulrich Niedermann
01cad21793 2001-11-27 Hans Ulrich Niedermann <hun@n-dimensional.de>
* camlibs/canon/canon.c: removed G2 from serial detection list
	* camlibs/canon/canon.c: split canon_int_ready into usb and serial part
	* camlibs/canon/library.c: cleaned up the "switch off" stuff


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3242 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 17:58:58 +00:00
Lutz Mueller
ae3844d9dc 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.h: On Mariusz request, add a
          GP_FILE_INFO_TIME


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3239 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 17:21:47 +00:00
Lutz Mueller
7bb302279e 2001-11-27 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.40.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3238 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 16:19:55 +00:00
Lutz Mueller
b444e827c7 Kill warnings.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3237 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 15:03:58 +00:00
Lutz Mueller
d320880e7a 2001-11-27 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.40.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3236 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 15:00:46 +00:00
Lutz Mueller
2d7e3926df 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Recover from errors during
          file-deletion.
        * camlibs/sierra/sierra.c: Report an error if, after delete_all, there
          are still pictures on the camera. That makes libgphoto2 able to
          fix that.
        * camlibs/konica/library.c: Here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3234 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 13:33:19 +00:00
Hans Ulrich Niedermann
6cdfca6e26 set_timeout, not timeout_set
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3231 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 08:37:37 +00:00
Hans Ulrich Niedermann
d4a924944d added #include <string.h>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3230 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 08:37:06 +00:00
Dan Fandrich
197deb7f91 Removed bash-isms (needed for Solaris)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3229 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 05:50:12 +00:00
Hans Ulrich Niedermann
4e882163e5 sorry for the typo
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3227 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 18:06:46 +00:00
Mariusz Woloszyn
0cd547f726 two new higher level libptp function (getobjectfilename and
getobjectcapturedate);


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3226 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 18:05:00 +00:00
Lutz Mueller
b219dc05d4 2001-11-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.c (set_info_func): Rewrite
        * camlibs/ptp/library.c:
        * camlibs/fuji/fuji.c: Don't advertise what you don't support.
        * camlibs/konica/library.c (set_info_func): Rewrite
        * libgphoto2: Make *set_info consistent


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 14:00:37 +00:00
Lutz Mueller
4778cc2609 Speed improvements in the konica driver (avoid redundant traffic).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3221 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 12:37:33 +00:00
Lutz Mueller
7e8373db0a More set_info fixes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3220 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 10:34:21 +00:00
Lutz Mueller
980ef054f1 Fix logic for renaming of files.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3219 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 09:55:35 +00:00