Commit Graph

666 Commits

Author SHA1 Message Date
Lutz Mueller
e19c48d4ea 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Bug reported by David Robert <david@ombrepixel.com>:

        * frontends/command-line/shell.c: Fix bug (leading blanks with
          filenames)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2709 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 19:57:37 +00:00
Lutz Mueller
a3364e4b63 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-core.[c,h]: Removed. All functions redirected
          to gphoto2-abilities-list. Caching of this list should be done
          in the frontend.
        * frontends/command-line/main.c: Don't use gp_autodetect, use
	  gp_abilities_list_detect instead.
        * libgphoto2/setting.c: Move some initialization stuff from
          gphoto2-core to here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2705 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:00:18 +00:00
Lutz Mueller
46555f8514 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove every reference to gp_camera_result_as_string
          including camera->functions->result_as_string. It was mostly
          unused anyways.
        * frontends/command-line/main.c: No history any more
        * libgphoto2/gphoto2-camera.[c,h] (gp_camera_[get,set]_error): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2701 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 16:43:38 +00:00
Hans Ulrich Niedermann
9d8f4cbcd4 made canon debug use gp_log (compiles again!)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2699 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 10:36:24 +00:00
Lutz Mueller
9ae6eac1a4 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Fredrik <fredrik@krixor.xy.org>:

        * libgphoto2/gphoto2-debug.c: Bug fix


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2698 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 09:55:58 +00:00
Lutz Mueller
e4392df422 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Carsten Weinholz <c.weinholz@netcologne.de>, slightly
        modified (removed unnecessary //-comments, indentation):

        * camlibs/stv0680: Added support for "Aiptek PenCam Trio"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2696 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 07:57:50 +00:00
Hans Ulrich Niedermann
2170e99592 2001-10-21 Hans Ulrich Niedermann <gp@n-dimensional.de>
* packages/usbcam.group: added. linux-hotplug script
	* packages/usbcam.console: added. linux-hotplug script
	* packages/Makefile.am: added.
	* packages/.cvsignore: added.
	* gphoto.spec.in: simplified a bit (only gphoto and
	  gphoto-devel, no lib* packages any more). added hotplug support.
	* configure.in: added packaging/
	* Makefile.am: added packaging/, added .tar.bz2 dist support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2695 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 17:43:56 +00:00
Lutz Mueller
1e2bac556b 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Don't use gphoto2-core.h - use
          gphoto2-abilities-list.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2689 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 12:40:05 +00:00
Lutz Mueller
9be99d5e66 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Adjust to changes in
          gphoto2-port-log.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:55:27 +00:00
Lutz Mueller
f32ac59e1d 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon: Use camera->pl instead of camera->camlib_data.
          Add warning about use of global variables.
        * libgphoto2/gphoto2-camera.h: Remove camera->camlib_data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2684 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:35:09 +00:00
Lutz Mueller
713136bd12 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: Use the CameraFilesystem. Declare some
          functions static.
        * libgphoto2/gphoto2-camera.[c,h]: We now use the CameraFilesystem
          exclusively - major cleanup.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2683 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 07:13:34 +00:00
Lutz Mueller
8f5bce99e4 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.c: Autodetect also in case of
          camera->port != NULL.
        * frontends/command-line/main.c: Only call gp_camera_set_abilities
          if a model has been specified. Same with gp_camera_set_port_path.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 06:29:29 +00:00
Hans Ulrich Niedermann
5a652d9a28 commited large part of large patch by fredrik
also commited a few minor changes by me
not really tested, but seems not to break anything


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2681 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 00:25:40 +00:00
Lutz Mueller
63985b28af 2001-10-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* doc/api: Some additions
        * libgphoto2/Makefile.am
        * libgphoto2/gphoto2-library.c: Dummy file, needed by gtk-doc
        * libgphoto2/gphoto2-camera.[c,h]: Updated documentation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2680 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 20:53:02 +00:00
Hans Ulrich Niedermann
4d6dbf7651 log USB IDs in hex instead of decimal
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2679 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 19:56:20 +00:00
Lutz Mueller
e64e391977 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc120: Prepare for camera->camlib_data removal. Fix
          compile warnings


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2674 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 17:25:59 +00:00
Lutz Mueller
f25b672679 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc3200: Prepare for camera->camlib_data removal.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2673 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 17:10:44 +00:00
Lutz Mueller
81d4df984e 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/panasonic: Prepare for camera->camlib_data removal. Fix lots
          of compile warnings. Remove gp_port_[close,free,new] (sic).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2672 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 09:05:08 +00:00
Lutz Mueller
b3fc02a2c3 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa/commands.h: Unused -> removed.
        * camlibs/agfa/Makefile.am: Reflect above.
        * camlibs/agfa/agfa.[c,h]: Use camera->pl instead of
          camera->camlib_data. Fix small memory leak in camera_init (in case
          of error).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2664 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 20:15:34 +00:00
Lutz Mueller
18d0b4e7b0 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/minolta/dimagev/dimagev.[c,h]: Prepare for removal of
          camera->camlib_data. Fix memory leaks (in case of errors).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2662 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:14:46 +00:00
Lutz Mueller
acd9ef46b6 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/digita:
        * camlibs/dimera: Prepare for elimination of camera->camlib_data.
        * camlibs/konica: Some additional debugging messages


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2660 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 18:05:55 +00:00
Lutz Mueller
af65dd94bd 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h] (gp_camera_get_port_speed): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2656 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 13:08:23 +00:00
Lutz Mueller
a1b7dd598c 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc240/library.c: Don't access a CameraFile directly.
          This lets us ...
        * libgphoto2/gphoto2-file.[c,h]: ... make internals of CameraFile
          private. Header file moved from include over to here in order to
          prepare for documentation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2654 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:48:16 +00:00
