summaryrefslogtreecommitdiff
path: root/camlibs/digita/commands.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid accidental include file name collisionsHans Ulrich Niedermann2021-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are five libgphoto2 internal *.h include files inside the source tree's `libgphoto2/` folder. Internal means they are part of the libgphoto2 implementation, and are not part of the public libgphoto2 API or ABI. These files have names which are so generic that it is difficult to see from a `#include` statement that the included file is actually part of libgphoto2: bayer-types.h bayer.h exif.h gamma.h jpeg.h While building, an additional file is created inside the `libgphoto2/` folder with a name which does hint to its relationship with libgphoto2: gphoto2-endian.h To reduce the probability of accidental conflicts with include files which might also be called the same very generic name, this changes the use of these include files to a preprocessor directive like #include "libgphoto2/bayer.h> instead of #include "bayer.h" To enforce the need for the "libgphoto2/" part in the #include preprocessor directive, this also removes the respective `-I` arguments for the `libgphoto2` subdir (both in source tree and in build tree) from `*_CPPFLAGS`. This change was inspired by `libgphoto2/` and `camlibs/stv0680/` containing very different include files both called `bayer.h`.
* Remove remnants of OS/2 supportHans Ulrich Niedermann2021-09-081-3/+0
| | | | | | | | Remove remnants of OS/2 support, which has been broken at least since commit 9831fa553c from 2006-10, but more probably even since after gphoto2 2.1.0 which was some time in 2002. Closes: https://github.com/gphoto/libgphoto2/issues/710
* hton functions also repalcedMarcus Meissner2014-02-221-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14774 67ed7778-7388-44ab-90cf-0a291f65f57c
* replace netowrk converts by oursMarcus Meissner2014-02-221-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14773 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-011-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14608 67ed7778-7388-44ab-90cf-0a291f65f57c
* Tweaked header file includes for improved portabilityDan Fandrich2010-09-151-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13309 67ed7778-7388-44ab-90cf-0a291f65f57c
* avoid printf warningMarcus Meissner2008-03-151-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10986 67ed7778-7388-44ab-90cf-0a291f65f57c
* fix leaks (CID 41) (CID 42)Hubert Figuiere2007-05-081-4/+11
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10141 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-281-1/+1
| | | | | | | | | | 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
* * commands.c: memset had arguments swapped, reported by Tim Waugh.Marcus Meissner2005-03-211-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7657 67ed7778-7388-44ab-90cf-0a291f65f57c
* <config.h> -> "config.h"Arnaud Launay2002-11-291-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
* Switch all fprintf(stderr, ...) calls to GP_DEBUG(...) callsJohannes Erdfelt2002-05-101-12/+14
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4504 67ed7778-7388-44ab-90cf-0a291f65f57c
* Add proper delete supportJohannes Erdfelt2002-04-101-1/+2
| | | | | | | | While I rewrote much of it to match the rest of the code, the original code and legwork was done by Marr <marr@shianet.org> git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4410 67ed7778-7388-44ab-90cf-0a291f65f57c
* Added include of config.h before include of gphoto2 header filesDan Fandrich2002-01-251-0/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4006 67ed7778-7388-44ab-90cf-0a291f65f57c
* Zero out command structureJohannes Erdfelt2001-12-091-1/+7
| | | | | | | Check result when fetching file data git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3466 67ed7778-7388-44ab-90cf-0a291f65f57c
* Display the failed return codeJohannes Erdfelt2001-11-201-9/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3130 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-11-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-11-181-1/+1
| | | | | | | | | | Patch from Bill Marr <marr@shianet.org>: * camlibs/digita/commands.c: Fix bug causing 8 bad trailing pixels in Digita thumbnail image download. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3094 67ed7778-7388-44ab-90cf-0a291f65f57c
* Explictily place driver under LGPLJohannes Erdfelt2001-10-301-0/+15
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2854 67ed7778-7388-44ab-90cf-0a291f65f57c
* Ditch global variables digita_read and digita_send in favor of pointersJohannes Erdfelt2001-10-301-119/+119
| | | | | | | | | | in private structure Remove unused camera_id function Tweak model logic spaces -> tabs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2850 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-201-5/+5
| | | | | | | | | * 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-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-08-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* bvl: OS/2 updatesbvl2001-02-261-0/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1621 67ed7778-7388-44ab-90cf-0a291f65f57c
* added libgphoto2_port into tree. ouch.Scott Fritzinger2001-01-221-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1526 67ed7778-7388-44ab-90cf-0a291f65f57c
* fixed sierra. minor patchesScott Fritzinger2000-12-021-0/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1375 67ed7778-7388-44ab-90cf-0a291f65f57c
* Bring digita driver back in line with changes to APIJohannes Erdfelt2000-10-041-11/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1110 67ed7778-7388-44ab-90cf-0a291f65f57c
* minor editsScott Fritzinger2000-08-211-2/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@940 67ed7778-7388-44ab-90cf-0a291f65f57c
* bvl: Changed include file from <gpio/gpio.h> to <gpio.h>bvl2000-07-291-117/+117
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@786 67ed7778-7388-44ab-90cf-0a291f65f57c
* adding .cvsignor for digita driver dirScott Fritzinger2000-07-211-0/+190
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@739 67ed7778-7388-44ab-90cf-0a291f65f57c