Commit Graph

118 Commits

Author SHA1 Message Date
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
Lutz Mueller
3d950c6be6 2001-08-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h:
        * include/gphoto2-library.h:
        * include/gphoto2-camera.h: Support for raw data.
        * libpghoto2/file.c: Adjust to above changes.
        * libgphoto2/frontend.c: Kill a warning.
        * libgphoto2/libgphoto-2.0.pc.in: CFlags -> Cflags
        * libgphoto2/widget.c: Include gphoto2-result.h instead of gphoto2.h
        * camlibs/*: Prepare support for download of raw data. Remove lots of
        redundant code (people just copied & pasted the code for file_get
        and file_get_preview...). I hope everything works as it did before.
        * frontend/command-line/*: Prepare support for download of raw data


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2072 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-25 18:14:25 +00:00
Lutz Mueller
dd9fb9311a 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/abilities.c:
        * include/gphoto2-abilities.h: Let gp_abilities_new return an error
        code. This was the last one.
        * camlibs/*: Adjust to above change.
        * camlibs/canon/canon.c: #if 0 some code to kill some warnings


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2068 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-24 21:23:12 +00:00
Lutz Mueller
3e2bbb93b9 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa-cl18/agfa.c: Use gp_file_* instead of directly
        accessing the struct.
        * camlibs/barbie/barbie.c: And here.
        * camlibs/directory/directory.c: And here.
        * camlibs/konica/library.c: And here.
        * camlibs/sierra/sierra.c: And here.
        * camlibs/panasonic/l859/l859.c: And here.
        * camlibs/dimera/dimera3500.c: And here.
        * frontends/command-line/main.c: And here.
        * libgphoto2/camera.c: And here.
        * libgphoto2/file.c:
        * include/gphoto2-file.h: Introduce some more gp_file_* functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2059 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-23 12:02:20 +00:00
Lutz Mueller
bca686fbfd 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h: Make gp_file_new return an error code.
        * */*: Adjust everything for above change.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2054 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-23 08:59:22 +00:00
Lutz Mueller
abe27e1c98 2001-08-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* */*: Small parameter changes to make gphoto2 API more consistent.
        More to follow.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2046 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-22 18:09:42 +00:00
Lutz Mueller
39657609dd 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-datatypes.h: Move the declaration of the lists to ...
        * include/gphoto2-lists.h: ... here. This is a first step towards
        cleaning up the include-mess. Realized that CameraListType isn't
        needed at all - removed.
        * include/gphoto2-filesys.h: Hide the actual contents of
        the CameraFilesystem ...
        * libgphoto2/filesys.c ... here. The normal user doesn't need to
        know what's inside.
        * libgphoto2/core.c:
        * libgphoto2/lists.c:
        * camlibs/*: Reflect above changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2001 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 00:03:06 +00:00
Hubert Figuiere
f9f8a7f7ef Patch by Christophe Barbe <christophe.barbe@online.fr>
It adds code in configure.in to detect when '.libs' is not detected
and in this case defined a variable "dotlibs" which is then
substitued in all Makefile.in. This fix a build problem with
newer libtool (1.4)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1993 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-16 17:57:15 +00:00
bvl
3443ca09f4 bvl: various OS/2 fixes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1989 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-13 21:59:59 +00:00
bvl
043bd29fb3 bvl: OS/2 build system update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1929 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-19 14:38:18 +00:00
bvl
10696aed75 bvl: OS/2 Build system update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1925 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-19 12:04:40 +00:00
Lutz Mueller
d0dbbf1c97 camera_file_get_info implemented.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1862 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-29 12:04:35 +00:00
Fabrice Bellet
2ad47822ff ignore case of filename extension.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1842 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-05-06 22:19:25 +00:00
bvl
85b367077d bvl: barbie update
bvl: OS/2 build process update
bvl: Sony DSC-F1 update


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1798 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-26 23:29:58 +00:00
Lutz Mueller
a194588765 Documented widget.c. Changed naming/parameters/return values of some
functions there to be consistent.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1770 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-19 10:48:44 +00:00
Lutz Mueller
f384e17c71 Changed some "char *" to "const char *".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1734 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 11:47:41 +00:00
bvl
0b11738ebd bvl: Updated complete OS/2 Make system
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1731 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 00:51:15 +00:00
Scott Fritzinger
73ea02062f finished updating backend API. fixed camera_capture hack
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1727 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 18:54:40 +00:00
Scott Fritzinger
ac9691dfb0 slowly updating camera libraries to newer API scheme
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1700 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-10 20:32:24 +00:00
Lutz Mueller
fd991c04ae Fixed renaming for the directory driver.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1694 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-09 01:42:08 +00:00
Lutz Mueller
624c7e3164 Implemented file_info_set for directory.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1692 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 18:07:51 +00:00
Lutz Mueller
c976213d13 Ifdef'd out not compiling code. Introduced abilities->file_operations and abilities->folder_operations. Renamed gp_file_delete_all in gp_folder_delete_all. Other clean up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:14:22 +00:00
Lutz Mueller
b8760f589d Directory Driver can't do upload.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1653 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-04 21:28:50 +00:00
Lutz Mueller
58e132fe20 Added CameraConfigType: GP_CONFIG_CAMERA, GP_CONFIG_FOLDER, GP_CONFIG_FILE.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1645 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-03 15:07:15 +00:00
bvl
5966d9b44f bvl: OS/2 updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1621 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-26 23:29:31 +00:00
Scott Fritzinger
3dd042f150 added libgphoto2_port into tree. ouch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1526 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-22 19:19:02 +00:00
Lutz Mueller
f2b07bb85b extern "C" for c++
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1508 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-09 22:48:03 +00:00