Lutz Mueller
76a19b0b53 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Instead of camera->port_info->speed, use
          settings.serial.speed. That lets us ...
        * libgphoto2/gphoto2-camera.[c,h]: ... remove camera->port_info


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2653 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:36:15 +00:00
Hans Ulrich Niedermann
70bb422996 made RPM spec file work
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2650 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 04:02:49 +00:00
Hans Ulrich Niedermann
26a33d4eb3 moved config.h to include/
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2649 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 01:53:52 +00:00
Hans Ulrich Niedermann
18a2f7d3b5 another block of changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2648 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 01:49:59 +00:00
Hans Ulrich Niedermann
b9097a630c dist cleanup
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2640 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 23:18:04 +00:00
Hans Ulrich Niedermann
a91b87cd3d changes of today
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2636 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 20:34:02 +00:00
Dan Fandrich
f008537628 * frontends/command-line/main.c: Added automatic port type guessing
when the type isn't specified


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2635 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 20:19:25 +00:00
Lutz Mueller
cf0291bf61 2001-10-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/casio
        * camlibs/polaroid
        * camlibs/barbie
        * camlibs/dimera
        * camlibs/jamcam
        * camlibs/panasonic/coolshot
        * camlibs/samsung: Use camera-fs and get_file_func


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2617 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 13:40:29 +00:00
Lutz Mueller
489e36bd04 2001-10-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc240: Use camera->fs - this should fix file deletion
          that I broke earlier.
        * camlibs/kodak/dc3200: Use camera->fs. Don't use
          gp_port_[new,free,open,close]. Declare some functions static in
          order to fix compile warnings.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2616 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 10:32:56 +00:00
Lutz Mueller
c4cc74d4ac Cleanup in gphoto2-debug.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2612 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 17:08:58 +00:00
Lutz Mueller
0c446a6532 2001-10-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/digita/digita.c: Fix compile warnings ("static ..."). Use
          camera->fs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2608 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 11:28:49 +00:00
Lutz Mueller
79ca233b97 2001-10-18 Fredrik <fredrik@krixor.xy.org>
* frontends/command-line/main.c: Only try to set port speed if port
          begins with 'serial' since gp_camera_set_port_speed() now fails
          if called for non-serial port.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2607 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 11:13:43 +00:00
Lutz Mueller
04252b5bd4 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2605 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 08:43:21 +00:00
Lutz Mueller
db4cb8cecf 2001-10-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc320.[c,h]: Don't use camera->model.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2600 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 08:13:49 +00:00
Lutz Mueller
813d438a76 2001-10-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sonydscf55: Use camera->pl, fix compile warnings


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2598 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 06:50:52 +00:00
Lutz Mueller
988eff329e 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/panasonic/l859
        * camlibs/sierra: Use camera->pl


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2597 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 06:34:30 +00:00
Lutz Mueller
477b3c1e1f 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Don't use camera->port_info->path. This one has already
          be set by gphoto2


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2592 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 21:53:12 +00:00
Lutz Mueller
b4ebf1de0c 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.c: Use camera->fs exclusively.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2588 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 21:03:07 +00:00
Lutz Mueller
86b9735c05 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/jd350e: Use camera->port directly.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2587 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 20:51:19 +00:00
Lutz Mueller
6759d95005 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/stv0680: Make direct use of camera->port. Kill compile
          warnings by declaring some functions static.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2586 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 20:42:41 +00:00
Lutz Mueller
2731365d90 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/library.c: Use camera->pl
        * libgphoto2/gphoto2-camera.[c,h]: Move lots of internals into
          camera->pc (for core use only) and offer hook for camera libraries
          (camera->pl) and frontends (camera->pf)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2585 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 20:06:40 +00:00
Lutz Mueller
0f93c2d58a 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Use gp_log.
        * libgphoto2/gphoto2-debug.[c,h]: Use gp_log.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2579 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 09:24:30 +00:00
Lutz Mueller
0e92d6daca 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-debug.c: Make tranition to gp_log_*
        * camlibs/sierra: Adjust parameters of camera_capture


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2574 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 00:28:37 +00:00
Lutz Mueller
2f3fa5134d 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: no glib-dependency any more
        * camlibs: gp_abilities_new doesn't exist any more
        * doc/api: Even more documentation
        * libgphoto2/gphoto2-abiltiies.h: Cleaned up.
        * libgphoto2/gphoto2-abilities-list.c: Documented


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 22:38:58 +00:00
Lutz Mueller
c3a5cdab43 2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Dan Fandrich <<dan@coneharvesters.com>:

        * libgphoto2/gphoto2-abilities-list.c:
        * libgphoto2/gphoto2-camera.c: Make models case-insensitive.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2568 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 21:18:34 +00:00
Lutz Mueller
cc4880ad35 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h]: Documented


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2566 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 20:40:40 +00:00
Dan Fandrich
0bc24961ef * camlibs/dimera/*: added i18n support; improved error returning
* po/POTFILES.in: added dimera3500.c


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2565 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 19:16:34 +00:00