Commit Graph

285 Commits

Author SHA1 Message Date
Lutz Mueller
44780c0e08 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/serial.c: gp_port_pin_get -> gp_port_get_pin


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2786 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-27 07:58:10 +00:00
Hans Ulrich Niedermann
f47755c018 COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2784 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 22:02:33 +00:00
Hans Ulrich Niedermann
b400b0a987 2001-10-26 Fredrik <fredrik@krixor.xy.org>
* camlibs/canon/.indent.pro:
          Added -T GPPort and some other types
        * camlibs/canon/psa50.c:
        * camlibs/canon/psa50.h:
        * camlibs/canon/canon.c:
        * camlibs/canon/serial.c:
        * camlibs/canon/util.c:
          Moved all global variables into camera->pl.
          Re-indented.
          Fixed small memory leak in update_disk_cache().
          Renamed psa50_dir to canon_dir since a comment said to do
          so when merging with more camera models (something that
          was done a long time ago).
          Added some comments.
          Added/improved debugging output.
          Cleaned out some superfluous debugging I forgot in my last
          big patch.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2777 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 21:13:19 +00:00
Lutz Mueller
704ad016df 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include: Move everything from here ...
        * libgphoto2: ... to here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2772 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 20:24:03 +00:00
Lutz Mueller
6a635613b3 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2: Adapt to changes in libgphoto2_port


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2767 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 17:01:46 +00:00
Lutz Mueller
f83ebcd01d 2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/gphoto2-cmd-capture.c: Adjust brighness
          and contrast with arrow keys


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2754 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 11:09:38 +00:00
Dan Fandrich
7252793b68 Whoops--wrong tab setting in my last comment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2750 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 06:50:12 +00:00
Dan Fandrich
744a5b1cf4 * libgphoto2_port/include/gphoto2-portability.h:
* libgphoto2_port/include/gphoto2-port-parallel.h:
* libgphoto2_port/include/gphoto2-port-serial.h:
* libgphoto2_port/serial/unix.c:
* libgphoto2/jpeg.c:
  Preliminary support for OS X/Darwin


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2749 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 06:47:23 +00:00
Lutz Mueller
6178dba97a 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check for jpeglib and aalib.
        * frontends/command-line/main.c
        * frontends/command-line/Makefile.am
        * frontends/command-line/gphoto2-cmd-capture.[c,h]: New. Display
          the preview prior saving it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2745 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 22:53:50 +00:00
Hans Ulrich Niedermann
19ab908721 hotplug dependency is a prereq not a requires
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2742 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 18:18:17 +00:00
Lutz Mueller
3e2f267f9d 2001-10-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/serial.[c,h]: No need to set the port path anywhere.
          This is fully handled by gphoto2. That is: gp_settings_get,
          adjust what needs to be adjusted, and then gp_settings_set.
        * camlibs/canon/canon.c: Adjust parameters to canon_serial_init
        * camlibs/digita/serial.c: there is no dev->device_fd any more


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2741 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 12:54:05 +00:00
Lutz Mueller
74365008dc 2001-10-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Remember --camera and --port


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2739 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 11:37:45 +00:00
Lutz Mueller
867b2b4f5f 2001-10-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Adapt to changes in gphoto2-port
        * libgphoto2: Here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2735 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 07:12:56 +00:00
Lutz Mueller
992de9886b Forgot to commit ChangeLog...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2733 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 05:37:31 +00:00
Colin Marquardt
f70b06a787 2001-10-25 Colin Marquardt <colin@marquardt-home.de>
* (Repository): s/retreiv/retriev/g
        * de.po: Update.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2728 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 23:19:26 +00:00
Hans Ulrich Niedermann
48f09cc562 bunch of changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2726 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 22:00:39 +00:00
Colin Marquardt
71905ea21e de.po: Update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2718 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 19:27:54 +00:00
Hans Ulrich Niedermann
3cd2c54884 * packaging/Makefile.am: add README.rpm
* packaging/README.rpm: added RPM build instructions


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2716 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 18:12:40 +00:00
Hans Ulrich Niedermann
a328316930 2001-10-24 Hans Ulrich Niedermann <gp@n-dimensional.de>
* doc/gphoto.txt: adapted to new hotplug scripts
	* packaging/Makefile.am: add hotplug scripts to docs when installing


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2712 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 12:17:15 +00:00
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