Latest Lua updates (details).
Includes many other backend changes, e.g. focus, menu, Q button handling, fonts etc.
Therefore, it's important to give it a good try on all functions, not just Lua, so we can include it in the nightly builds.
Also includes lens.focus_pos and dynamic-my-menu.
Shutdown: fixed crash on 5D2, 500D, possibly also 50D
installer: fix building on 500D
menu: do not use a pickbox for caret-editable fields
menu: fixed hex toggle for large numbers
(including crash on "signed" values)
imath: use uint32_t for powi, log2i, log10i
(fixes crash in menu on large hex numbers, among others)
imath.h: LOG2 macro from constants
menu: updated caret editing to allow arbitrary integer ranges
(both signed and unsigned)
menu: fixed zero-padding when editing with caret in LiveView
menu: undo 2298de7 - fixes editing with caret for numbers between 100-199, 1000-1999 and so on
(note to self: don't drink and code!)
selftest: menu editing tests with various ranges
(requires manual testing for now)
menu: fix editing with caret while recording
Shutdown: load modules after opening battery door; minor cleanups
Shutdown: keep the LEDs on until the camera turns off completely
Sometimes the shutdown process takes 1-2 seconds; without LED feedback,
user may be tempted to remove the card before the camera is actually off.
Adapted from PR #825, commit a20a61d.
CMOS/ADTG/Digic register investigation on ISO
raw_diag: fix BUSY screen with 2-shot analyses in still photo mode
Issue: latest memory backend prefers SRM for very large buffers, but these can't be kept allocated during a still image capture. We need to use shoot_malloc instead.
TODO: tmp_malloc and related functions should be renamed in the memory backend, for consistency.
Thanks @timbytheriver for reporting.
crop_rec module with higher resolutions (4K, 1080p48 etc):
EOSM, 650D, 700D, 100D:
This is also the "de facto" bleeding edge branch, with other experimental stuff being tested here.
mlv_dump: pass INFO blocks as image description
mlv_dump: fix compile warnings / empty lines
mlv_dump: change DNG code to pass through RAWI color matrix if the camera model could not be determined
mlv_dump: harden string length handling for DEBG and VERS against inconsistent field sizes
mlv_dump: fix incorrectly placed null byte for text blocks line DEBG and VERS
Experimental raw video recording at lower bit depths. Only models with CONFIG_EDMAC_RAW_SLURP/CONFIG_EDMAC_RAW_PATCH are compiled.
Pre-recording with half-shutter triggers (details).
Should work on top of latest nightly build.
mlv_lite: fix compilation
mlv_lite: prevent recording in x10 zoom
(to be used for focusing)
Set lens name, focal length and aperture for manual lenses. Lua script.
Merged lua_fix into manual_lens_info
Memory backend: backout 065ceae (checking whether it's still needed after latest Lua changes)
printf: limit buffer size only when running from init_task
(fixes memory backend messages truncated during startup)
Memory backend: some models use AllocateMemory rather than malloc for RscMgr data structures
Fixes small memory test on 50D and 5D2.
Thanks aprofiti, https://www.magiclantern.fm/forum/index.php?topic=18083.msg207261#msg207261
1100D: enabled FEATURE_BEEP
(beeps were enabled by default, with no way to turn them off; no crashes reported yet)
api_test.lua: moved log file into ML/LOGS
api_test.lua: skip FPS override test on cameras without this feature
api_test.lua: 50D has no video playback functionality; skipping this test
600D, 1100D: these models are using two button codes for Q
(one in photo mode, another in LiveView)
NotifyBox: minor fixes/cleanups
Lua dryos.directory.children: exclude "." and ".." from directory listings.
Added API test for recursively listing directory contents.
lua_dryos: minor doc updates
gui_common: allow simulated key events when half-shutter is UI-locked
(fixes movie.stop on 50D: https://www.magiclantern.fm/forum/index.php?topic=14828.msg206343#msg206343)
Merged allocate-raw-lv-buffer into lua_fix
Merged qemu into lua_fix
Merged 100D_merge_fw101 into lua_fix
500D: experimental workaround for ERR70, issue #1468
(only enabled when recording H.264 with sound)
500D: removed old workarounds for ERR70
VRAM: recompute LUTs only when display parameters actually change
(appears to help with 500D's ERR70 while recording; to be tested with external monitors)
selftest: info screen toggling test
Lua: fix printing pointer values
(no %p in Canon's vsnprintf)
Lua: minor stack fix
(apparently never triggered)
Copyright (C) 2009-2018 Magic Lantern Development Team
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.