Commit Graph

144 Commits

Author SHA1 Message Date
Arnaud Launay
b9d58ca88b replace (c) and (C) by �
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-12-15 11:45:10 +00:00
Arnaud Launay
64e420e288 <config.h> -> "config.h"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-29 16:09:58 +00:00
Hans Ulrich Niedermann
917ba5e7c3 gettext stuff for Arnaud
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-23 00:47:57 +00:00
Lutz Mueller
28d137c136 2002-11-20 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c: Additional debugging stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5716 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-20 22:45:25 +00:00
Lutz Mueller
5e6cac9d0a 2002-11-04 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c: Don't follow links.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5593 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-10 21:01:24 +00:00
Hans Ulrich Niedermann
be9b07f8bf moved definition of camlibdir to configure.in
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5547 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-06 14:31:44 +00:00
Arnaud Launay
317c63b327 - modify config.h location
- add intl dir in include dirs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5277 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-09-14 19:42:54 +00:00
Lutz Mueller
695faa1209 2002-07-17 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c: Improve user feedback by calling gp_context_idle.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4871 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-17 19:57:49 +00:00
Lutz Mueller
4feddd7a49 2002-02-26 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c (delete_file_func): In case of error, tell the user
          what went wrong.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4224 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-26 10:08:22 +00:00
Dan Fandrich
5721106c43 * directory.c: Now using MIME type macros. Replaced // comment.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4152 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-13 21:08:27 +00:00
Lutz Mueller
6a99730da2 Comment out debugging...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4099 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 23:16:29 +00:00
Lutz Mueller
fad6bcd979 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* directory.c: Detect *.jpeg files, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4095 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:40:57 +00:00
Lutz Mueller
02a5379e77 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* Makefile.am:
        * directory.c: Support GP_FILE_TYPE_EXIF ifdef HAVE_EXIF


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4094 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:17:17 +00:00
Marcus Meissner
140ea131d9 * **/Makefile.am: Do not use $(prefix)/lib/, but $(libdir).
On some architecturs $(libdir) might not be /lib/, but /lib64/
	  (on s390x for instance).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4010 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-25 14:13:03 +00:00
Lutz Mueller
d47b5b0940 Translation fixes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3921 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 20:51:46 +00:00
Lutz Mueller
e142e3ed86 Translation fixes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3920 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 20:49:47 +00:00
Lutz Mueller
29cd730fe5 More link stuff.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3918 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 20:20:13 +00:00
Lutz Mueller
cd04850337 Small changes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3909 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 12:17:16 +00:00
Lutz Mueller
818aa29eb7 Small fixes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3865 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 23:19:51 +00:00
Lutz Mueller
361adeaec4 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Remove references to gp_camera_set_error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3857 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 21:00:12 +00:00
Lutz Mueller
cd437aae95 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Finished the GPContext stuff - changes all over the place. Basically,
        gp_[file,camera]_progress has been replaced by gp_context_progress_*.
        Well, we haven't release a gphoto2-2.0 yet, therefore I hope you don't
        mind the API change...

        * libgphoto2/gphoto2-camera.[c,h]: Added a GPContext parameter to
          any function that can possibly communicate with the camera. That
          makes every function cancellable (which is good), makes it possible
          to report multiple errors during execution of a command, offers
          several (nested) progress reports, and many other goodies.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3841 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-12 23:31:45 +00:00
Lutz Mueller
0dedb0e163 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions
          that potentially access the camera. This makes cancelling of
          all operations possible and improves error reporting.
        * tests/test-filesys.c:
        * libgphoto2/gphoto2-camera.c:
        * camlibs: Adjust to reflect above changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 23:06:56 +00:00
Lutz Mueller
908429e2df 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/Makefile.am
        * camlibs/ * /Makefile.am: Install drivers into versioned
          subdirectories.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3648 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 12:34:05 +00:00
Johannes Erdfelt
3b234b95cc Zero out the CameraAbilities struct so we don't have garbage in fields
This should help fix some of the problems with the new USB class matching
code people have reported


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3628 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 18:19:10 +00:00
Lutz Mueller
a2cf00a3e7 2001-12-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* directory.c: Even more debugging.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3608 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-29 08:50:36 +00:00
Lutz Mueller
98d03e80bb 2001-12-28 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* directory.c: Debugging stuff, file deletion.

CVS  Committing in .


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3601 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-28 22:29:05 +00:00
Lutz Mueller
0947dcd160 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove dotlib hack
        * camlibs: Do it "the right way"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:21:17 +00:00
Lutz Mueller
c11497ad5c 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
$builddir != $srcdir fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:37:57 +00:00
Dan Fandrich
899b49d2ca Added include of sys/types.h so utime.h will work on FreeBSD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3388 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 03:35:57 +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
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
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
c528187663 Make debugging of CameraWidgets easier.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3060 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-16 17:38:29 +00:00
Lutz Mueller
cd4ea40dc5 Mark some strings for translation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3047 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-16 11:31:21 +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
334681a30d 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/gphoto2-cmd-config.c:
          Implement GP_WIDGET_TEXT and GP_WIDGET_TOGGLE
        * camlibs/directory/directory.c: Expand configuration dialog
          for testing purposes. Additions #ifdef'd out.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2862 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 18:18:23 +00:00
