Commit Graph

12784 Commits

Author SHA1 Message Date
Mark Watson
b0f87fdfcf Add support for Sony properties:
- silent mode: on/off
- shutter type: electrical / mechanical
- focusindication: unlocked/focused/low contrast etc
- shutterlagtiming: fastest / stable
- focal distance: approx readout of focal distance
2026-04-07 16:54:18 -07:00
Marcus Meissner
ad69533138 Merge pull request #1235 from kraj/kraj/c23
libgphoto2: fix const-correctness for c23 builds
2026-04-07 09:28:50 +02:00
Khem Raj
7cbc8b7241 libgphoto2: fix const-correctness for c23 builds
C23 treats the return values of strrchr() and strchr() as const char *
when the input string is const-qualified. Update local variables to use
const char * where appropriate to avoid discarded-qualifier warnings and
build failures with -std=gnu23.

No functional change intended.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-04 15:00:19 -07:00
Marcus Meissner
dc49f1b20f remove quotes to fix meson build 2026-03-30 20:18:15 +02:00
Marcus Meissner
7d655b1e29 add JPEG_SIZE setting to mreson.build 2026-03-30 20:15:18 +02:00
Marcus Meissner
ca4441f481 autoconf checks for the size type of jpeg_mem_dest
fixes https://github.com/gphoto/libgphoto2/pull/1176
2026-03-30 18:00:04 +02:00
Marcus Meissner
48f083ca88 Merge pull request #1233 from gphoto/dependabot/github_actions/github/codeql-action-4.35.1
build(deps): bump github/codeql-action from 4.33.0 to 4.35.1
2026-03-30 16:46:19 +02:00
dependabot[bot]
607b87d4f5 build(deps): bump github/codeql-action from 4.33.0 to 4.35.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.33.0 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b1bff81932...c10b8064de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 14:34:48 +00:00
Marcus Meissner
ff6d87fce0 Merge pull request #1231 from mattjowil/add_DC-G9_bulb_support
Add Bulb support for Panasonic Lumix DC-G9 (possibly for GH5 as well)
2026-03-29 17:41:49 +02:00
Marcus Meissner
4b8f28246f Apply suggestions from code review
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
2026-03-29 17:41:22 +02:00
Marcus Meissner
9ee36b2f07 Update camlibs/ptp2/config.c
Co-authored-by: Hubert Figuière <hub@figuiere.net>
2026-03-29 17:39:50 +02:00
Marcus Meissner
0870477755 Update camlibs/ptp2/config.c
Co-authored-by: Hubert Figuière <hub@figuiere.net>
2026-03-29 17:39:34 +02:00
Marcus Meissner
dd404feccc Update camlibs/ptp2/config.c
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
2026-03-29 17:30:34 +02:00
mattjowil
d52a249743 Cleaned-up comments, language to english 2026-03-28 00:37:29 +01:00
mattjowil
3a8b744318 Added Bulb support for Panasonic Lumix DC-G9 (possibly for GH5 as well) 2026-03-27 22:38:22 +01:00
Marcus Meissner
992d334fb2 Merge pull request #1222 from gphoto/dependabot/github_actions/github/codeql-action-4.33.0
build(deps): bump github/codeql-action from 4.32.6 to 4.33.0
2026-03-21 11:01:10 +01:00
Marcus Meissner
5222027a57 Merge pull request #1228 from rumpuslabs/patch-1
Fix Pentax K1-II USB ID
2026-03-21 11:00:56 +01:00
Tim Bates
d7145f1242 Fix Pentax K1-II USB ID
The Pentax scsi driver requires the camera to be in MSC mode. The K1-II uses different product IDs for MSC and PTP mode, and the wrong USB product ID was copied from the referenced thread.
2026-03-21 12:10:55 +10:30
Marcus Meissner
389683bb34 avoid unbounded strcpy ingto fixed size buffer
fixes https://github.com/gphoto/libgphoto2/issues/1223
2026-03-17 10:11:59 +01:00
Marcus Meissner
71c0ff6545 use snprintf on a fixed size buffer
fixes https://github.com/gphoto/libgphoto2/issues/1224
2026-03-17 09:02:59 +01:00
Marcus Meissner
ed1c766c69 use strncpy to copy in fixed sized buffers
fixes https://github.com/gphoto/libgphoto2/issues/1226
2026-03-17 09:01:32 +01:00
Marcus Meissner
ed34e9e57c Merge pull request #1227 from SPK44/spk44/double_condition_check
Code Review of #1220
2026-03-17 08:46:07 +01:00
Douglas Deslauriers
bee9fb528c Correct same condition, and apply consistently 2026-03-16 18:07:56 -04:00
dependabot[bot]
753fe127e2 build(deps): bump github/codeql-action from 4.32.6 to 4.33.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0d579ffd05...b1bff81932)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 13:39:11 +00:00
Marcus Meissner
07114811b3 Merge pull request #1220 from SPK44/spk44/sony_ptpip_init_close
Sony PTP/IP connection vendor-specific Initialization and De-initialization
2026-03-15 12:48:33 +01:00
Douglas Deslauriers
d4c843068b Add 9281 followup for 9280 commands
These are required, since the camera expects to send something back
after each 9280
2026-03-14 10:55:45 -04:00
Douglas Deslauriers
9c8e469726 Add Sony PTPIP connection init special code 2026-03-14 10:55:45 -04:00
Douglas Deslauriers
6b19c7a228 Synchronize header parameters with source code 2026-03-13 23:56:06 -04:00
Douglas Deslauriers
8515b49d70 Resolve segfault from bad cast
An array type's address is just the address of the first element. The
called function expects it to be a pointer to an array.
2026-03-13 23:55:49 -04:00
Douglas Deslauriers
2132e33a20 Shutdown Sony cameras after PTPIP exits 2026-03-13 23:49:06 -04:00
Marcus Meissner
e26fa28077 Merge pull request #1217 from gphoto/dependabot/github_actions/github/codeql-action-4.32.6
build(deps): bump github/codeql-action from 4.32.5 to 4.32.6
2026-03-10 09:11:17 +01:00
Marcus Meissner
633445fa1f use strncpy for copying the name into the fixed size path structures. Found by pengpeng@iscas.ac.cn 2026-03-09 17:21:13 +01:00
dependabot[bot]
75c62a477d build(deps): bump github/codeql-action from 4.32.5 to 4.32.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.5 to 4.32.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c793b717bc...0d579ffd05)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 14:02:21 +00:00
Marcus Meissner
d099971944 Merge pull request #1215 from gphoto/dependabot/github_actions/github/codeql-action-4.32.5
build(deps): bump github/codeql-action from 4.31.11 to 4.32.5
2026-03-05 16:39:46 +01:00
dependabot[bot]
f3aff22958 build(deps): bump github/codeql-action from 4.31.11 to 4.32.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.11 to 4.32.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](19b2f06db2...c793b717bc)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 14:12:08 +00:00
Marcus Meissner
153599e017 merged from libmtp 2026-02-15 11:23:43 +01:00
Marcus Meissner
3dcd7873b8 limit ptp_pack_string incoming string to 255 chars
(bug found by Gemini actually)
2026-02-14 17:27:11 +01:00
Marcus Meissner
ae6ee8935c Merge pull request #1208 from hfiguiere/fujifilm-xe5
ptp: Added Fujifilm X-E5 and X-M5 capture
2026-02-07 14:32:50 +01:00
Hubert Figuière
a2947b394d ptp: X-M5 capture
The camera needs be in Tether mode

