summaryrefslogtreecommitdiff
path: root/libgphoto2_port/ptpip
Commit message (Collapse)AuthorAgeFilesLines
* Factor out i18n stuff into separate i18n.h filesHans Ulrich Niedermann2021-10-251-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out the i18n definitions into i18n.h include files: One include file each for libgphoto2 and for libgphoto2_port. This removes the complete #ifdef ENABLE_NLS # include <libintl.h> # undef _ # define _(String) dgettext (GETTEXT_PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define _(String) (String) # define N_(String) (String) #endif block (which in some occasions defines even more macros) and replaces it with a single line #include "libgphoto2/i18n.h" for camlibs and libgphoto2 itself and with #include "libgphoto2_port/i18n.h" for iolibs and libgphoto2_port itself. This gives us two central locations to change the defintions.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-271-4/+4
|
* rename GP_PORT_TCP -> GP_PORT_IPMarcus Meissner2019-07-011-5/+5
| | | | as we just use it specify an IP, regardless of what the driver does
* initial lumix buildMarcus Meissner2019-05-261-0/+12
| | | | https://github.com/gphoto/libgphoto2/issues/409
* do not check the return of the gp_port_info_list_append in genericMarcus Meissner2016-02-071-1/+1
| | | | case, as it might be -1
* remove more unistd.h inclusions that are not neededMarcus Meissner2016-01-031-1/+0
|
* remove multicast dns sd linking from here.Marcus Meissner2015-01-261-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15345 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-221-6/+6
| | | | | | | | | | | | | here are the logging cleanup patches for the remaining libgphoto_port backend libs, that I announced earlier. 14 and 15 are equivalent to 3,4,5 as before. 16 removes 4 left instances of _(...) macro usage in log messages. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15106 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-211-4/+2
| | | | | | | | | 2) don't check the pointer for NULL before calling free(), because free() checks it again. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15097 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-211-6/+4
| | | | | | | | | | | here is a patch for (mostly) consistent usage of a generalized C_MEM macro for checking the return values of memory allocating functions, i.e. malloc, calloc, realloc and strdup. It is the C_MEM from libusb1.c, moved to gphoto2-port-log.h. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15096 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@14611 67ed7778-7388-44ab-90cf-0a291f65f57c
* added missing $(INTLLIBS)Marcus Meissner2010-05-281-2/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13066 67ed7778-7388-44ab-90cf-0a291f65f57c
* wegMarcus Meissner2008-09-261-6/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11357 67ed7778-7388-44ab-90cf-0a291f65f57c
* GPPortInfo struct abstracted into a private struct.Marcus Meissner2008-03-151-14/+15
| | | | | | | | | | - libgphoto2_port rewritten for new GPPortInfo. - camlibs/directory and camlibs/ptp2 adjusted. - libgphoto2/ adjusted for the changed GPPortInfo list handling. - configure.ac adjusted, NEWS adjusted git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10990 67ed7778-7388-44ab-90cf-0a291f65f57c
* Non-recursive iolib buildHans Ulrich Niedermann2007-08-141-8/+7
| | | | | | | | * Makes "make -j2" useful * Makes dynamic load checks without install possible. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10587 67ed7778-7388-44ab-90cf-0a291f65f57c
* build iolibs in one directory (commit 1 of at least 2)Hans Ulrich Niedermann2007-08-141-0/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10586 67ed7778-7388-44ab-90cf-0a291f65f57c
* Disable bonjour detection for now.Marcus Meissner2007-02-121-0/+2
| | | | | | | The use of AVAHIs MDNS compat library will crash us. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10001 67ed7778-7388-44ab-90cf-0a291f65f57c
* dummy entry for private structure to make it compile on Solaris.Marcus Meissner2006-12-221-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9708 67ed7778-7388-44ab-90cf-0a291f65f57c
* Make sure AM_CPPFLAGS with the local -I directories comes first.Hans Ulrich Niedermann2006-12-071-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9524 67ed7778-7388-44ab-90cf-0a291f65f57c
* Move header files one last time to reduce file path lengths in tarball.Hans Ulrich Niedermann2006-10-141-2/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9330 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-281-4/+4
| | | | | | | | | | 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
* added update member, fixed port in auto-detectMarcus Meissner2006-03-181-1/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8620 67ed7778-7388-44ab-90cf-0a291f65f57c
* added regexp matcher, so you can specify any host.Marcus Meissner2006-02-191-0/+5
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8567 67ed7778-7388-44ab-90cf-0a291f65f57c
* use "host:port" as port path.Marcus Meissner2006-02-191-6/+8
| | | | | | | check for fd==-1 in DNS query, otherwise it will crash. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8566 67ed7778-7388-44ab-90cf-0a291f65f57c
* some include guards, just in case.Marcus Meissner2006-02-161-3/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8555 67ed7778-7388-44ab-90cf-0a291f65f57c
* Added PTPIP port support.Marcus Meissner2006-02-163-0/+275
Added Bonjour / mDNSResponder style multicast DNS queries for cameras. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8552 67ed7778-7388-44ab-90cf-0a291f65f57c