Lutz Mueller
fc650700da Upload support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2835 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 21:57:09 +00:00
Lutz Mueller
7ebc0343f0 Advertise GP_FOLDER_OPERATION_[MAKE,REMOVE]_DIR
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2824 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 09:33:15 +00:00
Lutz Mueller
5c77c77bd0 2001-10-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: rmdir/mkdir support
        * camlibs/canon/psa50.c (psa50_directory_operations): Consistently
          return a gphoto2 error code.
        * camlibs/directory: Add rmdir/mkdir support
        * libgphoto2/gphoto2-camera.[c,h]
        * libgphoto2/gphoto2-filesys.[c,h]: Add rmdir/mkdir support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2823 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 07:45:47 +00:00
Hans Ulrich Niedermann
ffd1837c38 added missing files to EXTRA_DIST and *_SOURCES
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2638 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 23:10:32 +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
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
02fb0e6b48 2001-10-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-widget.h
        * include/gphoto2-filesys.h: Moved to ...
        * libgphoto2/gphoto2-widget.h
        * libgphoto2/gphoto2-filesys.h: ... here.
        * libgphoto2/widget.c
        * libgphoto2/filesys.c: Moved to ...
        * libgphoto2/gphoto2-widget.c
        * libgphoto2/gphoto2-widget.h: ... here.
        * include/Makefile.am
        * libgphoto2/Makefile.am: Updated.
        * camlibs/.../Makefile.am: Updated to reflect changes above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2496 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 10:59:00 +00:00
Lutz Mueller
cd82b4ce80 2001-10-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.h: Removed.
        * camlibs/directory/directory.c: Remove cruft


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2491 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-11 23:28:41 +00:00
Lutz Mueller
27c1b166f9 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-frontend.h
        * libgphoto2/frontend.c
        * camlibs: gp_frontend_progress -> gp_camera_progress,
        gp_frontend_status -> gp_camera_status


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2436 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 08:18:30 +00:00
bvl
95e1767b78 bvl: OS/2 Updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2207 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 20:02:33 +00:00
Lutz Mueller
3db04995ee 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa-cl18/agfa.c: Remove gp_port_usb_find_device, that's in
        libgphoto2/camera.c now.
        * camlibs/canon/canon.c: Move the declaration of the models struct here.        * camlibs/canon/canon.h: The models struct is no longer needed here.
        * camlibs/psa50.[c,h]: cs->gdev is now camera->port.
        * camlibs/canon/serial.[c,h]
        (canon_usb_probe): Removed. Now in libgphoto2/camera.c
        (canon_serial_init): Don't create/free a port here. Use camera->port.
        (canon_serial_close): Removed. No longer needed. Handled by libgphoto2
        (canon_serial_restore): Same here.
        * digita/commands.c: Indicate usb product/vendor in the abilities
        so that gphoto2 can autodetect. Use camera->port.
        * camlibs/digita/serial.c: Don't create/free the port here. Handled by
        libgphoto2
        * camlibs/digita/usb.c: No probe, no port creation (->libgphoto2)
        * camlibs/directory/directory.c: Declare lots of functions static.
        * camlibs/kodak/dc240/library.[c,h]:
        * camlibs/kodak/dc240/dc240.[c,h]: Use camera->port
        * camlibs/konica/library.c: No gp_port_usb_find_device here.
        * libgphoto2/camera.c (gp_camera_init): In case of USB,
        find the device. That removes redundancy in the camera libraries.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2151 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 09:28:54 +00:00
Lutz Mueller
90d8c3325c 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* gphoto2-library.h: Clean up this file.
        * gphoto2-camera.h: We don't need camera_init, camera_abilities, and
        camera_id here. That belongs into gphoto2-library.h.
        * libgphoto2/camera.c:
        * libgphoto2/core.c: Adapt
        * camlibs/*: Move camera_init to the bottom of the file. Camera
        driver authors, could you please declare the functions above static?
        Except camera_id and camera_abilities.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2124 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 17:53:03 +00:00
Lutz Mueller
205d6f1081 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/*:
        * camlibs/directory/directory.c (camera_folder_list_folders),
        (camera_folder_list_files), (camera_file_[get,set]_info): Removed.
        Use the camera->fs. Use camera->port.
        * camlibs/*: camera->port->* -> camera->port_info->*
        * include/gphoto2-camera.h:
        * libgphoto2/camera.c: Open the port before accessing a camera,
        close it after.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2115 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 10:09:57 +00:00
Lutz Mueller
db161947e9 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Cache folders and files, too (that is, only
        query them from the camera when needed.
        * frontends/command-line/main.c: Don't require a port with
        "Directory Browse".
        * camlibs/konica/library.c: Use the new functions
        * camlibs/directory/directory.[c,h]: Use the filesystem
        * tests/test-filesys.c: Demonstrate the use of the new functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2095 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 17:13:55 +00:00