summaryrefslogtreecommitdiff
path: root/gphoto2
Commit message (Collapse)AuthorAgeFilesLines
* Change function name to gp_init_localedirJim Easterbrook2022-05-191-1/+1
|
* Add function to initialise locale directoryJim Easterbrook2022-05-191-0/+2
| | | | | | | The function is called from gp_abilities_list_new() so existing code will carry on working as before. Non-standard installations of libgphoto2 can call the initialisation function with their choice of locale dir. The function includes code to ensure it's only run once.
* filesys: Add gp_filesystem_set_info_dirtyDavid Rosca2021-10-221-0/+3
| | | | Use it in ptp2 PTP_EC_ObjectInfoChanged.
* Use consistently named non-reserved CPP macros for header filesHans Ulrich Niedermann2021-10-0512-36/+38
| | | | | | | | | | | | | | | | | | | | | | | C preprocessor macros beginning/ending with underscores are reserved for system use as well as macros containing a double underscore anywhere, so application software macros are supposed to be named differently. For a header file gphoto2-abilities-list.h, this consistently uses a macro name LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H for the usual #ifndef LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H #define LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H ... content of the header file ... #endif /* !defined(LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H) */ Found using "clang -Weverything". This should work, unless when run with an ancient C preprocessor which might only the first 8 or 10 characters to distinguish macro names and ignores the remainder of the name.
* Remove remnants of OS/2 supportHans Ulrich Niedermann2021-09-081-9/+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
* Remove duplicate GP_MIME_ARWIngvar Stepanyan2021-07-141-1/+0
| | | Apparently GP_MIME_ARW was already there just unused in the function.
* Add file extension for Sony ARW filesIngvar Stepanyan2021-07-141-0/+1
|
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-2712-95/+95
|
* Fix typos throughout the codebaseSijawusz Pur Rahnama2020-05-251-1/+1
|
* Canon EOS: Add support for CR3 RAWDavid Rosca2019-01-291-0/+1
|
* add object changesuperx2018-04-081-2/+2
|
* add object changesuperx2018-04-081-0/+1
|
* prevent redefining CAMLIBS and IOLIBS define that may already be defined in ↵Michael Fink2017-10-161-1/+2
| | | | platform specific config.h file
* clarify wait_for_event documentation a bitMarcus Meissner2016-04-251-2/+1
|
* added GP_MIME_NEFMarcus Meissner2016-03-061-0/+1
|
* add new apisMarcus Meissner2016-02-191-0/+75
| | | | gp_camera_list_config, gp_camera_set_single_config, gp_camera_get_single_config
* GP_MIME_TXT == text/plain for .txtMarcus Meissner2014-11-051-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15233 67ed7778-7388-44ab-90cf-0a291f65f57c
* comment to ANSI CMarcus Meissner2014-06-273-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15019 67ed7778-7388-44ab-90cf-0a291f65f57c
* avoid redefining CAMLIBMarcus Meissner2014-04-081-0/+1
| | | | | | | From: "Daniel P. Berrange" <dan@berrange.com> git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14880 67ed7778-7388-44ab-90cf-0a291f65f57c
* added SONY ARW file mime typesMarcus Meissner2014-03-141-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14822 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-0112-24/+24
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14612 67ed7778-7388-44ab-90cf-0a291f65f57c
* export gp_port_abilities_list_load_dirMarcus Meissner2012-03-181-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13934 67ed7778-7388-44ab-90cf-0a291f65f57c
* added .rw2 file typeMarcus Meissner2011-12-011-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13784 67ed7778-7388-44ab-90cf-0a291f65f57c
* Changed the GP_MIME_AVCHD MIME type to an officially-registered oneDan Fandrich2010-11-011-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13375 67ed7778-7388-44ab-90cf-0a291f65f57c
* added avhd video supportMarcus Meissner2010-09-191-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13324 67ed7778-7388-44ab-90cf-0a291f65f57c
* move around the functions a bit to make generated documentation betterMarcus Meissner2010-06-271-16/+18
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13096 67ed7778-7388-44ab-90cf-0a291f65f57c
* Implemented a gp_camera_file_read partial read function.Marcus Meissner2010-03-262-18/+18
| | | | | | | (draft) git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12848 67ed7778-7388-44ab-90cf-0a291f65f57c
* added usbdiskdirect stuff, new error codeMarcus Meissner2010-03-131-0/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12755 67ed7778-7388-44ab-90cf-0a291f65f57c
* use strings to pass out strings to frontendsMarcus Meissner2010-03-061-30/+6
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12735 67ed7778-7388-44ab-90cf-0a291f65f57c
* added gp_widget_set_readonly / get_readonlyMarcus Meissner2009-12-131-0/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12556 67ed7778-7388-44ab-90cf-0a291f65f57c
* handle cr2Marcus Meissner2009-04-141-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11990 67ed7778-7388-44ab-90cf-0a291f65f57c
* added new file -> programmatic handler defines and typesMarcus Meissner2009-04-131-1/+13
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11974 67ed7778-7388-44ab-90cf-0a291f65f57c
* made c++ safeMarcus Meissner2009-04-131-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11973 67ed7778-7388-44ab-90cf-0a291f65f57c
* add a new trigger capture function (just triggers capture, no results)Marcus Meissner2009-04-102-7/+8
| | | | | | | | added a new CAPTURE_COMPLETE event for wait_for_event. some deprecated stuff removed. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11958 67ed7778-7388-44ab-90cf-0a291f65f57c
* markup all headers with extern "C" wrappers.Marcus Meissner2009-04-083-0/+41
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11956 67ed7778-7388-44ab-90cf-0a291f65f57c
* Batch commit from weekend work:Marcus Meissner2009-02-163-6/+11
| | | | | | | | | | | | | | - 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
* * removed CameraFileInfoFile.name, adjusted usersMarcus Meissner2009-01-252-6/+8
| | | | | | | | | | 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
* Rewritten gphoto-filesys:Marcus Meissner2009-01-101-1/+1
| | | | | | | | | | - tree like structure for directories instead of keeping all directories full - fixes LRU problems on capture - no more limits and fixed name sizes git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11674 67ed7778-7388-44ab-90cf-0a291f65f57c
* * gphoto2/gphoto2-filesys.h: Change longMarcus Meissner2007-10-211-11/+11
| | | | | | | | | | | | to uint64_t, int to uint32_t to fix the struct sizes to a better known value (mostly for C#). Include <stdint.h>, a ISO C99 feature. This changes the "CameraFileInfo" and "CameraStorageInformation" struct sizes on all platforms. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10807 67ed7778-7388-44ab-90cf-0a291f65f57c
* doxygen markupMarcus Meissner2007-05-311-11/+11
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10341 67ed7778-7388-44ab-90cf-0a291f65f57c
* noteMarcus Meissner2007-05-261-1/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10331 67ed7778-7388-44ab-90cf-0a291f65f57c
* replace \internal by \brief to reduce number of errors.Marcus Meissner2007-05-261-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10330 67ed7778-7388-44ab-90cf-0a291f65f57c
* some doxygen markup addedMarcus Meissner2007-05-261-24/+82
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10329 67ed7778-7388-44ab-90cf-0a291f65f57c
* adjusted markup for doxygenMarcus Meissner2007-05-261-10/+10
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10327 67ed7778-7388-44ab-90cf-0a291f65f57c
* optimized away some includesMarcus Meissner2007-05-262-9/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10320 67ed7778-7388-44ab-90cf-0a291f65f57c
* marked up the CameraList commentMarcus Meissner2007-05-251-1/+15
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10315 67ed7778-7388-44ab-90cf-0a291f65f57c
* adjusted some markupMarcus Meissner2007-05-241-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10307 67ed7778-7388-44ab-90cf-0a291f65f57c
* some doxygen markup addedMarcus Meissner2007-05-212-5/+13
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10276 67ed7778-7388-44ab-90cf-0a291f65f57c
* removed superflous headers, which are include by gphoto2-camera.hMarcus Meissner2007-05-201-5/+0
| | | | | | | already git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10274 67ed7778-7388-44ab-90cf-0a291f65f57c
* mark up gp_error_cancel Marcus Meissner2007-05-201-0/+6
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10272 67ed7778-7388-44ab-90cf-0a291f65f57c