Marcus Meissner
bbf56f6f42
added a missing gp_system_closedir(), coverity
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14858 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-03-23 19:21:02 +00:00
Marcus Meissner
f897031217
updated fsf address
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14608 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-01-01 20:27:33 +00:00
Marcus Meissner
75712aa1b3
make image_no int to allow <0 comparisons (Coverity)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14460 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-06-28 06:26:44 +00:00
Marcus Meissner
ede0c8b20c
added _BSD_SOURCE or _POSIX_C_SOURCE for -ansi building
...
replaced // comments with /* */ comments
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14246 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-02-20 17:37:37 +00:00
Marcus Meissner
bc5186e591
readded C(r)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12553 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-12-12 11:32:45 +00:00
Marcus Meissner
24d162fe16
return out of the default branch (Coverity)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12552 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-12-12 11:26:20 +00:00
Marcus Meissner
d0f92ff45e
set rb = NULL after freeing it.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12551 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-12-12 11:15:31 +00:00
Marcus Meissner
9e759d45db
more signedness issues
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11825 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-02-18 22:01:15 +00:00
Marcus Meissner
406a9f37e2
fixed endless recursion path
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11822 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-02-17 08:22:26 +00:00
Marcus Meissner
bb3d18289e
Batch commit from weekend work:
...
- removed "type" from CameraFile handling:
- all put_file functions and hooks get "type" as argument now
- added type to the set_file_info_noop call
- started removal of "name" from CameraFile
- generate new filename from original filename + camerafile type + mimetype
- new gp_camera_autodetect() helper function
- adapted all drivers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11818 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-02-16 08:09:49 +00:00
Marcus Meissner
a3ee73043c
* removed CameraFileInfoFile.name, adjusted users
...
and callers.
* added filename argument to put_file_func,
set_info_noop and set_file_noop functions.
adjusted all camlibs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11773 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-01-25 20:30:53 +00:00
Marcus Meissner
81d75af174
disable info.name handling
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11683 67ed7778-7388-44ab-90cf-0a291f65f57c
2009-01-10 23:10:12 +00:00
Marcus Meissner
e236b1b0c2
added ChangeLog and other not yet distributed files
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11448 67ed7778-7388-44ab-90cf-0a291f65f57c
2008-10-19 11:51:49 +00:00
Marcus Meissner
254e1d3d48
more gone .cvsignore files
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11350 67ed7778-7388-44ab-90cf-0a291f65f57c
2008-09-26 05:56:35 +00:00
Marcus Meissner
f0f3ebc9b0
reworded manual
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10557 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-08-11 13:30:12 +00:00
Marcus Meissner
1870cd5898
adjusted some more translatable strings.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10556 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-08-11 13:26:14 +00:00
Marcus Meissner
f7ae54c180
adjusted 2 strings to match
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10555 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-08-11 13:25:01 +00:00
Marcus Meissner
6056b30517
added missing fclose() (CID 88)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10166 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-05-10 07:03:47 +00:00
Marcus Meissner
c3cb623033
removed dead code (CID 6)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10134 67ed7778-7388-44ab-90cf-0a291f65f57c
2007-05-08 19:38:54 +00:00
Hans Ulrich Niedermann
d9e41c4de0
2.3.1.0.trunk, non-recursive camlibs build
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9736 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-12-26 22:30:11 +00:00
Marcus Meissner
90892c1126
one function made static
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9416 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-11-19 19:36:49 +00:00
Hans Ulrich Niedermann
be5731e6f0
camlib README files: rename, ship in dist tarball, install as doc
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9296 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-07 13:52:32 +00:00
Hubert Figuiere
29cd064755
* camlibs/canon/canon.c, camlibs/konica/qm150.c,
...
camlibs/ptp2/ptp.c, camlibs/sierra/library.c,
camlibs/sierra/sierra-desc.c, doc/camlib_devel.lyx,
libgphoto2/gphoto2-abilities-list.c: s/occured/occurred/
From Launchpad bug 61163:
https://launchpad.net/distros/ubuntu/+source/libgphoto2/+bug/61163
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9294 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-07 13:20:49 +00:00
Hans Ulrich Niedermann
9831fa553c
Remove all OS/2 specific build files.
...
* These files have not been updated for years.
* They probably don't work any more.
* OS/2 files are missing for most of the system.
* gphoto2-port-portability-os2.h has been integrated into
gphoto2-port-portability.h (I wanted to get rid of the longest filename)
* usb-os2.c is still there in libgphoto2_port/usb.
* If someone wants to revive the OS/2 port, they are welcome to start
based on the stuff removed or from scratch.
* Perhaps it might be easier to just use the present
GNU make/libtool build chain than fabricating something with nmake.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9280 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-10-06 18:41:05 +00:00
Hans Ulrich Niedermann
c96bda51dd
Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.
...
This moves the header files to a new subdirectory gphoto2 in both
libgphoto2 and libphoto2_port/libgphoto2. All references are
adapted appropriately.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-28 03:04:21 +00:00
Hubert Figuiere
a8e9370603
https://launchpad.net/products/libgphoto/+bug/61163
...
Fix typos. Original patch do not apply cleanly
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9198 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-09-20 01:13:52 +00:00
Marcus Meissner
561ab23011
converted to fsfuncs.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8688 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-03-31 19:34:03 +00:00
Marcus Meissner
e766451592
converted to fsfuncs.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8687 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-03-31 19:31:12 +00:00
Marcus Meissner
a1fd3f57d4
ignore
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8469 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-01-12 09:54:39 +00:00
Hans Ulrich Niedermann
7b2e4c9e71
add *.sym file to _DEPENDENCIES
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8401 67ed7778-7388-44ab-90cf-0a291f65f57c
2006-01-03 13:03:47 +00:00
Hans Ulrich Niedermann
ab7a9d9373
namespace cleanup still going on:
...
- Add comments to Makefile.am about the different symbol names and
their purposes, so that the rationale behind the *.sym contents
may be found easily.
- Remove libgphoto2/pattrec.[ch] - the only user was
camlibs/konica/qm150.c and it hasn't been using it probably for years.
- Rename all formerly exported symbols not starting with gp_* to gpi_*
or gpe_* and try to export only those which are absolutely required
by the camlibs.
This still leaves a number of internal symbols exported, but at least their
number is a lot lower than it was before.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8073 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-06-11 21:10:45 +00:00
Hans Ulrich Niedermann
9abc6a8c05
keep namespace clear: rename GP_SYSTEM_* to gp_system_*
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8070 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-06-11 19:23:11 +00:00
Hans Ulrich Niedermann
937c1d705c
build camlibs as libtool modules with simple names and symbol list
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8065 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-06-11 17:09:47 +00:00
Hans Ulrich Niedermann
39ed60337f
remove redundant INCLUDE = definitions from Makefile.am
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7830 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-14 18:32:57 +00:00
Marcus Meissner
c5b71a557f
* library.c: fix typo as reported
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7582 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-02-08 07:31:23 +00:00
Marcus Meissner
1d5813e271
qm150.c: translatable strings fixup AA -> DD
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7580 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-02-08 07:26:04 +00:00
Marcus Meissner
7d6d18edad
* int/long mismatch between format string and argument.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7293 67ed7778-7388-44ab-90cf-0a291f65f57c
2004-08-22 22:51:00 +00:00
Marcus Meissner
157e46db27
fixed 64bit problem, fixed gcc 3.5 error.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7154 67ed7778-7388-44ab-90cf-0a291f65f57c
2004-04-04 08:48:40 +00:00
Hubert Figuiere
ad0a2f563e
* qm150.c (k_getdata):
...
(camera_summary): fix C99 stuff for Solaris C compiler
See bug #923219 .
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7149 67ed7778-7388-44ab-90cf-0a291f65f57c
2004-03-25 22:06:17 +00:00
Lutz Mueller
6ca38996bf
2003-12-17 Lutz Mueller <lutz@users.sourceforge.net>
...
Patch by Andreas Burmester <a.burmester@hamburg.de >:
* lowlevel.c (l_receive): Don't write beyond allocated memory.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6950 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-12-17 20:29:36 +00:00
Lutz Mueller
da8accb448
2003-12-17 Lutz Mueller <lutz@users.sourceforge.net>
...
Patch by Andreas Burmester <a.burmester@hamburg.de >:
* konica.c (k_check): unsigned.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6949 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-12-17 20:20:12 +00:00
Lutz Mueller
52a581f115
2003-12-11 Lutz Mueller <lutz@users.sourceforge.net>
...
Patches by Andreas Burmester <a.burmester@hamburg.de >:
* library.c (camera_[get,set]_config: Months are counted from 1 to
12 on the C200.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6946 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-12-11 16:38:17 +00:00
Marcus Meissner
6b7b2de71f
* library.c: Removed : from camera names, for we get them without
...
: from abilities and do a strcmp().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6897 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-10-27 21:33:46 +00:00
Arnaud Launay
28789b5aec
cosmetic change
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6780 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-09-17 12:32:26 +00:00
Arnaud Launay
c8dc642b6f
Drop EOL blanks, // comments, and corrects some warnings
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6761 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-09-16 14:49:53 +00:00
Hans Ulrich Niedermann
b3b2feb4d4
use MAIL_GPHOTO_DEVEL
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6662 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-08-24 11:21:38 +00:00
Marcus Meissner
c6bec6d894
* .cvsignore: added konica_qm150
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6559 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-07-10 21:39:42 +00:00
Aurelien Croc (AP262C)
51d77fa4d8
Just fix an error in a string
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6529 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-06-22 21:55:20 +00:00
Marcus Meissner
d3a7945b54
* qm150.c: Fixed some localizable strings. Dropped 2 unnecessary casts.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6524 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-06-22 20:42:11 +00:00
Christophe Barbe
a4987f86c5
Fix mailing-list references.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6522 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-06-22 16:26:24 +00:00