manual_lens_info

View source
manual_lens_info
  • Contributors
    1. Loading...
Author Commit Message Date Builds
25 commits behind unified.
Alex
Merged lua_fix into manual_lens_info
Alex
menu: workaround for file_man (fixme: still relying on name lookup to find submenus)
Alex
menu: store submenu parent in the menu structure; more submenu fixes
Alex
Makefile: with WIFI_SD=y, ping the card until it comes online (useful for router connections)
Alex
Merged thread-safety into manual_lens_info
Alex
Merged lua_fix into thread-safety
Alex
raw.c: thread safety annotations
Alex
ml-cbr: thread safety annotations; minor refactor
Alex
Merged lua_fix into manual_lens_info
Alex
menu: allow is_menu_entry_selected to operate on submenus (for Lua menu.select; updated api_test.lua)
Alex
menu: refactored submenu selection to avoid duplicate code; minor rename
Alex
menu: removed side effects from get_current_submenu
Alex
menu: allow submenu selection by name (updated api_test.lua)
Alex
menu: fix parent menu issues in composite submenus
Alex
menu: refactored to fix thread safety in menu_add
Alex
menu: fix parent menu issues in most menus (todo: composite submenus)
Alex
menu: check whether each submenu entry actually has a parent (fixme: most don't)
Alex
menu: if the value field is very long, do not display the name (the value is probably verbose enough to figure out what it is)
Alex
Modules: moved Show console to top level
Alex
Memory backend: when checking available memory, allocate both Shoot ans SRM at the same time (they may overlap)
Alex
debug: reworked "Show GUI Events" to use the console
Alex
gui_common: removed unused ui_lock (everything calls gui_uilock instead)
Alex
console: enable in LiveView alongside with ML overlays (experimental)
Alex
Memory backend: fix initialization
Alex
Menu: use submenu_height for scrolling
Alex
ettr: fix debug code
Alex
Makefile: option for strict thread safety checking example: make mlv_lite.t STRICT=y
Alex
lua_lens: also update lens_info.raw_aperture for manual lenses
Alex
lens.h: allow using VALUE2RAW in other files (added prototypes)
Alex
lens.lua: more manual lens names Lensbaby (NunoCaldeira) - http://www.magiclantern.fm/forum/index.php?topic=18083.msg189183#msg189183 Nikon (Lars Steenhoff) - http://www.magiclantern.fm/forum/index.php?topic=18083.msg189184#msg189184
Alex
lens.lua: some popular manual lens names from dfort, http://www.magiclantern.fm/forum/index.php?topic=18083.msg177735#msg177735
Alex
lens.lua: updated menu name
Alex
Makefile: workaround for compiling backtrace.t (fixme: what's going on?)
Alex
Makefile: fix dependency rules (regression) note: -Wp,-MP conflicts with backtrace rules from Makefile.src
Alex
mlv_lite: forgot to call init_vsync_vars; ignore thread safety warning for this call
Alex
mutex.h: macro to skip thread safety analysis on some particular function call
Alex
mlv_lite: more thread safety annotations
Alex
property.h: annotated PROP_HANDLER with thread role
Alex
Merged lua_fix into thread-safety
Alex
Merged unified into lua_fix
Alex
menu: do not discard customization data for menus that are not yet loaded (e.g. for modules/scripts and other dynamic menus)
Alex
menu: do not overwrite existing customization data when reloading (only reload data for newly added menu entries)
Alex
menu: fix usage counters for menu items with placeholders
Alex
menu: allow simple submenus in Recent menu
Alex
menu: allow Debug entries in Junkie mode
Alex
Modules: make sure we can really use up to 64 of them (fix commit 8ad0912)
Alex
file_man: show status in main menu, if busy
Alex
file_man: disable powersaving during long copy/move operations
Alex
file_man: unified FileCopy and FileMove tasks to avoid duplicate code; report all errors to console and show a simple progress indicator
Alex
file_man: show timestamp for each file; align date/time column
Alex
menu: fix Junkie short text overflowing in some cases
Alex
menu: attempt to balance the automatic My Menu in Junkie mode (with many submenu entries used frequently, this menu could end up a lot more cluttered than regular menus)
Alex
menu: fix submenu entries disappearing in Junkie menu (frequently used submenu items shouldn't be moved to My Menu; they should be just copied)
Alex
menu: better duplicate menu warning; minor rename
Alex
lua.c: fix warning
Alex
Lua: only hide the console if it was opened by some auto-running script (and block the key pressed to hide the console, if any)
Alex
Lua: block keys on key.wait() hello.lua updated to wait only for SET (and block only this key)
Alex
Merged unified into lua_fix
Alex
menu: fix invalid indexing on menu choices not starting at 0 (reported by JohanJ at http://www.magiclantern.fm/forum/index.php?topic=14828.msg186252#msg186252 )
Alex
selftest: fix bad merge
Alex
Merged cache-fixes into lua_fix
Alex
Merged unified into lua_fix
Alex
menu: attempt to fix file_man crash (a little hackish...)
Alex
file_man: disable name lookup on its submenu (should fix speed regression in directories with many files - to be tested)
Alex
api_test.lua: tests for image_prefix and for bracketed images
Alex
Lua: camera.wait() (waits until the image was fully saved; required for testing dryos.image_prefix)
Alex
Lua: renamed dryos.prefix to dryos.image_prefix and fixed various things - only accept strings of length 4, or empty string to reset to default - fix operation after multiple changes
Alex
menu: fix buffer overflow (off by one) when hiding many menu items
Alex
menu: disable name look-up in Modules and Help
Alex
menu: allow disabling name lookup in any menu (e.g. to allow duplicate names, or for very large menus, or for dynamic menus not meant to be customized etc)
Alex
menu: removed some redundant null pointer checks (no longer needed after enforcing valid names)
Alex
menu: revert empty name usage in menus (affected: module.c f071d67, file_man 6390eba, my_menu, advanced toggles) (todo: fix duplicate menus in some other way)
Alex
menu.h: comments for struct menu_entry and struct menu
Alex
menu: make sure internal fields are not set before menu_add
Alex
menu: require valid name for all menus (easier than fixing null pointer errors)
Alex
config.c: fix read from null pointer
Alex
Undo e64c9a5 (shutdown lock-up)
Alex
Merged memcheck-fixes into lua_fix
Alex
mem.c: option to disable heap poisoning (useful when running in QEMU with -d memcheck - with this, overflowing reads will be caught as well)
Alex
mlv_lite: annotate new functions, fix thread safety warnings
Alex
lvinfo.c: updated with EXCLUDES(lvinfo_sem) (just for consistency)
Alex
menu.c: updated to prevent taking menu_sem twice
Alex
mutex-test: updated to prevent taking a semaphore twice
Alex
menu.c: fix orphaned give_semaphore call
Alex
Merged lua_fix into thread-safety
Alex
menu.c: fix a thread safety issue in menu_remove (to reproduce: file manager crashed after navigating the menu back and forth a few times)
Alex
menu.c: fix incomplete initialization when creating menus (this time the memory warning was correct)
Alex
menu.h: disabled bit fields in struct menu (they caused false warnings in the memory checking tool)
Alex
Merged memcheck-fixes into lua_fix
Alex
lens.h: fix APEX for Auto ISO (return 0)
Alex
ui.lua: ported 9f71744 (not tested)
Alex
Merged lua_fix into manual_lens_info (not tested; todo: port editor fixes into ui.lua)
Alex
Merged unified into lua_fix
Alex
lens.h: fix bad merge
Alex
Merged unified into manual_lens_info
Alex
Lua: fix error checking in menu.get (also API test)
Alex
Lua: unify menu.get and menu.gets (using an optional argument for menu.get)
Alex
Merged unified into lua_fix
Alex
Lua: menu.gets (to get menu value as string) api_test.lua updated as well
Alex
menu: fix thread safety for menu_get_str_value_from_script
Alex
api_test.lua: test for menu automation API (selecting existing ML menus, changing values)
Alex
menu: misc fixes on select_menu_by_name (thread safety; fix conflict with initial menu selection; refuse to operate on submenus)
Alex
Lua: split menu open/select functionality
Alex
Menu: reworked menu_set_str_value_from_script (for Lua menu.set with string value argument) - consider .choices array before trying brute-force - try every single value from the valid range when practical - use msleep only for custom toggle logic - wait and retry if the value doesn't change - fix some ambiguous matches (e.g. 1 should not match 1m10s, but 10 is OK for 10cm) - numeric match made optional - timeout 2s
Alex
Menu: range checking for menu_set_value_from_script (Lua menu.set with integer value argument)
Alex
Menu: fix duplicate warning on 50D
Alex
Screenshots: fix color palette (was affected by our palette changes, e.g. in menu) (the fix requires writing to Canon's LCD_Palette array, but a quick checked is performed before writing; previously, this array was considered read-only)
Alex
Lua: fix typo that prevented lens.focus_pos from appearing in the documentation
Alex
Lua: minor doc updates
Alex
Lua: tag all backend messages with [SCRIPT.LUA] where possible
Alex
recdelay.lua: misc fixes
Alex
Lua: disable auto-autorun (any script that should autorun must be configured manually by user)
Alex
Lua: test script for unloading behavior (unload.lua)
Alex
Lua: tag all backend messages with [Lua]; minor fine-tunings
Alex
Lua: allow task unloading if all user tasks are stopped before the main task (this makes api_test.lua a "simple" script, as it was before f249ba4)
Alex
Fix compiling on cameras without Q button (broken in 459da11)
Alex
selftest: fix false warning in half-shutter test
Alex
Memory backend: allow breaking minimum_free_space limit for small blocks (it was possible to fail the allocation for very small blocks that could not be covered by shoot_malloc)
Alex
Modules: yet another attempt at fixing fast scrollwheel events (previous: b0891f9, 2cc2768)
Alex
Undo 2cc2768 (fast scrollwheel events no longer working)
Alex
api_test.lua: stronger half-shutter test; fine-tuned delays
Alex
api_test.lua: fix movie test on manual lenses
Alex
api_test.lua: fix bulb test on slow SD cameras
Alex
api_test.lua: fix AF test on manual lenses
Alex
lua_key: re-enabled yielding during key.wait() using the same workaround as task.yield()
Alex
Merged dynamic-my-menu into lua_fix (solves some menu issues)
Alex
Lua lens.autofocus(): fix for 100D (to be tested) Updated selftest module as well.
Alex
lua_key: disabled yielding during key.wait() (until a proper fix is implemented, better avoid multitasking)
Alex
lua_task: workaround to prevent troublesome task.yield() calls (appears to work, but cannot guarantee it's actually thread-safe)
Alex
api_test.lua: weaker multitasking test (seems to work fine as long as only one task calls task.yield(); any task that interrupts should run until returns)
Alex
Merged focus into lua_fix (pull request #748) Focus backend updates and lens.focus_pos fine position counter
Alex
lens_focus: ported 5D2 focus fix on 50D and 500D. 550D and newer models don't need it, unsure about 7D (to be tested)
Alex
Merged lua_fix into thread-safety
Alex
lvinfo: fix layout bug revealed by 56464bc and noticed here: http://www.magiclantern.fm/forum/index.php?topic=18083.msg177532#msg177532 (note: the linked commit did not cause the bug; it was there for years)
Alex
selftest: compile-time option to test the behavior of DryOS tasks with identical priorities
Alex
selftest: experimental thread safety tests (WIP)
Alex
Merged task_name into thread-safety
Alex
ml-cbr: fix warning
Alex
lvinfo: annotated for thread safety analysis (all OK, just a false warning)
Alex
Thread safety analysis: ignore read warnings for now
Alex
mlv_lite: annotated some variables for thread safety analysis (experiment)
Alex
mutex.h: some common thread roles
Alex
Merged unified into thread-safety
Alex
arm-mcr.h: annotated cli/sei for clang thread safety analysis
Alex
Experiment: clang thread safety warnings during compilation Had to use gcc preprocessor (conflicts with clang includes?) make PREPRO=1
Alex
Internal vsync functions are now private (not exposed to modules)
Alex
dryos.h: annotated semaphores for clang thread safety analysis
Alex
Makefile: always allow .i rules (they no longer conflict with .c dependency rules)
Alex
lens.h: fix compiling with clang
Alex
Menu: fix duplicate warning in the Help tab on some models
Alex
Menu: updated navigation help
Alex
file_man: refactored action types with enum and case switch (compiler now checks whether all action types are covered)
Alex
file_man: use unnamed menu entries for speed (named entries are now checked for duplicates => slow in folders with many files)
Alex
Menu: some extra sanity checks during customization
Alex
Minimal example of clang's thread safety analysis
Alex
check-tasks.py: do not tag PROP_INTs
Alex
check-tasks.py: show function name when it's not obvious from the context
Alex
Removed some pycparser workarounds
Alex
Integrated task annotations script in the build process, as suggested by g3gg0
Alex
Makefile: experiment - save preprocessed C files during compilation (*.c -> *.i -> *.o) To enable, run "make PREPRO=y" or set PREPRO=y in Makefile.user
Alex
Makefile: remove *.i and *.s on make clean
Alex
Makefile: cleaned up file rules a bit
Alex
Merged dynamic-my-menu into thread-safety
Alex
Experiment: tag each ML function with the task(s) where it's called from (static analysis with pycparser)
Alex
Some patches to allow parsing ML code with pycparser
Alex
Updated some macros to allow pycparser compatibility
Alex
Menu: removed duplicate definitions of menu_open_submenu
Alex
Modules: fix duplicate menu warning
Alex
Menu: check for duplicate entries (the check is repeated after each menu_add call)
Alex
Menu: refactored most menu iterations with for loops
Alex
Menu: autodetect whether placeholders are needed or not (removed menu_add_base; menu_add should be O(n) if no placeholders are used)
Alex
Menu: skip placeholders in entry_find_by_name; related cleanups
Alex
Menu: link each submenu entry with its parent entry (rather than using name lookup)
Alex
Merged lua_fix into dynamic-my-menu (other menu fixes + module API version)
Alex
Menu: fix selection in Modified menu (broken in 0b6fcbc)
Alex
lua_lens: minor doc update (return value for lens_focus)
Alex
Menu: minor display fixes in Junkie mode
Alex
Menu: fix some interferences between menu customization and dynamic menus
Alex
Menu: experiment - dynamic Junkie menu FIXME: manual Junkie customizations are overriden, unless at least one item is starred. Important?
Alex
force_liveview: fix operation after taking a picture
Alex
Menu: fix last entry not disappearing from Modified menu
Alex
Menu: fix initial selection when it is a dynamic menu http://www.magiclantern.fm/forum/index.php?topic=17811.0
Alex
Menu: experiment - dynamic My Menu ("Recent"), based on usage counters If no menu items are manually starred, a menu named Recent will be built automatically.
Alex
Menu: minor refactor (checking dynamic menus)
Alex
Menu: usage counters (for displaying a menu with recently used entries) Warning: existing menu customizations will be lost.
Alex
lua_movie: some more preconditions + API tests
Alex
api_test.lua: simple multitasking test (crashes, do not run on expensive cameras!)
Alex
Lua task.create: throw error on failure
Alex
Lua lens.focus: throw an error if preconditions (LiveView and autofocus) are not met
Alex
lens_focus: allow running right after taking a picture (experiment)
Alex
Lua lens.focus: updated default wait and docs
Alex
enter_play_mode: increase delay (fixes some redraw issues, e.g. in benchmarks)
Alex
Lua: nicer behavior in Junkie menu (still not perfect)
Alex
Modules: increase max count to 64
Alex
selftest.mo: fine-tuned AF test
Alex
Fix Q button handling on cameras with this button (bad includes)
Alex
Fix button handling outside menu (typo)
Alex
lens_focus: fix very slow follow focus on 5D2 with 24/2.8 STM (todo: 50D, 500D, others?) To reproduce: Step Wait ON, Step Delay <= 20, then use follow focus. Just changing prop_request_change_wait into prop_request_change would give fast movements, but crashes very quickly. Waiting for the pfAfComplete interrupt before next focus command appears to fix the crashes.
Alex
GUI: make sure all cameras use the BGMT_Q event while in ML menu, even if they don't actually have a Q button (should fix Lua scripts using the Q button while running on top of ML menu)
Alex
Lua: fix incomplete commit 8191fd4
Alex
lua_lv: lvinfo items default to any info bar
Alex
lua_menu: reorder functions so the most basic ones appear first in doc
Alex
lua_menu: drop menu customization attributes (overriding them doesn't work well anyway)
Alex
Lua: more doc updates (WIP)
Alex
lens.c: some debug info for focus commands (to be removed before merging)
Alex
lens.h: declared lens_info.focus_pos on remaining cameras (tested on 5D3 123; to be tested on EOS M, 6D...)
Alex
Merged lua_fix into focus
Alex
Lua: misc doc updates (WIP)
Alex
lua_constants: reordered to get the simpler ones first in the doc
Alex
Lua: remove pre_shoot/post_shoot from docs (not yet implemented)
Alex
menu.c, select_menu_by_name: allow optional entry_name parameter; keep the current selection on error
Alex
copy2m.lua: add its menu in the script submenu, rather than Prefs (fixes duplicate menu - there were 2 menus with the same name)
Alex
Lua: always open script submenu on SET; show menus created by script under the script menu
Alex
menu.c: fix null pointer in mod_menu_rebuild
Alex
menu.c, entry_find_by_name: do not return duplicate entries and entries from dynamic menus (to be tested)
Alex
selftest.mo: test for autofocus routines
Alex
Lua: camera.shoot() no longer autofocuses by default
Alex
Lua: removed global shoot(); use camera.shoot() instead
Alex
api_test.lua: minor typo
Alex
lens_take_picture: wait for file number to change before returning; minor cleanups
Alex
Lua lens.focus: delay default to 10ms when wait=false; doc updates
Alex
force_liveview: make sure LV is fully started before returning
Alex
Lua: experimental lens.autofocus()
Alex
Lua: fine-tuned startup messages
Alex
Merged unified into lua_fix
Alex
Modules: allow including module.h in multiple source files (fixes compilation of edmac.mo)
Alex
Modules: removed some unused definitions
Alex
api_test.lua: fix typo in lens.focus call, thanks garry23
Alex
Lua: menu.open() can optionally select a given menu or submenu
Alex
rbf_font: very rough support for tab characters
Alex
editor.lua: exit file dialog if menu is no longer active
Alex
Lua: allow editing any script from context menu using editor.lua (Q -> Edit Script)
Alex
Lua: basic support for script arguments (arg, ...) http://www.lua.org/manual/5.1/manual.html#6
Alex
Lua: always use first line as script name in menu (use ... if too long)
Alex
Lua: display script file name on the right if the script is not running
Alex
Lua: fine-tuned user feedback when loading/running scripts
Alex
Lua: check string length in pixels when choosing between script name (first line) or script filename for menu display
Alex
Merged unified into lua_fix
Alex
menu: fix regression about font bg color
Daniel Fort
Merge scripts/lib/xmp.lua
Daniel Fort
Daniel Fort
Slight adjustment of XMP indentation.
Daniel Fort
Slight adjustment of XMP indentation.
David Milligan
ui.lua: reset cancel field to false when re-opening selection box
David Milligan
lens.lua: fix parent menu name
David Milligan
lens.lua: fix config loading
David Milligan
config.lua fixes
David Milligan
lens.lua: store selected lens in config
Alex
Modules: handle commit messages with non-ASCII characters (fixes compiling lua.mo)
David Milligan
ui.lua: fix some refactoring typos
73 commits not shown.