dnlit/constsh-edited-part-1-of-fix-for-2520-1461182905684

View source
dnlit/constsh-edited-part-1-of-fix-for-2520-1461182905684
  • Contributors
    1. Loading...
Author Commit Message Date Builds
170 commits behind unified.
Daniel
Fix lua touch for 700D (!) thx do @nikfreak for the awesome
Daniel
consts.h edited: part 1 of fix for #2520
David Milligan
Merge 'unified' into 'lua_touch'
David Milligan
lua touch: menu and settings for touch features
David Milligan
lua touch: fixes for changes from previous merge
David Milligan
Merge 'lua_fix' into 'lua_touch'
David Milligan
Merge lua_fix into lua_touch
David Milligan
lua property: cleanup prop message queue -> better, more defensive checks and error handling, fix memory leak seems to fix some apparent memory issues and err70s with copy2m
David Milligan
lua scripting: don't load scripts that start with "_" fixes issue with hidden files created by OSX Finder #2496
Alex
lua_movie: fix movie mode checks (should fix rec_delay.lua on many cameras)
Alex
Lua: moved camera.af_mode to lens.af_mode (to be consistent with lens.af)
Alex
Lua: camera.movie returns MODE.MOVIE even on cameras without a dedicated movie mode (fixes recdelay.lua on many cameras)
Alex
Lua: proper error handling if strict.lua is missing
Alex
Lua: print script menus to console
Alex
api_test.lua: minor fix
Alex
api_test.lua: updated focus tests to include commands with wait=false
Alex
lens.c: reworked lens_focus a bit (fix crash with wait=off and some other tweaks)
Alex
editor.lua: use WHEEL_LEFT for decrementing and WHEEL_RIGHT for incrementing (consistent with ML menu)
Alex
Lua: check script syntax after compiling the module
Alex
api_test.lua: tests for lens.focus
Alex
lua_lens.c: more reasonable defaults for lens.focus
Alex
lua_camera.c: removed check that breaks copy2m
Alex
sokoban.lua: auto-increment level
Alex
api_test.lua: tests for Lua strict mode; minor refactoring
Alex
Lua: updated scripts for strict.lua
Alex
strict.lua: changes to play nice with our existing global metatable
Alex
Lua: use strict.lua for all scripts
Alex
lua_lens: report focus distance in mm (to be consistent with all other distance fields)
Alex
lua_lens: renamed focal_distance to focus_distance
Alex
api_test.lua: tests for the "lv" module
Alex
Lua: added some new APIs to the "lv" module: lv.paused, lv.running, lv.zoom get/set, lv.wait(num_frames)
Alex
close_liveview(): fix operation in movie mode
Alex
Pause/ResumeLiveView: minor cleanup/refactoring
Alex
Lua: dryos.call disabled by default
Alex
lua_camera: don't use SYM_ISO for formatting ISO values (doesn't look nice)
Alex
api_test.lua: restore camera parameters after changing them
Alex
api_test.lua: bring back the camera printf's (they provide additional info over the generic test, such as formatting exposure values)
Alex
api_test.lua: run all generic tests first
Alex
logger.lua: do not try to iterate light userdata
David Milligan
lua reflection: remove unecessary duplicate 'fields' in dryos (they are already 'normal' table entries and will get enumerated by lua_next)
Alex
Merge fonts into lua_fix
David Milligan
lua logger: also serialize userdata
David Milligan
lua scripting: only call lua_next on tables it's possible we are iterating a userdata, and calling lua_next on userdata causes a hard crash
David Milligan
Merge lua_fix into lua_touch
David Milligan
lua scripting: rename console.lua to shell.lua to avoid confusion, use logger
David Milligan
Merge lua_fix into lua_touch
David Milligan
lua reflection: remove unecessary duplicate 'fields' in dryos (they are already 'normal' table entries and will get enumerated by lua_next)
David Milligan
Merge
David Milligan
lua scripting: update API tests to use logger and 'reflection' features
David Milligan
lua scripting: implement 'reflection' for fields of api modules by using a custom __pairs metamethod and iterator (cherry picked commits from lua_touch branch) this allows us to do e.g.: for k,v in pairs(camera) do printf("%s = %s",k,tostring(v)) end should make writing simple, automatic, generic API tests easier
David Milligan
lua scripting: use logger in editor.lua and speed up file open
David Milligan
lua scripting: use logger in calc.lua
David Milligan
lua scripting: logger.lua - a logging helper
David Milligan
lua scripting: directory.parent should return nil for root directories (i.e. A:/ or B:/)
David Milligan
lua scripting: console.write should not automatically add newlines
David Milligan
lua scripting: improve 'reflection' to use lua_next to iterate the 'normal' table values to avoid some duplication
David Milligan
lua scripting: implement 'reflection' for fields of api modules by using a custom __pairs metamethod and iterator this allows us to do e.g.: for k,v in pairs(camera) do printf("%s = %s",k,tostring(v)) end should make writing simple, automatic, generic API tests easier TODO: there's probably some way to avoid duplicating the function names in xxx_fields and xxxlib
David Milligan
lua touch: make some symbols private
David Milligan
lua console: add command history, logging, more sophisticated serialization, intercept print and console.write
David Milligan
lua scripting: console.lua: an immediate lua shell using the touch keyboard
David Milligan
lua scripting: better multiline support for touch keyboard
David Milligan
lua scripting: multiline editing with the keyboard
Alex
Fix Lua after undefined symbols fix
Alex
Modules: fix undefined symbols appearing incorrectly in the sym file
Alex
module backend: handle fast scrollwheel events (for recent cameras)
Alex
editor.lua: fix performance regression introduced in b6ee499
David Milligan
lua scripting: finally figured out why type() was returning nil (calc.lua was replacing it with the one from math)
David Milligan
Merge lua_fix into lua_touch
David Milligan
lua scripting: fix calculator issue #2476
Alex
api_test.lua: use a larger tolerance when setting aperture as f-number
Alex
api_test.lua: aperture tests
Alex
Alex
lens.c: added lens_format_aperture
Alex
lens.c: changed return value of hdr_set_* (todo: check if bracketing still stops when reaching exposure limits)
Alex
lens.c: updated lens_set_aperture_approx; Lua aperture tests almost working
David Milligan
lua scripting: touch for filedialog buttons and keyboard for filename entry
David Milligan
Merge
Alex
api_test.lua: EC and FEC tests; fix typos
Alex
moved round_shutter/aperture/expo_comp and related to lens.c
Alex
simplified round_shutter/aperture/expo_comp and added round_flash_expo_comp, used for lens_set_flash_ae
Alex
lens.c: refactored lens_set_ae/lens_set_flash_ae
Alex
api_test.lua: script API tests, only covering shutter and ISO for now; todo: the rest of the API :P
Alex
Lua, camera module: changing ISO works! (I bet this feature was never tested...)
Alex
lens.c: use closest match when setting ISO in hdr_set_rawiso; small refactors
Alex
Lua, camera module: use higher precision for APEX values
Alex
lens.c, prop_set_rawshutter_approx: round towards the nearest shutter (max error 1/8 EV)
Alex
lens.c: forgot to rename APEX10 macros
Alex
lens.h: updated APEX10 macros to be reversible (converting back and forth should give the same value)
Alex
imath.h: added RSCALE (integer scale with rounding, reversible)
Alex
Renamed APEX x10 macros
David Milligan
Merge lua_fix into lua_touch
David Milligan
lua scripting: semaphore timeouts: provide more info, don't force the console open
David Milligan
David Milligan
lua scripting: semaphore timeouts: provide more info, don't force the console open
David Milligan
lua scripting: fix line parsing in the editor
David Milligan
lua scripting: touch keyboard special chars
David Milligan
lua scripting: touch keyboard cursor position
David Milligan
lua scripting: preliminary touchscreen keyboard
David Milligan
Merge
David Milligan
lua scripting: basic touch support for editor (it's almost usable on eosm now)
David Milligan
Merge
Alex
Merged unified into lua_fix
Alex
lua_camera: fix pretty-printing of negative EC values
Alex
lua_camera: removed apex x10 units (don't see any reason to use them instead of float)
Alex
lua_camera: replaced tostring with __tostring, so it will be used with print(camera.shutter) or string.format("%s", camera.shutter) See http://www.lua.org/pil/13.3.html
Alex
Lua: added console.clear()
David Milligan
Merge branch 'lua_fix' into 'lua_touch'
David Milligan
lua scripting: allow custom touch gestures for navigating ML menu
David Milligan
lua scripting: fix dryos.dcim_dir
David Milligan
lua scripting: fix bug in config.lua that prevents submenus' values from loading correctly
David Milligan
lua scripting: touchscreen enhancements script
David Milligan
lua scripting: update calc to use touchscreen
David Milligan
lua scripting: touchscreen API
David Milligan
lua scripting: use hdr_set_rawshutter instead of lens_set_rawshutter
David Milligan
lua scripting: use hdr_set_rawaperture instead of lens_set_rawaperture
David Milligan
lua scripting: throw errors when setting camera properties fail
David Milligan
lua scripting: fix camera.aperture.value conversions
David Milligan
lua scripting: fix the global shoot() function too
David Milligan
lua scripting: more parameter fixes (lens.focus)
David Milligan
lua scripting: fix data type for camera.shoot parameter http://www.magiclantern.fm/forum/index.php?topic=14828.msg161195#msg161195