Lutz Mueller
b1b5098251
2001-10-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/filesys.c: Documented.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2476 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 17:09:12 +00:00
Lutz Mueller
921df845c9
2001-10-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/template/template.c: Updated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2475 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 16:00:49 +00:00
Lutz Mueller
9de2d0ec43
2001-10-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* frontends/command-line/interface.c: Don't jump to the next line
for status messages - this disturbs the nice formatting of listings.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2474 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 09:44:22 +00:00
Lutz Mueller
8bfa358b6b
Use gp_filesystem_reset
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2473 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 08:53:30 +00:00
Matt Martin
1ee9d9dd3b
Reverted to gp_list_append in camera_file_list
...
Commented out all gp_frontend_status
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2472 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 03:10:43 +00:00
Philippe Marzouk
8e8ddf634e
global reindentation of the code, see the .indent.pro file for the rules used
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2470 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 20:06:05 +00:00
Lutz Mueller
f630cceb1b
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/casio/casio-qv.c: On capture, append the file to the
filesystem
* camlibs/polaroid/pdc640.c: Here, too.
* include/gphoto2-camera.h: Add some more warnings
* libgphoto2/filesys.c:
* include/gphoto2-filesys.h: We don't need to expose
gp_filesystem_folder_number, that doesn't make sense
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2464 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 17:26:07 +00:00
Lutz Mueller
555b67ddb6
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/agfa/agfa.c: delete_file_func, get_file_func
* camlibs/canon/canon.c: Add warning that upload and deletion is
broken
* camlibs/jd350e/jd350e.c: Tiny update
* camlibs/kodak/dc120/dc120.c: folder_list_func, file_list_func,
get_file_func, delete_file_func
* camlibs/kodak/dc240.c: Add warning that changes have to be made
* camlibs/konica/library.c: delete_all_func, delete_file_func
* camlibs/minolta/dimagev/dimagev.c: delete_file_func, put_file_func,
* camlibs/panasonic/dc1000.c: file_list_func, get_file_func,
put_file_func, delete_file_func
* camlibs/panasonic/dc1580.c: get_file_func, put_file_func,
delete_file_func
* camlibs/panasonic/l859.c: delete_file_func, delete_all_func
* camlibs/polaroid/pdc320.c: get_file_func, delete_all_func
* camlibs/polaroid/pdc640.c: get_file_func, delete_file_func
* camlibs/sierra/library.c:
* camlibs/sierra/sierra.c: delete_all_func, delete_file_func
* camlibs/sonydscf1/sonydscf1.c: delete_file_func
* camlibs/sonydscf55/sonydscf55.c: Tiny update
* camlibs/stv0680/stv0680.c: Tiny update
* frontens/command-line/interface.c: Don't show "" status and 0.0
progress
* libgphoto2/camera.c:
* include/gphoto2-camera.h: Remove put_file, delete_all and delete -
this should all be done using the filesystem. In the future,
file_get and the listing functions will also disappear.
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: Add deletion and upload.
* libgphoto2/jpeg.c: Kill unused variable
* tests/test-filesys.c: Update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2462 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 16:25:04 +00:00
Lutz Mueller
f082f4a9e3
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/sonydscf1:
Clean up a bit. This camera uses globals and won't work with
big frontends...
Use camera->port and camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2461 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 10:33:43 +00:00
Lutz Mueller
a9cd0e7928
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/stv0680/stv0680.[c,h]:
Fix compile warnings by declaring some functions static.
Use camera->port and camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2460 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 10:12:20 +00:00
Lutz Mueller
38ce7160d8
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/sonydscf55/camera.c:
Fix compile warnings by declaring some functions static.
Use camera->port and camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2459 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 10:02:11 +00:00
Lutz Mueller
0ab0f4f1ee
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/minolta/dimagev/dimagev.[c,h]:
Fix compile warnings by declaring some functions static.
Use camera->port and camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2458 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 09:51:57 +00:00
Lutz Mueller
0737731e43
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/panasonic/l859/l859.[c,h]:
Fix compile warnings by declaring some functions static.
Use camera->port and camera->fs.
(l859_debug): Removed. Now in libgphoto2_port
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2457 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 09:35:50 +00:00
Lutz Mueller
212c97715b
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/jd3503/library.c: Fix compile warnings by declaring some
functions static.
* camlibs/jd350e.c: Here, too. #include <stdlib.h>. Use camera->port
and camera->fs. First in order to avoid problems with port locking
and second for caching.
* camlibs/jd350e.h: No filesystem here. Use camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2456 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 09:16:43 +00:00
Lutz Mueller
063ac2418b
2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/konica/library.c: Remove reference to gphoto2-frontend.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2454 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 08:21:37 +00:00
Lutz Mueller
648a547376
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-frontend.h
* libgphoto2/frontend.c: Removed
* command-line
* include/Makefile.am
* libgphoto2: Remove references to above
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2445 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 10:16:52 +00:00
Lutz Mueller
a3795f1f54
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/panasonic/dc.c: gp_frontend_status ->
gp_camera_status
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2444 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:57:17 +00:00
Lutz Mueller
8aa39e7a1f
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/kodak/dc240/library.c: gp_frontend_status ->
gp_camera_status
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2443 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:55:19 +00:00
Lutz Mueller
d9fbdff268
gp_frontend_message -> gp_camera_message
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2442 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:51:38 +00:00
Lutz Mueller
c6cbeb2bbb
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-[camera,frontend].h
* libgphoto2/[camera,frontend].c: gp_frontend_message ->
gp_camera_message
* camlibs: Reflect above
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2440 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:46:32 +00:00
Lutz Mueller
9cc65b29a7
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/polaroid/pdc640.c: Patch from Chris. Don't know what's
inside...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2439 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 08:50:44 +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
Lutz Mueller
7d8e842fb1
Reorder gp_camera_set_[status,progress]_func
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2433 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:44:28 +00:00
Lutz Mueller
38d918b76e
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/camera.c
* include/gphoto2-camera.h (gp_camera_status*), (gp_camera_progress*):
New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2432 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:41:04 +00:00
Lutz Mueller
b986bf57d4
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/camera.c
* include/gphoto2-camera.h (gp_camera_status*), (gp_camera_progress*):
New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2431 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:15:27 +00:00
Matt Martin
074638333c
Preliminary checkin of fuji library
...
Needs clean-up
currently only works at default speed of 9600
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2430 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 04:38:29 +00:00
Lutz Mueller
8b17c13639
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-frontend.h
* libgphoto2/frontend.c: Remove gp_frontend_prompt. This and the other
gp_frontend functions will reappear some day in gphoto2-camera.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2428 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 00:54:30 +00:00
Lutz Mueller
24712f0af4
2001-10-07 Hans Ulrich Niedermann <gp@n-dimensional.de>
...
* configure.in: remove unnecessary variables at the beginning
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2426 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 22:29:56 +00:00
Lutz Mueller
6b86b5db0b
2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/camera.c: Additional debugging messages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2425 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 22:23:04 +00:00
Lutz Mueller
44dadb9e15
Added a const
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2423 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 13:23:23 +00:00
Lutz Mueller
26018cf8fb
2001-10-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/jamcam: Use libgphoto2/bayer.h and libgphoto2/gamma.h
* libgphoto2/Makefile.am: LIBADD -lm
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2420 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 12:57:02 +00:00
Lutz Mueller
7442042e13
2001-10-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* configure.in: -lm
* libgphoto2/Makefile.am
* libgphoto2/bayer.[c,h]
* libgphoto2/gamma.[c,h]: New
* camlibs/polaroid/pdc640.c: Use above
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2419 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 12:49:55 +00:00
Lutz Mueller
ea1264b3f0
2001-10-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from Chris Byrne <adapt@ihug.co.nz >:
* camlibs/polaroid/pdc640.c: Updated
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2418 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 11:56:49 +00:00
Lutz Mueller
4fc4de80cf
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2417 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 11:53:36 +00:00
Lutz Mueller
b4c8d63d20
GP_FILE_OPERATION_RAW
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2413 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 08:28:10 +00:00
Lutz Mueller
494f50272b
2001-10-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from David Faure <david@mandrakesoft.com >
* libgphoto2_port/library.c: Fix logic
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2412 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 07:34:27 +00:00
Lutz Mueller
8010e5c8ee
2001-10-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from David Faure <david@mandrakesoft.com >
* libgphoto2/core.c: Fix logic
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2411 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 07:33:47 +00:00
Lutz Mueller
e65b39d675
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* configure.in: Bump version up to 2.0beta3
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de >
Patch from Hans Ulrich Niedermann <hun@n-dimensional.de >:
* frontends/command-line: Add --version
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2410 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 23:47:54 +00:00
Lutz Mueller
946329c77b
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-list.h
* libgphoto2/list.c (gp_list_ref), (gp_list_unref): New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2407 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 20:27:41 +00:00
Lutz Mueller
a76e65c31f
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Suggestions from Hans Ulrich Niedermann <hun@n-dimensional.de >:
* libgphoto2_port/debug.c: #warn the user #ifndef HAVE_VSNPRINTF and
use a #define at the beginning instead of #ifdefs in the code.
CVS Committing in .
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2406 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 17:01:26 +00:00
Lutz Mueller
2957bc9ed5
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-debug.h
* libgphoto2/debug.c (gp_debug_history_get_size): New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2404 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 16:25:59 +00:00
Lutz Mueller
cb4268f7a2
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-port-debug.h
* libgphoto2_port/debug.c (gp_port_debug_history_get_size): New.
(gp_port_debug_printf): Append the msg to the history after calling
the debugging function.
(gp_port_history_append): Don't try to remove full messages, just
remove as many bytes as needed.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2403 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 16:25:32 +00:00
Lutz Mueller
dd3099968b
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-port-debug.h
* libgphoto2/debug.c (gp_port_debug_get_level): New. In addition,
remove port-dependent debug levels as frontends are not able to
change them dynamically. Just use the global one.
* include/gphoto2-port.h
* libgphoto2_port/gp_port.c: gp_port_init without debug level. That
can and should be done separately.
* libgphoto2_port/library.c
* test/test-gp-port.c
* serial/unix.c: Adjust to above changes
* usb/libusb.c: Use gp_port_debug_printf instead of fprintf
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2402 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 14:55:15 +00:00
Lutz Mueller
5713e7f749
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/debug.c: Use the debug level from libgphoto2_port instead
of keeping an own global variable
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2401 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 14:54:46 +00:00
Lutz Mueller
3489a1f277
2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Chris Byrne <adapt@ihug.co.nz > found this bug:
* libgphoto2_port/debug.c: Use "%s" because the string we print can
contain characters like "%%%%i%s&%i".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2400 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 12:35:47 +00:00
Lutz Mueller
23af5224fd
2001-10-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2_port/gp_port.c: Print what we received only if we received
something...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2399 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 17:11:21 +00:00
Lutz Mueller
e0915e2162
2001-10-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from Hans Ulrich Niedermann <hun@n-dimensional.de >, slightly
adapted:
* include/gphoto2-port-debug.h
* libgphoto2_port/debug.c (gp_port_debug_print_data): New
* libgphoto2_port/gp_port.c: Use the new function.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2398 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 16:09:06 +00:00
Lutz Mueller
d718eb617a
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2397 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 15:22:35 +00:00
Lutz Mueller
d4de871bf9
2001-10-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2_port/debug.c: #include <config.h>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2396 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 15:22:07 +00:00
Lutz Mueller
5add7f1c1d
2001-10-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* configure.in: Check for vsnprintf, too.
* libgphoto2/debug.c: Use vsnprintf if available.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2393 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 15:15:16 +00:00