Signed-off-by: Hubert Figuière <hub@figuiere.net>
2026-02-07 00:03:03 -05:00
Hubert Figuière
b19a0ce177 ptp: Added Fujifilm X-E5
Signed-off-by: Hubert Figuière <hub@figuiere.net>
2026-02-07 00:02:14 -05:00
Marcus Meissner
bbb9760ed3 more fixes for https://github.com/gphoto/libgphoto2/issues/1200 2026-02-02 11:49:13 +01:00
Marcus Meissner
0dfe77e5f8 Merge pull request #1175 from ArvinSpace/master
Add support for Nikon Z50II camera
2026-02-01 12:51:44 +01:00
Marcus Meissner
f5ba2e1e53 Merge pull request #1205 from gphoto/dependabot/github_actions/actions/checkout-6.0.2
build(deps): bump actions/checkout from 6.0.1 to 6.0.2
2026-02-01 12:50:52 +01:00
Marcus Meissner
939b4cf2e4 Merge pull request #1206 from gphoto/dependabot/github_actions/github/codeql-action-4.31.11
build(deps): bump github/codeql-action from 4.31.10 to 4.31.11
2026-02-01 12:50:38 +01:00
Marcus Meissner
af0b35bb3a canon eos:
handle new request type for object retrieval

https://github.com/gphoto/libgphoto2/issues/1200
2026-02-01 12:42:33 +01:00
Marcus Meissner
e61409b351 more leica debug info 2026-02-01 12:18:55 +01:00
Marcus Meissner
f552b805ab handle LEICA when generic matched 2026-02-01 12:14:20 +01:00
Marcus Meissner
205ca50533 added Leica SL3
https://github.com/gphoto/libgphoto2/issues/1203
2026-02-01 11:58:55 +01:00
dependabot[bot]
75c88c4d77 build(deps): bump github/codeql-action from 4.31.10 to 4.31.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.31.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdefb33c0f...19b2f06db2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:36:17 +00:00
dependabot[bot]
73d3af4321 build(deps): bump actions/checkout from 6.0.1 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:36:01 +00:00